Pull request #728 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cd316ea49cf9d9825da6145ca8d2532e8c2e8a42+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (3134a170af97341800efe3ce64ccc12395fb7c21) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23535 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [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-728 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 Merge succeeded, producing 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed Checking out Revision 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed (PR-728) > 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/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # 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 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 12edb075caf98c30606ec6f896fc87f7cb3d60f9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T00:11:01.676Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-28T00:11:01.980Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T00:11:02.077Z] ========================================================= [2021-01-28T00:11:02.077Z] EdgeX Global Pipelines Version Info [2021-01-28T00:11:02.077Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:11:03.967Z] ------------------- [2021-01-28T00:11:03.967Z] stable info: [2021-01-28T00:11:03.967Z] ------------------- [2021-01-28T00:11:03.967Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:11:03.967Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:11:03.967Z] Message: update stable to v1.0.179 [2021-01-28T00:11:04.546Z] ------------------- [2021-01-28T00:11:04.546Z] experimental info: [2021-01-28T00:11:04.546Z] ------------------- [2021-01-28T00:11:04.546Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:11:04.546Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:11:04.546Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T00:11:04.862Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T00:11:04.965Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T00:11:05.061Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T00:11:05.171Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T00:11:05.288Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T00:11:05.395Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T00:11:05.506Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T00:11:05.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T00:11:05.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T00:11:05.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T00:11:05.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T00:11:06.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T00:11:06.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T00:11:06.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T00:11:06.443Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T00:11:06.558Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:11:06.646Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:11:06.737Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:11:06.829Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T00:11:06.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T00:11:07.073Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T00:11:07.215Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T00:11:07.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T00:11:07.406Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T00:11:07.500Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T00:11:07.619Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T00:11:07.739Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T00:11:07.864Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo [2021-01-28T00:11:07.962Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo [2021-01-28T00:11:08.099Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo [2021-01-28T00:11:08.188Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed [Pipeline] echo [2021-01-28T00:11:08.283Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f85aae [Pipeline] echo [2021-01-28T00:11:08.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:11:08.565Z] provisioning config files... [2021-01-28T00:11:08.590Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config8977536035501827563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:11:08.950Z] ---> docker-login.sh [2021-01-28T00:11:08.950Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:11:09.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:11:09.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:11:09.475Z] Configure a credential helper to remove this warning. See [2021-01-28T00:11:09.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:11:09.475Z] [2021-01-28T00:11:09.475Z] Login Succeeded [2021-01-28T00:11:09.475Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:11:09.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:11:09.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:11:09.743Z] Configure a credential helper to remove this warning. See [2021-01-28T00:11:09.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:11:09.743Z] [2021-01-28T00:11:09.743Z] Login Succeeded [2021-01-28T00:11:09.743Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:11:09.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:11:09.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:11:09.743Z] Configure a credential helper to remove this warning. See [2021-01-28T00:11:09.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:11:09.743Z] [2021-01-28T00:11:09.743Z] Login Succeeded [2021-01-28T00:11:09.743Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:11:10.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:11:10.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:11:10.005Z] Configure a credential helper to remove this warning. See [2021-01-28T00:11:10.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:11:10.005Z] [2021-01-28T00:11:10.005Z] Login Succeeded [2021-01-28T00:11:10.005Z] docker.io [2021-01-28T00:11:10.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:11:10.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:11:10.531Z] Configure a credential helper to remove this warning. See [2021-01-28T00:11:10.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:11:10.531Z] [2021-01-28T00:11:10.531Z] Login Succeeded [2021-01-28T00:11:10.531Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:11:10.564Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:11:11.380Z] + git log --format=format:%s -1 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed [Pipeline] echo [2021-01-28T00:11:11.446Z] GIT_COMMIT: 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo [2021-01-28T00:11:11.499Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:11:12.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:11:12.238Z] [2021-01-28T00:11:12.238Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:11:12.601Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:11:12.601Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T00:11:12.601Z] 31603596830f: Pulling fs layer [2021-01-28T00:11:12.601Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T00:11:12.601Z] 6ca5941a6612: Pulling fs layer [2021-01-28T00:11:12.601Z] ecc8261a40a4: Pulling fs layer [2021-01-28T00:11:12.601Z] ecc8261a40a4: Waiting [2021-01-28T00:11:12.601Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T00:11:12.601Z] 2a8b12db71e7: Download complete [2021-01-28T00:11:12.601Z] 31603596830f: Download complete [2021-01-28T00:11:12.874Z] ecc8261a40a4: Verifying Checksum [2021-01-28T00:11:12.874Z] ecc8261a40a4: Download complete [2021-01-28T00:11:12.874Z] 6ca5941a6612: Verifying Checksum [2021-01-28T00:11:12.874Z] 6ca5941a6612: Download complete [2021-01-28T00:11:13.136Z] 31603596830f: Pull complete [2021-01-28T00:11:13.412Z] 2a8b12db71e7: Pull complete [2021-01-28T00:11:14.378Z] 6ca5941a6612: Pull complete [2021-01-28T00:11:14.378Z] ecc8261a40a4: Pull complete [2021-01-28T00:11:14.378Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T00:11:14.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:11:14.378Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T00:11:14.483Z] prd-centos7-docker-4c-2g-23535 does not seem to be running inside a container [2021-01-28T00:11:14.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T00:11:17.169Z] $ docker top bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T00:11:17.563Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:11:17.563Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:11:17.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:11:17.805Z] $ docker exec bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 ssh-agent [2021-01-28T00:11:17.975Z] SSH_AUTH_SOCK=/tmp/ssh-5eNgRpwV7ZYl/agent.12 [2021-01-28T00:11:17.975Z] SSH_AGENT_PID=17 [2021-01-28T00:11:17.990Z] Running ssh-add (command line suppressed) [2021-01-28T00:11:18.116Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_812925483414640941.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_812925483414640941.key) [2021-01-28T00:11:18.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:11:18.576Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T00:11:18.605Z] $ docker exec --env ******** --env ******** bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 ssh-agent -k [2021-01-28T00:11:18.726Z] unset SSH_AUTH_SOCK; [2021-01-28T00:11:18.726Z] unset SSH_AGENT_PID; [2021-01-28T00:11:18.726Z] echo Agent pid 17 killed; [2021-01-28T00:11:18.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T00:11:18.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:11:18.966Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:11:19.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:11:19.154Z] $ docker exec bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 ssh-agent [2021-01-28T00:11:19.326Z] SSH_AUTH_SOCK=/tmp/ssh-ZnGinXa7kOGW/agent.46 [2021-01-28T00:11:19.326Z] SSH_AGENT_PID=51 [2021-01-28T00:11:19.335Z] Running ssh-add (command line suppressed) [2021-01-28T00:11:19.464Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_286290009935467286.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_286290009935467286.key) [2021-01-28T00:11:19.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:11:19.867Z] + git semver init [2021-01-28T00:11:19.867Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T00:11:19.867Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git [2021-01-28T00:11:19.867Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 [2021-01-28T00:11:19.867Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T00:11:19.867Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T00:11:19.867Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T00:11:19.867Z] # $SEMVER_BRANCH = PR-728 [2021-01-28T00:11:19.867Z] # $SEMVER_TEMP = /tmp/semver-794690751 [2021-01-28T00:11:19.867Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T00:11:20.449Z] # '/tmp/semver-794690751' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' [2021-01-28T00:11:20.718Z] # -> Force: false [2021-01-28T00:11:20.718Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } [2021-01-28T00:11:20.738Z] $ docker exec --env ******** --env ******** bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 ssh-agent -k [2021-01-28T00:11:20.859Z] unset SSH_AUTH_SOCK; [2021-01-28T00:11:20.860Z] unset SSH_AGENT_PID; [2021-01-28T00:11:20.860Z] echo Agent pid 51 killed; [2021-01-28T00:11:20.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T00:11:21.385Z] + git semver [Pipeline] } [2021-01-28T00:11:21.404Z] $ docker stop --time=1 bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 [2021-01-28T00:11:22.745Z] $ docker rm -f bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:11:23.219Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T00:11:23.838Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T00:11:23.842Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-28T00:11:39.405Z] Still waiting to schedule task [2021-01-28T00:11:39.405Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-23531’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23526’ is offline; ‘prd-centos7-docker-4c-2g-23528’ is offline; ‘prd-centos7-docker-4c-2g-23537’ is offline; ‘prd-centos7-docker-4c-2g-23539’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23538’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23529’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-28T00:11:39.409Z] Still waiting to schedule task [2021-01-28T00:11:39.409Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-28T00:12:37.649Z] Running on prd-centos7-docker-4c-2g-23540 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws [2021-01-28T00:12:37.706Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2021-01-28T00:12:40.387Z] using credential edgex-jenkins-ssh [2021-01-28T00:12:40.443Z] Cloning the remote Git repository [2021-01-28T00:12:40.472Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:12:40.535Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2021-01-28T00:12:40.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:12:40.613Z] > git --version # timeout=10 [2021-01-28T00:12:40.622Z] > git --version # 'git version 2.24.3' [2021-01-28T00:12:40.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:12:40.649Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:12:42.195Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:12:42.206Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:12:42.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:12:42.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:12:42.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:12:42.235Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:12:42.568Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [2021-01-28T00:12:42.692Z] Merge succeeded, producing af8faaf87db4c07c32879cf2e0c668d2d3dae46e [2021-01-28T00:12:42.692Z] Checking out Revision af8faaf87db4c07c32879cf2e0c668d2d3dae46e (PR-728) [2021-01-28T00:12:42.578Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:12:42.583Z] > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # timeout=10 [2021-01-28T00:12:42.632Z] > git remote # timeout=10 [2021-01-28T00:12:42.639Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T00:12:42.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:12:42.649Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:12:42.686Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T00:12:42.697Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:12:42.707Z] > git checkout -f af8faaf87db4c07c32879cf2e0c668d2d3dae46e # timeout=10 [2021-01-28T00:12:46.362Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T00:12:46.372Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:12:46.367Z] > git rev-list --no-walk 12edb075caf98c30606ec6f896fc87f7cb3d60f9 # timeout=10 [2021-01-28T00:12:47.904Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:12:48.234Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:12:48.534Z] + sudo service docker restart [2021-01-28T00:12:48.534Z] + true [2021-01-28T00:12:48.534Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:12:50.006Z] provisioning config files... [2021-01-28T00:12:50.042Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/12@tmp/config1571973954251398830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:12:50.409Z] ---> docker-login.sh [2021-01-28T00:12:50.410Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:12:50.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:50.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:50.678Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:50.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:50.678Z] [2021-01-28T00:12:50.678Z] Login Succeeded [2021-01-28T00:12:50.942Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:12:50.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:51.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:51.205Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:51.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:51.205Z] [2021-01-28T00:12:51.205Z] Login Succeeded [2021-01-28T00:12:51.205Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:12:51.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:51.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:51.205Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:51.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:51.205Z] [2021-01-28T00:12:51.205Z] Login Succeeded [2021-01-28T00:12:51.205Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:12:51.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:51.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:51.470Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:51.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:51.470Z] [2021-01-28T00:12:51.470Z] Login Succeeded [2021-01-28T00:12:51.470Z] docker.io [2021-01-28T00:12:51.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:51.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:51.733Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:51.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:51.733Z] [2021-01-28T00:12:51.733Z] Login Succeeded [2021-01-28T00:12:51.733Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:12:51.772Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:12:52.158Z] ========================================================= [2021-01-28T00:12:52.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T00:12:52.158Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:12:52.522Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-28T00:12:52.786Z] Sending build context to Docker daemon 2.57MB [2021-01-28T00:12:52.786Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:12:52.786Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:12:52.786Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T00:12:52.786Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T00:12:52.786Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T00:12:52.786Z] de9db76c5a1d: Pulling fs layer [2021-01-28T00:12:52.786Z] bca2f99d35d6: Pulling fs layer [2021-01-28T00:12:52.786Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T00:12:52.786Z] 7c6f9722023f: Pulling fs layer [2021-01-28T00:12:52.786Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T00:12:52.786Z] 93359f2a8cfa: Waiting [2021-01-28T00:12:52.786Z] 7c6f9722023f: Waiting [2021-01-28T00:12:52.786Z] bca2f99d35d6: Waiting [2021-01-28T00:12:52.786Z] a35cf1a2eb13: Waiting [2021-01-28T00:12:52.786Z] de9db76c5a1d: Verifying Checksum [2021-01-28T00:12:52.786Z] de9db76c5a1d: Download complete [2021-01-28T00:12:53.049Z] 0ef7d3d256c8: Verifying Checksum [2021-01-28T00:12:53.049Z] 0ef7d3d256c8: Download complete [2021-01-28T00:12:53.049Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T00:12:53.049Z] 93359f2a8cfa: Download complete [2021-01-28T00:12:53.049Z] 7c6f9722023f: Verifying Checksum [2021-01-28T00:12:53.049Z] 7c6f9722023f: Download complete [2021-01-28T00:12:53.626Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T00:12:53.626Z] 188c0c94c7c5: Download complete [2021-01-28T00:12:53.891Z] 188c0c94c7c5: Pull complete [2021-01-28T00:12:54.162Z] 0ef7d3d256c8: Pull complete [2021-01-28T00:12:54.162Z] de9db76c5a1d: Pull complete [2021-01-28T00:12:55.138Z] a35cf1a2eb13: Download complete [2021-01-28T00:12:56.090Z] bca2f99d35d6: Verifying Checksum [2021-01-28T00:12:56.090Z] bca2f99d35d6: Download complete [2021-01-28T00:13:01.415Z] bca2f99d35d6: Pull complete [2021-01-28T00:13:01.415Z] 93359f2a8cfa: Pull complete [2021-01-28T00:13:01.415Z] 7c6f9722023f: Pull complete [2021-01-28T00:13:05.674Z] a35cf1a2eb13: Pull complete [2021-01-28T00:13:05.674Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T00:13:05.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T00:13:05.674Z] ---> a62c8e92a672 [2021-01-28T00:13:05.674Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:13:05.674Z] ---> Running in db3671265971 [2021-01-28T00:13:05.944Z] Removing intermediate container db3671265971 [2021-01-28T00:13:05.944Z] ---> a7ae8d456b62 [2021-01-28T00:13:05.944Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:13:05.944Z] ---> Running in 6d876a5b2ddf [2021-01-28T00:13:07.348Z] Removing intermediate container 6d876a5b2ddf [2021-01-28T00:13:07.348Z] ---> 6d3016f30044 [2021-01-28T00:13:07.348Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:13:07.348Z] ---> Running in 02aa5f65fb2d [2021-01-28T00:13:07.612Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:13:08.561Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:13:09.140Z] OK: 166 MiB in 39 packages [2021-01-28T00:13:09.718Z] Removing intermediate container 02aa5f65fb2d [2021-01-28T00:13:09.718Z] ---> b136a93e3ad2 [2021-01-28T00:13:09.718Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:13:09.718Z] ---> Running in 8ab410c4d4e4 [2021-01-28T00:13:09.718Z] Removing intermediate container 8ab410c4d4e4 [2021-01-28T00:13:09.718Z] ---> 527d79584f44 [2021-01-28T00:13:09.718Z] Step 7/8 : COPY . . [2021-01-28T00:13:11.123Z] ---> 8baf4f30f481 [2021-01-28T00:13:11.123Z] Step 8/8 : RUN go mod download [2021-01-28T00:13:11.123Z] ---> Running in 65feabae93c9 [2021-01-28T00:13:29.390Z] Removing intermediate container 65feabae93c9 [2021-01-28T00:13:29.390Z] ---> 3d4a41c0f58b [2021-01-28T00:13:29.653Z] Successfully built 3d4a41c0f58b [2021-01-28T00:13:29.653Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:13:29.975Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:13:29.975Z] . [Pipeline] withDockerContainer [2021-01-28T00:13:30.114Z] prd-centos7-docker-4c-2g-23540 does not seem to be running inside a container [2021-01-28T00:13:30.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T00:13:30.972Z] $ docker top e5372487b5e0ec1415dd118cb709fedb399e7811522a80f5d2718e49bbf40b59 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:13:31.529Z] + go version [2021-01-28T00:13:31.529Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T00:13:31.553Z] $ docker stop --time=1 e5372487b5e0ec1415dd118cb709fedb399e7811522a80f5d2718e49bbf40b59 [2021-01-28T00:13:33.561Z] $ docker rm -f e5372487b5e0ec1415dd118cb709fedb399e7811522a80f5d2718e49bbf40b59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:13:34.451Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:13:34.451Z] . [Pipeline] withDockerContainer [2021-01-28T00:13:34.563Z] prd-centos7-docker-4c-2g-23540 does not seem to be running inside a container [2021-01-28T00:13:34.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T00:13:35.388Z] $ docker top f5d8f722c8f59448229913506568f018adceee3b4981047d33b83aee7f044cd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:13:35.905Z] + make test [2021-01-28T00:13:35.905Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:13:44.143Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:13:59.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:13:59.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:13:59.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:13:59.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 19.4% of statements [2021-01-28T00:14:01.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.446s coverage: 97.1% of statements [2021-01-28T00:14:28.009Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23544 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws [2021-01-28T00:14:28.060Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2021-01-28T00:14:33.333Z] using credential edgex-jenkins-ssh [2021-01-28T00:14:33.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 9.4% of statements [2021-01-28T00:14:33.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.064s coverage: 21.7% of statements [2021-01-28T00:14:33.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:14:33.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.223s coverage: 43.2% of statements [2021-01-28T00:14:33.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:14:33.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.270s coverage: 68.9% of statements [2021-01-28T00:14:33.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:14:33.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:14:33.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:14:33.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:14:33.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 53.8% of statements [2021-01-28T00:14:33.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:14:33.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:14:33.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.083s coverage: 26.8% of statements [2021-01-28T00:14:33.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.432s coverage: 83.5% of statements [2021-01-28T00:14:33.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 4.2% of statements [2021-01-28T00:14:33.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:14:33.435Z] GO111MODULE=on go vet ./... [2021-01-28T00:14:33.454Z] Cloning the remote Git repository [2021-01-28T00:14:33.511Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:14:33.611Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2021-01-28T00:14:33.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:14:33.701Z] > git --version # timeout=10 [2021-01-28T00:14:33.718Z] > git --version # 'git version 2.17.1' [2021-01-28T00:14:33.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:14:33.790Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:14:35.622Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 [2021-01-28T00:14:34.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:14:35.018Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:14:35.051Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:14:35.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:14:35.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:14:35.140Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:14:35.641Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:14:35.658Z] > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # timeout=10 [2021-01-28T00:14:35.913Z] Merge succeeded, producing b2a97819a2da009d95df3c10528f93f8f52a9fa8 [2021-01-28T00:14:35.913Z] Checking out Revision b2a97819a2da009d95df3c10528f93f8f52a9fa8 (PR-728) [2021-01-28T00:14:35.761Z] > git remote # timeout=10 [2021-01-28T00:14:35.781Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T00:14:35.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:14:35.806Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:14:35.898Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T00:14:35.919Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:14:35.937Z] > git checkout -f b2a97819a2da009d95df3c10528f93f8f52a9fa8 # timeout=10 [2021-01-28T00:14:40.132Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T00:14:40.140Z] gofmt -l . [2021-01-28T00:14:40.141Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:14:40.154Z] First time build. Skipping changelog. [2021-01-28T00:14:40.404Z] ./bin/test-attribution-txt.sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:14:41.001Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:14:41.345Z] $ docker stop --time=1 f5d8f722c8f59448229913506568f018adceee3b4981047d33b83aee7f044cd7 [2021-01-28T00:14:40.140Z] > git rev-list --no-walk 12edb075caf98c30606ec6f896fc87f7cb3d60f9 # timeout=10 [2021-01-28T00:14:41.614Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-01-28T00:14:43.289Z] $ docker rm -f f5d8f722c8f59448229913506568f018adceee3b4981047d33b83aee7f044cd7 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-01-28T00:14:43.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:14:44.034Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:14:44.355Z] Stashed 1 file(s) [Pipeline] } [2021-01-28T00:14:44.381Z] + sudo service docker restart [2021-01-28T00:14:44.381Z] + true [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T00:14:45.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:14:45.841Z] + ls -al . [2021-01-28T00:14:45.841Z] total 216 [2021-01-28T00:14:45.841Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 00:14 . [2021-01-28T00:14:45.841Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 28 00:12 .. [2021-01-28T00:14:45.841Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 00:12 bin [2021-01-28T00:14:45.841Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 00:14 coverage.out [2021-01-28T00:14:45.841Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 00:12 Dockerfile.build [2021-01-28T00:14:45.841Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 00:12 .dockerignore [2021-01-28T00:14:45.841Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 00:12 example [2021-01-28T00:14:45.841Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 00:12 .git [2021-01-28T00:14:45.841Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 00:12 .github [2021-01-28T00:14:45.841Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 00:12 .gitignore [2021-01-28T00:14:45.841Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 28 00:14 go.mod [2021-01-28T00:14:45.841Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 28 00:14 go.sum [2021-01-28T00:14:45.841Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 00:12 internal [2021-01-28T00:14:45.841Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 00:12 Jenkinsfile [2021-01-28T00:14:45.841Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 00:12 LICENSE [2021-01-28T00:14:45.841Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 00:12 Makefile [2021-01-28T00:14:45.841Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 00:12 openapi [2021-01-28T00:14:45.841Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 00:12 pkg [2021-01-28T00:14:45.841Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 00:12 README.md [2021-01-28T00:14:45.841Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 00:12 RELEASE-NOTES.txt [2021-01-28T00:14:45.841Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 00:12 snap [2021-01-28T00:14:45.841Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 00:11 VERSION [2021-01-28T00:14:45.841Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 00:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:14:46.145Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed --label arch=amd64 --label version=0.0.0 . [2021-01-28T00:14:46.407Z] Sending build context to Docker daemon 2.707MB [2021-01-28T00:14:46.407Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:14:46.407Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:14:46.407Z] ---> 3d4a41c0f58b [2021-01-28T00:14:46.407Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:14:46.980Z] ---> Running in 9d65cabbb157 [2021-01-28T00:14:46.980Z] Removing intermediate container 9d65cabbb157 [2021-01-28T00:14:46.980Z] ---> 9b83176d6a16 [2021-01-28T00:14:46.980Z] Step 4/24 : WORKDIR /device-sdk-go [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:14:47.094Z] provisioning config files... [2021-01-28T00:14:47.135Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/12@tmp/config4231192584206570675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:14:47.242Z] ---> Running in 6cab4ec0b540 [2021-01-28T00:14:47.242Z] Removing intermediate container 6cab4ec0b540 [2021-01-28T00:14:47.242Z] ---> 8b3691a91e39 [2021-01-28T00:14:47.242Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:14:47.509Z] ---> Running in 3ba054037cff [2021-01-28T00:14:47.509Z] Removing intermediate container 3ba054037cff [2021-01-28T00:14:47.509Z] ---> 2a325bd91363 [2021-01-28T00:14:47.509Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:14:47.509Z] ---> Running in acce54f62e47 [2021-01-28T00:14:47.535Z] ---> docker-login.sh [2021-01-28T00:14:47.536Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:14:48.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:48.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:48.732Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:48.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:48.732Z] [2021-01-28T00:14:48.732Z] Login Succeeded [2021-01-28T00:14:48.732Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:14:48.905Z] Removing intermediate container acce54f62e47 [2021-01-28T00:14:48.905Z] ---> 9e9dd24e1bb5 [2021-01-28T00:14:48.905Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T00:14:48.905Z] ---> Running in 9c68b86a2d65 [2021-01-28T00:14:49.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:49.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:49.005Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:49.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:49.005Z] [2021-01-28T00:14:49.005Z] Login Succeeded [2021-01-28T00:14:49.005Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:14:49.169Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:14:49.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:49.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:49.557Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:49.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:49.557Z] [2021-01-28T00:14:49.557Z] Login Succeeded [2021-01-28T00:14:49.557Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:14:49.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:50.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:50.108Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:50.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:50.108Z] [2021-01-28T00:14:50.108Z] Login Succeeded [2021-01-28T00:14:50.108Z] docker.io [2021-01-28T00:14:50.120Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:14:50.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:50.382Z] OK: 166 MiB in 39 packages [2021-01-28T00:14:50.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:50.654Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:50.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:50.654Z] [2021-01-28T00:14:50.654Z] Login Succeeded [2021-01-28T00:14:50.654Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:14:50.672Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-28T00:14:50.958Z] Removing intermediate container 9c68b86a2d65 [2021-01-28T00:14:50.958Z] ---> 322cdf196841 [2021-01-28T00:14:50.958Z] Step 8/24 : COPY . . [Pipeline] echo [2021-01-28T00:14:51.120Z] ========================================================= [2021-01-28T00:14:51.120Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T00:14:51.120Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:14:51.520Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-28T00:14:51.902Z] ---> 1a06790c7586 [2021-01-28T00:14:51.902Z] Step 9/24 : RUN ${MAKE} [2021-01-28T00:14:52.134Z] Sending build context to Docker daemon 2.567MB [2021-01-28T00:14:52.134Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:14:52.134Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:14:52.134Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T00:14:52.134Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T00:14:52.134Z] a4357932f1b6: Pulling fs layer [2021-01-28T00:14:52.134Z] 18c013af1878: Pulling fs layer [2021-01-28T00:14:52.134Z] 00ac8860ef70: Pulling fs layer [2021-01-28T00:14:52.134Z] 63d7cb157983: Pulling fs layer [2021-01-28T00:14:52.134Z] b116817d02f9: Pulling fs layer [2021-01-28T00:14:52.134Z] 745a02a5169b: Pulling fs layer [2021-01-28T00:14:52.134Z] 63d7cb157983: Waiting [2021-01-28T00:14:52.134Z] b116817d02f9: Waiting [2021-01-28T00:14:52.134Z] 745a02a5169b: Waiting [2021-01-28T00:14:52.134Z] 18c013af1878: Verifying Checksum [2021-01-28T00:14:52.134Z] 18c013af1878: Download complete [2021-01-28T00:14:52.134Z] a4357932f1b6: Verifying Checksum [2021-01-28T00:14:52.134Z] a4357932f1b6: Download complete [2021-01-28T00:14:52.134Z] 63d7cb157983: Verifying Checksum [2021-01-28T00:14:52.134Z] 63d7cb157983: Download complete [2021-01-28T00:14:52.134Z] b116817d02f9: Verifying Checksum [2021-01-28T00:14:52.134Z] b116817d02f9: Download complete [2021-01-28T00:14:52.134Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T00:14:52.134Z] 5f621e34cdf4: Download complete [2021-01-28T00:14:52.170Z] ---> Running in 4264896b7dc5 [2021-01-28T00:14:52.748Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-28T00:14:53.141Z] 5f621e34cdf4: Pull complete [2021-01-28T00:14:53.743Z] a4357932f1b6: Pull complete [2021-01-28T00:14:54.025Z] 18c013af1878: Pull complete [2021-01-28T00:14:54.624Z] 745a02a5169b: Verifying Checksum [2021-01-28T00:14:54.624Z] 745a02a5169b: Download complete [2021-01-28T00:14:55.611Z] 00ac8860ef70: Verifying Checksum [2021-01-28T00:14:55.611Z] 00ac8860ef70: Download complete [2021-01-28T00:15:01.014Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T00:15:04.344Z] Removing intermediate container 4264896b7dc5 [2021-01-28T00:15:04.344Z] ---> e78015644e1e [2021-01-28T00:15:04.344Z] Step 10/24 : FROM scratch [2021-01-28T00:15:04.344Z] ---> [2021-01-28T00:15:04.344Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:15:04.344Z] ---> Running in f58d16fbb08c [2021-01-28T00:15:04.344Z] Removing intermediate container f58d16fbb08c [2021-01-28T00:15:04.344Z] ---> 00fb52ea425c [2021-01-28T00:15:04.344Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T00:15:04.344Z] ---> Running in 080da7aa763b [2021-01-28T00:15:04.344Z] Removing intermediate container 080da7aa763b [2021-01-28T00:15:04.344Z] ---> 65ad3c5dbb66 [2021-01-28T00:15:04.344Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T00:15:04.344Z] ---> Running in 1dd9d03f6fd2 [2021-01-28T00:15:04.606Z] Removing intermediate container 1dd9d03f6fd2 [2021-01-28T00:15:04.606Z] ---> 467edc823dcc [2021-01-28T00:15:04.606Z] Step 14/24 : WORKDIR / [2021-01-28T00:15:04.606Z] ---> Running in 0c5378f9aa70 [2021-01-28T00:15:04.868Z] Removing intermediate container 0c5378f9aa70 [2021-01-28T00:15:04.868Z] ---> cd04a15bd7e3 [2021-01-28T00:15:04.868Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T00:15:05.129Z] ---> 83812bcb791f [2021-01-28T00:15:05.129Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T00:15:05.397Z] ---> 0ded47909822 [2021-01-28T00:15:05.397Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T00:15:05.660Z] ---> 69a8a39e5124 [2021-01-28T00:15:05.660Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T00:15:05.951Z] ---> ab4af8c488ed [2021-01-28T00:15:05.951Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T00:15:06.217Z] ---> 9ce58e7776df [2021-01-28T00:15:06.217Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T00:15:06.217Z] ---> Running in 61db4261610d [2021-01-28T00:15:06.217Z] Removing intermediate container 61db4261610d [2021-01-28T00:15:06.217Z] ---> 2ee78e6009cc [2021-01-28T00:15:06.217Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T00:15:06.480Z] ---> Running in 5bbc848973e4 [2021-01-28T00:15:06.480Z] Removing intermediate container 5bbc848973e4 [2021-01-28T00:15:06.480Z] ---> 9b81930e39b3 [2021-01-28T00:15:06.480Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T00:15:06.480Z] ---> Running in 1606d6a3116d [2021-01-28T00:15:06.744Z] Removing intermediate container 1606d6a3116d [2021-01-28T00:15:06.744Z] ---> 235479c2b34c [2021-01-28T00:15:06.744Z] Step 23/24 : LABEL git_sha=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed [2021-01-28T00:15:06.744Z] ---> Running in 89b09ddd57f1 [2021-01-28T00:15:07.005Z] Removing intermediate container 89b09ddd57f1 [2021-01-28T00:15:07.005Z] ---> 95c41f581674 [2021-01-28T00:15:07.005Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T00:15:07.005Z] ---> Running in fc9d6751a608 [2021-01-28T00:15:07.267Z] Removing intermediate container fc9d6751a608 [2021-01-28T00:15:07.267Z] ---> 9cee9fd4f4de [2021-01-28T00:15:07.267Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T00:15:07.267Z] Successfully built 9cee9fd4f4de [2021-01-28T00:15:07.267Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2021-01-28T00:15:08.038Z] 00ac8860ef70: Pull complete [2021-01-28T00:15:08.038Z] 63d7cb157983: Pull complete [2021-01-28T00:15:08.038Z] b116817d02f9: Pull complete [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-28T00:15:10.700Z] 745a02a5169b: Pull complete [2021-01-28T00:15:10.700Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T00:15:10.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T00:15:10.700Z] ---> b7e6874047d6 [2021-01-28T00:15:10.700Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:15:13.354Z] ---> Running in 98bf83a5e10f [2021-01-28T00:15:13.628Z] Removing intermediate container 98bf83a5e10f [2021-01-28T00:15:13.628Z] ---> 32d0a89e4b79 [2021-01-28T00:15:13.628Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:15:13.903Z] ---> Running in 66ffdc0f6f7e [2021-01-28T00:15:16.530Z] Removing intermediate container 66ffdc0f6f7e [2021-01-28T00:15:16.530Z] ---> c24a064830f0 [2021-01-28T00:15:16.530Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:15:16.530Z] ---> Running in 353e9115b7ce [2021-01-28T00:15:17.515Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T00:15:18.498Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T00:15:19.925Z] OK: 142 MiB in 39 packages [2021-01-28T00:15:20.908Z] Removing intermediate container 353e9115b7ce [2021-01-28T00:15:20.908Z] ---> d88edee695c8 [2021-01-28T00:15:20.908Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:15:21.185Z] ---> Running in d20941d554da [2021-01-28T00:15:21.780Z] Removing intermediate container d20941d554da [2021-01-28T00:15:21.780Z] ---> a8bec8b13ce2 [2021-01-28T00:15:21.780Z] Step 7/8 : COPY . . [2021-01-28T00:15:22.765Z] ---> 284608931d5e [2021-01-28T00:15:22.765Z] Step 8/8 : RUN go mod download [2021-01-28T00:15:23.038Z] ---> Running in ae6d3b79c4eb [2021-01-28T00:15:45.190Z] Removing intermediate container ae6d3b79c4eb [2021-01-28T00:15:45.190Z] ---> c0ae28028a9e [2021-01-28T00:15:45.190Z] Successfully built c0ae28028a9e [2021-01-28T00:15:45.190Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:15:45.534Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:15:45.534Z] . [Pipeline] withDockerContainer [2021-01-28T00:15:45.820Z] prd-ubuntu18.04-docker-arm64-4c-16g-23544 does not seem to be running inside a container [2021-01-28T00:15:45.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T00:15:47.402Z] $ docker top f9491957ed2904d95ff0a62c4c88b4f58c2be6c9fef7054eacb529d2826d446a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:15:48.428Z] + go version [2021-01-28T00:15:48.429Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T00:15:48.453Z] $ docker stop --time=1 f9491957ed2904d95ff0a62c4c88b4f58c2be6c9fef7054eacb529d2826d446a [2021-01-28T00:15:50.377Z] $ docker rm -f f9491957ed2904d95ff0a62c4c88b4f58c2be6c9fef7054eacb529d2826d446a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:15:51.650Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:15:51.650Z] . [Pipeline] withDockerContainer [2021-01-28T00:15:51.912Z] prd-ubuntu18.04-docker-arm64-4c-16g-23544 does not seem to be running inside a container [2021-01-28T00:15:52.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T00:15:53.530Z] $ docker top 31f7020d7667a55a8ec8e8f2e3b429616e697c757b530facac0d2c664f2c66f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:15:54.564Z] + make test [2021-01-28T00:15:54.564Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:16:16.773Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:16:55.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:16:55.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:16:55.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:16:56.404Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.180s coverage: 19.4% of statements [2021-01-28T00:17:03.147Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.169s coverage: 97.1% of statements [2021-01-28T00:17:29.982Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.137s coverage: 9.4% of statements [2021-01-28T00:17:29.982Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.132s coverage: 21.7% of statements [2021-01-28T00:17:29.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:17:29.982Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.603s coverage: 43.2% of statements [2021-01-28T00:17:29.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:17:29.982Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.784s coverage: 68.9% of statements [2021-01-28T00:17:29.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:17:29.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:17:29.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:17:29.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:17:29.982Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 53.8% of statements [2021-01-28T00:17:29.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:17:29.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:17:29.982Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.168s coverage: 26.8% of statements [2021-01-28T00:17:29.982Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.807s coverage: 83.5% of statements [2021-01-28T00:17:29.982Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 4.2% of statements [2021-01-28T00:17:29.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:17:29.982Z] GO111MODULE=on go vet ./... [2021-01-28T00:18:03.501Z] gofmt -l . [2021-01-28T00:18:03.501Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:18:03.501Z] ./bin/test-attribution-txt.sh [2021-01-28T00:18:03.778Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:18:04.397Z] $ docker stop --time=1 31f7020d7667a55a8ec8e8f2e3b429616e697c757b530facac0d2c664f2c66f5 [2021-01-28T00:18:06.697Z] $ docker rm -f 31f7020d7667a55a8ec8e8f2e3b429616e697c757b530facac0d2c664f2c66f5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:18:07.788Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:18:07.851Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T00:18:08.746Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:18:09.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:18:09.898Z] + ls -al . [2021-01-28T00:18:09.898Z] total 252 [2021-01-28T00:18:09.898Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 00:18 . [2021-01-28T00:18:09.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:14 .. [2021-01-28T00:18:09.898Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 00:14 .dockerignore [2021-01-28T00:18:09.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 00:14 .git [2021-01-28T00:18:09.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:14 .github [2021-01-28T00:18:09.898Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 00:14 .gitignore [2021-01-28T00:18:09.898Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 00:14 Dockerfile.build [2021-01-28T00:18:09.898Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 00:14 Jenkinsfile [2021-01-28T00:18:09.898Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 00:14 LICENSE [2021-01-28T00:18:09.898Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 00:14 Makefile [2021-01-28T00:18:09.898Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 00:14 README.md [2021-01-28T00:18:09.898Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 00:14 RELEASE-NOTES.txt [2021-01-28T00:18:09.898Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 00:11 VERSION [2021-01-28T00:18:09.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:14 bin [2021-01-28T00:18:09.898Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 00:17 coverage.out [2021-01-28T00:18:09.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:14 example [2021-01-28T00:18:09.898Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 28 00:18 go.mod [2021-01-28T00:18:09.898Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 28 00:18 go.sum [2021-01-28T00:18:09.898Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 00:14 internal [2021-01-28T00:18:09.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:14 openapi [2021-01-28T00:18:09.898Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 00:14 pkg [2021-01-28T00:18:09.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:14 snap [2021-01-28T00:18:09.898Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 00:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:18:10.261Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed --label arch=arm64 --label version=0.0.0 . [2021-01-28T00:18:10.869Z] Sending build context to Docker daemon 2.705MB [2021-01-28T00:18:10.869Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:18:10.869Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:18:10.869Z] ---> c0ae28028a9e [2021-01-28T00:18:10.869Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:18:11.148Z] ---> Running in 2393c290796b [2021-01-28T00:18:11.743Z] Removing intermediate container 2393c290796b [2021-01-28T00:18:11.744Z] ---> 90a2dbb4cb96 [2021-01-28T00:18:11.744Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T00:18:11.744Z] ---> Running in 92c478dc40f1 [2021-01-28T00:18:12.348Z] Removing intermediate container 92c478dc40f1 [2021-01-28T00:18:12.348Z] ---> 6941c3581037 [2021-01-28T00:18:12.348Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:18:12.348Z] ---> Running in cd28892f2904 [2021-01-28T00:18:12.944Z] Removing intermediate container cd28892f2904 [2021-01-28T00:18:12.944Z] ---> 8baecbbf9336 [2021-01-28T00:18:12.944Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:18:12.944Z] ---> Running in fe698e95a8a5 [2021-01-28T00:18:15.558Z] Removing intermediate container fe698e95a8a5 [2021-01-28T00:18:15.558Z] ---> 6ff0dd201ac1 [2021-01-28T00:18:15.558Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T00:18:15.558Z] ---> Running in 86bb7bd2f35a [2021-01-28T00:18:16.557Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T00:18:17.149Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T00:18:17.743Z] OK: 142 MiB in 39 packages [2021-01-28T00:18:19.178Z] Removing intermediate container 86bb7bd2f35a [2021-01-28T00:18:19.178Z] ---> 696489078338 [2021-01-28T00:18:19.178Z] Step 8/24 : COPY . . [2021-01-28T00:18:20.157Z] ---> 60ff50c06dc6 [2021-01-28T00:18:20.157Z] Step 9/24 : RUN ${MAKE} [2021-01-28T00:18:20.430Z] ---> Running in ef87114a999d [2021-01-28T00:18:21.883Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-28T00:18:48.709Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T00:18:48.982Z] Removing intermediate container ef87114a999d [2021-01-28T00:18:48.982Z] ---> 3f238b3f5525 [2021-01-28T00:18:48.982Z] Step 10/24 : FROM scratch [2021-01-28T00:18:48.982Z] ---> [2021-01-28T00:18:48.982Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:18:49.264Z] ---> Running in 5b990bf16855 [2021-01-28T00:18:49.859Z] Removing intermediate container 5b990bf16855 [2021-01-28T00:18:49.859Z] ---> 2275195b4363 [2021-01-28T00:18:49.859Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T00:18:49.859Z] ---> Running in 770bf9a531ed [2021-01-28T00:18:50.131Z] Removing intermediate container 770bf9a531ed [2021-01-28T00:18:50.131Z] ---> cdc41cd2e3dc [2021-01-28T00:18:50.131Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T00:18:50.406Z] ---> Running in a5f0918db6cd [2021-01-28T00:18:50.681Z] Removing intermediate container a5f0918db6cd [2021-01-28T00:18:50.681Z] ---> a6d1f2fa1436 [2021-01-28T00:18:50.681Z] Step 14/24 : WORKDIR / [2021-01-28T00:18:50.955Z] ---> Running in f93b4d8b0e07 [2021-01-28T00:18:51.547Z] Removing intermediate container f93b4d8b0e07 [2021-01-28T00:18:51.547Z] ---> dda5f0a61d6c [2021-01-28T00:18:51.547Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T00:18:52.520Z] ---> a04c04039fbc [2021-01-28T00:18:52.520Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T00:18:53.498Z] ---> 166720903128 [2021-01-28T00:18:53.498Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T00:18:54.090Z] ---> d1209d84484b [2021-01-28T00:18:54.090Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T00:18:54.684Z] ---> c0a6db0fefc8 [2021-01-28T00:18:54.684Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T00:18:55.660Z] ---> 6137df708665 [2021-01-28T00:18:55.660Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T00:18:55.660Z] ---> Running in c38801ea5c79 [2021-01-28T00:18:55.932Z] Removing intermediate container c38801ea5c79 [2021-01-28T00:18:55.932Z] ---> 63fc9e98d4b3 [2021-01-28T00:18:55.932Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T00:18:56.204Z] ---> Running in 4272528a3e91 [2021-01-28T00:18:56.797Z] Removing intermediate container 4272528a3e91 [2021-01-28T00:18:56.797Z] ---> 04f8522afea5 [2021-01-28T00:18:56.797Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T00:18:56.797Z] ---> Running in a37dd3cd87bd [2021-01-28T00:18:57.072Z] Removing intermediate container a37dd3cd87bd [2021-01-28T00:18:57.072Z] ---> c6f46b085864 [2021-01-28T00:18:57.072Z] Step 23/24 : LABEL git_sha=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed [2021-01-28T00:18:57.345Z] ---> Running in 72b7069ef38d [2021-01-28T00:18:57.938Z] Removing intermediate container 72b7069ef38d [2021-01-28T00:18:57.939Z] ---> 92c1adba9b1a [2021-01-28T00:18:57.939Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T00:18:57.939Z] ---> Running in 0aa9efb51270 [2021-01-28T00:18:58.533Z] Removing intermediate container 0aa9efb51270 [2021-01-28T00:18:58.533Z] ---> 86d13f574091 [2021-01-28T00:18:58.533Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T00:18:58.533Z] Successfully built 86d13f574091 [2021-01-28T00:18:58.533Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-28T00:18:59.961Z] provisioning config files... [2021-01-28T00:18:59.973Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config4251768011393821954tmp [Pipeline] { [Pipeline] sh [2021-01-28T00:19:00.424Z] + set +x [2021-01-28T00:19:00.424Z] + curl -s https://codecov.io/bash [2021-01-28T00:19:00.424Z] + bash -s -- [2021-01-28T00:19:00.688Z] [2021-01-28T00:19:00.688Z] _____ _ [2021-01-28T00:19:00.688Z] / ____| | | [2021-01-28T00:19:00.688Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T00:19:00.688Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T00:19:00.688Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T00:19:00.688Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T00:19:00.688Z] Bash-20210115-cec3c92 [2021-01-28T00:19:00.688Z] [2021-01-28T00:19:00.688Z] [2021-01-28T00:19:00.688Z] ==> git version 2.24.3 found [2021-01-28T00:19:00.688Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-28T00:19:00.688Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T00:19:00.688Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T00:19:00.688Z] ==> Jenkins CI detected. [2021-01-28T00:19:00.688Z] project root: . [2021-01-28T00:19:00.688Z] --> token set from env [2021-01-28T00:19:00.688Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T00:19:00.688Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T00:19:00.688Z] ==> Python coveragepy not found [2021-01-28T00:19:00.688Z] ==> Searching for coverage reports in: [2021-01-28T00:19:00.688Z] + . [2021-01-28T00:19:00.688Z] -> Found 1 reports [2021-01-28T00:19:00.688Z] ==> Detecting git/mercurial file structure [2021-01-28T00:19:00.688Z] ==> Reading reports [2021-01-28T00:19:00.688Z] + ./coverage.out bytes=136842 [2021-01-28T00:19:00.688Z] ==> Appending adjustments [2021-01-28T00:19:00.688Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T00:19:01.266Z] + Found adjustments [2021-01-28T00:19:01.266Z] ==> Gzipping contents [2021-01-28T00:19:01.266Z] 24K /tmp/codecov.4hjFAN.gz [2021-01-28T00:19:01.266Z] ==> Uploading reports [2021-01-28T00:19:01.266Z] url: https://codecov.io [2021-01-28T00:19:01.266Z] query: branch=PR-728&commit=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= [2021-01-28T00:19:01.266Z] -> Pinging Codecov [2021-01-28T00:19:01.266Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-728&commit=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= [2021-01-28T00:19:01.846Z] -> Uploading to [2021-01-28T00:19:01.846Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/6f85aae79f154fd1ef9fe61c0d26e972f4d920ed/4ddb6642-7b7a-4d42-9e20-c3f1d7185851.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T001901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4657fe6b043383a1493271eb25a8efb3ef2db23b1fac18d0107b755775a5d8f [2021-01-28T00:19:01.846Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T00:19:01.846Z] Dload Upload Total Spent Left Speed [2021-01-28T00:19:02.108Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21510 0 0 100 21510 0 52323 --:--:-- --:--:-- --:--:-- 52463 [2021-01-28T00:19:02.108Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6f85aae79f154fd1ef9fe61c0d26e972f4d920ed [Pipeline] } [2021-01-28T00:19:02.118Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:04.647Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:05.218Z] ---> package-listing.sh [2021-01-28T00:19:05.218Z] ++ facter osfamily [2021-01-28T00:19:05.218Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T00:19:05.218Z] + OS_FAMILY=redhat [2021-01-28T00:19:05.218Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 [2021-01-28T00:19:05.218Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T00:19:05.218Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T00:19:05.218Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T00:19:05.218Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T00:19:05.218Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' [2021-01-28T00:19:05.218Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T00:19:05.218Z] + case "${OS_FAMILY}" in [2021-01-28T00:19:05.218Z] + rpm -qa [2021-01-28T00:19:05.218Z] + sort [2021-01-28T00:19:10.561Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T00:19:10.561Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T00:19:10.561Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T00:19:10.561Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' [2021-01-28T00:19:10.561Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [2021-01-28T00:19:10.561Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [Pipeline] echo [2021-01-28T00:19:10.586Z] 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-728/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-28T00:19:10.894Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:19:11.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T00:19:11.202Z] [2021-01-28T00:19:11.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:19:11.566Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T00:19:11.566Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T00:19:11.566Z] df20fa9351a1: Pulling fs layer [2021-01-28T00:19:11.566Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T00:19:11.566Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T00:19:11.566Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T00:19:11.566Z] 93b61091891f: Pulling fs layer [2021-01-28T00:19:11.566Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T00:19:11.566Z] 5e14af77c1be: Pulling fs layer [2021-01-28T00:19:11.566Z] 01666e4c0597: Pulling fs layer [2021-01-28T00:19:11.566Z] aa168da1d23b: Pulling fs layer [2021-01-28T00:19:11.566Z] 93b9cdb0e59b: Waiting [2021-01-28T00:19:11.566Z] 5e14af77c1be: Waiting [2021-01-28T00:19:11.566Z] 01666e4c0597: Waiting [2021-01-28T00:19:11.566Z] aa168da1d23b: Waiting [2021-01-28T00:19:11.566Z] 46f8f816bc3b: Waiting [2021-01-28T00:19:11.566Z] 93b61091891f: Waiting [2021-01-28T00:19:11.566Z] 36b3adc4ff6f: Verifying Checksum [2021-01-28T00:19:11.566Z] 36b3adc4ff6f: Download complete [2021-01-28T00:19:11.566Z] 46f8f816bc3b: Download complete [2021-01-28T00:19:11.566Z] df20fa9351a1: Download complete [2021-01-28T00:19:11.836Z] 93b9cdb0e59b: Verifying Checksum [2021-01-28T00:19:11.836Z] 93b9cdb0e59b: Download complete [2021-01-28T00:19:11.836Z] 93b61091891f: Verifying Checksum [2021-01-28T00:19:11.836Z] 93b61091891f: Download complete [2021-01-28T00:19:11.836Z] 5e14af77c1be: Download complete [2021-01-28T00:19:11.836Z] 01666e4c0597: Verifying Checksum [2021-01-28T00:19:11.836Z] 01666e4c0597: Download complete [2021-01-28T00:19:11.836Z] 8ad3a11d3b57: Verifying Checksum [2021-01-28T00:19:11.836Z] 8ad3a11d3b57: Download complete [2021-01-28T00:19:12.101Z] df20fa9351a1: Pull complete [2021-01-28T00:19:12.374Z] 36b3adc4ff6f: Pull complete [2021-01-28T00:19:13.353Z] 8ad3a11d3b57: Pull complete [2021-01-28T00:19:13.353Z] 46f8f816bc3b: Pull complete [2021-01-28T00:19:13.953Z] 93b61091891f: Pull complete [2021-01-28T00:19:14.222Z] 93b9cdb0e59b: Pull complete [2021-01-28T00:19:14.222Z] 5e14af77c1be: Pull complete [2021-01-28T00:19:14.483Z] 01666e4c0597: Pull complete [2021-01-28T00:19:15.890Z] aa168da1d23b: Verifying Checksum [2021-01-28T00:19:15.890Z] aa168da1d23b: Download complete [2021-01-28T00:19:24.112Z] aa168da1d23b: Pull complete [2021-01-28T00:19:24.112Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T00:19:24.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T00:19:24.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T00:19:24.364Z] prd-centos7-docker-4c-2g-23535 does not seem to be running inside a container [2021-01-28T00:19:24.417Z] $ 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-728/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-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-28T00:19:28.145Z] $ docker top 7a64131638beb7097b6f4d33fd27d671a2c676e2e241741cc6e37326e88e40b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:19:28.644Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T00:19:28.939Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T00:19:29.239Z] + ls /var/log/sa-host [2021-01-28T00:19:29.239Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T00:19:29.239Z] file_magic: OK [2021-01-28T00:19:29.239Z] HZ: Using current value: 100 [2021-01-28T00:19:29.239Z] file_header: OK [2021-01-28T00:19:29.239Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-28T00:19:29.239Z] Statistics: [2021-01-28T00:19:29.239Z] Hnuu...uuuununununu... [2021-01-28T00:19:29.239Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T00:19:29.239Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T00:19:29.239Z] file_magic: OK [2021-01-28T00:19:29.239Z] HZ: Using current value: 100 [2021-01-28T00:19:29.239Z] file_header: OK [2021-01-28T00:19:29.239Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-28T00:19:29.239Z] Statistics: [2021-01-28T00:19:29.239Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T00:19:29.239Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T00:19:29.449Z] provisioning config files... [2021-01-28T00:19:29.464Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config2318844679498848839tmp [Pipeline] { [Pipeline] echo [2021-01-28T00:19:29.545Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:29.845Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T00:19:29.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T00:19:29.980Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:30.273Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T00:19:30.285Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:30.579Z] ---> sudo-logs.sh [2021-01-28T00:19:30.579Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T00:19:30.590Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:30.891Z] ---> job-cost.sh [2021-01-28T00:19:30.891Z] lf-activate-venv: SKIPPING [2021-01-28T00:19:30.891Z] INFO: No Stack... [2021-01-28T00:19:31.840Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T00:19:32.103Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T00:19:32.118Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:32.414Z] ---> logs-deploy.sh [2021-01-28T00:19:32.414Z] lf-activate-venv: SKIPPING [2021-01-28T00:19:32.414Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/12 [2021-01-28T00:19:32.414Z] INFO: archiving workspace using pattern(s): [2021-01-28T00:19:34.368Z] Archives upload complete. [2021-01-28T00:19:34.368Z] INFO: archiving logs to Nexus