Pull request #746 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 5ae0bb91e863fc642d04e267d4fba18b9355d614+1c2f003b09666c9aca7d142d934c7ec3af9c247b (23e86aad9f69058a08449b5b1a3045409a576107) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21925 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [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-746 # 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/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 5ae0bb91e863fc642d04e267d4fba18b9355d614 Merge succeeded, producing 5ae0bb91e863fc642d04e267d4fba18b9355d614 Checking out Revision 5ae0bb91e863fc642d04e267d4fba18b9355d614 (PR-746) > git config core.sparsecheckout # timeout=10 > git checkout -f 5ae0bb91e863fc642d04e267d4fba18b9355d614 # 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 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ae0bb91e863fc642d04e267d4fba18b9355d614 # timeout=10 Commit message: "refactor: refactor autoevent package for v2" First time build. Skipping changelog. > git rev-list --no-walk 07b961917e91b3d2569542fb92a1bc995bd117a1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-21T09:47:21.902Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-21T09:47:22.201Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-21T09:47:22.309Z] ========================================================= [2021-01-21T09:47:22.309Z] EdgeX Global Pipelines Version Info [2021-01-21T09:47:22.309Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-21T09:47:23.791Z] ------------------- [2021-01-21T09:47:23.791Z] stable info: [2021-01-21T09:47:23.791Z] ------------------- [2021-01-21T09:47:23.791Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-21T09:47:23.791Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-21T09:47:23.791Z] Message: update stable to v1.0.179 [2021-01-21T09:47:24.741Z] ------------------- [2021-01-21T09:47:24.741Z] experimental info: [2021-01-21T09:47:24.741Z] ------------------- [2021-01-21T09:47:24.741Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-21T09:47:24.741Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-21T09:47:24.741Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-21T09:47:25.015Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-21T09:47:25.102Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-21T09:47:25.193Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-21T09:47:25.292Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-21T09:47:25.428Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-21T09:47:25.517Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-21T09:47:25.604Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-21T09:47:25.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-21T09:47:25.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-21T09:47:25.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-21T09:47:25.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-21T09:47:26.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-21T09:47:26.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-21T09:47:26.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-21T09:47:26.389Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-21T09:47:26.474Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T09:47:26.579Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T09:47:26.665Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T09:47:26.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-21T09:47:26.875Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-21T09:47:26.963Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-21T09:47:27.054Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-21T09:47:27.144Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-21T09:47:27.235Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-21T09:47:27.339Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-21T09:47:27.432Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-21T09:47:27.562Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-21T09:47:27.661Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo [2021-01-21T09:47:27.746Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo [2021-01-21T09:47:27.832Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo [2021-01-21T09:47:27.917Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ae0bb91e863fc642d04e267d4fba18b9355d614 [Pipeline] echo [2021-01-21T09:47:28.005Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ae0bb9 [Pipeline] echo [2021-01-21T09:47:28.119Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T09:47:28.290Z] provisioning config files... [2021-01-21T09:47:28.323Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config7614147799903205443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T09:47:28.696Z] ---> docker-login.sh [2021-01-21T09:47:28.696Z] nexus3.edgexfoundry.org:10001 [2021-01-21T09:47:28.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:47:29.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:47:29.224Z] Configure a credential helper to remove this warning. See [2021-01-21T09:47:29.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:47:29.224Z] [2021-01-21T09:47:29.224Z] Login Succeeded [2021-01-21T09:47:29.224Z] nexus3.edgexfoundry.org:10002 [2021-01-21T09:47:29.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:47:29.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:47:29.224Z] Configure a credential helper to remove this warning. See [2021-01-21T09:47:29.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:47:29.224Z] [2021-01-21T09:47:29.224Z] Login Succeeded [2021-01-21T09:47:29.224Z] nexus3.edgexfoundry.org:10003 [2021-01-21T09:47:29.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:47:29.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:47:29.489Z] Configure a credential helper to remove this warning. See [2021-01-21T09:47:29.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:47:29.489Z] [2021-01-21T09:47:29.489Z] Login Succeeded [2021-01-21T09:47:29.489Z] nexus3.edgexfoundry.org:10004 [2021-01-21T09:47:29.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:47:29.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:47:29.753Z] Configure a credential helper to remove this warning. See [2021-01-21T09:47:29.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:47:29.753Z] [2021-01-21T09:47:29.753Z] Login Succeeded [2021-01-21T09:47:29.753Z] docker.io [2021-01-21T09:47:29.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:47:30.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:47:30.017Z] Configure a credential helper to remove this warning. See [2021-01-21T09:47:30.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:47:30.017Z] [2021-01-21T09:47:30.017Z] Login Succeeded [2021-01-21T09:47:30.017Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T09:47:30.029Z] 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-21T09:47:31.071Z] + git log --format=format:%s -1 5ae0bb91e863fc642d04e267d4fba18b9355d614 [Pipeline] echo [2021-01-21T09:47:31.186Z] GIT_COMMIT: 5ae0bb91e863fc642d04e267d4fba18b9355d614, Commit Message: refactor: refactor autoevent package for v2 [Pipeline] echo [2021-01-21T09:47:31.231Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:47:32.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T09:47:32.258Z] [2021-01-21T09:47:32.258Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:47:32.613Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T09:47:32.613Z] latest: Pulling from edgex-devops/git-semver [2021-01-21T09:47:32.613Z] 31603596830f: Pulling fs layer [2021-01-21T09:47:32.613Z] 2a8b12db71e7: Pulling fs layer [2021-01-21T09:47:32.613Z] 6ca5941a6612: Pulling fs layer [2021-01-21T09:47:32.613Z] ecc8261a40a4: Pulling fs layer [2021-01-21T09:47:32.613Z] ecc8261a40a4: Waiting [2021-01-21T09:47:32.613Z] 2a8b12db71e7: Verifying Checksum [2021-01-21T09:47:32.613Z] 2a8b12db71e7: Download complete [2021-01-21T09:47:32.878Z] 31603596830f: Verifying Checksum [2021-01-21T09:47:32.878Z] 31603596830f: Download complete [2021-01-21T09:47:32.878Z] ecc8261a40a4: Verifying Checksum [2021-01-21T09:47:32.878Z] ecc8261a40a4: Download complete [2021-01-21T09:47:32.878Z] 6ca5941a6612: Verifying Checksum [2021-01-21T09:47:32.878Z] 6ca5941a6612: Download complete [2021-01-21T09:47:33.142Z] 31603596830f: Pull complete [2021-01-21T09:47:33.142Z] 2a8b12db71e7: Pull complete [2021-01-21T09:47:34.094Z] 6ca5941a6612: Pull complete [2021-01-21T09:47:34.358Z] ecc8261a40a4: Pull complete [2021-01-21T09:47:34.358Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-21T09:47:34.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T09:47:34.358Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-21T09:47:34.475Z] prd-centos7-docker-4c-2g-21925 does not seem to be running inside a container [2021-01-21T09:47:34.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@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:10004/edgex-devops/git-semver:latest cat [2021-01-21T09:47:36.681Z] $ docker top 5fea657b27aa1aeed286e8ad210aa4ca0ee6409885ed3d02ea920deec2497c3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-21T09:47:36.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T09:47:36.958Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T09:47:37.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T09:47:37.199Z] $ docker exec 5fea657b27aa1aeed286e8ad210aa4ca0ee6409885ed3d02ea920deec2497c3f ssh-agent [2021-01-21T09:47:37.380Z] SSH_AUTH_SOCK=/tmp/ssh-WKGVyvLGKkIe/agent.12 [2021-01-21T09:47:37.380Z] SSH_AGENT_PID=17 [2021-01-21T09:47:37.391Z] Running ssh-add (command line suppressed) [2021-01-21T09:47:37.514Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_4698573928800340520.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_4698573928800340520.key) [2021-01-21T09:47:37.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T09:47:37.970Z] + git tag --points-at HEAD [Pipeline] } [2021-01-21T09:47:37.991Z] $ docker exec --env ******** --env ******** 5fea657b27aa1aeed286e8ad210aa4ca0ee6409885ed3d02ea920deec2497c3f ssh-agent -k [2021-01-21T09:47:38.103Z] unset SSH_AUTH_SOCK; [2021-01-21T09:47:38.104Z] unset SSH_AGENT_PID; [2021-01-21T09:47:38.104Z] echo Agent pid 17 killed; [2021-01-21T09:47:38.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-21T09:47:38.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T09:47:38.304Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T09:47:38.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T09:47:38.471Z] $ docker exec 5fea657b27aa1aeed286e8ad210aa4ca0ee6409885ed3d02ea920deec2497c3f ssh-agent [2021-01-21T09:47:38.644Z] SSH_AUTH_SOCK=/tmp/ssh-ZyuVmpiuy5cE/agent.46 [2021-01-21T09:47:38.644Z] SSH_AGENT_PID=51 [2021-01-21T09:47:38.652Z] Running ssh-add (command line suppressed) [2021-01-21T09:47:38.774Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_801564059790707267.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_801564059790707267.key) [2021-01-21T09:47:38.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T09:47:39.168Z] + git semver init [2021-01-21T09:47:39.168Z] # -> Open(): unable to determine branch for HEAD [2021-01-21T09:47:39.168Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git [2021-01-21T09:47:39.168Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-21T09:47:39.168Z] # $SEMVER_REMOTE_NAME = origin [2021-01-21T09:47:39.168Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-21T09:47:39.168Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-21T09:47:39.168Z] # $SEMVER_BRANCH = PR-746 [2021-01-21T09:47:39.168Z] # $SEMVER_TEMP = /tmp/semver-667478534 [2021-01-21T09:47:39.168Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-21T09:47:40.116Z] # '/tmp/semver-667478534' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' [2021-01-21T09:47:40.116Z] # -> Force: false [2021-01-21T09:47:40.116Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } [2021-01-21T09:47:40.147Z] $ docker exec --env ******** --env ******** 5fea657b27aa1aeed286e8ad210aa4ca0ee6409885ed3d02ea920deec2497c3f ssh-agent -k [2021-01-21T09:47:40.267Z] unset SSH_AUTH_SOCK; [2021-01-21T09:47:40.267Z] unset SSH_AGENT_PID; [2021-01-21T09:47:40.267Z] echo Agent pid 51 killed; [2021-01-21T09:47:40.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-21T09:47:40.807Z] + git semver [Pipeline] } [2021-01-21T09:47:40.823Z] $ docker stop --time=1 5fea657b27aa1aeed286e8ad210aa4ca0ee6409885ed3d02ea920deec2497c3f [2021-01-21T09:47:42.224Z] $ docker rm -f 5fea657b27aa1aeed286e8ad210aa4ca0ee6409885ed3d02ea920deec2497c3f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T09:47:42.687Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-21T09:47:43.210Z] Stashed 1 file(s) [Pipeline] echo [2021-01-21T09:47:43.213Z] [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-21T09:47:58.731Z] Still waiting to schedule task [2021-01-21T09:47:58.731Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-21T09:47:58.734Z] Still waiting to schedule task [2021-01-21T09:47:58.734Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-21T09:49:43.740Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21926 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-21T09:49:43.804Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-21T09:49:49.082Z] using credential edgex-jenkins-ssh [2021-01-21T09:49:49.173Z] Cloning the remote Git repository [2021-01-21T09:49:49.220Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T09:49:49.332Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-21T09:49:49.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T09:49:49.407Z] > git --version # timeout=10 [2021-01-21T09:49:49.424Z] > git --version # 'git version 2.17.1' [2021-01-21T09:49:49.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T09:49:49.478Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T09:49:51.400Z] Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 5ae0bb91e863fc642d04e267d4fba18b9355d614 [2021-01-21T09:49:50.636Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T09:49:50.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T09:49:50.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T09:49:50.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T09:49:50.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T09:49:50.749Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-21T09:49:51.419Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T09:49:51.460Z] > git checkout -f 5ae0bb91e863fc642d04e267d4fba18b9355d614 # timeout=10 [2021-01-21T09:49:51.698Z] Merge succeeded, producing 5ae0bb91e863fc642d04e267d4fba18b9355d614 [2021-01-21T09:49:51.698Z] Checking out Revision 5ae0bb91e863fc642d04e267d4fba18b9355d614 (PR-746) [2021-01-21T09:49:51.587Z] > git remote # timeout=10 [2021-01-21T09:49:51.610Z] > git config --get remote.origin.url # timeout=10 [2021-01-21T09:49:51.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T09:49:51.636Z] > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [2021-01-21T09:49:51.664Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-21T09:49:51.700Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T09:49:51.712Z] > git checkout -f 5ae0bb91e863fc642d04e267d4fba18b9355d614 # timeout=10 [2021-01-21T09:49:56.160Z] Commit message: "refactor: refactor autoevent package for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T09:49:57.704Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-21T09:49:58.124Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-21T09:49:58.619Z] + sudo service+ docker restart [2021-01-21T09:49:58.619Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T09:50:01.324Z] provisioning config files... [2021-01-21T09:50:01.361Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5158102638209393526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T09:50:01.767Z] ---> docker-login.sh [2021-01-21T09:50:01.767Z] nexus3.edgexfoundry.org:10001 [2021-01-21T09:50:02.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:50:02.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:50:02.995Z] Configure a credential helper to remove this warning. See [2021-01-21T09:50:02.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:50:02.995Z] [2021-01-21T09:50:02.995Z] Login Succeeded [2021-01-21T09:50:02.995Z] nexus3.edgexfoundry.org:10002 [2021-01-21T09:50:03.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:50:03.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:50:03.544Z] Configure a credential helper to remove this warning. See [2021-01-21T09:50:03.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:50:03.544Z] [2021-01-21T09:50:03.544Z] Login Succeeded [2021-01-21T09:50:03.544Z] nexus3.edgexfoundry.org:10003 [2021-01-21T09:50:03.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:50:04.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:50:04.092Z] Configure a credential helper to remove this warning. See [2021-01-21T09:50:04.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:50:04.092Z] [2021-01-21T09:50:04.092Z] Login Succeeded [2021-01-21T09:50:04.092Z] nexus3.edgexfoundry.org:10004 [2021-01-21T09:50:04.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:50:04.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:50:04.639Z] Configure a credential helper to remove this warning. See [2021-01-21T09:50:04.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:50:04.639Z] [2021-01-21T09:50:04.639Z] Login Succeeded [2021-01-21T09:50:04.639Z] docker.io [2021-01-21T09:50:04.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:50:05.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:50:05.185Z] Configure a credential helper to remove this warning. See [2021-01-21T09:50:05.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:50:05.185Z] [2021-01-21T09:50:05.185Z] Login Succeeded [2021-01-21T09:50:05.185Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T09:50:05.202Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-21T09:50:05.674Z] ========================================================= [2021-01-21T09:50:05.674Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-21T09:50:05.674Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:50:06.067Z] + 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-21T09:50:06.687Z] Sending build context to Docker daemon 2.383MB [2021-01-21T09:50:06.687Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T09:50:06.687Z] Step 2/8 : FROM ${BASE} [2021-01-21T09:50:06.687Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-21T09:50:06.687Z] 5f621e34cdf4: Pulling fs layer [2021-01-21T09:50:06.687Z] a4357932f1b6: Pulling fs layer [2021-01-21T09:50:06.687Z] 18c013af1878: Pulling fs layer [2021-01-21T09:50:06.687Z] 00ac8860ef70: Pulling fs layer [2021-01-21T09:50:06.687Z] 63d7cb157983: Pulling fs layer [2021-01-21T09:50:06.687Z] b116817d02f9: Pulling fs layer [2021-01-21T09:50:06.687Z] 745a02a5169b: Pulling fs layer [2021-01-21T09:50:06.687Z] 63d7cb157983: Waiting [2021-01-21T09:50:06.687Z] 00ac8860ef70: Waiting [2021-01-21T09:50:06.687Z] 745a02a5169b: Waiting [2021-01-21T09:50:06.687Z] 18c013af1878: Verifying Checksum [2021-01-21T09:50:06.687Z] 18c013af1878: Download complete [2021-01-21T09:50:06.687Z] a4357932f1b6: Verifying Checksum [2021-01-21T09:50:06.687Z] a4357932f1b6: Download complete [2021-01-21T09:50:06.687Z] 63d7cb157983: Verifying Checksum [2021-01-21T09:50:06.687Z] 63d7cb157983: Download complete [2021-01-21T09:50:07.287Z] b116817d02f9: Verifying Checksum [2021-01-21T09:50:07.287Z] b116817d02f9: Download complete [2021-01-21T09:50:07.287Z] 5f621e34cdf4: Verifying Checksum [2021-01-21T09:50:07.287Z] 5f621e34cdf4: Download complete [2021-01-21T09:50:07.897Z] 5f621e34cdf4: Pull complete [2021-01-21T09:50:08.504Z] a4357932f1b6: Pull complete [2021-01-21T09:50:09.109Z] 18c013af1878: Pull complete [2021-01-21T09:50:09.724Z] 745a02a5169b: Verifying Checksum [2021-01-21T09:50:09.724Z] 745a02a5169b: Download complete [2021-01-21T09:50:11.169Z] 00ac8860ef70: Verifying Checksum [2021-01-21T09:50:11.169Z] 00ac8860ef70: Download complete [2021-01-21T09:50:21.340Z] 00ac8860ef70: Pull complete [2021-01-21T09:50:21.615Z] 63d7cb157983: Pull complete [2021-01-21T09:50:21.888Z] b116817d02f9: Pull complete [2021-01-21T09:50:26.209Z] 745a02a5169b: Pull complete [2021-01-21T09:50:26.209Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-21T09:50:26.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-21T09:50:26.209Z] ---> b7e6874047d6 [2021-01-21T09:50:26.209Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T09:50:28.877Z] ---> Running in cf5deabdd13a [2021-01-21T09:50:29.475Z] Removing intermediate container cf5deabdd13a [2021-01-21T09:50:29.475Z] ---> 42076afec2b0 [2021-01-21T09:50:29.475Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T09:50:29.475Z] ---> Running in bba84dd87d94 [2021-01-21T09:50:32.123Z] Removing intermediate container bba84dd87d94 [2021-01-21T09:50:32.123Z] ---> 2769a9331041 [2021-01-21T09:50:32.123Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-21T09:50:32.123Z] ---> Running in 1ce79bff4c68 [2021-01-21T09:50:33.103Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-21T09:50:34.104Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-21T09:50:34.702Z] OK: 142 MiB in 39 packages [2021-01-21T09:50:35.190Z] Running on prd-centos7-docker-4c-2g-21927 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-21T09:50:35.304Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-21T09:50:35.688Z] Removing intermediate container 1ce79bff4c68 [2021-01-21T09:50:35.688Z] ---> c4dcb57c5e6f [2021-01-21T09:50:35.688Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-21T09:50:35.961Z] ---> Running in f96966e6cb5a [2021-01-21T09:50:36.557Z] Removing intermediate container f96966e6cb5a [2021-01-21T09:50:36.557Z] ---> d1964c7cb989 [2021-01-21T09:50:36.557Z] Step 7/8 : COPY . . [2021-01-21T09:50:37.535Z] ---> 7dd736188929 [2021-01-21T09:50:37.535Z] Step 8/8 : RUN go mod download [2021-01-21T09:50:37.806Z] ---> Running in 805993640b52 [2021-01-21T09:50:45.125Z] using credential edgex-jenkins-ssh [2021-01-21T09:50:45.182Z] Cloning the remote Git repository [2021-01-21T09:50:45.261Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T09:50:45.349Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-21T09:50:45.503Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T09:50:45.503Z] > git --version # timeout=10 [2021-01-21T09:50:45.561Z] > git --version # 'git version 2.24.3' [2021-01-21T09:50:45.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T09:50:45.625Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T09:50:47.502Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T09:50:47.552Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T09:50:47.649Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T09:50:47.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T09:50:47.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T09:50:47.724Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-21T09:50:48.342Z] Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 5ae0bb91e863fc642d04e267d4fba18b9355d614 [2021-01-21T09:50:48.611Z] Merge succeeded, producing 5ae0bb91e863fc642d04e267d4fba18b9355d614 [2021-01-21T09:50:48.611Z] Checking out Revision 5ae0bb91e863fc642d04e267d4fba18b9355d614 (PR-746) [2021-01-21T09:50:48.352Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T09:50:48.373Z] > git checkout -f 5ae0bb91e863fc642d04e267d4fba18b9355d614 # timeout=10 [2021-01-21T09:50:48.470Z] > git remote # timeout=10 [2021-01-21T09:50:48.482Z] > git config --get remote.origin.url # timeout=10 [2021-01-21T09:50:48.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T09:50:48.517Z] > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [2021-01-21T09:50:48.562Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-21T09:50:48.616Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T09:50:48.643Z] > git checkout -f 5ae0bb91e863fc642d04e267d4fba18b9355d614 # timeout=10 [2021-01-21T09:50:53.745Z] Commit message: "refactor: refactor autoevent package for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T09:50:55.611Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-21T09:50:56.049Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-21T09:50:56.383Z] + true [2021-01-21T09:50:56.384Z] + sudo service docker restart [2021-01-21T09:50:56.384Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T09:50:57.862Z] provisioning config files... [2021-01-21T09:50:57.900Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3199892339606228466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T09:50:58.334Z] ---> docker-login.sh [2021-01-21T09:50:58.334Z] nexus3.edgexfoundry.org:10001 [2021-01-21T09:50:58.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:50:59.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:50:59.209Z] Configure a credential helper to remove this warning. See [2021-01-21T09:50:59.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:50:59.209Z] [2021-01-21T09:50:59.209Z] Login Succeeded [2021-01-21T09:50:59.209Z] nexus3.edgexfoundry.org:10002 [2021-01-21T09:50:59.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:50:59.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:50:59.802Z] Configure a credential helper to remove this warning. See [2021-01-21T09:50:59.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:50:59.802Z] [2021-01-21T09:50:59.802Z] Login Succeeded [2021-01-21T09:50:59.802Z] nexus3.edgexfoundry.org:10003 [2021-01-21T09:51:00.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:51:00.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:51:00.087Z] Configure a credential helper to remove this warning. See [2021-01-21T09:51:00.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:51:00.087Z] [2021-01-21T09:51:00.087Z] Login Succeeded [2021-01-21T09:51:00.087Z] nexus3.edgexfoundry.org:10004 [2021-01-21T09:51:00.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:51:00.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:51:00.353Z] Configure a credential helper to remove this warning. See [2021-01-21T09:51:00.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:51:00.353Z] [2021-01-21T09:51:00.353Z] Login Succeeded [2021-01-21T09:51:00.353Z] docker.io [2021-01-21T09:51:00.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T09:51:00.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T09:51:00.901Z] Configure a credential helper to remove this warning. See [2021-01-21T09:51:00.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T09:51:00.901Z] [2021-01-21T09:51:00.901Z] Login Succeeded [2021-01-21T09:51:00.901Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T09:51:00.922Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-21T09:51:01.327Z] ========================================================= [2021-01-21T09:51:01.327Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-21T09:51:01.327Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:51:01.760Z] + 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-21T09:51:02.045Z] Sending build context to Docker daemon 2.393MB [2021-01-21T09:51:02.045Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T09:51:02.045Z] Step 2/8 : FROM ${BASE} [2021-01-21T09:51:02.465Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-21T09:51:02.465Z] 188c0c94c7c5: Pulling fs layer [2021-01-21T09:51:02.465Z] 0ef7d3d256c8: Pulling fs layer [2021-01-21T09:51:02.465Z] de9db76c5a1d: Pulling fs layer [2021-01-21T09:51:02.465Z] bca2f99d35d6: Pulling fs layer [2021-01-21T09:51:02.465Z] 93359f2a8cfa: Pulling fs layer [2021-01-21T09:51:02.465Z] 7c6f9722023f: Pulling fs layer [2021-01-21T09:51:02.465Z] a35cf1a2eb13: Pulling fs layer [2021-01-21T09:51:02.465Z] 93359f2a8cfa: Waiting [2021-01-21T09:51:02.465Z] 7c6f9722023f: Waiting [2021-01-21T09:51:02.465Z] a35cf1a2eb13: Waiting [2021-01-21T09:51:02.465Z] bca2f99d35d6: Waiting [2021-01-21T09:51:02.465Z] de9db76c5a1d: Verifying Checksum [2021-01-21T09:51:02.465Z] de9db76c5a1d: Download complete [2021-01-21T09:51:02.465Z] 0ef7d3d256c8: Verifying Checksum [2021-01-21T09:51:02.465Z] 0ef7d3d256c8: Download complete [2021-01-21T09:51:03.067Z] 93359f2a8cfa: Verifying Checksum [2021-01-21T09:51:03.067Z] 93359f2a8cfa: Download complete [2021-01-21T09:51:03.067Z] 7c6f9722023f: Verifying Checksum [2021-01-21T09:51:03.067Z] 7c6f9722023f: Download complete [2021-01-21T09:51:03.067Z] 188c0c94c7c5: Download complete [2021-01-21T09:51:03.715Z] 188c0c94c7c5: Pull complete [2021-01-21T09:51:04.378Z] 0ef7d3d256c8: Pull complete [2021-01-21T09:51:04.623Z] Removing intermediate container 805993640b52 [2021-01-21T09:51:04.623Z] ---> bde1581ed3c1 [2021-01-21T09:51:04.623Z] Successfully built bde1581ed3c1 [2021-01-21T09:51:04.623Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:51:04.673Z] de9db76c5a1d: Pull complete [2021-01-21T09:51:04.968Z] + docker inspect -f . ci-base-image-arm64 [2021-01-21T09:51:04.968Z] . [Pipeline] withDockerContainer [2021-01-21T09:51:05.240Z] prd-ubuntu18.04-docker-arm64-4c-16g-21926 does not seem to be running inside a container [2021-01-21T09:51:05.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2021-01-21T09:51:06.917Z] $ docker top c012f8e352697115fc9b752874cb9da02d00ab52d1fddbebe4528a3dffc373f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T09:51:07.949Z] + go version [2021-01-21T09:51:07.949Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-21T09:51:07.976Z] $ docker stop --time=1 c012f8e352697115fc9b752874cb9da02d00ab52d1fddbebe4528a3dffc373f0 [2021-01-21T09:51:10.006Z] $ docker rm -f c012f8e352697115fc9b752874cb9da02d00ab52d1fddbebe4528a3dffc373f0 [2021-01-21T09:51:10.302Z] a35cf1a2eb13: Verifying Checksum [2021-01-21T09:51:10.302Z] a35cf1a2eb13: Download complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-01-21T09:51:10.603Z] bca2f99d35d6: Verifying Checksum [2021-01-21T09:51:10.603Z] bca2f99d35d6: Download complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:51:11.178Z] + docker inspect -f . ci-base-image-arm64 [2021-01-21T09:51:11.178Z] . [Pipeline] withDockerContainer [2021-01-21T09:51:11.441Z] prd-ubuntu18.04-docker-arm64-4c-16g-21926 does not seem to be running inside a container [2021-01-21T09:51:11.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2021-01-21T09:51:13.052Z] $ docker top 3c782e5a19979d84912ccafeaafd44ace8706425caa3549d3b5bc4628a925fdb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T09:51:14.078Z] + make test [2021-01-21T09:51:14.078Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-21T09:51:23.158Z] bca2f99d35d6: Pull complete [2021-01-21T09:51:23.159Z] 93359f2a8cfa: Pull complete [2021-01-21T09:51:23.159Z] 7c6f9722023f: Pull complete [2021-01-21T09:51:28.013Z] a35cf1a2eb13: Pull complete [2021-01-21T09:51:28.013Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-21T09:51:28.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-21T09:51:28.013Z] ---> a62c8e92a672 [2021-01-21T09:51:28.013Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T09:51:28.362Z] ---> Running in 8570eb511c1f [2021-01-21T09:51:28.646Z] Removing intermediate container 8570eb511c1f [2021-01-21T09:51:28.646Z] ---> 6cb2f70501de [2021-01-21T09:51:28.646Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T09:51:28.980Z] ---> Running in 3b81629dcb5d [2021-01-21T09:51:31.724Z] Removing intermediate container 3b81629dcb5d [2021-01-21T09:51:31.725Z] ---> 975f137d1101 [2021-01-21T09:51:31.725Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-21T09:51:31.725Z] ---> Running in 04d41c2cbeea [2021-01-21T09:51:32.734Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-21T09:51:33.730Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-21T09:51:34.333Z] OK: 166 MiB in 39 packages [2021-01-21T09:51:34.929Z] Removing intermediate container 04d41c2cbeea [2021-01-21T09:51:34.929Z] ---> 9d758da1c041 [2021-01-21T09:51:34.929Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-21T09:51:34.929Z] ---> Running in b50a6be22672 [2021-01-21T09:51:35.222Z] Removing intermediate container b50a6be22672 [2021-01-21T09:51:35.222Z] ---> 2c7f6b1401a7 [2021-01-21T09:51:35.222Z] Step 7/8 : COPY . . [2021-01-21T09:51:36.295Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-21T09:51:36.661Z] ---> 78c6815e990f [2021-01-21T09:51:36.662Z] Step 8/8 : RUN go mod download [2021-01-21T09:51:36.662Z] ---> Running in 1a2d32089928 [2021-01-21T09:52:03.628Z] Removing intermediate container 1a2d32089928 [2021-01-21T09:52:03.628Z] ---> ec673f692cdc [2021-01-21T09:52:03.628Z] Successfully built ec673f692cdc [2021-01-21T09:52:03.628Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:52:04.045Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-21T09:52:04.336Z] . [Pipeline] withDockerContainer [2021-01-21T09:52:04.974Z] prd-centos7-docker-4c-2g-21927 does not seem to be running inside a container [2021-01-21T09:52:05.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-21T09:52:06.680Z] $ docker top 78765bc5c321d062ffd20ef1743d3889078f51fc470c06aa2e2009a67acb5e71 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T09:52:07.804Z] + go version [2021-01-21T09:52:07.804Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-21T09:52:07.828Z] $ docker stop --time=1 78765bc5c321d062ffd20ef1743d3889078f51fc470c06aa2e2009a67acb5e71 [2021-01-21T09:52:09.552Z] $ docker rm -f 78765bc5c321d062ffd20ef1743d3889078f51fc470c06aa2e2009a67acb5e71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:52:10.545Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-21T09:52:10.545Z] . [Pipeline] withDockerContainer [2021-01-21T09:52:10.698Z] prd-centos7-docker-4c-2g-21927 does not seem to be running inside a container [2021-01-21T09:52:10.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-21T09:52:11.832Z] $ docker top 831965700ca37983e73c2b053688ea399549856c68849efc73cab710dba5c682 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T09:52:12.432Z] + make test [2021-01-21T09:52:12.432Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-21T09:52:15.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-21T09:52:15.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-21T09:52:15.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-21T09:52:16.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.196s coverage: 15.2% of statements [2021-01-21T09:52:19.786Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.162s coverage: 97.1% of statements [2021-01-21T09:52:27.729Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-21T09:52:52.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.147s coverage: 9.4% of statements [2021-01-21T09:52:52.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 22.9% of statements [2021-01-21T09:52:52.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-21T09:52:52.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.144s coverage: 84.8% of statements [2021-01-21T09:52:52.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-21T09:52:52.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-21T09:52:52.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-21T09:52:52.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-21T09:52:52.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.169s coverage: 53.8% of statements [2021-01-21T09:52:52.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-21T09:52:52.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-21T09:52:52.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.253s coverage: 26.8% of statements [2021-01-21T09:52:52.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.255s coverage: 83.5% of statements [2021-01-21T09:52:52.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 4.2% of statements [2021-01-21T09:52:52.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-21T09:52:52.366Z] GO111MODULE=on go vet ./... [2021-01-21T09:52:55.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-21T09:52:55.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-21T09:52:55.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-21T09:52:58.169Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 15.2% of statements [2021-01-21T09:52:58.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.962s coverage: 97.1% of statements [2021-01-21T09:53:19.249Z] gofmt -l . [2021-01-21T09:53:19.249Z] [ "`gofmt -l .`" = "" ] [2021-01-21T09:53:19.524Z] ./bin/test-attribution-txt.sh [2021-01-21T09:53:20.503Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-21T09:53:21.140Z] $ docker stop --time=1 3c782e5a19979d84912ccafeaafd44ace8706425caa3549d3b5bc4628a925fdb [2021-01-21T09:53:23.339Z] $ docker rm -f 3c782e5a19979d84912ccafeaafd44ace8706425caa3549d3b5bc4628a925fdb [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T09:53:24.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-21T09:53:25.351Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-01-21T09:53:26.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.174s coverage: 9.4% of statements [2021-01-21T09:53:26.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.068s coverage: 22.9% of statements [2021-01-21T09:53:26.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-21T09:53:26.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.094s coverage: 84.8% of statements [2021-01-21T09:53:26.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-21T09:53:26.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-21T09:53:26.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-21T09:53:26.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-21T09:53:26.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.135s coverage: 53.8% of statements [2021-01-21T09:53:26.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-21T09:53:26.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-21T09:53:26.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.130s coverage: 26.8% of statements [2021-01-21T09:53:26.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.184s coverage: 83.5% of statements [2021-01-21T09:53:26.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.102s coverage: 4.2% of statements [2021-01-21T09:53:26.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-21T09:53:26.052Z] GO111MODULE=on go vet ./... [Pipeline] sh [2021-01-21T09:53:28.136Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-21T09:53:28.476Z] + ls -al . [2021-01-21T09:53:28.476Z] total 224 [2021-01-21T09:53:28.476Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 21 09:53 . [2021-01-21T09:53:28.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 09:49 .. [2021-01-21T09:53:28.476Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 21 09:49 .dockerignore [2021-01-21T09:53:28.476Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 21 09:49 .git [2021-01-21T09:53:28.476Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 09:49 .github [2021-01-21T09:53:28.476Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 21 09:49 .gitignore [2021-01-21T09:53:28.476Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 21 09:49 Dockerfile.build [2021-01-21T09:53:28.476Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 21 09:49 Jenkinsfile [2021-01-21T09:53:28.476Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 21 09:49 LICENSE [2021-01-21T09:53:28.476Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 21 09:49 Makefile [2021-01-21T09:53:28.476Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 21 09:49 README.md [2021-01-21T09:53:28.476Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 21 09:49 RELEASE-NOTES.txt [2021-01-21T09:53:28.476Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 21 09:47 VERSION [2021-01-21T09:53:28.476Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 09:49 bin [2021-01-21T09:53:28.476Z] -rw-r--r-- 1 jenkins jenkins 109028 Jan 21 09:52 coverage.out [2021-01-21T09:53:28.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 09:49 example [2021-01-21T09:53:28.476Z] -rw-r--r-- 1 jenkins jenkins 456 Jan 21 09:53 go.mod [2021-01-21T09:53:28.476Z] -rw-r--r-- 1 jenkins jenkins 13953 Jan 21 09:53 go.sum [2021-01-21T09:53:28.476Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 21 09:49 internal [2021-01-21T09:53:28.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 09:49 openapi [2021-01-21T09:53:28.476Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 21 09:49 pkg [2021-01-21T09:53:28.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 09:49 snap [2021-01-21T09:53:28.476Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 21 09:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:53:28.825Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5ae0bb91e863fc642d04e267d4fba18b9355d614 --label arch=arm64 --label version=0.0.0 . [2021-01-21T09:53:29.099Z] Sending build context to Docker daemon 2.492MB [2021-01-21T09:53:29.372Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T09:53:29.372Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-21T09:53:29.372Z] ---> bde1581ed3c1 [2021-01-21T09:53:29.372Z] Step 3/24 : ARG MAKE='make build' [2021-01-21T09:53:29.372Z] ---> Running in 6a430209e5b6 [2021-01-21T09:53:29.972Z] Removing intermediate container 6a430209e5b6 [2021-01-21T09:53:29.972Z] ---> 6b08353faf04 [2021-01-21T09:53:29.972Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-21T09:53:29.972Z] ---> Running in dd95e0cf4c4e [2021-01-21T09:53:30.571Z] Removing intermediate container dd95e0cf4c4e [2021-01-21T09:53:30.571Z] ---> 80d0f657006d [2021-01-21T09:53:30.571Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T09:53:30.571Z] ---> Running in 3c722bb27fb9 [2021-01-21T09:53:31.171Z] Removing intermediate container 3c722bb27fb9 [2021-01-21T09:53:31.171Z] ---> 415c488bd919 [2021-01-21T09:53:31.171Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T09:53:31.171Z] ---> Running in 40b8f10a3e32 [2021-01-21T09:53:33.791Z] Removing intermediate container 40b8f10a3e32 [2021-01-21T09:53:33.791Z] ---> 59ac04b5438d [2021-01-21T09:53:33.791Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-21T09:53:33.791Z] ---> Running in ca2623f5a202 [2021-01-21T09:53:34.769Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-21T09:53:35.365Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-21T09:53:35.961Z] OK: 142 MiB in 39 packages [2021-01-21T09:53:37.393Z] Removing intermediate container ca2623f5a202 [2021-01-21T09:53:37.393Z] ---> e8c5b9f8c10b [2021-01-21T09:53:37.393Z] Step 8/24 : COPY . . [2021-01-21T09:53:38.373Z] ---> 0623d8e281c8 [2021-01-21T09:53:38.373Z] Step 9/24 : RUN ${MAKE} [2021-01-21T09:53:38.647Z] ---> Running in 085e82519989 [2021-01-21T09:53:39.627Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-21T09:53:48.542Z] gofmt -l . [2021-01-21T09:53:48.542Z] [ "`gofmt -l .`" = "" ] [2021-01-21T09:53:48.542Z] ./bin/test-attribution-txt.sh [2021-01-21T09:53:48.866Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-21T09:53:49.560Z] $ docker stop --time=1 831965700ca37983e73c2b053688ea399549856c68849efc73cab710dba5c682 [2021-01-21T09:53:52.003Z] $ docker rm -f 831965700ca37983e73c2b053688ea399549856c68849efc73cab710dba5c682 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T09:53:52.928Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-21T09:53:52.944Z] Warning: overwriting stash ‘coverage-report’ [2021-01-21T09:53:53.609Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-21T09:53:54.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-21T09:53:54.639Z] + ls -al . [2021-01-21T09:53:54.639Z] total 188 [2021-01-21T09:53:54.639Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 21 09:53 . [2021-01-21T09:53:54.639Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 21 09:50 .. [2021-01-21T09:53:54.639Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 21 09:50 bin [2021-01-21T09:53:54.639Z] -rw-r--r--. 1 jenkins jenkins 109028 Jan 21 09:53 coverage.out [2021-01-21T09:53:54.639Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 21 09:50 Dockerfile.build [2021-01-21T09:53:54.639Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 21 09:50 .dockerignore [2021-01-21T09:53:54.639Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 21 09:50 example [2021-01-21T09:53:54.640Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 21 09:50 .git [2021-01-21T09:53:54.640Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 21 09:50 .github [2021-01-21T09:53:54.640Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 21 09:50 .gitignore [2021-01-21T09:53:54.640Z] -rw-r--r--. 1 jenkins jenkins 456 Jan 21 09:53 go.mod [2021-01-21T09:53:54.640Z] -rw-r--r--. 1 jenkins jenkins 13953 Jan 21 09:53 go.sum [2021-01-21T09:53:54.640Z] drwxrwxr-x. 14 jenkins jenkins 196 Jan 21 09:50 internal [2021-01-21T09:53:54.640Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 21 09:50 Jenkinsfile [2021-01-21T09:53:54.640Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 21 09:50 LICENSE [2021-01-21T09:53:54.640Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 21 09:50 Makefile [2021-01-21T09:53:54.640Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 21 09:50 openapi [2021-01-21T09:53:54.640Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 21 09:50 pkg [2021-01-21T09:53:54.640Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 21 09:50 README.md [2021-01-21T09:53:54.640Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 21 09:50 RELEASE-NOTES.txt [2021-01-21T09:53:54.640Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 21 09:50 snap [2021-01-21T09:53:54.640Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 21 09:47 VERSION [2021-01-21T09:53:54.640Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 21 09:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:53:55.018Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=5ae0bb91e863fc642d04e267d4fba18b9355d614 --label arch=amd64 --label version=0.0.0 . [2021-01-21T09:53:55.618Z] Sending build context to Docker daemon 2.502MB [2021-01-21T09:53:55.618Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T09:53:55.618Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-21T09:53:55.618Z] ---> ec673f692cdc [2021-01-21T09:53:55.618Z] Step 3/24 : ARG MAKE='make build' [2021-01-21T09:53:56.220Z] ---> Running in 89c09a9fdc55 [2021-01-21T09:53:56.508Z] Removing intermediate container 89c09a9fdc55 [2021-01-21T09:53:56.508Z] ---> 9539eeaec67d [2021-01-21T09:53:56.508Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-21T09:53:56.789Z] ---> Running in 1d8756b00441 [2021-01-21T09:53:57.081Z] Removing intermediate container 1d8756b00441 [2021-01-21T09:53:57.081Z] ---> 90dbf9b34743 [2021-01-21T09:53:57.081Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T09:53:57.081Z] ---> Running in 5ed4ac3770f4 [2021-01-21T09:53:57.367Z] Removing intermediate container 5ed4ac3770f4 [2021-01-21T09:53:57.367Z] ---> 7fdea550cbe5 [2021-01-21T09:53:57.367Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T09:53:57.367Z] ---> Running in a968a083c9ba [2021-01-21T09:53:58.820Z] Removing intermediate container a968a083c9ba [2021-01-21T09:53:58.820Z] ---> e06e0cc720c2 [2021-01-21T09:53:58.820Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-21T09:53:58.820Z] ---> Running in 6453a718665b [2021-01-21T09:53:59.823Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-21T09:54:00.406Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-21T09:54:01.104Z] OK: 166 MiB in 39 packages [2021-01-21T09:54:02.494Z] Removing intermediate container 6453a718665b [2021-01-21T09:54:02.494Z] ---> 8ebcb0fb2bca [2021-01-21T09:54:02.494Z] Step 8/24 : COPY . . [2021-01-21T09:54:04.003Z] ---> 15e57bc425f8 [2021-01-21T09:54:04.003Z] Step 9/24 : RUN ${MAKE} [2021-01-21T09:54:04.003Z] ---> Running in b9cfddfa3b19 [2021-01-21T09:54:04.996Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-21T09:54:06.449Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-21T09:54:06.449Z] Removing intermediate container 085e82519989 [2021-01-21T09:54:06.449Z] ---> c7de32f0f1c2 [2021-01-21T09:54:06.449Z] Step 10/24 : FROM scratch [2021-01-21T09:54:06.449Z] ---> [2021-01-21T09:54:06.449Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T09:54:06.449Z] ---> Running in 7b7a64237001 [2021-01-21T09:54:06.449Z] Removing intermediate container 7b7a64237001 [2021-01-21T09:54:06.449Z] ---> 5c6f53646c8d [2021-01-21T09:54:06.449Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-21T09:54:06.449Z] ---> Running in ee40259a5160 [2021-01-21T09:54:06.723Z] Removing intermediate container ee40259a5160 [2021-01-21T09:54:06.723Z] ---> 5fafd09337c9 [2021-01-21T09:54:06.723Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-21T09:54:06.995Z] ---> Running in 9ce131669a67 [2021-01-21T09:54:07.268Z] Removing intermediate container 9ce131669a67 [2021-01-21T09:54:07.268Z] ---> 78ed50a47883 [2021-01-21T09:54:07.268Z] Step 14/24 : WORKDIR / [2021-01-21T09:54:07.541Z] ---> Running in f9428f174052 [2021-01-21T09:54:07.815Z] Removing intermediate container f9428f174052 [2021-01-21T09:54:07.815Z] ---> 937978f56152 [2021-01-21T09:54:07.815Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-21T09:54:09.251Z] ---> 8cd87e3bee5e [2021-01-21T09:54:09.251Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-21T09:54:09.531Z] ---> e503c626e0b8 [2021-01-21T09:54:09.531Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-21T09:54:10.510Z] ---> 4bd28c8c27d5 [2021-01-21T09:54:10.510Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-21T09:54:11.119Z] ---> 94f3e51cc634 [2021-01-21T09:54:11.119Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-21T09:54:11.714Z] ---> dbfb47ee0760 [2021-01-21T09:54:11.714Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-21T09:54:11.993Z] ---> Running in aff8b6eb6327 [2021-01-21T09:54:12.267Z] Removing intermediate container aff8b6eb6327 [2021-01-21T09:54:12.267Z] ---> 06ae1b63318c [2021-01-21T09:54:12.267Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-21T09:54:12.539Z] ---> Running in f62d19a38e25 [2021-01-21T09:54:12.813Z] Removing intermediate container f62d19a38e25 [2021-01-21T09:54:12.813Z] ---> 0420fc3b9184 [2021-01-21T09:54:12.813Z] Step 22/24 : LABEL arch=arm64 [2021-01-21T09:54:13.086Z] ---> Running in 1b2935742dbc [2021-01-21T09:54:13.679Z] Removing intermediate container 1b2935742dbc [2021-01-21T09:54:13.679Z] ---> 4fe5f8e11b7f [2021-01-21T09:54:13.679Z] Step 23/24 : LABEL git_sha=5ae0bb91e863fc642d04e267d4fba18b9355d614 [2021-01-21T09:54:13.679Z] ---> Running in 19aa544ad79f [2021-01-21T09:54:14.280Z] Removing intermediate container 19aa544ad79f [2021-01-21T09:54:14.280Z] ---> 07f0d57fa228 [2021-01-21T09:54:14.280Z] Step 24/24 : LABEL version=0.0.0 [2021-01-21T09:54:14.280Z] ---> Running in 9c641dd661db [2021-01-21T09:54:14.554Z] Removing intermediate container 9c641dd661db [2021-01-21T09:54:14.554Z] ---> 7c9a7291d247 [2021-01-21T09:54:14.554Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-21T09:54:14.826Z] Successfully built 7c9a7291d247 [2021-01-21T09:54:14.826Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-21T09:54:20.441Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-21T09:54:21.051Z] Removing intermediate container b9cfddfa3b19 [2021-01-21T09:54:21.051Z] ---> 908b4ce59652 [2021-01-21T09:54:21.051Z] Step 10/24 : FROM scratch [2021-01-21T09:54:21.051Z] ---> [2021-01-21T09:54:21.051Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T09:54:21.051Z] ---> Running in a065fc39f527 [2021-01-21T09:54:21.337Z] Removing intermediate container a065fc39f527 [2021-01-21T09:54:21.337Z] ---> 17d35cf62b27 [2021-01-21T09:54:21.337Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-21T09:54:21.337Z] ---> Running in 6e1d3635e3d4 [2021-01-21T09:54:21.609Z] Removing intermediate container 6e1d3635e3d4 [2021-01-21T09:54:21.609Z] ---> 4cf88f1b60e8 [2021-01-21T09:54:21.609Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-21T09:54:21.609Z] ---> Running in 81ed7e2b3131 [2021-01-21T09:54:21.887Z] Removing intermediate container 81ed7e2b3131 [2021-01-21T09:54:21.887Z] ---> 3456df106692 [2021-01-21T09:54:21.887Z] Step 14/24 : WORKDIR / [2021-01-21T09:54:22.166Z] ---> Running in 324e1c3dfc19 [2021-01-21T09:54:22.166Z] Removing intermediate container 324e1c3dfc19 [2021-01-21T09:54:22.166Z] ---> 1a6b4b003290 [2021-01-21T09:54:22.166Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-21T09:54:23.192Z] ---> a0bc85a2571c [2021-01-21T09:54:23.192Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-21T09:54:23.474Z] ---> 822f1346dbd0 [2021-01-21T09:54:23.474Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-21T09:54:24.132Z] ---> b4307f1c05e5 [2021-01-21T09:54:24.133Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-21T09:54:24.754Z] ---> 2aea08c3fcdd [2021-01-21T09:54:24.754Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-21T09:54:25.341Z] ---> b8290b99df90 [2021-01-21T09:54:25.341Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-21T09:54:25.341Z] ---> Running in 1c5dbdee751f [2021-01-21T09:54:25.618Z] Removing intermediate container 1c5dbdee751f [2021-01-21T09:54:25.618Z] ---> 8921525a8ccd [2021-01-21T09:54:25.618Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-21T09:54:25.618Z] ---> Running in 6aae05870b67 [2021-01-21T09:54:25.893Z] Removing intermediate container 6aae05870b67 [2021-01-21T09:54:25.893Z] ---> 772264011555 [2021-01-21T09:54:25.893Z] Step 22/24 : LABEL arch=amd64 [2021-01-21T09:54:25.893Z] ---> Running in fedee37ccc93 [2021-01-21T09:54:26.200Z] Removing intermediate container fedee37ccc93 [2021-01-21T09:54:26.200Z] ---> 5ab88ee1f528 [2021-01-21T09:54:26.200Z] Step 23/24 : LABEL git_sha=5ae0bb91e863fc642d04e267d4fba18b9355d614 [2021-01-21T09:54:26.200Z] ---> Running in 86e638c3b52c [2021-01-21T09:54:26.477Z] Removing intermediate container 86e638c3b52c [2021-01-21T09:54:26.477Z] ---> 6e7b041fb66a [2021-01-21T09:54:26.477Z] Step 24/24 : LABEL version=0.0.0 [2021-01-21T09:54:26.477Z] ---> Running in 4c6e607e9bab [2021-01-21T09:54:26.748Z] Removing intermediate container 4c6e607e9bab [2021-01-21T09:54:26.748Z] ---> 9a16a729f1c5 [2021-01-21T09:54:26.748Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-21T09:54:27.017Z] Successfully built 9a16a729f1c5 [2021-01-21T09:54:27.017Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-21T09:54:28.774Z] provisioning config files... [2021-01-21T09:54:28.784Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config8845551032610821598tmp [Pipeline] { [Pipeline] sh [2021-01-21T09:54:29.178Z] + set +x [2021-01-21T09:54:29.179Z] + curl -s https://codecov.io/bash [2021-01-21T09:54:29.179Z] + bash -s -- [2021-01-21T09:54:29.443Z] [2021-01-21T09:54:29.443Z] _____ _ [2021-01-21T09:54:29.443Z] / ____| | | [2021-01-21T09:54:29.443Z] | | ___ __| | ___ ___ _____ __ [2021-01-21T09:54:29.443Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-21T09:54:29.443Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-21T09:54:29.443Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-21T09:54:29.443Z] Bash-20210115-cec3c92 [2021-01-21T09:54:29.443Z] [2021-01-21T09:54:29.443Z] [2021-01-21T09:54:29.443Z] ==> git version 2.24.3 found [2021-01-21T09:54:29.443Z] ==> 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-21T09:54:29.443Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-21T09:54:29.443Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-21T09:54:29.443Z] ==> Jenkins CI detected. [2021-01-21T09:54:29.443Z] project root: . [2021-01-21T09:54:29.443Z] --> token set from env [2021-01-21T09:54:29.443Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-21T09:54:29.443Z] ==> Running gcov in . (disable via -X gcov) [2021-01-21T09:54:29.443Z] ==> Python coveragepy not found [2021-01-21T09:54:29.443Z] ==> Searching for coverage reports in: [2021-01-21T09:54:29.443Z] + . [2021-01-21T09:54:29.443Z] -> Found 1 reports [2021-01-21T09:54:29.443Z] ==> Detecting git/mercurial file structure [2021-01-21T09:54:29.443Z] ==> Reading reports [2021-01-21T09:54:29.443Z] + ./coverage.out bytes=109028 [2021-01-21T09:54:29.443Z] ==> Appending adjustments [2021-01-21T09:54:29.443Z] https://docs.codecov.io/docs/fixing-reports [2021-01-21T09:54:30.019Z] + Found adjustments [2021-01-21T09:54:30.019Z] ==> Gzipping contents [2021-01-21T09:54:30.019Z] 20K /tmp/codecov.DiYVd2.gz [2021-01-21T09:54:30.019Z] ==> Uploading reports [2021-01-21T09:54:30.019Z] url: https://codecov.io [2021-01-21T09:54:30.019Z] query: branch=PR-746&commit=5ae0bb91e863fc642d04e267d4fba18b9355d614&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-21T09:54:30.019Z] -> Pinging Codecov [2021-01-21T09:54:30.020Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-746&commit=5ae0bb91e863fc642d04e267d4fba18b9355d614&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-21T09:54:30.968Z] -> Uploading to [2021-01-21T09:54:30.968Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-21/7E55EF52A471D76F132DFD9A03CDDE97/5ae0bb91e863fc642d04e267d4fba18b9355d614/016fbe0d-d105-4d41-9f7b-b68dabd7253f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210121T095430Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d019ce4bcc333cf2f730edd80cca084eab4e669a1c93b72e541dab3ff2a76b51 [2021-01-21T09:54:30.968Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-21T09:54:30.968Z] Dload Upload Total Spent Left Speed [2021-01-21T09:54:31.542Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17904 0 0 100 17904 0 39520 --:--:-- --:--:-- --:--:-- 39523 [2021-01-21T09:54:31.542Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5ae0bb91e863fc642d04e267d4fba18b9355d614 [Pipeline] } [2021-01-21T09:54:31.552Z] 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-21T09:54:34.317Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T09:54:34.628Z] ---> package-listing.sh [2021-01-21T09:54:34.628Z] ++ facter osfamily [2021-01-21T09:54:34.628Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-21T09:54:34.628Z] + OS_FAMILY=redhat [2021-01-21T09:54:34.628Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-21T09:54:34.628Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-21T09:54:34.628Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-21T09:54:34.628Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-21T09:54:34.628Z] + PACKAGES=/tmp/packages_start.txt [2021-01-21T09:54:34.628Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-21T09:54:34.628Z] + PACKAGES=/tmp/packages_end.txt [2021-01-21T09:54:34.628Z] + case "${OS_FAMILY}" in [2021-01-21T09:54:34.628Z] + rpm -qa [2021-01-21T09:54:34.628Z] + sort [2021-01-21T09:54:39.947Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-21T09:54:39.947Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-21T09:54:39.947Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-21T09:54:39.947Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-21T09:54:39.947Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [2021-01-21T09:54:39.947Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [Pipeline] echo [2021-01-21T09:54:39.964Z] 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-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-21T09:54:40.269Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:54:40.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T09:54:40.574Z] [2021-01-21T09:54:40.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-21T09:54:41.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T09:54:41.002Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-21T09:54:41.002Z] df20fa9351a1: Pulling fs layer [2021-01-21T09:54:41.002Z] 36b3adc4ff6f: Pulling fs layer [2021-01-21T09:54:41.002Z] 8ad3a11d3b57: Pulling fs layer [2021-01-21T09:54:41.002Z] 46f8f816bc3b: Pulling fs layer [2021-01-21T09:54:41.002Z] 93b61091891f: Pulling fs layer [2021-01-21T09:54:41.002Z] 93b9cdb0e59b: Pulling fs layer [2021-01-21T09:54:41.002Z] 5e14af77c1be: Pulling fs layer [2021-01-21T09:54:41.002Z] 01666e4c0597: Pulling fs layer [2021-01-21T09:54:41.002Z] aa168da1d23b: Pulling fs layer [2021-01-21T09:54:41.002Z] 93b9cdb0e59b: Waiting [2021-01-21T09:54:41.002Z] 5e14af77c1be: Waiting [2021-01-21T09:54:41.002Z] 01666e4c0597: Waiting [2021-01-21T09:54:41.002Z] 46f8f816bc3b: Waiting [2021-01-21T09:54:41.002Z] aa168da1d23b: Waiting [2021-01-21T09:54:41.002Z] 93b61091891f: Waiting [2021-01-21T09:54:41.002Z] 36b3adc4ff6f: Verifying Checksum [2021-01-21T09:54:41.002Z] 36b3adc4ff6f: Download complete [2021-01-21T09:54:41.265Z] 46f8f816bc3b: Verifying Checksum [2021-01-21T09:54:41.265Z] 46f8f816bc3b: Download complete [2021-01-21T09:54:41.265Z] df20fa9351a1: Verifying Checksum [2021-01-21T09:54:41.265Z] df20fa9351a1: Download complete [2021-01-21T09:54:41.265Z] 93b9cdb0e59b: Verifying Checksum [2021-01-21T09:54:41.265Z] 93b9cdb0e59b: Download complete [2021-01-21T09:54:41.265Z] 5e14af77c1be: Verifying Checksum [2021-01-21T09:54:41.265Z] 5e14af77c1be: Download complete [2021-01-21T09:54:41.265Z] 93b61091891f: Verifying Checksum [2021-01-21T09:54:41.265Z] 93b61091891f: Download complete [2021-01-21T09:54:41.265Z] 01666e4c0597: Verifying Checksum [2021-01-21T09:54:41.265Z] 01666e4c0597: Download complete [2021-01-21T09:54:41.265Z] 8ad3a11d3b57: Verifying Checksum [2021-01-21T09:54:41.265Z] 8ad3a11d3b57: Download complete [2021-01-21T09:54:41.532Z] df20fa9351a1: Pull complete [2021-01-21T09:54:41.795Z] 36b3adc4ff6f: Pull complete [2021-01-21T09:54:42.379Z] 8ad3a11d3b57: Pull complete [2021-01-21T09:54:42.379Z] 46f8f816bc3b: Pull complete [2021-01-21T09:54:42.953Z] 93b61091891f: Pull complete [2021-01-21T09:54:43.901Z] aa168da1d23b: Verifying Checksum [2021-01-21T09:54:43.901Z] aa168da1d23b: Download complete [2021-01-21T09:54:44.165Z] 93b9cdb0e59b: Pull complete [2021-01-21T09:54:44.429Z] 5e14af77c1be: Pull complete [2021-01-21T09:54:44.695Z] 01666e4c0597: Pull complete [2021-01-21T09:54:51.348Z] aa168da1d23b: Pull complete [2021-01-21T09:54:51.348Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-21T09:54:51.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T09:54:51.348Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-21T09:54:51.531Z] prd-centos7-docker-4c-2g-21925 does not seem to be running inside a container [2021-01-21T09:54:51.577Z] $ 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-746/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-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-21T09:54:55.698Z] $ docker top dd0af71c6412e8517c1761825c1ecb01855a7985d29b75aafdfc923a79c9cf5c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T09:54:56.268Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-21T09:54:56.571Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-21T09:54:56.874Z] + ls /var/log/sa-host [2021-01-21T09:54:56.874Z] + sadf -c /var/log/sa-host/sa21 [2021-01-21T09:54:56.874Z] file_magic: OK [2021-01-21T09:54:56.874Z] HZ: Using current value: 100 [2021-01-21T09:54:56.874Z] file_header: OK [2021-01-21T09:54:56.875Z] 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-21T09:54:56.875Z] Statistics: [2021-01-21T09:54:56.875Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-21T09:54:56.875Z] File successfully converted to sysstat format version 12.2.1 [2021-01-21T09:54:56.875Z] + sadf -c /var/log/sa-host/sa23 [2021-01-21T09:54:56.875Z] file_magic: OK [2021-01-21T09:54:56.875Z] HZ: Using current value: 100 [2021-01-21T09:54:56.875Z] file_header: OK [2021-01-21T09:54:56.875Z] 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-21T09:54:56.875Z] Statistics: [2021-01-21T09:54:56.875Z] Hnuu...uuuununununu... [2021-01-21T09:54:56.875Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-21T09:54:57.546Z] provisioning config files... [2021-01-21T09:54:57.561Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config8744703795704752871tmp [Pipeline] { [Pipeline] echo [2021-01-21T09:54:57.639Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T09:54:57.945Z] ---> create-netrc.sh [Pipeline] } [2021-01-21T09:54:57.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-21T09:54:58.050Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T09:54:58.367Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-21T09:54:58.380Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T09:54:58.684Z] ---> sudo-logs.sh [2021-01-21T09:54:58.684Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-21T09:54:58.696Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T09:54:58.994Z] ---> job-cost.sh [2021-01-21T09:54:58.994Z] lf-activate-venv: SKIPPING [2021-01-21T09:54:58.994Z] INFO: No Stack... [2021-01-21T09:54:59.943Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-21T09:55:00.519Z] INFO: Archiving Costs [Pipeline] echo [2021-01-21T09:55:00.533Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T09:55:00.839Z] ---> logs-deploy.sh [2021-01-21T09:55:00.839Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/4 [2021-01-21T09:55:00.839Z] INFO: archiving workspace using pattern(s): [2021-01-21T09:55:02.760Z] Archives upload complete. [2021-01-21T09:55:02.760Z] INFO: archiving logs to Nexus