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 4226f0ad5c9ea1cff809c5b314d321b691040421+2e0b14878cfb4a574be8745ab7c226ce26d53775 (5a68ec3e0b29344c68edb5ed46b6fb9db2c94c51) 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-22260 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 Merge succeeded, producing 4226f0ad5c9ea1cff809c5b314d321b691040421 Checking out Revision 4226f0ad5c9ea1cff809c5b314d321b691040421 (PR-746) > git config core.sparsecheckout # timeout=10 > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 Commit message: "fix: update compareReadings logic" > git rev-list --no-walk b71988117f080c0390e6bb1f7a89c5f2e9c83746 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-22T09:29:47.465Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-22T09:29:47.804Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-22T09:29:47.923Z] ========================================================= [2021-01-22T09:29:47.923Z] EdgeX Global Pipelines Version Info [2021-01-22T09:29:47.923Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-22T09:29:49.502Z] ------------------- [2021-01-22T09:29:49.502Z] stable info: [2021-01-22T09:29:49.502Z] ------------------- [2021-01-22T09:29:49.502Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T09:29:49.502Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T09:29:49.502Z] Message: update stable to v1.0.179 [2021-01-22T09:29:50.447Z] ------------------- [2021-01-22T09:29:50.447Z] experimental info: [2021-01-22T09:29:50.447Z] ------------------- [2021-01-22T09:29:50.447Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T09:29:50.447Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T09:29:50.447Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-22T09:29:50.796Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-22T09:29:50.896Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-22T09:29:51.018Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-22T09:29:51.116Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-22T09:29:51.218Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-22T09:29:51.332Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-22T09:29:51.423Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-22T09:29:51.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-22T09:29:51.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-22T09:29:51.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-22T09:29:51.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-22T09:29:51.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-22T09:29:52.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-22T09:29:52.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-22T09:29:52.291Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-22T09:29:52.389Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T09:29:52.484Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T09:29:52.608Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T09:29:52.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-22T09:29:52.816Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-22T09:29:52.944Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-22T09:29:53.041Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-22T09:29:53.138Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-22T09:29:53.259Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-22T09:29:53.398Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-22T09:29:53.531Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-22T09:29:53.642Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-22T09:29:53.749Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo [2021-01-22T09:29:53.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo [2021-01-22T09:29:53.976Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo [2021-01-22T09:29:54.086Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4226f0ad5c9ea1cff809c5b314d321b691040421 [Pipeline] echo [2021-01-22T09:29:54.182Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4226f0a [Pipeline] echo [2021-01-22T09:29:54.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T09:29:54.496Z] provisioning config files... [2021-01-22T09:29:54.553Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config4578949378441257166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T09:29:54.912Z] ---> docker-login.sh [2021-01-22T09:29:54.912Z] nexus3.edgexfoundry.org:10001 [2021-01-22T09:29:55.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:29:55.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:29:55.175Z] Configure a credential helper to remove this warning. See [2021-01-22T09:29:55.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:29:55.175Z] [2021-01-22T09:29:55.175Z] Login Succeeded [2021-01-22T09:29:55.175Z] nexus3.edgexfoundry.org:10002 [2021-01-22T09:29:55.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:29:55.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:29:55.439Z] Configure a credential helper to remove this warning. See [2021-01-22T09:29:55.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:29:55.439Z] [2021-01-22T09:29:55.439Z] Login Succeeded [2021-01-22T09:29:55.439Z] nexus3.edgexfoundry.org:10003 [2021-01-22T09:29:55.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:29:55.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:29:55.439Z] Configure a credential helper to remove this warning. See [2021-01-22T09:29:55.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:29:55.439Z] [2021-01-22T09:29:55.439Z] Login Succeeded [2021-01-22T09:29:55.439Z] nexus3.edgexfoundry.org:10004 [2021-01-22T09:29:55.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:29:55.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:29:55.702Z] Configure a credential helper to remove this warning. See [2021-01-22T09:29:55.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:29:55.702Z] [2021-01-22T09:29:55.702Z] Login Succeeded [2021-01-22T09:29:55.702Z] docker.io [2021-01-22T09:29:55.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:29:56.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:29:56.235Z] Configure a credential helper to remove this warning. See [2021-01-22T09:29:56.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:29:56.235Z] [2021-01-22T09:29:56.235Z] Login Succeeded [2021-01-22T09:29:56.235Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T09:29:56.248Z] 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-22T09:29:57.228Z] + git log --format=format:%s -1 4226f0ad5c9ea1cff809c5b314d321b691040421 [Pipeline] echo [2021-01-22T09:29:57.307Z] GIT_COMMIT: 4226f0ad5c9ea1cff809c5b314d321b691040421, Commit Message: fix: update compareReadings logic [Pipeline] echo [2021-01-22T09:29:57.379Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:29:58.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T09:29:58.023Z] [2021-01-22T09:29:58.023Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:29:58.414Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T09:29:58.414Z] latest: Pulling from edgex-devops/git-semver [2021-01-22T09:29:58.414Z] 31603596830f: Pulling fs layer [2021-01-22T09:29:58.414Z] 2a8b12db71e7: Pulling fs layer [2021-01-22T09:29:58.414Z] 6ca5941a6612: Pulling fs layer [2021-01-22T09:29:58.414Z] ecc8261a40a4: Pulling fs layer [2021-01-22T09:29:58.414Z] ecc8261a40a4: Waiting [2021-01-22T09:29:58.414Z] 2a8b12db71e7: Download complete [2021-01-22T09:29:58.684Z] 31603596830f: Verifying Checksum [2021-01-22T09:29:58.684Z] 31603596830f: Download complete [2021-01-22T09:29:58.684Z] ecc8261a40a4: Verifying Checksum [2021-01-22T09:29:58.684Z] ecc8261a40a4: Download complete [2021-01-22T09:29:58.684Z] 6ca5941a6612: Verifying Checksum [2021-01-22T09:29:58.684Z] 6ca5941a6612: Download complete [2021-01-22T09:29:58.954Z] 31603596830f: Pull complete [2021-01-22T09:29:58.954Z] 2a8b12db71e7: Pull complete [2021-01-22T09:29:59.922Z] 6ca5941a6612: Pull complete [2021-01-22T09:30:00.184Z] ecc8261a40a4: Pull complete [2021-01-22T09:30:00.184Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-22T09:30:00.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T09:30:00.184Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-22T09:30:00.302Z] prd-centos7-docker-4c-2g-22260 does not seem to be running inside a container [2021-01-22T09:30:00.353Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-22T09:30:02.177Z] $ docker top c1979246a58b1908360c79bb3dfe8c2db71a2d5099c70c592dfb4d6b2abc562d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-22T09:30:02.671Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T09:30:02.671Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T09:30:02.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T09:30:02.937Z] $ docker exec c1979246a58b1908360c79bb3dfe8c2db71a2d5099c70c592dfb4d6b2abc562d ssh-agent [2021-01-22T09:30:03.118Z] SSH_AUTH_SOCK=/tmp/ssh-tbRyUYRoq41v/agent.11 [2021-01-22T09:30:03.118Z] SSH_AGENT_PID=16 [2021-01-22T09:30:03.144Z] Running ssh-add (command line suppressed) [2021-01-22T09:30:03.280Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_5794943590179841422.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_5794943590179841422.key) [2021-01-22T09:30:03.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T09:30:03.728Z] + git tag --points-at HEAD [Pipeline] } [2021-01-22T09:30:03.758Z] $ docker exec --env ******** --env ******** c1979246a58b1908360c79bb3dfe8c2db71a2d5099c70c592dfb4d6b2abc562d ssh-agent -k [2021-01-22T09:30:03.883Z] unset SSH_AUTH_SOCK; [2021-01-22T09:30:03.883Z] unset SSH_AGENT_PID; [2021-01-22T09:30:03.884Z] echo Agent pid 16 killed; [2021-01-22T09:30:03.933Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-22T09:30:04.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T09:30:04.095Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T09:30:04.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T09:30:04.284Z] $ docker exec c1979246a58b1908360c79bb3dfe8c2db71a2d5099c70c592dfb4d6b2abc562d ssh-agent [2021-01-22T09:30:04.468Z] SSH_AUTH_SOCK=/tmp/ssh-BR6QX1QOFR8k/agent.44 [2021-01-22T09:30:04.468Z] SSH_AGENT_PID=49 [2021-01-22T09:30:04.477Z] Running ssh-add (command line suppressed) [2021-01-22T09:30:04.604Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_2049292542990756264.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_2049292542990756264.key) [2021-01-22T09:30:04.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T09:30:05.011Z] + git semver init [2021-01-22T09:30:05.011Z] # -> Open(): unable to determine branch for HEAD [2021-01-22T09:30:05.011Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git [2021-01-22T09:30:05.011Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-22T09:30:05.011Z] # $SEMVER_REMOTE_NAME = origin [2021-01-22T09:30:05.011Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-22T09:30:05.011Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-22T09:30:05.011Z] # $SEMVER_BRANCH = PR-746 [2021-01-22T09:30:05.011Z] # $SEMVER_TEMP = /tmp/semver-099426427 [2021-01-22T09:30:05.011Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-22T09:30:08.362Z] # '/tmp/semver-099426427' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' [2021-01-22T09:30:08.363Z] # -> Force: false [2021-01-22T09:30:08.363Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } [2021-01-22T09:30:08.375Z] $ docker exec --env ******** --env ******** c1979246a58b1908360c79bb3dfe8c2db71a2d5099c70c592dfb4d6b2abc562d ssh-agent -k [2021-01-22T09:30:08.505Z] unset SSH_AUTH_SOCK; [2021-01-22T09:30:08.506Z] unset SSH_AGENT_PID; [2021-01-22T09:30:08.506Z] echo Agent pid 49 killed; [2021-01-22T09:30:08.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-22T09:30:09.084Z] + git semver [Pipeline] } [2021-01-22T09:30:09.105Z] $ docker stop --time=1 c1979246a58b1908360c79bb3dfe8c2db71a2d5099c70c592dfb4d6b2abc562d [2021-01-22T09:30:10.498Z] $ docker rm -f c1979246a58b1908360c79bb3dfe8c2db71a2d5099c70c592dfb4d6b2abc562d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T09:30:12.482Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-22T09:30:12.931Z] Stashed 1 file(s) [Pipeline] echo [2021-01-22T09:30:12.935Z] [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-22T09:30:28.590Z] Still waiting to schedule task [2021-01-22T09:30:28.590Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-22T09:30:28.592Z] Still waiting to schedule task [2021-01-22T09:30:28.592Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-22T09:33:13.823Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22261 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-22T09:33:13.873Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-01-22T09:33:16.532Z] Running on prd-centos7-docker-4c-2g-22262 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-22T09:33:16.615Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-01-22T09:33:18.700Z] using credential edgex-jenkins-ssh [2021-01-22T09:33:18.777Z] Cloning the remote Git repository [2021-01-22T09:33:18.869Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T09:33:19.014Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-01-22T09:33:19.122Z] using credential edgex-jenkins-ssh [2021-01-22T09:33:19.184Z] Cloning the remote Git repository [2021-01-22T09:33:19.207Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T09:33:19.271Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-01-22T09:33:19.333Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T09:33:19.333Z] > git --version # timeout=10 [2021-01-22T09:33:19.340Z] > git --version # 'git version 2.24.3' [2021-01-22T09:33:19.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T09:33:19.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T09:33:20.187Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T09:33:20.193Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T09:33:20.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T09:33:20.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T09:33:20.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T09:33:20.239Z] > 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-22T09:33:19.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T09:33:19.100Z] > git --version # timeout=10 [2021-01-22T09:33:19.117Z] > git --version # 'git version 2.17.1' [2021-01-22T09:33:19.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T09:33:19.177Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T09:33:20.198Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T09:33:20.230Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T09:33:20.262Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T09:33:20.703Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 [2021-01-22T09:33:20.812Z] Merge succeeded, producing 4226f0ad5c9ea1cff809c5b314d321b691040421 [2021-01-22T09:33:20.812Z] Checking out Revision 4226f0ad5c9ea1cff809c5b314d321b691040421 (PR-746) [2021-01-22T09:33:20.934Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 [2021-01-22T09:33:21.148Z] Merge succeeded, producing 4226f0ad5c9ea1cff809c5b314d321b691040421 [2021-01-22T09:33:21.149Z] Checking out Revision 4226f0ad5c9ea1cff809c5b314d321b691040421 (PR-746) [2021-01-22T09:33:20.714Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T09:33:20.719Z] > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [2021-01-22T09:33:20.765Z] > git remote # timeout=10 [2021-01-22T09:33:20.771Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T09:33:20.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T09:33:20.783Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-22T09:33:20.795Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T09:33:20.816Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T09:33:20.824Z] > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [2021-01-22T09:33:20.314Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T09:33:20.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T09:33:20.330Z] > 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-22T09:33:20.962Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T09:33:20.974Z] > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [2021-01-22T09:33:21.073Z] > git remote # timeout=10 [2021-01-22T09:33:21.090Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T09:33:21.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T09:33:21.112Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-22T09:33:21.139Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T09:33:21.162Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T09:33:21.193Z] > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [2021-01-22T09:33:24.426Z] Commit message: "fix: update compareReadings logic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T09:33:25.494Z] Commit message: "fix: update compareReadings logic" [2021-01-22T09:33:25.719Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-01-22T09:33:26.040Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T09:33:26.356Z] + sudo service docker restart [2021-01-22T09:33:26.356Z] + true [2021-01-22T09:33:26.356Z] Redirecting to /bin/systemctl restart docker.service [2021-01-22T09:33:27.180Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T09:33:27.429Z] provisioning config files... [2021-01-22T09:33:27.456Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config8551483328304981629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T09:33:27.601Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T09:33:27.820Z] ---> docker-login.sh [2021-01-22T09:33:27.820Z] nexus3.edgexfoundry.org:10001 [2021-01-22T09:33:27.949Z] + true [2021-01-22T09:33:27.949Z] + sudo service docker restart [2021-01-22T09:33:28.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:33:28.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:33:28.085Z] Configure a credential helper to remove this warning. See [2021-01-22T09:33:28.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:33:28.085Z] [2021-01-22T09:33:28.085Z] Login Succeeded [2021-01-22T09:33:28.085Z] nexus3.edgexfoundry.org:10002 [2021-01-22T09:33:28.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:33:28.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:33:28.347Z] Configure a credential helper to remove this warning. See [2021-01-22T09:33:28.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:33:28.347Z] [2021-01-22T09:33:28.347Z] Login Succeeded [2021-01-22T09:33:28.347Z] nexus3.edgexfoundry.org:10003 [2021-01-22T09:33:28.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:33:28.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:33:28.609Z] Configure a credential helper to remove this warning. See [2021-01-22T09:33:28.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:33:28.609Z] [2021-01-22T09:33:28.609Z] Login Succeeded [2021-01-22T09:33:28.609Z] nexus3.edgexfoundry.org:10004 [2021-01-22T09:33:28.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:33:28.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:33:28.609Z] Configure a credential helper to remove this warning. See [2021-01-22T09:33:28.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:33:28.609Z] [2021-01-22T09:33:28.609Z] Login Succeeded [2021-01-22T09:33:28.609Z] docker.io [2021-01-22T09:33:28.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:33:29.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:33:29.134Z] Configure a credential helper to remove this warning. See [2021-01-22T09:33:29.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:33:29.134Z] [2021-01-22T09:33:29.134Z] Login Succeeded [2021-01-22T09:33:29.134Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T09:33:29.143Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T09:33:29.496Z] ========================================================= [2021-01-22T09:33:29.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-22T09:33:29.496Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:33:29.850Z] + 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-22T09:33:29.850Z] Sending build context to Docker daemon 2.521MB [2021-01-22T09:33:29.850Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T09:33:29.850Z] Step 2/8 : FROM ${BASE} [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T09:33:30.006Z] provisioning config files... [2021-01-22T09:33:30.065Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config4955684629123127652tmp [Pipeline] { [2021-01-22T09:33:30.115Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-22T09:33:30.115Z] 188c0c94c7c5: Pulling fs layer [2021-01-22T09:33:30.115Z] 0ef7d3d256c8: Pulling fs layer [2021-01-22T09:33:30.115Z] de9db76c5a1d: Pulling fs layer [2021-01-22T09:33:30.115Z] bca2f99d35d6: Pulling fs layer [2021-01-22T09:33:30.115Z] 93359f2a8cfa: Pulling fs layer [2021-01-22T09:33:30.115Z] 7c6f9722023f: Pulling fs layer [2021-01-22T09:33:30.115Z] a35cf1a2eb13: Pulling fs layer [2021-01-22T09:33:30.115Z] 93359f2a8cfa: Waiting [2021-01-22T09:33:30.115Z] 7c6f9722023f: Waiting [2021-01-22T09:33:30.115Z] bca2f99d35d6: Waiting [2021-01-22T09:33:30.115Z] de9db76c5a1d: Verifying Checksum [2021-01-22T09:33:30.115Z] de9db76c5a1d: Download complete [2021-01-22T09:33:30.115Z] 0ef7d3d256c8: Download complete [2021-01-22T09:33:30.115Z] 93359f2a8cfa: Verifying Checksum [2021-01-22T09:33:30.115Z] 93359f2a8cfa: Download complete [2021-01-22T09:33:30.115Z] 7c6f9722023f: Verifying Checksum [2021-01-22T09:33:30.115Z] 7c6f9722023f: Download complete [2021-01-22T09:33:30.115Z] 188c0c94c7c5: Verifying Checksum [2021-01-22T09:33:30.115Z] 188c0c94c7c5: Download complete [Pipeline] libraryResource [Pipeline] sh [2021-01-22T09:33:30.377Z] 188c0c94c7c5: Pull complete [2021-01-22T09:33:30.568Z] ---> docker-login.sh [2021-01-22T09:33:30.568Z] nexus3.edgexfoundry.org:10001 [2021-01-22T09:33:30.638Z] 0ef7d3d256c8: Pull complete [2021-01-22T09:33:30.638Z] de9db76c5a1d: Pull complete [2021-01-22T09:33:31.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:33:31.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:33:31.829Z] Configure a credential helper to remove this warning. See [2021-01-22T09:33:31.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:33:31.829Z] [2021-01-22T09:33:31.829Z] Login Succeeded [2021-01-22T09:33:31.829Z] nexus3.edgexfoundry.org:10002 [2021-01-22T09:33:32.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:33:32.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:33:32.377Z] Configure a credential helper to remove this warning. See [2021-01-22T09:33:32.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:33:32.377Z] [2021-01-22T09:33:32.377Z] Login Succeeded [2021-01-22T09:33:32.377Z] nexus3.edgexfoundry.org:10003 [2021-01-22T09:33:32.602Z] a35cf1a2eb13: Verifying Checksum [2021-01-22T09:33:32.602Z] a35cf1a2eb13: Download complete [2021-01-22T09:33:32.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:33:32.863Z] bca2f99d35d6: Verifying Checksum [2021-01-22T09:33:32.863Z] bca2f99d35d6: Download complete [2021-01-22T09:33:32.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:33:32.923Z] Configure a credential helper to remove this warning. See [2021-01-22T09:33:32.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:33:32.923Z] [2021-01-22T09:33:32.923Z] Login Succeeded [2021-01-22T09:33:32.923Z] nexus3.edgexfoundry.org:10004 [2021-01-22T09:33:33.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:33:33.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:33:33.470Z] Configure a credential helper to remove this warning. See [2021-01-22T09:33:33.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:33:33.470Z] [2021-01-22T09:33:33.470Z] Login Succeeded [2021-01-22T09:33:33.470Z] docker.io [2021-01-22T09:33:34.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T09:33:34.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T09:33:34.066Z] Configure a credential helper to remove this warning. See [2021-01-22T09:33:34.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T09:33:34.066Z] [2021-01-22T09:33:34.066Z] Login Succeeded [2021-01-22T09:33:34.336Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T09:33:34.357Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T09:33:34.836Z] ========================================================= [2021-01-22T09:33:34.836Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-22T09:33:34.836Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:33:35.231Z] + 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-22T09:33:35.833Z] Sending build context to Docker daemon 2.52MB [2021-01-22T09:33:35.833Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T09:33:35.833Z] Step 2/8 : FROM ${BASE} [2021-01-22T09:33:35.833Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-22T09:33:35.833Z] 5f621e34cdf4: Pulling fs layer [2021-01-22T09:33:35.833Z] a4357932f1b6: Pulling fs layer [2021-01-22T09:33:35.833Z] 18c013af1878: Pulling fs layer [2021-01-22T09:33:35.833Z] 00ac8860ef70: Pulling fs layer [2021-01-22T09:33:35.833Z] 63d7cb157983: Pulling fs layer [2021-01-22T09:33:35.833Z] b116817d02f9: Pulling fs layer [2021-01-22T09:33:35.833Z] 745a02a5169b: Pulling fs layer [2021-01-22T09:33:35.833Z] 63d7cb157983: Waiting [2021-01-22T09:33:35.833Z] 745a02a5169b: Waiting [2021-01-22T09:33:35.833Z] 00ac8860ef70: Waiting [2021-01-22T09:33:35.833Z] b116817d02f9: Waiting [2021-01-22T09:33:35.833Z] 18c013af1878: Verifying Checksum [2021-01-22T09:33:35.833Z] 18c013af1878: Download complete [2021-01-22T09:33:35.833Z] a4357932f1b6: Download complete [2021-01-22T09:33:35.833Z] 63d7cb157983: Verifying Checksum [2021-01-22T09:33:35.833Z] 63d7cb157983: Download complete [2021-01-22T09:33:35.833Z] b116817d02f9: Download complete [2021-01-22T09:33:35.833Z] 5f621e34cdf4: Verifying Checksum [2021-01-22T09:33:35.833Z] 5f621e34cdf4: Download complete [2021-01-22T09:33:36.821Z] 5f621e34cdf4: Pull complete [2021-01-22T09:33:37.423Z] a4357932f1b6: Pull complete [2021-01-22T09:33:37.697Z] 18c013af1878: Pull complete [2021-01-22T09:33:38.194Z] bca2f99d35d6: Pull complete [2021-01-22T09:33:38.194Z] 93359f2a8cfa: Pull complete [2021-01-22T09:33:38.194Z] 7c6f9722023f: Pull complete [2021-01-22T09:33:39.129Z] 745a02a5169b: Verifying Checksum [2021-01-22T09:33:39.129Z] 745a02a5169b: Download complete [2021-01-22T09:33:41.104Z] 00ac8860ef70: Verifying Checksum [2021-01-22T09:33:41.104Z] 00ac8860ef70: Download complete [2021-01-22T09:33:46.356Z] a35cf1a2eb13: Pull complete [2021-01-22T09:33:46.356Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-22T09:33:46.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-22T09:33:46.356Z] ---> a62c8e92a672 [2021-01-22T09:33:46.356Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T09:33:46.356Z] ---> Running in 0f9c1fa30078 [2021-01-22T09:33:46.356Z] Removing intermediate container 0f9c1fa30078 [2021-01-22T09:33:46.356Z] ---> e32bf9c339fd [2021-01-22T09:33:46.356Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T09:33:46.356Z] ---> Running in 8ee85cf5daa9 [2021-01-22T09:33:46.928Z] Removing intermediate container 8ee85cf5daa9 [2021-01-22T09:33:46.928Z] ---> 8c8077a179c9 [2021-01-22T09:33:46.928Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-22T09:33:46.928Z] ---> Running in 8dea4061a411 [2021-01-22T09:33:47.505Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T09:33:48.459Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T09:33:48.721Z] OK: 166 MiB in 39 packages [2021-01-22T09:33:49.294Z] Removing intermediate container 8dea4061a411 [2021-01-22T09:33:49.294Z] ---> d3809ccfacd3 [2021-01-22T09:33:49.294Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-22T09:33:49.294Z] ---> Running in 8e286f69e430 [2021-01-22T09:33:49.294Z] Removing intermediate container 8e286f69e430 [2021-01-22T09:33:49.294Z] ---> 34ab6a74d438 [2021-01-22T09:33:49.294Z] Step 7/8 : COPY . . [2021-01-22T09:33:50.686Z] ---> 33bcf5654373 [2021-01-22T09:33:50.686Z] Step 8/8 : RUN go mod download [2021-01-22T09:33:50.686Z] ---> Running in a44964543795 [2021-01-22T09:33:51.265Z] 00ac8860ef70: Pull complete [2021-01-22T09:33:51.265Z] 63d7cb157983: Pull complete [2021-01-22T09:33:51.265Z] b116817d02f9: Pull complete [2021-01-22T09:33:54.648Z] 745a02a5169b: Pull complete [2021-01-22T09:33:54.648Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-22T09:33:54.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-22T09:33:54.648Z] ---> b7e6874047d6 [2021-01-22T09:33:54.648Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T09:33:58.049Z] ---> Running in b08e9ee9ef74 [2021-01-22T09:33:58.049Z] Removing intermediate container b08e9ee9ef74 [2021-01-22T09:33:58.049Z] ---> a1b3506aaf77 [2021-01-22T09:33:58.049Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T09:33:58.049Z] ---> Running in dc68c141c84e [2021-01-22T09:34:00.674Z] Removing intermediate container dc68c141c84e [2021-01-22T09:34:00.674Z] ---> 4e96bc77a4b0 [2021-01-22T09:34:00.674Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-22T09:34:00.674Z] ---> Running in 587bd86fd6c6 [2021-01-22T09:34:01.659Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T09:34:02.639Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T09:34:03.232Z] OK: 142 MiB in 39 packages [2021-01-22T09:34:04.670Z] Removing intermediate container 587bd86fd6c6 [2021-01-22T09:34:04.670Z] ---> 93521e76fa92 [2021-01-22T09:34:04.670Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-22T09:34:04.943Z] ---> Running in 75468c1986fe [2021-01-22T09:34:05.222Z] Removing intermediate container 75468c1986fe [2021-01-22T09:34:05.222Z] ---> cd9506a6bdf1 [2021-01-22T09:34:05.222Z] Step 7/8 : COPY . . [2021-01-22T09:34:06.660Z] ---> 4f7de8c1d4b9 [2021-01-22T09:34:06.660Z] Step 8/8 : RUN go mod download [2021-01-22T09:34:06.932Z] ---> Running in 890f28b60c8c [2021-01-22T09:34:08.835Z] Removing intermediate container a44964543795 [2021-01-22T09:34:08.836Z] ---> fd298765073a [2021-01-22T09:34:08.836Z] Successfully built fd298765073a [2021-01-22T09:34:08.836Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:34:09.279Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T09:34:09.279Z] . [Pipeline] withDockerContainer [2021-01-22T09:34:09.385Z] prd-centos7-docker-4c-2g-22262 does not seem to be running inside a container [2021-01-22T09:34:09.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-22T09:34:10.141Z] $ docker top 2a1a12b4550d82908d6007b69bced2277476cdef9bc5b38af5c76c230f119ffd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T09:34:10.681Z] + go version [2021-01-22T09:34:10.681Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-22T09:34:10.695Z] $ docker stop --time=1 2a1a12b4550d82908d6007b69bced2277476cdef9bc5b38af5c76c230f119ffd [2021-01-22T09:34:12.025Z] $ docker rm -f 2a1a12b4550d82908d6007b69bced2277476cdef9bc5b38af5c76c230f119ffd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:34:12.823Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T09:34:12.824Z] . [Pipeline] withDockerContainer [2021-01-22T09:34:12.914Z] prd-centos7-docker-4c-2g-22262 does not seem to be running inside a container [2021-01-22T09:34:12.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-22T09:34:13.466Z] $ docker top 24cb646f59094a9e550ee7e3ce9dfb5c6c1e3d3d7b110d4e538fefa70b4f7c1d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T09:34:13.969Z] + make test [2021-01-22T09:34:13.969Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-22T09:34:22.148Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-22T09:34:29.085Z] Removing intermediate container 890f28b60c8c [2021-01-22T09:34:29.085Z] ---> e7d0bfffb997 [2021-01-22T09:34:29.085Z] Successfully built e7d0bfffb997 [2021-01-22T09:34:29.085Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:34:29.419Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T09:34:29.419Z] . [Pipeline] withDockerContainer [2021-01-22T09:34:29.651Z] prd-ubuntu18.04-docker-arm64-4c-16g-22261 does not seem to be running inside a container [2021-01-22T09:34:29.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-22T09:34:31.326Z] $ docker top d1d0e30537c28ea0756de85a632e12a412fea91764bcaca332d1cef8f8171489 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T09:34:32.362Z] + go version [2021-01-22T09:34:32.362Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-22T09:34:32.389Z] $ docker stop --time=1 d1d0e30537c28ea0756de85a632e12a412fea91764bcaca332d1cef8f8171489 [2021-01-22T09:34:34.465Z] $ docker rm -f d1d0e30537c28ea0756de85a632e12a412fea91764bcaca332d1cef8f8171489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:34:35.483Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T09:34:35.483Z] . [Pipeline] withDockerContainer [2021-01-22T09:34:35.716Z] prd-ubuntu18.04-docker-arm64-4c-16g-22261 does not seem to be running inside a container [2021-01-22T09:34:35.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-22T09:34:37.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-22T09:34:37.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-22T09:34:37.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-22T09:34:37.222Z] $ docker top bdcc92ec11e7b64ba78e2cdfbf0b1feea083ab3559f5e3c4ac862785f7d1d112 -eo pid,comm [2021-01-22T09:34:37.442Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 24.3% of statements [Pipeline] { [Pipeline] sh [2021-01-22T09:34:38.220Z] + make test [2021-01-22T09:34:38.220Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-22T09:34:38.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.469s coverage: 97.1% of statements [2021-01-22T09:35:00.399Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-22T09:35:10.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.054s coverage: 9.4% of statements [2021-01-22T09:35:10.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.061s coverage: 22.9% of statements [2021-01-22T09:35:10.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-22T09:35:10.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.065s coverage: 84.8% of statements [2021-01-22T09:35:10.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-22T09:35:10.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-22T09:35:10.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-22T09:35:10.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-22T09:35:10.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.068s coverage: 53.8% of statements [2021-01-22T09:35:10.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-22T09:35:10.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-22T09:35:10.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.074s coverage: 26.8% of statements [2021-01-22T09:35:10.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.402s coverage: 83.5% of statements [2021-01-22T09:35:10.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-22T09:35:10.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-22T09:35:10.557Z] GO111MODULE=on go vet ./... [2021-01-22T09:35:15.942Z] gofmt -l . [2021-01-22T09:35:15.942Z] [ "`gofmt -l .`" = "" ] [2021-01-22T09:35:15.942Z] ./bin/test-attribution-txt.sh [2021-01-22T09:35:16.540Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-22T09:35:16.821Z] $ docker stop --time=1 24cb646f59094a9e550ee7e3ce9dfb5c6c1e3d3d7b110d4e538fefa70b4f7c1d [2021-01-22T09:35:18.677Z] $ docker rm -f 24cb646f59094a9e550ee7e3ce9dfb5c6c1e3d3d7b110d4e538fefa70b4f7c1d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T09:35:19.268Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T09:35:19.690Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-22T09:35:21.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T09:35:21.331Z] + ls -al . [2021-01-22T09:35:21.331Z] total 188 [2021-01-22T09:35:21.331Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 09:35 . [2021-01-22T09:35:21.331Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 22 09:33 .. [2021-01-22T09:35:21.331Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 09:33 bin [2021-01-22T09:35:21.331Z] -rw-r--r--. 1 jenkins jenkins 109745 Jan 22 09:35 coverage.out [2021-01-22T09:35:21.331Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 09:33 Dockerfile.build [2021-01-22T09:35:21.331Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 09:33 .dockerignore [2021-01-22T09:35:21.331Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 09:33 example [2021-01-22T09:35:21.331Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 09:33 .git [2021-01-22T09:35:21.331Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 09:33 .github [2021-01-22T09:35:21.331Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 09:33 .gitignore [2021-01-22T09:35:21.331Z] -rw-r--r--. 1 jenkins jenkins 479 Jan 22 09:35 go.mod [2021-01-22T09:35:21.331Z] -rw-r--r--. 1 jenkins jenkins 13845 Jan 22 09:35 go.sum [2021-01-22T09:35:21.331Z] drwxrwxr-x. 14 jenkins jenkins 196 Jan 22 09:33 internal [2021-01-22T09:35:21.331Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 22 09:33 Jenkinsfile [2021-01-22T09:35:21.331Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 09:33 LICENSE [2021-01-22T09:35:21.331Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 09:33 Makefile [2021-01-22T09:35:21.331Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 09:33 openapi [2021-01-22T09:35:21.331Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 09:33 pkg [2021-01-22T09:35:21.331Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 09:33 README.md [2021-01-22T09:35:21.331Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 09:33 RELEASE-NOTES.txt [2021-01-22T09:35:21.331Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 09:33 snap [2021-01-22T09:35:21.331Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 09:30 VERSION [2021-01-22T09:35:21.331Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 09:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:35:21.633Z] + 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=4226f0ad5c9ea1cff809c5b314d321b691040421 --label arch=amd64 --label version=0.0.0 . [2021-01-22T09:35:21.895Z] Sending build context to Docker daemon 2.631MB [2021-01-22T09:35:21.895Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T09:35:21.895Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-22T09:35:21.895Z] ---> fd298765073a [2021-01-22T09:35:21.895Z] Step 3/24 : ARG MAKE='make build' [2021-01-22T09:35:22.468Z] ---> Running in c8fcbf103d29 [2021-01-22T09:35:22.468Z] Removing intermediate container c8fcbf103d29 [2021-01-22T09:35:22.468Z] ---> 3193ace30267 [2021-01-22T09:35:22.468Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-22T09:35:22.468Z] ---> Running in a9460485853c [2021-01-22T09:35:22.731Z] Removing intermediate container a9460485853c [2021-01-22T09:35:22.731Z] ---> 3ff392da0b9d [2021-01-22T09:35:22.731Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T09:35:22.731Z] ---> Running in 19185d37a543 [2021-01-22T09:35:22.993Z] Removing intermediate container 19185d37a543 [2021-01-22T09:35:22.993Z] ---> 8ea9d3946aaa [2021-01-22T09:35:22.993Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T09:35:22.993Z] ---> Running in 6e8820795a72 [2021-01-22T09:35:23.947Z] Removing intermediate container 6e8820795a72 [2021-01-22T09:35:23.947Z] ---> e798094d04f5 [2021-01-22T09:35:23.947Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-22T09:35:23.947Z] ---> Running in 0d893737012c [2021-01-22T09:35:24.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T09:35:25.105Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T09:35:25.679Z] OK: 166 MiB in 39 packages [2021-01-22T09:35:26.253Z] Removing intermediate container 0d893737012c [2021-01-22T09:35:26.253Z] ---> 4c236025cc3c [2021-01-22T09:35:26.253Z] Step 8/24 : COPY . . [2021-01-22T09:35:27.198Z] ---> 6c530a9c32b4 [2021-01-22T09:35:27.198Z] Step 9/24 : RUN ${MAKE} [2021-01-22T09:35:27.198Z] ---> Running in a5333c7d91ea [2021-01-22T09:35:27.782Z] 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-22T09:35:35.985Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-22T09:35:37.379Z] Removing intermediate container a5333c7d91ea [2021-01-22T09:35:37.379Z] ---> 6d106f9a76e3 [2021-01-22T09:35:37.379Z] Step 10/24 : FROM scratch [2021-01-22T09:35:37.379Z] ---> [2021-01-22T09:35:37.379Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T09:35:37.379Z] ---> Running in 2abdf2995831 [2021-01-22T09:35:37.379Z] Removing intermediate container 2abdf2995831 [2021-01-22T09:35:37.379Z] ---> 015af3e0c440 [2021-01-22T09:35:37.379Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-22T09:35:37.642Z] ---> Running in dbbdb47276f4 [2021-01-22T09:35:37.642Z] Removing intermediate container dbbdb47276f4 [2021-01-22T09:35:37.642Z] ---> 3a491b4a3357 [2021-01-22T09:35:37.642Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-22T09:35:37.642Z] ---> Running in 8dad10b569e2 [2021-01-22T09:35:37.904Z] Removing intermediate container 8dad10b569e2 [2021-01-22T09:35:37.904Z] ---> 94c8433a9707 [2021-01-22T09:35:37.904Z] Step 14/24 : WORKDIR / [2021-01-22T09:35:37.904Z] ---> Running in 82e40b54077e [2021-01-22T09:35:38.171Z] Removing intermediate container 82e40b54077e [2021-01-22T09:35:38.171Z] ---> 02a9da7ba9df [2021-01-22T09:35:38.171Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-22T09:35:38.745Z] ---> c787588c9e14 [2021-01-22T09:35:38.745Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-22T09:35:38.745Z] ---> 5ff3bf2966e6 [2021-01-22T09:35:38.745Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-22T09:35:39.006Z] ---> 2c00684a5da2 [2021-01-22T09:35:39.006Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-22T09:35:39.268Z] ---> 07d0d6504918 [2021-01-22T09:35:39.269Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-22T09:35:39.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-22T09:35:39.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-22T09:35:39.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-22T09:35:39.530Z] ---> 2b4ea132743a [2021-01-22T09:35:39.530Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-22T09:35:39.530Z] ---> Running in dbdb4628a900 [2021-01-22T09:35:39.793Z] Removing intermediate container dbdb4628a900 [2021-01-22T09:35:39.793Z] ---> cc8bcdb9adf6 [2021-01-22T09:35:39.793Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-22T09:35:39.793Z] ---> Running in 522144905cfe [2021-01-22T09:35:39.793Z] Removing intermediate container 522144905cfe [2021-01-22T09:35:39.793Z] ---> b4e339fb17ce [2021-01-22T09:35:39.793Z] Step 22/24 : LABEL arch=amd64 [2021-01-22T09:35:40.063Z] ---> Running in e58e3ff4f750 [2021-01-22T09:35:40.063Z] Removing intermediate container e58e3ff4f750 [2021-01-22T09:35:40.063Z] ---> c2df54ae7e6f [2021-01-22T09:35:40.063Z] Step 23/24 : LABEL git_sha=4226f0ad5c9ea1cff809c5b314d321b691040421 [2021-01-22T09:35:40.084Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 24.3% of statements [2021-01-22T09:35:40.325Z] ---> Running in 589436ef8c5b [2021-01-22T09:35:40.325Z] Removing intermediate container 589436ef8c5b [2021-01-22T09:35:40.325Z] ---> 0157864dc6b8 [2021-01-22T09:35:40.325Z] Step 24/24 : LABEL version=0.0.0 [2021-01-22T09:35:40.588Z] ---> Running in b874cf963cc8 [2021-01-22T09:35:40.851Z] Removing intermediate container b874cf963cc8 [2021-01-22T09:35:40.851Z] ---> c070b06846d8 [2021-01-22T09:35:40.851Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-22T09:35:40.851Z] Successfully built c070b06846d8 [2021-01-22T09:35:40.851Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-22T09:35:43.521Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.169s coverage: 97.1% of statements [2021-01-22T09:36:15.915Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.183s coverage: 9.4% of statements [2021-01-22T09:36:15.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.117s coverage: 22.9% of statements [2021-01-22T09:36:15.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-22T09:36:15.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.153s coverage: 84.8% of statements [2021-01-22T09:36:15.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-22T09:36:15.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-22T09:36:15.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-22T09:36:15.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-22T09:36:15.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.190s coverage: 53.8% of statements [2021-01-22T09:36:15.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-22T09:36:15.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-22T09:36:15.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.178s coverage: 26.8% of statements [2021-01-22T09:36:15.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.037s coverage: 83.5% of statements [2021-01-22T09:36:15.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 4.2% of statements [2021-01-22T09:36:15.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-22T09:36:15.916Z] GO111MODULE=on go vet ./... [2021-01-22T09:36:48.511Z] gofmt -l . [2021-01-22T09:36:48.511Z] [ "`gofmt -l .`" = "" ] [2021-01-22T09:36:48.511Z] ./bin/test-attribution-txt.sh [2021-01-22T09:36:48.511Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-22T09:36:48.535Z] $ docker stop --time=1 bdcc92ec11e7b64ba78e2cdfbf0b1feea083ab3559f5e3c4ac862785f7d1d112 [2021-01-22T09:36:50.631Z] $ docker rm -f bdcc92ec11e7b64ba78e2cdfbf0b1feea083ab3559f5e3c4ac862785f7d1d112 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T09:36:51.791Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T09:36:51.811Z] Warning: overwriting stash ‘coverage-report’ [2021-01-22T09:36:52.624Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T09:36:53.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T09:36:53.706Z] + ls -al . [2021-01-22T09:36:53.706Z] total 224 [2021-01-22T09:36:53.706Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 09:36 . [2021-01-22T09:36:53.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 09:33 .. [2021-01-22T09:36:53.706Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 09:33 .dockerignore [2021-01-22T09:36:53.706Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 09:33 .git [2021-01-22T09:36:53.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 09:33 .github [2021-01-22T09:36:53.706Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 09:33 .gitignore [2021-01-22T09:36:53.706Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 09:33 Dockerfile.build [2021-01-22T09:36:53.706Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 22 09:33 Jenkinsfile [2021-01-22T09:36:53.706Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 09:33 LICENSE [2021-01-22T09:36:53.706Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 09:33 Makefile [2021-01-22T09:36:53.706Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 09:33 README.md [2021-01-22T09:36:53.706Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 09:33 RELEASE-NOTES.txt [2021-01-22T09:36:53.706Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 09:30 VERSION [2021-01-22T09:36:53.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 09:33 bin [2021-01-22T09:36:53.706Z] -rw-r--r-- 1 jenkins jenkins 109745 Jan 22 09:36 coverage.out [2021-01-22T09:36:53.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 09:33 example [2021-01-22T09:36:53.706Z] -rw-r--r-- 1 jenkins jenkins 479 Jan 22 09:36 go.mod [2021-01-22T09:36:53.706Z] -rw-r--r-- 1 jenkins jenkins 13845 Jan 22 09:36 go.sum [2021-01-22T09:36:53.706Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 22 09:33 internal [2021-01-22T09:36:53.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 09:33 openapi [2021-01-22T09:36:53.706Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 09:33 pkg [2021-01-22T09:36:53.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 09:33 snap [2021-01-22T09:36:53.706Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 09:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:36:54.047Z] + 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=4226f0ad5c9ea1cff809c5b314d321b691040421 --label arch=arm64 --label version=0.0.0 . [2021-01-22T09:36:54.643Z] Sending build context to Docker daemon 2.63MB [2021-01-22T09:36:54.643Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T09:36:54.643Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-22T09:36:54.643Z] ---> e7d0bfffb997 [2021-01-22T09:36:54.643Z] Step 3/24 : ARG MAKE='make build' [2021-01-22T09:36:54.913Z] ---> Running in 1710e42ab994 [2021-01-22T09:36:55.508Z] Removing intermediate container 1710e42ab994 [2021-01-22T09:36:55.508Z] ---> 120c737cb228 [2021-01-22T09:36:55.508Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-22T09:36:55.508Z] ---> Running in 59983d76b171 [2021-01-22T09:36:56.104Z] Removing intermediate container 59983d76b171 [2021-01-22T09:36:56.104Z] ---> b763de1ae4ae [2021-01-22T09:36:56.104Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T09:36:56.104Z] ---> Running in 3198ff829f64 [2021-01-22T09:36:56.701Z] Removing intermediate container 3198ff829f64 [2021-01-22T09:36:56.701Z] ---> 0cd3aad70622 [2021-01-22T09:36:56.701Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T09:36:56.701Z] ---> Running in 3a4705991a5e [2021-01-22T09:36:58.673Z] Removing intermediate container 3a4705991a5e [2021-01-22T09:36:58.674Z] ---> 1af4b0a6481f [2021-01-22T09:36:58.674Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-22T09:36:58.945Z] ---> Running in ec90689cda36 [2021-01-22T09:36:59.920Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T09:37:00.904Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T09:37:01.507Z] OK: 142 MiB in 39 packages [2021-01-22T09:37:02.492Z] Removing intermediate container ec90689cda36 [2021-01-22T09:37:02.492Z] ---> 59a68f5e22cc [2021-01-22T09:37:02.492Z] Step 8/24 : COPY . . [2021-01-22T09:37:03.923Z] ---> 1f2b9f1f2751 [2021-01-22T09:37:03.923Z] Step 9/24 : RUN ${MAKE} [2021-01-22T09:37:03.923Z] ---> Running in 363efb53da6a [2021-01-22T09:37:05.357Z] 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-22T09:37:32.156Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-22T09:37:32.156Z] Removing intermediate container 363efb53da6a [2021-01-22T09:37:32.156Z] ---> 18e2b7f4d4cc [2021-01-22T09:37:32.156Z] Step 10/24 : FROM scratch [2021-01-22T09:37:32.156Z] ---> [2021-01-22T09:37:32.156Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T09:37:32.156Z] ---> Running in 32010b0e7a5f [2021-01-22T09:37:32.156Z] Removing intermediate container 32010b0e7a5f [2021-01-22T09:37:32.156Z] ---> 6a4f3448f45a [2021-01-22T09:37:32.156Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-22T09:37:32.156Z] ---> Running in a5598ffa4298 [2021-01-22T09:37:32.427Z] Removing intermediate container a5598ffa4298 [2021-01-22T09:37:32.427Z] ---> 7b9879d5c794 [2021-01-22T09:37:32.427Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-22T09:37:32.698Z] ---> Running in 0f229ca56774 [2021-01-22T09:37:32.969Z] Removing intermediate container 0f229ca56774 [2021-01-22T09:37:32.969Z] ---> 96e52cc1cc93 [2021-01-22T09:37:32.969Z] Step 14/24 : WORKDIR / [2021-01-22T09:37:33.241Z] ---> Running in d3c02e32ac99 [2021-01-22T09:37:33.513Z] Removing intermediate container d3c02e32ac99 [2021-01-22T09:37:33.513Z] ---> 68d9f48fbaa7 [2021-01-22T09:37:33.513Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-22T09:37:34.944Z] ---> dd896309e62b [2021-01-22T09:37:34.945Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-22T09:37:35.537Z] ---> 1b8162cdf305 [2021-01-22T09:37:35.537Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-22T09:37:36.130Z] ---> 11540c39eb7a [2021-01-22T09:37:36.130Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-22T09:37:36.723Z] ---> 058b2c8d4986 [2021-01-22T09:37:36.723Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-22T09:37:37.708Z] ---> 143d7e970dee [2021-01-22T09:37:37.708Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-22T09:37:37.708Z] ---> Running in f2739c633762 [2021-01-22T09:37:38.301Z] Removing intermediate container f2739c633762 [2021-01-22T09:37:38.301Z] ---> a9d60911e378 [2021-01-22T09:37:38.301Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-22T09:37:38.301Z] ---> Running in 53d252c81e98 [2021-01-22T09:37:38.896Z] Removing intermediate container 53d252c81e98 [2021-01-22T09:37:38.896Z] ---> 482c468e425d [2021-01-22T09:37:38.896Z] Step 22/24 : LABEL arch=arm64 [2021-01-22T09:37:38.896Z] ---> Running in 4deb34056517 [2021-01-22T09:37:39.490Z] Removing intermediate container 4deb34056517 [2021-01-22T09:37:39.490Z] ---> 3e5cc8ea8323 [2021-01-22T09:37:39.490Z] Step 23/24 : LABEL git_sha=4226f0ad5c9ea1cff809c5b314d321b691040421 [2021-01-22T09:37:39.490Z] ---> Running in 0ac163ccf9cb [2021-01-22T09:37:39.763Z] Removing intermediate container 0ac163ccf9cb [2021-01-22T09:37:39.763Z] ---> 70f732bfde38 [2021-01-22T09:37:39.763Z] Step 24/24 : LABEL version=0.0.0 [2021-01-22T09:37:40.034Z] ---> Running in 670b8c3052b3 [2021-01-22T09:37:40.629Z] Removing intermediate container 670b8c3052b3 [2021-01-22T09:37:40.629Z] ---> 6d1cadc18cd9 [2021-01-22T09:37:40.629Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-22T09:37:40.629Z] Successfully built 6d1cadc18cd9 [2021-01-22T09:37:40.629Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-22T09:37:42.283Z] provisioning config files... [2021-01-22T09:37:42.292Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config5206393356484423629tmp [Pipeline] { [Pipeline] sh [2021-01-22T09:37:42.681Z] + set +x [2021-01-22T09:37:42.681Z] + curl -s https://codecov.io/bash [2021-01-22T09:37:42.681Z] + bash -s -- [2021-01-22T09:37:42.943Z] [2021-01-22T09:37:42.943Z] _____ _ [2021-01-22T09:37:42.943Z] / ____| | | [2021-01-22T09:37:42.943Z] | | ___ __| | ___ ___ _____ __ [2021-01-22T09:37:42.943Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-22T09:37:42.943Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-22T09:37:42.943Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-22T09:37:42.943Z] Bash-20210115-cec3c92 [2021-01-22T09:37:42.943Z] [2021-01-22T09:37:42.943Z] [2021-01-22T09:37:42.943Z] ==> git version 2.24.3 found [2021-01-22T09:37:42.943Z] ==> 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-22T09:37:42.943Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-22T09:37:42.943Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-22T09:37:42.943Z] ==> Jenkins CI detected. [2021-01-22T09:37:42.943Z] project root: . [2021-01-22T09:37:42.943Z] --> token set from env [2021-01-22T09:37:42.943Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-22T09:37:42.943Z] ==> Running gcov in . (disable via -X gcov) [2021-01-22T09:37:42.943Z] ==> Python coveragepy not found [2021-01-22T09:37:42.943Z] ==> Searching for coverage reports in: [2021-01-22T09:37:42.943Z] + . [2021-01-22T09:37:42.943Z] -> Found 1 reports [2021-01-22T09:37:42.943Z] ==> Detecting git/mercurial file structure [2021-01-22T09:37:42.943Z] ==> Reading reports [2021-01-22T09:37:42.943Z] + ./coverage.out bytes=109745 [2021-01-22T09:37:42.943Z] ==> Appending adjustments [2021-01-22T09:37:42.943Z] https://docs.codecov.io/docs/fixing-reports [2021-01-22T09:37:43.515Z] + Found adjustments [2021-01-22T09:37:43.515Z] ==> Gzipping contents [2021-01-22T09:37:43.515Z] 20K /tmp/codecov.bn3cF3.gz [2021-01-22T09:37:43.515Z] ==> Uploading reports [2021-01-22T09:37:43.515Z] url: https://codecov.io [2021-01-22T09:37:43.515Z] query: branch=PR-746&commit=4226f0ad5c9ea1cff809c5b314d321b691040421&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-22T09:37:43.515Z] -> Pinging Codecov [2021-01-22T09:37:43.515Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-746&commit=4226f0ad5c9ea1cff809c5b314d321b691040421&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-22T09:37:44.086Z] -> Uploading to [2021-01-22T09:37:44.086Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/4226f0ad5c9ea1cff809c5b314d321b691040421/cf69a3dc-f197-4699-bbfe-e535e46e7a7b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T093743Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b16230ec84eaa4609fb9a607911c43f6cc4e9c2dd7422958eed30f6c599b18ee [2021-01-22T09:37:44.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-22T09:37:44.086Z] Dload Upload Total Spent Left Speed [2021-01-22T09:37:44.610Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18029 0 0 100 18029 0 38940 --:--:-- --:--:-- --:--:-- 38939 [2021-01-22T09:37:44.610Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4226f0ad5c9ea1cff809c5b314d321b691040421 [Pipeline] } [2021-01-22T09:37:44.625Z] 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-22T09:37:47.937Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T09:37:48.238Z] ---> package-listing.sh [2021-01-22T09:37:48.238Z] ++ facter osfamily [2021-01-22T09:37:48.238Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-22T09:37:48.238Z] + OS_FAMILY=redhat [2021-01-22T09:37:48.238Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-22T09:37:48.238Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-22T09:37:48.238Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-22T09:37:48.238Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-22T09:37:48.238Z] + PACKAGES=/tmp/packages_start.txt [2021-01-22T09:37:48.238Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-22T09:37:48.238Z] + PACKAGES=/tmp/packages_end.txt [2021-01-22T09:37:48.238Z] + case "${OS_FAMILY}" in [2021-01-22T09:37:48.238Z] + rpm -qa [2021-01-22T09:37:48.238Z] + sort [2021-01-22T09:37:53.543Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-22T09:37:53.543Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-22T09:37:53.543Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-22T09:37:53.543Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-22T09:37:53.543Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [2021-01-22T09:37:53.543Z] + 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-22T09:37:53.555Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-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-22T09:37:53.842Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:37:54.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T09:37:54.144Z] [2021-01-22T09:37:54.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-22T09:37:54.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T09:37:54.493Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-22T09:37:54.493Z] df20fa9351a1: Pulling fs layer [2021-01-22T09:37:54.493Z] 36b3adc4ff6f: Pulling fs layer [2021-01-22T09:37:54.493Z] 8ad3a11d3b57: Pulling fs layer [2021-01-22T09:37:54.493Z] 46f8f816bc3b: Pulling fs layer [2021-01-22T09:37:54.493Z] 93b61091891f: Pulling fs layer [2021-01-22T09:37:54.493Z] 93b9cdb0e59b: Pulling fs layer [2021-01-22T09:37:54.493Z] 5e14af77c1be: Pulling fs layer [2021-01-22T09:37:54.493Z] 01666e4c0597: Pulling fs layer [2021-01-22T09:37:54.493Z] aa168da1d23b: Pulling fs layer [2021-01-22T09:37:54.493Z] 93b61091891f: Waiting [2021-01-22T09:37:54.493Z] 93b9cdb0e59b: Waiting [2021-01-22T09:37:54.493Z] 01666e4c0597: Waiting [2021-01-22T09:37:54.493Z] 5e14af77c1be: Waiting [2021-01-22T09:37:54.493Z] aa168da1d23b: Waiting [2021-01-22T09:37:54.493Z] 46f8f816bc3b: Waiting [2021-01-22T09:37:54.493Z] 36b3adc4ff6f: Download complete [2021-01-22T09:37:54.493Z] 46f8f816bc3b: Verifying Checksum [2021-01-22T09:37:54.493Z] 46f8f816bc3b: Download complete [2021-01-22T09:37:54.493Z] df20fa9351a1: Download complete [2021-01-22T09:37:54.493Z] 93b9cdb0e59b: Verifying Checksum [2021-01-22T09:37:54.493Z] 93b9cdb0e59b: Download complete [2021-01-22T09:37:54.762Z] 5e14af77c1be: Verifying Checksum [2021-01-22T09:37:54.762Z] 5e14af77c1be: Download complete [2021-01-22T09:37:54.762Z] 93b61091891f: Verifying Checksum [2021-01-22T09:37:54.762Z] 93b61091891f: Download complete [2021-01-22T09:37:54.762Z] 01666e4c0597: Verifying Checksum [2021-01-22T09:37:54.762Z] 01666e4c0597: Download complete [2021-01-22T09:37:54.762Z] df20fa9351a1: Pull complete [2021-01-22T09:37:55.027Z] 8ad3a11d3b57: Verifying Checksum [2021-01-22T09:37:55.027Z] 8ad3a11d3b57: Download complete [2021-01-22T09:37:55.027Z] 36b3adc4ff6f: Pull complete [2021-01-22T09:37:55.985Z] 8ad3a11d3b57: Pull complete [2021-01-22T09:37:55.985Z] 46f8f816bc3b: Pull complete [2021-01-22T09:37:56.248Z] 93b61091891f: Pull complete [2021-01-22T09:37:56.511Z] aa168da1d23b: Verifying Checksum [2021-01-22T09:37:56.511Z] aa168da1d23b: Download complete [2021-01-22T09:37:57.083Z] 93b9cdb0e59b: Pull complete [2021-01-22T09:37:57.083Z] 5e14af77c1be: Pull complete [2021-01-22T09:37:57.344Z] 01666e4c0597: Pull complete [2021-01-22T09:38:03.957Z] aa168da1d23b: Pull complete [2021-01-22T09:38:03.957Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-22T09:38:03.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T09:38:03.957Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-22T09:38:04.103Z] prd-centos7-docker-4c-2g-22260 does not seem to be running inside a container [2021-01-22T09:38:04.145Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-22T09:38:07.259Z] $ docker top ca26859a2022e4b0776157c6987be3ff866e076ad8b8651b7f6b3ec93d925fec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T09:38:07.749Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-22T09:38:08.043Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-22T09:38:08.339Z] + ls /var/log/sa-host [2021-01-22T09:38:08.339Z] + sadf -c /var/log/sa-host/sa22 [2021-01-22T09:38:08.339Z] file_magic: OK [2021-01-22T09:38:08.339Z] HZ: Using current value: 100 [2021-01-22T09:38:08.339Z] file_header: OK [2021-01-22T09:38:08.339Z] 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-22T09:38:08.339Z] Statistics: [2021-01-22T09:38:08.339Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-22T09:38:08.339Z] File successfully converted to sysstat format version 12.2.1 [2021-01-22T09:38:08.339Z] + sadf -c /var/log/sa-host/sa23 [2021-01-22T09:38:08.339Z] file_magic: OK [2021-01-22T09:38:08.339Z] HZ: Using current value: 100 [2021-01-22T09:38:08.339Z] file_header: OK [2021-01-22T09:38:08.339Z] 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-22T09:38:08.339Z] Statistics: [2021-01-22T09:38:08.339Z] Hnuu...uuuununununu... [2021-01-22T09:38:08.339Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-22T09:38:08.540Z] provisioning config files... [2021-01-22T09:38:08.554Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config4945867365989109757tmp [Pipeline] { [Pipeline] echo [2021-01-22T09:38:08.658Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T09:38:08.966Z] ---> create-netrc.sh [Pipeline] } [2021-01-22T09:38:08.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-22T09:38:09.070Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T09:38:09.366Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-22T09:38:09.377Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T09:38:09.670Z] ---> sudo-logs.sh [2021-01-22T09:38:09.671Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-22T09:38:09.681Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T09:38:09.973Z] ---> job-cost.sh [2021-01-22T09:38:09.973Z] lf-activate-venv: SKIPPING [2021-01-22T09:38:09.973Z] INFO: No Stack... [2021-01-22T09:38:11.898Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-22T09:38:12.469Z] INFO: Archiving Costs [Pipeline] echo [2021-01-22T09:38:12.482Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T09:38:12.774Z] ---> logs-deploy.sh [2021-01-22T09:38:12.774Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/6 [2021-01-22T09:38:12.774Z] INFO: archiving workspace using pattern(s): [2021-01-22T09:38:14.689Z] Archives upload complete. [2021-01-22T09:38:14.689Z] INFO: archiving logs to Nexus