Pull request #784 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 826dc4388710d346dfdba9485e6d47cfaa06628a+6125dba09cfc805438589ab7aad954d8cad7589e (c2c3b50aa406c2a87695e120bc0eae8065ea262c) 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-26659’ Running on prd-centos7-docker-4c-2g-26662 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [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-784 # 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 826dc4388710d346dfdba9485e6d47cfaa06628a > 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/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # 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 Merge succeeded, producing 826dc4388710d346dfdba9485e6d47cfaa06628a Checking out Revision 826dc4388710d346dfdba9485e6d47cfaa06628a (PR-784) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git rev-list --no-walk 0b624d086e479659bfcd9c7783c7d4de6a3614a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-17T10:16:34.795Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-17T10:16:35.067Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-17T10:16:35.162Z] ========================================================= [2021-02-17T10:16:35.162Z] EdgeX Global Pipelines Version Info [2021-02-17T10:16:35.162Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:16:36.609Z] ------------------- [2021-02-17T10:16:36.609Z] stable info: [2021-02-17T10:16:36.609Z] ------------------- [2021-02-17T10:16:36.609Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-17T10:16:36.609Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-17T10:16:36.609Z] Message: update stable to v1.0.179 [2021-02-17T10:16:37.551Z] ------------------- [2021-02-17T10:16:37.551Z] experimental info: [2021-02-17T10:16:37.551Z] ------------------- [2021-02-17T10:16:37.551Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-17T10:16:37.551Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-17T10:16:37.551Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-17T10:16:37.807Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-17T10:16:37.891Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-17T10:16:37.974Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-17T10:16:38.059Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-17T10:16:38.142Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-17T10:16:38.236Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-17T10:16:38.324Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-17T10:16:38.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-17T10:16:38.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-17T10:16:38.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-17T10:16:38.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-17T10:16:38.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-17T10:16:38.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-17T10:16:38.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-17T10:16:39.050Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-17T10:16:39.225Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-17T10:16:39.309Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-17T10:16:39.399Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-17T10:16:39.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-17T10:16:39.569Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-17T10:16:39.654Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-17T10:16:39.734Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-17T10:16:39.815Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-17T10:16:39.902Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-17T10:16:39.990Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-17T10:16:40.095Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-17T10:16:40.176Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-17T10:16:40.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-784 [Pipeline] echo [2021-02-17T10:16:40.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-784 [Pipeline] echo [2021-02-17T10:16:40.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-784 [Pipeline] echo [2021-02-17T10:16:40.601Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 826dc4388710d346dfdba9485e6d47cfaa06628a [Pipeline] echo [2021-02-17T10:16:40.705Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 826dc43 [Pipeline] echo [2021-02-17T10:16:40.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-17T10:16:40.981Z] provisioning config files... [2021-02-17T10:16:41.006Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config7634742156340246439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:16:41.363Z] ---> docker-login.sh [2021-02-17T10:16:41.363Z] nexus3.edgexfoundry.org:10001 [2021-02-17T10:16:41.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:16:41.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:16:41.626Z] Configure a credential helper to remove this warning. See [2021-02-17T10:16:41.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:16:41.626Z] [2021-02-17T10:16:41.626Z] Login Succeeded [2021-02-17T10:16:41.626Z] nexus3.edgexfoundry.org:10002 [2021-02-17T10:16:41.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:16:41.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:16:41.889Z] Configure a credential helper to remove this warning. See [2021-02-17T10:16:41.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:16:41.889Z] [2021-02-17T10:16:41.890Z] Login Succeeded [2021-02-17T10:16:41.890Z] nexus3.edgexfoundry.org:10003 [2021-02-17T10:16:41.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:16:42.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:16:42.152Z] Configure a credential helper to remove this warning. See [2021-02-17T10:16:42.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:16:42.152Z] [2021-02-17T10:16:42.152Z] Login Succeeded [2021-02-17T10:16:42.152Z] nexus3.edgexfoundry.org:10004 [2021-02-17T10:16:42.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:16:42.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:16:42.152Z] Configure a credential helper to remove this warning. See [2021-02-17T10:16:42.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:16:42.152Z] [2021-02-17T10:16:42.152Z] Login Succeeded [2021-02-17T10:16:42.152Z] docker.io [2021-02-17T10:16:42.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:16:42.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:16:42.680Z] Configure a credential helper to remove this warning. See [2021-02-17T10:16:42.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:16:42.680Z] [2021-02-17T10:16:42.680Z] Login Succeeded [2021-02-17T10:16:42.680Z] ---> docker-login.sh ends [Pipeline] } [2021-02-17T10:16:42.690Z] 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-17T10:16:43.491Z] + git log --format=format:%s -1 826dc4388710d346dfdba9485e6d47cfaa06628a [Pipeline] echo [2021-02-17T10:16:43.553Z] GIT_COMMIT: 826dc4388710d346dfdba9485e6d47cfaa06628a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-17T10:16:43.596Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:16:44.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-17T10:16:44.185Z] [2021-02-17T10:16:44.185Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:16:44.539Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-17T10:16:44.539Z] latest: Pulling from edgex-devops/git-semver [2021-02-17T10:16:44.539Z] 31603596830f: Pulling fs layer [2021-02-17T10:16:44.539Z] 2a8b12db71e7: Pulling fs layer [2021-02-17T10:16:44.539Z] 6ca5941a6612: Pulling fs layer [2021-02-17T10:16:44.539Z] ecc8261a40a4: Pulling fs layer [2021-02-17T10:16:44.539Z] ecc8261a40a4: Waiting [2021-02-17T10:16:44.539Z] 2a8b12db71e7: Download complete [2021-02-17T10:16:44.539Z] 31603596830f: Verifying Checksum [2021-02-17T10:16:44.539Z] 31603596830f: Download complete [2021-02-17T10:16:44.801Z] ecc8261a40a4: Verifying Checksum [2021-02-17T10:16:44.801Z] ecc8261a40a4: Download complete [2021-02-17T10:16:44.801Z] 6ca5941a6612: Verifying Checksum [2021-02-17T10:16:44.801Z] 6ca5941a6612: Download complete [2021-02-17T10:16:45.062Z] 31603596830f: Pull complete [2021-02-17T10:16:45.063Z] 2a8b12db71e7: Pull complete [2021-02-17T10:16:45.641Z] 6ca5941a6612: Pull complete [2021-02-17T10:16:45.902Z] ecc8261a40a4: Pull complete [2021-02-17T10:16:46.164Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-17T10:16:46.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-17T10:16:46.164Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-17T10:16:46.265Z] prd-centos7-docker-4c-2g-26662 does not seem to be running inside a container [2021-02-17T10:16:46.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-784 -v /w/workspace/dgexfoundry_device-sdk-go_PR-784:/w/workspace/dgexfoundry_device-sdk-go_PR-784:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-784@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-17T10:16:48.136Z] $ docker top 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-17T10:16:48.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-17T10:16:48.392Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-17T10:16:48.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-17T10:16:48.572Z] $ docker exec 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb ssh-agent [2021-02-17T10:16:48.716Z] SSH_AUTH_SOCK=/tmp/ssh-cycbRsOak7MN/agent.13 [2021-02-17T10:16:48.716Z] SSH_AGENT_PID=19 [2021-02-17T10:16:48.724Z] Running ssh-add (command line suppressed) [2021-02-17T10:16:48.837Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_6293959588596241718.key (/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_6293959588596241718.key) [2021-02-17T10:16:48.882Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-17T10:16:49.211Z] + git tag --points-at HEAD [Pipeline] } [2021-02-17T10:16:49.232Z] $ docker exec --env ******** --env ******** 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb ssh-agent -k [2021-02-17T10:16:49.344Z] unset SSH_AUTH_SOCK; [2021-02-17T10:16:49.344Z] unset SSH_AGENT_PID; [2021-02-17T10:16:49.344Z] echo Agent pid 19 killed; [2021-02-17T10:16:49.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-17T10:16:49.514Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-17T10:16:49.515Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-17T10:16:49.673Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-17T10:16:49.680Z] $ docker exec 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb ssh-agent [2021-02-17T10:16:49.844Z] SSH_AUTH_SOCK=/tmp/ssh-4zA9RwJ62pXL/agent.48 [2021-02-17T10:16:49.844Z] SSH_AGENT_PID=53 [2021-02-17T10:16:49.851Z] Running ssh-add (command line suppressed) [2021-02-17T10:16:49.967Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_3738999381753261319.key (/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_3738999381753261319.key) [2021-02-17T10:16:50.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-17T10:16:50.352Z] + git semver init [2021-02-17T10:16:50.352Z] # -> Open(): unable to determine branch for HEAD [2021-02-17T10:16:50.352Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-784/.git [2021-02-17T10:16:50.352Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-784 [2021-02-17T10:16:50.352Z] # $SEMVER_REMOTE_NAME = origin [2021-02-17T10:16:50.352Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-17T10:16:50.352Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-17T10:16:50.352Z] # $SEMVER_BRANCH = PR-784 [2021-02-17T10:16:50.352Z] # $SEMVER_TEMP = /tmp/semver-553140548 [2021-02-17T10:16:50.352Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-17T10:16:50.924Z] # '/tmp/semver-553140548' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-784/.semver' [2021-02-17T10:16:50.924Z] # -> Force: false [2021-02-17T10:16:50.924Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-784/.semver [Pipeline] } [2021-02-17T10:16:50.939Z] $ docker exec --env ******** --env ******** 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb ssh-agent -k [2021-02-17T10:16:51.046Z] unset SSH_AUTH_SOCK; [2021-02-17T10:16:51.046Z] unset SSH_AGENT_PID; [2021-02-17T10:16:51.046Z] echo Agent pid 53 killed; [2021-02-17T10:16:51.087Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-17T10:16:51.591Z] + git semver [Pipeline] } [2021-02-17T10:16:51.622Z] $ docker stop --time=1 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb [2021-02-17T10:16:52.957Z] $ docker rm -f 973503934ab9d531eee8566e2d353136eae4f1c3adec06485cf3f5dc1e43cabb [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-17T10:16:53.411Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-17T10:16:54.014Z] Stashed 1 file(s) [Pipeline] echo [2021-02-17T10:16:54.017Z] [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-17T10:17:09.601Z] Still waiting to schedule task [2021-02-17T10:17:09.601Z] ‘prd-centos7-docker-4c-2g-26663’ is offline; ‘prd-centos7-docker-4c-2g-26664’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-02-17T10:17:09.603Z] Still waiting to schedule task [2021-02-17T10:17:09.603Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-17T10:20:17.462Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26666 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [Pipeline] { [Pipeline] ws [2021-02-17T10:20:17.521Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-17T10:20:23.731Z] using credential edgex-jenkins-ssh [2021-02-17T10:20:23.795Z] Cloning the remote Git repository [2021-02-17T10:20:23.839Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:20:23.944Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-02-17T10:20:24.013Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:20:24.014Z] > git --version # timeout=10 [2021-02-17T10:20:24.026Z] > git --version # 'git version 2.17.1' [2021-02-17T10:20:24.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-17T10:20:24.109Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-17T10:20:25.893Z] Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a [2021-02-17T10:20:26.117Z] Merge succeeded, producing 826dc4388710d346dfdba9485e6d47cfaa06628a [2021-02-17T10:20:26.118Z] Checking out Revision 826dc4388710d346dfdba9485e6d47cfaa06628a (PR-784) [2021-02-17T10:20:25.266Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-17T10:20:25.296Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-17T10:20:25.323Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-17T10:20:25.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:20:25.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-17T10:20:25.377Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-17T10:20:25.899Z] > git config core.sparsecheckout # timeout=10 [2021-02-17T10:20:25.912Z] > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 [2021-02-17T10:20:26.023Z] > git remote # timeout=10 [2021-02-17T10:20:26.043Z] > git config --get remote.origin.url # timeout=10 [2021-02-17T10:20:26.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-17T10:20:26.070Z] > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 [2021-02-17T10:20:26.093Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-17T10:20:26.114Z] > git config core.sparsecheckout # timeout=10 [2021-02-17T10:20:26.124Z] > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 [2021-02-17T10:20:30.621Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-17T10:20:32.015Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-17T10:20:32.455Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-17T10:20:32.798Z] + true [2021-02-17T10:20:32.798Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-17T10:20:35.488Z] provisioning config files... [2021-02-17T10:20:35.530Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4375253319012802633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:20:35.932Z] ---> docker-login.sh [2021-02-17T10:20:35.932Z] nexus3.edgexfoundry.org:10001 [2021-02-17T10:20:36.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:20:37.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:20:37.139Z] Configure a credential helper to remove this warning. See [2021-02-17T10:20:37.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:20:37.139Z] [2021-02-17T10:20:37.139Z] Login Succeeded [2021-02-17T10:20:37.139Z] nexus3.edgexfoundry.org:10002 [2021-02-17T10:20:37.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:20:37.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:20:37.688Z] Configure a credential helper to remove this warning. See [2021-02-17T10:20:37.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:20:37.689Z] [2021-02-17T10:20:37.689Z] Login Succeeded [2021-02-17T10:20:37.689Z] nexus3.edgexfoundry.org:10003 [2021-02-17T10:20:37.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:20:38.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:20:38.239Z] Configure a credential helper to remove this warning. See [2021-02-17T10:20:38.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:20:38.239Z] [2021-02-17T10:20:38.239Z] Login Succeeded [2021-02-17T10:20:38.239Z] nexus3.edgexfoundry.org:10004 [2021-02-17T10:20:38.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:20:38.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:20:38.789Z] Configure a credential helper to remove this warning. See [2021-02-17T10:20:38.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:20:38.789Z] [2021-02-17T10:20:38.789Z] Login Succeeded [2021-02-17T10:20:38.789Z] docker.io [2021-02-17T10:20:39.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:20:39.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:20:39.336Z] Configure a credential helper to remove this warning. See [2021-02-17T10:20:39.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:20:39.336Z] [2021-02-17T10:20:39.336Z] Login Succeeded [2021-02-17T10:20:39.336Z] ---> docker-login.sh ends [Pipeline] } [2021-02-17T10:20:39.355Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-17T10:20:39.858Z] ========================================================= [2021-02-17T10:20:39.858Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-17T10:20:39.858Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:20:40.239Z] + 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-17T10:20:40.523Z] Sending build context to Docker daemon 2.389MB [2021-02-17T10:20:40.804Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-17T10:20:40.804Z] Step 2/8 : FROM ${BASE} [2021-02-17T10:20:40.804Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-17T10:20:40.804Z] 5f621e34cdf4: Pulling fs layer [2021-02-17T10:20:40.804Z] a4357932f1b6: Pulling fs layer [2021-02-17T10:20:40.804Z] 18c013af1878: Pulling fs layer [2021-02-17T10:20:40.804Z] 00ac8860ef70: Pulling fs layer [2021-02-17T10:20:40.804Z] 63d7cb157983: Pulling fs layer [2021-02-17T10:20:40.804Z] b116817d02f9: Pulling fs layer [2021-02-17T10:20:40.804Z] 745a02a5169b: Pulling fs layer [2021-02-17T10:20:40.804Z] 00ac8860ef70: Waiting [2021-02-17T10:20:40.804Z] 63d7cb157983: Waiting [2021-02-17T10:20:40.804Z] b116817d02f9: Waiting [2021-02-17T10:20:40.804Z] 745a02a5169b: Waiting [2021-02-17T10:20:40.804Z] 18c013af1878: Verifying Checksum [2021-02-17T10:20:40.804Z] 18c013af1878: Download complete [2021-02-17T10:20:40.804Z] a4357932f1b6: Verifying Checksum [2021-02-17T10:20:40.804Z] a4357932f1b6: Download complete [2021-02-17T10:20:40.804Z] 63d7cb157983: Download complete [2021-02-17T10:20:41.401Z] b116817d02f9: Verifying Checksum [2021-02-17T10:20:41.401Z] b116817d02f9: Download complete [2021-02-17T10:20:41.401Z] 5f621e34cdf4: Verifying Checksum [2021-02-17T10:20:41.401Z] 5f621e34cdf4: Download complete [2021-02-17T10:20:42.004Z] 5f621e34cdf4: Pull complete [2021-02-17T10:20:42.611Z] a4357932f1b6: Pull complete [2021-02-17T10:20:43.226Z] 18c013af1878: Pull complete [2021-02-17T10:20:43.827Z] 745a02a5169b: Verifying Checksum [2021-02-17T10:20:43.827Z] 745a02a5169b: Download complete [2021-02-17T10:20:44.805Z] 00ac8860ef70: Verifying Checksum [2021-02-17T10:20:44.805Z] 00ac8860ef70: Download complete [2021-02-17T10:20:54.982Z] 00ac8860ef70: Pull complete [2021-02-17T10:20:54.982Z] 63d7cb157983: Pull complete [2021-02-17T10:20:55.255Z] b116817d02f9: Pull complete [2021-02-17T10:20:58.670Z] 745a02a5169b: Pull complete [2021-02-17T10:20:58.944Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-17T10:20:58.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-17T10:20:58.944Z] ---> b7e6874047d6 [2021-02-17T10:20:58.944Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:21:01.573Z] ---> Running in 4be862f5e301 [2021-02-17T10:21:02.172Z] Removing intermediate container 4be862f5e301 [2021-02-17T10:21:02.172Z] ---> 057227884204 [2021-02-17T10:21:02.172Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-17T10:21:02.172Z] ---> Running in 437af6653483 [2021-02-17T10:21:04.166Z] Removing intermediate container 437af6653483 [2021-02-17T10:21:04.166Z] ---> 3f0b6e939c9b [2021-02-17T10:21:04.166Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-17T10:21:04.443Z] ---> Running in 8e5e169bd1e3 [2021-02-17T10:21:05.429Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-17T10:21:06.406Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-17T10:21:07.005Z] OK: 142 MiB in 39 packages [2021-02-17T10:21:08.000Z] Removing intermediate container 8e5e169bd1e3 [2021-02-17T10:21:08.000Z] ---> 9a5c6a5f3a01 [2021-02-17T10:21:08.000Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-17T10:21:08.275Z] ---> Running in a124b9efe5f3 [2021-02-17T10:21:08.869Z] Removing intermediate container a124b9efe5f3 [2021-02-17T10:21:08.870Z] ---> ea6af54af8e2 [2021-02-17T10:21:08.870Z] Step 7/8 : COPY . . [2021-02-17T10:21:09.846Z] ---> 3e891bf08d21 [2021-02-17T10:21:09.846Z] Step 8/8 : RUN go mod download [2021-02-17T10:21:10.119Z] ---> Running in 29e64add9294 [2021-02-17T10:21:36.905Z] Removing intermediate container 29e64add9294 [2021-02-17T10:21:36.905Z] ---> c1c344afa1ff [2021-02-17T10:21:36.905Z] Successfully built c1c344afa1ff [2021-02-17T10:21:36.905Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:21:37.250Z] + docker inspect -f . ci-base-image-arm64 [2021-02-17T10:21:37.250Z] . [Pipeline] withDockerContainer [2021-02-17T10:21:37.531Z] prd-ubuntu18.04-docker-arm64-4c-16g-26666 does not seem to be running inside a container [2021-02-17T10:21:37.588Z] $ 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 ******** ci-base-image-arm64 cat [2021-02-17T10:21:39.071Z] $ docker top eb93beded782bc5bed1ad9ce5b5060f7eac60ef61ee9a6ed3578b981aefc7e68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-17T10:21:40.133Z] + go version [2021-02-17T10:21:40.133Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-17T10:21:40.131Z] $ docker stop --time=1 eb93beded782bc5bed1ad9ce5b5060f7eac60ef61ee9a6ed3578b981aefc7e68 [2021-02-17T10:21:42.044Z] $ docker rm -f eb93beded782bc5bed1ad9ce5b5060f7eac60ef61ee9a6ed3578b981aefc7e68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:21:43.042Z] + docker inspect -f . ci-base-image-arm64 [2021-02-17T10:21:43.042Z] . [Pipeline] withDockerContainer [2021-02-17T10:21:43.307Z] prd-ubuntu18.04-docker-arm64-4c-16g-26666 does not seem to be running inside a container [2021-02-17T10:21:43.360Z] $ 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 ******** ci-base-image-arm64 cat [2021-02-17T10:21:44.896Z] $ docker top a75cd699b95128ade482676fbfd4a017aff5b0af3bc420813f621f5a55e8da89 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-17T10:21:45.964Z] + make test [2021-02-17T10:21:45.964Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-17T10:22:08.148Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-17T10:22:47.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-17T10:22:47.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-17T10:22:47.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-17T10:22:51.567Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.125s coverage: 25.5% of statements [2021-02-17T10:22:56.468Z] Running on prd-centos7-docker-4c-2g-26667 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [Pipeline] { [Pipeline] ws [2021-02-17T10:22:56.521Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-17T10:23:08.923Z] using credential edgex-jenkins-ssh [2021-02-17T10:23:08.986Z] Cloning the remote Git repository [2021-02-17T10:23:09.046Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:23:09.228Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-02-17T10:23:09.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:23:09.487Z] > git --version # timeout=10 [2021-02-17T10:23:09.496Z] > git --version # 'git version 2.24.3' [2021-02-17T10:23:09.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-17T10:23:09.595Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-17T10:23:11.852Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-17T10:23:11.862Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-17T10:23:11.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-17T10:23:11.912Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:23:11.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-17T10:23:11.924Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-17T10:23:12.519Z] Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a [2021-02-17T10:23:13.560Z] Merge succeeded, producing 826dc4388710d346dfdba9485e6d47cfaa06628a [2021-02-17T10:23:13.560Z] Checking out Revision 826dc4388710d346dfdba9485e6d47cfaa06628a (PR-784) [2021-02-17T10:23:12.561Z] > git config core.sparsecheckout # timeout=10 [2021-02-17T10:23:12.726Z] > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 [2021-02-17T10:23:12.957Z] > git remote # timeout=10 [2021-02-17T10:23:13.070Z] > git config --get remote.origin.url # timeout=10 [2021-02-17T10:23:13.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-17T10:23:13.291Z] > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 [2021-02-17T10:23:13.346Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-17T10:23:13.601Z] > git config core.sparsecheckout # timeout=10 [2021-02-17T10:23:13.626Z] > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 [2021-02-17T10:23:18.966Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-17T10:23:22.051Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-17T10:23:22.872Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-17T10:23:23.229Z] + sudo service docker restart [2021-02-17T10:23:23.229Z] + true [2021-02-17T10:23:23.229Z] Redirecting to /bin/systemctl restart docker.service [2021-02-17T10:23:23.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.127s coverage: 10.1% of statements [2021-02-17T10:23:23.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 12.5% of statements [2021-02-17T10:23:23.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-17T10:23:23.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.179s coverage: 84.8% of statements [2021-02-17T10:23:23.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-17T10:23:23.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-17T10:23:23.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-17T10:23:23.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-17T10:23:23.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.236s coverage: 49.2% of statements [2021-02-17T10:23:23.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-17T10:23:23.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-17T10:23:23.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.175s coverage: 24.8% of statements [2021-02-17T10:23:23.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.990s coverage: 83.5% of statements [2021-02-17T10:23:23.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.3% of statements [2021-02-17T10:23:23.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-17T10:23:23.979Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-17T10:23:26.099Z] provisioning config files... [2021-02-17T10:23:26.146Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8053850377767686316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:23:27.195Z] ---> docker-login.sh [2021-02-17T10:23:27.195Z] nexus3.edgexfoundry.org:10001 [2021-02-17T10:23:29.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:23:29.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:23:29.775Z] Configure a credential helper to remove this warning. See [2021-02-17T10:23:29.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:23:29.775Z] [2021-02-17T10:23:30.174Z] Login Succeeded [2021-02-17T10:23:30.174Z] nexus3.edgexfoundry.org:10002 [2021-02-17T10:23:30.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:23:30.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:23:30.901Z] Configure a credential helper to remove this warning. See [2021-02-17T10:23:30.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:23:30.901Z] [2021-02-17T10:23:30.902Z] Login Succeeded [2021-02-17T10:23:30.902Z] nexus3.edgexfoundry.org:10003 [2021-02-17T10:23:31.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:23:31.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:23:31.632Z] Configure a credential helper to remove this warning. See [2021-02-17T10:23:31.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:23:31.632Z] [2021-02-17T10:23:31.632Z] Login Succeeded [2021-02-17T10:23:31.632Z] nexus3.edgexfoundry.org:10004 [2021-02-17T10:23:32.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:23:32.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:23:32.717Z] Configure a credential helper to remove this warning. See [2021-02-17T10:23:32.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:23:32.717Z] [2021-02-17T10:23:32.717Z] Login Succeeded [2021-02-17T10:23:32.717Z] docker.io [2021-02-17T10:23:33.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:23:34.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:23:34.126Z] Configure a credential helper to remove this warning. See [2021-02-17T10:23:34.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:23:34.126Z] [2021-02-17T10:23:34.126Z] Login Succeeded [2021-02-17T10:23:34.126Z] ---> docker-login.sh ends [Pipeline] } [2021-02-17T10:23:34.214Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-17T10:23:35.389Z] ========================================================= [2021-02-17T10:23:35.389Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-17T10:23:35.389Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:23:35.830Z] + 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-17T10:23:37.046Z] Sending build context to Docker daemon 2.383MB [2021-02-17T10:23:37.046Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-17T10:23:37.046Z] Step 2/8 : FROM ${BASE} [2021-02-17T10:23:38.193Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-17T10:23:38.193Z] 188c0c94c7c5: Pulling fs layer [2021-02-17T10:23:38.193Z] 0ef7d3d256c8: Pulling fs layer [2021-02-17T10:23:38.193Z] de9db76c5a1d: Pulling fs layer [2021-02-17T10:23:38.193Z] bca2f99d35d6: Pulling fs layer [2021-02-17T10:23:38.193Z] 93359f2a8cfa: Pulling fs layer [2021-02-17T10:23:38.193Z] 7c6f9722023f: Pulling fs layer [2021-02-17T10:23:38.193Z] a35cf1a2eb13: Pulling fs layer [2021-02-17T10:23:38.193Z] 93359f2a8cfa: Waiting [2021-02-17T10:23:38.193Z] 7c6f9722023f: Waiting [2021-02-17T10:23:38.193Z] a35cf1a2eb13: Waiting [2021-02-17T10:23:38.193Z] bca2f99d35d6: Waiting [2021-02-17T10:23:38.193Z] de9db76c5a1d: Download complete [2021-02-17T10:23:38.743Z] 0ef7d3d256c8: Verifying Checksum [2021-02-17T10:23:38.743Z] 0ef7d3d256c8: Download complete [2021-02-17T10:23:38.743Z] 93359f2a8cfa: Verifying Checksum [2021-02-17T10:23:38.743Z] 93359f2a8cfa: Download complete [2021-02-17T10:23:39.345Z] 7c6f9722023f: Verifying Checksum [2021-02-17T10:23:39.345Z] 7c6f9722023f: Download complete [2021-02-17T10:23:40.385Z] 188c0c94c7c5: Verifying Checksum [2021-02-17T10:23:40.385Z] 188c0c94c7c5: Download complete [2021-02-17T10:23:41.860Z] 188c0c94c7c5: Pull complete [2021-02-17T10:23:43.083Z] 0ef7d3d256c8: Pull complete [2021-02-17T10:23:43.083Z] de9db76c5a1d: Pull complete [2021-02-17T10:23:49.286Z] a35cf1a2eb13: Verifying Checksum [2021-02-17T10:23:49.286Z] a35cf1a2eb13: Download complete [2021-02-17T10:23:51.469Z] bca2f99d35d6: Verifying Checksum [2021-02-17T10:23:51.469Z] bca2f99d35d6: Download complete [2021-02-17T10:23:56.389Z] gofmt -l . [2021-02-17T10:23:56.389Z] [ "`gofmt -l .`" = "" ] [2021-02-17T10:23:56.389Z] ./bin/test-attribution-txt.sh [2021-02-17T10:23:56.389Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-17T10:23:56.352Z] $ docker stop --time=1 a75cd699b95128ade482676fbfd4a017aff5b0af3bc420813f621f5a55e8da89 [2021-02-17T10:23:58.503Z] $ docker rm -f a75cd699b95128ade482676fbfd4a017aff5b0af3bc420813f621f5a55e8da89 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-17T10:23:59.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-17T10:24:00.370Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-17T10:24:01.705Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-17T10:24:02.040Z] + ls -al . [2021-02-17T10:24:02.040Z] total 208 [2021-02-17T10:24:02.040Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 10:23 . [2021-02-17T10:24:02.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:20 .. [2021-02-17T10:24:02.040Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 10:20 .dockerignore [2021-02-17T10:24:02.040Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 10:20 .git [2021-02-17T10:24:02.040Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 10:20 .github [2021-02-17T10:24:02.040Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 17 10:20 .gitignore [2021-02-17T10:24:02.040Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 17 10:20 Dockerfile.build [2021-02-17T10:24:02.040Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 17 10:20 Jenkinsfile [2021-02-17T10:24:02.040Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 10:20 LICENSE [2021-02-17T10:24:02.040Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 17 10:20 Makefile [2021-02-17T10:24:02.040Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 17 10:20 README.md [2021-02-17T10:24:02.040Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 17 10:20 RELEASE-NOTES.txt [2021-02-17T10:24:02.040Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 10:16 VERSION [2021-02-17T10:24:02.041Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 10:20 bin [2021-02-17T10:24:02.041Z] -rw-r--r-- 1 jenkins jenkins 89677 Feb 17 10:23 coverage.out [2021-02-17T10:24:02.041Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:20 example [2021-02-17T10:24:02.041Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 17 10:23 go.mod [2021-02-17T10:24:02.041Z] -rw-r--r-- 1 jenkins jenkins 19062 Feb 17 10:23 go.sum [2021-02-17T10:24:02.041Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 10:20 internal [2021-02-17T10:24:02.041Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:20 openapi [2021-02-17T10:24:02.041Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 10:20 pkg [2021-02-17T10:24:02.041Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:20 snap [2021-02-17T10:24:02.041Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 10:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:24:02.106Z] bca2f99d35d6: Pull complete [2021-02-17T10:24:02.106Z] 93359f2a8cfa: Pull complete [2021-02-17T10:24:02.106Z] 7c6f9722023f: Pull complete [2021-02-17T10:24:02.396Z] + 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=826dc4388710d346dfdba9485e6d47cfaa06628a --label arch=arm64 --label version=0.0.0 . [2021-02-17T10:24:02.668Z] Sending build context to Docker daemon 2.48MB [2021-02-17T10:24:02.939Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-17T10:24:02.939Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-17T10:24:02.939Z] ---> c1c344afa1ff [2021-02-17T10:24:02.939Z] Step 3/24 : ARG MAKE='make build' [2021-02-17T10:24:03.212Z] ---> Running in 1b1a0e1d590c [2021-02-17T10:24:03.486Z] Removing intermediate container 1b1a0e1d590c [2021-02-17T10:24:03.486Z] ---> 421fb18abe03 [2021-02-17T10:24:03.486Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-17T10:24:03.758Z] ---> Running in 40edf97b7621 [2021-02-17T10:24:04.375Z] Removing intermediate container 40edf97b7621 [2021-02-17T10:24:04.375Z] ---> 4bb74ff746a2 [2021-02-17T10:24:04.375Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:24:04.375Z] ---> Running in e2be246742eb [2021-02-17T10:24:04.974Z] Removing intermediate container e2be246742eb [2021-02-17T10:24:04.974Z] ---> d246d12b75c5 [2021-02-17T10:24:04.974Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-17T10:24:04.974Z] ---> Running in a93ba2b8b84b [2021-02-17T10:24:06.958Z] Removing intermediate container a93ba2b8b84b [2021-02-17T10:24:06.958Z] ---> db6503e1d213 [2021-02-17T10:24:06.958Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-17T10:24:07.232Z] ---> Running in 87e9329af4c1 [2021-02-17T10:24:08.205Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-17T10:24:08.795Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-17T10:24:08.987Z] a35cf1a2eb13: Pull complete [2021-02-17T10:24:08.987Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-17T10:24:08.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-17T10:24:08.987Z] ---> a62c8e92a672 [2021-02-17T10:24:08.987Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:24:09.299Z] ---> Running in 78a729373098 [2021-02-17T10:24:09.581Z] Removing intermediate container 78a729373098 [2021-02-17T10:24:09.581Z] ---> 621e964fd2bd [2021-02-17T10:24:09.581Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-17T10:24:09.582Z] ---> Running in bcb563a32a7b [2021-02-17T10:24:09.779Z] OK: 142 MiB in 39 packages [2021-02-17T10:24:10.762Z] Removing intermediate container 87e9329af4c1 [2021-02-17T10:24:10.762Z] ---> a002f3b2c279 [2021-02-17T10:24:10.762Z] Step 8/24 : COPY . . [2021-02-17T10:24:12.194Z] ---> 62f4a0b60309 [2021-02-17T10:24:12.194Z] Step 9/24 : RUN ${MAKE} [2021-02-17T10:24:12.194Z] ---> Running in d5e4d4533c3a [2021-02-17T10:24:12.268Z] Removing intermediate container bcb563a32a7b [2021-02-17T10:24:12.268Z] ---> d31b7ed2d1e8 [2021-02-17T10:24:12.268Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-17T10:24:12.644Z] ---> Running in d8bbf34fd9d0 [2021-02-17T10:24:13.172Z] 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-17T10:24:13.284Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-17T10:24:14.411Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-17T10:24:15.444Z] OK: 166 MiB in 39 packages [2021-02-17T10:24:16.281Z] Removing intermediate container d8bbf34fd9d0 [2021-02-17T10:24:16.281Z] ---> 4777edcca4f3 [2021-02-17T10:24:16.281Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-17T10:24:16.281Z] ---> Running in c8bf7a92d9aa [2021-02-17T10:24:16.727Z] Removing intermediate container c8bf7a92d9aa [2021-02-17T10:24:16.727Z] ---> 5fe816af4ecf [2021-02-17T10:24:16.727Z] Step 7/8 : COPY . . [2021-02-17T10:24:19.207Z] ---> 7d949039f27a [2021-02-17T10:24:19.207Z] Step 8/8 : RUN go mod download [2021-02-17T10:24:19.207Z] ---> Running in ee51d7cef8a7 [2021-02-17T10:24:40.002Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-17T10:24:40.592Z] Removing intermediate container d5e4d4533c3a [2021-02-17T10:24:40.592Z] ---> c97b15539115 [2021-02-17T10:24:40.592Z] Step 10/24 : FROM scratch [2021-02-17T10:24:40.592Z] ---> [2021-02-17T10:24:40.592Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:24:40.592Z] ---> Running in 86617618da7a [2021-02-17T10:24:41.185Z] Removing intermediate container 86617618da7a [2021-02-17T10:24:41.185Z] ---> 798ed9f2e182 [2021-02-17T10:24:41.185Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-17T10:24:41.185Z] ---> Running in a88964f45514 [2021-02-17T10:24:41.456Z] Removing intermediate container a88964f45514 [2021-02-17T10:24:41.456Z] ---> efecda558da9 [2021-02-17T10:24:41.456Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-17T10:24:41.726Z] ---> Running in 0d7daf1b9377 [2021-02-17T10:24:41.996Z] Removing intermediate container 0d7daf1b9377 [2021-02-17T10:24:41.996Z] ---> 0c1afa450006 [2021-02-17T10:24:41.996Z] Step 14/24 : WORKDIR / [2021-02-17T10:24:42.266Z] ---> Running in 257614d8ad11 [2021-02-17T10:24:42.537Z] Removing intermediate container 257614d8ad11 [2021-02-17T10:24:42.537Z] ---> bfa384200bdc [2021-02-17T10:24:42.537Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-17T10:24:43.506Z] ---> 47b9d9ef1494 [2021-02-17T10:24:43.506Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-17T10:24:44.097Z] ---> f923901e7c07 [2021-02-17T10:24:44.097Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-17T10:24:44.691Z] ---> f340f9185a21 [2021-02-17T10:24:44.691Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-17T10:24:45.666Z] ---> 92e63590276d [2021-02-17T10:24:45.666Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-17T10:24:46.255Z] ---> 0234a276ec05 [2021-02-17T10:24:46.255Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-17T10:24:46.255Z] ---> Running in 109dbbe6adca [2021-02-17T10:24:46.846Z] Removing intermediate container 109dbbe6adca [2021-02-17T10:24:46.846Z] ---> 3170eeed80d9 [2021-02-17T10:24:46.846Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-17T10:24:46.846Z] ---> Running in db058072207e [2021-02-17T10:24:47.120Z] Removing intermediate container db058072207e [2021-02-17T10:24:47.120Z] ---> ab605910a83c [2021-02-17T10:24:47.120Z] Step 22/24 : LABEL arch=arm64 [2021-02-17T10:24:47.392Z] ---> Running in 4f7ffafaeaa8 [2021-02-17T10:24:47.664Z] Removing intermediate container 4f7ffafaeaa8 [2021-02-17T10:24:47.664Z] ---> 33a515fb7582 [2021-02-17T10:24:47.664Z] Step 23/24 : LABEL git_sha=826dc4388710d346dfdba9485e6d47cfaa06628a [2021-02-17T10:24:47.936Z] ---> Running in b2813ea7a63b [2021-02-17T10:24:48.234Z] Removing intermediate container b2813ea7a63b [2021-02-17T10:24:48.234Z] ---> 610b9dec4241 [2021-02-17T10:24:48.234Z] Step 24/24 : LABEL version=0.0.0 [2021-02-17T10:24:48.507Z] ---> Running in d7eaf10ad4ca [2021-02-17T10:24:49.099Z] Removing intermediate container d7eaf10ad4ca [2021-02-17T10:24:49.099Z] ---> f5c6f85e316c [2021-02-17T10:24:49.099Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-17T10:24:49.099Z] Successfully built f5c6f85e316c [2021-02-17T10:24:49.099Z] 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] } [2021-02-17T10:25:00.573Z] Removing intermediate container ee51d7cef8a7 [2021-02-17T10:25:00.573Z] ---> 37443f54e24c [2021-02-17T10:25:00.914Z] Successfully built 37443f54e24c [2021-02-17T10:25:00.914Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:25:01.580Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-17T10:25:02.592Z] . [Pipeline] withDockerContainer [2021-02-17T10:25:03.170Z] prd-centos7-docker-4c-2g-26667 does not seem to be running inside a container [2021-02-17T10:25:03.605Z] $ 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 ******** ci-base-image-x86_64 cat [2021-02-17T10:25:04.953Z] $ docker top abb38ce7b12660512192314f9c2da719c0d2cb2cecd6c3bd9210fa471b39d39f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-17T10:25:06.250Z] + go version [2021-02-17T10:25:06.250Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-17T10:25:06.347Z] $ docker stop --time=1 abb38ce7b12660512192314f9c2da719c0d2cb2cecd6c3bd9210fa471b39d39f [2021-02-17T10:25:07.988Z] $ docker rm -f abb38ce7b12660512192314f9c2da719c0d2cb2cecd6c3bd9210fa471b39d39f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:25:09.724Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-17T10:25:09.724Z] . [Pipeline] withDockerContainer [2021-02-17T10:25:10.329Z] prd-centos7-docker-4c-2g-26667 does not seem to be running inside a container [2021-02-17T10:25:10.533Z] $ 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 ******** ci-base-image-x86_64 cat [2021-02-17T10:25:12.288Z] $ docker top 80fdc5597be98f3d7c0e31971e6e1c220a7a5388bba92dc9b21c36a5d5c60d4a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-17T10:25:13.005Z] + make test [2021-02-17T10:25:13.005Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-17T10:25:29.589Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-17T10:25:57.029Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-17T10:25:57.029Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-17T10:25:57.029Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-17T10:25:59.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 25.5% of statements [2021-02-17T10:26:27.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.126s coverage: 10.1% of statements [2021-02-17T10:26:27.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.074s coverage: 12.5% of statements [2021-02-17T10:26:27.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-17T10:26:27.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.090s coverage: 84.8% of statements [2021-02-17T10:26:27.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-17T10:26:27.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-17T10:26:27.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-17T10:26:27.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-17T10:26:27.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 49.2% of statements [2021-02-17T10:26:27.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-17T10:26:27.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-17T10:26:27.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.137s coverage: 24.8% of statements [2021-02-17T10:26:27.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.468s coverage: 83.5% of statements [2021-02-17T10:26:27.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.078s coverage: 5.3% of statements [2021-02-17T10:26:27.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-17T10:26:27.456Z] GO111MODULE=on go vet ./... [2021-02-17T10:26:50.259Z] gofmt -l . [2021-02-17T10:26:50.259Z] [ "`gofmt -l .`" = "" ] [2021-02-17T10:26:50.259Z] ./bin/test-attribution-txt.sh [2021-02-17T10:26:51.870Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-17T10:26:53.289Z] $ docker stop --time=1 80fdc5597be98f3d7c0e31971e6e1c220a7a5388bba92dc9b21c36a5d5c60d4a [2021-02-17T10:26:56.455Z] $ docker rm -f 80fdc5597be98f3d7c0e31971e6e1c220a7a5388bba92dc9b21c36a5d5c60d4a [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-17T10:26:57.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-17T10:26:57.963Z] Warning: overwriting stash ‘coverage-report’ [2021-02-17T10:26:59.442Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-17T10:27:00.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-17T10:27:00.608Z] + ls -al . [2021-02-17T10:27:00.608Z] total 172 [2021-02-17T10:27:00.608Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 17 10:26 . [2021-02-17T10:27:00.608Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 17 10:23 .. [2021-02-17T10:27:00.608Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 17 10:23 bin [2021-02-17T10:27:00.608Z] -rw-r--r--. 1 jenkins jenkins 89677 Feb 17 10:26 coverage.out [2021-02-17T10:27:00.608Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 17 10:23 Dockerfile.build [2021-02-17T10:27:00.608Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 17 10:23 .dockerignore [2021-02-17T10:27:00.608Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 17 10:23 example [2021-02-17T10:27:00.608Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 17 10:23 .git [2021-02-17T10:27:00.608Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 17 10:23 .github [2021-02-17T10:27:00.608Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 17 10:23 .gitignore [2021-02-17T10:27:00.608Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 17 10:26 go.mod [2021-02-17T10:27:00.608Z] -rw-r--r--. 1 jenkins jenkins 19062 Feb 17 10:26 go.sum [2021-02-17T10:27:00.608Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 17 10:23 internal [2021-02-17T10:27:00.608Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 17 10:23 Jenkinsfile [2021-02-17T10:27:00.608Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 17 10:23 LICENSE [2021-02-17T10:27:00.608Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 17 10:23 Makefile [2021-02-17T10:27:00.608Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 17 10:23 openapi [2021-02-17T10:27:00.608Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 17 10:23 pkg [2021-02-17T10:27:00.608Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 17 10:23 README.md [2021-02-17T10:27:00.608Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 17 10:23 RELEASE-NOTES.txt [2021-02-17T10:27:00.608Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 17 10:23 snap [2021-02-17T10:27:00.608Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 17 10:16 VERSION [2021-02-17T10:27:00.608Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 17 10:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:27:01.230Z] + 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=826dc4388710d346dfdba9485e6d47cfaa06628a --label arch=amd64 --label version=0.0.0 . [2021-02-17T10:27:02.409Z] Sending build context to Docker daemon 2.474MB [2021-02-17T10:27:02.409Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-17T10:27:02.409Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-17T10:27:02.409Z] ---> 37443f54e24c [2021-02-17T10:27:02.409Z] Step 3/24 : ARG MAKE='make build' [2021-02-17T10:27:02.861Z] ---> Running in 58d0e12c7fcc [2021-02-17T10:27:03.197Z] Removing intermediate container 58d0e12c7fcc [2021-02-17T10:27:03.197Z] ---> ddefa55441d8 [2021-02-17T10:27:03.197Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-17T10:27:03.643Z] ---> Running in 230daef0405a [2021-02-17T10:27:03.929Z] Removing intermediate container 230daef0405a [2021-02-17T10:27:03.929Z] ---> ef696cf9f9fb [2021-02-17T10:27:03.929Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:27:04.230Z] ---> Running in 03fd77141c5d [2021-02-17T10:27:04.658Z] Removing intermediate container 03fd77141c5d [2021-02-17T10:27:04.658Z] ---> fa0bb0f27fc3 [2021-02-17T10:27:04.658Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-17T10:27:04.658Z] ---> Running in 37618e3f576b [2021-02-17T10:27:07.657Z] Removing intermediate container 37618e3f576b [2021-02-17T10:27:07.657Z] ---> b14c33a3adcf [2021-02-17T10:27:07.657Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-17T10:27:07.657Z] ---> Running in 6975eda8c456 [2021-02-17T10:27:08.296Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-17T10:27:09.449Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-17T10:27:10.826Z] OK: 166 MiB in 39 packages [2021-02-17T10:27:12.054Z] Removing intermediate container 6975eda8c456 [2021-02-17T10:27:12.054Z] ---> e45ed71214a2 [2021-02-17T10:27:12.054Z] Step 8/24 : COPY . . [2021-02-17T10:27:14.366Z] ---> 2ed0afc05a04 [2021-02-17T10:27:14.366Z] Step 9/24 : RUN ${MAKE} [2021-02-17T10:27:14.366Z] ---> Running in 97b0913c710f [2021-02-17T10:27:15.445Z] 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-17T10:27:31.118Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-17T10:27:34.199Z] Removing intermediate container 97b0913c710f [2021-02-17T10:27:34.199Z] ---> 99330578c071 [2021-02-17T10:27:34.199Z] Step 10/24 : FROM scratch [2021-02-17T10:27:34.199Z] ---> [2021-02-17T10:27:34.199Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:27:34.199Z] ---> Running in 170a12c46952 [2021-02-17T10:27:34.918Z] Removing intermediate container 170a12c46952 [2021-02-17T10:27:34.918Z] ---> f603b98b6d59 [2021-02-17T10:27:34.918Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-17T10:27:35.201Z] ---> Running in 4ee795279e5d [2021-02-17T10:27:35.571Z] Removing intermediate container 4ee795279e5d [2021-02-17T10:27:35.571Z] ---> 3aa5309252d0 [2021-02-17T10:27:35.571Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-17T10:27:35.964Z] ---> Running in af3a5f5365d3 [2021-02-17T10:27:36.231Z] Removing intermediate container af3a5f5365d3 [2021-02-17T10:27:36.231Z] ---> ea3ffa50de31 [2021-02-17T10:27:36.231Z] Step 14/24 : WORKDIR / [2021-02-17T10:27:36.231Z] ---> Running in 765a1aa5515f [2021-02-17T10:27:36.535Z] Removing intermediate container 765a1aa5515f [2021-02-17T10:27:36.535Z] ---> 04d4b5ebc9fe [2021-02-17T10:27:36.535Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-17T10:27:37.215Z] ---> a5cdba3e3568 [2021-02-17T10:27:37.215Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-17T10:27:37.577Z] ---> 29298c15d50f [2021-02-17T10:27:37.577Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-17T10:27:37.905Z] ---> e68daec2b718 [2021-02-17T10:27:37.905Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-17T10:27:39.986Z] ---> 4c837f934ea3 [2021-02-17T10:27:39.986Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-17T10:27:39.986Z] ---> a222e638c922 [2021-02-17T10:27:39.986Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-17T10:27:39.986Z] ---> Running in e7e713699ab5 [2021-02-17T10:27:40.261Z] Removing intermediate container e7e713699ab5 [2021-02-17T10:27:40.261Z] ---> e9ec5b965526 [2021-02-17T10:27:40.261Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-17T10:27:40.261Z] ---> Running in f38c6d785a42 [2021-02-17T10:27:40.599Z] Removing intermediate container f38c6d785a42 [2021-02-17T10:27:40.599Z] ---> c3ecf782844d [2021-02-17T10:27:40.599Z] Step 22/24 : LABEL arch=amd64 [2021-02-17T10:27:40.599Z] ---> Running in aedd032b9ca1 [2021-02-17T10:27:40.890Z] Removing intermediate container aedd032b9ca1 [2021-02-17T10:27:40.891Z] ---> 259b58b2912b [2021-02-17T10:27:40.891Z] Step 23/24 : LABEL git_sha=826dc4388710d346dfdba9485e6d47cfaa06628a [2021-02-17T10:27:41.190Z] ---> Running in 948e4c46c048 [2021-02-17T10:27:41.517Z] Removing intermediate container 948e4c46c048 [2021-02-17T10:27:41.518Z] ---> cf189a84dfec [2021-02-17T10:27:41.518Z] Step 24/24 : LABEL version=0.0.0 [2021-02-17T10:27:41.518Z] ---> Running in 47e6558f9933 [2021-02-17T10:27:42.528Z] Removing intermediate container 47e6558f9933 [2021-02-17T10:27:42.528Z] ---> cf6a34ad35d4 [2021-02-17T10:27:42.528Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-17T10:27:42.528Z] Successfully built cf6a34ad35d4 [2021-02-17T10:27:42.528Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-17T10:27:45.819Z] provisioning config files... [2021-02-17T10:27:45.828Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config5624039902321194898tmp [Pipeline] { [Pipeline] sh [2021-02-17T10:27:46.210Z] + set +x [2021-02-17T10:27:46.210Z] + curl -s https://codecov.io/bash [2021-02-17T10:27:46.210Z] + bash -s -- [2021-02-17T10:27:46.493Z] [2021-02-17T10:27:46.493Z] _____ _ [2021-02-17T10:27:46.493Z] / ____| | | [2021-02-17T10:27:46.493Z] | | ___ __| | ___ ___ _____ __ [2021-02-17T10:27:46.493Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-17T10:27:46.493Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-17T10:27:46.493Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-17T10:27:46.493Z] Bash-20210129-7c25fce [2021-02-17T10:27:46.493Z] [2021-02-17T10:27:46.493Z] [2021-02-17T10:27:46.493Z] ==> git version 2.24.3 found [2021-02-17T10:27:46.493Z] ==> 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-17T10:27:46.493Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-17T10:27:46.493Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-17T10:27:46.493Z] ==> Jenkins CI detected. [2021-02-17T10:27:46.493Z] project root: . [2021-02-17T10:27:46.493Z] --> token set from env [2021-02-17T10:27:46.493Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-17T10:27:46.493Z] ==> Running gcov in . (disable via -X gcov) [2021-02-17T10:27:46.493Z] ==> Python coveragepy not found [2021-02-17T10:27:46.493Z] ==> Searching for coverage reports in: [2021-02-17T10:27:46.493Z] + . [2021-02-17T10:27:46.493Z] -> Found 1 reports [2021-02-17T10:27:46.493Z] ==> Detecting git/mercurial file structure [2021-02-17T10:27:46.493Z] ==> Reading reports [2021-02-17T10:27:46.493Z] + ./coverage.out bytes=89677 [2021-02-17T10:27:46.493Z] ==> Appending adjustments [2021-02-17T10:27:46.493Z] https://docs.codecov.io/docs/fixing-reports [2021-02-17T10:27:46.753Z] + Found adjustments [2021-02-17T10:27:46.753Z] ==> Gzipping contents [2021-02-17T10:27:46.753Z] 16K /tmp/codecov.Em15xW.gz [2021-02-17T10:27:46.753Z] ==> Uploading reports [2021-02-17T10:27:46.753Z] url: https://codecov.io [2021-02-17T10:27:46.753Z] query: branch=PR-784&commit=826dc4388710d346dfdba9485e6d47cfaa06628a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-784%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=784&job=&cmd_args= [2021-02-17T10:27:46.753Z] -> Pinging Codecov [2021-02-17T10:27:46.754Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-784&commit=826dc4388710d346dfdba9485e6d47cfaa06628a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-784%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=784&job=&cmd_args= [2021-02-17T10:27:47.332Z] -> Uploading to [2021-02-17T10:27:47.332Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-17/7E55EF52A471D76F132DFD9A03CDDE97/826dc4388710d346dfdba9485e6d47cfaa06628a/8358bc38-f617-4d97-8dbc-6edff179b5f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210217T102747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8bb8d9da3342a8788a60349b8448e54bfc2f2b677e63bac8214b967c5e1a87c6 [2021-02-17T10:27:47.332Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-17T10:27:47.332Z] Dload Upload Total Spent Left Speed [2021-02-17T10:27:47.592Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15136 0 0 100 15136 0 32173 --:--:-- --:--:-- --:--:-- 32204 [2021-02-17T10:27:47.592Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/826dc4388710d346dfdba9485e6d47cfaa06628a [Pipeline] } [2021-02-17T10:27:47.600Z] 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-17T10:27:50.093Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:27:50.389Z] ---> package-listing.sh [2021-02-17T10:27:50.389Z] ++ facter osfamily [2021-02-17T10:27:50.389Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-17T10:27:50.389Z] + OS_FAMILY=redhat [2021-02-17T10:27:50.389Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-784 [2021-02-17T10:27:50.389Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-17T10:27:50.389Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-17T10:27:50.389Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-17T10:27:50.389Z] + PACKAGES=/tmp/packages_start.txt [2021-02-17T10:27:50.389Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-784 ']' [2021-02-17T10:27:50.389Z] + PACKAGES=/tmp/packages_end.txt [2021-02-17T10:27:50.389Z] + case "${OS_FAMILY}" in [2021-02-17T10:27:50.389Z] + rpm -qa [2021-02-17T10:27:50.389Z] + sort [2021-02-17T10:27:55.695Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-17T10:27:55.696Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-17T10:27:55.696Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-17T10:27:55.696Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-784 ']' [2021-02-17T10:27:55.696Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-784/archives/ [2021-02-17T10:27:55.696Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-784/archives/ [Pipeline] echo [2021-02-17T10:27:55.715Z] 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-784/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-17T10:27:56.016Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:27:56.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-17T10:27:56.342Z] [2021-02-17T10:27:56.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:27:56.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-17T10:27:56.705Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-17T10:27:56.705Z] df20fa9351a1: Pulling fs layer [2021-02-17T10:27:56.705Z] 36b3adc4ff6f: Pulling fs layer [2021-02-17T10:27:56.705Z] 8ad3a11d3b57: Pulling fs layer [2021-02-17T10:27:56.705Z] 46f8f816bc3b: Pulling fs layer [2021-02-17T10:27:56.705Z] 93b61091891f: Pulling fs layer [2021-02-17T10:27:56.705Z] 93b9cdb0e59b: Pulling fs layer [2021-02-17T10:27:56.705Z] 5e14af77c1be: Pulling fs layer [2021-02-17T10:27:56.705Z] 01666e4c0597: Pulling fs layer [2021-02-17T10:27:56.705Z] aa168da1d23b: Pulling fs layer [2021-02-17T10:27:56.705Z] 93b9cdb0e59b: Waiting [2021-02-17T10:27:56.705Z] 5e14af77c1be: Waiting [2021-02-17T10:27:56.705Z] 01666e4c0597: Waiting [2021-02-17T10:27:56.705Z] 46f8f816bc3b: Waiting [2021-02-17T10:27:56.705Z] 93b61091891f: Waiting [2021-02-17T10:27:56.705Z] aa168da1d23b: Waiting [2021-02-17T10:27:56.705Z] 36b3adc4ff6f: Verifying Checksum [2021-02-17T10:27:56.705Z] 36b3adc4ff6f: Download complete [2021-02-17T10:27:56.976Z] 46f8f816bc3b: Verifying Checksum [2021-02-17T10:27:56.976Z] 46f8f816bc3b: Download complete [2021-02-17T10:27:56.976Z] df20fa9351a1: Verifying Checksum [2021-02-17T10:27:56.976Z] df20fa9351a1: Download complete [2021-02-17T10:27:56.976Z] 93b9cdb0e59b: Verifying Checksum [2021-02-17T10:27:56.976Z] 93b9cdb0e59b: Download complete [2021-02-17T10:27:56.976Z] 5e14af77c1be: Verifying Checksum [2021-02-17T10:27:56.976Z] 5e14af77c1be: Download complete [2021-02-17T10:27:56.976Z] 01666e4c0597: Verifying Checksum [2021-02-17T10:27:56.976Z] 01666e4c0597: Download complete [2021-02-17T10:27:56.976Z] 93b61091891f: Verifying Checksum [2021-02-17T10:27:56.976Z] 93b61091891f: Download complete [2021-02-17T10:27:56.976Z] 8ad3a11d3b57: Verifying Checksum [2021-02-17T10:27:56.976Z] 8ad3a11d3b57: Download complete [2021-02-17T10:27:57.246Z] df20fa9351a1: Pull complete [2021-02-17T10:27:57.516Z] 36b3adc4ff6f: Pull complete [2021-02-17T10:27:58.104Z] 8ad3a11d3b57: Pull complete [2021-02-17T10:27:58.104Z] 46f8f816bc3b: Pull complete [2021-02-17T10:27:58.692Z] 93b61091891f: Pull complete [2021-02-17T10:27:59.279Z] aa168da1d23b: Verifying Checksum [2021-02-17T10:27:59.279Z] aa168da1d23b: Download complete [2021-02-17T10:27:59.279Z] 93b9cdb0e59b: Pull complete [2021-02-17T10:27:59.279Z] 5e14af77c1be: Pull complete [2021-02-17T10:27:59.544Z] 01666e4c0597: Pull complete [2021-02-17T10:28:06.180Z] aa168da1d23b: Pull complete [2021-02-17T10:28:06.180Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-17T10:28:06.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-17T10:28:06.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-17T10:28:06.315Z] prd-centos7-docker-4c-2g-26662 does not seem to be running inside a container [2021-02-17T10:28:06.354Z] $ 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-784/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-784 -v /w/workspace/dgexfoundry_device-sdk-go_PR-784:/w/workspace/dgexfoundry_device-sdk-go_PR-784:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-17T10:28:09.647Z] $ docker top 0386ea9db796d73f5a39f340b1f248ebb5e7f84cfe1a514abe31b22f24a47486 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-17T10:28:10.125Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-17T10:28:10.416Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-17T10:28:10.708Z] + ls /var/log/sa-host [2021-02-17T10:28:10.708Z] + sadf -c /var/log/sa-host/sa17 [2021-02-17T10:28:10.708Z] file_magic: OK [2021-02-17T10:28:10.708Z] HZ: Using current value: 100 [2021-02-17T10:28:10.708Z] file_header: OK [2021-02-17T10:28:10.708Z] 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-17T10:28:10.708Z] Statistics: [2021-02-17T10:28:10.708Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-17T10:28:10.708Z] File successfully converted to sysstat format version 12.2.1 [2021-02-17T10:28:10.708Z] + sadf -c /var/log/sa-host/sa23 [2021-02-17T10:28:10.708Z] file_magic: OK [2021-02-17T10:28:10.708Z] HZ: Using current value: 100 [2021-02-17T10:28:10.708Z] file_header: OK [2021-02-17T10:28:10.708Z] 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-17T10:28:10.708Z] Statistics: [2021-02-17T10:28:10.708Z] Hnuu...uuuununununu... [2021-02-17T10:28:10.708Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-17T10:28:10.971Z] provisioning config files... [2021-02-17T10:28:10.993Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config1586060289801018918tmp [Pipeline] { [Pipeline] echo [2021-02-17T10:28:11.080Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:28:11.372Z] ---> create-netrc.sh [Pipeline] } [2021-02-17T10:28:11.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-17T10:28:11.489Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:28:11.783Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-17T10:28:11.794Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:28:12.085Z] ---> sudo-logs.sh [2021-02-17T10:28:12.085Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-17T10:28:12.151Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:28:12.446Z] ---> job-cost.sh [2021-02-17T10:28:12.446Z] lf-activate-venv: SKIPPING [2021-02-17T10:28:12.446Z] INFO: No Stack... [2021-02-17T10:28:13.405Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-17T10:28:13.672Z] INFO: Archiving Costs [Pipeline] echo [2021-02-17T10:28:13.691Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:28:14.001Z] ---> logs-deploy.sh [2021-02-17T10:28:14.001Z] lf-activate-venv: SKIPPING [2021-02-17T10:28:14.001Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-784/2 [2021-02-17T10:28:14.001Z] INFO: archiving workspace using pattern(s): [2021-02-17T10:28:15.418Z] Archives upload complete. [2021-02-17T10:28:15.685Z] INFO: archiving logs to Nexus