Pull request #789 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 57dae82459387a357bb33c28b656f336a5dcd1c4+6125dba09cfc805438589ab7aad954d8cad7589e (4139b1e4cbae54207a10c65dfc7faff329d64e05) 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26774’ Running on prd-centos7-docker-4c-2g-26776 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [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-789 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 57dae82459387a357bb33c28b656f336a5dcd1c4 Merge succeeded, producing 57dae82459387a357bb33c28b656f336a5dcd1c4 Checking out Revision 57dae82459387a357bb33c28b656f336a5dcd1c4 (PR-789) > 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/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # 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 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 Commit message: "test: add unit tests for v2 cache" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 # timeout=10 [Pipeline] timeout [2021-02-18T06:59:05.186Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-18T06:59:05.444Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-18T06:59:05.542Z] ========================================================= [2021-02-18T06:59:05.542Z] EdgeX Global Pipelines Version Info [2021-02-18T06:59:05.542Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-18T06:59:07.027Z] ------------------- [2021-02-18T06:59:07.027Z] stable info: [2021-02-18T06:59:07.027Z] ------------------- [2021-02-18T06:59:07.027Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-18T06:59:07.027Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-18T06:59:07.027Z] Message: update stable to v1.0.179 [2021-02-18T06:59:07.973Z] ------------------- [2021-02-18T06:59:07.973Z] experimental info: [2021-02-18T06:59:07.973Z] ------------------- [2021-02-18T06:59:07.973Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-18T06:59:07.973Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-18T06:59:07.973Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-18T06:59:08.235Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-18T06:59:08.328Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-18T06:59:08.425Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-18T06:59:08.514Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-18T06:59:08.606Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-18T06:59:08.698Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-18T06:59:08.787Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-18T06:59:08.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-18T06:59:08.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-18T06:59:09.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-18T06:59:09.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-18T06:59:09.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-18T06:59:09.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-18T06:59:09.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-18T06:59:09.637Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-18T06:59:09.727Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T06:59:09.816Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T06:59:09.899Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T06:59:09.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-18T06:59:10.069Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-18T06:59:10.175Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-18T06:59:10.279Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-18T06:59:10.388Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-18T06:59:10.486Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-18T06:59:10.576Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-18T06:59:10.686Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-18T06:59:10.775Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-18T06:59:10.858Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-789 [Pipeline] echo [2021-02-18T06:59:10.962Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-789 [Pipeline] echo [2021-02-18T06:59:11.044Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-789 [Pipeline] echo [2021-02-18T06:59:11.194Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57dae82459387a357bb33c28b656f336a5dcd1c4 [Pipeline] echo [2021-02-18T06:59:11.276Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57dae82 [Pipeline] echo [2021-02-18T06:59:11.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-18T06:59:11.590Z] provisioning config files... [2021-02-18T06:59:11.621Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config7482370177527988921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-18T06:59:11.975Z] ---> docker-login.sh [2021-02-18T06:59:11.975Z] nexus3.edgexfoundry.org:10001 [2021-02-18T06:59:12.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T06:59:12.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T06:59:12.500Z] Configure a credential helper to remove this warning. See [2021-02-18T06:59:12.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T06:59:12.500Z] [2021-02-18T06:59:12.500Z] Login Succeeded [2021-02-18T06:59:12.500Z] nexus3.edgexfoundry.org:10002 [2021-02-18T06:59:12.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T06:59:12.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T06:59:12.500Z] Configure a credential helper to remove this warning. See [2021-02-18T06:59:12.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T06:59:12.500Z] [2021-02-18T06:59:12.500Z] Login Succeeded [2021-02-18T06:59:12.500Z] nexus3.edgexfoundry.org:10003 [2021-02-18T06:59:12.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T06:59:12.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T06:59:12.762Z] Configure a credential helper to remove this warning. See [2021-02-18T06:59:12.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T06:59:12.762Z] [2021-02-18T06:59:12.762Z] Login Succeeded [2021-02-18T06:59:12.762Z] nexus3.edgexfoundry.org:10004 [2021-02-18T06:59:13.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T06:59:13.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T06:59:13.025Z] Configure a credential helper to remove this warning. See [2021-02-18T06:59:13.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T06:59:13.025Z] [2021-02-18T06:59:13.025Z] Login Succeeded [2021-02-18T06:59:13.025Z] docker.io [2021-02-18T06:59:13.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T06:59:13.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T06:59:13.287Z] Configure a credential helper to remove this warning. See [2021-02-18T06:59:13.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T06:59:13.287Z] [2021-02-18T06:59:13.287Z] Login Succeeded [2021-02-18T06:59:13.287Z] ---> docker-login.sh ends [Pipeline] } [2021-02-18T06:59:13.296Z] 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-02-18T06:59:14.092Z] + git log --format=format:%s -1 57dae82459387a357bb33c28b656f336a5dcd1c4 [Pipeline] echo [2021-02-18T06:59:14.160Z] GIT_COMMIT: 57dae82459387a357bb33c28b656f336a5dcd1c4, Commit Message: test: add unit tests for v2 cache [Pipeline] echo [2021-02-18T06:59:14.200Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-18T06:59:14.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T06:59:14.769Z] [2021-02-18T06:59:14.769Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T06:59:15.173Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T06:59:15.173Z] latest: Pulling from edgex-devops/git-semver [2021-02-18T06:59:15.173Z] 31603596830f: Pulling fs layer [2021-02-18T06:59:15.173Z] 2a8b12db71e7: Pulling fs layer [2021-02-18T06:59:15.173Z] 6ca5941a6612: Pulling fs layer [2021-02-18T06:59:15.173Z] ecc8261a40a4: Pulling fs layer [2021-02-18T06:59:15.173Z] ecc8261a40a4: Waiting [2021-02-18T06:59:15.173Z] 2a8b12db71e7: Verifying Checksum [2021-02-18T06:59:15.173Z] 2a8b12db71e7: Download complete [2021-02-18T06:59:15.436Z] 31603596830f: Verifying Checksum [2021-02-18T06:59:15.436Z] 31603596830f: Download complete [2021-02-18T06:59:15.436Z] 6ca5941a6612: Verifying Checksum [2021-02-18T06:59:15.436Z] 6ca5941a6612: Download complete [2021-02-18T06:59:15.436Z] ecc8261a40a4: Verifying Checksum [2021-02-18T06:59:15.436Z] ecc8261a40a4: Download complete [2021-02-18T06:59:15.698Z] 31603596830f: Pull complete [2021-02-18T06:59:15.961Z] 2a8b12db71e7: Pull complete [2021-02-18T06:59:16.914Z] 6ca5941a6612: Pull complete [2021-02-18T06:59:16.914Z] ecc8261a40a4: Pull complete [2021-02-18T06:59:16.914Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-18T06:59:16.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T06:59:16.914Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-18T06:59:17.022Z] prd-centos7-docker-4c-2g-26776 does not seem to be running inside a container [2021-02-18T06:59:17.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@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:10004/edgex-devops/git-semver:latest cat [2021-02-18T06:59:19.168Z] $ docker top 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-18T06:59:19.519Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-18T06:59:19.519Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-18T06:59:19.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-18T06:59:19.752Z] $ docker exec 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea ssh-agent [2021-02-18T06:59:19.918Z] SSH_AUTH_SOCK=/tmp/ssh-XmlVLqVcReh5/agent.12 [2021-02-18T06:59:19.918Z] SSH_AGENT_PID=17 [2021-02-18T06:59:19.930Z] Running ssh-add (command line suppressed) [2021-02-18T06:59:20.049Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_3904000456459857990.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_3904000456459857990.key) [2021-02-18T06:59:20.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-18T06:59:20.484Z] + git tag --points-at HEAD [Pipeline] } [2021-02-18T06:59:20.507Z] $ docker exec --env ******** --env ******** 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea ssh-agent -k [2021-02-18T06:59:20.629Z] unset SSH_AUTH_SOCK; [2021-02-18T06:59:20.629Z] unset SSH_AGENT_PID; [2021-02-18T06:59:20.630Z] echo Agent pid 17 killed; [2021-02-18T06:59:20.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-18T06:59:20.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-18T06:59:20.882Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-18T06:59:21.055Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-18T06:59:21.058Z] $ docker exec 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea ssh-agent [2021-02-18T06:59:21.223Z] SSH_AUTH_SOCK=/tmp/ssh-jm5Uaq3A3WG1/agent.46 [2021-02-18T06:59:21.223Z] SSH_AGENT_PID=51 [2021-02-18T06:59:21.231Z] Running ssh-add (command line suppressed) [2021-02-18T06:59:21.346Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_8525967266844706444.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_8525967266844706444.key) [2021-02-18T06:59:21.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-18T06:59:21.740Z] + git semver init [2021-02-18T06:59:21.740Z] # -> Open(): unable to determine branch for HEAD [2021-02-18T06:59:21.740Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.git [2021-02-18T06:59:21.740Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-789 [2021-02-18T06:59:21.740Z] # $SEMVER_REMOTE_NAME = origin [2021-02-18T06:59:21.740Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-18T06:59:21.740Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-18T06:59:21.740Z] # $SEMVER_BRANCH = PR-789 [2021-02-18T06:59:21.740Z] # $SEMVER_TEMP = /tmp/semver-271616953 [2021-02-18T06:59:21.740Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-18T06:59:22.314Z] # '/tmp/semver-271616953' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver' [2021-02-18T06:59:22.314Z] # -> Force: false [2021-02-18T06:59:22.314Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver [Pipeline] } [2021-02-18T06:59:22.326Z] $ docker exec --env ******** --env ******** 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea ssh-agent -k [2021-02-18T06:59:22.439Z] unset SSH_AUTH_SOCK; [2021-02-18T06:59:22.439Z] unset SSH_AGENT_PID; [2021-02-18T06:59:22.439Z] echo Agent pid 51 killed; [2021-02-18T06:59:22.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-18T06:59:22.946Z] + git semver [Pipeline] } [2021-02-18T06:59:22.963Z] $ docker stop --time=1 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea [2021-02-18T06:59:24.456Z] $ docker rm -f 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T06:59:24.920Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-18T06:59:25.508Z] Stashed 1 file(s) [Pipeline] echo [2021-02-18T06:59:25.511Z] [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-02-18T06:59:41.062Z] Still waiting to schedule task [2021-02-18T06:59:41.062Z] ‘prd-centos7-docker-4c-2g-26777’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26775’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-02-18T06:59:41.067Z] Still waiting to schedule task [2021-02-18T06:59:41.067Z] ‘prd-centos7-docker-4c-2g-26777’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26775’ is offline [2021-02-18T07:00:48.125Z] Running on prd-centos7-docker-4c-2g-26778 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws [2021-02-18T07:00:48.180Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-18T07:00:50.854Z] using credential edgex-jenkins-ssh [2021-02-18T07:00:50.921Z] Cloning the remote Git repository [2021-02-18T07:00:50.948Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T07:00:51.035Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-02-18T07:00:51.098Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T07:00:51.098Z] > git --version # timeout=10 [2021-02-18T07:00:51.106Z] > git --version # 'git version 2.24.3' [2021-02-18T07:00:51.107Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T07:00:51.131Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T07:00:52.352Z] Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 57dae82459387a357bb33c28b656f336a5dcd1c4 [2021-02-18T07:00:52.450Z] Merge succeeded, producing 57dae82459387a357bb33c28b656f336a5dcd1c4 [2021-02-18T07:00:52.451Z] Checking out Revision 57dae82459387a357bb33c28b656f336a5dcd1c4 (PR-789) [2021-02-18T07:00:51.845Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T07:00:51.852Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T07:00:51.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T07:00:51.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T07:00:51.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T07:00:51.896Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-18T07:00:52.360Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T07:00:52.365Z] > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 [2021-02-18T07:00:52.415Z] > git remote # timeout=10 [2021-02-18T07:00:52.420Z] > git config --get remote.origin.url # timeout=10 [2021-02-18T07:00:52.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T07:00:52.430Z] > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 [2021-02-18T07:00:52.443Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-18T07:00:52.453Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T07:00:52.460Z] > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 [2021-02-18T07:00:56.190Z] Commit message: "test: add unit tests for v2 cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T07:00:57.402Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-18T07:00:57.757Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-18T07:00:58.078Z] + true [2021-02-18T07:00:58.078Z] + sudo service docker restart [2021-02-18T07:00:58.078Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-18T07:00:59.122Z] provisioning config files... [2021-02-18T07:00:59.152Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5644408751069280623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-18T07:00:59.527Z] ---> docker-login.sh [2021-02-18T07:00:59.527Z] nexus3.edgexfoundry.org:10001 [2021-02-18T07:00:59.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T07:00:59.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T07:00:59.792Z] Configure a credential helper to remove this warning. See [2021-02-18T07:00:59.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T07:00:59.792Z] [2021-02-18T07:00:59.792Z] Login Succeeded [2021-02-18T07:00:59.792Z] nexus3.edgexfoundry.org:10002 [2021-02-18T07:01:00.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T07:01:00.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T07:01:00.055Z] Configure a credential helper to remove this warning. See [2021-02-18T07:01:00.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T07:01:00.055Z] [2021-02-18T07:01:00.055Z] Login Succeeded [2021-02-18T07:01:00.055Z] nexus3.edgexfoundry.org:10003 [2021-02-18T07:01:00.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T07:01:00.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T07:01:00.318Z] Configure a credential helper to remove this warning. See [2021-02-18T07:01:00.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T07:01:00.318Z] [2021-02-18T07:01:00.318Z] Login Succeeded [2021-02-18T07:01:00.318Z] nexus3.edgexfoundry.org:10004 [2021-02-18T07:01:00.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T07:01:00.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T07:01:00.318Z] Configure a credential helper to remove this warning. See [2021-02-18T07:01:00.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T07:01:00.318Z] [2021-02-18T07:01:00.318Z] Login Succeeded [2021-02-18T07:01:00.318Z] docker.io [2021-02-18T07:01:00.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T07:01:00.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T07:01:00.847Z] Configure a credential helper to remove this warning. See [2021-02-18T07:01:00.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T07:01:00.847Z] [2021-02-18T07:01:00.847Z] Login Succeeded [2021-02-18T07:01:00.847Z] ---> docker-login.sh ends [Pipeline] } [2021-02-18T07:01:00.858Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-18T07:01:01.321Z] ========================================================= [2021-02-18T07:01:01.321Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-18T07:01:01.321Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-18T07:01:01.694Z] + 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-02-18T07:01:01.694Z] Sending build context to Docker daemon 2.435MB [2021-02-18T07:01:01.694Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T07:01:01.694Z] Step 2/8 : FROM ${BASE} [2021-02-18T07:01:01.957Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-18T07:01:01.957Z] 188c0c94c7c5: Pulling fs layer [2021-02-18T07:01:01.957Z] 0ef7d3d256c8: Pulling fs layer [2021-02-18T07:01:01.957Z] de9db76c5a1d: Pulling fs layer [2021-02-18T07:01:01.957Z] bca2f99d35d6: Pulling fs layer [2021-02-18T07:01:01.957Z] 93359f2a8cfa: Pulling fs layer [2021-02-18T07:01:01.957Z] 7c6f9722023f: Pulling fs layer [2021-02-18T07:01:01.957Z] a35cf1a2eb13: Pulling fs layer [2021-02-18T07:01:01.957Z] 93359f2a8cfa: Waiting [2021-02-18T07:01:01.957Z] 7c6f9722023f: Waiting [2021-02-18T07:01:01.957Z] a35cf1a2eb13: Waiting [2021-02-18T07:01:01.957Z] bca2f99d35d6: Waiting [2021-02-18T07:01:01.957Z] de9db76c5a1d: Verifying Checksum [2021-02-18T07:01:01.957Z] de9db76c5a1d: Download complete [2021-02-18T07:01:01.957Z] 0ef7d3d256c8: Verifying Checksum [2021-02-18T07:01:01.957Z] 0ef7d3d256c8: Download complete [2021-02-18T07:01:01.957Z] 93359f2a8cfa: Verifying Checksum [2021-02-18T07:01:01.957Z] 93359f2a8cfa: Download complete [2021-02-18T07:01:01.957Z] 7c6f9722023f: Verifying Checksum [2021-02-18T07:01:01.957Z] 7c6f9722023f: Download complete [2021-02-18T07:01:01.957Z] 188c0c94c7c5: Verifying Checksum [2021-02-18T07:01:01.957Z] 188c0c94c7c5: Download complete [2021-02-18T07:01:02.225Z] 188c0c94c7c5: Pull complete [2021-02-18T07:01:02.494Z] 0ef7d3d256c8: Pull complete [2021-02-18T07:01:02.767Z] de9db76c5a1d: Pull complete [2021-02-18T07:01:04.164Z] a35cf1a2eb13: Verifying Checksum [2021-02-18T07:01:04.164Z] a35cf1a2eb13: Download complete [2021-02-18T07:01:04.750Z] bca2f99d35d6: Verifying Checksum [2021-02-18T07:01:04.750Z] bca2f99d35d6: Download complete [2021-02-18T07:01:10.120Z] bca2f99d35d6: Pull complete [2021-02-18T07:01:10.120Z] 93359f2a8cfa: Pull complete [2021-02-18T07:01:10.120Z] 7c6f9722023f: Pull complete [2021-02-18T07:01:16.771Z] a35cf1a2eb13: Pull complete [2021-02-18T07:01:16.771Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-18T07:01:16.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-18T07:01:16.771Z] ---> a62c8e92a672 [2021-02-18T07:01:16.771Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T07:01:17.040Z] ---> Running in 862dbe86d26e [2021-02-18T07:01:17.308Z] Removing intermediate container 862dbe86d26e [2021-02-18T07:01:17.308Z] ---> 83f1644fb3ff [2021-02-18T07:01:17.308Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T07:01:17.308Z] ---> Running in 860a361071ad [2021-02-18T07:01:18.706Z] Removing intermediate container 860a361071ad [2021-02-18T07:01:18.706Z] ---> 3018c0a3c486 [2021-02-18T07:01:18.706Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-18T07:01:18.706Z] ---> Running in eb64877bf6cd [2021-02-18T07:01:19.671Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-18T07:01:20.249Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-18T07:01:20.841Z] OK: 166 MiB in 39 packages [2021-02-18T07:01:21.108Z] Removing intermediate container eb64877bf6cd [2021-02-18T07:01:21.108Z] ---> b2b30812d4f7 [2021-02-18T07:01:21.108Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-18T07:01:21.108Z] ---> Running in 22c6e93f79e7 [2021-02-18T07:01:21.380Z] Removing intermediate container 22c6e93f79e7 [2021-02-18T07:01:21.380Z] ---> 83d62d96c99f [2021-02-18T07:01:21.380Z] Step 7/8 : COPY . . [2021-02-18T07:01:22.797Z] ---> 354790f69443 [2021-02-18T07:01:22.797Z] Step 8/8 : RUN go mod download [2021-02-18T07:01:22.797Z] ---> Running in 0a4c6132fc73 [2021-02-18T07:01:44.983Z] Removing intermediate container 0a4c6132fc73 [2021-02-18T07:01:44.983Z] ---> da04ff2e92c6 [2021-02-18T07:01:44.983Z] Successfully built da04ff2e92c6 [2021-02-18T07:01:44.983Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T07:01:45.301Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-18T07:01:45.301Z] . [Pipeline] withDockerContainer [2021-02-18T07:01:45.427Z] prd-centos7-docker-4c-2g-26778 does not seem to be running inside a container [2021-02-18T07:01:45.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-18T07:01:46.290Z] $ docker top 593b2c54c02b00fd0c6bc89a5c8fc9a1ed34a6227c7413234c81346ac1fb8753 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T07:01:46.849Z] + go version [2021-02-18T07:01:46.849Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-18T07:01:46.865Z] $ docker stop --time=1 593b2c54c02b00fd0c6bc89a5c8fc9a1ed34a6227c7413234c81346ac1fb8753 [2021-02-18T07:01:48.231Z] $ docker rm -f 593b2c54c02b00fd0c6bc89a5c8fc9a1ed34a6227c7413234c81346ac1fb8753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-18T07:01:49.096Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-18T07:01:49.096Z] . [Pipeline] withDockerContainer [2021-02-18T07:01:49.204Z] prd-centos7-docker-4c-2g-26778 does not seem to be running inside a container [2021-02-18T07:01:49.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-18T07:01:49.994Z] $ docker top a22c30809e522f78babdaa87e3983362fc8a26adf3e4c2698a9980316f99cbc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T07:01:50.515Z] + make test [2021-02-18T07:01:50.515Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-18T07:01:57.106Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26779 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws [2021-02-18T07:01:57.161Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-18T07:01:58.722Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-18T07:02:02.128Z] using credential edgex-jenkins-ssh [2021-02-18T07:02:02.187Z] Cloning the remote Git repository [2021-02-18T07:02:02.240Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T07:02:02.347Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-02-18T07:02:02.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T07:02:02.429Z] > git --version # timeout=10 [2021-02-18T07:02:02.452Z] > git --version # 'git version 2.17.1' [2021-02-18T07:02:02.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T07:02:02.520Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T07:02:04.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T07:02:04.067Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T07:02:04.092Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-18T07:02:04.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-18T07:02:04.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T07:02:04.144Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-18T07:02:04.776Z] Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 57dae82459387a357bb33c28b656f336a5dcd1c4 [2021-02-18T07:02:05.019Z] Merge succeeded, producing 57dae82459387a357bb33c28b656f336a5dcd1c4 [2021-02-18T07:02:05.020Z] Checking out Revision 57dae82459387a357bb33c28b656f336a5dcd1c4 (PR-789) [2021-02-18T07:02:04.799Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T07:02:04.817Z] > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 [2021-02-18T07:02:04.930Z] > git remote # timeout=10 [2021-02-18T07:02:04.949Z] > git config --get remote.origin.url # timeout=10 [2021-02-18T07:02:04.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T07:02:04.985Z] > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 [2021-02-18T07:02:05.008Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-18T07:02:05.029Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T07:02:05.043Z] > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 [2021-02-18T07:02:09.409Z] Commit message: "test: add unit tests for v2 cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T07:02:10.839Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-18T07:02:11.261Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-18T07:02:11.904Z] + true [2021-02-18T07:02:11.905Z] + sudo service docker restart [2021-02-18T07:02:13.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-18T07:02:13.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-18T07:02:13.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-18T07:02:14.614Z] provisioning config files... [2021-02-18T07:02:14.662Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1101674709125252021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-18T07:02:15.068Z] ---> docker-login.sh [2021-02-18T07:02:15.068Z] nexus3.edgexfoundry.org:10001 [2021-02-18T07:02:16.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T07:02:16.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T07:02:16.319Z] Configure a credential helper to remove this warning. See [2021-02-18T07:02:16.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T07:02:16.319Z] [2021-02-18T07:02:16.319Z] Login Succeeded [2021-02-18T07:02:16.319Z] nexus3.edgexfoundry.org:10002 [2021-02-18T07:02:16.377Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 25.5% of statements [2021-02-18T07:02:16.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T07:02:16.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T07:02:16.920Z] Configure a credential helper to remove this warning. See [2021-02-18T07:02:16.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T07:02:16.920Z] [2021-02-18T07:02:16.920Z] Login Succeeded [2021-02-18T07:02:16.920Z] nexus3.edgexfoundry.org:10003 [2021-02-18T07:02:17.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T07:02:17.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T07:02:17.515Z] Configure a credential helper to remove this warning. See [2021-02-18T07:02:17.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T07:02:17.515Z] [2021-02-18T07:02:17.515Z] Login Succeeded [2021-02-18T07:02:17.515Z] nexus3.edgexfoundry.org:10004 [2021-02-18T07:02:17.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T07:02:18.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T07:02:18.063Z] Configure a credential helper to remove this warning. See [2021-02-18T07:02:18.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T07:02:18.063Z] [2021-02-18T07:02:18.063Z] Login Succeeded [2021-02-18T07:02:18.063Z] docker.io [2021-02-18T07:02:18.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-18T07:02:18.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-18T07:02:18.611Z] Configure a credential helper to remove this warning. See [2021-02-18T07:02:18.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-18T07:02:18.611Z] [2021-02-18T07:02:18.611Z] Login Succeeded [2021-02-18T07:02:18.611Z] ---> docker-login.sh ends [Pipeline] } [2021-02-18T07:02:18.629Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-18T07:02:19.056Z] ========================================================= [2021-02-18T07:02:19.056Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-18T07:02:19.056Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-18T07:02:19.434Z] + 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-02-18T07:02:20.035Z] Sending build context to Docker daemon 2.443MB [2021-02-18T07:02:20.035Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T07:02:20.035Z] Step 2/8 : FROM ${BASE} [2021-02-18T07:02:20.035Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-18T07:02:20.035Z] 5f621e34cdf4: Pulling fs layer [2021-02-18T07:02:20.035Z] a4357932f1b6: Pulling fs layer [2021-02-18T07:02:20.035Z] 18c013af1878: Pulling fs layer [2021-02-18T07:02:20.035Z] 00ac8860ef70: Pulling fs layer [2021-02-18T07:02:20.035Z] 63d7cb157983: Pulling fs layer [2021-02-18T07:02:20.035Z] b116817d02f9: Pulling fs layer [2021-02-18T07:02:20.035Z] 745a02a5169b: Pulling fs layer [2021-02-18T07:02:20.035Z] 00ac8860ef70: Waiting [2021-02-18T07:02:20.035Z] 63d7cb157983: Waiting [2021-02-18T07:02:20.035Z] b116817d02f9: Waiting [2021-02-18T07:02:20.035Z] 745a02a5169b: Waiting [2021-02-18T07:02:20.035Z] 18c013af1878: Download complete [2021-02-18T07:02:20.035Z] a4357932f1b6: Verifying Checksum [2021-02-18T07:02:20.035Z] a4357932f1b6: Download complete [2021-02-18T07:02:20.035Z] 63d7cb157983: Verifying Checksum [2021-02-18T07:02:20.035Z] 63d7cb157983: Download complete [2021-02-18T07:02:20.035Z] b116817d02f9: Verifying Checksum [2021-02-18T07:02:20.035Z] b116817d02f9: Download complete [2021-02-18T07:02:20.035Z] 5f621e34cdf4: Verifying Checksum [2021-02-18T07:02:20.035Z] 5f621e34cdf4: Download complete [2021-02-18T07:02:21.026Z] 5f621e34cdf4: Pull complete [2021-02-18T07:02:21.305Z] a4357932f1b6: Pull complete [2021-02-18T07:02:21.918Z] 18c013af1878: Pull complete [2021-02-18T07:02:22.190Z] 745a02a5169b: Verifying Checksum [2021-02-18T07:02:22.190Z] 745a02a5169b: Download complete [2021-02-18T07:02:23.616Z] 00ac8860ef70: Download complete [2021-02-18T07:02:33.776Z] 00ac8860ef70: Pull complete [2021-02-18T07:02:34.048Z] 63d7cb157983: Pull complete [2021-02-18T07:02:34.321Z] b116817d02f9: Pull complete [2021-02-18T07:02:38.641Z] 745a02a5169b: Pull complete [2021-02-18T07:02:38.641Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-18T07:02:38.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-18T07:02:38.641Z] ---> b7e6874047d6 [2021-02-18T07:02:38.641Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T07:02:41.264Z] ---> Running in 6b62b06d7eb9 [2021-02-18T07:02:41.536Z] Removing intermediate container 6b62b06d7eb9 [2021-02-18T07:02:41.536Z] ---> 585fa0ebea16 [2021-02-18T07:02:41.536Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T07:02:41.536Z] ---> Running in a8c359d5c825 [2021-02-18T07:02:44.160Z] Removing intermediate container a8c359d5c825 [2021-02-18T07:02:44.160Z] ---> c7653aacb8f9 [2021-02-18T07:02:44.160Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-18T07:02:44.160Z] ---> Running in c0602124b998 [2021-02-18T07:02:44.760Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-18T07:02:45.735Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-18T07:02:46.331Z] OK: 142 MiB in 39 packages [2021-02-18T07:02:47.311Z] Removing intermediate container c0602124b998 [2021-02-18T07:02:47.311Z] ---> 48d80f74cb61 [2021-02-18T07:02:47.311Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-18T07:02:47.586Z] ---> Running in 25894cb9ee57 [2021-02-18T07:02:48.189Z] Removing intermediate container 25894cb9ee57 [2021-02-18T07:02:48.189Z] ---> 1168b4a7a09c [2021-02-18T07:02:48.189Z] Step 7/8 : COPY . . [2021-02-18T07:02:48.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.047s coverage: 10.1% of statements [2021-02-18T07:02:48.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.060s coverage: 12.5% of statements [2021-02-18T07:02:48.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-18T07:02:48.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.066s coverage: 84.8% of statements [2021-02-18T07:02:48.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-18T07:02:48.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-18T07:02:48.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-18T07:02:48.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-18T07:02:48.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 49.2% of statements [2021-02-18T07:02:48.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-18T07:02:48.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.064s coverage: 80.2% of statements [2021-02-18T07:02:48.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.078s coverage: 24.8% of statements [2021-02-18T07:02:48.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.332s coverage: 83.5% of statements [2021-02-18T07:02:48.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 5.3% of statements [2021-02-18T07:02:48.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-18T07:02:48.540Z] GO111MODULE=on go vet ./... [2021-02-18T07:02:49.169Z] ---> f90deb2ce576 [2021-02-18T07:02:49.169Z] Step 8/8 : RUN go mod download [2021-02-18T07:02:49.442Z] ---> Running in 0b97566ba649 [2021-02-18T07:02:55.218Z] gofmt -l . [2021-02-18T07:02:55.483Z] [ "`gofmt -l .`" = "" ] [2021-02-18T07:02:55.483Z] ./bin/test-attribution-txt.sh [2021-02-18T07:02:56.433Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-18T07:02:56.716Z] $ docker stop --time=1 a22c30809e522f78babdaa87e3983362fc8a26adf3e4c2698a9980316f99cbc3 [2021-02-18T07:02:58.647Z] $ docker rm -f a22c30809e522f78babdaa87e3983362fc8a26adf3e4c2698a9980316f99cbc3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T07:02:59.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-18T07:02:59.704Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-18T07:03:02.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-18T07:03:02.661Z] + ls -al . [2021-02-18T07:03:02.661Z] total 184 [2021-02-18T07:03:02.661Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 07:02 . [2021-02-18T07:03:02.661Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 18 07:00 .. [2021-02-18T07:03:02.661Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 18 07:00 bin [2021-02-18T07:03:02.661Z] -rw-r--r--. 1 jenkins jenkins 101947 Feb 18 07:02 coverage.out [2021-02-18T07:03:02.661Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 18 07:00 Dockerfile.build [2021-02-18T07:03:02.661Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 18 07:00 .dockerignore [2021-02-18T07:03:02.661Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 18 07:00 example [2021-02-18T07:03:02.661Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 07:00 .git [2021-02-18T07:03:02.661Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 18 07:00 .github [2021-02-18T07:03:02.661Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 18 07:00 .gitignore [2021-02-18T07:03:02.661Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 18 07:02 go.mod [2021-02-18T07:03:02.661Z] -rw-r--r--. 1 jenkins jenkins 19062 Feb 18 07:02 go.sum [2021-02-18T07:03:02.661Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 18 07:00 internal [2021-02-18T07:03:02.661Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 18 07:00 Jenkinsfile [2021-02-18T07:03:02.661Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 18 07:00 LICENSE [2021-02-18T07:03:02.661Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 18 07:00 Makefile [2021-02-18T07:03:02.661Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 18 07:00 openapi [2021-02-18T07:03:02.661Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 18 07:00 pkg [2021-02-18T07:03:02.661Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 18 07:00 README.md [2021-02-18T07:03:02.661Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 18 07:00 RELEASE-NOTES.txt [2021-02-18T07:03:02.661Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 18 07:00 snap [2021-02-18T07:03:02.661Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 06:59 VERSION [2021-02-18T07:03:02.661Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 18 07:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-18T07:03:02.967Z] + 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=57dae82459387a357bb33c28b656f336a5dcd1c4 --label arch=amd64 --label version=0.0.0 . [2021-02-18T07:03:03.231Z] Sending build context to Docker daemon 2.538MB [2021-02-18T07:03:03.231Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T07:03:03.231Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-18T07:03:03.231Z] ---> da04ff2e92c6 [2021-02-18T07:03:03.231Z] Step 3/24 : ARG MAKE='make build' [2021-02-18T07:03:03.804Z] ---> Running in 9924a5d1d076 [2021-02-18T07:03:04.066Z] Removing intermediate container 9924a5d1d076 [2021-02-18T07:03:04.066Z] ---> e5ff653cb324 [2021-02-18T07:03:04.066Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-18T07:03:04.066Z] ---> Running in 2e24e756b2a0 [2021-02-18T07:03:04.327Z] Removing intermediate container 2e24e756b2a0 [2021-02-18T07:03:04.327Z] ---> afbc628e8d5f [2021-02-18T07:03:04.327Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T07:03:04.327Z] ---> Running in ca653b643b13 [2021-02-18T07:03:04.327Z] Removing intermediate container ca653b643b13 [2021-02-18T07:03:04.327Z] ---> 79dea2ffb63f [2021-02-18T07:03:04.327Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T07:03:04.591Z] ---> Running in 022aebad80d2 [2021-02-18T07:03:05.546Z] Removing intermediate container 022aebad80d2 [2021-02-18T07:03:05.546Z] ---> 6bb35213417d [2021-02-18T07:03:05.546Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-18T07:03:05.546Z] ---> Running in ab7e59ac7c0c [2021-02-18T07:03:06.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-18T07:03:06.699Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-18T07:03:07.274Z] OK: 166 MiB in 39 packages [2021-02-18T07:03:07.537Z] Removing intermediate container ab7e59ac7c0c [2021-02-18T07:03:07.537Z] ---> a87087cf006b [2021-02-18T07:03:07.537Z] Step 8/24 : COPY . . [2021-02-18T07:03:08.482Z] ---> bc0125d0caa4 [2021-02-18T07:03:08.482Z] Step 9/24 : RUN ${MAKE} [2021-02-18T07:03:08.747Z] ---> Running in 1a36fa8db26f [2021-02-18T07:03:09.010Z] 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-02-18T07:03:16.233Z] Removing intermediate container 0b97566ba649 [2021-02-18T07:03:16.233Z] ---> 6601d78d8bdc [2021-02-18T07:03:16.233Z] Successfully built 6601d78d8bdc [2021-02-18T07:03:16.233Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T07:03:16.577Z] + docker inspect -f . ci-base-image-arm64 [2021-02-18T07:03:16.577Z] . [Pipeline] withDockerContainer [2021-02-18T07:03:16.849Z] prd-ubuntu18.04-docker-arm64-4c-16g-26779 does not seem to be running inside a container [2021-02-18T07:03:16.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-18T07:03:18.422Z] $ docker top f5b829684204f9ad9c97dcc07d3d40ea31cd6b6e9a17219db9ab53b5d3d8e1b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T07:03:19.135Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-18T07:03:19.465Z] + go version [2021-02-18T07:03:19.465Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-18T07:03:19.492Z] $ docker stop --time=1 f5b829684204f9ad9c97dcc07d3d40ea31cd6b6e9a17219db9ab53b5d3d8e1b4 [2021-02-18T07:03:19.711Z] Removing intermediate container 1a36fa8db26f [2021-02-18T07:03:19.711Z] ---> 08a7838d107d [2021-02-18T07:03:19.711Z] Step 10/24 : FROM scratch [2021-02-18T07:03:19.711Z] ---> [2021-02-18T07:03:19.711Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T07:03:19.973Z] ---> Running in e76df68335af [2021-02-18T07:03:19.973Z] Removing intermediate container e76df68335af [2021-02-18T07:03:19.973Z] ---> 13ca5c736186 [2021-02-18T07:03:19.973Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-18T07:03:19.973Z] ---> Running in f5f8c7b49081 [2021-02-18T07:03:20.239Z] Removing intermediate container f5f8c7b49081 [2021-02-18T07:03:20.239Z] ---> b2a65804ce75 [2021-02-18T07:03:20.239Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-18T07:03:20.239Z] ---> Running in 2ae0f72920f6 [2021-02-18T07:03:20.502Z] Removing intermediate container 2ae0f72920f6 [2021-02-18T07:03:20.502Z] ---> f323eae1d1b8 [2021-02-18T07:03:20.502Z] Step 14/24 : WORKDIR / [2021-02-18T07:03:20.502Z] ---> Running in 99660f778a2c [2021-02-18T07:03:20.502Z] Removing intermediate container 99660f778a2c [2021-02-18T07:03:20.502Z] ---> 049ec849b911 [2021-02-18T07:03:20.502Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-18T07:03:21.091Z] ---> 91d74fe223a3 [2021-02-18T07:03:21.091Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-18T07:03:21.351Z] $ docker rm -f f5b829684204f9ad9c97dcc07d3d40ea31cd6b6e9a17219db9ab53b5d3d8e1b4 [2021-02-18T07:03:21.354Z] ---> 5d6c55d66460 [2021-02-18T07:03:21.354Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-18T07:03:21.622Z] ---> 3cfb1203576c [2021-02-18T07:03:21.622Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-02-18T07:03:21.883Z] ---> f5affe8e6470 [2021-02-18T07:03:21.883Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-18T07:03:22.145Z] ---> 385aa52c3add [2021-02-18T07:03:22.146Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-18T07:03:22.146Z] ---> Running in 92ac64041f9e [2021-02-18T07:03:22.370Z] + docker inspect -f . ci-base-image-arm64 [2021-02-18T07:03:22.370Z] . [Pipeline] withDockerContainer [2021-02-18T07:03:22.408Z] Removing intermediate container 92ac64041f9e [2021-02-18T07:03:22.408Z] ---> 8818d5a6a551 [2021-02-18T07:03:22.408Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-18T07:03:22.408Z] ---> Running in b5d1cdaab123 [2021-02-18T07:03:22.408Z] Removing intermediate container b5d1cdaab123 [2021-02-18T07:03:22.408Z] ---> 1f934537ae18 [2021-02-18T07:03:22.408Z] Step 22/24 : LABEL arch=amd64 [2021-02-18T07:03:22.632Z] prd-ubuntu18.04-docker-arm64-4c-16g-26779 does not seem to be running inside a container [2021-02-18T07:03:22.671Z] ---> Running in 8f8e907273be [2021-02-18T07:03:22.671Z] Removing intermediate container 8f8e907273be [2021-02-18T07:03:22.671Z] ---> a4f58ae7798e [2021-02-18T07:03:22.671Z] Step 23/24 : LABEL git_sha=57dae82459387a357bb33c28b656f336a5dcd1c4 [2021-02-18T07:03:22.671Z] ---> Running in 528fc42a19ed [2021-02-18T07:03:22.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-18T07:03:22.934Z] Removing intermediate container 528fc42a19ed [2021-02-18T07:03:22.934Z] ---> 9c3677eed273 [2021-02-18T07:03:22.934Z] Step 24/24 : LABEL version=0.0.0 [2021-02-18T07:03:22.934Z] ---> Running in 857e7fbfce70 [2021-02-18T07:03:23.198Z] Removing intermediate container 857e7fbfce70 [2021-02-18T07:03:23.198Z] ---> 610e7b0dcc13 [2021-02-18T07:03:23.198Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-18T07:03:23.198Z] Successfully built 610e7b0dcc13 [2021-02-18T07:03:23.198Z] Successfully tagged docker-device-sdk-simple:latest [2021-02-18T07:03:24.201Z] $ docker top 2cd4e752f639646b8e614e0868f3dd8d52392c8a70b2e302edbca4f146ae5c77 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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 [2021-02-18T07:03:25.229Z] + make test [2021-02-18T07:03:25.229Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-18T07:03:47.437Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-18T07:04:34.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-18T07:04:34.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-18T07:04:34.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-18T07:04:34.530Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.123s coverage: 25.5% of statements [2021-02-18T07:05:01.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.117s coverage: 10.1% of statements [2021-02-18T07:05:01.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.144s coverage: 12.5% of statements [2021-02-18T07:05:01.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-18T07:05:01.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.167s coverage: 84.8% of statements [2021-02-18T07:05:01.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-18T07:05:01.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-18T07:05:01.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-18T07:05:01.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-18T07:05:01.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 49.2% of statements [2021-02-18T07:05:01.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-18T07:05:01.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.149s coverage: 80.2% of statements [2021-02-18T07:05:01.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.164s coverage: 24.8% of statements [2021-02-18T07:05:01.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.900s coverage: 83.5% of statements [2021-02-18T07:05:01.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.3% of statements [2021-02-18T07:05:01.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-18T07:05:01.331Z] GO111MODULE=on go vet ./... [2021-02-18T07:05:33.709Z] gofmt -l . [2021-02-18T07:05:33.709Z] [ "`gofmt -l .`" = "" ] [2021-02-18T07:05:33.709Z] ./bin/test-attribution-txt.sh [2021-02-18T07:05:34.308Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-18T07:05:34.933Z] $ docker stop --time=1 2cd4e752f639646b8e614e0868f3dd8d52392c8a70b2e302edbca4f146ae5c77 [2021-02-18T07:05:37.197Z] $ docker rm -f 2cd4e752f639646b8e614e0868f3dd8d52392c8a70b2e302edbca4f146ae5c77 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T07:05:38.279Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-18T07:05:38.347Z] Warning: overwriting stash ‘coverage-report’ [2021-02-18T07:05:39.165Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T07:05:39.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-18T07:05:40.277Z] + ls -al . [2021-02-18T07:05:40.277Z] total 220 [2021-02-18T07:05:40.277Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 07:05 . [2021-02-18T07:05:40.277Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:02 .. [2021-02-18T07:05:40.277Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 18 07:02 .dockerignore [2021-02-18T07:05:40.277Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 07:02 .git [2021-02-18T07:05:40.277Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:02 .github [2021-02-18T07:05:40.277Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 18 07:02 .gitignore [2021-02-18T07:05:40.277Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 18 07:02 Dockerfile.build [2021-02-18T07:05:40.277Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 18 07:02 Jenkinsfile [2021-02-18T07:05:40.277Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 18 07:02 LICENSE [2021-02-18T07:05:40.277Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 18 07:02 Makefile [2021-02-18T07:05:40.277Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 18 07:02 README.md [2021-02-18T07:05:40.277Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 18 07:02 RELEASE-NOTES.txt [2021-02-18T07:05:40.277Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 06:59 VERSION [2021-02-18T07:05:40.277Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:02 bin [2021-02-18T07:05:40.277Z] -rw-r--r-- 1 jenkins jenkins 101947 Feb 18 07:04 coverage.out [2021-02-18T07:05:40.277Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:02 example [2021-02-18T07:05:40.277Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 18 07:05 go.mod [2021-02-18T07:05:40.277Z] -rw-r--r-- 1 jenkins jenkins 19062 Feb 18 07:05 go.sum [2021-02-18T07:05:40.277Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 18 07:02 internal [2021-02-18T07:05:40.277Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:02 openapi [2021-02-18T07:05:40.277Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 18 07:02 pkg [2021-02-18T07:05:40.277Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:02 snap [2021-02-18T07:05:40.277Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 18 07:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-18T07:05:40.647Z] + 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=57dae82459387a357bb33c28b656f336a5dcd1c4 --label arch=arm64 --label version=0.0.0 . [2021-02-18T07:05:40.941Z] Sending build context to Docker daemon 2.546MB [2021-02-18T07:05:41.223Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-18T07:05:41.223Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-18T07:05:41.223Z] ---> 6601d78d8bdc [2021-02-18T07:05:41.223Z] Step 3/24 : ARG MAKE='make build' [2021-02-18T07:05:41.504Z] ---> Running in b56b6766051a [2021-02-18T07:05:41.779Z] Removing intermediate container b56b6766051a [2021-02-18T07:05:41.779Z] ---> 27c82f23ed73 [2021-02-18T07:05:41.779Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-18T07:05:42.053Z] ---> Running in f1532022794f [2021-02-18T07:05:42.650Z] Removing intermediate container f1532022794f [2021-02-18T07:05:42.650Z] ---> 95eb75527b62 [2021-02-18T07:05:42.650Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T07:05:42.650Z] ---> Running in 0ec9804cfc11 [2021-02-18T07:05:43.247Z] Removing intermediate container 0ec9804cfc11 [2021-02-18T07:05:43.247Z] ---> 35f4649303c5 [2021-02-18T07:05:43.247Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-18T07:05:43.247Z] ---> Running in 848d0a3e8e20 [2021-02-18T07:05:45.224Z] Removing intermediate container 848d0a3e8e20 [2021-02-18T07:05:45.224Z] ---> 632612f3b961 [2021-02-18T07:05:45.224Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-18T07:05:45.501Z] ---> Running in 86b4b472f228 [2021-02-18T07:05:46.476Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-18T07:05:47.068Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-18T07:05:48.044Z] OK: 142 MiB in 39 packages [2021-02-18T07:05:49.023Z] Removing intermediate container 86b4b472f228 [2021-02-18T07:05:49.023Z] ---> df2d2f3ab36f [2021-02-18T07:05:49.023Z] Step 8/24 : COPY . . [2021-02-18T07:05:50.471Z] ---> 65a95a29bda4 [2021-02-18T07:05:50.471Z] Step 9/24 : RUN ${MAKE} [2021-02-18T07:05:50.745Z] ---> Running in 07a505e9afc8 [2021-02-18T07:05:51.721Z] 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-02-18T07:06:18.543Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-18T07:06:19.141Z] Removing intermediate container 07a505e9afc8 [2021-02-18T07:06:19.141Z] ---> e3af6d1168c3 [2021-02-18T07:06:19.141Z] Step 10/24 : FROM scratch [2021-02-18T07:06:19.141Z] ---> [2021-02-18T07:06:19.141Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-18T07:06:19.141Z] ---> Running in 48da8cd717cd [2021-02-18T07:06:19.414Z] Removing intermediate container 48da8cd717cd [2021-02-18T07:06:19.414Z] ---> 8c58b02b1912 [2021-02-18T07:06:19.414Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-18T07:06:19.686Z] ---> Running in ac6559f25713 [2021-02-18T07:06:19.958Z] Removing intermediate container ac6559f25713 [2021-02-18T07:06:19.958Z] ---> 0c203870fcc7 [2021-02-18T07:06:19.958Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-18T07:06:19.958Z] ---> Running in 34a050fc70ec [2021-02-18T07:06:20.550Z] Removing intermediate container 34a050fc70ec [2021-02-18T07:06:20.550Z] ---> 502d87a1cdc1 [2021-02-18T07:06:20.550Z] Step 14/24 : WORKDIR / [2021-02-18T07:06:20.550Z] ---> Running in 33603a98488f [2021-02-18T07:06:21.145Z] Removing intermediate container 33603a98488f [2021-02-18T07:06:21.145Z] ---> 69b2e7f7123a [2021-02-18T07:06:21.145Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-18T07:06:22.119Z] ---> ac9c0c560f77 [2021-02-18T07:06:22.119Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-18T07:06:22.714Z] ---> af1882ebf84e [2021-02-18T07:06:22.714Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-18T07:06:23.694Z] ---> 4cfb0fc6000b [2021-02-18T07:06:23.694Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-18T07:06:24.287Z] ---> a728d1b1a0bb [2021-02-18T07:06:24.287Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-18T07:06:24.881Z] ---> 5c9c63d8dd62 [2021-02-18T07:06:24.881Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-18T07:06:25.155Z] ---> Running in 2dc9fd3d80aa [2021-02-18T07:06:25.425Z] Removing intermediate container 2dc9fd3d80aa [2021-02-18T07:06:25.425Z] ---> 5d0ea07a9b1f [2021-02-18T07:06:25.425Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-18T07:06:25.694Z] ---> Running in ee6f936aa92d [2021-02-18T07:06:25.972Z] Removing intermediate container ee6f936aa92d [2021-02-18T07:06:25.972Z] ---> 68017ed9f821 [2021-02-18T07:06:25.972Z] Step 22/24 : LABEL arch=arm64 [2021-02-18T07:06:25.972Z] ---> Running in c5e11aa4cca6 [2021-02-18T07:06:26.567Z] Removing intermediate container c5e11aa4cca6 [2021-02-18T07:06:26.567Z] ---> ce9c1e2ea220 [2021-02-18T07:06:26.567Z] Step 23/24 : LABEL git_sha=57dae82459387a357bb33c28b656f336a5dcd1c4 [2021-02-18T07:06:26.567Z] ---> Running in 92961700faed [2021-02-18T07:06:27.161Z] Removing intermediate container 92961700faed [2021-02-18T07:06:27.161Z] ---> 9cb6ec075e2b [2021-02-18T07:06:27.161Z] Step 24/24 : LABEL version=0.0.0 [2021-02-18T07:06:27.161Z] ---> Running in 6d15bc3b512f [2021-02-18T07:06:27.754Z] Removing intermediate container 6d15bc3b512f [2021-02-18T07:06:27.754Z] ---> de04c8c32c27 [2021-02-18T07:06:27.755Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-18T07:06:27.755Z] Successfully built de04c8c32c27 [2021-02-18T07:06:27.755Z] 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-02-18T07:06:29.471Z] provisioning config files... [2021-02-18T07:06:29.483Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config1407246333369098288tmp [Pipeline] { [Pipeline] sh [2021-02-18T07:06:29.879Z] + set +x [2021-02-18T07:06:29.879Z] + bash -s -- [2021-02-18T07:06:29.879Z] + curl -s https://codecov.io/bash [2021-02-18T07:06:30.143Z] [2021-02-18T07:06:30.143Z] _____ _ [2021-02-18T07:06:30.143Z] / ____| | | [2021-02-18T07:06:30.143Z] | | ___ __| | ___ ___ _____ __ [2021-02-18T07:06:30.143Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-18T07:06:30.143Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-18T07:06:30.143Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-18T07:06:30.143Z] Bash-20210129-7c25fce [2021-02-18T07:06:30.143Z] [2021-02-18T07:06:30.143Z] [2021-02-18T07:06:30.143Z] ==> git version 2.24.3 found [2021-02-18T07:06:30.143Z] ==> 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-02-18T07:06:30.143Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-18T07:06:30.143Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-18T07:06:30.143Z] ==> Jenkins CI detected. [2021-02-18T07:06:30.143Z] project root: . [2021-02-18T07:06:30.143Z] --> token set from env [2021-02-18T07:06:30.143Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-18T07:06:30.143Z] ==> Running gcov in . (disable via -X gcov) [2021-02-18T07:06:30.143Z] ==> Python coveragepy not found [2021-02-18T07:06:30.143Z] ==> Searching for coverage reports in: [2021-02-18T07:06:30.143Z] + . [2021-02-18T07:06:30.143Z] -> Found 1 reports [2021-02-18T07:06:30.143Z] ==> Detecting git/mercurial file structure [2021-02-18T07:06:30.143Z] ==> Reading reports [2021-02-18T07:06:30.143Z] + ./coverage.out bytes=101947 [2021-02-18T07:06:30.143Z] ==> Appending adjustments [2021-02-18T07:06:30.143Z] https://docs.codecov.io/docs/fixing-reports [2021-02-18T07:06:30.720Z] + Found adjustments [2021-02-18T07:06:30.720Z] ==> Gzipping contents [2021-02-18T07:06:30.720Z] 20K /tmp/codecov.tgRj5c.gz [2021-02-18T07:06:30.720Z] ==> Uploading reports [2021-02-18T07:06:30.720Z] url: https://codecov.io [2021-02-18T07:06:30.720Z] query: branch=PR-789&commit=57dae82459387a357bb33c28b656f336a5dcd1c4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= [2021-02-18T07:06:30.720Z] -> Pinging Codecov [2021-02-18T07:06:30.720Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-789&commit=57dae82459387a357bb33c28b656f336a5dcd1c4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= [2021-02-18T07:06:31.671Z] -> Uploading to [2021-02-18T07:06:31.672Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-18/7E55EF52A471D76F132DFD9A03CDDE97/57dae82459387a357bb33c28b656f336a5dcd1c4/93519de4-76fa-4b0b-9ddd-d051a0ebc501.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210218T070631Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0590be5280324ee790152083eb6d2dd123ba089010e2e3f60b42077271414cb4 [2021-02-18T07:06:31.672Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-18T07:06:31.672Z] Dload Upload Total Spent Left Speed [2021-02-18T07:06:32.248Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16529 0 0 100 16529 0 33392 --:--:-- --:--:-- --:--:-- 33459 [2021-02-18T07:06:32.248Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/57dae82459387a357bb33c28b656f336a5dcd1c4 [Pipeline] } [2021-02-18T07:06:32.260Z] 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-02-18T07:06:34.719Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T07:06:35.288Z] ---> package-listing.sh [2021-02-18T07:06:35.288Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-18T07:06:35.288Z] ++ facter osfamily [2021-02-18T07:06:35.288Z] + OS_FAMILY=redhat [2021-02-18T07:06:35.288Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-789 [2021-02-18T07:06:35.288Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-18T07:06:35.288Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-18T07:06:35.288Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-18T07:06:35.288Z] + PACKAGES=/tmp/packages_start.txt [2021-02-18T07:06:35.288Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' [2021-02-18T07:06:35.288Z] + PACKAGES=/tmp/packages_end.txt [2021-02-18T07:06:35.288Z] + case "${OS_FAMILY}" in [2021-02-18T07:06:35.288Z] + rpm -qa [2021-02-18T07:06:35.288Z] + sort [2021-02-18T07:06:39.519Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-18T07:06:39.519Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-18T07:06:39.519Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-18T07:06:39.519Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' [2021-02-18T07:06:39.519Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ [2021-02-18T07:06:39.519Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ [Pipeline] echo [2021-02-18T07:06:39.534Z] 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-789/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-18T07:06:39.831Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-18T07:06:40.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T07:06:40.146Z] [2021-02-18T07:06:40.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-18T07:06:40.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T07:06:40.511Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-18T07:06:40.511Z] df20fa9351a1: Pulling fs layer [2021-02-18T07:06:40.511Z] 36b3adc4ff6f: Pulling fs layer [2021-02-18T07:06:40.511Z] 8ad3a11d3b57: Pulling fs layer [2021-02-18T07:06:40.511Z] 46f8f816bc3b: Pulling fs layer [2021-02-18T07:06:40.511Z] 93b61091891f: Pulling fs layer [2021-02-18T07:06:40.511Z] 93b9cdb0e59b: Pulling fs layer [2021-02-18T07:06:40.511Z] 5e14af77c1be: Pulling fs layer [2021-02-18T07:06:40.511Z] 01666e4c0597: Pulling fs layer [2021-02-18T07:06:40.511Z] aa168da1d23b: Pulling fs layer [2021-02-18T07:06:40.511Z] 93b9cdb0e59b: Waiting [2021-02-18T07:06:40.511Z] 5e14af77c1be: Waiting [2021-02-18T07:06:40.511Z] 01666e4c0597: Waiting [2021-02-18T07:06:40.511Z] aa168da1d23b: Waiting [2021-02-18T07:06:40.511Z] 46f8f816bc3b: Waiting [2021-02-18T07:06:40.511Z] 93b61091891f: Waiting [2021-02-18T07:06:40.511Z] 36b3adc4ff6f: Verifying Checksum [2021-02-18T07:06:40.511Z] 36b3adc4ff6f: Download complete [2021-02-18T07:06:40.511Z] 46f8f816bc3b: Verifying Checksum [2021-02-18T07:06:40.511Z] 46f8f816bc3b: Download complete [2021-02-18T07:06:40.777Z] df20fa9351a1: Verifying Checksum [2021-02-18T07:06:40.777Z] df20fa9351a1: Download complete [2021-02-18T07:06:40.777Z] 93b9cdb0e59b: Verifying Checksum [2021-02-18T07:06:40.777Z] 93b9cdb0e59b: Download complete [2021-02-18T07:06:40.777Z] 5e14af77c1be: Verifying Checksum [2021-02-18T07:06:40.777Z] 5e14af77c1be: Download complete [2021-02-18T07:06:40.777Z] 93b61091891f: Verifying Checksum [2021-02-18T07:06:40.777Z] 93b61091891f: Download complete [2021-02-18T07:06:40.777Z] 01666e4c0597: Download complete [2021-02-18T07:06:41.041Z] df20fa9351a1: Pull complete [2021-02-18T07:06:41.303Z] 36b3adc4ff6f: Pull complete [2021-02-18T07:06:41.574Z] 8ad3a11d3b57: Verifying Checksum [2021-02-18T07:06:41.574Z] 8ad3a11d3b57: Download complete [2021-02-18T07:06:42.546Z] 8ad3a11d3b57: Pull complete [2021-02-18T07:06:42.546Z] 46f8f816bc3b: Pull complete [2021-02-18T07:06:42.819Z] 93b61091891f: Pull complete [2021-02-18T07:06:43.094Z] 93b9cdb0e59b: Pull complete [2021-02-18T07:06:43.360Z] 5e14af77c1be: Pull complete [2021-02-18T07:06:43.624Z] aa168da1d23b: Verifying Checksum [2021-02-18T07:06:43.624Z] aa168da1d23b: Download complete [2021-02-18T07:06:43.889Z] 01666e4c0597: Pull complete [2021-02-18T07:06:50.508Z] aa168da1d23b: Pull complete [2021-02-18T07:06:50.508Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-18T07:06:50.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T07:06:50.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-18T07:06:50.659Z] prd-centos7-docker-4c-2g-26776 does not seem to be running inside a container [2021-02-18T07:06:50.705Z] $ 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-789/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-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-18T07:06:54.035Z] $ docker top eae650f7fa1f757733e963de87f329810ed15fcd164b18c8a19ddff7c751f6b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T07:06:54.676Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-18T07:06:54.978Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-18T07:06:55.278Z] + ls /var/log/sa-host [2021-02-18T07:06:55.278Z] + sadf -c /var/log/sa-host/sa18 [2021-02-18T07:06:55.278Z] file_magic: OK [2021-02-18T07:06:55.278Z] HZ: Using current value: 100 [2021-02-18T07:06:55.278Z] file_header: OK [2021-02-18T07:06:55.278Z] 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-02-18T07:06:55.278Z] Statistics: [2021-02-18T07:06:55.278Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-18T07:06:55.278Z] File successfully converted to sysstat format version 12.2.1 [2021-02-18T07:06:55.278Z] + sadf -c /var/log/sa-host/sa23 [2021-02-18T07:06:55.278Z] file_magic: OK [2021-02-18T07:06:55.278Z] HZ: Using current value: 100 [2021-02-18T07:06:55.278Z] file_header: OK [2021-02-18T07:06:55.278Z] 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-02-18T07:06:55.278Z] Statistics: [2021-02-18T07:06:55.278Z] Hnuu...uuuununununu... [2021-02-18T07:06:55.278Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-18T07:06:55.547Z] provisioning config files... [2021-02-18T07:06:55.563Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config6327929511756360963tmp [Pipeline] { [Pipeline] echo [2021-02-18T07:06:55.645Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T07:06:55.942Z] ---> create-netrc.sh [Pipeline] } [2021-02-18T07:06:55.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-18T07:06:56.052Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T07:06:56.351Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-18T07:06:56.362Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T07:06:56.657Z] ---> sudo-logs.sh [2021-02-18T07:06:56.657Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-18T07:06:56.715Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T07:06:57.011Z] ---> job-cost.sh [2021-02-18T07:06:57.011Z] lf-activate-venv: SKIPPING [2021-02-18T07:06:57.011Z] INFO: No Stack... [2021-02-18T07:06:58.929Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-18T07:06:59.502Z] INFO: Archiving Costs [Pipeline] echo [2021-02-18T07:06:59.515Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T07:06:59.807Z] ---> logs-deploy.sh [2021-02-18T07:06:59.807Z] lf-activate-venv: SKIPPING [2021-02-18T07:06:59.807Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-789/2 [2021-02-18T07:06:59.807Z] INFO: archiving workspace using pattern(s): [2021-02-18T07:07:01.728Z] Archives upload complete. [2021-02-18T07:07:01.728Z] INFO: archiving logs to Nexus [2021-02-18T07:07:02.676Z] ---> uname -a: [2021-02-18T07:07:02.676Z] Linux prd-centos7-docker-4c-2g-26776.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-02-18T07:07:02.676Z] [2021-02-18T07:07:02.676Z] [2021-02-18T07:07:02.676Z] ---> lscpu: [2021-02-18T07:07:02.676Z] Architecture: x86_64 [2021-02-18T07:07:02.676Z] CPU op-mode(s): 32-bit, 64-bit [2021-02-18T07:07:02.676Z] Byte Order: Little Endian [2021-02-18T07:07:02.676Z] Address sizes: 40 bits physical, 48 bits virtual [2021-02-18T07:07:02.676Z] CPU(s): 4 [2021-02-18T07:07:02.676Z] On-line CPU(s) list: 0-3 [2021-02-18T07:07:02.676Z] Thread(s) per core: 1 [2021-02-18T07:07:02.676Z] Core(s) per socket: 1 [2021-02-18T07:07:02.676Z] Socket(s): 4 [2021-02-18T07:07:02.676Z] NUMA node(s): 1 [2021-02-18T07:07:02.676Z] Vendor ID: GenuineIntel [2021-02-18T07:07:02.676Z] CPU family: 6 [2021-02-18T07:07:02.676Z] Model: 44 [2021-02-18T07:07:02.676Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-02-18T07:07:02.676Z] Stepping: 1 [2021-02-18T07:07:02.676Z] CPU MHz: 2933.438 [2021-02-18T07:07:02.676Z] BogoMIPS: 5866.87 [2021-02-18T07:07:02.676Z] Virtualization: VT-x [2021-02-18T07:07:02.676Z] Hypervisor vendor: KVM [2021-02-18T07:07:02.676Z] Virtualization type: full [2021-02-18T07:07:02.676Z] L1d cache: 128 KiB [2021-02-18T07:07:02.676Z] L1i cache: 128 KiB [2021-02-18T07:07:02.676Z] L2 cache: 16 MiB [2021-02-18T07:07:02.676Z] L3 cache: 64 MiB [2021-02-18T07:07:02.676Z] NUMA node0 CPU(s): 0-3 [2021-02-18T07:07:02.676Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-02-18T07:07:02.676Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-02-18T07:07:02.676Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-02-18T07:07:02.676Z] Vulnerability Meltdown: Mitigation; PTI [2021-02-18T07:07:02.676Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-02-18T07:07:02.676Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-02-18T07:07:02.676Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-02-18T07:07:02.676Z] Vulnerability Srbds: Not affected [2021-02-18T07:07:02.676Z] Vulnerability Tsx async abort: Not affected [2021-02-18T07:07:02.676Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-02-18T07:07:02.676Z] [2021-02-18T07:07:02.676Z] [2021-02-18T07:07:02.676Z] ---> nproc: [2021-02-18T07:07:02.676Z] 4 [2021-02-18T07:07:02.676Z] [2021-02-18T07:07:02.676Z] [2021-02-18T07:07:02.676Z] ---> df -h: [2021-02-18T07:07:02.676Z] Filesystem Size Used Available Use% Mounted on [2021-02-18T07:07:02.676Z] overlay 50.0G 7.3G 42.7G 15% / [2021-02-18T07:07:02.676Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-02-18T07:07:02.676Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-02-18T07:07:02.676Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-02-18T07:07:02.676Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-02-18T07:07:02.676Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-02-18T07:07:02.676Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-02-18T07:07:02.676Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-02-18T07:07:02.676Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-02-18T07:07:02.676Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-789 [2021-02-18T07:07:02.676Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-02-18T07:07:02.676Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp [2021-02-18T07:07:02.676Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-02-18T07:07:02.676Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-02-18T07:07:02.676Z] [2021-02-18T07:07:02.676Z]