Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (07d8318f853f12152c98e72e810ff6b9413a426b) 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: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23650’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23654 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing e30a7378f0ab6bb06199e456d0048cf1f5d3005d Checking out Revision e30a7378f0ab6bb06199e456d0048cf1f5d3005d (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e30a7378f0ab6bb06199e456d0048cf1f5d3005d # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T02:43:03.336Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-28T02:43:03.594Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 8b218264e3c3b99d955a31588396af8a0b49522f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T02:43:03.701Z] ========================================================= [2021-01-28T02:43:03.701Z] EdgeX Global Pipelines Version Info [2021-01-28T02:43:03.701Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:43:05.149Z] ------------------- [2021-01-28T02:43:05.149Z] stable info: [2021-01-28T02:43:05.149Z] ------------------- [2021-01-28T02:43:05.149Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T02:43:05.149Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T02:43:05.149Z] Message: update stable to v1.0.179 [2021-01-28T02:43:06.099Z] ------------------- [2021-01-28T02:43:06.099Z] experimental info: [2021-01-28T02:43:06.099Z] ------------------- [2021-01-28T02:43:06.099Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T02:43:06.099Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T02:43:06.099Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T02:43:06.348Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T02:43:06.430Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T02:43:06.531Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T02:43:06.642Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T02:43:06.740Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T02:43:06.867Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T02:43:06.955Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T02:43:07.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T02:43:07.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T02:43:07.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T02:43:07.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T02:43:07.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-01-28T02:43:07.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T02:43:07.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T02:43:07.702Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T02:43:07.779Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:43:07.862Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:43:07.974Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:43:08.057Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T02:43:08.141Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T02:43:08.268Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T02:43:08.369Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T02:43:08.473Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T02:43:08.555Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T02:43:08.665Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T02:43:08.752Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T02:43:08.859Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T02:43:08.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-01-28T02:43:09.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-01-28T02:43:09.138Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-01-28T02:43:09.235Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e30a7378f0ab6bb06199e456d0048cf1f5d3005d [Pipeline] echo [2021-01-28T02:43:09.341Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e30a737 [Pipeline] echo [2021-01-28T02:43:09.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:43:09.640Z] provisioning config files... [2021-01-28T02:43:09.676Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5770753703970574380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:43:10.038Z] ---> docker-login.sh [2021-01-28T02:43:10.039Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:43:10.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:10.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:10.343Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:10.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:10.343Z] [2021-01-28T02:43:10.343Z] Login Succeeded [2021-01-28T02:43:10.343Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:43:10.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:10.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:10.610Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:10.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:10.610Z] [2021-01-28T02:43:10.610Z] Login Succeeded [2021-01-28T02:43:10.610Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:43:10.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:10.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:10.610Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:10.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:10.610Z] [2021-01-28T02:43:10.610Z] Login Succeeded [2021-01-28T02:43:10.610Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:43:10.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:10.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:10.904Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:10.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:10.904Z] [2021-01-28T02:43:10.904Z] Login Succeeded [2021-01-28T02:43:10.904Z] docker.io [2021-01-28T02:43:10.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:11.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:11.166Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:11.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:11.166Z] [2021-01-28T02:43:11.166Z] Login Succeeded [2021-01-28T02:43:11.166Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:43:11.179Z] 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-28T02:43:12.058Z] + git log --format=format:%s -1 e30a7378f0ab6bb06199e456d0048cf1f5d3005d [Pipeline] echo [2021-01-28T02:43:12.123Z] GIT_COMMIT: e30a7378f0ab6bb06199e456d0048cf1f5d3005d, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo [2021-01-28T02:43:12.167Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:43:12.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:43:12.733Z] [2021-01-28T02:43:12.733Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:43:13.075Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:43:13.075Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T02:43:13.075Z] 31603596830f: Pulling fs layer [2021-01-28T02:43:13.075Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T02:43:13.075Z] 6ca5941a6612: Pulling fs layer [2021-01-28T02:43:13.075Z] ecc8261a40a4: Pulling fs layer [2021-01-28T02:43:13.075Z] ecc8261a40a4: Waiting [2021-01-28T02:43:13.075Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T02:43:13.075Z] 2a8b12db71e7: Download complete [2021-01-28T02:43:13.342Z] 31603596830f: Verifying Checksum [2021-01-28T02:43:13.342Z] 31603596830f: Download complete [2021-01-28T02:43:13.342Z] ecc8261a40a4: Verifying Checksum [2021-01-28T02:43:13.342Z] ecc8261a40a4: Download complete [2021-01-28T02:43:13.342Z] 6ca5941a6612: Verifying Checksum [2021-01-28T02:43:13.342Z] 6ca5941a6612: Download complete [2021-01-28T02:43:13.605Z] 31603596830f: Pull complete [2021-01-28T02:43:13.605Z] 2a8b12db71e7: Pull complete [2021-01-28T02:43:14.558Z] 6ca5941a6612: Pull complete [2021-01-28T02:43:14.558Z] ecc8261a40a4: Pull complete [2021-01-28T02:43:14.558Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T02:43:14.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:43:14.558Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T02:43:14.660Z] prd-centos7-docker-4c-2g-23654 does not seem to be running inside a container [2021-01-28T02:43:14.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T02:43:16.440Z] $ docker top a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T02:43:16.764Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T02:43:16.764Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T02:43:16.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T02:43:16.956Z] $ docker exec a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 ssh-agent [2021-01-28T02:43:17.121Z] SSH_AUTH_SOCK=/tmp/ssh-oypz8VgrQHTK/agent.12 [2021-01-28T02:43:17.121Z] SSH_AGENT_PID=17 [2021-01-28T02:43:17.132Z] Running ssh-add (command line suppressed) [2021-01-28T02:43:17.252Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_2842134944147577398.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_2842134944147577398.key) [2021-01-28T02:43:17.304Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T02:43:17.650Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T02:43:17.671Z] $ docker exec --env ******** --env ******** a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 ssh-agent -k [2021-01-28T02:43:17.779Z] unset SSH_AUTH_SOCK; [2021-01-28T02:43:17.779Z] unset SSH_AGENT_PID; [2021-01-28T02:43:17.779Z] echo Agent pid 17 killed; [2021-01-28T02:43:17.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T02:43:17.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T02:43:17.965Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T02:43:18.132Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T02:43:18.135Z] $ docker exec a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 ssh-agent [2021-01-28T02:43:18.298Z] SSH_AUTH_SOCK=/tmp/ssh-FTlLyTRYmG4D/agent.45 [2021-01-28T02:43:18.298Z] SSH_AGENT_PID=51 [2021-01-28T02:43:18.305Z] Running ssh-add (command line suppressed) [2021-01-28T02:43:18.440Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_2702748668337873502.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_2702748668337873502.key) [2021-01-28T02:43:18.490Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T02:43:18.911Z] + git semver init [2021-01-28T02:43:18.912Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T02:43:18.912Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-01-28T02:43:18.912Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-28T02:43:18.912Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T02:43:18.912Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T02:43:18.912Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T02:43:18.912Z] # $SEMVER_BRANCH = PR-725 [2021-01-28T02:43:18.912Z] # $SEMVER_TEMP = /tmp/semver-469797463 [2021-01-28T02:43:18.912Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T02:43:19.865Z] # '/tmp/semver-469797463' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-01-28T02:43:19.865Z] # -> Force: false [2021-01-28T02:43:19.865Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-01-28T02:43:19.878Z] $ docker exec --env ******** --env ******** a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 ssh-agent -k [2021-01-28T02:43:19.993Z] unset SSH_AUTH_SOCK; [2021-01-28T02:43:19.993Z] unset SSH_AGENT_PID; [2021-01-28T02:43:19.993Z] echo Agent pid 51 killed; [2021-01-28T02:43:20.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T02:43:20.628Z] + git semver [Pipeline] } [2021-01-28T02:43:20.646Z] $ docker stop --time=1 a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 [2021-01-28T02:43:21.997Z] $ docker rm -f a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T02:43:22.467Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T02:43:23.060Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T02:43:23.063Z] [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-28T02:43:38.566Z] Still waiting to schedule task [2021-01-28T02:43:38.566Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23657’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23649’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-28T02:43:38.569Z] Still waiting to schedule task [2021-01-28T02:43:38.569Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-28T02:44:39.917Z] Running on prd-centos7-docker-4c-2g-23661 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-28T02:44:39.979Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2021-01-28T02:44:42.976Z] using credential edgex-jenkins-ssh [2021-01-28T02:44:43.034Z] Cloning the remote Git repository [2021-01-28T02:44:43.071Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:44:43.143Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2021-01-28T02:44:43.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:44:43.216Z] > git --version # timeout=10 [2021-01-28T02:44:43.228Z] > git --version # 'git version 2.24.3' [2021-01-28T02:44:43.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:44:43.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:44:44.805Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-28T02:44:44.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:44:44.219Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:44:44.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:44:44.252Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:44:44.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:44:44.258Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T02:44:44.814Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:44:44.820Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-28T02:44:44.874Z] > git remote # timeout=10 [2021-01-28T02:44:44.883Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T02:44:44.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:44:44.897Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T02:44:44.992Z] Merge succeeded, producing faba9a0be271fc27c446a99f25d9e25382d2a2cd [2021-01-28T02:44:44.993Z] Checking out Revision faba9a0be271fc27c446a99f25d9e25382d2a2cd (PR-725) [2021-01-28T02:44:44.986Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T02:44:44.996Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:44:45.001Z] > git checkout -f faba9a0be271fc27c446a99f25d9e25382d2a2cd # timeout=10 [2021-01-28T02:44:48.740Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T02:44:48.751Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:44:49.882Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:44:48.744Z] > git rev-list --no-walk 8b218264e3c3b99d955a31588396af8a0b49522f # timeout=10 [2021-01-28T02:44:50.215Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:44:50.514Z] + sudo service docker restart [2021-01-28T02:44:50.514Z] + true [2021-01-28T02:44:50.514Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:44:51.528Z] provisioning config files... [2021-01-28T02:44:51.557Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config1918451086922963067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:44:51.932Z] ---> docker-login.sh [2021-01-28T02:44:51.932Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:44:52.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:44:52.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:44:52.463Z] Configure a credential helper to remove this warning. See [2021-01-28T02:44:52.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:44:52.463Z] [2021-01-28T02:44:52.463Z] Login Succeeded [2021-01-28T02:44:52.463Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:44:52.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:44:52.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:44:52.463Z] Configure a credential helper to remove this warning. See [2021-01-28T02:44:52.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:44:52.463Z] [2021-01-28T02:44:52.463Z] Login Succeeded [2021-01-28T02:44:52.463Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:44:52.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:44:52.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:44:52.730Z] Configure a credential helper to remove this warning. See [2021-01-28T02:44:52.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:44:52.730Z] [2021-01-28T02:44:52.730Z] Login Succeeded [2021-01-28T02:44:52.730Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:44:53.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:44:53.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:44:53.000Z] Configure a credential helper to remove this warning. See [2021-01-28T02:44:53.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:44:53.000Z] [2021-01-28T02:44:53.000Z] Login Succeeded [2021-01-28T02:44:53.000Z] docker.io [2021-01-28T02:44:53.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:44:53.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:44:53.264Z] Configure a credential helper to remove this warning. See [2021-01-28T02:44:53.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:44:53.264Z] [2021-01-28T02:44:53.264Z] Login Succeeded [2021-01-28T02:44:53.264Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:44:53.274Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T02:44:53.637Z] ========================================================= [2021-01-28T02:44:53.637Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T02:44:53.637Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:44:54.026Z] + 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-28T02:44:54.026Z] Sending build context to Docker daemon 2.575MB [2021-01-28T02:44:54.288Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:44:54.288Z] Step 2/8 : FROM ${BASE} [2021-01-28T02:44:54.553Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T02:44:54.553Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T02:44:54.553Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T02:44:54.553Z] de9db76c5a1d: Pulling fs layer [2021-01-28T02:44:54.553Z] bca2f99d35d6: Pulling fs layer [2021-01-28T02:44:54.553Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T02:44:54.553Z] 7c6f9722023f: Pulling fs layer [2021-01-28T02:44:54.553Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T02:44:54.553Z] 93359f2a8cfa: Waiting [2021-01-28T02:44:54.553Z] 7c6f9722023f: Waiting [2021-01-28T02:44:54.553Z] a35cf1a2eb13: Waiting [2021-01-28T02:44:54.553Z] bca2f99d35d6: Waiting [2021-01-28T02:44:54.553Z] de9db76c5a1d: Verifying Checksum [2021-01-28T02:44:54.553Z] de9db76c5a1d: Download complete [2021-01-28T02:44:54.553Z] 0ef7d3d256c8: Verifying Checksum [2021-01-28T02:44:54.553Z] 0ef7d3d256c8: Download complete [2021-01-28T02:44:54.553Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T02:44:54.553Z] 93359f2a8cfa: Download complete [2021-01-28T02:44:54.553Z] 7c6f9722023f: Verifying Checksum [2021-01-28T02:44:54.553Z] 7c6f9722023f: Download complete [2021-01-28T02:44:54.820Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T02:44:54.820Z] 188c0c94c7c5: Download complete [2021-01-28T02:44:55.086Z] 188c0c94c7c5: Pull complete [2021-01-28T02:44:55.353Z] 0ef7d3d256c8: Pull complete [2021-01-28T02:44:55.617Z] de9db76c5a1d: Pull complete [2021-01-28T02:44:57.566Z] a35cf1a2eb13: Verifying Checksum [2021-01-28T02:44:57.566Z] a35cf1a2eb13: Download complete [2021-01-28T02:44:59.526Z] bca2f99d35d6: Verifying Checksum [2021-01-28T02:44:59.526Z] bca2f99d35d6: Download complete [2021-01-28T02:45:04.926Z] bca2f99d35d6: Pull complete [2021-01-28T02:45:04.926Z] 93359f2a8cfa: Pull complete [2021-01-28T02:45:05.195Z] 7c6f9722023f: Pull complete [2021-01-28T02:45:15.280Z] a35cf1a2eb13: Pull complete [2021-01-28T02:45:15.280Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T02:45:15.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T02:45:15.280Z] ---> a62c8e92a672 [2021-01-28T02:45:15.280Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:45:15.280Z] ---> Running in e389876584ec [2021-01-28T02:45:15.280Z] Removing intermediate container e389876584ec [2021-01-28T02:45:15.280Z] ---> f676574eabd4 [2021-01-28T02:45:15.280Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:45:15.280Z] ---> Running in b541e5c6edfc [2021-01-28T02:45:15.874Z] Removing intermediate container b541e5c6edfc [2021-01-28T02:45:15.874Z] ---> 8c5a0e9b6d04 [2021-01-28T02:45:15.874Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T02:45:15.874Z] ---> Running in 038fb3dfc67a [2021-01-28T02:45:16.828Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T02:45:17.786Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T02:45:19.188Z] OK: 166 MiB in 39 packages [2021-01-28T02:45:19.452Z] Removing intermediate container 038fb3dfc67a [2021-01-28T02:45:19.452Z] ---> eccd5ff906f5 [2021-01-28T02:45:19.452Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T02:45:19.452Z] ---> Running in d41f6a9aa7ba [2021-01-28T02:45:19.715Z] Removing intermediate container d41f6a9aa7ba [2021-01-28T02:45:19.715Z] ---> cf7c67fe26bf [2021-01-28T02:45:19.715Z] Step 7/8 : COPY . . [2021-01-28T02:45:21.112Z] ---> f816e75b6cc3 [2021-01-28T02:45:21.112Z] Step 8/8 : RUN go mod download [2021-01-28T02:45:21.112Z] ---> Running in b4af6b4ab718 [2021-01-28T02:45:43.256Z] Removing intermediate container b4af6b4ab718 [2021-01-28T02:45:43.256Z] ---> 6edb4ed1e657 [2021-01-28T02:45:43.256Z] Successfully built 6edb4ed1e657 [2021-01-28T02:45:43.256Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:45:43.582Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T02:45:43.582Z] . [Pipeline] withDockerContainer [2021-01-28T02:45:43.726Z] prd-centos7-docker-4c-2g-23661 does not seem to be running inside a container [2021-01-28T02:45:43.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T02:45:44.673Z] $ docker top f3e31ef94066febfe13d2b61a11eb9b895137b62063b8dea4128465d71e7540e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:45:45.198Z] + go version [2021-01-28T02:45:45.198Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T02:45:45.225Z] $ docker stop --time=1 f3e31ef94066febfe13d2b61a11eb9b895137b62063b8dea4128465d71e7540e [2021-01-28T02:45:46.685Z] $ docker rm -f f3e31ef94066febfe13d2b61a11eb9b895137b62063b8dea4128465d71e7540e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:45:47.552Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T02:45:47.552Z] . [Pipeline] withDockerContainer [2021-01-28T02:45:47.665Z] prd-centos7-docker-4c-2g-23661 does not seem to be running inside a container [2021-01-28T02:45:47.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T02:45:48.410Z] $ docker top fdc9399ce575c6ade9f416aaf1e74176f5d73686f9abb0dc3d90fd355db62c57 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:45:48.931Z] + make test [2021-01-28T02:45:48.931Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T02:45:57.172Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T02:46:15.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T02:46:15.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T02:46:15.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T02:46:15.493Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 19.4% of statements [2021-01-28T02:46:16.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.533s coverage: 97.1% of statements [2021-01-28T02:46:43.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.069s coverage: 9.4% of statements [2021-01-28T02:46:43.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements [2021-01-28T02:46:43.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T02:46:43.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.319s coverage: 43.2% of statements [2021-01-28T02:46:43.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T02:46:43.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.338s coverage: 68.9% of statements [2021-01-28T02:46:43.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T02:46:43.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T02:46:43.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T02:46:43.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T02:46:43.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 53.8% of statements [2021-01-28T02:46:43.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T02:46:43.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T02:46:43.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.079s coverage: 26.8% of statements [2021-01-28T02:46:43.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.828s coverage: 83.5% of statements [2021-01-28T02:46:43.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.082s coverage: 4.2% of statements [2021-01-28T02:46:43.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T02:46:43.874Z] GO111MODULE=on go vet ./... [2021-01-28T02:46:56.251Z] gofmt -l . [2021-01-28T02:46:56.251Z] [ "`gofmt -l .`" = "" ] [2021-01-28T02:46:56.251Z] ./bin/test-attribution-txt.sh [2021-01-28T02:46:56.251Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T02:46:56.534Z] $ docker stop --time=1 fdc9399ce575c6ade9f416aaf1e74176f5d73686f9abb0dc3d90fd355db62c57 [2021-01-28T02:46:58.514Z] $ docker rm -f fdc9399ce575c6ade9f416aaf1e74176f5d73686f9abb0dc3d90fd355db62c57 [2021-01-28T02:46:58.797Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23664 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws [2021-01-28T02:46:58.995Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2021-01-28T02:46:59.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T02:46:59.618Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T02:47:02.474Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T02:47:02.778Z] + ls -al . [2021-01-28T02:47:02.778Z] total 216 [2021-01-28T02:47:02.778Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 02:46 . [2021-01-28T02:47:02.778Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 02:44 .. [2021-01-28T02:47:02.778Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 02:44 bin [2021-01-28T02:47:02.778Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 02:46 coverage.out [2021-01-28T02:47:02.778Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 02:44 Dockerfile.build [2021-01-28T02:47:02.778Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 02:44 .dockerignore [2021-01-28T02:47:02.778Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 02:44 example [2021-01-28T02:47:02.778Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 02:44 .git [2021-01-28T02:47:02.778Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 02:44 .github [2021-01-28T02:47:02.778Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 02:44 .gitignore [2021-01-28T02:47:02.778Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 28 02:46 go.mod [2021-01-28T02:47:02.778Z] -rw-r--r--. 1 jenkins jenkins 14101 Jan 28 02:46 go.sum [2021-01-28T02:47:02.778Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 02:44 internal [2021-01-28T02:47:02.778Z] -rw-rw-r--. 1 jenkins jenkins 894 Jan 28 02:44 Jenkinsfile [2021-01-28T02:47:02.778Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 02:44 LICENSE [2021-01-28T02:47:02.778Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 02:44 Makefile [2021-01-28T02:47:02.778Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 02:44 openapi [2021-01-28T02:47:02.778Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 02:44 pkg [2021-01-28T02:47:02.778Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 02:44 README.md [2021-01-28T02:47:02.778Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 02:44 RELEASE-NOTES.txt [2021-01-28T02:47:02.778Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 02:44 snap [2021-01-28T02:47:02.778Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 02:43 VERSION [2021-01-28T02:47:02.778Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:47:03.089Z] + docker build -t 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=e30a7378f0ab6bb06199e456d0048cf1f5d3005d --label arch=amd64 --label version=0.0.0 . [2021-01-28T02:47:03.354Z] Sending build context to Docker daemon 2.713MB [2021-01-28T02:47:03.354Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:47:03.354Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T02:47:03.354Z] ---> 6edb4ed1e657 [2021-01-28T02:47:03.354Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T02:47:03.930Z] ---> Running in 8b7273d22aed [2021-01-28T02:47:03.930Z] Removing intermediate container 8b7273d22aed [2021-01-28T02:47:03.930Z] ---> 42d823924ade [2021-01-28T02:47:03.930Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T02:47:04.195Z] ---> Running in f90c5843e678 [2021-01-28T02:47:04.195Z] Removing intermediate container f90c5843e678 [2021-01-28T02:47:04.195Z] ---> 2445f99a50bc [2021-01-28T02:47:04.195Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:47:04.457Z] ---> Running in 3463a93cb54c [2021-01-28T02:47:04.457Z] Removing intermediate container 3463a93cb54c [2021-01-28T02:47:04.457Z] ---> d241b111e587 [2021-01-28T02:47:04.457Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:47:04.724Z] ---> Running in 4030a11efbf2 [2021-01-28T02:47:05.701Z] Removing intermediate container 4030a11efbf2 [2021-01-28T02:47:05.701Z] ---> 6f586fa568de [2021-01-28T02:47:05.701Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T02:47:05.701Z] ---> Running in bc0c1315ca14 [2021-01-28T02:47:06.291Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T02:47:06.626Z] using credential edgex-jenkins-ssh [2021-01-28T02:47:06.686Z] Cloning the remote Git repository [2021-01-28T02:47:07.683Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T02:47:06.754Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:47:06.886Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2021-01-28T02:47:06.991Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:47:06.992Z] > git --version # timeout=10 [2021-01-28T02:47:07.019Z] > git --version # 'git version 2.17.1' [2021-01-28T02:47:07.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:47:07.076Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:47:09.247Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:47:09.287Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:47:09.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:47:09.384Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:47:09.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:47:09.400Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T02:47:09.609Z] OK: 166 MiB in 39 packages [2021-01-28T02:47:09.874Z] Removing intermediate container bc0c1315ca14 [2021-01-28T02:47:09.874Z] ---> 22ddfaa305d5 [2021-01-28T02:47:09.874Z] Step 8/24 : COPY . . [2021-01-28T02:47:10.328Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-28T02:47:10.814Z] Merge succeeded, producing cb34ad71e52921d99d90ae215712b12a0d015ca8 [2021-01-28T02:47:10.814Z] Checking out Revision cb34ad71e52921d99d90ae215712b12a0d015ca8 (PR-725) [2021-01-28T02:47:10.827Z] ---> 1c24a833bcad [2021-01-28T02:47:10.827Z] Step 9/24 : RUN ${MAKE} [2021-01-28T02:47:10.827Z] ---> Running in fe216d44b624 [2021-01-28T02:47:10.351Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:47:10.381Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-28T02:47:10.528Z] > git remote # timeout=10 [2021-01-28T02:47:10.558Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T02:47:10.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:47:10.596Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T02:47:10.792Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T02:47:10.819Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:47:10.842Z] > git checkout -f cb34ad71e52921d99d90ae215712b12a0d015ca8 # timeout=10 [2021-01-28T02:47:11.402Z] 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-28T02:47:15.714Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T02:47:15.743Z] First time build. Skipping changelog. [2021-01-28T02:47:15.721Z] > git rev-list --no-walk 8b218264e3c3b99d955a31588396af8a0b49522f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:47:17.262Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:47:17.705Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:47:18.067Z] + true [2021-01-28T02:47:18.067Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:47:20.857Z] provisioning config files... [2021-01-28T02:47:20.907Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config4824207563525283340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:47:21.330Z] ---> docker-login.sh [2021-01-28T02:47:21.330Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:47:21.571Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T02:47:22.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:47:22.526Z] Removing intermediate container fe216d44b624 [2021-01-28T02:47:22.526Z] ---> aa3384996a8f [2021-01-28T02:47:22.526Z] Step 10/24 : FROM scratch [2021-01-28T02:47:22.526Z] ---> [2021-01-28T02:47:22.526Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:47:22.526Z] ---> Running in 6d44f0ba5466 [2021-01-28T02:47:22.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:47:22.624Z] Configure a credential helper to remove this warning. See [2021-01-28T02:47:22.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:47:22.624Z] [2021-01-28T02:47:22.624Z] Login Succeeded [2021-01-28T02:47:22.624Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:47:22.789Z] Removing intermediate container 6d44f0ba5466 [2021-01-28T02:47:22.789Z] ---> 3e298d212449 [2021-01-28T02:47:22.789Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T02:47:22.789Z] ---> Running in f699ae3a9652 [2021-01-28T02:47:22.789Z] Removing intermediate container f699ae3a9652 [2021-01-28T02:47:22.789Z] ---> 32dbd4f9f65b [2021-01-28T02:47:22.789Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T02:47:23.052Z] ---> Running in faf089c994f4 [2021-01-28T02:47:23.052Z] Removing intermediate container faf089c994f4 [2021-01-28T02:47:23.052Z] ---> 8bef38a84cfc [2021-01-28T02:47:23.052Z] Step 14/24 : WORKDIR / [2021-01-28T02:47:23.052Z] ---> Running in 7325aba4018d [2021-01-28T02:47:23.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:47:23.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:47:23.227Z] Configure a credential helper to remove this warning. See [2021-01-28T02:47:23.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:47:23.227Z] [2021-01-28T02:47:23.227Z] Login Succeeded [2021-01-28T02:47:23.227Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:47:23.320Z] Removing intermediate container 7325aba4018d [2021-01-28T02:47:23.320Z] ---> fa0f0b1498d3 [2021-01-28T02:47:23.320Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T02:47:23.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:47:23.922Z] ---> dc96c7c56a89 [2021-01-28T02:47:23.922Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T02:47:24.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:47:24.102Z] Configure a credential helper to remove this warning. See [2021-01-28T02:47:24.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:47:24.102Z] [2021-01-28T02:47:24.102Z] Login Succeeded [2021-01-28T02:47:24.102Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:47:24.186Z] ---> a4810358fd1d [2021-01-28T02:47:24.186Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T02:47:24.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:47:24.449Z] ---> 56d2bf53a6fe [2021-01-28T02:47:24.449Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T02:47:24.449Z] ---> 3a460fd688a0 [2021-01-28T02:47:24.449Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T02:47:24.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:47:24.653Z] Configure a credential helper to remove this warning. See [2021-01-28T02:47:24.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:47:24.653Z] [2021-01-28T02:47:24.653Z] Login Succeeded [2021-01-28T02:47:24.653Z] docker.io [2021-01-28T02:47:24.714Z] ---> 2a670e20a091 [2021-01-28T02:47:24.714Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T02:47:24.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:47:24.979Z] ---> Running in 598f06a9f0a9 [2021-01-28T02:47:24.979Z] Removing intermediate container 598f06a9f0a9 [2021-01-28T02:47:24.979Z] ---> e3921bf8fb11 [2021-01-28T02:47:24.979Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T02:47:25.243Z] ---> Running in 5fcff3a73266 [2021-01-28T02:47:25.243Z] Removing intermediate container 5fcff3a73266 [2021-01-28T02:47:25.243Z] ---> d7260c931766 [2021-01-28T02:47:25.243Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T02:47:25.243Z] ---> Running in 772da946621f [2021-01-28T02:47:25.508Z] Removing intermediate container 772da946621f [2021-01-28T02:47:25.508Z] ---> 6e822ca96ad7 [2021-01-28T02:47:25.508Z] Step 23/24 : LABEL git_sha=e30a7378f0ab6bb06199e456d0048cf1f5d3005d [2021-01-28T02:47:25.508Z] ---> Running in 94c1d0a7f89f [2021-01-28T02:47:25.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:47:25.533Z] Configure a credential helper to remove this warning. See [2021-01-28T02:47:25.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:47:25.533Z] [2021-01-28T02:47:25.533Z] Login Succeeded [2021-01-28T02:47:25.533Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:47:25.553Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2021-01-28T02:47:25.773Z] Removing intermediate container 94c1d0a7f89f [2021-01-28T02:47:25.773Z] ---> a755e199acee [2021-01-28T02:47:25.773Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T02:47:25.773Z] ---> Running in bae76a75078f [Pipeline] unstash [2021-01-28T02:47:26.038Z] Removing intermediate container bae76a75078f [2021-01-28T02:47:26.038Z] ---> e9830cb9e11c [2021-01-28T02:47:26.038Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T02:47:26.038Z] Successfully built e9830cb9e11c [2021-01-28T02:47:26.038Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] echo [2021-01-28T02:47:26.234Z] ========================================================= [2021-01-28T02:47:26.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T02:47:26.234Z] ========================================================= [Pipeline] isUnix [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2021-01-28T02:47:26.645Z] + 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 . Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-01-28T02:47:27.278Z] Sending build context to Docker daemon 2.583MB [2021-01-28T02:47:27.278Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:47:27.278Z] Step 2/8 : FROM ${BASE} [2021-01-28T02:47:27.278Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T02:47:27.278Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T02:47:27.278Z] a4357932f1b6: Pulling fs layer [2021-01-28T02:47:27.278Z] 18c013af1878: Pulling fs layer [2021-01-28T02:47:27.278Z] 00ac8860ef70: Pulling fs layer [2021-01-28T02:47:27.278Z] 63d7cb157983: Pulling fs layer [2021-01-28T02:47:27.278Z] b116817d02f9: Pulling fs layer [2021-01-28T02:47:27.278Z] 745a02a5169b: Pulling fs layer [2021-01-28T02:47:27.278Z] 63d7cb157983: Waiting [2021-01-28T02:47:27.278Z] b116817d02f9: Waiting [2021-01-28T02:47:27.278Z] 745a02a5169b: Waiting [2021-01-28T02:47:27.278Z] 00ac8860ef70: Waiting [2021-01-28T02:47:27.278Z] 18c013af1878: Download complete [2021-01-28T02:47:27.278Z] a4357932f1b6: Verifying Checksum [2021-01-28T02:47:27.278Z] a4357932f1b6: Download complete [2021-01-28T02:47:27.278Z] 63d7cb157983: Verifying Checksum [2021-01-28T02:47:27.278Z] 63d7cb157983: Download complete [Pipeline] // stage [Pipeline] } [2021-01-28T02:47:27.891Z] b116817d02f9: Verifying Checksum [2021-01-28T02:47:27.891Z] b116817d02f9: Download complete [2021-01-28T02:47:27.891Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T02:47:27.891Z] 5f621e34cdf4: Download complete [2021-01-28T02:47:28.506Z] 5f621e34cdf4: Pull complete [2021-01-28T02:47:29.122Z] a4357932f1b6: Pull complete [2021-01-28T02:47:29.725Z] 18c013af1878: Pull complete [2021-01-28T02:47:30.716Z] 745a02a5169b: Verifying Checksum [2021-01-28T02:47:30.716Z] 745a02a5169b: Download complete [2021-01-28T02:47:32.703Z] 00ac8860ef70: Verifying Checksum [2021-01-28T02:47:32.703Z] 00ac8860ef70: Download complete [2021-01-28T02:47:42.910Z] 00ac8860ef70: Pull complete [2021-01-28T02:47:42.910Z] 63d7cb157983: Pull complete [2021-01-28T02:47:42.910Z] b116817d02f9: Pull complete [2021-01-28T02:47:45.547Z] 745a02a5169b: Pull complete [2021-01-28T02:47:45.822Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T02:47:45.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T02:47:45.822Z] ---> b7e6874047d6 [2021-01-28T02:47:45.822Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:47:49.254Z] ---> Running in e382d0ce1875 [2021-01-28T02:47:49.254Z] Removing intermediate container e382d0ce1875 [2021-01-28T02:47:49.254Z] ---> 03620fb8f635 [2021-01-28T02:47:49.254Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:47:49.544Z] ---> Running in 58d305bd2c29 [2021-01-28T02:47:52.196Z] Removing intermediate container 58d305bd2c29 [2021-01-28T02:47:52.196Z] ---> dcf223570002 [2021-01-28T02:47:52.196Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T02:47:52.196Z] ---> Running in 7f79526d1e6a [2021-01-28T02:47:53.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T02:47:54.622Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T02:47:56.059Z] OK: 142 MiB in 39 packages [2021-01-28T02:47:57.497Z] Removing intermediate container 7f79526d1e6a [2021-01-28T02:47:57.497Z] ---> d3ba52063ca7 [2021-01-28T02:47:57.497Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T02:47:57.497Z] ---> Running in 201f1323fabe [2021-01-28T02:47:58.097Z] Removing intermediate container 201f1323fabe [2021-01-28T02:47:58.097Z] ---> a36083419d8c [2021-01-28T02:47:58.097Z] Step 7/8 : COPY . . [2021-01-28T02:47:59.534Z] ---> d3a35c9b324d [2021-01-28T02:47:59.534Z] Step 8/8 : RUN go mod download [2021-01-28T02:47:59.534Z] ---> Running in aadcaa605ca7 [2021-01-28T02:48:26.367Z] Removing intermediate container aadcaa605ca7 [2021-01-28T02:48:26.367Z] ---> fd005ed3c1d3 [2021-01-28T02:48:26.367Z] Successfully built fd005ed3c1d3 [2021-01-28T02:48:26.367Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:48:26.715Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T02:48:26.715Z] . [Pipeline] withDockerContainer [2021-01-28T02:48:27.020Z] prd-ubuntu18.04-docker-arm64-4c-16g-23664 does not seem to be running inside a container [2021-01-28T02:48:27.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T02:48:28.613Z] $ docker top 65502e0b47c81335b3bbe667c64e195772f5d07c1b4111af7c3534cb3f6993ff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:48:30.499Z] + go version [2021-01-28T02:48:30.499Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T02:48:30.518Z] $ docker stop --time=1 65502e0b47c81335b3bbe667c64e195772f5d07c1b4111af7c3534cb3f6993ff [2021-01-28T02:48:32.520Z] $ docker rm -f 65502e0b47c81335b3bbe667c64e195772f5d07c1b4111af7c3534cb3f6993ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:48:33.664Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T02:48:33.664Z] . [Pipeline] withDockerContainer [2021-01-28T02:48:33.944Z] prd-ubuntu18.04-docker-arm64-4c-16g-23664 does not seem to be running inside a container [2021-01-28T02:48:34.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T02:48:35.642Z] $ docker top f7a94ddaedfd58b9a8458a871b5891fd91feb0c95353e4d62d33807db746c82a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:48:36.718Z] + make test [2021-01-28T02:48:36.718Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T02:49:03.545Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T02:49:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T02:49:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T02:49:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T02:49:50.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.224s coverage: 19.4% of statements [2021-01-28T02:49:54.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.287s coverage: 97.1% of statements [2021-01-28T02:50:20.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.207s coverage: 9.4% of statements [2021-01-28T02:50:20.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.165s coverage: 21.7% of statements [2021-01-28T02:50:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T02:50:20.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.611s coverage: 43.2% of statements [2021-01-28T02:50:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T02:50:20.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.753s coverage: 68.9% of statements [2021-01-28T02:50:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T02:50:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T02:50:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T02:50:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T02:50:20.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 53.8% of statements [2021-01-28T02:50:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T02:50:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T02:50:20.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.178s coverage: 26.8% of statements [2021-01-28T02:50:20.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.921s coverage: 83.5% of statements [2021-01-28T02:50:20.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.129s coverage: 4.2% of statements [2021-01-28T02:50:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T02:50:20.980Z] GO111MODULE=on go vet ./... [2021-01-28T02:50:53.491Z] gofmt -l . [2021-01-28T02:50:53.491Z] [ "`gofmt -l .`" = "" ] [2021-01-28T02:50:53.491Z] ./bin/test-attribution-txt.sh [2021-01-28T02:50:53.491Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T02:50:53.504Z] $ docker stop --time=1 f7a94ddaedfd58b9a8458a871b5891fd91feb0c95353e4d62d33807db746c82a [2021-01-28T02:50:55.653Z] $ docker rm -f f7a94ddaedfd58b9a8458a871b5891fd91feb0c95353e4d62d33807db746c82a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T02:50:56.805Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T02:50:56.866Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T02:50:57.652Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:50:58.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T02:50:58.673Z] + ls -al . [2021-01-28T02:50:58.674Z] total 252 [2021-01-28T02:50:58.674Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 02:50 . [2021-01-28T02:50:58.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:47 .. [2021-01-28T02:50:58.674Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 02:47 .dockerignore [2021-01-28T02:50:58.674Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 02:47 .git [2021-01-28T02:50:58.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:47 .github [2021-01-28T02:50:58.674Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 02:47 .gitignore [2021-01-28T02:50:58.674Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 02:47 Dockerfile.build [2021-01-28T02:50:58.674Z] -rw-rw-r-- 1 jenkins jenkins 894 Jan 28 02:47 Jenkinsfile [2021-01-28T02:50:58.674Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 02:47 LICENSE [2021-01-28T02:50:58.674Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 02:47 Makefile [2021-01-28T02:50:58.674Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 02:47 README.md [2021-01-28T02:50:58.674Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 02:47 RELEASE-NOTES.txt [2021-01-28T02:50:58.674Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 02:43 VERSION [2021-01-28T02:50:58.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:47 bin [2021-01-28T02:50:58.674Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 02:50 coverage.out [2021-01-28T02:50:58.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:47 example [2021-01-28T02:50:58.674Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 28 02:50 go.mod [2021-01-28T02:50:58.674Z] -rw-r--r-- 1 jenkins jenkins 14101 Jan 28 02:50 go.sum [2021-01-28T02:50:58.674Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 02:47 internal [2021-01-28T02:50:58.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:47 openapi [2021-01-28T02:50:58.674Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 02:47 pkg [2021-01-28T02:50:58.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:47 snap [2021-01-28T02:50:58.674Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:50:59.008Z] + docker build -t 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=e30a7378f0ab6bb06199e456d0048cf1f5d3005d --label arch=arm64 --label version=0.0.0 . [2021-01-28T02:50:59.280Z] Sending build context to Docker daemon 2.72MB [2021-01-28T02:50:59.280Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:50:59.280Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T02:50:59.280Z] ---> fd005ed3c1d3 [2021-01-28T02:50:59.280Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T02:50:59.870Z] ---> Running in f639a9edbffb [2021-01-28T02:51:00.142Z] Removing intermediate container f639a9edbffb [2021-01-28T02:51:00.142Z] ---> 9007e7315bc5 [2021-01-28T02:51:00.142Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T02:51:00.142Z] ---> Running in fd974f001376 [2021-01-28T02:51:00.739Z] Removing intermediate container fd974f001376 [2021-01-28T02:51:00.739Z] ---> f0cc4a5ac202 [2021-01-28T02:51:00.739Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:51:00.739Z] ---> Running in e0e4ae9d07c3 [2021-01-28T02:51:01.342Z] Removing intermediate container e0e4ae9d07c3 [2021-01-28T02:51:01.342Z] ---> ad53e537147f [2021-01-28T02:51:01.342Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:51:01.342Z] ---> Running in 83740c7622fa [2021-01-28T02:51:03.327Z] Removing intermediate container 83740c7622fa [2021-01-28T02:51:03.327Z] ---> d6cee35fd0f6 [2021-01-28T02:51:03.327Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T02:51:03.605Z] ---> Running in 848cc042eef1 [2021-01-28T02:51:04.580Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T02:51:05.555Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T02:51:06.148Z] OK: 142 MiB in 39 packages [2021-01-28T02:51:07.577Z] Removing intermediate container 848cc042eef1 [2021-01-28T02:51:07.577Z] ---> 3ef2c9914d25 [2021-01-28T02:51:07.577Z] Step 8/24 : COPY . . [2021-01-28T02:51:08.554Z] ---> 61598831f7db [2021-01-28T02:51:08.554Z] Step 9/24 : RUN ${MAKE} [2021-01-28T02:51:08.832Z] ---> Running in 4127d8bb56c1 [2021-01-28T02:51:09.810Z] 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-28T02:51:36.638Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T02:51:36.638Z] Removing intermediate container 4127d8bb56c1 [2021-01-28T02:51:36.638Z] ---> 4f242b7e7c5e [2021-01-28T02:51:36.638Z] Step 10/24 : FROM scratch [2021-01-28T02:51:36.638Z] ---> [2021-01-28T02:51:36.638Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:51:36.638Z] ---> Running in de5ae8a398fa [2021-01-28T02:51:36.911Z] Removing intermediate container de5ae8a398fa [2021-01-28T02:51:36.911Z] ---> 543ffb6aae18 [2021-01-28T02:51:36.911Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T02:51:36.911Z] ---> Running in fde34669a9e6 [2021-01-28T02:51:37.506Z] Removing intermediate container fde34669a9e6 [2021-01-28T02:51:37.507Z] ---> 6be03e466229 [2021-01-28T02:51:37.507Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T02:51:37.507Z] ---> Running in d0e1a7dd073b [2021-01-28T02:51:37.780Z] Removing intermediate container d0e1a7dd073b [2021-01-28T02:51:37.780Z] ---> 72754b1c8a8d [2021-01-28T02:51:37.780Z] Step 14/24 : WORKDIR / [2021-01-28T02:51:38.053Z] ---> Running in 578d537d0ca9 [2021-01-28T02:51:38.330Z] Removing intermediate container 578d537d0ca9 [2021-01-28T02:51:38.330Z] ---> ce70d760c250 [2021-01-28T02:51:38.330Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T02:51:39.832Z] ---> 4bb5774e7c07 [2021-01-28T02:51:39.832Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T02:51:40.426Z] ---> 46cd57e9f065 [2021-01-28T02:51:40.426Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T02:51:41.021Z] ---> 5b71e800af3f [2021-01-28T02:51:41.021Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T02:51:41.612Z] ---> 8db9187f4ed6 [2021-01-28T02:51:41.612Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T02:51:42.207Z] ---> f7ad3aa30eab [2021-01-28T02:51:42.207Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T02:51:42.481Z] ---> Running in 9f5190f146ed [2021-01-28T02:51:42.754Z] Removing intermediate container 9f5190f146ed [2021-01-28T02:51:42.754Z] ---> bb3353a67076 [2021-01-28T02:51:42.754Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T02:51:43.025Z] ---> Running in cbf6e6b92804 [2021-01-28T02:51:43.295Z] Removing intermediate container cbf6e6b92804 [2021-01-28T02:51:43.295Z] ---> e5e72c05b6c4 [2021-01-28T02:51:43.295Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T02:51:43.568Z] ---> Running in ca41bc243504 [2021-01-28T02:51:43.842Z] Removing intermediate container ca41bc243504 [2021-01-28T02:51:43.842Z] ---> f2ff42cd3525 [2021-01-28T02:51:43.842Z] Step 23/24 : LABEL git_sha=e30a7378f0ab6bb06199e456d0048cf1f5d3005d [2021-01-28T02:51:44.122Z] ---> Running in fd828c7717fb [2021-01-28T02:51:44.393Z] Removing intermediate container fd828c7717fb [2021-01-28T02:51:44.393Z] ---> e4b3fb5b23dd [2021-01-28T02:51:44.393Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T02:51:44.666Z] ---> Running in 941dff780000 [2021-01-28T02:51:44.938Z] Removing intermediate container 941dff780000 [2021-01-28T02:51:44.938Z] ---> d02e288d0e6b [2021-01-28T02:51:44.938Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T02:51:44.938Z] Successfully built d02e288d0e6b [2021-01-28T02:51:44.938Z] Successfully tagged 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-28T02:51:46.282Z] provisioning config files... [2021-01-28T02:51:46.291Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5771593515249142254tmp [Pipeline] { [Pipeline] sh [2021-01-28T02:51:46.671Z] + set +x [2021-01-28T02:51:46.671Z] + curl -s https://codecov.io/bash [2021-01-28T02:51:46.671Z] + bash -s -- [2021-01-28T02:51:46.932Z] [2021-01-28T02:51:46.932Z] _____ _ [2021-01-28T02:51:46.932Z] / ____| | | [2021-01-28T02:51:46.932Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T02:51:46.932Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T02:51:46.932Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T02:51:46.932Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T02:51:46.932Z] Bash-20210128-d4071a2 [2021-01-28T02:51:46.932Z] [2021-01-28T02:51:46.932Z] [2021-01-28T02:51:46.932Z] ==> git version 2.24.3 found [2021-01-28T02:51:46.932Z] ==> 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-28T02:51:46.932Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T02:51:46.932Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T02:51:46.932Z] ==> Jenkins CI detected. [2021-01-28T02:51:46.932Z] project root: . [2021-01-28T02:51:46.932Z] --> token set from env [2021-01-28T02:51:46.932Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T02:51:46.932Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T02:51:46.932Z] ==> Python coveragepy not found [2021-01-28T02:51:46.932Z] ==> Searching for coverage reports in: [2021-01-28T02:51:46.932Z] + . [2021-01-28T02:51:46.932Z] -> Found 1 reports [2021-01-28T02:51:46.932Z] ==> Detecting git/mercurial file structure [2021-01-28T02:51:46.932Z] ==> Reading reports [2021-01-28T02:51:46.932Z] + ./coverage.out bytes=136842 [2021-01-28T02:51:46.932Z] ==> Appending adjustments [2021-01-28T02:51:46.932Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T02:51:47.504Z] + Found adjustments [2021-01-28T02:51:47.504Z] ==> Gzipping contents [2021-01-28T02:51:47.504Z] 24K /tmp/codecov.H6pVRt.gz [2021-01-28T02:51:47.504Z] ==> Uploading reports [2021-01-28T02:51:47.504Z] url: https://codecov.io [2021-01-28T02:51:47.504Z] query: branch=PR-725&commit=e30a7378f0ab6bb06199e456d0048cf1f5d3005d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-28T02:51:47.504Z] -> Pinging Codecov [2021-01-28T02:51:47.504Z] https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-725&commit=e30a7378f0ab6bb06199e456d0048cf1f5d3005d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-28T02:51:47.766Z] -> Uploading to [2021-01-28T02:51:47.766Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/e30a7378f0ab6bb06199e456d0048cf1f5d3005d/74cc6fca-e3de-40cf-af54-ceebd601e47a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T025147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=702e80cf654325b058ad37c08958ee270d0390b2990e50dcbc6cc2ebb182239c [2021-01-28T02:51:47.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T02:51:47.766Z] Dload Upload Total Spent Left Speed [2021-01-28T02:51:48.291Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21550 0 0 100 21550 0 53886 --:--:-- --:--:-- --:--:-- 53875 [2021-01-28T02:51:48.291Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e30a7378f0ab6bb06199e456d0048cf1f5d3005d [Pipeline] } [2021-01-28T02:51:48.301Z] 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-28T02:51:50.644Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:51:50.949Z] ---> package-listing.sh [2021-01-28T02:51:50.949Z] ++ facter osfamily [2021-01-28T02:51:50.949Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T02:51:50.949Z] + OS_FAMILY=redhat [2021-01-28T02:51:50.950Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-28T02:51:50.950Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T02:51:50.950Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T02:51:50.950Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T02:51:50.950Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T02:51:50.950Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-28T02:51:50.950Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T02:51:50.950Z] + case "${OS_FAMILY}" in [2021-01-28T02:51:50.950Z] + rpm -qa [2021-01-28T02:51:50.950Z] + sort [2021-01-28T02:51:56.244Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T02:51:56.244Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T02:51:56.244Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T02:51:56.244Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-28T02:51:56.244Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-01-28T02:51:56.244Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-01-28T02:51:56.257Z] 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-28T02:51:56.546Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:51:56.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:51:56.850Z] [2021-01-28T02:51:56.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:51:57.193Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:51:57.193Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T02:51:57.193Z] df20fa9351a1: Pulling fs layer [2021-01-28T02:51:57.193Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T02:51:57.193Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T02:51:57.193Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T02:51:57.193Z] 93b61091891f: Pulling fs layer [2021-01-28T02:51:57.193Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T02:51:57.193Z] 5e14af77c1be: Pulling fs layer [2021-01-28T02:51:57.193Z] 01666e4c0597: Pulling fs layer [2021-01-28T02:51:57.193Z] aa168da1d23b: Pulling fs layer [2021-01-28T02:51:57.193Z] 93b61091891f: Waiting [2021-01-28T02:51:57.193Z] 5e14af77c1be: Waiting [2021-01-28T02:51:57.194Z] 93b9cdb0e59b: Waiting [2021-01-28T02:51:57.194Z] 46f8f816bc3b: Waiting [2021-01-28T02:51:57.194Z] aa168da1d23b: Waiting [2021-01-28T02:51:57.194Z] 36b3adc4ff6f: Verifying Checksum [2021-01-28T02:51:57.194Z] 36b3adc4ff6f: Download complete [2021-01-28T02:51:57.194Z] 46f8f816bc3b: Verifying Checksum [2021-01-28T02:51:57.194Z] 46f8f816bc3b: Download complete [2021-01-28T02:51:57.194Z] df20fa9351a1: Verifying Checksum [2021-01-28T02:51:57.194Z] df20fa9351a1: Download complete [2021-01-28T02:51:57.455Z] 93b9cdb0e59b: Verifying Checksum [2021-01-28T02:51:57.455Z] 93b9cdb0e59b: Download complete [2021-01-28T02:51:57.455Z] 93b61091891f: Verifying Checksum [2021-01-28T02:51:57.455Z] 93b61091891f: Download complete [2021-01-28T02:51:57.455Z] 5e14af77c1be: Verifying Checksum [2021-01-28T02:51:57.455Z] 5e14af77c1be: Download complete [2021-01-28T02:51:57.455Z] 01666e4c0597: Verifying Checksum [2021-01-28T02:51:57.455Z] 01666e4c0597: Download complete [2021-01-28T02:51:57.455Z] df20fa9351a1: Pull complete [2021-01-28T02:51:57.717Z] 36b3adc4ff6f: Pull complete [2021-01-28T02:51:57.978Z] 8ad3a11d3b57: Verifying Checksum [2021-01-28T02:51:57.978Z] 8ad3a11d3b57: Download complete [2021-01-28T02:51:58.559Z] 8ad3a11d3b57: Pull complete [2021-01-28T02:51:58.830Z] 46f8f816bc3b: Pull complete [2021-01-28T02:51:59.780Z] 93b61091891f: Pull complete [2021-01-28T02:51:59.780Z] 93b9cdb0e59b: Pull complete [2021-01-28T02:51:59.780Z] 5e14af77c1be: Pull complete [2021-01-28T02:51:59.780Z] aa168da1d23b: Verifying Checksum [2021-01-28T02:51:59.780Z] aa168da1d23b: Download complete [2021-01-28T02:52:00.042Z] 01666e4c0597: Pull complete [2021-01-28T02:52:06.673Z] aa168da1d23b: Pull complete [2021-01-28T02:52:06.673Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T02:52:06.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:52:06.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T02:52:06.807Z] prd-centos7-docker-4c-2g-23654 does not seem to be running inside a container [2021-01-28T02:52:06.854Z] $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-28T02:52:10.060Z] $ docker top 252ac6f62b20dffa192dd0ec96db0721b7518eb3a58b7b2d8cd8adea9eda8e96 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:52:10.541Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T02:52:10.837Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T02:52:11.131Z] + ls /var/log/sa-host [2021-01-28T02:52:11.131Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T02:52:11.131Z] file_magic: OK [2021-01-28T02:52:11.131Z] HZ: Using current value: 100 [2021-01-28T02:52:11.131Z] file_header: OK [2021-01-28T02:52:11.131Z] 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-28T02:52:11.131Z] Statistics: [2021-01-28T02:52:11.132Z] Hnuu...uuuununununu... [2021-01-28T02:52:11.132Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T02:52:11.132Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T02:52:11.132Z] file_magic: OK [2021-01-28T02:52:11.132Z] HZ: Using current value: 100 [2021-01-28T02:52:11.132Z] file_header: OK [2021-01-28T02:52:11.132Z] 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-28T02:52:11.132Z] Statistics: [2021-01-28T02:52:11.132Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T02:52:11.132Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T02:52:11.328Z] provisioning config files... [2021-01-28T02:52:11.345Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1339467210728255642tmp [Pipeline] { [Pipeline] echo [2021-01-28T02:52:11.494Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:52:11.789Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T02:52:11.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T02:52:11.908Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:52:12.208Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T02:52:12.219Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:52:12.512Z] ---> sudo-logs.sh [2021-01-28T02:52:12.512Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T02:52:12.523Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:52:12.817Z] ---> job-cost.sh [2021-01-28T02:52:12.817Z] lf-activate-venv: SKIPPING [2021-01-28T02:52:12.817Z] INFO: No Stack... [2021-01-28T02:52:13.762Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T02:52:14.337Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T02:52:14.350Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:52:14.642Z] ---> logs-deploy.sh [2021-01-28T02:52:14.642Z] lf-activate-venv: SKIPPING [2021-01-28T02:52:14.642Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/9 [2021-01-28T02:52:14.642Z] INFO: archiving workspace using pattern(s): [2021-01-28T02:52:16.030Z] Archives upload complete. [2021-01-28T02:52:16.292Z] INFO: archiving logs to Nexus