Pull request #733 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 39f6424327cfa2a2c159b16b6df03d14786ff292+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (28405a7f9d860be29cbd1e28fc04c35d92847245) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20641’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20648 in /w/workspace/dgexfoundry_device-sdk-go_PR-733 [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-733 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 39f6424327cfa2a2c159b16b6df03d14786ff292 Merge succeeded, producing 39f6424327cfa2a2c159b16b6df03d14786ff292 Checking out Revision 39f6424327cfa2a2c159b16b6df03d14786ff292 (PR-733) > 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/733/head:refs/remotes/origin/PR-733 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39f6424327cfa2a2c159b16b6df03d14786ff292 # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39f6424327cfa2a2c159b16b6df03d14786ff292 # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.4 to 1.1.5" First time build. Skipping changelog. > git rev-list --no-walk 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-15T21:46:42.316Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-15T21:46:42.552Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-15T21:46:42.676Z] ========================================================= [2021-01-15T21:46:42.676Z] EdgeX Global Pipelines Version Info [2021-01-15T21:46:42.676Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:46:44.247Z] ------------------- [2021-01-15T21:46:44.247Z] stable info: [2021-01-15T21:46:44.247Z] ------------------- [2021-01-15T21:46:44.247Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-15T21:46:44.247Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T21:46:44.247Z] Message: update stable to v1.0.177 [2021-01-15T21:46:45.214Z] ------------------- [2021-01-15T21:46:45.214Z] experimental info: [2021-01-15T21:46:45.214Z] ------------------- [2021-01-15T21:46:45.214Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-15T21:46:45.214Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-15T21:46:45.214Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-15T21:46:45.486Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-15T21:46:45.571Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-15T21:46:45.679Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-15T21:46:45.829Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-15T21:46:45.912Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-15T21:46:46.043Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-15T21:46:46.161Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-15T21:46:46.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-15T21:46:46.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-15T21:46:46.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-15T21:46:46.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-15T21:46:46.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-15T21:46:46.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-15T21:46:46.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-15T21:46:46.921Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-15T21:46:47.024Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:46:47.121Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:46:47.215Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:46:47.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-15T21:46:47.391Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-15T21:46:47.489Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-15T21:46:47.575Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-15T21:46:47.658Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-15T21:46:47.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-15T21:46:47.869Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-15T21:46:47.959Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-15T21:46:48.042Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-15T21:46:48.148Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-733 [Pipeline] echo [2021-01-15T21:46:48.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-733 [Pipeline] echo [2021-01-15T21:46:48.325Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-733 [Pipeline] echo [2021-01-15T21:46:48.463Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39f6424327cfa2a2c159b16b6df03d14786ff292 [Pipeline] echo [2021-01-15T21:46:48.578Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39f6424 [Pipeline] echo [2021-01-15T21:46:48.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:46:48.878Z] provisioning config files... [2021-01-15T21:46:48.912Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/config5794178343836267952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:46:49.278Z] ---> docker-login.sh [2021-01-15T21:46:49.278Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:46:49.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:46:49.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:46:49.806Z] Configure a credential helper to remove this warning. See [2021-01-15T21:46:49.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:46:49.806Z] [2021-01-15T21:46:49.806Z] Login Succeeded [2021-01-15T21:46:49.806Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:46:49.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:46:49.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:46:49.806Z] Configure a credential helper to remove this warning. See [2021-01-15T21:46:49.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:46:49.806Z] [2021-01-15T21:46:49.806Z] Login Succeeded [2021-01-15T21:46:49.806Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:46:50.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:46:50.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:46:50.070Z] Configure a credential helper to remove this warning. See [2021-01-15T21:46:50.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:46:50.070Z] [2021-01-15T21:46:50.070Z] Login Succeeded [2021-01-15T21:46:50.070Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:46:50.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:46:50.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:46:50.333Z] Configure a credential helper to remove this warning. See [2021-01-15T21:46:50.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:46:50.333Z] [2021-01-15T21:46:50.333Z] Login Succeeded [2021-01-15T21:46:50.333Z] docker.io [2021-01-15T21:46:50.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:46:50.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:46:50.598Z] Configure a credential helper to remove this warning. See [2021-01-15T21:46:50.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:46:50.598Z] [2021-01-15T21:46:50.598Z] Login Succeeded [2021-01-15T21:46:50.598Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:46:50.612Z] 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-15T21:46:51.514Z] + git log --format=format:%s -1 39f6424327cfa2a2c159b16b6df03d14786ff292 [Pipeline] echo [2021-01-15T21:46:51.580Z] GIT_COMMIT: 39f6424327cfa2a2c159b16b6df03d14786ff292, Commit Message: build(deps): bump github.com/google/uuid from 1.1.4 to 1.1.5 [Pipeline] echo [2021-01-15T21:46:51.625Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:46:52.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:46:52.213Z] [2021-01-15T21:46:52.213Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:46:52.558Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:46:52.558Z] latest: Pulling from edgex-devops/git-semver [2021-01-15T21:46:52.558Z] 31603596830f: Pulling fs layer [2021-01-15T21:46:52.558Z] 2a8b12db71e7: Pulling fs layer [2021-01-15T21:46:52.558Z] 6ca5941a6612: Pulling fs layer [2021-01-15T21:46:52.558Z] ecc8261a40a4: Pulling fs layer [2021-01-15T21:46:52.558Z] ecc8261a40a4: Waiting [2021-01-15T21:46:52.558Z] 2a8b12db71e7: Download complete [2021-01-15T21:46:52.558Z] 31603596830f: Verifying Checksum [2021-01-15T21:46:52.558Z] 31603596830f: Download complete [2021-01-15T21:46:52.821Z] ecc8261a40a4: Verifying Checksum [2021-01-15T21:46:52.821Z] ecc8261a40a4: Download complete [2021-01-15T21:46:52.821Z] 6ca5941a6612: Verifying Checksum [2021-01-15T21:46:52.821Z] 6ca5941a6612: Download complete [2021-01-15T21:46:53.087Z] 31603596830f: Pull complete [2021-01-15T21:46:53.087Z] 2a8b12db71e7: Pull complete [2021-01-15T21:46:54.038Z] 6ca5941a6612: Pull complete [2021-01-15T21:46:54.304Z] ecc8261a40a4: Pull complete [2021-01-15T21:46:54.304Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-15T21:46:54.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:46:54.304Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-15T21:46:54.409Z] prd-centos7-docker-4c-2g-20648 does not seem to be running inside a container [2021-01-15T21:46:54.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-733 -v /w/workspace/dgexfoundry_device-sdk-go_PR-733:/w/workspace/dgexfoundry_device-sdk-go_PR-733:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-733@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-15T21:46:56.559Z] $ docker top 7383f134522c7296fc961170c2c97102b8a7e801d188de476af8c1aaa3a8bf3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T21:46:56.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:46:56.946Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:46:57.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:46:57.177Z] $ docker exec 7383f134522c7296fc961170c2c97102b8a7e801d188de476af8c1aaa3a8bf3e ssh-agent [2021-01-15T21:46:57.345Z] SSH_AUTH_SOCK=/tmp/ssh-LLTavARpLT8O/agent.11 [2021-01-15T21:46:57.346Z] SSH_AGENT_PID=16 [2021-01-15T21:46:57.360Z] Running ssh-add (command line suppressed) [2021-01-15T21:46:57.475Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_7600359431830170710.key (/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_7600359431830170710.key) [2021-01-15T21:46:57.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:46:57.870Z] + git tag --points-at HEAD [Pipeline] } [2021-01-15T21:46:57.895Z] $ docker exec --env ******** --env ******** 7383f134522c7296fc961170c2c97102b8a7e801d188de476af8c1aaa3a8bf3e ssh-agent -k [2021-01-15T21:46:58.007Z] unset SSH_AUTH_SOCK; [2021-01-15T21:46:58.007Z] unset SSH_AGENT_PID; [2021-01-15T21:46:58.007Z] echo Agent pid 16 killed; [2021-01-15T21:46:58.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-15T21:46:58.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:46:58.207Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:46:58.385Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:46:58.388Z] $ docker exec 7383f134522c7296fc961170c2c97102b8a7e801d188de476af8c1aaa3a8bf3e ssh-agent [2021-01-15T21:46:58.561Z] SSH_AUTH_SOCK=/tmp/ssh-fBd4mWAvIdWT/agent.45 [2021-01-15T21:46:58.561Z] SSH_AGENT_PID=50 [2021-01-15T21:46:58.569Z] Running ssh-add (command line suppressed) [2021-01-15T21:46:58.692Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_6238289079037179888.key (/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_6238289079037179888.key) [2021-01-15T21:46:58.747Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:46:59.081Z] + git semver init [2021-01-15T21:46:59.081Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T21:46:59.081Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-733/.git [2021-01-15T21:46:59.081Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-733 [2021-01-15T21:46:59.081Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T21:46:59.081Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T21:46:59.081Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T21:46:59.081Z] # $SEMVER_BRANCH = PR-733 [2021-01-15T21:46:59.081Z] # $SEMVER_TEMP = /tmp/semver-848407754 [2021-01-15T21:46:59.081Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-15T21:46:59.663Z] # '/tmp/semver-848407754' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-733/.semver' [2021-01-15T21:46:59.663Z] # -> Force: false [2021-01-15T21:46:59.663Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-733/.semver [Pipeline] } [2021-01-15T21:46:59.676Z] $ docker exec --env ******** --env ******** 7383f134522c7296fc961170c2c97102b8a7e801d188de476af8c1aaa3a8bf3e ssh-agent -k [2021-01-15T21:46:59.791Z] unset SSH_AUTH_SOCK; [2021-01-15T21:46:59.792Z] unset SSH_AGENT_PID; [2021-01-15T21:46:59.792Z] echo Agent pid 50 killed; [2021-01-15T21:46:59.840Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T21:47:00.296Z] + git semver [Pipeline] } [2021-01-15T21:47:00.314Z] $ docker stop --time=1 7383f134522c7296fc961170c2c97102b8a7e801d188de476af8c1aaa3a8bf3e [2021-01-15T21:47:02.085Z] $ docker rm -f 7383f134522c7296fc961170c2c97102b8a7e801d188de476af8c1aaa3a8bf3e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:47:02.591Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-15T21:47:02.965Z] Stashed 1 file(s) [Pipeline] echo [2021-01-15T21:47:02.968Z] [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-15T21:47:18.505Z] Still waiting to schedule task [2021-01-15T21:47:18.505Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-15T21:47:18.508Z] Still waiting to schedule task [2021-01-15T21:47:18.508Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20641’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20644’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20645’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-20651’ is offline [2021-01-15T21:49:03.638Z] Running on prd-centos7-docker-4c-2g-20655 in /w/workspace/dgexfoundry_device-sdk-go_PR-733 [Pipeline] { [Pipeline] ws [2021-01-15T21:49:03.732Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-15T21:49:06.960Z] using credential edgex-jenkins-ssh [2021-01-15T21:49:07.049Z] Cloning the remote Git repository [2021-01-15T21:49:07.092Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:49:07.229Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-15T21:49:07.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:49:07.313Z] > git --version # timeout=10 [2021-01-15T21:49:07.322Z] > git --version # 'git version 2.24.3' [2021-01-15T21:49:07.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:49:07.352Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:49:08.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:49:08.241Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:49:08.254Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:49:08.274Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:49:08.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:49:08.282Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/733/head:refs/remotes/origin/PR-733 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T21:49:08.658Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 39f6424327cfa2a2c159b16b6df03d14786ff292 [2021-01-15T21:49:08.804Z] Merge succeeded, producing 39f6424327cfa2a2c159b16b6df03d14786ff292 [2021-01-15T21:49:08.804Z] Checking out Revision 39f6424327cfa2a2c159b16b6df03d14786ff292 (PR-733) [2021-01-15T21:49:08.670Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:49:08.677Z] > git checkout -f 39f6424327cfa2a2c159b16b6df03d14786ff292 # timeout=10 [2021-01-15T21:49:08.744Z] > git remote # timeout=10 [2021-01-15T21:49:08.753Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T21:49:08.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:49:08.763Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-15T21:49:08.793Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T21:49:08.809Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:49:08.814Z] > git checkout -f 39f6424327cfa2a2c159b16b6df03d14786ff292 # timeout=10 [2021-01-15T21:49:12.970Z] Commit message: "build(deps): bump github.com/google/uuid from 1.1.4 to 1.1.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:49:14.391Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:49:14.783Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:49:15.091Z] + sudo service docker restart [2021-01-15T21:49:15.091Z] + true [2021-01-15T21:49:15.091Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:49:16.142Z] provisioning config files... [2021-01-15T21:49:16.173Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2391827909235733253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:49:16.529Z] ---> docker-login.sh [2021-01-15T21:49:16.530Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:49:16.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:17.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:17.065Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:17.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:17.065Z] [2021-01-15T21:49:17.065Z] Login Succeeded [2021-01-15T21:49:17.065Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:49:17.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:17.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:17.065Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:17.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:17.065Z] [2021-01-15T21:49:17.065Z] Login Succeeded [2021-01-15T21:49:17.065Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:49:17.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:17.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:17.329Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:17.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:17.329Z] [2021-01-15T21:49:17.329Z] Login Succeeded [2021-01-15T21:49:17.329Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:49:17.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:17.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:17.593Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:17.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:17.593Z] [2021-01-15T21:49:17.593Z] Login Succeeded [2021-01-15T21:49:17.593Z] docker.io [2021-01-15T21:49:17.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:17.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:17.859Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:17.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:17.859Z] [2021-01-15T21:49:17.859Z] Login Succeeded [2021-01-15T21:49:17.859Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:49:17.870Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T21:49:18.232Z] ========================================================= [2021-01-15T21:49:18.232Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-15T21:49:18.232Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:49:18.593Z] + 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-15T21:49:18.593Z] Sending build context to Docker daemon 2.58MB [2021-01-15T21:49:18.593Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:49:18.593Z] Step 2/8 : FROM ${BASE} [2021-01-15T21:49:18.866Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-15T21:49:18.866Z] 188c0c94c7c5: Pulling fs layer [2021-01-15T21:49:18.866Z] 0ef7d3d256c8: Pulling fs layer [2021-01-15T21:49:18.866Z] de9db76c5a1d: Pulling fs layer [2021-01-15T21:49:18.866Z] bca2f99d35d6: Pulling fs layer [2021-01-15T21:49:18.866Z] 93359f2a8cfa: Pulling fs layer [2021-01-15T21:49:18.866Z] 7c6f9722023f: Pulling fs layer [2021-01-15T21:49:18.866Z] a35cf1a2eb13: Pulling fs layer [2021-01-15T21:49:18.866Z] 93359f2a8cfa: Waiting [2021-01-15T21:49:18.866Z] 7c6f9722023f: Waiting [2021-01-15T21:49:18.866Z] bca2f99d35d6: Waiting [2021-01-15T21:49:18.866Z] a35cf1a2eb13: Waiting [2021-01-15T21:49:18.866Z] de9db76c5a1d: Verifying Checksum [2021-01-15T21:49:18.866Z] de9db76c5a1d: Download complete [2021-01-15T21:49:18.866Z] 0ef7d3d256c8: Verifying Checksum [2021-01-15T21:49:18.866Z] 0ef7d3d256c8: Download complete [2021-01-15T21:49:18.866Z] 93359f2a8cfa: Download complete [2021-01-15T21:49:18.866Z] 7c6f9722023f: Download complete [2021-01-15T21:49:18.866Z] 188c0c94c7c5: Verifying Checksum [2021-01-15T21:49:18.866Z] 188c0c94c7c5: Download complete [2021-01-15T21:49:19.133Z] 188c0c94c7c5: Pull complete [2021-01-15T21:49:19.410Z] 0ef7d3d256c8: Pull complete [2021-01-15T21:49:19.410Z] de9db76c5a1d: Pull complete [2021-01-15T21:49:21.373Z] a35cf1a2eb13: Verifying Checksum [2021-01-15T21:49:21.373Z] a35cf1a2eb13: Download complete [2021-01-15T21:49:21.951Z] bca2f99d35d6: Verifying Checksum [2021-01-15T21:49:21.952Z] bca2f99d35d6: Download complete [2021-01-15T21:49:27.293Z] bca2f99d35d6: Pull complete [2021-01-15T21:49:27.556Z] 93359f2a8cfa: Pull complete [2021-01-15T21:49:27.556Z] 7c6f9722023f: Pull complete [2021-01-15T21:49:28.714Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20654 in /w/workspace/dgexfoundry_device-sdk-go_PR-733 [Pipeline] { [Pipeline] ws [2021-01-15T21:49:28.768Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-15T21:49:32.899Z] a35cf1a2eb13: Pull complete [2021-01-15T21:49:32.899Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-15T21:49:32.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-15T21:49:32.899Z] ---> a62c8e92a672 [2021-01-15T21:49:32.899Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:49:33.168Z] ---> Running in 350fcfe1bd5c [2021-01-15T21:49:33.442Z] Removing intermediate container 350fcfe1bd5c [2021-01-15T21:49:33.442Z] ---> 4d2ff3d0d524 [2021-01-15T21:49:33.442Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:49:33.714Z] ---> Running in 5f5a43d70090 [2021-01-15T21:49:34.131Z] using credential edgex-jenkins-ssh [2021-01-15T21:49:34.196Z] Cloning the remote Git repository [2021-01-15T21:49:34.675Z] Removing intermediate container 5f5a43d70090 [2021-01-15T21:49:34.675Z] ---> eccea74bca14 [2021-01-15T21:49:34.675Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T21:49:34.940Z] ---> Running in 5f0ed3d3b182 [2021-01-15T21:49:34.260Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:49:34.393Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-15T21:49:34.509Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:49:34.510Z] > git --version # timeout=10 [2021-01-15T21:49:34.531Z] > git --version # 'git version 2.17.1' [2021-01-15T21:49:34.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:49:34.605Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:49:36.337Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T21:49:36.913Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T21:49:37.478Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 39f6424327cfa2a2c159b16b6df03d14786ff292 [2021-01-15T21:49:36.840Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:49:36.859Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:49:36.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:49:36.933Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:49:36.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:49:36.952Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/733/head:refs/remotes/origin/PR-733 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T21:49:37.516Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:49:37.533Z] > git checkout -f 39f6424327cfa2a2c159b16b6df03d14786ff292 # timeout=10 [2021-01-15T21:49:37.798Z] Merge succeeded, producing 39f6424327cfa2a2c159b16b6df03d14786ff292 [2021-01-15T21:49:37.799Z] Checking out Revision 39f6424327cfa2a2c159b16b6df03d14786ff292 (PR-733) [2021-01-15T21:49:37.644Z] > git remote # timeout=10 [2021-01-15T21:49:37.666Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T21:49:37.683Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:49:37.694Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-15T21:49:37.748Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T21:49:37.808Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:49:37.857Z] > git checkout -f 39f6424327cfa2a2c159b16b6df03d14786ff292 # timeout=10 [2021-01-15T21:49:39.474Z] OK: 166 MiB in 39 packages [2021-01-15T21:49:39.747Z] Removing intermediate container 5f0ed3d3b182 [2021-01-15T21:49:39.747Z] ---> 4747a2a12326 [2021-01-15T21:49:39.747Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T21:49:39.747Z] ---> Running in 5921d55b9130 [2021-01-15T21:49:40.024Z] Removing intermediate container 5921d55b9130 [2021-01-15T21:49:40.024Z] ---> 6c2efa5104e8 [2021-01-15T21:49:40.024Z] Step 7/8 : COPY . . [2021-01-15T21:49:41.419Z] ---> 89512a9056a7 [2021-01-15T21:49:41.419Z] Step 8/8 : RUN go mod download [2021-01-15T21:49:41.419Z] ---> Running in 342fe7de67dd [2021-01-15T21:49:42.304Z] Commit message: "build(deps): bump github.com/google/uuid from 1.1.4 to 1.1.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:49:43.842Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:49:44.297Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:49:44.650Z] + + true [2021-01-15T21:49:44.650Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:49:47.342Z] provisioning config files... [2021-01-15T21:49:47.382Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4643169696742072541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:49:47.788Z] ---> docker-login.sh [2021-01-15T21:49:47.788Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:49:48.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:49.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:49.039Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:49.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:49.039Z] [2021-01-15T21:49:49.039Z] Login Succeeded [2021-01-15T21:49:49.039Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:49:49.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:49.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:49.590Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:49.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:49.590Z] [2021-01-15T21:49:49.590Z] Login Succeeded [2021-01-15T21:49:49.590Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:49:49.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:50.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:50.140Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:50.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:50.140Z] [2021-01-15T21:49:50.140Z] Login Succeeded [2021-01-15T21:49:50.140Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:49:50.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:50.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:50.693Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:50.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:50.693Z] [2021-01-15T21:49:50.693Z] Login Succeeded [2021-01-15T21:49:50.693Z] docker.io [2021-01-15T21:49:50.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:51.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:51.257Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:51.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:51.257Z] [2021-01-15T21:49:51.257Z] Login Succeeded [2021-01-15T21:49:51.533Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:49:51.554Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T21:49:52.067Z] ========================================================= [2021-01-15T21:49:52.067Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-15T21:49:52.067Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:49:52.465Z] + 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-15T21:49:53.068Z] Sending build context to Docker daemon 2.582MB [2021-01-15T21:49:53.068Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:49:53.068Z] Step 2/8 : FROM ${BASE} [2021-01-15T21:49:53.068Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-15T21:49:53.068Z] 5f621e34cdf4: Pulling fs layer [2021-01-15T21:49:53.068Z] a4357932f1b6: Pulling fs layer [2021-01-15T21:49:53.068Z] 18c013af1878: Pulling fs layer [2021-01-15T21:49:53.068Z] 00ac8860ef70: Pulling fs layer [2021-01-15T21:49:53.068Z] 63d7cb157983: Pulling fs layer [2021-01-15T21:49:53.068Z] b116817d02f9: Pulling fs layer [2021-01-15T21:49:53.068Z] 745a02a5169b: Pulling fs layer [2021-01-15T21:49:53.068Z] 00ac8860ef70: Waiting [2021-01-15T21:49:53.068Z] 63d7cb157983: Waiting [2021-01-15T21:49:53.068Z] b116817d02f9: Waiting [2021-01-15T21:49:53.068Z] 745a02a5169b: Waiting [2021-01-15T21:49:53.068Z] 18c013af1878: Verifying Checksum [2021-01-15T21:49:53.068Z] 18c013af1878: Download complete [2021-01-15T21:49:53.068Z] a4357932f1b6: Verifying Checksum [2021-01-15T21:49:53.068Z] a4357932f1b6: Download complete [2021-01-15T21:49:53.349Z] 63d7cb157983: Verifying Checksum [2021-01-15T21:49:53.349Z] 63d7cb157983: Download complete [2021-01-15T21:49:53.625Z] b116817d02f9: Verifying Checksum [2021-01-15T21:49:53.625Z] b116817d02f9: Download complete [2021-01-15T21:49:53.625Z] 5f621e34cdf4: Verifying Checksum [2021-01-15T21:49:53.625Z] 5f621e34cdf4: Download complete [2021-01-15T21:49:54.243Z] 5f621e34cdf4: Pull complete [2021-01-15T21:49:55.292Z] a4357932f1b6: Pull complete [2021-01-15T21:49:55.572Z] 18c013af1878: Pull complete [2021-01-15T21:49:56.576Z] 745a02a5169b: Download complete [2021-01-15T21:49:57.561Z] 00ac8860ef70: Verifying Checksum [2021-01-15T21:49:57.561Z] 00ac8860ef70: Download complete [2021-01-15T21:50:03.565Z] Removing intermediate container 342fe7de67dd [2021-01-15T21:50:03.565Z] ---> e58e627bdc43 [2021-01-15T21:50:03.565Z] Successfully built e58e627bdc43 [2021-01-15T21:50:03.565Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:50:03.887Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T21:50:03.887Z] . [Pipeline] withDockerContainer [2021-01-15T21:50:04.014Z] prd-centos7-docker-4c-2g-20655 does not seem to be running inside a container [2021-01-15T21:50:04.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T21:50:04.884Z] $ docker top 7773642d5072b040af1230bd94ded49405ed785206db02a2f25764acb26e7998 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:50:05.393Z] + go version [2021-01-15T21:50:05.393Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-15T21:50:05.412Z] $ docker stop --time=1 7773642d5072b040af1230bd94ded49405ed785206db02a2f25764acb26e7998 [2021-01-15T21:50:06.780Z] $ docker rm -f 7773642d5072b040af1230bd94ded49405ed785206db02a2f25764acb26e7998 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:50:07.676Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T21:50:07.676Z] . [Pipeline] withDockerContainer [2021-01-15T21:50:07.736Z] 00ac8860ef70: Pull complete [2021-01-15T21:50:07.779Z] prd-centos7-docker-4c-2g-20655 does not seem to be running inside a container [2021-01-15T21:50:07.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T21:50:08.018Z] 63d7cb157983: Pull complete [2021-01-15T21:50:08.594Z] $ docker top 377851e237ea023d8a79769f76f7040f3fa58a4c16925e7a3cf49a87851f9d27 -eo pid,comm [2021-01-15T21:50:08.630Z] b116817d02f9: Pull complete [Pipeline] { [Pipeline] sh [2021-01-15T21:50:09.190Z] + make test [2021-01-15T21:50:09.190Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T21:50:12.994Z] 745a02a5169b: Pull complete [2021-01-15T21:50:12.995Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-15T21:50:12.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-15T21:50:12.995Z] ---> b7e6874047d6 [2021-01-15T21:50:12.995Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:50:15.696Z] ---> Running in 442da7c28d79 [2021-01-15T21:50:15.971Z] Removing intermediate container 442da7c28d79 [2021-01-15T21:50:15.971Z] ---> 66437d80721f [2021-01-15T21:50:15.971Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:50:16.251Z] ---> Running in 9bdee858135c [2021-01-15T21:50:17.453Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-15T21:50:18.891Z] Removing intermediate container 9bdee858135c [2021-01-15T21:50:18.891Z] ---> e8a480fbeb30 [2021-01-15T21:50:18.891Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T21:50:18.891Z] ---> Running in 5dc608922e47 [2021-01-15T21:50:19.887Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T21:50:20.920Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T21:50:21.898Z] OK: 142 MiB in 39 packages [2021-01-15T21:50:23.351Z] Removing intermediate container 5dc608922e47 [2021-01-15T21:50:23.351Z] ---> 26d34b17fa33 [2021-01-15T21:50:23.351Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T21:50:23.351Z] ---> Running in 73d56f52f697 [2021-01-15T21:50:23.960Z] Removing intermediate container 73d56f52f697 [2021-01-15T21:50:23.960Z] ---> d3d30cb1d1f3 [2021-01-15T21:50:23.960Z] Step 7/8 : COPY . . [2021-01-15T21:50:25.408Z] ---> 2da4ecff1d3e [2021-01-15T21:50:25.408Z] Step 8/8 : RUN go mod download [2021-01-15T21:50:25.408Z] ---> Running in a18a6276872c [2021-01-15T21:50:35.819Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-15T21:50:35.819Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-15T21:50:35.819Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-15T21:50:35.819Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.105s coverage: 19.4% of statements [2021-01-15T21:50:38.460Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.574s coverage: 97.1% of statements [2021-01-15T21:50:47.589Z] Removing intermediate container a18a6276872c [2021-01-15T21:50:47.590Z] ---> 867c901686fd [2021-01-15T21:50:47.590Z] Successfully built 867c901686fd [2021-01-15T21:50:47.590Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:50:47.931Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T21:50:47.931Z] . [Pipeline] withDockerContainer [2021-01-15T21:50:48.171Z] prd-ubuntu18.04-docker-arm64-4c-16g-20654 does not seem to be running inside a container [2021-01-15T21:50:48.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-15T21:50:49.653Z] $ docker top 29f92b0d6c6b42a8a4827417b95c9afbbe1d2895a6e4f9063a53a25c0f651cb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:50:50.644Z] + go version [2021-01-15T21:50:50.644Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-15T21:50:50.667Z] $ docker stop --time=1 29f92b0d6c6b42a8a4827417b95c9afbbe1d2895a6e4f9063a53a25c0f651cb8 [2021-01-15T21:50:52.547Z] $ docker rm -f 29f92b0d6c6b42a8a4827417b95c9afbbe1d2895a6e4f9063a53a25c0f651cb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:50:53.487Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T21:50:53.487Z] . [Pipeline] withDockerContainer [2021-01-15T21:50:53.719Z] prd-ubuntu18.04-docker-arm64-4c-16g-20654 does not seem to be running inside a container [2021-01-15T21:50:53.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-15T21:50:55.452Z] $ docker top 44bf58e7da49bbff778bdaefb9a2898a0a8c15bce38ef31bd692d4b46fccca17 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:50:56.629Z] + make test [2021-01-15T21:50:56.629Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T21:51:10.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.082s coverage: 9.4% of statements [2021-01-15T21:51:10.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.067s coverage: 21.7% of statements [2021-01-15T21:51:10.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-15T21:51:10.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.325s coverage: 42.9% of statements [2021-01-15T21:51:10.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-15T21:51:10.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.356s coverage: 68.9% of statements [2021-01-15T21:51:10.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-15T21:51:10.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-15T21:51:10.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-15T21:51:10.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T21:51:10.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 53.8% of statements [2021-01-15T21:51:10.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-15T21:51:10.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-15T21:51:10.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.087s coverage: 30.4% of statements [2021-01-15T21:51:10.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.916s coverage: 68.9% of statements [2021-01-15T21:51:10.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 4.2% of statements [2021-01-15T21:51:10.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-15T21:51:10.783Z] GO111MODULE=on go vet ./... [2021-01-15T21:51:19.104Z] gofmt -l . [2021-01-15T21:51:19.104Z] [ "`gofmt -l .`" = "" ] [2021-01-15T21:51:19.104Z] ./bin/test-attribution-txt.sh [2021-01-15T21:51:19.688Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T21:51:19.974Z] $ docker stop --time=1 377851e237ea023d8a79769f76f7040f3fa58a4c16925e7a3cf49a87851f9d27 [2021-01-15T21:51:23.258Z] $ docker rm -f 377851e237ea023d8a79769f76f7040f3fa58a4c16925e7a3cf49a87851f9d27 [2021-01-15T21:51:23.482Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:51:23.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T21:51:24.356Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-15T21:51:25.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T21:51:25.923Z] + ls -al . [2021-01-15T21:51:25.923Z] total 220 [2021-01-15T21:51:25.923Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 21:51 . [2021-01-15T21:51:25.923Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 15 21:49 .. [2021-01-15T21:51:25.923Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 21:49 bin [2021-01-15T21:51:25.923Z] -rw-r--r--. 1 jenkins jenkins 142787 Jan 15 21:51 coverage.out [2021-01-15T21:51:25.923Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 21:49 Dockerfile.build [2021-01-15T21:51:25.923Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 21:49 .dockerignore [2021-01-15T21:51:25.923Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 21:49 example [2021-01-15T21:51:25.923Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 15 21:49 .git [2021-01-15T21:51:25.923Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 21:49 .github [2021-01-15T21:51:25.923Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 21:49 .gitignore [2021-01-15T21:51:25.923Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 15 21:51 go.mod [2021-01-15T21:51:25.923Z] -rw-r--r--. 1 jenkins jenkins 14209 Jan 15 21:51 go.sum [2021-01-15T21:51:25.923Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 21:49 internal [2021-01-15T21:51:25.923Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 21:49 Jenkinsfile [2021-01-15T21:51:25.923Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 21:49 LICENSE [2021-01-15T21:51:25.923Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 15 21:49 Makefile [2021-01-15T21:51:25.923Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 21:49 openapi [2021-01-15T21:51:25.923Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 21:49 pkg [2021-01-15T21:51:25.923Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 21:49 README.md [2021-01-15T21:51:25.923Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 21:49 RELEASE-NOTES.txt [2021-01-15T21:51:25.923Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 21:49 snap [2021-01-15T21:51:25.923Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 15 21:47 VERSION [2021-01-15T21:51:25.923Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 21:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:51:26.241Z] + 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=39f6424327cfa2a2c159b16b6df03d14786ff292 --label arch=amd64 --label version=0.0.0 . [2021-01-15T21:51:26.504Z] Sending build context to Docker daemon 2.724MB [2021-01-15T21:51:26.504Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:51:26.504Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T21:51:26.504Z] ---> e58e627bdc43 [2021-01-15T21:51:26.504Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T21:51:27.082Z] ---> Running in 3a43c79e1b96 [2021-01-15T21:51:27.082Z] Removing intermediate container 3a43c79e1b96 [2021-01-15T21:51:27.082Z] ---> 8d0eca8e536b [2021-01-15T21:51:27.082Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T21:51:27.082Z] ---> Running in 3be54656b421 [2021-01-15T21:51:27.347Z] Removing intermediate container 3be54656b421 [2021-01-15T21:51:27.347Z] ---> f9d4afebc50c [2021-01-15T21:51:27.347Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:51:27.347Z] ---> Running in 62cd5c342678 [2021-01-15T21:51:27.611Z] Removing intermediate container 62cd5c342678 [2021-01-15T21:51:27.611Z] ---> e40b62f35c45 [2021-01-15T21:51:27.611Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:51:27.611Z] ---> Running in d86eeca436e6 [2021-01-15T21:51:28.560Z] Removing intermediate container d86eeca436e6 [2021-01-15T21:51:28.560Z] ---> 49b233cd2d91 [2021-01-15T21:51:28.560Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T21:51:28.824Z] ---> Running in 3324f8c251c5 [2021-01-15T21:51:29.428Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T21:51:30.007Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T21:51:30.585Z] OK: 166 MiB in 39 packages [2021-01-15T21:51:31.172Z] Removing intermediate container 3324f8c251c5 [2021-01-15T21:51:31.173Z] ---> ac5aae42395d [2021-01-15T21:51:31.173Z] Step 8/24 : COPY . . [2021-01-15T21:51:32.142Z] ---> 53a1b4c16284 [2021-01-15T21:51:32.142Z] Step 9/24 : RUN ${MAKE} [2021-01-15T21:51:32.142Z] ---> Running in d0db5c3a2fe0 [2021-01-15T21:51:33.110Z] 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-15T21:51:43.231Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T21:51:44.180Z] Removing intermediate container d0db5c3a2fe0 [2021-01-15T21:51:44.180Z] ---> 5adbf0663d9a [2021-01-15T21:51:44.180Z] Step 10/24 : FROM scratch [2021-01-15T21:51:44.180Z] ---> [2021-01-15T21:51:44.180Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:51:44.180Z] ---> Running in 750fb9e3c359 [2021-01-15T21:51:44.442Z] Removing intermediate container 750fb9e3c359 [2021-01-15T21:51:44.442Z] ---> c2d4273f7dd0 [2021-01-15T21:51:44.442Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T21:51:44.442Z] ---> Running in 163dfe624421 [2021-01-15T21:51:44.706Z] Removing intermediate container 163dfe624421 [2021-01-15T21:51:44.706Z] ---> ba709327204b [2021-01-15T21:51:44.706Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T21:51:44.706Z] ---> Running in 43b5db950920 [2021-01-15T21:51:44.970Z] Removing intermediate container 43b5db950920 [2021-01-15T21:51:44.970Z] ---> eb3431f273dd [2021-01-15T21:51:44.970Z] Step 14/24 : WORKDIR / [2021-01-15T21:51:44.970Z] ---> Running in 13c1b3d03be8 [2021-01-15T21:51:44.970Z] Removing intermediate container 13c1b3d03be8 [2021-01-15T21:51:44.970Z] ---> f1fcb3c54347 [2021-01-15T21:51:44.970Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T21:51:45.544Z] ---> 79508b5f1dd4 [2021-01-15T21:51:45.544Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T21:51:45.808Z] ---> baeeb438c48a [2021-01-15T21:51:45.808Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T21:51:46.074Z] ---> 6c4a8dfdc876 [2021-01-15T21:51:46.074Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T21:51:46.336Z] ---> 9f366c71fcdc [2021-01-15T21:51:46.336Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T21:51:46.911Z] ---> 546594e8ce72 [2021-01-15T21:51:46.911Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T21:51:46.911Z] ---> Running in c036f6a59bd5 [2021-01-15T21:51:46.911Z] Removing intermediate container c036f6a59bd5 [2021-01-15T21:51:46.911Z] ---> 5224478a1f2f [2021-01-15T21:51:46.911Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T21:51:46.911Z] ---> Running in 4944645e017c [2021-01-15T21:51:47.175Z] Removing intermediate container 4944645e017c [2021-01-15T21:51:47.175Z] ---> 5a7101d97f35 [2021-01-15T21:51:47.175Z] Step 22/24 : LABEL arch=amd64 [2021-01-15T21:51:47.175Z] ---> Running in ae24e34e3a3b [2021-01-15T21:51:47.437Z] Removing intermediate container ae24e34e3a3b [2021-01-15T21:51:47.437Z] ---> 6116f0f48900 [2021-01-15T21:51:47.437Z] Step 23/24 : LABEL git_sha=39f6424327cfa2a2c159b16b6df03d14786ff292 [2021-01-15T21:51:47.437Z] ---> Running in e325f52f4d29 [2021-01-15T21:51:47.700Z] Removing intermediate container e325f52f4d29 [2021-01-15T21:51:47.700Z] ---> 6b4a3672fef3 [2021-01-15T21:51:47.700Z] Step 24/24 : LABEL version=0.0.0 [2021-01-15T21:51:47.700Z] ---> Running in cb9c39a21702 [2021-01-15T21:51:47.969Z] Removing intermediate container cb9c39a21702 [2021-01-15T21:51:47.969Z] ---> 058208f0dccf [2021-01-15T21:51:47.969Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T21:51:47.969Z] Successfully built 058208f0dccf [2021-01-15T21:51:47.969Z] 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-15T21:52:10.543Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-15T21:52:10.543Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-15T21:52:10.543Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-15T21:52:10.543Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.155s coverage: 19.4% of statements [2021-01-15T21:52:14.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.189s coverage: 97.1% of statements [2021-01-15T21:52:41.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.144s coverage: 9.4% of statements [2021-01-15T21:52:41.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.132s coverage: 21.7% of statements [2021-01-15T21:52:41.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-15T21:52:41.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.711s coverage: 42.9% of statements [2021-01-15T21:52:41.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-15T21:52:41.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.903s coverage: 68.9% of statements [2021-01-15T21:52:41.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-15T21:52:41.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-15T21:52:41.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-15T21:52:41.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T21:52:41.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.186s coverage: 53.8% of statements [2021-01-15T21:52:41.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-15T21:52:41.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-15T21:52:41.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.192s coverage: 30.4% of statements [2021-01-15T21:52:41.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.895s coverage: 68.9% of statements [2021-01-15T21:52:41.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 4.2% of statements [2021-01-15T21:52:41.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-15T21:52:41.998Z] GO111MODULE=on go vet ./... [2021-01-15T21:53:21.058Z] gofmt -l . [2021-01-15T21:53:21.058Z] [ "`gofmt -l .`" = "" ] [2021-01-15T21:53:21.058Z] ./bin/test-attribution-txt.sh [2021-01-15T21:53:21.058Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T21:53:21.077Z] $ docker stop --time=1 44bf58e7da49bbff778bdaefb9a2898a0a8c15bce38ef31bd692d4b46fccca17 [2021-01-15T21:53:23.390Z] $ docker rm -f 44bf58e7da49bbff778bdaefb9a2898a0a8c15bce38ef31bd692d4b46fccca17 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:53:24.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T21:53:24.660Z] Warning: overwriting stash ‘coverage-report’ [2021-01-15T21:53:25.561Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:53:26.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T21:53:26.605Z] + ls -al . [2021-01-15T21:53:26.605Z] total 256 [2021-01-15T21:53:26.605Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 21:53 . [2021-01-15T21:53:26.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:49 .. [2021-01-15T21:53:26.605Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 21:49 .dockerignore [2021-01-15T21:53:26.605Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 21:49 .git [2021-01-15T21:53:26.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:49 .github [2021-01-15T21:53:26.605Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 21:49 .gitignore [2021-01-15T21:53:26.605Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 21:49 Dockerfile.build [2021-01-15T21:53:26.605Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 21:49 Jenkinsfile [2021-01-15T21:53:26.605Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 21:49 LICENSE [2021-01-15T21:53:26.605Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 15 21:49 Makefile [2021-01-15T21:53:26.605Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 21:49 README.md [2021-01-15T21:53:26.605Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 21:49 RELEASE-NOTES.txt [2021-01-15T21:53:26.605Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 15 21:47 VERSION [2021-01-15T21:53:26.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:49 bin [2021-01-15T21:53:26.605Z] -rw-r--r-- 1 jenkins jenkins 142787 Jan 15 21:52 coverage.out [2021-01-15T21:53:26.606Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:49 example [2021-01-15T21:53:26.606Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 15 21:53 go.mod [2021-01-15T21:53:26.606Z] -rw-r--r-- 1 jenkins jenkins 14209 Jan 15 21:53 go.sum [2021-01-15T21:53:26.606Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 21:49 internal [2021-01-15T21:53:26.606Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:49 openapi [2021-01-15T21:53:26.606Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 21:49 pkg [2021-01-15T21:53:26.606Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:49 snap [2021-01-15T21:53:26.606Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 21:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:53:26.959Z] + 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=39f6424327cfa2a2c159b16b6df03d14786ff292 --label arch=arm64 --label version=0.0.0 . [2021-01-15T21:53:27.557Z] Sending build context to Docker daemon 2.725MB [2021-01-15T21:53:27.557Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:53:27.557Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T21:53:27.557Z] ---> 867c901686fd [2021-01-15T21:53:27.557Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T21:53:27.833Z] ---> Running in 2b6d76bc08a7 [2021-01-15T21:53:28.104Z] Removing intermediate container 2b6d76bc08a7 [2021-01-15T21:53:28.104Z] ---> 9e5db5912343 [2021-01-15T21:53:28.104Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T21:53:28.381Z] ---> Running in 3dfbc7249ce1 [2021-01-15T21:53:28.973Z] Removing intermediate container 3dfbc7249ce1 [2021-01-15T21:53:28.973Z] ---> ab7988d7981c [2021-01-15T21:53:28.973Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:53:28.973Z] ---> Running in 0ebc0ad79e5a [2021-01-15T21:53:29.568Z] Removing intermediate container 0ebc0ad79e5a [2021-01-15T21:53:29.568Z] ---> 16f0b3cb3760 [2021-01-15T21:53:29.568Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:53:29.568Z] ---> Running in b3416de043b6 [2021-01-15T21:53:31.544Z] Removing intermediate container b3416de043b6 [2021-01-15T21:53:31.544Z] ---> d780c45ef20b [2021-01-15T21:53:31.544Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T21:53:31.819Z] ---> Running in c0935118c506 [2021-01-15T21:53:32.792Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T21:53:33.765Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T21:53:34.363Z] OK: 142 MiB in 39 packages [2021-01-15T21:53:35.360Z] Removing intermediate container c0935118c506 [2021-01-15T21:53:35.360Z] ---> 0f3d62fec01f [2021-01-15T21:53:35.360Z] Step 8/24 : COPY . . [2021-01-15T21:53:37.350Z] ---> c41070537411 [2021-01-15T21:53:37.350Z] Step 9/24 : RUN ${MAKE} [2021-01-15T21:53:37.350Z] ---> Running in 36cd84a1b108 [2021-01-15T21:53:38.332Z] 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-15T21:54:06.269Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T21:54:06.864Z] Removing intermediate container 36cd84a1b108 [2021-01-15T21:54:06.864Z] ---> 9b17b09121d7 [2021-01-15T21:54:06.864Z] Step 10/24 : FROM scratch [2021-01-15T21:54:06.864Z] ---> [2021-01-15T21:54:06.864Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:54:07.136Z] ---> Running in 8b1c807fb90d [2021-01-15T21:54:07.409Z] Removing intermediate container 8b1c807fb90d [2021-01-15T21:54:07.409Z] ---> 3803bec31626 [2021-01-15T21:54:07.409Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T21:54:07.409Z] ---> Running in f36ced819ebc [2021-01-15T21:54:08.006Z] Removing intermediate container f36ced819ebc [2021-01-15T21:54:08.006Z] ---> 9cdddcf23984 [2021-01-15T21:54:08.006Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T21:54:08.006Z] ---> Running in 9e276cd3148b [2021-01-15T21:54:08.602Z] Removing intermediate container 9e276cd3148b [2021-01-15T21:54:08.602Z] ---> 61e64cdfdc4d [2021-01-15T21:54:08.602Z] Step 14/24 : WORKDIR / [2021-01-15T21:54:08.602Z] ---> Running in 98ccdf4442fc [2021-01-15T21:54:09.198Z] Removing intermediate container 98ccdf4442fc [2021-01-15T21:54:09.198Z] ---> 4c27cc734e45 [2021-01-15T21:54:09.198Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T21:54:10.178Z] ---> d87e3ea40441 [2021-01-15T21:54:10.178Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T21:54:11.157Z] ---> 4b51881dac6b [2021-01-15T21:54:11.157Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T21:54:11.752Z] ---> 015275829e78 [2021-01-15T21:54:11.752Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T21:54:12.740Z] ---> 64bbea88023c [2021-01-15T21:54:12.740Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T21:54:13.339Z] ---> 424251352b41 [2021-01-15T21:54:13.339Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T21:54:13.339Z] ---> Running in d7b4a0cba591 [2021-01-15T21:54:13.941Z] Removing intermediate container d7b4a0cba591 [2021-01-15T21:54:13.941Z] ---> f7f4119e4b72 [2021-01-15T21:54:13.941Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T21:54:13.941Z] ---> Running in 11f8aa029a42 [2021-01-15T21:54:14.542Z] Removing intermediate container 11f8aa029a42 [2021-01-15T21:54:14.542Z] ---> 99a34c61f62d [2021-01-15T21:54:14.542Z] Step 22/24 : LABEL arch=arm64 [2021-01-15T21:54:14.542Z] ---> Running in 8e34847a3140 [2021-01-15T21:54:15.140Z] Removing intermediate container 8e34847a3140 [2021-01-15T21:54:15.140Z] ---> 80f094b14efe [2021-01-15T21:54:15.140Z] Step 23/24 : LABEL git_sha=39f6424327cfa2a2c159b16b6df03d14786ff292 [2021-01-15T21:54:15.140Z] ---> Running in c5191513c476 [2021-01-15T21:54:15.736Z] Removing intermediate container c5191513c476 [2021-01-15T21:54:15.736Z] ---> 08b75dfd6a8d [2021-01-15T21:54:15.736Z] Step 24/24 : LABEL version=0.0.0 [2021-01-15T21:54:15.736Z] ---> Running in 0a6d4acefec2 [2021-01-15T21:54:16.328Z] Removing intermediate container 0a6d4acefec2 [2021-01-15T21:54:16.328Z] ---> 6d22d5775e5d [2021-01-15T21:54:16.328Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T21:54:16.328Z] Successfully built 6d22d5775e5d [2021-01-15T21:54:16.328Z] 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-15T21:54:17.921Z] provisioning config files... [2021-01-15T21:54:17.932Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/config2577970545776486729tmp [Pipeline] { [Pipeline] sh [2021-01-15T21:54:18.361Z] + set +x [2021-01-15T21:54:18.361Z] + curl -s https://codecov.io/bash [2021-01-15T21:54:18.361Z] + bash -s -- [2021-01-15T21:54:18.630Z] [2021-01-15T21:54:18.630Z] _____ _ [2021-01-15T21:54:18.630Z] / ____| | | [2021-01-15T21:54:18.630Z] | | ___ __| | ___ ___ _____ __ [2021-01-15T21:54:18.630Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-15T21:54:18.630Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-15T21:54:18.630Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-15T21:54:18.630Z] Bash-20210115-cec3c92 [2021-01-15T21:54:18.630Z] [2021-01-15T21:54:18.630Z] [2021-01-15T21:54:18.630Z] ==> git version 2.24.3 found [2021-01-15T21:54:18.630Z] ==> 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-15T21:54:18.630Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-15T21:54:18.630Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-15T21:54:18.630Z] ==> Jenkins CI detected. [2021-01-15T21:54:18.630Z] project root: . [2021-01-15T21:54:18.630Z] --> token set from env [2021-01-15T21:54:18.630Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-15T21:54:18.630Z] ==> Running gcov in . (disable via -X gcov) [2021-01-15T21:54:18.630Z] ==> Python coveragepy not found [2021-01-15T21:54:18.630Z] ==> Searching for coverage reports in: [2021-01-15T21:54:18.630Z] + . [2021-01-15T21:54:18.630Z] -> Found 1 reports [2021-01-15T21:54:18.630Z] ==> Detecting git/mercurial file structure [2021-01-15T21:54:18.630Z] ==> Reading reports [2021-01-15T21:54:18.630Z] + ./coverage.out bytes=142787 [2021-01-15T21:54:18.630Z] ==> Appending adjustments [2021-01-15T21:54:18.631Z] https://docs.codecov.io/docs/fixing-reports [2021-01-15T21:54:19.219Z] + Found adjustments [2021-01-15T21:54:19.219Z] ==> Gzipping contents [2021-01-15T21:54:19.219Z] 24K /tmp/codecov.mFQuNN.gz [2021-01-15T21:54:19.219Z] ==> Uploading reports [2021-01-15T21:54:19.219Z] url: https://codecov.io [2021-01-15T21:54:19.219Z] query: branch=PR-733&commit=39f6424327cfa2a2c159b16b6df03d14786ff292&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-733%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=733&job=&cmd_args= [2021-01-15T21:54:19.219Z] -> Pinging Codecov [2021-01-15T21:54:19.219Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-733&commit=39f6424327cfa2a2c159b16b6df03d14786ff292&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-733%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=733&job=&cmd_args= [2021-01-15T21:54:19.796Z] -> Uploading to [2021-01-15T21:54:19.796Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/39f6424327cfa2a2c159b16b6df03d14786ff292/a6b9030b-8200-41ce-9d35-e6a2e04546a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T215419Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c34173c04b6c6c950a1242dd10a478b7959d2bb4418a75b265ac2b5aed2208f6 [2021-01-15T21:54:19.796Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-15T21:54:19.796Z] Dload Upload Total Spent Left Speed [2021-01-15T21:54:20.063Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22115 0 0 100 22115 0 51961 --:--:-- --:--:-- --:--:-- 52035 [2021-01-15T21:54:20.063Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/39f6424327cfa2a2c159b16b6df03d14786ff292 [Pipeline] } [2021-01-15T21:54:20.074Z] 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-15T21:54:22.500Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:22.808Z] ---> package-listing.sh [2021-01-15T21:54:22.808Z] ++ facter osfamily [2021-01-15T21:54:22.808Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-15T21:54:22.808Z] + OS_FAMILY=redhat [2021-01-15T21:54:22.808Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-733 [2021-01-15T21:54:22.808Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-15T21:54:22.808Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-15T21:54:22.808Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-15T21:54:22.808Z] + PACKAGES=/tmp/packages_start.txt [2021-01-15T21:54:22.808Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-733 ']' [2021-01-15T21:54:22.808Z] + PACKAGES=/tmp/packages_end.txt [2021-01-15T21:54:22.808Z] + case "${OS_FAMILY}" in [2021-01-15T21:54:22.808Z] + rpm -qa [2021-01-15T21:54:22.808Z] + sort [2021-01-15T21:54:28.133Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-15T21:54:28.133Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-15T21:54:28.133Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-15T21:54:28.133Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-733 ']' [2021-01-15T21:54:28.133Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-733/archives/ [2021-01-15T21:54:28.133Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-733/archives/ [Pipeline] echo [2021-01-15T21:54:28.151Z] 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-733/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-15T21:54:28.450Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:54:28.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:54:28.762Z] [2021-01-15T21:54:28.762Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:54:29.118Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:54:29.118Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-15T21:54:29.118Z] df20fa9351a1: Pulling fs layer [2021-01-15T21:54:29.118Z] 36b3adc4ff6f: Pulling fs layer [2021-01-15T21:54:29.118Z] 8ad3a11d3b57: Pulling fs layer [2021-01-15T21:54:29.118Z] 46f8f816bc3b: Pulling fs layer [2021-01-15T21:54:29.118Z] 93b61091891f: Pulling fs layer [2021-01-15T21:54:29.118Z] 93b9cdb0e59b: Pulling fs layer [2021-01-15T21:54:29.118Z] 5e14af77c1be: Pulling fs layer [2021-01-15T21:54:29.118Z] 01666e4c0597: Pulling fs layer [2021-01-15T21:54:29.118Z] aa168da1d23b: Pulling fs layer [2021-01-15T21:54:29.118Z] 93b9cdb0e59b: Waiting [2021-01-15T21:54:29.118Z] 5e14af77c1be: Waiting [2021-01-15T21:54:29.118Z] 01666e4c0597: Waiting [2021-01-15T21:54:29.118Z] aa168da1d23b: Waiting [2021-01-15T21:54:29.118Z] 46f8f816bc3b: Waiting [2021-01-15T21:54:29.118Z] 93b61091891f: Waiting [2021-01-15T21:54:29.118Z] 36b3adc4ff6f: Verifying Checksum [2021-01-15T21:54:29.118Z] 36b3adc4ff6f: Download complete [2021-01-15T21:54:29.118Z] 46f8f816bc3b: Verifying Checksum [2021-01-15T21:54:29.118Z] 46f8f816bc3b: Download complete [2021-01-15T21:54:29.118Z] df20fa9351a1: Download complete [2021-01-15T21:54:29.390Z] 93b9cdb0e59b: Verifying Checksum [2021-01-15T21:54:29.390Z] 93b9cdb0e59b: Download complete [2021-01-15T21:54:29.390Z] 5e14af77c1be: Verifying Checksum [2021-01-15T21:54:29.390Z] 5e14af77c1be: Download complete [2021-01-15T21:54:29.390Z] 93b61091891f: Verifying Checksum [2021-01-15T21:54:29.390Z] 93b61091891f: Download complete [2021-01-15T21:54:29.390Z] 01666e4c0597: Verifying Checksum [2021-01-15T21:54:29.390Z] 01666e4c0597: Download complete [2021-01-15T21:54:29.390Z] 8ad3a11d3b57: Verifying Checksum [2021-01-15T21:54:29.390Z] 8ad3a11d3b57: Download complete [2021-01-15T21:54:29.667Z] df20fa9351a1: Pull complete [2021-01-15T21:54:29.939Z] 36b3adc4ff6f: Pull complete [2021-01-15T21:54:30.910Z] 8ad3a11d3b57: Pull complete [2021-01-15T21:54:31.490Z] aa168da1d23b: Verifying Checksum [2021-01-15T21:54:31.490Z] aa168da1d23b: Download complete [2021-01-15T21:54:31.490Z] 46f8f816bc3b: Pull complete [2021-01-15T21:54:31.752Z] 93b61091891f: Pull complete [2021-01-15T21:54:32.015Z] 93b9cdb0e59b: Pull complete [2021-01-15T21:54:32.015Z] 5e14af77c1be: Pull complete [2021-01-15T21:54:32.283Z] 01666e4c0597: Pull complete [2021-01-15T21:54:38.906Z] aa168da1d23b: Pull complete [2021-01-15T21:54:38.906Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-15T21:54:38.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:54:38.906Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-15T21:54:39.083Z] prd-centos7-docker-4c-2g-20648 does not seem to be running inside a container [2021-01-15T21:54:39.131Z] $ 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-733/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-733 -v /w/workspace/dgexfoundry_device-sdk-go_PR-733:/w/workspace/dgexfoundry_device-sdk-go_PR-733:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-15T21:54:42.599Z] $ docker top 3556529dd33e9279476e33e8ac56a7b0d48c674bef15f01d776b8eee4595bd2c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:54:43.140Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-15T21:54:43.445Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-15T21:54:43.749Z] + ls /var/log/sa-host [2021-01-15T21:54:43.749Z] + sadf -c /var/log/sa-host/sa15 [2021-01-15T21:54:43.749Z] file_magic: OK [2021-01-15T21:54:43.749Z] HZ: Using current value: 100 [2021-01-15T21:54:43.749Z] file_header: OK [2021-01-15T21:54:43.749Z] 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-15T21:54:43.749Z] Statistics: [2021-01-15T21:54:43.749Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-15T21:54:43.749Z] File successfully converted to sysstat format version 12.2.1 [2021-01-15T21:54:43.749Z] + sadf -c /var/log/sa-host/sa23 [2021-01-15T21:54:43.749Z] file_magic: OK [2021-01-15T21:54:43.749Z] HZ: Using current value: 100 [2021-01-15T21:54:43.749Z] file_header: OK [2021-01-15T21:54:43.749Z] 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-15T21:54:43.749Z] Statistics: [2021-01-15T21:54:43.749Z] Hnuu...uuuununununu... [2021-01-15T21:54:43.749Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-15T21:54:43.960Z] provisioning config files... [2021-01-15T21:54:43.980Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/config6205625782842553170tmp [Pipeline] { [Pipeline] echo [2021-01-15T21:54:44.049Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:44.355Z] ---> create-netrc.sh [Pipeline] } [2021-01-15T21:54:44.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-15T21:54:44.457Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:44.754Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-15T21:54:44.766Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:45.064Z] ---> sudo-logs.sh [2021-01-15T21:54:45.064Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-15T21:54:45.077Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:45.400Z] ---> job-cost.sh [2021-01-15T21:54:45.400Z] lf-activate-venv: SKIPPING [2021-01-15T21:54:45.400Z] INFO: No Stack... [2021-01-15T21:54:46.350Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-15T21:54:46.924Z] INFO: Archiving Costs [Pipeline] echo [2021-01-15T21:54:46.943Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:47.240Z] ---> logs-deploy.sh [2021-01-15T21:54:47.240Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-733/3 [2021-01-15T21:54:47.240Z] INFO: archiving workspace using pattern(s): [2021-01-15T21:54:49.180Z] Archives upload complete. [2021-01-15T21:54:49.180Z] INFO: archiving logs to Nexus