Pull request #761 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e+84ea4a05cef1466ee67975698004463005cbf340 (adcac819ad946bae9e30c416676319bed61c6a0a) 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 ‘prd-centos7-docker-4c-2g-23961’ Running on prd-centos7-docker-4c-2g-23963 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-761 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e Merge succeeded, producing 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e Checking out Revision 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e (PR-761) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 6bb31f54c8cf817d8fded8a5e94c7d798f4310be # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-29T13:42:19.184Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-29T13:42:19.432Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-29T13:42:19.525Z] ========================================================= [2021-01-29T13:42:19.525Z] EdgeX Global Pipelines Version Info [2021-01-29T13:42:19.525Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-29T13:42:20.956Z] ------------------- [2021-01-29T13:42:20.956Z] stable info: [2021-01-29T13:42:20.956Z] ------------------- [2021-01-29T13:42:20.956Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-29T13:42:20.956Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-29T13:42:20.956Z] Message: update stable to v1.0.179 [2021-01-29T13:42:21.908Z] ------------------- [2021-01-29T13:42:21.908Z] experimental info: [2021-01-29T13:42:21.908Z] ------------------- [2021-01-29T13:42:21.908Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-29T13:42:21.908Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-29T13:42:21.908Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-29T13:42:22.231Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-29T13:42:22.332Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-29T13:42:22.463Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-29T13:42:22.548Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-29T13:42:22.634Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-29T13:42:22.747Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-29T13:42:22.835Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-29T13:42:22.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-29T13:42:23.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-29T13:42:23.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-29T13:42:23.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-29T13:42:23.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-29T13:42:23.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-29T13:42:23.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-29T13:42:23.631Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-29T13:42:23.719Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T13:42:23.805Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T13:42:23.890Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T13:42:23.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-29T13:42:24.061Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-29T13:42:24.231Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-29T13:42:24.350Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-29T13:42:24.455Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-29T13:42:24.543Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-29T13:42:24.635Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-29T13:42:24.722Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-29T13:42:24.815Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-29T13:42:24.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-761 [Pipeline] echo [2021-01-29T13:42:25.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-761 [Pipeline] echo [2021-01-29T13:42:25.121Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-761 [Pipeline] echo [2021-01-29T13:42:25.208Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [Pipeline] echo [2021-01-29T13:42:25.329Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c093a3 [Pipeline] echo [2021-01-29T13:42:25.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-29T13:42:25.637Z] provisioning config files... [2021-01-29T13:42:25.679Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config3965071209616959028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-29T13:42:26.061Z] ---> docker-login.sh [2021-01-29T13:42:26.061Z] nexus3.edgexfoundry.org:10001 [2021-01-29T13:42:26.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:42:26.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:42:26.594Z] Configure a credential helper to remove this warning. See [2021-01-29T13:42:26.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:42:26.594Z] [2021-01-29T13:42:26.594Z] Login Succeeded [2021-01-29T13:42:26.594Z] nexus3.edgexfoundry.org:10002 [2021-01-29T13:42:26.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:42:26.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:42:26.859Z] Configure a credential helper to remove this warning. See [2021-01-29T13:42:26.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:42:26.859Z] [2021-01-29T13:42:26.859Z] Login Succeeded [2021-01-29T13:42:26.859Z] nexus3.edgexfoundry.org:10003 [2021-01-29T13:42:26.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:42:26.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:42:26.859Z] Configure a credential helper to remove this warning. See [2021-01-29T13:42:26.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:42:26.859Z] [2021-01-29T13:42:26.859Z] Login Succeeded [2021-01-29T13:42:26.859Z] nexus3.edgexfoundry.org:10004 [2021-01-29T13:42:27.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:42:27.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:42:27.123Z] Configure a credential helper to remove this warning. See [2021-01-29T13:42:27.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:42:27.123Z] [2021-01-29T13:42:27.123Z] Login Succeeded [2021-01-29T13:42:27.123Z] docker.io [2021-01-29T13:42:27.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:42:27.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:42:27.389Z] Configure a credential helper to remove this warning. See [2021-01-29T13:42:27.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:42:27.389Z] [2021-01-29T13:42:27.389Z] Login Succeeded [2021-01-29T13:42:27.389Z] ---> docker-login.sh ends [Pipeline] } [2021-01-29T13:42:27.400Z] 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-29T13:42:28.241Z] + git log --format=format:%s -1 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [Pipeline] echo [2021-01-29T13:42:28.323Z] GIT_COMMIT: 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-01-29T13:42:28.374Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:42:28.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T13:42:28.983Z] [2021-01-29T13:42:28.983Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:42:29.336Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T13:42:29.337Z] latest: Pulling from edgex-devops/git-semver [2021-01-29T13:42:29.337Z] 31603596830f: Pulling fs layer [2021-01-29T13:42:29.337Z] 2a8b12db71e7: Pulling fs layer [2021-01-29T13:42:29.337Z] 6ca5941a6612: Pulling fs layer [2021-01-29T13:42:29.337Z] ecc8261a40a4: Pulling fs layer [2021-01-29T13:42:29.337Z] ecc8261a40a4: Waiting [2021-01-29T13:42:29.337Z] 2a8b12db71e7: Verifying Checksum [2021-01-29T13:42:29.337Z] 2a8b12db71e7: Download complete [2021-01-29T13:42:29.601Z] 31603596830f: Verifying Checksum [2021-01-29T13:42:29.601Z] 31603596830f: Download complete [2021-01-29T13:42:29.601Z] ecc8261a40a4: Verifying Checksum [2021-01-29T13:42:29.601Z] ecc8261a40a4: Download complete [2021-01-29T13:42:29.601Z] 6ca5941a6612: Verifying Checksum [2021-01-29T13:42:29.601Z] 6ca5941a6612: Download complete [2021-01-29T13:42:29.869Z] 31603596830f: Pull complete [2021-01-29T13:42:30.137Z] 2a8b12db71e7: Pull complete [2021-01-29T13:42:31.092Z] 6ca5941a6612: Pull complete [2021-01-29T13:42:31.359Z] ecc8261a40a4: Pull complete [2021-01-29T13:42:31.359Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-29T13:42:31.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T13:42:31.359Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-29T13:42:31.492Z] prd-centos7-docker-4c-2g-23963 does not seem to be running inside a container [2021-01-29T13:42:31.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-761 -v /w/workspace/dgexfoundry_device-sdk-go_PR-761:/w/workspace/dgexfoundry_device-sdk-go_PR-761:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-29T13:42:34.020Z] $ docker top 3b36d8480716753bcaacb0c1f1c3e212bd9c4e3c4d48aac36d1cf05bd0951bb9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-29T13:42:34.356Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-29T13:42:34.356Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-29T13:42:34.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-29T13:42:34.663Z] $ docker exec 3b36d8480716753bcaacb0c1f1c3e212bd9c4e3c4d48aac36d1cf05bd0951bb9 ssh-agent [2021-01-29T13:42:34.895Z] SSH_AUTH_SOCK=/tmp/ssh-OuWNcPnEWV9v/agent.12 [2021-01-29T13:42:34.895Z] SSH_AGENT_PID=17 [2021-01-29T13:42:34.908Z] Running ssh-add (command line suppressed) [2021-01-29T13:42:35.050Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_6820174379582227324.key (/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_6820174379582227324.key) [2021-01-29T13:42:35.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-29T13:42:35.477Z] + git tag --points-at HEAD [Pipeline] } [2021-01-29T13:42:35.509Z] $ docker exec --env ******** --env ******** 3b36d8480716753bcaacb0c1f1c3e212bd9c4e3c4d48aac36d1cf05bd0951bb9 ssh-agent -k [2021-01-29T13:42:35.645Z] unset SSH_AUTH_SOCK; [2021-01-29T13:42:35.645Z] unset SSH_AGENT_PID; [2021-01-29T13:42:35.645Z] echo Agent pid 17 killed; [2021-01-29T13:42:35.700Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-29T13:42:35.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-29T13:42:35.837Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-29T13:42:36.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-29T13:42:36.044Z] $ docker exec 3b36d8480716753bcaacb0c1f1c3e212bd9c4e3c4d48aac36d1cf05bd0951bb9 ssh-agent [2021-01-29T13:42:36.226Z] SSH_AUTH_SOCK=/tmp/ssh-lLU5NvVgka2l/agent.46 [2021-01-29T13:42:36.226Z] SSH_AGENT_PID=51 [2021-01-29T13:42:36.235Z] Running ssh-add (command line suppressed) [2021-01-29T13:42:36.377Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_8110333038650181319.key (/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_8110333038650181319.key) [2021-01-29T13:42:36.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-29T13:42:36.795Z] + git semver init [2021-01-29T13:42:36.795Z] # -> Open(): unable to determine branch for HEAD [2021-01-29T13:42:36.795Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-761/.git [2021-01-29T13:42:36.795Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-761 [2021-01-29T13:42:36.795Z] # $SEMVER_REMOTE_NAME = origin [2021-01-29T13:42:36.795Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-29T13:42:36.795Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-29T13:42:36.795Z] # $SEMVER_BRANCH = PR-761 [2021-01-29T13:42:36.795Z] # $SEMVER_TEMP = /tmp/semver-791739093 [2021-01-29T13:42:36.795Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-29T13:42:37.753Z] # '/tmp/semver-791739093' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-761/.semver' [2021-01-29T13:42:37.753Z] # -> Force: false [2021-01-29T13:42:37.753Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-761/.semver [Pipeline] } [2021-01-29T13:42:37.771Z] $ docker exec --env ******** --env ******** 3b36d8480716753bcaacb0c1f1c3e212bd9c4e3c4d48aac36d1cf05bd0951bb9 ssh-agent -k [2021-01-29T13:42:37.907Z] unset SSH_AUTH_SOCK; [2021-01-29T13:42:37.908Z] unset SSH_AGENT_PID; [2021-01-29T13:42:37.909Z] echo Agent pid 51 killed; [2021-01-29T13:42:37.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-29T13:42:38.602Z] + git semver [Pipeline] } [2021-01-29T13:42:38.639Z] $ docker stop --time=1 3b36d8480716753bcaacb0c1f1c3e212bd9c4e3c4d48aac36d1cf05bd0951bb9 [2021-01-29T13:42:40.051Z] $ docker rm -f 3b36d8480716753bcaacb0c1f1c3e212bd9c4e3c4d48aac36d1cf05bd0951bb9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-29T13:42:40.658Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-29T13:42:41.115Z] Stashed 1 file(s) [Pipeline] echo [2021-01-29T13:42:41.118Z] [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-29T13:42:56.640Z] Still waiting to schedule task [2021-01-29T13:42:56.640Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-29T13:42:56.643Z] Still waiting to schedule task [2021-01-29T13:42:56.643Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-23964’ is offline [2021-01-29T13:44:23.319Z] Running on prd-centos7-docker-4c-2g-23967 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [Pipeline] { [Pipeline] ws [2021-01-29T13:44:23.378Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-29T13:44:30.097Z] using credential edgex-jenkins-ssh [2021-01-29T13:44:30.151Z] Cloning the remote Git repository [2021-01-29T13:44:30.360Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-29T13:44:30.488Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-29T13:44:30.616Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-29T13:44:30.617Z] > git --version # timeout=10 [2021-01-29T13:44:30.684Z] > git --version # 'git version 2.24.3' [2021-01-29T13:44:30.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T13:44:30.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T13:44:32.128Z] Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [2021-01-29T13:44:32.333Z] Merge succeeded, producing 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [2021-01-29T13:44:32.334Z] Checking out Revision 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e (PR-761) [2021-01-29T13:44:31.669Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-29T13:44:31.682Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T13:44:31.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-29T13:44:31.724Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-29T13:44:31.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T13:44:31.749Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-29T13:44:32.140Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T13:44:32.167Z] > git checkout -f 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 [2021-01-29T13:44:32.243Z] > git remote # timeout=10 [2021-01-29T13:44:32.269Z] > git config --get remote.origin.url # timeout=10 [2021-01-29T13:44:32.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T13:44:32.287Z] > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 [2021-01-29T13:44:32.322Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-29T13:44:32.338Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T13:44:32.358Z] > git checkout -f 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 [2021-01-29T13:44:36.513Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-29T13:44:38.010Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-29T13:44:38.472Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-29T13:44:38.818Z] + sudo service docker restart [2021-01-29T13:44:38.818Z] + true [2021-01-29T13:44:38.818Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-29T13:44:40.393Z] provisioning config files... [2021-01-29T13:44:40.426Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3627049501475505736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-29T13:44:40.850Z] ---> docker-login.sh [2021-01-29T13:44:40.850Z] nexus3.edgexfoundry.org:10001 [2021-01-29T13:44:41.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:44:41.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:44:41.471Z] Configure a credential helper to remove this warning. See [2021-01-29T13:44:41.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:44:41.471Z] [2021-01-29T13:44:41.471Z] Login Succeeded [2021-01-29T13:44:41.471Z] nexus3.edgexfoundry.org:10002 [2021-01-29T13:44:41.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:44:41.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:44:41.736Z] Configure a credential helper to remove this warning. See [2021-01-29T13:44:41.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:44:41.736Z] [2021-01-29T13:44:41.736Z] Login Succeeded [2021-01-29T13:44:41.736Z] nexus3.edgexfoundry.org:10003 [2021-01-29T13:44:42.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:44:42.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:44:42.015Z] Configure a credential helper to remove this warning. See [2021-01-29T13:44:42.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:44:42.015Z] [2021-01-29T13:44:42.015Z] Login Succeeded [2021-01-29T13:44:42.015Z] nexus3.edgexfoundry.org:10004 [2021-01-29T13:44:42.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:44:42.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:44:42.283Z] Configure a credential helper to remove this warning. See [2021-01-29T13:44:42.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:44:42.283Z] [2021-01-29T13:44:42.283Z] Login Succeeded [2021-01-29T13:44:42.283Z] docker.io [2021-01-29T13:44:42.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:44:42.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:44:42.843Z] Configure a credential helper to remove this warning. See [2021-01-29T13:44:42.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:44:42.843Z] [2021-01-29T13:44:42.843Z] Login Succeeded [2021-01-29T13:44:42.843Z] ---> docker-login.sh ends [Pipeline] } [2021-01-29T13:44:42.860Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-29T13:44:43.256Z] ========================================================= [2021-01-29T13:44:43.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-29T13:44:43.256Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:44:43.693Z] + 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-29T13:44:44.344Z] Sending build context to Docker daemon 2.475MB [2021-01-29T13:44:44.344Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-29T13:44:44.344Z] Step 2/8 : FROM ${BASE} [2021-01-29T13:44:44.344Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-29T13:44:44.344Z] 188c0c94c7c5: Pulling fs layer [2021-01-29T13:44:44.344Z] 0ef7d3d256c8: Pulling fs layer [2021-01-29T13:44:44.344Z] de9db76c5a1d: Pulling fs layer [2021-01-29T13:44:44.344Z] bca2f99d35d6: Pulling fs layer [2021-01-29T13:44:44.344Z] 93359f2a8cfa: Pulling fs layer [2021-01-29T13:44:44.344Z] 7c6f9722023f: Pulling fs layer [2021-01-29T13:44:44.344Z] a35cf1a2eb13: Pulling fs layer [2021-01-29T13:44:44.344Z] 93359f2a8cfa: Waiting [2021-01-29T13:44:44.344Z] 7c6f9722023f: Waiting [2021-01-29T13:44:44.344Z] bca2f99d35d6: Waiting [2021-01-29T13:44:44.344Z] a35cf1a2eb13: Waiting [2021-01-29T13:44:44.344Z] de9db76c5a1d: Verifying Checksum [2021-01-29T13:44:44.344Z] de9db76c5a1d: Download complete [2021-01-29T13:44:44.344Z] 0ef7d3d256c8: Verifying Checksum [2021-01-29T13:44:44.344Z] 0ef7d3d256c8: Download complete [2021-01-29T13:44:44.935Z] 93359f2a8cfa: Verifying Checksum [2021-01-29T13:44:44.935Z] 93359f2a8cfa: Download complete [2021-01-29T13:44:44.935Z] 7c6f9722023f: Verifying Checksum [2021-01-29T13:44:44.935Z] 7c6f9722023f: Download complete [2021-01-29T13:44:45.527Z] 188c0c94c7c5: Verifying Checksum [2021-01-29T13:44:45.527Z] 188c0c94c7c5: Download complete [2021-01-29T13:44:46.122Z] 188c0c94c7c5: Pull complete [2021-01-29T13:44:46.389Z] 0ef7d3d256c8: Pull complete [2021-01-29T13:44:46.389Z] de9db76c5a1d: Pull complete [2021-01-29T13:44:48.386Z] a35cf1a2eb13: Verifying Checksum [2021-01-29T13:44:48.386Z] a35cf1a2eb13: Download complete [2021-01-29T13:44:49.389Z] bca2f99d35d6: Verifying Checksum [2021-01-29T13:44:49.389Z] bca2f99d35d6: Download complete [2021-01-29T13:45:01.896Z] bca2f99d35d6: Pull complete [2021-01-29T13:45:01.896Z] 93359f2a8cfa: Pull complete [2021-01-29T13:45:01.896Z] 7c6f9722023f: Pull complete [2021-01-29T13:45:08.738Z] a35cf1a2eb13: Pull complete [2021-01-29T13:45:08.738Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-29T13:45:08.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-29T13:45:08.738Z] ---> a62c8e92a672 [2021-01-29T13:45:08.738Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-29T13:45:08.738Z] ---> Running in 386c5e64561a [2021-01-29T13:45:08.738Z] Removing intermediate container 386c5e64561a [2021-01-29T13:45:08.738Z] ---> bd593ed6ddbb [2021-01-29T13:45:08.738Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-29T13:45:08.738Z] ---> Running in e9646d02eba2 [2021-01-29T13:45:10.241Z] Removing intermediate container e9646d02eba2 [2021-01-29T13:45:10.241Z] ---> f46303eccaf8 [2021-01-29T13:45:10.241Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-29T13:45:10.241Z] ---> Running in ac07f2b81806 [2021-01-29T13:45:11.671Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-29T13:45:11.957Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-29T13:45:12.554Z] OK: 166 MiB in 39 packages [2021-01-29T13:45:13.539Z] Removing intermediate container ac07f2b81806 [2021-01-29T13:45:13.539Z] ---> 2a355eb9c402 [2021-01-29T13:45:13.539Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-29T13:45:13.539Z] ---> Running in 7aaad26257ec [2021-01-29T13:45:13.539Z] Removing intermediate container 7aaad26257ec [2021-01-29T13:45:13.539Z] ---> 18fec5d5c8b6 [2021-01-29T13:45:13.539Z] Step 7/8 : COPY . . [2021-01-29T13:45:15.515Z] ---> a470f4af9bcc [2021-01-29T13:45:15.515Z] Step 8/8 : RUN go mod download [2021-01-29T13:45:15.515Z] ---> Running in bc636e9cf4e3 [2021-01-29T13:45:20.350Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23969 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [Pipeline] { [Pipeline] ws [2021-01-29T13:45:20.467Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-29T13:45:26.081Z] using credential edgex-jenkins-ssh [2021-01-29T13:45:26.172Z] Cloning the remote Git repository [2021-01-29T13:45:26.237Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-29T13:45:26.351Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-29T13:45:26.443Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-29T13:45:26.444Z] > git --version # timeout=10 [2021-01-29T13:45:26.467Z] > git --version # 'git version 2.17.1' [2021-01-29T13:45:26.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T13:45:26.524Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T13:45:27.649Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-29T13:45:27.678Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T13:45:27.715Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-29T13:45:27.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-29T13:45:27.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T13:45:27.768Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-29T13:45:28.263Z] Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [2021-01-29T13:45:28.610Z] Merge succeeded, producing 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [2021-01-29T13:45:28.610Z] Checking out Revision 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e (PR-761) [2021-01-29T13:45:28.281Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T13:45:28.295Z] > git checkout -f 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 [2021-01-29T13:45:28.426Z] > git remote # timeout=10 [2021-01-29T13:45:28.443Z] > git config --get remote.origin.url # timeout=10 [2021-01-29T13:45:28.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T13:45:28.518Z] > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 [2021-01-29T13:45:28.561Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-29T13:45:28.614Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T13:45:28.656Z] > git checkout -f 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 [2021-01-29T13:45:33.072Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-29T13:45:34.531Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-29T13:45:34.983Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-29T13:45:35.326Z] + true [2021-01-29T13:45:35.326Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-29T13:45:38.020Z] provisioning config files... [2021-01-29T13:45:38.057Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3440415858333595028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-29T13:45:38.472Z] ---> docker-login.sh [2021-01-29T13:45:38.472Z] nexus3.edgexfoundry.org:10001 [2021-01-29T13:45:39.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:45:39.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:45:39.731Z] Configure a credential helper to remove this warning. See [2021-01-29T13:45:39.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:45:39.731Z] [2021-01-29T13:45:39.731Z] Login Succeeded [2021-01-29T13:45:39.731Z] nexus3.edgexfoundry.org:10002 [2021-01-29T13:45:40.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:45:40.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:45:40.278Z] Configure a credential helper to remove this warning. See [2021-01-29T13:45:40.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:45:40.278Z] [2021-01-29T13:45:40.278Z] Login Succeeded [2021-01-29T13:45:40.278Z] nexus3.edgexfoundry.org:10003 [2021-01-29T13:45:40.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:45:40.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:45:40.555Z] Configure a credential helper to remove this warning. See [2021-01-29T13:45:40.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:45:40.555Z] [2021-01-29T13:45:40.555Z] Login Succeeded [2021-01-29T13:45:40.555Z] nexus3.edgexfoundry.org:10004 [2021-01-29T13:45:41.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:45:41.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:45:41.154Z] Configure a credential helper to remove this warning. See [2021-01-29T13:45:41.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:45:41.154Z] [2021-01-29T13:45:41.154Z] Login Succeeded [2021-01-29T13:45:41.154Z] docker.io [2021-01-29T13:45:41.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-29T13:45:42.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-29T13:45:42.025Z] Configure a credential helper to remove this warning. See [2021-01-29T13:45:42.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-29T13:45:42.025Z] [2021-01-29T13:45:42.025Z] Login Succeeded [2021-01-29T13:45:42.025Z] ---> docker-login.sh ends [Pipeline] } [2021-01-29T13:45:42.060Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-29T13:45:42.339Z] Removing intermediate container bc636e9cf4e3 [2021-01-29T13:45:42.339Z] ---> 98ff1ff20d62 [2021-01-29T13:45:42.339Z] Successfully built 98ff1ff20d62 [2021-01-29T13:45:42.339Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-01-29T13:45:42.492Z] ========================================================= [2021-01-29T13:45:42.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-29T13:45:42.492Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:45:42.710Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-29T13:45:42.878Z] + 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-29T13:45:43.001Z] . [Pipeline] withDockerContainer [2021-01-29T13:45:43.472Z] prd-centos7-docker-4c-2g-23967 does not seem to be running inside a container [2021-01-29T13:45:43.478Z] Sending build context to Docker daemon 2.472MB [2021-01-29T13:45:43.478Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-29T13:45:43.478Z] Step 2/8 : FROM ${BASE} [2021-01-29T13:45:43.478Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-29T13:45:43.478Z] 5f621e34cdf4: Pulling fs layer [2021-01-29T13:45:43.478Z] a4357932f1b6: Pulling fs layer [2021-01-29T13:45:43.478Z] 18c013af1878: Pulling fs layer [2021-01-29T13:45:43.478Z] 00ac8860ef70: Pulling fs layer [2021-01-29T13:45:43.478Z] 63d7cb157983: Pulling fs layer [2021-01-29T13:45:43.478Z] b116817d02f9: Pulling fs layer [2021-01-29T13:45:43.478Z] 745a02a5169b: Pulling fs layer [2021-01-29T13:45:43.478Z] 63d7cb157983: Waiting [2021-01-29T13:45:43.478Z] b116817d02f9: Waiting [2021-01-29T13:45:43.478Z] 745a02a5169b: Waiting [2021-01-29T13:45:43.478Z] 00ac8860ef70: Waiting [2021-01-29T13:45:43.478Z] 18c013af1878: Download complete [2021-01-29T13:45:43.478Z] a4357932f1b6: Verifying Checksum [2021-01-29T13:45:43.478Z] a4357932f1b6: Download complete [2021-01-29T13:45:43.478Z] 63d7cb157983: Verifying Checksum [2021-01-29T13:45:43.478Z] 63d7cb157983: Download complete [2021-01-29T13:45:43.763Z] b116817d02f9: Verifying Checksum [2021-01-29T13:45:43.763Z] b116817d02f9: Download complete [2021-01-29T13:45:43.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-29T13:45:44.047Z] 5f621e34cdf4: Verifying Checksum [2021-01-29T13:45:44.047Z] 5f621e34cdf4: Download complete [2021-01-29T13:45:45.044Z] 5f621e34cdf4: Pull complete [2021-01-29T13:45:45.334Z] a4357932f1b6: Pull complete [2021-01-29T13:45:45.611Z] 18c013af1878: Pull complete [2021-01-29T13:45:45.762Z] $ docker top 8e572d32d5f9050801fff34cbaa09d0c1f0426260d601e948aab7c5edc133665 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T13:45:46.217Z] 745a02a5169b: Verifying Checksum [2021-01-29T13:45:46.217Z] 745a02a5169b: Download complete [2021-01-29T13:45:46.395Z] + go version [2021-01-29T13:45:46.395Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-29T13:45:46.413Z] $ docker stop --time=1 8e572d32d5f9050801fff34cbaa09d0c1f0426260d601e948aab7c5edc133665 [2021-01-29T13:45:47.194Z] 00ac8860ef70: Download complete [2021-01-29T13:45:48.124Z] $ docker rm -f 8e572d32d5f9050801fff34cbaa09d0c1f0426260d601e948aab7c5edc133665 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:45:49.111Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-29T13:45:49.111Z] . [Pipeline] withDockerContainer [2021-01-29T13:45:49.356Z] prd-centos7-docker-4c-2g-23967 does not seem to be running inside a container [2021-01-29T13:45:49.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-29T13:45:50.530Z] $ docker top acd1f7d062721cdf8676332af246cc213ded0c10d777e1de228432adaf7596d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T13:45:51.138Z] + make test [2021-01-29T13:45:51.138Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-29T13:45:57.361Z] 00ac8860ef70: Pull complete [2021-01-29T13:45:57.959Z] 63d7cb157983: Pull complete [2021-01-29T13:45:58.559Z] b116817d02f9: Pull complete [2021-01-29T13:46:02.883Z] 745a02a5169b: Pull complete [2021-01-29T13:46:02.883Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-29T13:46:02.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-29T13:46:02.883Z] ---> b7e6874047d6 [2021-01-29T13:46:02.883Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-29T13:46:03.629Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-29T13:46:05.529Z] ---> Running in a37deb0951fb [2021-01-29T13:46:05.529Z] Removing intermediate container a37deb0951fb [2021-01-29T13:46:05.529Z] ---> caf836547cce [2021-01-29T13:46:05.529Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-29T13:46:05.803Z] ---> Running in 9cdd23c2e33c [2021-01-29T13:46:08.444Z] Removing intermediate container 9cdd23c2e33c [2021-01-29T13:46:08.444Z] ---> 00283d421ee2 [2021-01-29T13:46:08.444Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-29T13:46:08.444Z] ---> Running in b463fead3467 [2021-01-29T13:46:09.423Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-29T13:46:10.016Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-29T13:46:10.609Z] OK: 142 MiB in 39 packages [2021-01-29T13:46:11.585Z] Removing intermediate container b463fead3467 [2021-01-29T13:46:11.585Z] ---> 609f1019253e [2021-01-29T13:46:11.585Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-29T13:46:11.858Z] ---> Running in 8cf52f5b9533 [2021-01-29T13:46:12.452Z] Removing intermediate container 8cf52f5b9533 [2021-01-29T13:46:12.452Z] ---> 38002fd62a07 [2021-01-29T13:46:12.452Z] Step 7/8 : COPY . . [2021-01-29T13:46:13.428Z] ---> b95ea54cee2a [2021-01-29T13:46:13.428Z] Step 8/8 : RUN go mod download [2021-01-29T13:46:13.713Z] ---> Running in 546a5be1b4c0 [2021-01-29T13:46:30.880Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-29T13:46:30.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-29T13:46:30.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-29T13:46:30.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.086s coverage: 19.4% of statements [2021-01-29T13:46:34.512Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.783s coverage: 97.1% of statements [2021-01-29T13:46:35.883Z] Removing intermediate container 546a5be1b4c0 [2021-01-29T13:46:35.883Z] ---> 5f829f9cd917 [2021-01-29T13:46:35.883Z] Successfully built 5f829f9cd917 [2021-01-29T13:46:35.883Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:46:36.225Z] + docker inspect -f . ci-base-image-arm64 [2021-01-29T13:46:36.225Z] . [Pipeline] withDockerContainer [2021-01-29T13:46:36.471Z] prd-ubuntu18.04-docker-arm64-4c-16g-23969 does not seem to be running inside a container [2021-01-29T13:46:36.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-29T13:46:38.135Z] $ docker top a728405adb0a4fe43ac56eaf7639c40f676458a270050c106bbf46b353e894c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T13:46:39.132Z] + go version [2021-01-29T13:46:39.132Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-29T13:46:39.155Z] $ docker stop --time=1 a728405adb0a4fe43ac56eaf7639c40f676458a270050c106bbf46b353e894c0 [2021-01-29T13:46:41.150Z] $ docker rm -f a728405adb0a4fe43ac56eaf7639c40f676458a270050c106bbf46b353e894c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:46:42.250Z] + docker inspect -f . ci-base-image-arm64 [2021-01-29T13:46:42.250Z] . [Pipeline] withDockerContainer [2021-01-29T13:46:42.486Z] prd-ubuntu18.04-docker-arm64-4c-16g-23969 does not seem to be running inside a container [2021-01-29T13:46:42.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-29T13:46:44.058Z] $ docker top ca9603d8701b6fec6c76c6a9301110e101fc9ebfbfa807c04f4c9bc69b7176cd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T13:46:45.090Z] + make test [2021-01-29T13:46:45.090Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-29T13:47:07.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.124s coverage: 9.4% of statements [2021-01-29T13:47:07.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.150s coverage: 21.7% of statements [2021-01-29T13:47:07.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-29T13:47:07.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.441s coverage: 43.6% of statements [2021-01-29T13:47:07.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-29T13:47:07.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.535s coverage: 68.9% of statements [2021-01-29T13:47:07.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-29T13:47:07.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-29T13:47:07.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-29T13:47:07.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-29T13:47:07.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.108s coverage: 53.8% of statements [2021-01-29T13:47:07.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-29T13:47:07.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-29T13:47:07.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.205s coverage: 25.2% of statements [2021-01-29T13:47:07.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.375s coverage: 83.5% of statements [2021-01-29T13:47:07.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 4.2% of statements [2021-01-29T13:47:07.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-29T13:47:07.146Z] GO111MODULE=on go vet ./... [2021-01-29T13:47:07.304Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-29T13:47:26.026Z] gofmt -l . [2021-01-29T13:47:26.026Z] [ "`gofmt -l .`" = "" ] [2021-01-29T13:47:26.026Z] ./bin/test-attribution-txt.sh [2021-01-29T13:47:26.026Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-29T13:47:26.074Z] $ docker stop --time=1 acd1f7d062721cdf8676332af246cc213ded0c10d777e1de228432adaf7596d9 [2021-01-29T13:47:28.283Z] $ docker rm -f acd1f7d062721cdf8676332af246cc213ded0c10d777e1de228432adaf7596d9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-29T13:47:29.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-29T13:47:30.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-29T13:47:31.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-29T13:47:32.045Z] + ls -al . [2021-01-29T13:47:32.045Z] total 216 [2021-01-29T13:47:32.045Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 29 13:47 . [2021-01-29T13:47:32.045Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 29 13:44 .. [2021-01-29T13:47:32.045Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 29 13:44 bin [2021-01-29T13:47:32.045Z] -rw-r--r--. 1 jenkins jenkins 137333 Jan 29 13:47 coverage.out [2021-01-29T13:47:32.045Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 29 13:44 Dockerfile.build [2021-01-29T13:47:32.045Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 29 13:44 .dockerignore [2021-01-29T13:47:32.045Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 29 13:44 example [2021-01-29T13:47:32.045Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 29 13:44 .git [2021-01-29T13:47:32.045Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 29 13:44 .github [2021-01-29T13:47:32.045Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 29 13:44 .gitignore [2021-01-29T13:47:32.045Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 29 13:47 go.mod [2021-01-29T13:47:32.045Z] -rw-r--r--. 1 jenkins jenkins 14308 Jan 29 13:47 go.sum [2021-01-29T13:47:32.045Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 29 13:44 internal [2021-01-29T13:47:32.045Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 29 13:44 Jenkinsfile [2021-01-29T13:47:32.045Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 29 13:44 LICENSE [2021-01-29T13:47:32.045Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 29 13:44 Makefile [2021-01-29T13:47:32.045Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 29 13:44 openapi [2021-01-29T13:47:32.045Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 29 13:44 pkg [2021-01-29T13:47:32.045Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 29 13:44 README.md [2021-01-29T13:47:32.045Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 29 13:44 RELEASE-NOTES.txt [2021-01-29T13:47:32.045Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 29 13:44 snap [2021-01-29T13:47:32.045Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 29 13:42 VERSION [2021-01-29T13:47:32.045Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 29 13:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:47:32.404Z] + 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=9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e --label arch=amd64 --label version=0.0.0 . [2021-01-29T13:47:32.996Z] Sending build context to Docker daemon 2.613MB [2021-01-29T13:47:32.996Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-29T13:47:32.996Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-29T13:47:32.996Z] ---> 98ff1ff20d62 [2021-01-29T13:47:32.996Z] Step 3/24 : ARG MAKE='make build' [2021-01-29T13:47:33.277Z] ---> Running in 6788d92721a3 [2021-01-29T13:47:33.561Z] Removing intermediate container 6788d92721a3 [2021-01-29T13:47:33.561Z] ---> 650e4f97100a [2021-01-29T13:47:33.561Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-29T13:47:33.561Z] ---> Running in d6aaaef5c05a [2021-01-29T13:47:33.842Z] Removing intermediate container d6aaaef5c05a [2021-01-29T13:47:33.842Z] ---> bc8c90d66b49 [2021-01-29T13:47:33.842Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-29T13:47:33.842Z] ---> Running in 56a58a378ac7 [2021-01-29T13:47:34.117Z] Removing intermediate container 56a58a378ac7 [2021-01-29T13:47:34.117Z] ---> 5baee3cf388e [2021-01-29T13:47:34.117Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-29T13:47:34.388Z] ---> Running in a234dafdc845 [2021-01-29T13:47:36.063Z] Removing intermediate container a234dafdc845 [2021-01-29T13:47:36.063Z] ---> f7ee0879850a [2021-01-29T13:47:36.063Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-29T13:47:36.449Z] ---> Running in a9acb8a02394 [2021-01-29T13:47:37.059Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-29T13:47:38.043Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-29T13:47:38.664Z] OK: 166 MiB in 39 packages [2021-01-29T13:47:39.283Z] Removing intermediate container a9acb8a02394 [2021-01-29T13:47:39.283Z] ---> d2186d48da1c [2021-01-29T13:47:39.283Z] Step 8/24 : COPY . . [2021-01-29T13:47:40.268Z] ---> 61ef3cbf5810 [2021-01-29T13:47:40.268Z] Step 9/24 : RUN ${MAKE} [2021-01-29T13:47:40.542Z] ---> Running in 461e3013108b [2021-01-29T13:47:41.126Z] 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-29T13:47:46.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-29T13:47:46.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-29T13:47:46.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-29T13:47:46.372Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.117s coverage: 19.4% of statements [2021-01-29T13:47:54.663Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.265s coverage: 97.1% of statements [2021-01-29T13:47:56.504Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-29T13:47:57.932Z] Removing intermediate container 461e3013108b [2021-01-29T13:47:57.932Z] ---> b9e7b7d5f5cf [2021-01-29T13:47:57.932Z] Step 10/24 : FROM scratch [2021-01-29T13:47:57.932Z] ---> [2021-01-29T13:47:57.932Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-29T13:47:57.932Z] ---> Running in 48e3d2aaf00e [2021-01-29T13:47:58.227Z] Removing intermediate container 48e3d2aaf00e [2021-01-29T13:47:58.227Z] ---> 63156e3ae7b5 [2021-01-29T13:47:58.227Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-29T13:47:58.227Z] ---> Running in a57dc7cd6847 [2021-01-29T13:47:58.496Z] Removing intermediate container a57dc7cd6847 [2021-01-29T13:47:58.496Z] ---> d53de9d96d72 [2021-01-29T13:47:58.496Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-29T13:47:58.496Z] ---> Running in 90ad649690ba [2021-01-29T13:47:59.463Z] Removing intermediate container 90ad649690ba [2021-01-29T13:47:59.464Z] ---> 4d24e5a0fac1 [2021-01-29T13:47:59.464Z] Step 14/24 : WORKDIR / [2021-01-29T13:47:59.464Z] ---> Running in aa5b18560246 [2021-01-29T13:47:59.726Z] Removing intermediate container aa5b18560246 [2021-01-29T13:47:59.726Z] ---> f5008d786465 [2021-01-29T13:47:59.726Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-29T13:48:00.306Z] ---> 75efb8ef669b [2021-01-29T13:48:00.306Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-29T13:48:00.576Z] ---> 973bff7f40a9 [2021-01-29T13:48:00.576Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-29T13:48:00.870Z] ---> 7baf36b260d3 [2021-01-29T13:48:00.870Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-29T13:48:01.464Z] ---> 842e61ecdacc [2021-01-29T13:48:01.464Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-29T13:48:01.735Z] ---> f5dd26d9c0cc [2021-01-29T13:48:01.735Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-29T13:48:01.735Z] ---> Running in b383b001a13d [2021-01-29T13:48:02.055Z] Removing intermediate container b383b001a13d [2021-01-29T13:48:02.055Z] ---> 2c29fdf4b615 [2021-01-29T13:48:02.055Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-29T13:48:02.055Z] ---> Running in 8d286de68f24 [2021-01-29T13:48:02.332Z] Removing intermediate container 8d286de68f24 [2021-01-29T13:48:02.332Z] ---> 352e67037441 [2021-01-29T13:48:02.332Z] Step 22/24 : LABEL arch=amd64 [2021-01-29T13:48:02.332Z] ---> Running in 79707d1a8011 [2021-01-29T13:48:02.629Z] Removing intermediate container 79707d1a8011 [2021-01-29T13:48:02.629Z] ---> fbae00c87263 [2021-01-29T13:48:02.629Z] Step 23/24 : LABEL git_sha=9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [2021-01-29T13:48:02.629Z] ---> Running in e903da115554 [2021-01-29T13:48:02.894Z] Removing intermediate container e903da115554 [2021-01-29T13:48:02.894Z] ---> bac645ac0722 [2021-01-29T13:48:02.894Z] Step 24/24 : LABEL version=0.0.0 [2021-01-29T13:48:03.172Z] ---> Running in b70121f6bd8c [2021-01-29T13:48:03.440Z] Removing intermediate container b70121f6bd8c [2021-01-29T13:48:03.440Z] ---> afaa586120df [2021-01-29T13:48:03.440Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-29T13:48:03.440Z] Successfully built afaa586120df [2021-01-29T13:48:03.440Z] 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-29T13:48:16.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.129s coverage: 9.4% of statements [2021-01-29T13:48:16.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 21.7% of statements [2021-01-29T13:48:16.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-29T13:48:16.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.561s coverage: 43.6% of statements [2021-01-29T13:48:16.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-29T13:48:16.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.692s coverage: 68.9% of statements [2021-01-29T13:48:16.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-29T13:48:16.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-29T13:48:16.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-29T13:48:16.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-29T13:48:16.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.171s coverage: 53.8% of statements [2021-01-29T13:48:16.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-29T13:48:16.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-29T13:48:16.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.164s coverage: 25.2% of statements [2021-01-29T13:48:16.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.100s coverage: 83.5% of statements [2021-01-29T13:48:16.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 4.2% of statements [2021-01-29T13:48:16.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-29T13:48:17.419Z] GO111MODULE=on go vet ./... [2021-01-29T13:48:56.646Z] gofmt -l . [2021-01-29T13:48:56.646Z] [ "`gofmt -l .`" = "" ] [2021-01-29T13:48:56.646Z] ./bin/test-attribution-txt.sh [2021-01-29T13:48:56.646Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-29T13:48:56.667Z] $ docker stop --time=1 ca9603d8701b6fec6c76c6a9301110e101fc9ebfbfa807c04f4c9bc69b7176cd [2021-01-29T13:48:58.950Z] $ docker rm -f ca9603d8701b6fec6c76c6a9301110e101fc9ebfbfa807c04f4c9bc69b7176cd [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-29T13:49:00.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-29T13:49:00.108Z] Warning: overwriting stash ‘coverage-report’ [2021-01-29T13:49:00.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-29T13:49:01.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-29T13:49:01.991Z] + ls -al . [2021-01-29T13:49:01.991Z] total 252 [2021-01-29T13:49:01.991Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 29 13:48 . [2021-01-29T13:49:01.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 13:45 .. [2021-01-29T13:49:01.991Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 29 13:45 .dockerignore [2021-01-29T13:49:01.991Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 29 13:45 .git [2021-01-29T13:49:01.991Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 13:45 .github [2021-01-29T13:49:01.991Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 29 13:45 .gitignore [2021-01-29T13:49:01.991Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 29 13:45 Dockerfile.build [2021-01-29T13:49:01.991Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 29 13:45 Jenkinsfile [2021-01-29T13:49:01.991Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 29 13:45 LICENSE [2021-01-29T13:49:01.991Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 29 13:45 Makefile [2021-01-29T13:49:01.991Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 29 13:45 README.md [2021-01-29T13:49:01.991Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 29 13:45 RELEASE-NOTES.txt [2021-01-29T13:49:01.991Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 29 13:42 VERSION [2021-01-29T13:49:01.991Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 13:45 bin [2021-01-29T13:49:01.991Z] -rw-r--r-- 1 jenkins jenkins 137333 Jan 29 13:48 coverage.out [2021-01-29T13:49:01.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 13:45 example [2021-01-29T13:49:01.991Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 29 13:48 go.mod [2021-01-29T13:49:01.991Z] -rw-r--r-- 1 jenkins jenkins 14308 Jan 29 13:48 go.sum [2021-01-29T13:49:01.991Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 29 13:45 internal [2021-01-29T13:49:01.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 13:45 openapi [2021-01-29T13:49:01.991Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 29 13:45 pkg [2021-01-29T13:49:01.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 13:45 snap [2021-01-29T13:49:01.991Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 29 13:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:49:02.330Z] + 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=9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e --label arch=arm64 --label version=0.0.0 . [2021-01-29T13:49:02.602Z] Sending build context to Docker daemon 2.611MB [2021-01-29T13:49:02.602Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-29T13:49:02.602Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-29T13:49:02.602Z] ---> 5f829f9cd917 [2021-01-29T13:49:02.602Z] Step 3/24 : ARG MAKE='make build' [2021-01-29T13:49:03.195Z] ---> Running in 6f726a37ddcd [2021-01-29T13:49:03.469Z] Removing intermediate container 6f726a37ddcd [2021-01-29T13:49:03.469Z] ---> ff0142197af3 [2021-01-29T13:49:03.469Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-29T13:49:03.469Z] ---> Running in 4f9eec5bdae5 [2021-01-29T13:49:04.061Z] Removing intermediate container 4f9eec5bdae5 [2021-01-29T13:49:04.061Z] ---> 4e6ffe746530 [2021-01-29T13:49:04.061Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-29T13:49:04.061Z] ---> Running in aaa05387031e [2021-01-29T13:49:04.661Z] Removing intermediate container aaa05387031e [2021-01-29T13:49:04.661Z] ---> 5bc3633dd1c2 [2021-01-29T13:49:04.661Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-29T13:49:04.661Z] ---> Running in 15d105f13271 [2021-01-29T13:49:06.628Z] Removing intermediate container 15d105f13271 [2021-01-29T13:49:06.628Z] ---> b98e76b0d0c5 [2021-01-29T13:49:06.628Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-29T13:49:06.628Z] ---> Running in 8edfb6a92830 [2021-01-29T13:49:07.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-29T13:49:08.576Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-29T13:49:09.169Z] OK: 142 MiB in 39 packages [2021-01-29T13:49:10.144Z] Removing intermediate container 8edfb6a92830 [2021-01-29T13:49:10.144Z] ---> 42433af2082d [2021-01-29T13:49:10.144Z] Step 8/24 : COPY . . [2021-01-29T13:49:11.584Z] ---> e6bb4b3583cc [2021-01-29T13:49:11.584Z] Step 9/24 : RUN ${MAKE} [2021-01-29T13:49:11.584Z] ---> Running in 54b4eaa81e43 [2021-01-29T13:49:13.028Z] 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-29T13:49:39.829Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-29T13:49:39.829Z] Removing intermediate container 54b4eaa81e43 [2021-01-29T13:49:39.829Z] ---> 3430d20606a7 [2021-01-29T13:49:39.829Z] Step 10/24 : FROM scratch [2021-01-29T13:49:39.829Z] ---> [2021-01-29T13:49:39.829Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-29T13:49:39.829Z] ---> Running in de5ae3402ec1 [2021-01-29T13:49:40.108Z] Removing intermediate container de5ae3402ec1 [2021-01-29T13:49:40.108Z] ---> 13d6e6263a37 [2021-01-29T13:49:40.108Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-29T13:49:40.384Z] ---> Running in d7e524f1051a [2021-01-29T13:49:40.657Z] Removing intermediate container d7e524f1051a [2021-01-29T13:49:40.657Z] ---> 0ad9cc33e61f [2021-01-29T13:49:40.657Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-29T13:49:40.929Z] ---> Running in 2799b908fcf2 [2021-01-29T13:49:41.200Z] Removing intermediate container 2799b908fcf2 [2021-01-29T13:49:41.200Z] ---> 73741dd758e9 [2021-01-29T13:49:41.200Z] Step 14/24 : WORKDIR / [2021-01-29T13:49:41.480Z] ---> Running in c27d870756ac [2021-01-29T13:49:41.751Z] Removing intermediate container c27d870756ac [2021-01-29T13:49:41.751Z] ---> 09d8affa176e [2021-01-29T13:49:41.751Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-29T13:49:43.186Z] ---> 9f199c65abba [2021-01-29T13:49:43.186Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-29T13:49:43.783Z] ---> 9dbbbc2abb14 [2021-01-29T13:49:43.783Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-29T13:49:44.380Z] ---> 75d8ce5c9860 [2021-01-29T13:49:44.380Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-29T13:49:45.357Z] ---> f31234082790 [2021-01-29T13:49:45.357Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-29T13:49:45.953Z] ---> 9bae94dc7061 [2021-01-29T13:49:45.953Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-29T13:49:45.953Z] ---> Running in b0cc4c928dda [2021-01-29T13:49:46.548Z] Removing intermediate container b0cc4c928dda [2021-01-29T13:49:46.548Z] ---> 5502ce1be1e2 [2021-01-29T13:49:46.548Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-29T13:49:46.548Z] ---> Running in 2b5f41da6861 [2021-01-29T13:49:47.141Z] Removing intermediate container 2b5f41da6861 [2021-01-29T13:49:47.141Z] ---> 15476d12a14e [2021-01-29T13:49:47.141Z] Step 22/24 : LABEL arch=arm64 [2021-01-29T13:49:47.141Z] ---> Running in 980bb038905d [2021-01-29T13:49:47.737Z] Removing intermediate container 980bb038905d [2021-01-29T13:49:47.737Z] ---> d532c2873934 [2021-01-29T13:49:47.737Z] Step 23/24 : LABEL git_sha=9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [2021-01-29T13:49:47.737Z] ---> Running in ada512c60cb6 [2021-01-29T13:49:48.012Z] Removing intermediate container ada512c60cb6 [2021-01-29T13:49:48.012Z] ---> 671bcf0baa53 [2021-01-29T13:49:48.012Z] Step 24/24 : LABEL version=0.0.0 [2021-01-29T13:49:48.287Z] ---> Running in d1ce779e921a [2021-01-29T13:49:48.881Z] Removing intermediate container d1ce779e921a [2021-01-29T13:49:48.881Z] ---> 073647ec8a41 [2021-01-29T13:49:48.881Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-29T13:49:48.881Z] Successfully built 073647ec8a41 [2021-01-29T13:49:48.881Z] 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-29T13:49:50.540Z] provisioning config files... [2021-01-29T13:49:50.551Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config8950682840962909314tmp [Pipeline] { [Pipeline] sh [2021-01-29T13:49:50.953Z] + set +x [2021-01-29T13:49:50.953Z] + curl -s https://codecov.io/bash [2021-01-29T13:49:50.953Z] + bash -s -- [2021-01-29T13:49:51.216Z] [2021-01-29T13:49:51.216Z] _____ _ [2021-01-29T13:49:51.216Z] / ____| | | [2021-01-29T13:49:51.216Z] | | ___ __| | ___ ___ _____ __ [2021-01-29T13:49:51.216Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-29T13:49:51.216Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-29T13:49:51.216Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-29T13:49:51.216Z] Bash-20210128-d4071a2 [2021-01-29T13:49:51.216Z] [2021-01-29T13:49:51.216Z] [2021-01-29T13:49:51.216Z] ==> git version 2.24.3 found [2021-01-29T13:49:51.216Z] ==> 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-29T13:49:51.216Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-29T13:49:51.216Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-29T13:49:51.216Z] ==> Jenkins CI detected. [2021-01-29T13:49:51.216Z] project root: . [2021-01-29T13:49:51.216Z] --> token set from env [2021-01-29T13:49:51.216Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-29T13:49:51.216Z] ==> Running gcov in . (disable via -X gcov) [2021-01-29T13:49:51.216Z] ==> Python coveragepy not found [2021-01-29T13:49:51.216Z] ==> Searching for coverage reports in: [2021-01-29T13:49:51.216Z] + . [2021-01-29T13:49:51.216Z] -> Found 1 reports [2021-01-29T13:49:51.216Z] ==> Detecting git/mercurial file structure [2021-01-29T13:49:51.216Z] ==> Reading reports [2021-01-29T13:49:51.216Z] + ./coverage.out bytes=137333 [2021-01-29T13:49:51.216Z] ==> Appending adjustments [2021-01-29T13:49:51.216Z] https://docs.codecov.io/docs/fixing-reports [2021-01-29T13:49:51.795Z] + Found adjustments [2021-01-29T13:49:51.795Z] ==> Gzipping contents [2021-01-29T13:49:51.795Z] 24K /tmp/codecov.F6P1n7.gz [2021-01-29T13:49:51.795Z] ==> Uploading reports [2021-01-29T13:49:51.795Z] url: https://codecov.io [2021-01-29T13:49:51.795Z] query: branch=PR-761&commit=9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-761%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=761&job=&cmd_args= [2021-01-29T13:49:51.795Z] -> Pinging Codecov [2021-01-29T13:49:51.795Z] https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-761&commit=9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-761%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=761&job=&cmd_args= [2021-01-29T13:49:52.376Z] -> Uploading to [2021-01-29T13:49:52.376Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-29/7E55EF52A471D76F132DFD9A03CDDE97/9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e/ecad686f-850d-457a-b70d-6b0e96ae1ec1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210129T134952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=305092dabd1478b9d2fd5870b4564b4f25f8d85426058b1f47a62b3533ef0e49 [2021-01-29T13:49:52.376Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-29T13:49:52.376Z] Dload Upload Total Spent Left Speed [2021-01-29T13:49:52.639Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21621 0 0 100 21621 0 48931 --:--:-- --:--:-- --:--:-- 48916 100 21621 0 0 100 21621 0 48912 --:--:-- --:--:-- --:--:-- 48916 [2021-01-29T13:49:52.639Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [Pipeline] } [2021-01-29T13:49:52.648Z] 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-29T13:49:55.026Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T13:49:55.338Z] ---> package-listing.sh [2021-01-29T13:49:55.338Z] ++ facter osfamily [2021-01-29T13:49:55.338Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-29T13:49:55.338Z] + OS_FAMILY=redhat [2021-01-29T13:49:55.338Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-761 [2021-01-29T13:49:55.338Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-29T13:49:55.338Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-29T13:49:55.338Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-29T13:49:55.338Z] + PACKAGES=/tmp/packages_start.txt [2021-01-29T13:49:55.338Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-761 ']' [2021-01-29T13:49:55.338Z] + PACKAGES=/tmp/packages_end.txt [2021-01-29T13:49:55.338Z] + case "${OS_FAMILY}" in [2021-01-29T13:49:55.338Z] + rpm -qa [2021-01-29T13:49:55.338Z] + sort [2021-01-29T13:50:00.658Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-29T13:50:00.658Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-29T13:50:00.658Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-29T13:50:00.658Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-761 ']' [2021-01-29T13:50:00.658Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-761/archives/ [2021-01-29T13:50:00.658Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-761/archives/ [Pipeline] echo [2021-01-29T13:50:00.675Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-761/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-29T13:50:00.974Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:50:01.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T13:50:01.282Z] [2021-01-29T13:50:01.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-29T13:50:01.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T13:50:01.654Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-29T13:50:01.654Z] df20fa9351a1: Pulling fs layer [2021-01-29T13:50:01.654Z] 36b3adc4ff6f: Pulling fs layer [2021-01-29T13:50:01.654Z] 8ad3a11d3b57: Pulling fs layer [2021-01-29T13:50:01.654Z] 46f8f816bc3b: Pulling fs layer [2021-01-29T13:50:01.654Z] 93b61091891f: Pulling fs layer [2021-01-29T13:50:01.654Z] 93b9cdb0e59b: Pulling fs layer [2021-01-29T13:50:01.654Z] 5e14af77c1be: Pulling fs layer [2021-01-29T13:50:01.654Z] 01666e4c0597: Pulling fs layer [2021-01-29T13:50:01.654Z] aa168da1d23b: Pulling fs layer [2021-01-29T13:50:01.654Z] 93b9cdb0e59b: Waiting [2021-01-29T13:50:01.654Z] 5e14af77c1be: Waiting [2021-01-29T13:50:01.654Z] aa168da1d23b: Waiting [2021-01-29T13:50:01.654Z] 01666e4c0597: Waiting [2021-01-29T13:50:01.654Z] 46f8f816bc3b: Waiting [2021-01-29T13:50:01.654Z] 93b61091891f: Waiting [2021-01-29T13:50:01.654Z] 36b3adc4ff6f: Verifying Checksum [2021-01-29T13:50:01.654Z] 36b3adc4ff6f: Download complete [2021-01-29T13:50:01.654Z] 46f8f816bc3b: Verifying Checksum [2021-01-29T13:50:01.654Z] 46f8f816bc3b: Download complete [2021-01-29T13:50:01.654Z] df20fa9351a1: Verifying Checksum [2021-01-29T13:50:01.654Z] df20fa9351a1: Download complete [2021-01-29T13:50:01.929Z] 93b9cdb0e59b: Verifying Checksum [2021-01-29T13:50:01.929Z] 93b9cdb0e59b: Download complete [2021-01-29T13:50:01.929Z] 93b61091891f: Download complete [2021-01-29T13:50:01.929Z] 5e14af77c1be: Verifying Checksum [2021-01-29T13:50:01.929Z] 5e14af77c1be: Download complete [2021-01-29T13:50:01.929Z] 01666e4c0597: Verifying Checksum [2021-01-29T13:50:01.929Z] 01666e4c0597: Download complete [2021-01-29T13:50:01.929Z] 8ad3a11d3b57: Verifying Checksum [2021-01-29T13:50:01.929Z] 8ad3a11d3b57: Download complete [2021-01-29T13:50:02.194Z] df20fa9351a1: Pull complete [2021-01-29T13:50:02.460Z] 36b3adc4ff6f: Pull complete [2021-01-29T13:50:03.419Z] 8ad3a11d3b57: Pull complete [2021-01-29T13:50:03.687Z] 46f8f816bc3b: Pull complete [2021-01-29T13:50:04.280Z] aa168da1d23b: Verifying Checksum [2021-01-29T13:50:04.280Z] aa168da1d23b: Download complete [2021-01-29T13:50:04.280Z] 93b61091891f: Pull complete [2021-01-29T13:50:04.280Z] 93b9cdb0e59b: Pull complete [2021-01-29T13:50:04.543Z] 5e14af77c1be: Pull complete [2021-01-29T13:50:04.543Z] 01666e4c0597: Pull complete [2021-01-29T13:50:12.732Z] aa168da1d23b: Pull complete [2021-01-29T13:50:12.732Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-29T13:50:12.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T13:50:12.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-29T13:50:12.971Z] prd-centos7-docker-4c-2g-23963 does not seem to be running inside a container [2021-01-29T13:50:13.025Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-761/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-761 -v /w/workspace/dgexfoundry_device-sdk-go_PR-761:/w/workspace/dgexfoundry_device-sdk-go_PR-761:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-29T13:50:16.305Z] $ docker top 7b2b9ac1f157615479523e3b7c6eb4b8a03be3200de589d09d6ab34e45a047d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T13:50:16.848Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-29T13:50:17.158Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-29T13:50:17.461Z] + ls /var/log/sa-host [2021-01-29T13:50:17.461Z] + sadf -c /var/log/sa-host/sa23 [2021-01-29T13:50:17.461Z] file_magic: OK [2021-01-29T13:50:17.461Z] HZ: Using current value: 100 [2021-01-29T13:50:17.461Z] file_header: OK [2021-01-29T13:50:17.461Z] 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-29T13:50:17.461Z] Statistics: [2021-01-29T13:50:17.461Z] Hnuu...uuuununununu... [2021-01-29T13:50:17.461Z] File successfully converted to sysstat format version 12.2.1 [2021-01-29T13:50:17.461Z] + sadf -c /var/log/sa-host/sa29 [2021-01-29T13:50:17.461Z] file_magic: OK [2021-01-29T13:50:17.461Z] HZ: Using current value: 100 [2021-01-29T13:50:17.461Z] file_header: OK [2021-01-29T13:50:17.461Z] 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-29T13:50:17.461Z] Statistics: [2021-01-29T13:50:17.461Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-29T13:50:17.461Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-29T13:50:17.658Z] provisioning config files... [2021-01-29T13:50:17.675Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config2594426430261747529tmp [Pipeline] { [Pipeline] echo [2021-01-29T13:50:17.755Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T13:50:18.058Z] ---> create-netrc.sh [Pipeline] } [2021-01-29T13:50:18.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-29T13:50:18.153Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T13:50:18.455Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-29T13:50:18.466Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T13:50:18.765Z] ---> sudo-logs.sh [2021-01-29T13:50:18.765Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-29T13:50:18.776Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T13:50:19.074Z] ---> job-cost.sh [2021-01-29T13:50:19.074Z] lf-activate-venv: SKIPPING [2021-01-29T13:50:19.074Z] INFO: No Stack... [2021-01-29T13:50:20.465Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-29T13:50:20.728Z] INFO: Archiving Costs [Pipeline] echo [2021-01-29T13:50:20.742Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T13:50:21.042Z] ---> logs-deploy.sh [2021-01-29T13:50:21.043Z] lf-activate-venv: SKIPPING [2021-01-29T13:50:21.043Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-761/4 [2021-01-29T13:50:21.043Z] INFO: archiving workspace using pattern(s): [2021-01-29T13:50:22.974Z] Archives upload complete. [2021-01-29T13:50:22.974Z] INFO: archiving logs to Nexus