Pull request #760 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 632bc473474f915b03438cc79dd7a64bc7672eb1+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (370ffb83819b250bf7b47ad2271b8810e7fa1e86) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23537 in /w/workspace/dgexfoundry_device-sdk-go_PR-760 [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-760 # 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 632bc473474f915b03438cc79dd7a64bc7672eb1 > 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/760/head:refs/remotes/origin/PR-760 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing d3c86d287c9f9cff03dc0916b9f733d081a6e8db Checking out Revision d3c86d287c9f9cff03dc0916b9f733d081a6e8db (PR-760) > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3c86d287c9f9cff03dc0916b9f733d081a6e8db # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" > git rev-list --no-walk 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T00:11:53.354Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-28T00:11:53.576Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T00:11:53.665Z] ========================================================= [2021-01-28T00:11:53.665Z] EdgeX Global Pipelines Version Info [2021-01-28T00:11:53.665Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:11:55.186Z] ------------------- [2021-01-28T00:11:55.186Z] stable info: [2021-01-28T00:11:55.186Z] ------------------- [2021-01-28T00:11:55.186Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:11:55.186Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:11:55.186Z] Message: update stable to v1.0.179 [2021-01-28T00:11:56.134Z] ------------------- [2021-01-28T00:11:56.134Z] experimental info: [2021-01-28T00:11:56.134Z] ------------------- [2021-01-28T00:11:56.134Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:11:56.134Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:11:56.134Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T00:11:56.408Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T00:11:56.531Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T00:11:56.631Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T00:11:56.744Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T00:11:56.833Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T00:11:56.918Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T00:11:57.030Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T00:11:57.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T00:11:57.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T00:11:57.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T00:11:57.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T00:11:57.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T00:11:57.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T00:11:57.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T00:11:57.835Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T00:11:57.929Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:11:58.017Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:11:58.110Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:11:58.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T00:11:58.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T00:11:58.414Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T00:11:58.567Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T00:11:58.714Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T00:11:58.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T00:11:58.929Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T00:11:59.020Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T00:11:59.110Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T00:11:59.210Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-760 [Pipeline] echo [2021-01-28T00:11:59.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-760 [Pipeline] echo [2021-01-28T00:11:59.406Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-760 [Pipeline] echo [2021-01-28T00:11:59.498Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3c86d287c9f9cff03dc0916b9f733d081a6e8db [Pipeline] echo [2021-01-28T00:11:59.582Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3c86d2 [Pipeline] echo [2021-01-28T00:11:59.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:11:59.843Z] provisioning config files... [2021-01-28T00:11:59.868Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/config4494353737175559634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:12:00.226Z] ---> docker-login.sh [2021-01-28T00:12:00.226Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:12:00.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:00.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:00.765Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:00.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:00.765Z] [2021-01-28T00:12:00.765Z] Login Succeeded [2021-01-28T00:12:00.765Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:12:00.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:00.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:00.765Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:00.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:00.765Z] [2021-01-28T00:12:00.765Z] Login Succeeded [2021-01-28T00:12:00.765Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:12:01.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:01.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:01.028Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:01.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:01.028Z] [2021-01-28T00:12:01.028Z] Login Succeeded [2021-01-28T00:12:01.028Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:12:01.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:01.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:01.295Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:01.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:01.295Z] [2021-01-28T00:12:01.295Z] Login Succeeded [2021-01-28T00:12:01.295Z] docker.io [2021-01-28T00:12:01.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:01.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:01.558Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:01.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:01.558Z] [2021-01-28T00:12:01.558Z] Login Succeeded [2021-01-28T00:12:01.558Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:12:01.570Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:12:02.403Z] + git log --format=format:%s -1 d3c86d287c9f9cff03dc0916b9f733d081a6e8db [Pipeline] echo [2021-01-28T00:12:02.484Z] GIT_COMMIT: d3c86d287c9f9cff03dc0916b9f733d081a6e8db, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo [2021-01-28T00:12:02.537Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:12:03.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:12:03.213Z] [2021-01-28T00:12:03.213Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:12:03.561Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:12:03.561Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T00:12:03.561Z] 31603596830f: Pulling fs layer [2021-01-28T00:12:03.561Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T00:12:03.561Z] 6ca5941a6612: Pulling fs layer [2021-01-28T00:12:03.561Z] ecc8261a40a4: Pulling fs layer [2021-01-28T00:12:03.561Z] ecc8261a40a4: Waiting [2021-01-28T00:12:03.561Z] 2a8b12db71e7: Download complete [2021-01-28T00:12:03.561Z] 31603596830f: Verifying Checksum [2021-01-28T00:12:03.561Z] 31603596830f: Download complete [2021-01-28T00:12:03.830Z] ecc8261a40a4: Verifying Checksum [2021-01-28T00:12:03.830Z] ecc8261a40a4: Download complete [2021-01-28T00:12:03.830Z] 6ca5941a6612: Verifying Checksum [2021-01-28T00:12:03.830Z] 6ca5941a6612: Download complete [2021-01-28T00:12:04.097Z] 31603596830f: Pull complete [2021-01-28T00:12:04.359Z] 2a8b12db71e7: Pull complete [2021-01-28T00:12:05.306Z] 6ca5941a6612: Pull complete [2021-01-28T00:12:05.306Z] ecc8261a40a4: Pull complete [2021-01-28T00:12:05.306Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T00:12:05.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:12:05.306Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T00:12:05.447Z] prd-centos7-docker-4c-2g-23537 does not seem to be running inside a container [2021-01-28T00:12:05.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-760 -v /w/workspace/dgexfoundry_device-sdk-go_PR-760:/w/workspace/dgexfoundry_device-sdk-go_PR-760:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T00:12:07.805Z] $ docker top 2ff2599c046fb542393e53f9e6517b2ccb779c54534324ba2023f42d780596b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T00:12:08.090Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:12:08.090Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:12:08.324Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:12:08.326Z] $ docker exec 2ff2599c046fb542393e53f9e6517b2ccb779c54534324ba2023f42d780596b6 ssh-agent [2021-01-28T00:12:08.498Z] SSH_AUTH_SOCK=/tmp/ssh-z1SrxTNiDUMs/agent.11 [2021-01-28T00:12:08.498Z] SSH_AGENT_PID=16 [2021-01-28T00:12:08.508Z] Running ssh-add (command line suppressed) [2021-01-28T00:12:08.625Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/private_key_7813384008583464164.key (/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/private_key_7813384008583464164.key) [2021-01-28T00:12:08.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:12:09.016Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T00:12:09.037Z] $ docker exec --env ******** --env ******** 2ff2599c046fb542393e53f9e6517b2ccb779c54534324ba2023f42d780596b6 ssh-agent -k [2021-01-28T00:12:09.162Z] unset SSH_AUTH_SOCK; [2021-01-28T00:12:09.163Z] unset SSH_AGENT_PID; [2021-01-28T00:12:09.163Z] echo Agent pid 16 killed; [2021-01-28T00:12:09.216Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T00:12:09.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:12:09.361Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:12:09.541Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:12:09.542Z] $ docker exec 2ff2599c046fb542393e53f9e6517b2ccb779c54534324ba2023f42d780596b6 ssh-agent [2021-01-28T00:12:09.759Z] SSH_AUTH_SOCK=/tmp/ssh-VmYBgVHOeijV/agent.45 [2021-01-28T00:12:09.759Z] SSH_AGENT_PID=50 [2021-01-28T00:12:09.766Z] Running ssh-add (command line suppressed) [2021-01-28T00:12:09.917Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/private_key_6546187007213490029.key (/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/private_key_6546187007213490029.key) [2021-01-28T00:12:09.976Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:12:10.320Z] + git semver init [2021-01-28T00:12:10.320Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T00:12:10.320Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-760/.git [2021-01-28T00:12:10.320Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-760 [2021-01-28T00:12:10.320Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T00:12:10.320Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T00:12:10.320Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T00:12:10.320Z] # $SEMVER_BRANCH = PR-760 [2021-01-28T00:12:10.320Z] # $SEMVER_TEMP = /tmp/semver-270501031 [2021-01-28T00:12:10.320Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T00:12:10.897Z] # '/tmp/semver-270501031' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-760/.semver' [2021-01-28T00:12:10.897Z] # -> Force: false [2021-01-28T00:12:10.897Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-760/.semver [Pipeline] } [2021-01-28T00:12:10.907Z] $ docker exec --env ******** --env ******** 2ff2599c046fb542393e53f9e6517b2ccb779c54534324ba2023f42d780596b6 ssh-agent -k [2021-01-28T00:12:11.024Z] unset SSH_AUTH_SOCK; [2021-01-28T00:12:11.024Z] unset SSH_AGENT_PID; [2021-01-28T00:12:11.024Z] echo Agent pid 50 killed; [2021-01-28T00:12:11.081Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T00:12:11.527Z] + git semver [Pipeline] } [2021-01-28T00:12:11.543Z] $ docker stop --time=1 2ff2599c046fb542393e53f9e6517b2ccb779c54534324ba2023f42d780596b6 [2021-01-28T00:12:12.926Z] $ docker rm -f 2ff2599c046fb542393e53f9e6517b2ccb779c54534324ba2023f42d780596b6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:12:13.471Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T00:12:13.909Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T00:12:13.913Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-28T00:12:29.463Z] Still waiting to schedule task [2021-01-28T00:12:29.463Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-23531’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23526’ is offline; ‘prd-centos7-docker-4c-2g-23528’ is offline; ‘prd-centos7-docker-4c-2g-23533’ is offline; ‘prd-centos7-docker-4c-2g-23540’ is offline; ‘prd-centos7-docker-4c-2g-23541’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23529’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23532’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-28T00:12:29.467Z] Still waiting to schedule task [2021-01-28T00:12:29.467Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-28T00:14:05.388Z] Running on prd-centos7-docker-4c-2g-23543 in /w/workspace/dgexfoundry_device-sdk-go_PR-760 [Pipeline] { [Pipeline] ws [2021-01-28T00:14:05.445Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-28T00:14:12.523Z] using credential edgex-jenkins-ssh [2021-01-28T00:14:12.590Z] Cloning the remote Git repository [2021-01-28T00:14:12.651Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:14:12.740Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-28T00:14:12.894Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:14:12.894Z] > git --version # timeout=10 [2021-01-28T00:14:12.911Z] > git --version # 'git version 2.24.3' [2021-01-28T00:14:12.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:14:12.968Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:14:14.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:14:14.060Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:14:14.176Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:14:14.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:14:14.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:14:14.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/760/head:refs/remotes/origin/PR-760 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:14:14.785Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 632bc473474f915b03438cc79dd7a64bc7672eb1 [2021-01-28T00:14:15.214Z] Merge succeeded, producing 8e94138cc4ffb9472124c4cf64c8123163976c89 [2021-01-28T00:14:15.215Z] Checking out Revision 8e94138cc4ffb9472124c4cf64c8123163976c89 (PR-760) [2021-01-28T00:14:14.806Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:14:14.857Z] > git checkout -f 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 [2021-01-28T00:14:14.989Z] > git remote # timeout=10 [2021-01-28T00:14:15.045Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T00:14:15.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:14:15.098Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:14:15.184Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T00:14:15.222Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:14:15.280Z] > git checkout -f 8e94138cc4ffb9472124c4cf64c8123163976c89 # timeout=10 [2021-01-28T00:14:19.848Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T00:14:19.855Z] > git rev-list --no-walk 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:14:22.039Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:14:22.476Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:14:22.826Z] + sudo service docker restart [2021-01-28T00:14:22.826Z] + true [2021-01-28T00:14:22.826Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:14:24.340Z] provisioning config files... [2021-01-28T00:14:24.376Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6691498385771382486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:14:24.814Z] ---> docker-login.sh [2021-01-28T00:14:24.814Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:14:25.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:25.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:25.823Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:25.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:25.823Z] [2021-01-28T00:14:25.823Z] Login Succeeded [2021-01-28T00:14:25.823Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:14:26.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:26.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:26.809Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:26.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:26.809Z] [2021-01-28T00:14:26.809Z] Login Succeeded [2021-01-28T00:14:26.809Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:14:27.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:27.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:27.441Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:27.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:27.441Z] [2021-01-28T00:14:27.441Z] Login Succeeded [2021-01-28T00:14:27.441Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:14:28.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:28.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:28.094Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:28.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:28.094Z] [2021-01-28T00:14:28.094Z] Login Succeeded [2021-01-28T00:14:28.094Z] docker.io [2021-01-28T00:14:28.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:28.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:28.673Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:28.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:28.673Z] [2021-01-28T00:14:28.673Z] Login Succeeded [2021-01-28T00:14:28.673Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:14:28.706Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:14:29.451Z] ========================================================= [2021-01-28T00:14:29.451Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T00:14:29.451Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:14:29.925Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-28T00:14:30.580Z] Sending build context to Docker daemon 2.573MB [2021-01-28T00:14:30.580Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:14:30.580Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:14:30.580Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T00:14:30.580Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T00:14:30.580Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T00:14:30.580Z] de9db76c5a1d: Pulling fs layer [2021-01-28T00:14:30.580Z] bca2f99d35d6: Pulling fs layer [2021-01-28T00:14:30.580Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T00:14:30.580Z] 7c6f9722023f: Pulling fs layer [2021-01-28T00:14:30.580Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T00:14:30.580Z] bca2f99d35d6: Waiting [2021-01-28T00:14:30.580Z] 93359f2a8cfa: Waiting [2021-01-28T00:14:30.580Z] 7c6f9722023f: Waiting [2021-01-28T00:14:30.580Z] a35cf1a2eb13: Waiting [2021-01-28T00:14:30.924Z] 0ef7d3d256c8: Verifying Checksum [2021-01-28T00:14:30.924Z] 0ef7d3d256c8: Download complete [2021-01-28T00:14:30.924Z] de9db76c5a1d: Verifying Checksum [2021-01-28T00:14:30.924Z] de9db76c5a1d: Download complete [2021-01-28T00:14:30.924Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T00:14:30.924Z] 93359f2a8cfa: Download complete [2021-01-28T00:14:30.924Z] 7c6f9722023f: Verifying Checksum [2021-01-28T00:14:30.924Z] 7c6f9722023f: Download complete [2021-01-28T00:14:31.566Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T00:14:31.566Z] 188c0c94c7c5: Download complete [2021-01-28T00:14:32.796Z] 188c0c94c7c5: Pull complete [2021-01-28T00:14:33.551Z] 0ef7d3d256c8: Pull complete [2021-01-28T00:14:33.864Z] de9db76c5a1d: Pull complete [2021-01-28T00:14:36.241Z] a35cf1a2eb13: Verifying Checksum [2021-01-28T00:14:36.241Z] a35cf1a2eb13: Download complete [2021-01-28T00:14:39.744Z] bca2f99d35d6: Verifying Checksum [2021-01-28T00:14:39.744Z] bca2f99d35d6: Download complete [2021-01-28T00:14:50.068Z] bca2f99d35d6: Pull complete [2021-01-28T00:14:50.068Z] 93359f2a8cfa: Pull complete [2021-01-28T00:14:50.068Z] 7c6f9722023f: Pull complete [2021-01-28T00:14:56.863Z] a35cf1a2eb13: Pull complete [2021-01-28T00:14:56.863Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T00:14:56.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T00:14:56.863Z] ---> a62c8e92a672 [2021-01-28T00:14:56.863Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:14:56.863Z] ---> Running in 51183f684b47 [2021-01-28T00:14:57.180Z] Removing intermediate container 51183f684b47 [2021-01-28T00:14:57.180Z] ---> ad73222a3a49 [2021-01-28T00:14:57.180Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:14:57.180Z] ---> Running in 281c85f0827c [2021-01-28T00:15:00.735Z] Removing intermediate container 281c85f0827c [2021-01-28T00:15:00.735Z] ---> 2e68cd8a1248 [2021-01-28T00:15:00.735Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:15:00.735Z] ---> Running in 8d4e13c7682b [2021-01-28T00:15:01.363Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:15:02.366Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:15:02.993Z] OK: 166 MiB in 39 packages [2021-01-28T00:15:03.634Z] Removing intermediate container 8d4e13c7682b [2021-01-28T00:15:03.634Z] ---> 4a0f985ff724 [2021-01-28T00:15:03.634Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:15:03.976Z] ---> Running in 2b3d89c7eb32 [2021-01-28T00:15:04.639Z] Removing intermediate container 2b3d89c7eb32 [2021-01-28T00:15:04.639Z] ---> 36b854fe3c33 [2021-01-28T00:15:04.639Z] Step 7/8 : COPY . . [2021-01-28T00:15:07.432Z] ---> 4ee622d62882 [2021-01-28T00:15:07.432Z] Step 8/8 : RUN go mod download [2021-01-28T00:15:07.432Z] ---> Running in 2c67658bdf15 [2021-01-28T00:15:35.354Z] Removing intermediate container 2c67658bdf15 [2021-01-28T00:15:35.354Z] ---> 371e5aa9b063 [2021-01-28T00:15:35.354Z] Successfully built 371e5aa9b063 [2021-01-28T00:15:35.354Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:15:35.781Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:15:36.055Z] . [Pipeline] withDockerContainer [2021-01-28T00:15:36.302Z] prd-centos7-docker-4c-2g-23543 does not seem to be running inside a container [2021-01-28T00:15:36.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T00:15:37.521Z] $ docker top 2577445ab5101591f55fd246abe203d3944f2eecb227b1a551a4a783ba57fb52 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:15:38.599Z] + go version [2021-01-28T00:15:38.599Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T00:15:38.635Z] $ docker stop --time=1 2577445ab5101591f55fd246abe203d3944f2eecb227b1a551a4a783ba57fb52 [2021-01-28T00:15:40.387Z] $ docker rm -f 2577445ab5101591f55fd246abe203d3944f2eecb227b1a551a4a783ba57fb52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:15:41.429Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:15:41.429Z] . [Pipeline] withDockerContainer [2021-01-28T00:15:41.689Z] prd-centos7-docker-4c-2g-23543 does not seem to be running inside a container [2021-01-28T00:15:41.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T00:15:42.931Z] $ docker top 0160bbf20c00e13ecd6aa8e5b4bb8d2c33011ee4f03a99a18232b54909267392 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:15:43.960Z] + make test [2021-01-28T00:15:43.960Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:16:02.972Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:16:10.479Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23549 in /w/workspace/dgexfoundry_device-sdk-go_PR-760 [Pipeline] { [Pipeline] ws [2021-01-28T00:16:10.529Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-28T00:16:15.709Z] using credential edgex-jenkins-ssh [2021-01-28T00:16:15.782Z] Cloning the remote Git repository [2021-01-28T00:16:15.844Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:16:15.959Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-28T00:16:16.035Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:16:16.036Z] > git --version # timeout=10 [2021-01-28T00:16:16.057Z] > git --version # 'git version 2.17.1' [2021-01-28T00:16:16.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:16:16.142Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:16:17.878Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 632bc473474f915b03438cc79dd7a64bc7672eb1 [2021-01-28T00:16:18.154Z] Merge succeeded, producing 903349a324e66d74020ca71283949c52d4df24cf [2021-01-28T00:16:18.155Z] Checking out Revision 903349a324e66d74020ca71283949c52d4df24cf (PR-760) [2021-01-28T00:16:17.257Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:16:17.272Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:16:17.352Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:16:17.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:16:17.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:16:17.409Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/760/head:refs/remotes/origin/PR-760 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:16:17.901Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:16:17.914Z] > git checkout -f 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 [2021-01-28T00:16:18.028Z] > git remote # timeout=10 [2021-01-28T00:16:18.043Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T00:16:18.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:16:18.072Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:16:18.145Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T00:16:18.164Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:16:18.173Z] > git checkout -f 903349a324e66d74020ca71283949c52d4df24cf # timeout=10 [2021-01-28T00:16:22.611Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T00:16:22.622Z] > git rev-list --no-walk 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:16:24.229Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:16:24.625Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:16:24.966Z] + sudo service+ true [2021-01-28T00:16:24.966Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:16:29.342Z] provisioning config files... [2021-01-28T00:16:29.380Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8209052680609718689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:16:29.772Z] ---> docker-login.sh [2021-01-28T00:16:29.772Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:16:30.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:16:30.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:16:30.958Z] Configure a credential helper to remove this warning. See [2021-01-28T00:16:30.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:16:30.958Z] [2021-01-28T00:16:30.958Z] Login Succeeded [2021-01-28T00:16:30.958Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:16:31.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:16:31.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:16:31.231Z] Configure a credential helper to remove this warning. See [2021-01-28T00:16:31.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:16:31.231Z] [2021-01-28T00:16:31.231Z] Login Succeeded [2021-01-28T00:16:31.231Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:16:31.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:16:31.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:16:31.831Z] Configure a credential helper to remove this warning. See [2021-01-28T00:16:31.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:16:31.831Z] [2021-01-28T00:16:31.831Z] Login Succeeded [2021-01-28T00:16:31.831Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:16:32.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:16:32.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:16:32.102Z] Configure a credential helper to remove this warning. See [2021-01-28T00:16:32.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:16:32.102Z] [2021-01-28T00:16:32.102Z] Login Succeeded [2021-01-28T00:16:32.376Z] docker.io [2021-01-28T00:16:32.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:16:32.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:16:32.921Z] Configure a credential helper to remove this warning. See [2021-01-28T00:16:32.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:16:32.921Z] [2021-01-28T00:16:32.921Z] Login Succeeded [2021-01-28T00:16:32.921Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:16:32.939Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:16:33.444Z] ========================================================= [2021-01-28T00:16:33.444Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T00:16:33.444Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:16:33.840Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-28T00:16:34.120Z] Sending build context to Docker daemon 2.565MB [2021-01-28T00:16:34.392Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:16:34.392Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:16:34.392Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T00:16:34.392Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T00:16:34.392Z] a4357932f1b6: Pulling fs layer [2021-01-28T00:16:34.392Z] 18c013af1878: Pulling fs layer [2021-01-28T00:16:34.392Z] 00ac8860ef70: Pulling fs layer [2021-01-28T00:16:34.392Z] 63d7cb157983: Pulling fs layer [2021-01-28T00:16:34.392Z] b116817d02f9: Pulling fs layer [2021-01-28T00:16:34.392Z] 745a02a5169b: Pulling fs layer [2021-01-28T00:16:34.392Z] 00ac8860ef70: Waiting [2021-01-28T00:16:34.392Z] 63d7cb157983: Waiting [2021-01-28T00:16:34.392Z] 745a02a5169b: Waiting [2021-01-28T00:16:34.392Z] 18c013af1878: Verifying Checksum [2021-01-28T00:16:34.392Z] 18c013af1878: Download complete [2021-01-28T00:16:34.392Z] a4357932f1b6: Verifying Checksum [2021-01-28T00:16:34.392Z] a4357932f1b6: Download complete [2021-01-28T00:16:34.392Z] 63d7cb157983: Verifying Checksum [2021-01-28T00:16:34.392Z] 63d7cb157983: Download complete [2021-01-28T00:16:34.990Z] b116817d02f9: Verifying Checksum [2021-01-28T00:16:34.991Z] b116817d02f9: Download complete [2021-01-28T00:16:34.991Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T00:16:34.991Z] 5f621e34cdf4: Download complete [2021-01-28T00:16:35.596Z] 5f621e34cdf4: Pull complete [2021-01-28T00:16:36.207Z] a4357932f1b6: Pull complete [2021-01-28T00:16:36.485Z] 18c013af1878: Pull complete [2021-01-28T00:16:36.694Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:16:36.694Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:16:36.694Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:16:36.694Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.110s coverage: 19.4% of statements [2021-01-28T00:16:37.925Z] 745a02a5169b: Verifying Checksum [2021-01-28T00:16:37.925Z] 745a02a5169b: Download complete [2021-01-28T00:16:38.913Z] 00ac8860ef70: Verifying Checksum [2021-01-28T00:16:38.913Z] 00ac8860ef70: Download complete [2021-01-28T00:16:44.346Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.758s coverage: 97.1% of statements [2021-01-28T00:16:49.076Z] 00ac8860ef70: Pull complete [2021-01-28T00:16:49.350Z] 63d7cb157983: Pull complete [2021-01-28T00:16:49.623Z] b116817d02f9: Pull complete [2021-01-28T00:16:53.014Z] 745a02a5169b: Pull complete [2021-01-28T00:16:53.014Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T00:16:53.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T00:16:53.014Z] ---> b7e6874047d6 [2021-01-28T00:16:53.014Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:16:55.617Z] ---> Running in 4b9b0f466178 [2021-01-28T00:16:55.889Z] Removing intermediate container 4b9b0f466178 [2021-01-28T00:16:55.889Z] ---> 8556f47733a8 [2021-01-28T00:16:55.889Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:16:56.160Z] ---> Running in fb7738c1622f [2021-01-28T00:16:58.131Z] Removing intermediate container fb7738c1622f [2021-01-28T00:16:58.131Z] ---> 20038746fcae [2021-01-28T00:16:58.131Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:16:58.403Z] ---> Running in 0b1b59bb4169 [2021-01-28T00:16:59.392Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T00:17:00.366Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T00:17:01.799Z] OK: 142 MiB in 39 packages [2021-01-28T00:17:02.775Z] Removing intermediate container 0b1b59bb4169 [2021-01-28T00:17:02.775Z] ---> 7b2bf29e2311 [2021-01-28T00:17:02.775Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:17:02.775Z] ---> Running in 30f0f6e6b6ca [2021-01-28T00:17:03.047Z] Removing intermediate container 30f0f6e6b6ca [2021-01-28T00:17:03.047Z] ---> 3b0dd066e9d7 [2021-01-28T00:17:03.047Z] Step 7/8 : COPY . . [2021-01-28T00:17:04.482Z] ---> c1706479402e [2021-01-28T00:17:04.482Z] Step 8/8 : RUN go mod download [2021-01-28T00:17:04.482Z] ---> Running in 0c38b6bc3707 [2021-01-28T00:17:11.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.153s coverage: 9.4% of statements [2021-01-28T00:17:11.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.116s coverage: 21.7% of statements [2021-01-28T00:17:11.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:17:11.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.415s coverage: 43.2% of statements [2021-01-28T00:17:11.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:17:11.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.686s coverage: 68.9% of statements [2021-01-28T00:17:11.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:17:11.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:17:11.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:17:11.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:17:11.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.170s coverage: 53.8% of statements [2021-01-28T00:17:11.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:17:11.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:17:11.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.121s coverage: 26.8% of statements [2021-01-28T00:17:11.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.442s coverage: 83.5% of statements [2021-01-28T00:17:11.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 4.2% of statements [2021-01-28T00:17:11.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:17:11.922Z] GO111MODULE=on go vet ./... [2021-01-28T00:17:26.667Z] Removing intermediate container 0c38b6bc3707 [2021-01-28T00:17:26.667Z] ---> b4b187afc1db [2021-01-28T00:17:26.667Z] Successfully built b4b187afc1db [2021-01-28T00:17:26.667Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:17:27.012Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:17:27.012Z] . [Pipeline] withDockerContainer [2021-01-28T00:17:27.288Z] prd-ubuntu18.04-docker-arm64-4c-16g-23549 does not seem to be running inside a container [2021-01-28T00:17:27.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T00:17:28.784Z] $ docker top c0edd346a63a278c5ec80f05e9425f8ca4f1bd292c0c26dc886c8c27a345a20b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:17:29.805Z] + go version [2021-01-28T00:17:29.805Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T00:17:29.834Z] $ docker stop --time=1 c0edd346a63a278c5ec80f05e9425f8ca4f1bd292c0c26dc886c8c27a345a20b [2021-01-28T00:17:31.668Z] $ docker rm -f c0edd346a63a278c5ec80f05e9425f8ca4f1bd292c0c26dc886c8c27a345a20b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:17:32.707Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:17:32.707Z] . [Pipeline] withDockerContainer [2021-01-28T00:17:32.926Z] prd-ubuntu18.04-docker-arm64-4c-16g-23549 does not seem to be running inside a container [2021-01-28T00:17:33.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T00:17:34.421Z] $ docker top 1dc97c9e69a4257722e56b259e5cdee2be0427046ca5601d3fb9de2ce5a524d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:17:35.402Z] + make test [2021-01-28T00:17:35.402Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:17:39.606Z] gofmt -l . [2021-01-28T00:17:39.606Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:17:39.606Z] ./bin/test-attribution-txt.sh [2021-01-28T00:17:39.606Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:17:39.657Z] $ docker stop --time=1 0160bbf20c00e13ecd6aa8e5b4bb8d2c33011ee4f03a99a18232b54909267392 [2021-01-28T00:17:42.222Z] $ docker rm -f 0160bbf20c00e13ecd6aa8e5b4bb8d2c33011ee4f03a99a18232b54909267392 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:17:43.125Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:17:44.198Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T00:17:48.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:17:48.752Z] + ls -al . [2021-01-28T00:17:48.753Z] total 216 [2021-01-28T00:17:48.753Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 00:17 . [2021-01-28T00:17:48.753Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 00:14 .. [2021-01-28T00:17:48.753Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 00:14 bin [2021-01-28T00:17:48.753Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 00:17 coverage.out [2021-01-28T00:17:48.753Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 00:14 Dockerfile.build [2021-01-28T00:17:48.753Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 00:14 .dockerignore [2021-01-28T00:17:48.753Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 00:14 example [2021-01-28T00:17:48.753Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 00:14 .git [2021-01-28T00:17:48.753Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 00:14 .github [2021-01-28T00:17:48.753Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 00:14 .gitignore [2021-01-28T00:17:48.753Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 28 00:17 go.mod [2021-01-28T00:17:48.753Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 28 00:17 go.sum [2021-01-28T00:17:48.753Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 00:14 internal [2021-01-28T00:17:48.753Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 00:14 Jenkinsfile [2021-01-28T00:17:48.753Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 00:14 LICENSE [2021-01-28T00:17:48.753Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 00:14 Makefile [2021-01-28T00:17:48.753Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 00:14 openapi [2021-01-28T00:17:48.753Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 00:14 pkg [2021-01-28T00:17:48.753Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 00:14 README.md [2021-01-28T00:17:48.753Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 00:14 RELEASE-NOTES.txt [2021-01-28T00:17:48.753Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 00:14 snap [2021-01-28T00:17:48.753Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 00:12 VERSION [2021-01-28T00:17:48.753Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 00:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:17:49.333Z] + 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=d3c86d287c9f9cff03dc0916b9f733d081a6e8db --label arch=amd64 --label version=0.0.0 . [2021-01-28T00:17:49.993Z] Sending build context to Docker daemon 2.711MB [2021-01-28T00:17:50.321Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:17:50.322Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:17:50.322Z] ---> 371e5aa9b063 [2021-01-28T00:17:50.322Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:17:50.613Z] ---> Running in 70d191b0b4be [2021-01-28T00:17:50.894Z] Removing intermediate container 70d191b0b4be [2021-01-28T00:17:50.894Z] ---> 824fe2ec8bcb [2021-01-28T00:17:50.894Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T00:17:50.894Z] ---> Running in 1da0c5ffc87a [2021-01-28T00:17:51.499Z] Removing intermediate container 1da0c5ffc87a [2021-01-28T00:17:51.499Z] ---> dacd9cd78956 [2021-01-28T00:17:51.499Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:17:51.775Z] ---> Running in 9a04862238cb [2021-01-28T00:17:52.046Z] Removing intermediate container 9a04862238cb [2021-01-28T00:17:52.046Z] ---> 4e35a4e9e4f8 [2021-01-28T00:17:52.046Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:17:52.317Z] ---> Running in ccb0a71e28ad [2021-01-28T00:17:54.328Z] Removing intermediate container ccb0a71e28ad [2021-01-28T00:17:54.328Z] ---> 8d05a851e95f [2021-01-28T00:17:54.328Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T00:17:54.328Z] ---> Running in 8e78dc6e3347 [2021-01-28T00:17:55.300Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:17:55.888Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:17:56.564Z] OK: 166 MiB in 39 packages [2021-01-28T00:17:57.469Z] Removing intermediate container 8e78dc6e3347 [2021-01-28T00:17:57.469Z] ---> 8f24cfdaf81c [2021-01-28T00:17:57.469Z] Step 8/24 : COPY . . [2021-01-28T00:17:58.220Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:17:59.071Z] ---> d829933d5f25 [2021-01-28T00:17:59.071Z] Step 9/24 : RUN ${MAKE} [2021-01-28T00:17:59.071Z] ---> Running in 9ebfdd09aede [2021-01-28T00:17:59.837Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-28T00:18:18.569Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T00:18:20.067Z] Removing intermediate container 9ebfdd09aede [2021-01-28T00:18:20.067Z] ---> 14caa33b59b7 [2021-01-28T00:18:20.067Z] Step 10/24 : FROM scratch [2021-01-28T00:18:20.067Z] ---> [2021-01-28T00:18:20.067Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:18:20.067Z] ---> Running in b71f19ea8a61 [2021-01-28T00:18:20.067Z] Removing intermediate container b71f19ea8a61 [2021-01-28T00:18:20.067Z] ---> 9b2dded78ebe [2021-01-28T00:18:20.067Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T00:18:20.359Z] ---> Running in b03f4b2218fa [2021-01-28T00:18:20.639Z] Removing intermediate container b03f4b2218fa [2021-01-28T00:18:20.639Z] ---> 734cec1080ea [2021-01-28T00:18:20.639Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T00:18:20.914Z] ---> Running in f20312ce7d12 [2021-01-28T00:18:21.205Z] Removing intermediate container f20312ce7d12 [2021-01-28T00:18:21.205Z] ---> 71bca956462a [2021-01-28T00:18:21.205Z] Step 14/24 : WORKDIR / [2021-01-28T00:18:21.205Z] ---> Running in a581f75ea400 [2021-01-28T00:18:21.496Z] Removing intermediate container a581f75ea400 [2021-01-28T00:18:21.496Z] ---> 647a566fce32 [2021-01-28T00:18:21.496Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T00:18:22.119Z] ---> f2a247d0e550 [2021-01-28T00:18:22.119Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T00:18:23.192Z] ---> 085b4110d482 [2021-01-28T00:18:23.192Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T00:18:23.886Z] ---> 346d397fec13 [2021-01-28T00:18:23.886Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T00:18:24.489Z] ---> 0ac9fbb61554 [2021-01-28T00:18:24.489Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T00:18:25.108Z] ---> 7c04add0a3fd [2021-01-28T00:18:25.108Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T00:18:25.108Z] ---> Running in c5981019ae3e [2021-01-28T00:18:25.401Z] Removing intermediate container c5981019ae3e [2021-01-28T00:18:25.402Z] ---> 97959ecb1433 [2021-01-28T00:18:25.402Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T00:18:25.738Z] ---> Running in f7ce73de4937 [2021-01-28T00:18:26.052Z] Removing intermediate container f7ce73de4937 [2021-01-28T00:18:26.052Z] ---> 224e03dbb066 [2021-01-28T00:18:26.052Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T00:18:26.052Z] ---> Running in d72a6358c4e9 [2021-01-28T00:18:26.327Z] Removing intermediate container d72a6358c4e9 [2021-01-28T00:18:26.327Z] ---> aa3b5a23a6d9 [2021-01-28T00:18:26.327Z] Step 23/24 : LABEL git_sha=d3c86d287c9f9cff03dc0916b9f733d081a6e8db [2021-01-28T00:18:26.327Z] ---> Running in a7921ce93aad [2021-01-28T00:18:26.932Z] Removing intermediate container a7921ce93aad [2021-01-28T00:18:26.932Z] ---> 69360c85d613 [2021-01-28T00:18:26.932Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T00:18:26.932Z] ---> Running in 37a4334169ee [2021-01-28T00:18:27.227Z] Removing intermediate container 37a4334169ee [2021-01-28T00:18:27.227Z] ---> 17dff018aadc [2021-01-28T00:18:27.228Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T00:18:27.228Z] Successfully built 17dff018aadc [2021-01-28T00:18:27.228Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-28T00:18:37.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:18:37.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:18:37.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:18:37.278Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.145s coverage: 19.4% of statements [2021-01-28T00:18:42.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.219s coverage: 97.1% of statements [2021-01-28T00:19:09.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.139s coverage: 9.4% of statements [2021-01-28T00:19:09.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 21.7% of statements [2021-01-28T00:19:09.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:19:09.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.558s coverage: 43.2% of statements [2021-01-28T00:19:09.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:19:09.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.732s coverage: 68.9% of statements [2021-01-28T00:19:09.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:19:09.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:19:09.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:19:09.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:19:09.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.184s coverage: 53.8% of statements [2021-01-28T00:19:09.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:19:09.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:19:09.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.192s coverage: 26.8% of statements [2021-01-28T00:19:09.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.982s coverage: 83.5% of statements [2021-01-28T00:19:09.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements [2021-01-28T00:19:09.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:19:09.536Z] GO111MODULE=on go vet ./... [2021-01-28T00:19:48.600Z] gofmt -l . [2021-01-28T00:19:48.600Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:19:48.600Z] ./bin/test-attribution-txt.sh [2021-01-28T00:19:48.600Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:19:48.628Z] $ docker stop --time=1 1dc97c9e69a4257722e56b259e5cdee2be0427046ca5601d3fb9de2ce5a524d7 [2021-01-28T00:19:50.772Z] $ docker rm -f 1dc97c9e69a4257722e56b259e5cdee2be0427046ca5601d3fb9de2ce5a524d7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:19:51.855Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:19:51.918Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T00:19:52.887Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:19:53.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:19:53.909Z] + ls -al . [2021-01-28T00:19:53.909Z] total 252 [2021-01-28T00:19:53.909Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 00:19 . [2021-01-28T00:19:53.909Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:16 .. [2021-01-28T00:19:53.909Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 00:16 .dockerignore [2021-01-28T00:19:53.909Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 00:16 .git [2021-01-28T00:19:53.909Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:16 .github [2021-01-28T00:19:53.909Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 00:16 .gitignore [2021-01-28T00:19:53.909Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 00:16 Dockerfile.build [2021-01-28T00:19:53.909Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 00:16 Jenkinsfile [2021-01-28T00:19:53.909Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 00:16 LICENSE [2021-01-28T00:19:53.909Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 00:16 Makefile [2021-01-28T00:19:53.909Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 00:16 README.md [2021-01-28T00:19:53.909Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 00:16 RELEASE-NOTES.txt [2021-01-28T00:19:53.909Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 00:12 VERSION [2021-01-28T00:19:53.909Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:16 bin [2021-01-28T00:19:53.909Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 00:19 coverage.out [2021-01-28T00:19:53.909Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:16 example [2021-01-28T00:19:53.909Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 28 00:19 go.mod [2021-01-28T00:19:53.909Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 28 00:19 go.sum [2021-01-28T00:19:53.909Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 00:16 internal [2021-01-28T00:19:53.909Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:16 openapi [2021-01-28T00:19:53.909Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 00:16 pkg [2021-01-28T00:19:53.909Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:16 snap [2021-01-28T00:19:53.909Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 00:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:19:54.282Z] + 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=d3c86d287c9f9cff03dc0916b9f733d081a6e8db --label arch=arm64 --label version=0.0.0 . [2021-01-28T00:19:54.941Z] Sending build context to Docker daemon 2.703MB [2021-01-28T00:19:54.941Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:19:54.941Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:19:54.941Z] ---> b4b187afc1db [2021-01-28T00:19:54.941Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:19:55.229Z] ---> Running in 31aea256df6e [2021-01-28T00:19:55.527Z] Removing intermediate container 31aea256df6e [2021-01-28T00:19:55.527Z] ---> a2d1cfc42ed0 [2021-01-28T00:19:55.527Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T00:19:55.802Z] ---> Running in 5b50978027cf [2021-01-28T00:19:56.406Z] Removing intermediate container 5b50978027cf [2021-01-28T00:19:56.406Z] ---> 4e155f90a750 [2021-01-28T00:19:56.406Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:19:56.406Z] ---> Running in 2e5af13f7a70 [2021-01-28T00:19:56.680Z] Removing intermediate container 2e5af13f7a70 [2021-01-28T00:19:56.680Z] ---> 73ea2d30f5a2 [2021-01-28T00:19:56.680Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:19:56.953Z] ---> Running in aa276958b698 [2021-01-28T00:19:58.932Z] Removing intermediate container aa276958b698 [2021-01-28T00:19:58.932Z] ---> 5866f47367e5 [2021-01-28T00:19:58.932Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T00:19:58.932Z] ---> Running in e65be682da31 [2021-01-28T00:20:00.385Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T00:20:00.979Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T00:20:01.573Z] OK: 142 MiB in 39 packages [2021-01-28T00:20:03.017Z] Removing intermediate container e65be682da31 [2021-01-28T00:20:03.017Z] ---> 7af9c1487e67 [2021-01-28T00:20:03.017Z] Step 8/24 : COPY . . [2021-01-28T00:20:03.995Z] ---> 45c3e6e0f7cb [2021-01-28T00:20:03.995Z] Step 9/24 : RUN ${MAKE} [2021-01-28T00:20:04.267Z] ---> Running in 044a548db7ca [2021-01-28T00:20:05.244Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-28T00:20:32.073Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T00:20:32.670Z] Removing intermediate container 044a548db7ca [2021-01-28T00:20:32.670Z] ---> b4c22cd534d8 [2021-01-28T00:20:32.670Z] Step 10/24 : FROM scratch [2021-01-28T00:20:32.670Z] ---> [2021-01-28T00:20:32.670Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:20:32.670Z] ---> Running in 1967b48ca8d4 [2021-01-28T00:20:32.943Z] Removing intermediate container 1967b48ca8d4 [2021-01-28T00:20:32.943Z] ---> 02b9f7b39f66 [2021-01-28T00:20:32.943Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T00:20:33.216Z] ---> Running in dc3cd85a78bd [2021-01-28T00:20:33.488Z] Removing intermediate container dc3cd85a78bd [2021-01-28T00:20:33.488Z] ---> b8d627c05c22 [2021-01-28T00:20:33.488Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T00:20:33.765Z] ---> Running in 7edbd5db3915 [2021-01-28T00:20:34.038Z] Removing intermediate container 7edbd5db3915 [2021-01-28T00:20:34.038Z] ---> 09d937ec903e [2021-01-28T00:20:34.038Z] Step 14/24 : WORKDIR / [2021-01-28T00:20:34.311Z] ---> Running in 1b888634af01 [2021-01-28T00:20:34.904Z] Removing intermediate container 1b888634af01 [2021-01-28T00:20:34.905Z] ---> 6952af32336c [2021-01-28T00:20:34.905Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T00:20:35.879Z] ---> b2b2574931be [2021-01-28T00:20:35.879Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T00:20:36.473Z] ---> f3067ee1f935 [2021-01-28T00:20:36.473Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T00:20:37.459Z] ---> 6bb3daf3113f [2021-01-28T00:20:37.459Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T00:20:38.053Z] ---> d4c79d400dfa [2021-01-28T00:20:38.053Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T00:20:38.645Z] ---> c8823a619836 [2021-01-28T00:20:38.645Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T00:20:38.645Z] ---> Running in 1f1581712e27 [2021-01-28T00:20:39.253Z] Removing intermediate container 1f1581712e27 [2021-01-28T00:20:39.253Z] ---> 12023611646f [2021-01-28T00:20:39.253Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T00:20:39.253Z] ---> Running in d5d96cd5749d [2021-01-28T00:20:39.848Z] Removing intermediate container d5d96cd5749d [2021-01-28T00:20:39.848Z] ---> 718a142fb66f [2021-01-28T00:20:39.848Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T00:20:39.848Z] ---> Running in b2e9e963277d [2021-01-28T00:20:40.448Z] Removing intermediate container b2e9e963277d [2021-01-28T00:20:40.448Z] ---> 910a2519416a [2021-01-28T00:20:40.449Z] Step 23/24 : LABEL git_sha=d3c86d287c9f9cff03dc0916b9f733d081a6e8db [2021-01-28T00:20:40.449Z] ---> Running in d8d59dfe745e [2021-01-28T00:20:41.043Z] Removing intermediate container d8d59dfe745e [2021-01-28T00:20:41.043Z] ---> 680c9315025f [2021-01-28T00:20:41.043Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T00:20:41.043Z] ---> Running in 07d160af3c12 [2021-01-28T00:20:41.634Z] Removing intermediate container 07d160af3c12 [2021-01-28T00:20:41.634Z] ---> 7a59a3f850d1 [2021-01-28T00:20:41.634Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T00:20:41.634Z] Successfully built 7a59a3f850d1 [2021-01-28T00:20:41.634Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-28T00:20:43.321Z] provisioning config files... [2021-01-28T00:20:43.337Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/config4604542620877169718tmp [Pipeline] { [Pipeline] sh [2021-01-28T00:20:43.742Z] + set +x [2021-01-28T00:20:43.742Z] + bash -s -- [2021-01-28T00:20:43.742Z] + curl -s https://codecov.io/bash [2021-01-28T00:20:44.007Z] [2021-01-28T00:20:44.007Z] _____ _ [2021-01-28T00:20:44.007Z] / ____| | | [2021-01-28T00:20:44.007Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T00:20:44.007Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T00:20:44.007Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T00:20:44.007Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T00:20:44.007Z] Bash-20210115-cec3c92 [2021-01-28T00:20:44.007Z] [2021-01-28T00:20:44.007Z] [2021-01-28T00:20:44.007Z] ==> git version 2.24.3 found [2021-01-28T00:20:44.007Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-28T00:20:44.007Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T00:20:44.007Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T00:20:44.007Z] ==> Jenkins CI detected. [2021-01-28T00:20:44.007Z] project root: . [2021-01-28T00:20:44.007Z] --> token set from env [2021-01-28T00:20:44.007Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T00:20:44.007Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T00:20:44.007Z] ==> Python coveragepy not found [2021-01-28T00:20:44.007Z] ==> Searching for coverage reports in: [2021-01-28T00:20:44.007Z] + . [2021-01-28T00:20:44.007Z] -> Found 1 reports [2021-01-28T00:20:44.007Z] ==> Detecting git/mercurial file structure [2021-01-28T00:20:44.007Z] ==> Reading reports [2021-01-28T00:20:44.007Z] + ./coverage.out bytes=136842 [2021-01-28T00:20:44.007Z] ==> Appending adjustments [2021-01-28T00:20:44.007Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T00:20:44.589Z] + Found adjustments [2021-01-28T00:20:44.589Z] ==> Gzipping contents [2021-01-28T00:20:44.589Z] 24K /tmp/codecov.dZchMS.gz [2021-01-28T00:20:44.589Z] ==> Uploading reports [2021-01-28T00:20:44.589Z] url: https://codecov.io [2021-01-28T00:20:44.589Z] query: branch=PR-760&commit=d3c86d287c9f9cff03dc0916b9f733d081a6e8db&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-760%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=760&job=&cmd_args= [2021-01-28T00:20:44.589Z] -> Pinging Codecov [2021-01-28T00:20:44.589Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-760&commit=d3c86d287c9f9cff03dc0916b9f733d081a6e8db&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-760%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=760&job=&cmd_args= [2021-01-28T00:20:44.855Z] -> Uploading to [2021-01-28T00:20:44.855Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/d3c86d287c9f9cff03dc0916b9f733d081a6e8db/27198912-1aee-44e2-9600-f7f428fec4ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T002044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=133d0c722924d8b7f82768560168ee25d30cc97a4afc51e48a97646b115a7193 [2021-01-28T00:20:44.855Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T00:20:44.855Z] Dload Upload Total Spent Left Speed [2021-01-28T00:20:45.435Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21546 0 0 100 21546 0 46477 --:--:-- --:--:-- --:--:-- 46535 [2021-01-28T00:20:45.435Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d3c86d287c9f9cff03dc0916b9f733d081a6e8db [Pipeline] } [2021-01-28T00:20:45.448Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:20:48.014Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:20:48.598Z] ---> package-listing.sh [2021-01-28T00:20:48.598Z] ++ facter osfamily [2021-01-28T00:20:48.598Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T00:20:48.598Z] + OS_FAMILY=redhat [2021-01-28T00:20:48.598Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-760 [2021-01-28T00:20:48.598Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T00:20:48.598Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T00:20:48.598Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T00:20:48.598Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T00:20:48.598Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-760 ']' [2021-01-28T00:20:48.598Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T00:20:48.598Z] + case "${OS_FAMILY}" in [2021-01-28T00:20:48.598Z] + rpm -qa [2021-01-28T00:20:48.598Z] + sort [2021-01-28T00:20:53.867Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T00:20:53.868Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T00:20:53.868Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T00:20:53.868Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-760 ']' [2021-01-28T00:20:53.868Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-760/archives/ [2021-01-28T00:20:53.868Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-760/archives/ [Pipeline] echo [2021-01-28T00:20:53.884Z] 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-760/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-28T00:20:54.196Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:20:54.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T00:20:54.511Z] [2021-01-28T00:20:54.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:20:54.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T00:20:54.871Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T00:20:54.871Z] df20fa9351a1: Pulling fs layer [2021-01-28T00:20:54.871Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T00:20:54.871Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T00:20:54.871Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T00:20:54.871Z] 93b61091891f: Pulling fs layer [2021-01-28T00:20:54.871Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T00:20:54.871Z] 5e14af77c1be: Pulling fs layer [2021-01-28T00:20:54.871Z] 01666e4c0597: Pulling fs layer [2021-01-28T00:20:54.871Z] aa168da1d23b: Pulling fs layer [2021-01-28T00:20:54.871Z] 93b9cdb0e59b: Waiting [2021-01-28T00:20:54.871Z] 46f8f816bc3b: Waiting [2021-01-28T00:20:54.871Z] 5e14af77c1be: Waiting [2021-01-28T00:20:54.871Z] 93b61091891f: Waiting [2021-01-28T00:20:54.871Z] 01666e4c0597: Waiting [2021-01-28T00:20:54.871Z] 36b3adc4ff6f: Verifying Checksum [2021-01-28T00:20:54.871Z] 36b3adc4ff6f: Download complete [2021-01-28T00:20:54.871Z] 46f8f816bc3b: Verifying Checksum [2021-01-28T00:20:54.871Z] 46f8f816bc3b: Download complete [2021-01-28T00:20:54.871Z] df20fa9351a1: Verifying Checksum [2021-01-28T00:20:55.143Z] 93b9cdb0e59b: Verifying Checksum [2021-01-28T00:20:55.143Z] 93b9cdb0e59b: Download complete [2021-01-28T00:20:55.143Z] 5e14af77c1be: Download complete [2021-01-28T00:20:55.143Z] 93b61091891f: Verifying Checksum [2021-01-28T00:20:55.143Z] 93b61091891f: Download complete [2021-01-28T00:20:55.143Z] 01666e4c0597: Verifying Checksum [2021-01-28T00:20:55.143Z] 01666e4c0597: Download complete [2021-01-28T00:20:55.412Z] df20fa9351a1: Pull complete [2021-01-28T00:20:55.692Z] 8ad3a11d3b57: Verifying Checksum [2021-01-28T00:20:55.692Z] 8ad3a11d3b57: Download complete [2021-01-28T00:20:55.692Z] 36b3adc4ff6f: Pull complete [2021-01-28T00:20:56.700Z] 8ad3a11d3b57: Pull complete [2021-01-28T00:20:56.981Z] 46f8f816bc3b: Pull complete [2021-01-28T00:20:58.434Z] 93b61091891f: Pull complete [2021-01-28T00:20:58.434Z] aa168da1d23b: Verifying Checksum [2021-01-28T00:20:58.434Z] aa168da1d23b: Download complete [2021-01-28T00:20:58.713Z] 93b9cdb0e59b: Pull complete [2021-01-28T00:20:58.713Z] 5e14af77c1be: Pull complete [2021-01-28T00:20:58.981Z] 01666e4c0597: Pull complete [2021-01-28T00:21:07.254Z] aa168da1d23b: Pull complete [2021-01-28T00:21:07.254Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T00:21:07.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T00:21:07.254Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T00:21:07.491Z] prd-centos7-docker-4c-2g-23537 does not seem to be running inside a container [2021-01-28T00:21:07.548Z] $ 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-760/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-760 -v /w/workspace/dgexfoundry_device-sdk-go_PR-760:/w/workspace/dgexfoundry_device-sdk-go_PR-760:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-28T00:21:11.595Z] $ docker top c0a0d442c4774ad968d1ddd21da3fec1b026a5fb9dd575eb3a6d3ef117adbd82 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:21:12.232Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T00:21:12.538Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T00:21:13.059Z] + ls /var/log/sa-host [2021-01-28T00:21:13.059Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T00:21:13.059Z] file_magic: OK [2021-01-28T00:21:13.059Z] HZ: Using current value: 100 [2021-01-28T00:21:13.059Z] file_header: OK [2021-01-28T00:21:13.059Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-28T00:21:13.059Z] Statistics: [2021-01-28T00:21:13.059Z] Hnuu...uuuununununu... [2021-01-28T00:21:13.059Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T00:21:13.059Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T00:21:13.059Z] file_magic: OK [2021-01-28T00:21:13.059Z] HZ: Using current value: 100 [2021-01-28T00:21:13.059Z] file_header: OK [2021-01-28T00:21:13.059Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-28T00:21:13.059Z] Statistics: [2021-01-28T00:21:13.059Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T00:21:13.059Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T00:21:13.287Z] provisioning config files... [2021-01-28T00:21:13.303Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/config2397004205732196208tmp [Pipeline] { [Pipeline] echo [2021-01-28T00:21:13.387Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:21:13.705Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T00:21:13.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T00:21:13.864Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:21:14.288Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T00:21:14.319Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:21:14.645Z] ---> sudo-logs.sh [2021-01-28T00:21:14.645Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T00:21:14.660Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:21:14.973Z] ---> job-cost.sh [2021-01-28T00:21:14.973Z] lf-activate-venv: SKIPPING [2021-01-28T00:21:14.973Z] INFO: No Stack... [2021-01-28T00:21:15.930Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T00:21:16.193Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T00:21:16.208Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:21:16.518Z] ---> logs-deploy.sh [2021-01-28T00:21:16.519Z] lf-activate-venv: SKIPPING [2021-01-28T00:21:16.519Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-760/2 [2021-01-28T00:21:16.519Z] INFO: archiving workspace using pattern(s): [2021-01-28T00:21:18.476Z] Archives upload complete. [2021-01-28T00:21:18.476Z] INFO: archiving logs to Nexus [2021-01-28T00:21:19.432Z] ---> uname -a: [2021-01-28T00:21:19.432Z] Linux prd-centos7-docker-4c-2g-23537.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-01-28T00:21:19.432Z] [2021-01-28T00:21:19.432Z]