Pull request #761 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6bb31f54c8cf817d8fded8a5e94c7d798f4310be+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (0842f05c0e61894725037392e49375484b1b0f4a) 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-23593 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-761 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 6bb31f54c8cf817d8fded8a5e94c7d798f4310be Merge succeeded, producing 6bb31f54c8cf817d8fded8a5e94c7d798f4310be Checking out Revision 6bb31f54c8cf817d8fded8a5e94c7d798f4310be (PR-761) > git config core.sparsecheckout # timeout=10 > git checkout -f 6bb31f54c8cf817d8fded8a5e94c7d798f4310be # 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 6bb31f54c8cf817d8fded8a5e94c7d798f4310be # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T00:47:10.172Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-28T00:47:10.417Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T00:47:10.555Z] ========================================================= [2021-01-28T00:47:10.555Z] EdgeX Global Pipelines Version Info [2021-01-28T00:47:10.555Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 334c1f2b5aadabe71d5ddcfc85ca793ad2f858aa # timeout=10 [2021-01-28T00:47:12.031Z] ------------------- [2021-01-28T00:47:12.031Z] stable info: [2021-01-28T00:47:12.031Z] ------------------- [2021-01-28T00:47:12.031Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:47:12.031Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:47:12.031Z] Message: update stable to v1.0.179 [2021-01-28T00:47:12.977Z] ------------------- [2021-01-28T00:47:12.977Z] experimental info: [2021-01-28T00:47:12.977Z] ------------------- [2021-01-28T00:47:12.977Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:47:12.977Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:47:12.977Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T00:47:13.267Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T00:47:13.357Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T00:47:13.455Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T00:47:13.543Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T00:47:13.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T00:47:13.730Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T00:47:13.820Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T00:47:13.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T00:47:14.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T00:47:14.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T00:47:14.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T00:47:14.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T00:47:14.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T00:47:14.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T00:47:14.611Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T00:47:14.701Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:47:14.881Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:47:14.977Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:47:15.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T00:47:15.192Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T00:47:15.281Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T00:47:15.371Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T00:47:15.456Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T00:47:15.545Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T00:47:15.634Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T00:47:15.719Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T00:47:15.808Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T00:47:15.893Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-761 [Pipeline] echo [2021-01-28T00:47:15.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-761 [Pipeline] echo [2021-01-28T00:47:16.078Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-761 [Pipeline] echo [2021-01-28T00:47:16.165Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6bb31f54c8cf817d8fded8a5e94c7d798f4310be [Pipeline] echo [2021-01-28T00:47:16.266Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6bb31f5 [Pipeline] echo [2021-01-28T00:47:16.365Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:47:16.535Z] provisioning config files... [2021-01-28T00:47:16.560Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config169297088606144989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:47:16.975Z] ---> docker-login.sh [2021-01-28T00:47:16.975Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:47:16.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:47:17.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:47:17.239Z] Configure a credential helper to remove this warning. See [2021-01-28T00:47:17.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:47:17.239Z] [2021-01-28T00:47:17.239Z] Login Succeeded [2021-01-28T00:47:17.239Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:47:17.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:47:17.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:47:17.500Z] Configure a credential helper to remove this warning. See [2021-01-28T00:47:17.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:47:17.500Z] [2021-01-28T00:47:17.500Z] Login Succeeded [2021-01-28T00:47:17.500Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:47:17.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:47:17.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:47:17.500Z] Configure a credential helper to remove this warning. See [2021-01-28T00:47:17.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:47:17.500Z] [2021-01-28T00:47:17.500Z] Login Succeeded [2021-01-28T00:47:17.500Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:47:17.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:47:17.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:47:17.769Z] Configure a credential helper to remove this warning. See [2021-01-28T00:47:17.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:47:17.769Z] [2021-01-28T00:47:17.769Z] Login Succeeded [2021-01-28T00:47:17.769Z] docker.io [2021-01-28T00:47:17.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:47:18.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:47:18.032Z] Configure a credential helper to remove this warning. See [2021-01-28T00:47:18.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:47:18.032Z] [2021-01-28T00:47:18.032Z] Login Succeeded [2021-01-28T00:47:18.032Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:47:18.042Z] 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:47:18.930Z] + git log --format=format:%s -1 6bb31f54c8cf817d8fded8a5e94c7d798f4310be [Pipeline] echo [2021-01-28T00:47:19.001Z] GIT_COMMIT: 6bb31f54c8cf817d8fded8a5e94c7d798f4310be, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-01-28T00:47:19.044Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:47:19.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:47:19.647Z] [2021-01-28T00:47:19.647Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:47:20.006Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:47:20.006Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T00:47:20.006Z] 31603596830f: Pulling fs layer [2021-01-28T00:47:20.006Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T00:47:20.006Z] 6ca5941a6612: Pulling fs layer [2021-01-28T00:47:20.006Z] ecc8261a40a4: Pulling fs layer [2021-01-28T00:47:20.006Z] ecc8261a40a4: Waiting [2021-01-28T00:47:20.006Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T00:47:20.006Z] 2a8b12db71e7: Download complete [2021-01-28T00:47:20.006Z] 31603596830f: Verifying Checksum [2021-01-28T00:47:20.006Z] 31603596830f: Download complete [2021-01-28T00:47:20.270Z] ecc8261a40a4: Verifying Checksum [2021-01-28T00:47:20.270Z] ecc8261a40a4: Download complete [2021-01-28T00:47:20.270Z] 6ca5941a6612: Verifying Checksum [2021-01-28T00:47:20.270Z] 6ca5941a6612: Download complete [2021-01-28T00:47:20.270Z] 31603596830f: Pull complete [2021-01-28T00:47:20.532Z] 2a8b12db71e7: Pull complete [2021-01-28T00:47:21.106Z] 6ca5941a6612: Pull complete [2021-01-28T00:47:21.368Z] ecc8261a40a4: Pull complete [2021-01-28T00:47:21.368Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T00:47:21.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:47:21.368Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T00:47:21.464Z] prd-centos7-docker-4c-2g-23593 does not seem to be running inside a container [2021-01-28T00:47:21.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-761 -v /w/workspace/dgexfoundry_device-sdk-go_PR-761:/w/workspace/dgexfoundry_device-sdk-go_PR-761:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T00:47:23.577Z] $ docker top 564380c444d34d257138cf6eaaec8997858194b08abda06a3d5d33b094a88cb1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T00:47:23.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:47:23.903Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:47:24.073Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:47:24.077Z] $ docker exec 564380c444d34d257138cf6eaaec8997858194b08abda06a3d5d33b094a88cb1 ssh-agent [2021-01-28T00:47:24.222Z] SSH_AUTH_SOCK=/tmp/ssh-UZQPyrB8mQ6l/agent.12 [2021-01-28T00:47:24.222Z] SSH_AGENT_PID=17 [2021-01-28T00:47:24.230Z] Running ssh-add (command line suppressed) [2021-01-28T00:47:24.341Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_7265710918782968480.key (/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_7265710918782968480.key) [2021-01-28T00:47:24.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:47:24.720Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T00:47:24.739Z] $ docker exec --env ******** --env ******** 564380c444d34d257138cf6eaaec8997858194b08abda06a3d5d33b094a88cb1 ssh-agent -k [2021-01-28T00:47:24.839Z] unset SSH_AUTH_SOCK; [2021-01-28T00:47:24.839Z] unset SSH_AGENT_PID; [2021-01-28T00:47:24.839Z] echo Agent pid 17 killed; [2021-01-28T00:47:24.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T00:47:25.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:47:25.083Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:47:25.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:47:25.241Z] $ docker exec 564380c444d34d257138cf6eaaec8997858194b08abda06a3d5d33b094a88cb1 ssh-agent [2021-01-28T00:47:25.392Z] SSH_AUTH_SOCK=/tmp/ssh-6Kb6MphWCqFU/agent.47 [2021-01-28T00:47:25.392Z] SSH_AGENT_PID=52 [2021-01-28T00:47:25.400Z] Running ssh-add (command line suppressed) [2021-01-28T00:47:25.506Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_8160283587241644674.key (/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_8160283587241644674.key) [2021-01-28T00:47:25.589Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:47:25.939Z] + git semver init [2021-01-28T00:47:25.939Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T00:47:25.939Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-761/.git [2021-01-28T00:47:25.939Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-761 [2021-01-28T00:47:25.939Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T00:47:25.939Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T00:47:25.939Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T00:47:25.939Z] # $SEMVER_BRANCH = PR-761 [2021-01-28T00:47:25.939Z] # $SEMVER_TEMP = /tmp/semver-460526580 [2021-01-28T00:47:25.939Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T00:47:26.889Z] # '/tmp/semver-460526580' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-761/.semver' [2021-01-28T00:47:26.889Z] # -> Force: false [2021-01-28T00:47:26.889Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-761/.semver [Pipeline] } [2021-01-28T00:47:26.900Z] $ docker exec --env ******** --env ******** 564380c444d34d257138cf6eaaec8997858194b08abda06a3d5d33b094a88cb1 ssh-agent -k [2021-01-28T00:47:27.021Z] unset SSH_AUTH_SOCK; [2021-01-28T00:47:27.022Z] unset SSH_AGENT_PID; [2021-01-28T00:47:27.022Z] echo Agent pid 52 killed; [2021-01-28T00:47:27.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T00:47:27.586Z] + git semver [Pipeline] } [2021-01-28T00:47:27.604Z] $ docker stop --time=1 564380c444d34d257138cf6eaaec8997858194b08abda06a3d5d33b094a88cb1 [2021-01-28T00:47:28.935Z] $ docker rm -f 564380c444d34d257138cf6eaaec8997858194b08abda06a3d5d33b094a88cb1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:47:29.396Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T00:47:29.883Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T00:47:29.886Z] [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:47:45.544Z] Still waiting to schedule task [2021-01-28T00:47:45.545Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23554’ is offline; ‘prd-centos7-docker-4c-2g-23556’ is offline; ‘prd-centos7-docker-4c-2g-23558’ is offline; ‘prd-centos7-docker-4c-2g-23559’ is offline; ‘prd-centos7-docker-4c-2g-23577’ is offline; ‘prd-centos7-docker-4c-2g-23587’ is offline; ‘prd-centos7-docker-4c-2g-23588’ is offline; ‘prd-centos7-docker-4c-2g-23594’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23565’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23566’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23568’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23569’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23570’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23585’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-28T00:47:45.555Z] Still waiting to schedule task [2021-01-28T00:47:45.555Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-28T00:48:47.531Z] Running on prd-centos7-docker-4c-2g-23597 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [Pipeline] { [Pipeline] ws [2021-01-28T00:48:47.586Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-28T00:48:50.240Z] using credential edgex-jenkins-ssh [2021-01-28T00:48:50.293Z] Cloning the remote Git repository [2021-01-28T00:48:50.265Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:48:50.343Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-28T00:48:50.410Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:48:50.411Z] > git --version # timeout=10 [2021-01-28T00:48:50.419Z] > git --version # 'git version 2.24.3' [2021-01-28T00:48:50.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:48:50.451Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:48:51.609Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 6bb31f54c8cf817d8fded8a5e94c7d798f4310be [2021-01-28T00:48:51.703Z] Merge succeeded, producing 6bb31f54c8cf817d8fded8a5e94c7d798f4310be [2021-01-28T00:48:51.703Z] Checking out Revision 6bb31f54c8cf817d8fded8a5e94c7d798f4310be (PR-761) [2021-01-28T00:48:51.205Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:48:51.213Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:48:51.225Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:48:51.239Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:48:51.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:48:51.244Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:48:51.612Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:48:51.617Z] > git checkout -f 6bb31f54c8cf817d8fded8a5e94c7d798f4310be # timeout=10 [2021-01-28T00:48:51.667Z] > git remote # timeout=10 [2021-01-28T00:48:51.673Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T00:48:51.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:48:51.683Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:48:51.692Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T00:48:51.702Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:48:51.706Z] > git checkout -f 6bb31f54c8cf817d8fded8a5e94c7d798f4310be # timeout=10 [2021-01-28T00:48:55.369Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:48:56.637Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:48:56.971Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:48:57.281Z] + sudo service docker restart [2021-01-28T00:48:57.281Z] + true [2021-01-28T00:48:57.281Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:48:58.753Z] provisioning config files... [2021-01-28T00:48:58.781Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2312565015300405160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:48:59.147Z] ---> docker-login.sh [2021-01-28T00:48:59.147Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:48:59.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:48:59.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:48:59.674Z] Configure a credential helper to remove this warning. See [2021-01-28T00:48:59.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:48:59.674Z] [2021-01-28T00:48:59.674Z] Login Succeeded [2021-01-28T00:48:59.674Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:48:59.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:48:59.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:48:59.674Z] Configure a credential helper to remove this warning. See [2021-01-28T00:48:59.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:48:59.674Z] [2021-01-28T00:48:59.674Z] Login Succeeded [2021-01-28T00:48:59.935Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:48:59.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:48:59.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:48:59.935Z] Configure a credential helper to remove this warning. See [2021-01-28T00:48:59.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:48:59.935Z] [2021-01-28T00:48:59.935Z] Login Succeeded [2021-01-28T00:48:59.935Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:49:00.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:49:00.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:49:00.201Z] Configure a credential helper to remove this warning. See [2021-01-28T00:49:00.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:49:00.201Z] [2021-01-28T00:49:00.201Z] Login Succeeded [2021-01-28T00:49:00.201Z] docker.io [2021-01-28T00:49:00.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:49:00.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:49:00.463Z] Configure a credential helper to remove this warning. See [2021-01-28T00:49:00.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:49:00.463Z] [2021-01-28T00:49:00.463Z] Login Succeeded [2021-01-28T00:49:00.463Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:49:00.473Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:49:00.841Z] ========================================================= [2021-01-28T00:49:00.841Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T00:49:00.841Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:49:01.180Z] + 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:49:01.180Z] Sending build context to Docker daemon 2.574MB [2021-01-28T00:49:01.180Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:49:01.180Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:49:01.443Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T00:49:01.443Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T00:49:01.443Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T00:49:01.443Z] de9db76c5a1d: Pulling fs layer [2021-01-28T00:49:01.443Z] bca2f99d35d6: Pulling fs layer [2021-01-28T00:49:01.443Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T00:49:01.443Z] 7c6f9722023f: Pulling fs layer [2021-01-28T00:49:01.443Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T00:49:01.443Z] 93359f2a8cfa: Waiting [2021-01-28T00:49:01.443Z] bca2f99d35d6: Waiting [2021-01-28T00:49:01.443Z] a35cf1a2eb13: Waiting [2021-01-28T00:49:01.443Z] 7c6f9722023f: Waiting [2021-01-28T00:49:01.443Z] de9db76c5a1d: Verifying Checksum [2021-01-28T00:49:01.443Z] de9db76c5a1d: Download complete [2021-01-28T00:49:01.443Z] 0ef7d3d256c8: Download complete [2021-01-28T00:49:01.443Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T00:49:01.443Z] 93359f2a8cfa: Download complete [2021-01-28T00:49:01.443Z] 7c6f9722023f: Verifying Checksum [2021-01-28T00:49:01.443Z] 7c6f9722023f: Download complete [2021-01-28T00:49:01.705Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T00:49:01.705Z] 188c0c94c7c5: Download complete [2021-01-28T00:49:02.297Z] 188c0c94c7c5: Pull complete [2021-01-28T00:49:02.297Z] 0ef7d3d256c8: Pull complete [2021-01-28T00:49:02.567Z] de9db76c5a1d: Pull complete [2021-01-28T00:49:03.521Z] a35cf1a2eb13: Verifying Checksum [2021-01-28T00:49:03.521Z] a35cf1a2eb13: Download complete [2021-01-28T00:49:04.470Z] bca2f99d35d6: Verifying Checksum [2021-01-28T00:49:04.470Z] bca2f99d35d6: Download complete [2021-01-28T00:49:11.112Z] bca2f99d35d6: Pull complete [2021-01-28T00:49:11.112Z] 93359f2a8cfa: Pull complete [2021-01-28T00:49:11.112Z] 7c6f9722023f: Pull complete [2021-01-28T00:49:14.453Z] a35cf1a2eb13: Pull complete [2021-01-28T00:49:14.453Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T00:49:14.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T00:49:14.453Z] ---> a62c8e92a672 [2021-01-28T00:49:14.453Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:49:14.716Z] ---> Running in 1e42aca2d1e0 [2021-01-28T00:49:14.980Z] Removing intermediate container 1e42aca2d1e0 [2021-01-28T00:49:14.980Z] ---> 92315db2a417 [2021-01-28T00:49:14.980Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:49:14.980Z] ---> Running in 3b61a4676b76 [2021-01-28T00:49:15.932Z] Removing intermediate container 3b61a4676b76 [2021-01-28T00:49:15.932Z] ---> ea6c86ed7dac [2021-01-28T00:49:15.932Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:49:15.932Z] ---> Running in 45493bde170a [2021-01-28T00:49:17.369Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:49:17.954Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:49:19.354Z] OK: 166 MiB in 39 packages [2021-01-28T00:49:19.617Z] Removing intermediate container 45493bde170a [2021-01-28T00:49:19.617Z] ---> e71b981cc8b8 [2021-01-28T00:49:19.617Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:49:19.617Z] ---> Running in 50d1a55b1402 [2021-01-28T00:49:19.883Z] Removing intermediate container 50d1a55b1402 [2021-01-28T00:49:19.883Z] ---> 55010bdf3f93 [2021-01-28T00:49:19.883Z] Step 7/8 : COPY . . [2021-01-28T00:49:21.284Z] ---> 493b89aada38 [2021-01-28T00:49:21.284Z] Step 8/8 : RUN go mod download [2021-01-28T00:49:21.284Z] ---> Running in ea9617adab6a [2021-01-28T00:49:39.491Z] Removing intermediate container ea9617adab6a [2021-01-28T00:49:39.491Z] ---> b29771806874 [2021-01-28T00:49:39.491Z] Successfully built b29771806874 [2021-01-28T00:49:39.491Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:49:40.338Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:49:40.338Z] . [Pipeline] withDockerContainer [2021-01-28T00:49:40.669Z] prd-centos7-docker-4c-2g-23597 does not seem to be running inside a container [2021-01-28T00:49:40.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:49:41.679Z] $ docker top 67f8ee89b2fb44df17e368c978cf07c9c8d806b2a2a0d35af43617544ba3b28c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:49:42.214Z] + go version [2021-01-28T00:49:42.214Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T00:49:42.225Z] $ docker stop --time=1 67f8ee89b2fb44df17e368c978cf07c9c8d806b2a2a0d35af43617544ba3b28c [2021-01-28T00:49:43.597Z] $ docker rm -f 67f8ee89b2fb44df17e368c978cf07c9c8d806b2a2a0d35af43617544ba3b28c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:49:44.516Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:49:44.517Z] . [Pipeline] withDockerContainer [2021-01-28T00:49:44.617Z] prd-centos7-docker-4c-2g-23597 does not seem to be running inside a container [2021-01-28T00:49:44.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:49:45.279Z] $ docker top 729d6fb1470d68ebdfff5ed5c59f40e7538afce0221dcbf3d3eaacccef4ea552 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:49:45.766Z] + make test [2021-01-28T00:49:45.766Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:49:54.013Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:50:09.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:50:09.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:50:09.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:50:09.373Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 19.4% of statements [2021-01-28T00:50:12.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.472s coverage: 97.1% of statements [2021-01-28T00:50:44.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.057s coverage: 9.4% of statements [2021-01-28T00:50:44.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.048s coverage: 21.7% of statements [2021-01-28T00:50:44.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:50:44.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.240s coverage: 43.2% of statements [2021-01-28T00:50:44.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:50:44.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.305s coverage: 68.9% of statements [2021-01-28T00:50:44.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:50:44.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:50:44.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:50:44.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:50:44.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 53.8% of statements [2021-01-28T00:50:44.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:50:44.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:50:44.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.069s coverage: 26.8% of statements [2021-01-28T00:50:44.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.801s coverage: 83.5% of statements [2021-01-28T00:50:44.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements [2021-01-28T00:50:44.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:50:44.938Z] GO111MODULE=on go vet ./... [2021-01-28T00:50:51.642Z] gofmt -l . [2021-01-28T00:50:51.909Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:50:51.909Z] ./bin/test-attribution-txt.sh [2021-01-28T00:50:52.502Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:50:52.791Z] $ docker stop --time=1 729d6fb1470d68ebdfff5ed5c59f40e7538afce0221dcbf3d3eaacccef4ea552 [2021-01-28T00:50:54.963Z] $ docker rm -f 729d6fb1470d68ebdfff5ed5c59f40e7538afce0221dcbf3d3eaacccef4ea552 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:50:55.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:50:56.070Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T00:50:57.289Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:50:57.591Z] + ls -al . [2021-01-28T00:50:57.591Z] total 216 [2021-01-28T00:50:57.591Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 00:50 . [2021-01-28T00:50:57.591Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 00:48 .. [2021-01-28T00:50:57.591Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 00:48 bin [2021-01-28T00:50:57.591Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 00:50 coverage.out [2021-01-28T00:50:57.591Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 00:48 Dockerfile.build [2021-01-28T00:50:57.591Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 00:48 .dockerignore [2021-01-28T00:50:57.591Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 00:48 example [2021-01-28T00:50:57.591Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 00:48 .git [2021-01-28T00:50:57.591Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 00:48 .github [2021-01-28T00:50:57.591Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 00:48 .gitignore [2021-01-28T00:50:57.591Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 28 00:50 go.mod [2021-01-28T00:50:57.591Z] -rw-r--r--. 1 jenkins jenkins 14101 Jan 28 00:50 go.sum [2021-01-28T00:50:57.591Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 00:48 internal [2021-01-28T00:50:57.591Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 00:48 Jenkinsfile [2021-01-28T00:50:57.591Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 00:48 LICENSE [2021-01-28T00:50:57.591Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 00:48 Makefile [2021-01-28T00:50:57.591Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 00:48 openapi [2021-01-28T00:50:57.591Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 00:48 pkg [2021-01-28T00:50:57.591Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 00:48 README.md [2021-01-28T00:50:57.591Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 00:48 RELEASE-NOTES.txt [2021-01-28T00:50:57.591Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 00:48 snap [2021-01-28T00:50:57.591Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 00:47 VERSION [2021-01-28T00:50:57.591Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 00:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:50:57.903Z] + 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=6bb31f54c8cf817d8fded8a5e94c7d798f4310be --label arch=amd64 --label version=0.0.0 . [2021-01-28T00:50:58.165Z] Sending build context to Docker daemon 2.712MB [2021-01-28T00:50:58.165Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:50:58.165Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:50:58.165Z] ---> b29771806874 [2021-01-28T00:50:58.165Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:50:58.741Z] ---> Running in 8116d54a3a82 [2021-01-28T00:50:58.741Z] Removing intermediate container 8116d54a3a82 [2021-01-28T00:50:58.741Z] ---> 88ec5fb1aae1 [2021-01-28T00:50:58.741Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T00:50:59.004Z] ---> Running in 565d5c75d89b [2021-01-28T00:50:59.004Z] Removing intermediate container 565d5c75d89b [2021-01-28T00:50:59.004Z] ---> 5fb49d35f640 [2021-01-28T00:50:59.004Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:50:59.266Z] ---> Running in ebd09491389f [2021-01-28T00:50:59.266Z] Removing intermediate container ebd09491389f [2021-01-28T00:50:59.266Z] ---> 000b32b93a77 [2021-01-28T00:50:59.266Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:50:59.533Z] ---> Running in 99bbdb0d3ce0 [2021-01-28T00:51:00.490Z] Removing intermediate container 99bbdb0d3ce0 [2021-01-28T00:51:00.490Z] ---> a589edc13eeb [2021-01-28T00:51:00.490Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T00:51:00.490Z] ---> Running in aa7008aef25f [2021-01-28T00:51:01.441Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:51:02.016Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:51:02.594Z] OK: 166 MiB in 39 packages [2021-01-28T00:51:02.858Z] Removing intermediate container aa7008aef25f [2021-01-28T00:51:02.858Z] ---> 349b73fdb2fb [2021-01-28T00:51:02.858Z] Step 8/24 : COPY . . [2021-01-28T00:51:04.258Z] ---> b51596eb2a79 [2021-01-28T00:51:04.258Z] Step 9/24 : RUN ${MAKE} [2021-01-28T00:51:04.258Z] ---> Running in b9a8fc422b15 [2021-01-28T00:51:04.526Z] 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:51:14.649Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T00:51:16.042Z] Removing intermediate container b9a8fc422b15 [2021-01-28T00:51:16.042Z] ---> c5c1bc01ecb0 [2021-01-28T00:51:16.042Z] Step 10/24 : FROM scratch [2021-01-28T00:51:16.042Z] ---> [2021-01-28T00:51:16.042Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:51:16.042Z] ---> Running in 0cdb9c472c89 [2021-01-28T00:51:16.310Z] Removing intermediate container 0cdb9c472c89 [2021-01-28T00:51:16.310Z] ---> f9bac0bc5935 [2021-01-28T00:51:16.310Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T00:51:16.310Z] ---> Running in fe21a8f5f756 [2021-01-28T00:51:16.572Z] Removing intermediate container fe21a8f5f756 [2021-01-28T00:51:16.572Z] ---> 1221a7410266 [2021-01-28T00:51:16.572Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T00:51:16.572Z] ---> Running in 4c6470c8d678 [2021-01-28T00:51:16.835Z] Removing intermediate container 4c6470c8d678 [2021-01-28T00:51:16.835Z] ---> 23891cad9afe [2021-01-28T00:51:16.835Z] Step 14/24 : WORKDIR / [2021-01-28T00:51:16.835Z] ---> Running in e4e518bcf05d [2021-01-28T00:51:17.098Z] Removing intermediate container e4e518bcf05d [2021-01-28T00:51:17.098Z] ---> b097ce6d7bf4 [2021-01-28T00:51:17.098Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T00:51:17.362Z] ---> 73cc589aff72 [2021-01-28T00:51:17.362Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T00:51:17.937Z] ---> 1e94e45c393a [2021-01-28T00:51:17.937Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T00:51:17.937Z] ---> 6526d3abe705 [2021-01-28T00:51:17.937Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T00:51:18.201Z] ---> 711f07eec799 [2021-01-28T00:51:18.201Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T00:51:18.464Z] ---> 1fd1ba9dfef1 [2021-01-28T00:51:18.464Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T00:51:18.464Z] ---> Running in 978d53727c9e [2021-01-28T00:51:18.727Z] Removing intermediate container 978d53727c9e [2021-01-28T00:51:18.727Z] ---> 803415b72f9b [2021-01-28T00:51:18.727Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T00:51:18.727Z] ---> Running in b3051dce656a [2021-01-28T00:51:18.990Z] Removing intermediate container b3051dce656a [2021-01-28T00:51:18.990Z] ---> 78805680d79c [2021-01-28T00:51:18.990Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T00:51:18.990Z] ---> Running in 4616f610e6bf [2021-01-28T00:51:19.253Z] Removing intermediate container 4616f610e6bf [2021-01-28T00:51:19.253Z] ---> 1057bb8deb77 [2021-01-28T00:51:19.253Z] Step 23/24 : LABEL git_sha=6bb31f54c8cf817d8fded8a5e94c7d798f4310be [2021-01-28T00:51:19.253Z] ---> Running in 729c338c3365 [2021-01-28T00:51:19.518Z] Removing intermediate container 729c338c3365 [2021-01-28T00:51:19.518Z] ---> df912edeabfb [2021-01-28T00:51:19.518Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T00:51:19.518Z] ---> Running in ef1d30877456 [2021-01-28T00:51:19.781Z] Removing intermediate container ef1d30877456 [2021-01-28T00:51:19.781Z] ---> 25e0b261ad1b [2021-01-28T00:51:19.781Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T00:51:19.781Z] Successfully built 25e0b261ad1b [2021-01-28T00:51:19.781Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-28T00:55:55.959Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23608 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [Pipeline] { [Pipeline] ws [2021-01-28T00:55:56.048Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-28T00:56:03.235Z] using credential edgex-jenkins-ssh [2021-01-28T00:56:03.294Z] Cloning the remote Git repository [2021-01-28T00:56:03.415Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:56:03.589Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-28T00:56:03.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:56:03.701Z] > git --version # timeout=10 [2021-01-28T00:56:03.727Z] > git --version # 'git version 2.17.1' [2021-01-28T00:56:03.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:56:03.855Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:56:05.315Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:56:05.340Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:56:05.373Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:56:05.992Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 6bb31f54c8cf817d8fded8a5e94c7d798f4310be [2021-01-28T00:56:06.515Z] Merge succeeded, producing 6bb31f54c8cf817d8fded8a5e94c7d798f4310be [2021-01-28T00:56:06.515Z] Checking out Revision 6bb31f54c8cf817d8fded8a5e94c7d798f4310be (PR-761) [2021-01-28T00:56:05.443Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:56:05.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:56:05.461Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:56:06.028Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:56:06.115Z] > git checkout -f 6bb31f54c8cf817d8fded8a5e94c7d798f4310be # timeout=10 [2021-01-28T00:56:06.335Z] > git remote # timeout=10 [2021-01-28T00:56:06.378Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T00:56:06.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:56:06.449Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:56:06.497Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T00:56:06.527Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:56:06.543Z] > git checkout -f 6bb31f54c8cf817d8fded8a5e94c7d798f4310be # timeout=10 [2021-01-28T00:56:11.206Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:56:12.878Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:56:13.413Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:56:13.770Z] + true [2021-01-28T00:56:13.770Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:56:16.494Z] provisioning config files... [2021-01-28T00:56:16.535Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6714612657071443286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:56:16.957Z] ---> docker-login.sh [2021-01-28T00:56:16.957Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:56:17.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:56:18.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:56:18.546Z] Configure a credential helper to remove this warning. See [2021-01-28T00:56:18.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:56:18.546Z] [2021-01-28T00:56:18.546Z] Login Succeeded [2021-01-28T00:56:18.546Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:56:18.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:56:19.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:56:19.802Z] Configure a credential helper to remove this warning. See [2021-01-28T00:56:19.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:56:19.802Z] [2021-01-28T00:56:19.802Z] Login Succeeded [2021-01-28T00:56:19.802Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:56:20.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:56:20.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:56:20.350Z] Configure a credential helper to remove this warning. See [2021-01-28T00:56:20.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:56:20.350Z] [2021-01-28T00:56:20.350Z] Login Succeeded [2021-01-28T00:56:20.350Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:56:20.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:56:20.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:56:20.910Z] Configure a credential helper to remove this warning. See [2021-01-28T00:56:20.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:56:20.910Z] [2021-01-28T00:56:20.910Z] Login Succeeded [2021-01-28T00:56:20.910Z] docker.io [2021-01-28T00:56:21.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:56:21.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:56:21.789Z] Configure a credential helper to remove this warning. See [2021-01-28T00:56:21.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:56:21.789Z] [2021-01-28T00:56:21.789Z] Login Succeeded [2021-01-28T00:56:21.789Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:56:21.808Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:56:22.310Z] ========================================================= [2021-01-28T00:56:22.310Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T00:56:22.310Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:56:22.702Z] + 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:56:23.321Z] Sending build context to Docker daemon 2.564MB [2021-01-28T00:56:23.321Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:56:23.321Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:56:23.321Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T00:56:23.321Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T00:56:23.321Z] a4357932f1b6: Pulling fs layer [2021-01-28T00:56:23.321Z] 18c013af1878: Pulling fs layer [2021-01-28T00:56:23.321Z] 00ac8860ef70: Pulling fs layer [2021-01-28T00:56:23.321Z] 63d7cb157983: Pulling fs layer [2021-01-28T00:56:23.321Z] b116817d02f9: Pulling fs layer [2021-01-28T00:56:23.321Z] 745a02a5169b: Pulling fs layer [2021-01-28T00:56:23.321Z] 00ac8860ef70: Waiting [2021-01-28T00:56:23.321Z] 63d7cb157983: Waiting [2021-01-28T00:56:23.321Z] b116817d02f9: Waiting [2021-01-28T00:56:23.321Z] 745a02a5169b: Waiting [2021-01-28T00:56:23.321Z] 18c013af1878: Verifying Checksum [2021-01-28T00:56:23.321Z] 18c013af1878: Download complete [2021-01-28T00:56:23.321Z] a4357932f1b6: Verifying Checksum [2021-01-28T00:56:23.321Z] a4357932f1b6: Download complete [2021-01-28T00:56:23.321Z] 63d7cb157983: Verifying Checksum [2021-01-28T00:56:23.321Z] 63d7cb157983: Download complete [2021-01-28T00:56:23.605Z] b116817d02f9: Download complete [2021-01-28T00:56:24.208Z] 5f621e34cdf4: Download complete [2021-01-28T00:56:24.812Z] 5f621e34cdf4: Pull complete [2021-01-28T00:56:25.416Z] a4357932f1b6: Pull complete [2021-01-28T00:56:25.692Z] 18c013af1878: Pull complete [2021-01-28T00:56:26.290Z] 745a02a5169b: Verifying Checksum [2021-01-28T00:56:26.290Z] 745a02a5169b: Download complete [2021-01-28T00:56:28.271Z] 00ac8860ef70: Verifying Checksum [2021-01-28T00:56:28.271Z] 00ac8860ef70: Download complete [2021-01-28T00:56:38.452Z] 00ac8860ef70: Pull complete [2021-01-28T00:56:38.452Z] 63d7cb157983: Pull complete [2021-01-28T00:56:38.452Z] b116817d02f9: Pull complete [2021-01-28T00:56:41.085Z] 745a02a5169b: Pull complete [2021-01-28T00:56:41.085Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T00:56:41.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T00:56:41.085Z] ---> b7e6874047d6 [2021-01-28T00:56:41.085Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:56:44.490Z] ---> Running in b2be68e37c43 [2021-01-28T00:56:44.490Z] Removing intermediate container b2be68e37c43 [2021-01-28T00:56:44.490Z] ---> 496ea075aff5 [2021-01-28T00:56:44.490Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:56:44.490Z] ---> Running in f92f292322a4 [2021-01-28T00:56:47.140Z] Removing intermediate container f92f292322a4 [2021-01-28T00:56:47.140Z] ---> a87654855409 [2021-01-28T00:56:47.140Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:56:47.140Z] ---> Running in 2fac4b253962 [2021-01-28T00:56:47.737Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T00:56:48.723Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T00:56:50.168Z] OK: 142 MiB in 39 packages [2021-01-28T00:56:51.152Z] Removing intermediate container 2fac4b253962 [2021-01-28T00:56:51.152Z] ---> fc34d3223169 [2021-01-28T00:56:51.152Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:56:51.425Z] ---> Running in 45ba82a764ce [2021-01-28T00:56:51.698Z] Removing intermediate container 45ba82a764ce [2021-01-28T00:56:51.698Z] ---> 36a0304f6f12 [2021-01-28T00:56:51.698Z] Step 7/8 : COPY . . [2021-01-28T00:56:53.128Z] ---> bffcc876ef8e [2021-01-28T00:56:53.128Z] Step 8/8 : RUN go mod download [2021-01-28T00:56:53.128Z] ---> Running in f08b2ef48767 [2021-01-28T00:57:19.967Z] Removing intermediate container f08b2ef48767 [2021-01-28T00:57:19.968Z] ---> df6a9ec2d441 [2021-01-28T00:57:19.968Z] Successfully built df6a9ec2d441 [2021-01-28T00:57:19.968Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:57:20.333Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:57:20.333Z] . [Pipeline] withDockerContainer [2021-01-28T00:57:20.660Z] prd-ubuntu18.04-docker-arm64-4c-16g-23608 does not seem to be running inside a container [2021-01-28T00:57:20.790Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T00:57:22.378Z] $ docker top 2532de89542dc993472fa8effb20d537319ee3cffa516877465335431f95af78 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:57:23.454Z] + go version [2021-01-28T00:57:23.454Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T00:57:23.483Z] $ docker stop --time=1 2532de89542dc993472fa8effb20d537319ee3cffa516877465335431f95af78 [2021-01-28T00:57:25.383Z] $ docker rm -f 2532de89542dc993472fa8effb20d537319ee3cffa516877465335431f95af78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:57:26.412Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:57:26.412Z] . [Pipeline] withDockerContainer [2021-01-28T00:57:26.655Z] prd-ubuntu18.04-docker-arm64-4c-16g-23608 does not seem to be running inside a container [2021-01-28T00:57:26.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T00:57:28.231Z] $ docker top 21d16caf6065503b7ac2edd9d0306ec6f2ce54a98626136ca419d1a7aa9133ef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:57:29.246Z] + make test [2021-01-28T00:57:29.246Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:57:51.430Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:58:38.513Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:58:38.513Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:58:38.513Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:58:38.513Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.125s coverage: 19.4% of statements [2021-01-28T00:58:43.939Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.251s coverage: 97.1% of statements [2021-01-28T00:59:10.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.148s coverage: 9.4% of statements [2021-01-28T00:59:10.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.123s coverage: 21.7% of statements [2021-01-28T00:59:10.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:59:10.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.620s coverage: 43.2% of statements [2021-01-28T00:59:10.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:59:10.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.827s coverage: 68.9% of statements [2021-01-28T00:59:10.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:59:10.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:59:10.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:59:10.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:59:10.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.219s coverage: 53.8% of statements [2021-01-28T00:59:10.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:59:10.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:59:10.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.184s coverage: 26.8% of statements [2021-01-28T00:59:10.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.287s coverage: 83.5% of statements [2021-01-28T00:59:10.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements [2021-01-28T00:59:10.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:59:11.058Z] GO111MODULE=on go vet ./... [2021-01-28T00:59:50.147Z] gofmt -l . [2021-01-28T00:59:50.147Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:59:50.743Z] ./bin/test-attribution-txt.sh [2021-01-28T00:59:51.732Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:59:52.037Z] $ docker stop --time=1 21d16caf6065503b7ac2edd9d0306ec6f2ce54a98626136ca419d1a7aa9133ef [2021-01-28T00:59:54.302Z] $ docker rm -f 21d16caf6065503b7ac2edd9d0306ec6f2ce54a98626136ca419d1a7aa9133ef [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:59:55.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:59:55.511Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T00:59:56.665Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:59:57.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:59:57.908Z] + ls -al . [2021-01-28T00:59:57.908Z] total 252 [2021-01-28T00:59:57.908Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 00:59 . [2021-01-28T00:59:57.908Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:56 .. [2021-01-28T00:59:57.908Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 00:56 .dockerignore [2021-01-28T00:59:57.908Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 00:56 .git [2021-01-28T00:59:57.908Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:56 .github [2021-01-28T00:59:57.908Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 00:56 .gitignore [2021-01-28T00:59:57.908Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 00:56 Dockerfile.build [2021-01-28T00:59:57.908Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 00:56 Jenkinsfile [2021-01-28T00:59:57.908Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 00:56 LICENSE [2021-01-28T00:59:57.908Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 00:56 Makefile [2021-01-28T00:59:57.908Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 00:56 README.md [2021-01-28T00:59:57.908Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 00:56 RELEASE-NOTES.txt [2021-01-28T00:59:57.908Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 00:47 VERSION [2021-01-28T00:59:57.908Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:56 bin [2021-01-28T00:59:57.908Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 00:59 coverage.out [2021-01-28T00:59:57.908Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:56 example [2021-01-28T00:59:57.908Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 28 00:59 go.mod [2021-01-28T00:59:57.908Z] -rw-r--r-- 1 jenkins jenkins 14101 Jan 28 00:59 go.sum [2021-01-28T00:59:57.908Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 00:56 internal [2021-01-28T00:59:57.908Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:56 openapi [2021-01-28T00:59:57.908Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 00:56 pkg [2021-01-28T00:59:57.908Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:56 snap [2021-01-28T00:59:57.908Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 00:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:59:58.603Z] + 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=6bb31f54c8cf817d8fded8a5e94c7d798f4310be --label arch=arm64 --label version=0.0.0 . [2021-01-28T00:59:58.885Z] Sending build context to Docker daemon 2.702MB [2021-01-28T00:59:58.885Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:59:58.885Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:59:58.885Z] ---> df6a9ec2d441 [2021-01-28T00:59:58.885Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:59:59.170Z] ---> Running in a747c6759a04 [2021-01-28T00:59:59.770Z] Removing intermediate container a747c6759a04 [2021-01-28T00:59:59.770Z] ---> abdb90be63a4 [2021-01-28T00:59:59.770Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T00:59:59.770Z] ---> Running in b01bf2651a55 [2021-01-28T01:00:00.386Z] Removing intermediate container b01bf2651a55 [2021-01-28T01:00:00.386Z] ---> b01b3423f60c [2021-01-28T01:00:00.386Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T01:00:00.386Z] ---> Running in 0fa21e1d4dfa [2021-01-28T01:00:00.986Z] Removing intermediate container 0fa21e1d4dfa [2021-01-28T01:00:00.986Z] ---> fc4af683b127 [2021-01-28T01:00:00.986Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T01:00:01.262Z] ---> Running in 84dd1c0e8d1a [2021-01-28T01:00:03.298Z] Removing intermediate container 84dd1c0e8d1a [2021-01-28T01:00:03.298Z] ---> 4c17275470ae [2021-01-28T01:00:03.298Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T01:00:03.573Z] ---> Running in 9df55950f8d8 [2021-01-28T01:00:05.016Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T01:00:05.617Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T01:00:06.608Z] OK: 142 MiB in 39 packages [2021-01-28T01:00:08.056Z] Removing intermediate container 9df55950f8d8 [2021-01-28T01:00:08.056Z] ---> ebf46ff9202f [2021-01-28T01:00:08.056Z] Step 8/24 : COPY . . [2021-01-28T01:00:09.500Z] ---> 0da63119e9cf [2021-01-28T01:00:09.500Z] Step 9/24 : RUN ${MAKE} [2021-01-28T01:00:09.500Z] ---> Running in 4cbfbb877837 [2021-01-28T01:00:10.946Z] 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-28T01:00:43.395Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T01:00:45.384Z] Removing intermediate container 4cbfbb877837 [2021-01-28T01:00:45.384Z] ---> 8b1ee0218e46 [2021-01-28T01:00:45.384Z] Step 10/24 : FROM scratch [2021-01-28T01:00:45.384Z] ---> [2021-01-28T01:00:45.384Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T01:00:45.384Z] ---> Running in aaf1c36429dc [2021-01-28T01:00:45.984Z] Removing intermediate container aaf1c36429dc [2021-01-28T01:00:45.984Z] ---> 98508b545720 [2021-01-28T01:00:45.984Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T01:00:45.984Z] ---> Running in 4238416edafa [2021-01-28T01:00:46.583Z] Removing intermediate container 4238416edafa [2021-01-28T01:00:46.583Z] ---> a40387f0fcf7 [2021-01-28T01:00:46.583Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T01:00:46.583Z] ---> Running in 5aa64a8e4002 [2021-01-28T01:00:47.184Z] Removing intermediate container 5aa64a8e4002 [2021-01-28T01:00:47.184Z] ---> d341c1f5f181 [2021-01-28T01:00:47.184Z] Step 14/24 : WORKDIR / [2021-01-28T01:00:47.184Z] ---> Running in b5efdc214b2f [2021-01-28T01:00:47.806Z] Removing intermediate container b5efdc214b2f [2021-01-28T01:00:47.806Z] ---> 9666d853cc76 [2021-01-28T01:00:47.806Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T01:00:48.791Z] ---> e153c53f9d68 [2021-01-28T01:00:48.791Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T01:00:49.810Z] ---> fdf64ee98734 [2021-01-28T01:00:49.810Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T01:00:50.412Z] ---> cebeffa8e8b6 [2021-01-28T01:00:50.412Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T01:00:51.399Z] ---> 933722b3e2fa [2021-01-28T01:00:51.399Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T01:00:52.387Z] ---> 0a18749ddd09 [2021-01-28T01:00:52.387Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T01:00:52.387Z] ---> Running in 371e0ef3d1c1 [2021-01-28T01:00:52.989Z] Removing intermediate container 371e0ef3d1c1 [2021-01-28T01:00:52.989Z] ---> 4af8a7617e12 [2021-01-28T01:00:52.989Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T01:00:52.989Z] ---> Running in cac7e31dd638 [2021-01-28T01:00:53.587Z] Removing intermediate container cac7e31dd638 [2021-01-28T01:00:53.587Z] ---> 4497e80869c9 [2021-01-28T01:00:53.587Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T01:00:53.863Z] ---> Running in 84b0da444428 [2021-01-28T01:00:54.136Z] Removing intermediate container 84b0da444428 [2021-01-28T01:00:54.136Z] ---> 8e14dd56c8c8 [2021-01-28T01:00:54.136Z] Step 23/24 : LABEL git_sha=6bb31f54c8cf817d8fded8a5e94c7d798f4310be [2021-01-28T01:00:54.411Z] ---> Running in 4689c29f7284 [2021-01-28T01:00:55.011Z] Removing intermediate container 4689c29f7284 [2021-01-28T01:00:55.011Z] ---> 2f7515009ea5 [2021-01-28T01:00:55.011Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T01:00:55.011Z] ---> Running in 4b493c39ef37 [2021-01-28T01:00:55.638Z] Removing intermediate container 4b493c39ef37 [2021-01-28T01:00:55.638Z] ---> dcc074bbc410 [2021-01-28T01:00:55.638Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T01:00:55.638Z] Successfully built dcc074bbc410 [2021-01-28T01:00:55.638Z] 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-28T01:00:57.386Z] provisioning config files... [2021-01-28T01:00:57.396Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config4071714097501083805tmp [Pipeline] { [Pipeline] sh [2021-01-28T01:00:57.781Z] + set +x [2021-01-28T01:00:57.781Z] + curl -s https://codecov.io/bash [2021-01-28T01:00:57.781Z] + bash -s -- [2021-01-28T01:00:57.781Z] [2021-01-28T01:00:57.781Z] _____ _ [2021-01-28T01:00:57.781Z] / ____| | | [2021-01-28T01:00:57.781Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T01:00:57.781Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T01:00:57.781Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T01:00:57.781Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T01:00:57.781Z] Bash-20210128-d4071a2 [2021-01-28T01:00:57.781Z] [2021-01-28T01:00:57.781Z] [2021-01-28T01:00:57.781Z] ==> git version 2.24.3 found [2021-01-28T01:00:57.781Z] ==> 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-28T01:00:57.781Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T01:00:57.781Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T01:00:58.043Z] ==> Jenkins CI detected. [2021-01-28T01:00:58.043Z] project root: . [2021-01-28T01:00:58.043Z] --> token set from env [2021-01-28T01:00:58.043Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T01:00:58.043Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T01:00:58.043Z] ==> Python coveragepy not found [2021-01-28T01:00:58.043Z] ==> Searching for coverage reports in: [2021-01-28T01:00:58.043Z] + . [2021-01-28T01:00:58.043Z] -> Found 1 reports [2021-01-28T01:00:58.043Z] ==> Detecting git/mercurial file structure [2021-01-28T01:00:58.043Z] ==> Reading reports [2021-01-28T01:00:58.043Z] + ./coverage.out bytes=136842 [2021-01-28T01:00:58.043Z] ==> Appending adjustments [2021-01-28T01:00:58.043Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T01:00:58.305Z] + Found adjustments [2021-01-28T01:00:58.570Z] ==> Gzipping contents [2021-01-28T01:00:58.570Z] 24K /tmp/codecov.BPNVeG.gz [2021-01-28T01:00:58.570Z] ==> Uploading reports [2021-01-28T01:00:58.570Z] url: https://codecov.io [2021-01-28T01:00:58.570Z] query: branch=PR-761&commit=6bb31f54c8cf817d8fded8a5e94c7d798f4310be&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-761%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=761&job=&cmd_args= [2021-01-28T01:00:58.570Z] -> Pinging Codecov [2021-01-28T01:00:58.570Z] https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-761&commit=6bb31f54c8cf817d8fded8a5e94c7d798f4310be&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-761%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=761&job=&cmd_args= [2021-01-28T01:00:58.831Z] -> Uploading to [2021-01-28T01:00:58.831Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/6bb31f54c8cf817d8fded8a5e94c7d798f4310be/433688ea-59f9-4c2c-bd51-7ba054977181.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T010058Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4759d3eb6601df910443e230096287426f9d788313ceaef72d36dad2ef6bbf45 [2021-01-28T01:00:58.831Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T01:00:58.831Z] Dload Upload Total Spent Left Speed [2021-01-28T01:00:59.355Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21507 0 0 100 21507 0 45346 --:--:-- --:--:-- --:--:-- 45277 [2021-01-28T01:00:59.355Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6bb31f54c8cf817d8fded8a5e94c7d798f4310be [Pipeline] } [2021-01-28T01:00:59.364Z] 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-28T01:01:02.374Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:02.677Z] ---> package-listing.sh [2021-01-28T01:01:02.677Z] ++ facter osfamily [2021-01-28T01:01:02.677Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T01:01:02.677Z] + OS_FAMILY=redhat [2021-01-28T01:01:02.678Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-761 [2021-01-28T01:01:02.678Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T01:01:02.678Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T01:01:02.678Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T01:01:02.678Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T01:01:02.678Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-761 ']' [2021-01-28T01:01:02.678Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T01:01:02.678Z] + case "${OS_FAMILY}" in [2021-01-28T01:01:02.678Z] + rpm -qa [2021-01-28T01:01:02.678Z] + sort [2021-01-28T01:01:06.897Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T01:01:06.897Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T01:01:06.897Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T01:01:06.897Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-761 ']' [2021-01-28T01:01:06.897Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-761/archives/ [2021-01-28T01:01:06.897Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-761/archives/ [Pipeline] echo [2021-01-28T01:01:06.909Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-761/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-28T01:01:07.196Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T01:01:07.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T01:01:07.535Z] [2021-01-28T01:01:07.535Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T01:01:07.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T01:01:07.893Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T01:01:07.893Z] df20fa9351a1: Pulling fs layer [2021-01-28T01:01:07.893Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T01:01:07.893Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T01:01:07.893Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T01:01:07.893Z] 93b61091891f: Pulling fs layer [2021-01-28T01:01:07.893Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T01:01:07.893Z] 5e14af77c1be: Pulling fs layer [2021-01-28T01:01:07.893Z] 01666e4c0597: Pulling fs layer [2021-01-28T01:01:07.893Z] aa168da1d23b: Pulling fs layer [2021-01-28T01:01:07.893Z] 93b9cdb0e59b: Waiting [2021-01-28T01:01:07.893Z] 5e14af77c1be: Waiting [2021-01-28T01:01:07.893Z] 01666e4c0597: Waiting [2021-01-28T01:01:07.893Z] aa168da1d23b: Waiting [2021-01-28T01:01:07.893Z] 46f8f816bc3b: Waiting [2021-01-28T01:01:07.893Z] 93b61091891f: Waiting [2021-01-28T01:01:07.893Z] 36b3adc4ff6f: Download complete [2021-01-28T01:01:07.893Z] 46f8f816bc3b: Verifying Checksum [2021-01-28T01:01:07.893Z] 46f8f816bc3b: Download complete [2021-01-28T01:01:08.162Z] df20fa9351a1: Download complete [2021-01-28T01:01:08.162Z] 93b9cdb0e59b: Verifying Checksum [2021-01-28T01:01:08.162Z] 93b9cdb0e59b: Download complete [2021-01-28T01:01:08.162Z] 93b61091891f: Verifying Checksum [2021-01-28T01:01:08.162Z] 93b61091891f: Download complete [2021-01-28T01:01:08.162Z] 5e14af77c1be: Verifying Checksum [2021-01-28T01:01:08.162Z] 5e14af77c1be: Download complete [2021-01-28T01:01:08.162Z] 01666e4c0597: Download complete [2021-01-28T01:01:08.422Z] df20fa9351a1: Pull complete [2021-01-28T01:01:08.422Z] 36b3adc4ff6f: Pull complete [2021-01-28T01:01:08.689Z] 8ad3a11d3b57: Verifying Checksum [2021-01-28T01:01:08.689Z] 8ad3a11d3b57: Download complete [2021-01-28T01:01:09.287Z] 8ad3a11d3b57: Pull complete [2021-01-28T01:01:09.287Z] 46f8f816bc3b: Pull complete [2021-01-28T01:01:09.864Z] 93b61091891f: Pull complete [2021-01-28T01:01:10.440Z] aa168da1d23b: Verifying Checksum [2021-01-28T01:01:10.440Z] aa168da1d23b: Download complete [2021-01-28T01:01:10.440Z] 93b9cdb0e59b: Pull complete [2021-01-28T01:01:10.703Z] 5e14af77c1be: Pull complete [2021-01-28T01:01:10.703Z] 01666e4c0597: Pull complete [2021-01-28T01:01:17.356Z] aa168da1d23b: Pull complete [2021-01-28T01:01:17.356Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T01:01:17.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T01:01:17.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T01:01:17.486Z] prd-centos7-docker-4c-2g-23593 does not seem to be running inside a container [2021-01-28T01:01:17.549Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-761/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-761 -v /w/workspace/dgexfoundry_device-sdk-go_PR-761:/w/workspace/dgexfoundry_device-sdk-go_PR-761:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-28T01:01:20.659Z] $ docker top 7d6a7d5773301f3110cd9227256e64c49e6c03d081eb448a1f5c4c07ff500c55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T01:01:21.118Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T01:01:21.419Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T01:01:21.718Z] + ls /var/log/sa-host [2021-01-28T01:01:21.718Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T01:01:21.718Z] file_magic: OK [2021-01-28T01:01:21.718Z] HZ: Using current value: 100 [2021-01-28T01:01:21.718Z] file_header: OK [2021-01-28T01:01:21.718Z] 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-28T01:01:21.718Z] Statistics: [2021-01-28T01:01:21.718Z] Hnuu...uuuununununu... [2021-01-28T01:01:21.718Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T01:01:21.718Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T01:01:21.718Z] file_magic: OK [2021-01-28T01:01:21.718Z] HZ: Using current value: 100 [2021-01-28T01:01:21.718Z] file_header: OK [2021-01-28T01:01:21.718Z] 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-28T01:01:21.718Z] Statistics: [2021-01-28T01:01:21.718Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T01:01:21.718Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T01:01:21.958Z] provisioning config files... [2021-01-28T01:01:21.974Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config905249023808432747tmp [Pipeline] { [Pipeline] echo [2021-01-28T01:01:22.107Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:22.401Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T01:01:22.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T01:01:22.506Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:22.805Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T01:01:22.815Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:23.109Z] ---> sudo-logs.sh [2021-01-28T01:01:23.109Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T01:01:23.119Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:23.413Z] ---> job-cost.sh [2021-01-28T01:01:23.413Z] lf-activate-venv: SKIPPING [2021-01-28T01:01:23.413Z] INFO: No Stack... [2021-01-28T01:01:24.358Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T01:01:24.928Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T01:01:24.941Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:25.245Z] ---> logs-deploy.sh [2021-01-28T01:01:25.245Z] lf-activate-venv: SKIPPING [2021-01-28T01:01:25.245Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-761/3 [2021-01-28T01:01:25.245Z] INFO: archiving workspace using pattern(s): [2021-01-28T01:01:26.632Z] Archives upload complete. [2021-01-28T01:01:26.892Z] INFO: archiving logs to Nexus