Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+1f15288997641a3d0d3a625c9b3944aa45f594eb (a5941000c47ec6489890aa0a26e891696025145d) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19902’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19903 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing e296ca2f3ba30b226a855120fdd1084aef7d3086 Checking out Revision e296ca2f3ba30b226a855120fdd1084aef7d3086 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e296ca2f3ba30b226a855120fdd1084aef7d3086 # timeout=10 Commit message: "Merge commit '1f15288997641a3d0d3a625c9b3944aa45f594eb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-13T02:42:31.925Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-13T02:42:32.206Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk c6d9155d073171a86868adb00d477f0388f37b24 # timeout=10 [Pipeline] echo [2021-01-13T02:42:32.334Z] ========================================================= [2021-01-13T02:42:32.334Z] EdgeX Global Pipelines Version Info [2021-01-13T02:42:32.334Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:42:36.194Z] ------------------- [2021-01-13T02:42:36.195Z] stable info: [2021-01-13T02:42:36.195Z] ------------------- [2021-01-13T02:42:36.195Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-13T02:42:36.195Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-13T02:42:36.195Z] Message: update stable to v1.0.173 [2021-01-13T02:42:36.458Z] ------------------- [2021-01-13T02:42:36.458Z] experimental info: [2021-01-13T02:42:36.458Z] ------------------- [2021-01-13T02:42:36.458Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-13T02:42:36.458Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-13T02:42:36.458Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-13T02:42:36.738Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-13T02:42:36.849Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-13T02:42:36.948Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-13T02:42:37.064Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-13T02:42:37.162Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-13T02:42:37.273Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-13T02:42:37.368Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-13T02:42:37.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-13T02:42:37.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-13T02:42:37.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-13T02:42:37.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-13T02:42:37.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-01-13T02:42:37.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-13T02:42:38.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-13T02:42:38.197Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-13T02:42:38.302Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-13T02:42:38.398Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-13T02:42:38.489Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-13T02:42:38.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-13T02:42:38.679Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-13T02:42:38.771Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-13T02:42:38.899Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-13T02:42:38.989Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-13T02:42:39.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-13T02:42:39.175Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-13T02:42:39.268Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-13T02:42:39.364Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-13T02:42:39.465Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-01-13T02:42:39.569Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-01-13T02:42:39.714Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-01-13T02:42:39.811Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e296ca2f3ba30b226a855120fdd1084aef7d3086 [Pipeline] echo [2021-01-13T02:42:39.905Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e296ca2 [Pipeline] echo [2021-01-13T02:42:40.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-13T02:42:40.197Z] provisioning config files... [2021-01-13T02:42:40.230Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config6694093891202893844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:42:40.627Z] ---> docker-login.sh [2021-01-13T02:42:40.627Z] nexus3.edgexfoundry.org:10001 [2021-01-13T02:42:40.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:42:41.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:42:41.158Z] Configure a credential helper to remove this warning. See [2021-01-13T02:42:41.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:42:41.158Z] [2021-01-13T02:42:41.158Z] Login Succeeded [2021-01-13T02:42:41.158Z] nexus3.edgexfoundry.org:10002 [2021-01-13T02:42:41.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:42:41.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:42:41.421Z] Configure a credential helper to remove this warning. See [2021-01-13T02:42:41.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:42:41.421Z] [2021-01-13T02:42:41.421Z] Login Succeeded [2021-01-13T02:42:41.421Z] nexus3.edgexfoundry.org:10003 [2021-01-13T02:42:41.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:42:41.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:42:41.421Z] Configure a credential helper to remove this warning. See [2021-01-13T02:42:41.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:42:41.421Z] [2021-01-13T02:42:41.421Z] Login Succeeded [2021-01-13T02:42:41.421Z] nexus3.edgexfoundry.org:10004 [2021-01-13T02:42:41.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:42:41.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:42:41.687Z] Configure a credential helper to remove this warning. See [2021-01-13T02:42:41.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:42:41.687Z] [2021-01-13T02:42:41.687Z] Login Succeeded [2021-01-13T02:42:41.687Z] docker.io [2021-01-13T02:42:41.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:42:41.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:42:41.952Z] Configure a credential helper to remove this warning. See [2021-01-13T02:42:41.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:42:41.952Z] [2021-01-13T02:42:41.952Z] Login Succeeded [2021-01-13T02:42:41.952Z] ---> docker-login.sh ends [Pipeline] } [2021-01-13T02:42:41.963Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-13T02:42:42.967Z] + git log --format=format:%s -1 e296ca2f3ba30b226a855120fdd1084aef7d3086 [Pipeline] echo [2021-01-13T02:42:43.042Z] GIT_COMMIT: e296ca2f3ba30b226a855120fdd1084aef7d3086, Commit Message: Merge commit '1f15288997641a3d0d3a625c9b3944aa45f594eb' into HEAD [Pipeline] echo [2021-01-13T02:42:43.092Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:42:44.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-13T02:42:44.117Z] [2021-01-13T02:42:44.117Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:42:44.467Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-13T02:42:44.467Z] latest: Pulling from edgex-devops/git-semver [2021-01-13T02:42:44.467Z] 31603596830f: Pulling fs layer [2021-01-13T02:42:44.467Z] 2a8b12db71e7: Pulling fs layer [2021-01-13T02:42:44.467Z] 6ca5941a6612: Pulling fs layer [2021-01-13T02:42:44.467Z] ecc8261a40a4: Pulling fs layer [2021-01-13T02:42:44.467Z] ecc8261a40a4: Waiting [2021-01-13T02:42:44.467Z] 2a8b12db71e7: Verifying Checksum [2021-01-13T02:42:44.467Z] 2a8b12db71e7: Download complete [2021-01-13T02:42:44.731Z] 31603596830f: Verifying Checksum [2021-01-13T02:42:44.731Z] 31603596830f: Download complete [2021-01-13T02:42:44.731Z] ecc8261a40a4: Verifying Checksum [2021-01-13T02:42:44.731Z] ecc8261a40a4: Download complete [2021-01-13T02:42:44.731Z] 6ca5941a6612: Verifying Checksum [2021-01-13T02:42:44.731Z] 6ca5941a6612: Download complete [2021-01-13T02:42:45.002Z] 31603596830f: Pull complete [2021-01-13T02:42:45.267Z] 2a8b12db71e7: Pull complete [2021-01-13T02:42:46.239Z] 6ca5941a6612: Pull complete [2021-01-13T02:42:46.502Z] ecc8261a40a4: Pull complete [2021-01-13T02:42:46.502Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-13T02:42:46.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-13T02:42:46.502Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-13T02:42:46.623Z] prd-centos7-docker-4c-2g-19903 does not seem to be running inside a container [2021-01-13T02:42:46.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-13T02:42:48.853Z] $ docker top f3daa3b096af4bb939d838e6eba4f973cb0ab27930487944d9f981e103792f79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-13T02:42:49.278Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-13T02:42:49.278Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-13T02:42:49.527Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-13T02:42:49.531Z] $ docker exec f3daa3b096af4bb939d838e6eba4f973cb0ab27930487944d9f981e103792f79 ssh-agent [2021-01-13T02:42:49.715Z] SSH_AUTH_SOCK=/tmp/ssh-08QV9HsJSrTh/agent.12 [2021-01-13T02:42:49.715Z] SSH_AGENT_PID=17 [2021-01-13T02:42:49.731Z] Running ssh-add (command line suppressed) [2021-01-13T02:42:49.872Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6152604146102478146.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6152604146102478146.key) [2021-01-13T02:42:49.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-13T02:42:50.282Z] + git tag --points-at HEAD [Pipeline] } [2021-01-13T02:42:50.308Z] $ docker exec --env ******** --env ******** f3daa3b096af4bb939d838e6eba4f973cb0ab27930487944d9f981e103792f79 ssh-agent -k [2021-01-13T02:42:50.437Z] unset SSH_AUTH_SOCK; [2021-01-13T02:42:50.437Z] unset SSH_AGENT_PID; [2021-01-13T02:42:50.438Z] echo Agent pid 17 killed; [2021-01-13T02:42:50.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-13T02:42:50.673Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-13T02:42:50.673Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-13T02:42:50.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-13T02:42:50.856Z] $ docker exec f3daa3b096af4bb939d838e6eba4f973cb0ab27930487944d9f981e103792f79 ssh-agent [2021-01-13T02:42:51.044Z] SSH_AUTH_SOCK=/tmp/ssh-t2kSuCXGkuTx/agent.45 [2021-01-13T02:42:51.044Z] SSH_AGENT_PID=51 [2021-01-13T02:42:51.053Z] Running ssh-add (command line suppressed) [2021-01-13T02:42:51.213Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4958233968643443330.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4958233968643443330.key) [2021-01-13T02:42:51.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-13T02:42:51.621Z] + git semver init [2021-01-13T02:42:51.621Z] # -> Open(): unable to determine branch for HEAD [2021-01-13T02:42:51.621Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-01-13T02:42:51.621Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-13T02:42:51.621Z] # $SEMVER_REMOTE_NAME = origin [2021-01-13T02:42:51.621Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-13T02:42:51.621Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-13T02:42:51.621Z] # $SEMVER_BRANCH = PR-725 [2021-01-13T02:42:51.621Z] # $SEMVER_TEMP = /tmp/semver-945443955 [2021-01-13T02:42:51.621Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-13T02:42:52.572Z] # '/tmp/semver-945443955' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-01-13T02:42:52.572Z] # -> Force: false [2021-01-13T02:42:52.572Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-01-13T02:42:52.585Z] $ docker exec --env ******** --env ******** f3daa3b096af4bb939d838e6eba4f973cb0ab27930487944d9f981e103792f79 ssh-agent -k [2021-01-13T02:42:52.704Z] unset SSH_AUTH_SOCK; [2021-01-13T02:42:52.704Z] unset SSH_AGENT_PID; [2021-01-13T02:42:52.704Z] echo Agent pid 51 killed; [2021-01-13T02:42:52.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-13T02:42:53.293Z] + git semver [Pipeline] } [2021-01-13T02:42:53.322Z] $ docker stop --time=1 f3daa3b096af4bb939d838e6eba4f973cb0ab27930487944d9f981e103792f79 [2021-01-13T02:42:55.098Z] $ docker rm -f f3daa3b096af4bb939d838e6eba4f973cb0ab27930487944d9f981e103792f79 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-13T02:42:55.630Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-13T02:42:56.057Z] Stashed 1 file(s) [Pipeline] echo [2021-01-13T02:42:56.060Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-13T02:43:11.631Z] Still waiting to schedule task [2021-01-13T02:43:11.631Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-13T02:43:11.633Z] Still waiting to schedule task [2021-01-13T02:43:11.634Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-13T02:44:55.862Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19904 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-13T02:44:55.953Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-13T02:45:01.238Z] using credential edgex-jenkins-ssh [2021-01-13T02:45:01.296Z] Cloning the remote Git repository [2021-01-13T02:45:01.385Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-13T02:45:01.504Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-13T02:45:01.582Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-13T02:45:01.583Z] > git --version # timeout=10 [2021-01-13T02:45:01.602Z] > git --version # 'git version 2.17.1' [2021-01-13T02:45:01.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-13T02:45:01.710Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-13T02:45:04.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-13T02:45:04.181Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-13T02:45:04.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-13T02:45:04.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-13T02:45:04.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-13T02:45:04.267Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-13T02:45:05.244Z] Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-13T02:45:05.597Z] Merge succeeded, producing 9b040d32146dce2162caf1d714fb59768b20528c [2021-01-13T02:45:05.597Z] Checking out Revision 9b040d32146dce2162caf1d714fb59768b20528c (PR-725) [2021-01-13T02:45:05.301Z] > git config core.sparsecheckout # timeout=10 [2021-01-13T02:45:05.324Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-13T02:45:05.443Z] > git remote # timeout=10 [2021-01-13T02:45:05.467Z] > git config --get remote.origin.url # timeout=10 [2021-01-13T02:45:05.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-13T02:45:05.503Z] > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 [2021-01-13T02:45:05.605Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-13T02:45:05.639Z] > git config core.sparsecheckout # timeout=10 [2021-01-13T02:45:05.649Z] > git checkout -f 9b040d32146dce2162caf1d714fb59768b20528c # timeout=10 [2021-01-13T02:45:10.110Z] Commit message: "Merge commit '1f15288997641a3d0d3a625c9b3944aa45f594eb' into HEAD" [2021-01-13T02:45:10.139Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-13T02:45:10.155Z] > git rev-list --no-walk c6d9155d073171a86868adb00d477f0388f37b24 # timeout=10 [2021-01-13T02:45:11.821Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-13T02:45:12.242Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-13T02:45:12.591Z] + + sudo service dockertrue restart [2021-01-13T02:45:12.591Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-13T02:45:15.313Z] provisioning config files... [2021-01-13T02:45:15.367Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5211234909897698398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:45:15.867Z] ---> docker-login.sh [2021-01-13T02:45:15.868Z] nexus3.edgexfoundry.org:10001 [2021-01-13T02:45:16.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:45:17.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:45:17.138Z] Configure a credential helper to remove this warning. See [2021-01-13T02:45:17.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:45:17.138Z] [2021-01-13T02:45:17.138Z] Login Succeeded [2021-01-13T02:45:17.138Z] nexus3.edgexfoundry.org:10002 [2021-01-13T02:45:17.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:45:17.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:45:17.738Z] Configure a credential helper to remove this warning. See [2021-01-13T02:45:17.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:45:17.738Z] [2021-01-13T02:45:17.738Z] Login Succeeded [2021-01-13T02:45:17.738Z] nexus3.edgexfoundry.org:10003 [2021-01-13T02:45:18.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:45:18.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:45:18.287Z] Configure a credential helper to remove this warning. See [2021-01-13T02:45:18.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:45:18.287Z] [2021-01-13T02:45:18.287Z] Login Succeeded [2021-01-13T02:45:18.287Z] nexus3.edgexfoundry.org:10004 [2021-01-13T02:45:18.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:45:18.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:45:18.839Z] Configure a credential helper to remove this warning. See [2021-01-13T02:45:18.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:45:18.839Z] [2021-01-13T02:45:18.839Z] Login Succeeded [2021-01-13T02:45:18.839Z] docker.io [2021-01-13T02:45:19.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:45:19.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:45:19.707Z] Configure a credential helper to remove this warning. See [2021-01-13T02:45:19.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:45:19.707Z] [2021-01-13T02:45:19.707Z] Login Succeeded [2021-01-13T02:45:19.707Z] ---> docker-login.sh ends [Pipeline] } [2021-01-13T02:45:19.725Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-13T02:45:20.178Z] ========================================================= [2021-01-13T02:45:20.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-13T02:45:20.178Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:45:20.570Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-13T02:45:21.185Z] Sending build context to Docker daemon 2.48MB [2021-01-13T02:45:21.185Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-13T02:45:21.185Z] Step 2/8 : FROM ${BASE} [2021-01-13T02:45:21.185Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-13T02:45:21.185Z] 5f621e34cdf4: Pulling fs layer [2021-01-13T02:45:21.185Z] a4357932f1b6: Pulling fs layer [2021-01-13T02:45:21.185Z] 18c013af1878: Pulling fs layer [2021-01-13T02:45:21.185Z] 00ac8860ef70: Pulling fs layer [2021-01-13T02:45:21.185Z] 63d7cb157983: Pulling fs layer [2021-01-13T02:45:21.185Z] b116817d02f9: Pulling fs layer [2021-01-13T02:45:21.185Z] 745a02a5169b: Pulling fs layer [2021-01-13T02:45:21.185Z] 00ac8860ef70: Waiting [2021-01-13T02:45:21.185Z] 63d7cb157983: Waiting [2021-01-13T02:45:21.185Z] b116817d02f9: Waiting [2021-01-13T02:45:21.185Z] 745a02a5169b: Waiting [2021-01-13T02:45:21.185Z] 18c013af1878: Verifying Checksum [2021-01-13T02:45:21.185Z] 18c013af1878: Download complete [2021-01-13T02:45:21.185Z] a4357932f1b6: Verifying Checksum [2021-01-13T02:45:21.185Z] a4357932f1b6: Download complete [2021-01-13T02:45:21.185Z] 63d7cb157983: Download complete [2021-01-13T02:45:21.185Z] b116817d02f9: Verifying Checksum [2021-01-13T02:45:21.185Z] b116817d02f9: Download complete [2021-01-13T02:45:21.185Z] 5f621e34cdf4: Verifying Checksum [2021-01-13T02:45:21.185Z] 5f621e34cdf4: Download complete [2021-01-13T02:45:22.188Z] 5f621e34cdf4: Pull complete [2021-01-13T02:45:22.466Z] a4357932f1b6: Pull complete [2021-01-13T02:45:23.071Z] 18c013af1878: Pull complete [2021-01-13T02:45:23.347Z] 745a02a5169b: Verifying Checksum [2021-01-13T02:45:23.347Z] 745a02a5169b: Download complete [2021-01-13T02:45:24.803Z] 00ac8860ef70: Verifying Checksum [2021-01-13T02:45:24.803Z] 00ac8860ef70: Download complete [2021-01-13T02:45:34.981Z] 00ac8860ef70: Pull complete [2021-01-13T02:45:34.981Z] 63d7cb157983: Pull complete [2021-01-13T02:45:34.981Z] b116817d02f9: Pull complete [2021-01-13T02:45:38.383Z] 745a02a5169b: Pull complete [2021-01-13T02:45:38.383Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-13T02:45:38.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-13T02:45:38.383Z] ---> b7e6874047d6 [2021-01-13T02:45:38.383Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-13T02:45:41.783Z] ---> Running in 13251750dfe8 [2021-01-13T02:45:41.783Z] Removing intermediate container 13251750dfe8 [2021-01-13T02:45:41.783Z] ---> ca2c71350402 [2021-01-13T02:45:41.783Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-13T02:45:42.061Z] ---> Running in 8ac3d1acc286 [2021-01-13T02:45:44.690Z] Removing intermediate container 8ac3d1acc286 [2021-01-13T02:45:44.690Z] ---> e5b518b8663f [2021-01-13T02:45:44.690Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-13T02:45:44.690Z] ---> Running in d3094e21a19f [2021-01-13T02:45:45.675Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-13T02:45:46.655Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-13T02:45:47.251Z] OK: 142 MiB in 39 packages [2021-01-13T02:45:48.689Z] Removing intermediate container d3094e21a19f [2021-01-13T02:45:48.689Z] ---> 97facfd2e0af [2021-01-13T02:45:48.689Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-13T02:45:48.689Z] ---> Running in 2bb0b92a418e [2021-01-13T02:45:49.282Z] Removing intermediate container 2bb0b92a418e [2021-01-13T02:45:49.282Z] ---> e2ad3c9fbdc6 [2021-01-13T02:45:49.282Z] Step 7/8 : COPY . . [2021-01-13T02:45:50.715Z] ---> 0a24e6362119 [2021-01-13T02:45:50.715Z] Step 8/8 : RUN go mod download [2021-01-13T02:45:50.715Z] ---> Running in f0273baa0231 [2021-01-13T02:46:12.892Z] Removing intermediate container f0273baa0231 [2021-01-13T02:46:12.893Z] ---> 273a817e5c42 [2021-01-13T02:46:12.893Z] Successfully built 273a817e5c42 [2021-01-13T02:46:12.893Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:46:13.241Z] + docker inspect -f . ci-base-image-arm64 [2021-01-13T02:46:13.241Z] . [Pipeline] withDockerContainer [2021-01-13T02:46:13.484Z] prd-ubuntu18.04-docker-arm64-4c-16g-19904 does not seem to be running inside a container [2021-01-13T02:46:13.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-13T02:46:15.141Z] $ docker top badcebb050a23b0e08ea21c3f79fe2b2001f6f43c1ca168fd019b714cabe2ba0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-13T02:46:16.138Z] + go version [2021-01-13T02:46:16.138Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-13T02:46:16.183Z] $ docker stop --time=1 badcebb050a23b0e08ea21c3f79fe2b2001f6f43c1ca168fd019b714cabe2ba0 [2021-01-13T02:46:18.220Z] $ docker rm -f badcebb050a23b0e08ea21c3f79fe2b2001f6f43c1ca168fd019b714cabe2ba0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:46:19.323Z] + docker inspect -f . ci-base-image-arm64 [2021-01-13T02:46:19.323Z] . [Pipeline] withDockerContainer [2021-01-13T02:46:19.599Z] prd-ubuntu18.04-docker-arm64-4c-16g-19904 does not seem to be running inside a container [2021-01-13T02:46:19.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-13T02:46:21.199Z] $ docker top 20f33485e1db2a28bef9519a125789e8deeaaede55745c1d30151dc6c096af93 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-13T02:46:22.212Z] + make test [2021-01-13T02:46:22.212Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-13T02:46:44.411Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-13T02:47:01.179Z] Running on prd-centos7-docker-4c-2g-19905 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-13T02:47:01.245Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-13T02:47:09.359Z] using credential edgex-jenkins-ssh [2021-01-13T02:47:09.439Z] Cloning the remote Git repository [2021-01-13T02:47:09.525Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-13T02:47:09.632Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-13T02:47:09.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-13T02:47:09.739Z] > git --version # timeout=10 [2021-01-13T02:47:09.751Z] > git --version # 'git version 2.24.3' [2021-01-13T02:47:09.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-13T02:47:09.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-13T02:47:11.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-13T02:47:11.960Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-13T02:47:12.016Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-13T02:47:12.699Z] Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-13T02:47:13.008Z] Merge succeeded, producing be52696886fea8bc42a3fff5465346ec2319c84f [2021-01-13T02:47:13.008Z] Checking out Revision be52696886fea8bc42a3fff5465346ec2319c84f (PR-725) [2021-01-13T02:47:12.096Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-13T02:47:12.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-13T02:47:12.124Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-13T02:47:12.725Z] > git config core.sparsecheckout # timeout=10 [2021-01-13T02:47:12.742Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-13T02:47:12.879Z] > git remote # timeout=10 [2021-01-13T02:47:12.896Z] > git config --get remote.origin.url # timeout=10 [2021-01-13T02:47:12.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-13T02:47:12.931Z] > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 [2021-01-13T02:47:12.989Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-13T02:47:13.016Z] > git config core.sparsecheckout # timeout=10 [2021-01-13T02:47:13.030Z] > git checkout -f be52696886fea8bc42a3fff5465346ec2319c84f # timeout=10 [2021-01-13T02:47:17.552Z] Commit message: "Merge commit '1f15288997641a3d0d3a625c9b3944aa45f594eb' into HEAD" [2021-01-13T02:47:17.583Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-13T02:47:17.560Z] > git rev-list --no-walk c6d9155d073171a86868adb00d477f0388f37b24 # timeout=10 [2021-01-13T02:47:19.525Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-13T02:47:20.291Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-13T02:47:20.748Z] + sudo service docker restart [2021-01-13T02:47:20.748Z] + true [2021-01-13T02:47:20.748Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-13T02:47:22.808Z] provisioning config files... [2021-01-13T02:47:22.868Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4177586294010056666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:47:23.428Z] ---> docker-login.sh [2021-01-13T02:47:23.428Z] nexus3.edgexfoundry.org:10001 [2021-01-13T02:47:23.472Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-13T02:47:23.472Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-13T02:47:23.472Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-13T02:47:23.472Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.133s coverage: 19.4% of statements [2021-01-13T02:47:24.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:47:25.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:47:25.252Z] Configure a credential helper to remove this warning. See [2021-01-13T02:47:25.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:47:25.252Z] [2021-01-13T02:47:25.252Z] Login Succeeded [2021-01-13T02:47:25.252Z] nexus3.edgexfoundry.org:10002 [2021-01-13T02:47:25.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:47:25.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:47:25.825Z] Configure a credential helper to remove this warning. See [2021-01-13T02:47:25.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:47:25.825Z] [2021-01-13T02:47:25.825Z] Login Succeeded [2021-01-13T02:47:25.825Z] nexus3.edgexfoundry.org:10003 [2021-01-13T02:47:26.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:47:26.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:47:26.487Z] Configure a credential helper to remove this warning. See [2021-01-13T02:47:26.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:47:26.487Z] [2021-01-13T02:47:26.487Z] Login Succeeded [2021-01-13T02:47:26.487Z] nexus3.edgexfoundry.org:10004 [2021-01-13T02:47:26.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:47:27.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:47:27.063Z] Configure a credential helper to remove this warning. See [2021-01-13T02:47:27.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:47:27.063Z] [2021-01-13T02:47:27.063Z] Login Succeeded [2021-01-13T02:47:27.063Z] docker.io [2021-01-13T02:47:27.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-13T02:47:27.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-13T02:47:27.611Z] Configure a credential helper to remove this warning. See [2021-01-13T02:47:27.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-13T02:47:27.611Z] [2021-01-13T02:47:27.611Z] Login Succeeded [2021-01-13T02:47:27.611Z] ---> docker-login.sh ends [Pipeline] } [2021-01-13T02:47:27.640Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-13T02:47:28.203Z] ========================================================= [2021-01-13T02:47:28.203Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-13T02:47:28.203Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:47:28.667Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-13T02:47:29.351Z] Sending build context to Docker daemon 2.483MB [2021-01-13T02:47:29.351Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-13T02:47:29.351Z] Step 2/8 : FROM ${BASE} [2021-01-13T02:47:29.351Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-13T02:47:29.351Z] 188c0c94c7c5: Pulling fs layer [2021-01-13T02:47:29.351Z] 0ef7d3d256c8: Pulling fs layer [2021-01-13T02:47:29.351Z] de9db76c5a1d: Pulling fs layer [2021-01-13T02:47:29.351Z] bca2f99d35d6: Pulling fs layer [2021-01-13T02:47:29.351Z] 93359f2a8cfa: Pulling fs layer [2021-01-13T02:47:29.351Z] 7c6f9722023f: Pulling fs layer [2021-01-13T02:47:29.351Z] a35cf1a2eb13: Pulling fs layer [2021-01-13T02:47:29.351Z] bca2f99d35d6: Waiting [2021-01-13T02:47:29.351Z] 93359f2a8cfa: Waiting [2021-01-13T02:47:29.351Z] 7c6f9722023f: Waiting [2021-01-13T02:47:29.351Z] a35cf1a2eb13: Waiting [2021-01-13T02:47:29.351Z] de9db76c5a1d: Verifying Checksum [2021-01-13T02:47:29.351Z] de9db76c5a1d: Download complete [2021-01-13T02:47:29.646Z] 0ef7d3d256c8: Verifying Checksum [2021-01-13T02:47:29.646Z] 0ef7d3d256c8: Download complete [2021-01-13T02:47:29.965Z] 93359f2a8cfa: Verifying Checksum [2021-01-13T02:47:29.965Z] 93359f2a8cfa: Download complete [2021-01-13T02:47:30.215Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.213s coverage: 97.1% of statements [2021-01-13T02:47:30.280Z] 7c6f9722023f: Verifying Checksum [2021-01-13T02:47:30.280Z] 7c6f9722023f: Download complete [2021-01-13T02:47:30.280Z] 188c0c94c7c5: Verifying Checksum [2021-01-13T02:47:30.280Z] 188c0c94c7c5: Download complete [2021-01-13T02:47:31.480Z] 188c0c94c7c5: Pull complete [2021-01-13T02:47:32.161Z] 0ef7d3d256c8: Pull complete [2021-01-13T02:47:32.467Z] de9db76c5a1d: Pull complete [2021-01-13T02:47:35.151Z] a35cf1a2eb13: Verifying Checksum [2021-01-13T02:47:35.151Z] a35cf1a2eb13: Download complete [2021-01-13T02:47:36.191Z] bca2f99d35d6: Verifying Checksum [2021-01-13T02:47:36.191Z] bca2f99d35d6: Download complete [2021-01-13T02:47:48.731Z] bca2f99d35d6: Pull complete [2021-01-13T02:47:49.012Z] 93359f2a8cfa: Pull complete [2021-01-13T02:47:49.012Z] 7c6f9722023f: Pull complete [2021-01-13T02:47:55.891Z] a35cf1a2eb13: Pull complete [2021-01-13T02:47:55.891Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-13T02:47:55.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-13T02:47:55.891Z] ---> a62c8e92a672 [2021-01-13T02:47:55.891Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-13T02:47:55.891Z] ---> Running in 47de74d7836d [2021-01-13T02:47:55.891Z] Removing intermediate container 47de74d7836d [2021-01-13T02:47:55.891Z] ---> bcc7555f5012 [2021-01-13T02:47:55.891Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-13T02:47:56.172Z] ---> Running in b2accc2a230a [2021-01-13T02:47:57.041Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.149s coverage: 9.4% of statements [2021-01-13T02:47:57.041Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.132s coverage: 21.7% of statements [2021-01-13T02:47:57.041Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-13T02:47:57.041Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.620s coverage: 42.9% of statements [2021-01-13T02:47:57.041Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-13T02:47:57.041Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.768s coverage: 68.9% of statements [2021-01-13T02:47:57.041Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-13T02:47:57.041Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-13T02:47:57.041Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-13T02:47:57.041Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-13T02:47:57.041Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.195s coverage: 53.8% of statements [2021-01-13T02:47:57.041Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-13T02:47:57.041Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-13T02:47:57.041Z] ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.163s coverage: 31.3% of statements [2021-01-13T02:47:57.041Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.910s coverage: 68.9% of statements [2021-01-13T02:47:57.041Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.142s coverage: 4.2% of statements [2021-01-13T02:47:57.041Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-13T02:47:57.041Z] GO111MODULE=on go vet ./... [2021-01-13T02:47:58.206Z] Removing intermediate container b2accc2a230a [2021-01-13T02:47:58.207Z] ---> d4fe285c5ed6 [2021-01-13T02:47:58.207Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-13T02:47:58.207Z] ---> Running in e856e82a4c43 [2021-01-13T02:47:59.244Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-13T02:47:59.929Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-13T02:48:00.525Z] OK: 166 MiB in 39 packages [2021-01-13T02:48:01.504Z] Removing intermediate container e856e82a4c43 [2021-01-13T02:48:01.504Z] ---> 08f46fd04474 [2021-01-13T02:48:01.504Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-13T02:48:01.504Z] ---> Running in cd34e3ccafe2 [2021-01-13T02:48:01.786Z] Removing intermediate container cd34e3ccafe2 [2021-01-13T02:48:01.786Z] ---> f0dd715f77ff [2021-01-13T02:48:01.786Z] Step 7/8 : COPY . . [2021-01-13T02:48:03.868Z] ---> d0a3bc065ec5 [2021-01-13T02:48:03.868Z] Step 8/8 : RUN go mod download [2021-01-13T02:48:03.868Z] ---> Running in 46ccb4ca0b70 [2021-01-13T02:48:29.631Z] gofmt -l . [2021-01-13T02:48:30.225Z] [ "`gofmt -l .`" = "" ] [2021-01-13T02:48:30.503Z] ./bin/test-attribution-txt.sh [2021-01-13T02:48:31.162Z] Removing intermediate container 46ccb4ca0b70 [2021-01-13T02:48:31.162Z] ---> 40045627febf [2021-01-13T02:48:31.162Z] Successfully built 40045627febf [2021-01-13T02:48:31.162Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:48:31.486Z] ./bin/test-go-mod-tidy.sh [2021-01-13T02:48:31.528Z] + docker inspect -f . ci-base-image-x86_64 [Pipeline] } [2021-01-13T02:48:31.817Z] $ docker stop --time=1 20f33485e1db2a28bef9519a125789e8deeaaede55745c1d30151dc6c096af93 [2021-01-13T02:48:31.816Z] . [2021-01-13T02:48:33.907Z] $ docker rm -f 20f33485e1db2a28bef9519a125789e8deeaaede55745c1d30151dc6c096af93 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withDockerContainer [2021-01-13T02:48:34.847Z] + sudo chown -R jenkins:jenkins . [2021-01-13T02:48:35.131Z] prd-centos7-docker-4c-2g-19905 does not seem to be running inside a container [2021-01-13T02:48:35.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-13T02:48:37.122Z] $ docker top 4c3d3c607ed2bc44bad6b0df697f5301f021d6587b01b90434edebb35c2e4591 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2021-01-13T02:48:37.816Z] + go version [2021-01-13T02:48:37.817Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-13T02:48:37.874Z] $ docker stop --time=1 4c3d3c607ed2bc44bad6b0df697f5301f021d6587b01b90434edebb35c2e4591 [2021-01-13T02:48:38.298Z] Stashed 1 file(s) [2021-01-13T02:48:39.461Z] $ docker rm -f 4c3d3c607ed2bc44bad6b0df697f5301f021d6587b01b90434edebb35c2e4591 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:48:42.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-13T02:48:42.575Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-13T02:48:42.575Z] . [Pipeline] withDockerContainer [2021-01-13T02:48:42.791Z] prd-centos7-docker-4c-2g-19905 does not seem to be running inside a container [2021-01-13T02:48:42.845Z] + ls -al . [2021-01-13T02:48:42.845Z] total 252 [2021-01-13T02:48:42.845Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 02:48 . [2021-01-13T02:48:42.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 02:45 .. [2021-01-13T02:48:42.845Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 13 02:45 .dockerignore [2021-01-13T02:48:42.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 02:45 .git [2021-01-13T02:48:42.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 02:45 .github [2021-01-13T02:48:42.845Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 13 02:45 .gitignore [2021-01-13T02:48:42.845Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 13 02:45 Dockerfile.build [2021-01-13T02:48:42.845Z] -rw-rw-r-- 1 jenkins jenkins 894 Jan 13 02:45 Jenkinsfile [2021-01-13T02:48:42.845Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 13 02:45 LICENSE [2021-01-13T02:48:42.845Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 13 02:45 Makefile [2021-01-13T02:48:42.845Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 13 02:45 README.md [2021-01-13T02:48:42.845Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 13 02:45 RELEASE-NOTES.txt [2021-01-13T02:48:42.845Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 02:42 VERSION [2021-01-13T02:48:42.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 02:45 bin [2021-01-13T02:48:42.845Z] -rw-r--r-- 1 jenkins jenkins 137952 Jan 13 02:47 coverage.out [2021-01-13T02:48:42.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 02:45 example [2021-01-13T02:48:42.845Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 13 02:48 go.mod [2021-01-13T02:48:42.845Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 13 02:48 go.sum [2021-01-13T02:48:42.845Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 13 02:45 internal [2021-01-13T02:48:42.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 02:45 openapi [2021-01-13T02:48:42.845Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 13 02:45 pkg [2021-01-13T02:48:42.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 02:45 snap [2021-01-13T02:48:42.845Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 13 02:45 version.go [2021-01-13T02:48:42.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-13T02:48:43.877Z] $ docker top 378cfd32f3bef4dd28eb9fe01e4cc02f505848986371e786a7f1f86f012ad179 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:48:44.460Z] + make test [2021-01-13T02:48:44.461Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-13T02:48:44.556Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e296ca2f3ba30b226a855120fdd1084aef7d3086 --label arch=arm64 --label version=0.0.0 . [2021-01-13T02:48:45.160Z] Sending build context to Docker daemon 2.619MB [2021-01-13T02:48:45.160Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-13T02:48:45.160Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-13T02:48:45.160Z] ---> 273a817e5c42 [2021-01-13T02:48:45.160Z] Step 3/24 : ARG MAKE='make build' [2021-01-13T02:48:45.160Z] ---> Running in 81a75734e8c7 [2021-01-13T02:48:45.756Z] Removing intermediate container 81a75734e8c7 [2021-01-13T02:48:45.756Z] ---> 1b81a9024cca [2021-01-13T02:48:45.756Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-13T02:48:45.756Z] ---> Running in 2b1a3b9827c8 [2021-01-13T02:48:46.354Z] Removing intermediate container 2b1a3b9827c8 [2021-01-13T02:48:46.354Z] ---> f3dd8197415d [2021-01-13T02:48:46.354Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-13T02:48:46.354Z] ---> Running in 684faec74e02 [2021-01-13T02:48:46.951Z] Removing intermediate container 684faec74e02 [2021-01-13T02:48:46.951Z] ---> 029b8e79c82a [2021-01-13T02:48:46.951Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-13T02:48:46.951Z] ---> Running in fd0ea912747a [2021-01-13T02:48:49.569Z] Removing intermediate container fd0ea912747a [2021-01-13T02:48:49.569Z] ---> 01c8e8d8336b [2021-01-13T02:48:49.570Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-13T02:48:49.570Z] ---> Running in 45f67ac91528 [2021-01-13T02:48:50.171Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-13T02:48:51.143Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-13T02:48:51.736Z] OK: 142 MiB in 39 packages [2021-01-13T02:48:53.166Z] Removing intermediate container 45f67ac91528 [2021-01-13T02:48:53.166Z] ---> 2667c9e5fb4c [2021-01-13T02:48:53.166Z] Step 8/24 : COPY . . [2021-01-13T02:48:54.146Z] ---> 2b5d36901190 [2021-01-13T02:48:54.146Z] Step 9/24 : RUN ${MAKE} [2021-01-13T02:48:54.420Z] ---> Running in 610afc077624 [2021-01-13T02:48:55.398Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-13T02:48:57.266Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-13T02:49:22.212Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-13T02:49:22.484Z] Removing intermediate container 610afc077624 [2021-01-13T02:49:22.484Z] ---> f7fda9726df7 [2021-01-13T02:49:22.484Z] Step 10/24 : FROM scratch [2021-01-13T02:49:22.484Z] ---> [2021-01-13T02:49:22.484Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-13T02:49:22.484Z] ---> Running in d7b71c575c44 [2021-01-13T02:49:22.758Z] Removing intermediate container d7b71c575c44 [2021-01-13T02:49:22.758Z] ---> 532a5d8ecd18 [2021-01-13T02:49:22.758Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-13T02:49:23.031Z] ---> Running in 45cf0f70ddca [2021-01-13T02:49:23.303Z] Removing intermediate container 45cf0f70ddca [2021-01-13T02:49:23.303Z] ---> 6d53563e7ffb [2021-01-13T02:49:23.303Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-13T02:49:23.581Z] ---> Running in c166f4f9f652 [2021-01-13T02:49:23.853Z] Removing intermediate container c166f4f9f652 [2021-01-13T02:49:23.853Z] ---> 49ef2eea2717 [2021-01-13T02:49:23.853Z] Step 14/24 : WORKDIR / [2021-01-13T02:49:24.131Z] ---> Running in 46f5c1e2af6e [2021-01-13T02:49:24.404Z] Removing intermediate container 46f5c1e2af6e [2021-01-13T02:49:24.404Z] ---> aa550f18dbb0 [2021-01-13T02:49:24.404Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-13T02:49:24.590Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-13T02:49:24.591Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-13T02:49:24.591Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-13T02:49:24.591Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.167s coverage: 19.4% of statements [2021-01-13T02:49:25.388Z] ---> c26a16e43c3b [2021-01-13T02:49:25.388Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-13T02:49:26.366Z] ---> 2519a2b0f9a0 [2021-01-13T02:49:26.366Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-13T02:49:26.969Z] ---> b82490015e86 [2021-01-13T02:49:26.969Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-13T02:49:27.565Z] ---> 969fc7f2bb14 [2021-01-13T02:49:27.565Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-13T02:49:28.545Z] ---> fc0957befe17 [2021-01-13T02:49:28.545Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-13T02:49:28.545Z] ---> Running in d090022fa643 [2021-01-13T02:49:28.989Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.679s coverage: 97.1% of statements [2021-01-13T02:49:29.145Z] Removing intermediate container d090022fa643 [2021-01-13T02:49:29.145Z] ---> fbe306502dae [2021-01-13T02:49:29.145Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-13T02:49:29.145Z] ---> Running in ab3fe96c2531 [2021-01-13T02:49:29.738Z] Removing intermediate container ab3fe96c2531 [2021-01-13T02:49:29.739Z] ---> 8c07e66049eb [2021-01-13T02:49:29.739Z] Step 22/24 : LABEL arch=arm64 [2021-01-13T02:49:29.739Z] ---> Running in c021474a948e [2021-01-13T02:49:30.334Z] Removing intermediate container c021474a948e [2021-01-13T02:49:30.334Z] ---> b07c750e790f [2021-01-13T02:49:30.334Z] Step 23/24 : LABEL git_sha=e296ca2f3ba30b226a855120fdd1084aef7d3086 [2021-01-13T02:49:30.334Z] ---> Running in 39ded7415cd7 [2021-01-13T02:49:30.929Z] Removing intermediate container 39ded7415cd7 [2021-01-13T02:49:30.929Z] ---> aef60df7ef7c [2021-01-13T02:49:30.929Z] Step 24/24 : LABEL version=0.0.0 [2021-01-13T02:49:30.929Z] ---> Running in 54da96888197 [2021-01-13T02:49:31.526Z] Removing intermediate container 54da96888197 [2021-01-13T02:49:31.526Z] ---> 713b4715f889 [2021-01-13T02:49:31.526Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-13T02:49:31.526Z] Successfully built 713b4715f889 [2021-01-13T02:49:31.526Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-13T02:49:56.073Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.109s coverage: 9.4% of statements [2021-01-13T02:49:56.073Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.082s coverage: 21.7% of statements [2021-01-13T02:49:56.073Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-13T02:49:56.073Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.333s coverage: 42.9% of statements [2021-01-13T02:49:56.073Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-13T02:49:56.073Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.614s coverage: 68.9% of statements [2021-01-13T02:49:56.073Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-13T02:49:56.073Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-13T02:49:56.073Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-13T02:49:56.073Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-13T02:49:56.073Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.095s coverage: 53.8% of statements [2021-01-13T02:49:56.073Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-13T02:49:56.073Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-13T02:49:56.073Z] ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.144s coverage: 31.3% of statements [2021-01-13T02:49:56.073Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.674s coverage: 68.9% of statements [2021-01-13T02:49:56.073Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.104s coverage: 4.2% of statements [2021-01-13T02:49:56.073Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-13T02:49:56.073Z] GO111MODULE=on go vet ./... [2021-01-13T02:50:18.802Z] gofmt -l . [2021-01-13T02:50:18.802Z] [ "`gofmt -l .`" = "" ] [2021-01-13T02:50:18.802Z] ./bin/test-attribution-txt.sh [2021-01-13T02:50:19.085Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-13T02:50:19.710Z] $ docker stop --time=1 378cfd32f3bef4dd28eb9fe01e4cc02f505848986371e786a7f1f86f012ad179 [2021-01-13T02:50:22.144Z] $ docker rm -f 378cfd32f3bef4dd28eb9fe01e4cc02f505848986371e786a7f1f86f012ad179 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-13T02:50:22.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-13T02:50:22.928Z] Warning: overwriting stash ‘coverage-report’ [2021-01-13T02:50:23.564Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-13T02:50:24.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-13T02:50:24.562Z] + ls -al . [2021-01-13T02:50:24.562Z] total 216 [2021-01-13T02:50:24.562Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 13 02:50 . [2021-01-13T02:50:24.562Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 13 02:47 .. [2021-01-13T02:50:24.562Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 13 02:47 bin [2021-01-13T02:50:24.562Z] -rw-r--r--. 1 jenkins jenkins 137952 Jan 13 02:49 coverage.out [2021-01-13T02:50:24.562Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 13 02:47 Dockerfile.build [2021-01-13T02:50:24.562Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 13 02:47 .dockerignore [2021-01-13T02:50:24.562Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 13 02:47 example [2021-01-13T02:50:24.562Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 13 02:47 .git [2021-01-13T02:50:24.562Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 13 02:47 .github [2021-01-13T02:50:24.562Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 13 02:47 .gitignore [2021-01-13T02:50:24.562Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 13 02:50 go.mod [2021-01-13T02:50:24.562Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 13 02:50 go.sum [2021-01-13T02:50:24.562Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 13 02:47 internal [2021-01-13T02:50:24.562Z] -rw-rw-r--. 1 jenkins jenkins 894 Jan 13 02:47 Jenkinsfile [2021-01-13T02:50:24.562Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 13 02:47 LICENSE [2021-01-13T02:50:24.562Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 13 02:47 Makefile [2021-01-13T02:50:24.562Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 13 02:47 openapi [2021-01-13T02:50:24.562Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 13 02:47 pkg [2021-01-13T02:50:24.562Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 13 02:47 README.md [2021-01-13T02:50:24.562Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 13 02:47 RELEASE-NOTES.txt [2021-01-13T02:50:24.562Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 13 02:47 snap [2021-01-13T02:50:24.562Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 13 02:42 VERSION [2021-01-13T02:50:24.562Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 13 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:50:24.913Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e296ca2f3ba30b226a855120fdd1084aef7d3086 --label arch=amd64 --label version=0.0.0 . [2021-01-13T02:50:25.179Z] Sending build context to Docker daemon 2.621MB [2021-01-13T02:50:25.445Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-13T02:50:25.445Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-13T02:50:25.445Z] ---> 40045627febf [2021-01-13T02:50:25.445Z] Step 3/24 : ARG MAKE='make build' [2021-01-13T02:50:25.717Z] ---> Running in eaa0e5b19040 [2021-01-13T02:50:25.988Z] Removing intermediate container eaa0e5b19040 [2021-01-13T02:50:25.988Z] ---> 264ecbb4a78f [2021-01-13T02:50:25.988Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-13T02:50:25.988Z] ---> Running in d742247319a1 [2021-01-13T02:50:26.944Z] Removing intermediate container d742247319a1 [2021-01-13T02:50:26.944Z] ---> b0e2639bbfba [2021-01-13T02:50:26.944Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-13T02:50:26.944Z] ---> Running in c80546f4668a [2021-01-13T02:50:27.209Z] Removing intermediate container c80546f4668a [2021-01-13T02:50:27.209Z] ---> a42f3757a4f7 [2021-01-13T02:50:27.209Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-13T02:50:27.209Z] ---> Running in 10ee5aa43a47 [2021-01-13T02:50:28.630Z] Removing intermediate container 10ee5aa43a47 [2021-01-13T02:50:28.630Z] ---> ccb203df4614 [2021-01-13T02:50:28.630Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-13T02:50:28.917Z] ---> Running in 1889cfd25544 [2021-01-13T02:50:29.916Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-13T02:50:30.519Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-13T02:50:31.117Z] OK: 166 MiB in 39 packages [2021-01-13T02:50:31.701Z] Removing intermediate container 1889cfd25544 [2021-01-13T02:50:31.701Z] ---> 77477f716bc9 [2021-01-13T02:50:31.701Z] Step 8/24 : COPY . . [2021-01-13T02:50:32.734Z] ---> cc0b9851b5b1 [2021-01-13T02:50:32.734Z] Step 9/24 : RUN ${MAKE} [2021-01-13T02:50:32.734Z] ---> Running in 8eeeebd6df6c [2021-01-13T02:50:33.782Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-13T02:50:49.124Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-13T02:50:52.593Z] Removing intermediate container 8eeeebd6df6c [2021-01-13T02:50:52.593Z] ---> 44f88a35a081 [2021-01-13T02:50:52.593Z] Step 10/24 : FROM scratch [2021-01-13T02:50:52.593Z] ---> [2021-01-13T02:50:52.593Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-13T02:50:52.593Z] ---> Running in 79d38c074204 [2021-01-13T02:50:52.593Z] Removing intermediate container 79d38c074204 [2021-01-13T02:50:52.593Z] ---> 3a482a482223 [2021-01-13T02:50:52.593Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-13T02:50:52.593Z] ---> Running in 47e9e0000b00 [2021-01-13T02:50:52.864Z] Removing intermediate container 47e9e0000b00 [2021-01-13T02:50:52.864Z] ---> 207207014cd2 [2021-01-13T02:50:52.864Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-13T02:50:52.864Z] ---> Running in 1349988c9223 [2021-01-13T02:50:53.137Z] Removing intermediate container 1349988c9223 [2021-01-13T02:50:53.137Z] ---> f297dd3cc3f6 [2021-01-13T02:50:53.137Z] Step 14/24 : WORKDIR / [2021-01-13T02:50:53.414Z] ---> Running in c9d573b57653 [2021-01-13T02:50:54.032Z] Removing intermediate container c9d573b57653 [2021-01-13T02:50:54.032Z] ---> e2b04bb357e9 [2021-01-13T02:50:54.032Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-13T02:50:54.665Z] ---> 1731953a54e0 [2021-01-13T02:50:54.665Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-13T02:50:55.301Z] ---> 4af3d53ffaf3 [2021-01-13T02:50:55.301Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-13T02:50:55.583Z] ---> c86be7cc6812 [2021-01-13T02:50:55.583Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-13T02:50:56.201Z] ---> 117b01a31a55 [2021-01-13T02:50:56.201Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-13T02:50:57.358Z] ---> e309a308007c [2021-01-13T02:50:57.358Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-13T02:50:57.358Z] ---> Running in c8438ef0c2ee [2021-01-13T02:50:57.685Z] Removing intermediate container c8438ef0c2ee [2021-01-13T02:50:57.685Z] ---> ea6b4fdf5f80 [2021-01-13T02:50:57.685Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-13T02:50:57.685Z] ---> Running in 02374d8277fb [2021-01-13T02:50:58.412Z] Removing intermediate container 02374d8277fb [2021-01-13T02:50:58.412Z] ---> f01fbd4ae407 [2021-01-13T02:50:58.412Z] Step 22/24 : LABEL arch=amd64 [2021-01-13T02:50:58.412Z] ---> Running in 997662f936d3 [2021-01-13T02:50:58.928Z] Removing intermediate container 997662f936d3 [2021-01-13T02:50:58.928Z] ---> e235f4615a3c [2021-01-13T02:50:58.928Z] Step 23/24 : LABEL git_sha=e296ca2f3ba30b226a855120fdd1084aef7d3086 [2021-01-13T02:50:58.928Z] ---> Running in 8ae2ae458f30 [2021-01-13T02:50:59.230Z] Removing intermediate container 8ae2ae458f30 [2021-01-13T02:50:59.230Z] ---> 372ba13100c6 [2021-01-13T02:50:59.230Z] Step 24/24 : LABEL version=0.0.0 [2021-01-13T02:50:59.230Z] ---> Running in bf9f42637262 [2021-01-13T02:50:59.518Z] Removing intermediate container bf9f42637262 [2021-01-13T02:50:59.518Z] ---> 71c88dfe8a95 [2021-01-13T02:50:59.518Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-13T02:50:59.518Z] Successfully built 71c88dfe8a95 [2021-01-13T02:50:59.790Z] Successfully tagged 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-01-13T02:51:01.602Z] provisioning config files... [2021-01-13T02:51:01.612Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5599755546547601149tmp [Pipeline] { [Pipeline] sh [2021-01-13T02:51:02.019Z] + set +x [2021-01-13T02:51:02.020Z] + curl -s https://codecov.io/bash [2021-01-13T02:51:02.020Z] + bash -s -- [2021-01-13T02:51:02.281Z] [2021-01-13T02:51:02.282Z] _____ _ [2021-01-13T02:51:02.282Z] / ____| | | [2021-01-13T02:51:02.282Z] | | ___ __| | ___ ___ _____ __ [2021-01-13T02:51:02.282Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-13T02:51:02.282Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-13T02:51:02.282Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-13T02:51:02.282Z] Bash-20201231-23d4836 [2021-01-13T02:51:02.282Z] [2021-01-13T02:51:02.282Z] [2021-01-13T02:51:02.282Z] ==> git version 2.24.3 found [2021-01-13T02:51:02.282Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-13T02:51:02.282Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-13T02:51:02.282Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-13T02:51:02.282Z] ==> Jenkins CI detected. [2021-01-13T02:51:02.282Z] project root: . [2021-01-13T02:51:02.282Z] --> token set from env [2021-01-13T02:51:02.282Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-13T02:51:02.282Z] ==> Running gcov in . (disable via -X gcov) [2021-01-13T02:51:02.282Z] ==> Python coveragepy not found [2021-01-13T02:51:02.282Z] ==> Searching for coverage reports in: [2021-01-13T02:51:02.282Z] + . [2021-01-13T02:51:02.282Z] -> Found 1 reports [2021-01-13T02:51:02.282Z] ==> Detecting git/mercurial file structure [2021-01-13T02:51:02.548Z] ==> Reading reports [2021-01-13T02:51:02.548Z] + ./coverage.out bytes=137952 [2021-01-13T02:51:02.548Z] ==> Appending adjustments [2021-01-13T02:51:02.548Z] https://docs.codecov.io/docs/fixing-reports [2021-01-13T02:51:02.811Z] + Found adjustments [2021-01-13T02:51:02.811Z] ==> Gzipping contents [2021-01-13T02:51:02.811Z] 24K /tmp/codecov.SNQyGk.gz [2021-01-13T02:51:02.811Z] ==> Uploading reports [2021-01-13T02:51:02.811Z] url: https://codecov.io [2021-01-13T02:51:02.811Z] query: branch=PR-725&commit=e296ca2f3ba30b226a855120fdd1084aef7d3086&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-13T02:51:03.075Z] -> Pinging Codecov [2021-01-13T02:51:03.075Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-725&commit=e296ca2f3ba30b226a855120fdd1084aef7d3086&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-13T02:51:03.339Z] -> Uploading to [2021-01-13T02:51:03.339Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-13/7E55EF52A471D76F132DFD9A03CDDE97/e296ca2f3ba30b226a855120fdd1084aef7d3086/7914df69-68a3-4d76-a865-a5571ba99487.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210113T025103Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5cc2c419ff660993fed72da3400f197b0f1bcc6336cbb41055148a70cd6e0e5d [2021-01-13T02:51:03.339Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-13T02:51:03.339Z] Dload Upload Total Spent Left Speed [2021-01-13T02:51:03.866Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22095 0 0 100 22095 0 44346 --:--:-- --:--:-- --:--:-- 44278 [2021-01-13T02:51:03.866Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e296ca2f3ba30b226a855120fdd1084aef7d3086 [Pipeline] } [2021-01-13T02:51:03.875Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:51:06.600Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:51:07.195Z] ---> package-listing.sh [2021-01-13T02:51:07.195Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-13T02:51:07.195Z] ++ facter osfamily [2021-01-13T02:51:07.195Z] + OS_FAMILY=redhat [2021-01-13T02:51:07.195Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-13T02:51:07.195Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-13T02:51:07.195Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-13T02:51:07.195Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-13T02:51:07.195Z] + PACKAGES=/tmp/packages_start.txt [2021-01-13T02:51:07.195Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-13T02:51:07.195Z] + PACKAGES=/tmp/packages_end.txt [2021-01-13T02:51:07.195Z] + case "${OS_FAMILY}" in [2021-01-13T02:51:07.195Z] + rpm -qa [2021-01-13T02:51:07.195Z] + sort [2021-01-13T02:51:12.534Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-13T02:51:12.534Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-13T02:51:12.534Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-13T02:51:12.534Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-13T02:51:12.534Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-01-13T02:51:12.534Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-01-13T02:51:12.555Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-13T02:51:12.860Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:51:13.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-13T02:51:13.173Z] [2021-01-13T02:51:13.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-13T02:51:13.530Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-13T02:51:13.530Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-13T02:51:13.530Z] df20fa9351a1: Pulling fs layer [2021-01-13T02:51:13.530Z] 36b3adc4ff6f: Pulling fs layer [2021-01-13T02:51:13.530Z] 8ad3a11d3b57: Pulling fs layer [2021-01-13T02:51:13.530Z] 46f8f816bc3b: Pulling fs layer [2021-01-13T02:51:13.530Z] 93b61091891f: Pulling fs layer [2021-01-13T02:51:13.530Z] 93b9cdb0e59b: Pulling fs layer [2021-01-13T02:51:13.530Z] 5e14af77c1be: Pulling fs layer [2021-01-13T02:51:13.530Z] 01666e4c0597: Pulling fs layer [2021-01-13T02:51:13.530Z] aa168da1d23b: Pulling fs layer [2021-01-13T02:51:13.530Z] 93b61091891f: Waiting [2021-01-13T02:51:13.530Z] 93b9cdb0e59b: Waiting [2021-01-13T02:51:13.530Z] 5e14af77c1be: Waiting [2021-01-13T02:51:13.530Z] 01666e4c0597: Waiting [2021-01-13T02:51:13.530Z] aa168da1d23b: Waiting [2021-01-13T02:51:13.530Z] 46f8f816bc3b: Waiting [2021-01-13T02:51:13.530Z] 36b3adc4ff6f: Verifying Checksum [2021-01-13T02:51:13.530Z] 36b3adc4ff6f: Download complete [2021-01-13T02:51:13.530Z] 46f8f816bc3b: Verifying Checksum [2021-01-13T02:51:13.530Z] 46f8f816bc3b: Download complete [2021-01-13T02:51:13.530Z] df20fa9351a1: Verifying Checksum [2021-01-13T02:51:13.530Z] df20fa9351a1: Download complete [2021-01-13T02:51:13.806Z] 93b9cdb0e59b: Verifying Checksum [2021-01-13T02:51:13.806Z] 93b9cdb0e59b: Download complete [2021-01-13T02:51:13.806Z] 5e14af77c1be: Verifying Checksum [2021-01-13T02:51:13.806Z] 5e14af77c1be: Download complete [2021-01-13T02:51:13.806Z] 93b61091891f: Verifying Checksum [2021-01-13T02:51:13.806Z] 01666e4c0597: Verifying Checksum [2021-01-13T02:51:13.806Z] 01666e4c0597: Download complete [2021-01-13T02:51:13.806Z] 93b61091891f: Download complete [2021-01-13T02:51:13.806Z] 8ad3a11d3b57: Verifying Checksum [2021-01-13T02:51:13.806Z] 8ad3a11d3b57: Download complete [2021-01-13T02:51:14.071Z] df20fa9351a1: Pull complete [2021-01-13T02:51:14.339Z] 36b3adc4ff6f: Pull complete [2021-01-13T02:51:15.298Z] 8ad3a11d3b57: Pull complete [2021-01-13T02:51:15.298Z] 46f8f816bc3b: Pull complete [2021-01-13T02:51:16.255Z] aa168da1d23b: Verifying Checksum [2021-01-13T02:51:16.255Z] aa168da1d23b: Download complete [2021-01-13T02:51:16.521Z] 93b61091891f: Pull complete [2021-01-13T02:51:16.786Z] 93b9cdb0e59b: Pull complete [2021-01-13T02:51:16.786Z] 5e14af77c1be: Pull complete [2021-01-13T02:51:17.053Z] 01666e4c0597: Pull complete [2021-01-13T02:51:25.268Z] aa168da1d23b: Pull complete [2021-01-13T02:51:25.268Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-13T02:51:25.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-13T02:51:25.268Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-13T02:51:25.494Z] prd-centos7-docker-4c-2g-19903 does not seem to be running inside a container [2021-01-13T02:51:25.543Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-13T02:51:29.505Z] $ docker top 181cc2d100b5bbcc80adb5cb9acafc4284aaee8a7449bc0e1d87215ba5a807ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-13T02:51:30.029Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-13T02:51:30.331Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-13T02:51:30.640Z] + ls /var/log/sa-host [2021-01-13T02:51:30.640Z] + sadf -c /var/log/sa-host/sa13 [2021-01-13T02:51:30.640Z] file_magic: OK [2021-01-13T02:51:30.640Z] HZ: Using current value: 100 [2021-01-13T02:51:30.640Z] file_header: OK [2021-01-13T02:51:30.640Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-13T02:51:30.640Z] Statistics: [2021-01-13T02:51:30.640Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-13T02:51:30.640Z] File successfully converted to sysstat format version 12.2.1 [2021-01-13T02:51:30.640Z] + sadf -c /var/log/sa-host/sa23 [2021-01-13T02:51:30.640Z] file_magic: OK [2021-01-13T02:51:30.640Z] HZ: Using current value: 100 [2021-01-13T02:51:30.640Z] file_header: OK [2021-01-13T02:51:30.640Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-13T02:51:30.640Z] Statistics: [2021-01-13T02:51:30.640Z] Hnuu...uuuununununu... [2021-01-13T02:51:30.640Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-13T02:51:31.263Z] provisioning config files... [2021-01-13T02:51:31.277Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config476970855220706025tmp [Pipeline] { [Pipeline] echo [2021-01-13T02:51:31.359Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:51:31.658Z] ---> create-netrc.sh [Pipeline] } [2021-01-13T02:51:31.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-13T02:51:31.767Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:51:32.065Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-13T02:51:32.078Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:51:32.384Z] ---> sudo-logs.sh [2021-01-13T02:51:32.384Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-13T02:51:32.397Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:51:32.697Z] ---> job-cost.sh [2021-01-13T02:51:32.698Z] lf-activate-venv: SKIPPING [2021-01-13T02:51:32.698Z] INFO: No Stack... [2021-01-13T02:51:33.664Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-13T02:51:34.240Z] INFO: Archiving Costs [Pipeline] echo [2021-01-13T02:51:34.254Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-13T02:51:34.552Z] ---> logs-deploy.sh [2021-01-13T02:51:34.552Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/3 [2021-01-13T02:51:34.552Z] INFO: archiving workspace using pattern(s): [2021-01-13T02:51:36.477Z] Archives upload complete. [2021-01-13T02:51:36.477Z] INFO: archiving logs to Nexus