Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 76d059c2e27a3d5d488ff0022063f09e99d334bf rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from 76d059c2e27a3d5d488ff0022063f09e99d334bf Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23331 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [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-732 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c Merge succeeded, producing 0f2f68ce9cb22dd8229168e213abff079c05314d Checking out Revision 0f2f68ce9cb22dd8229168e213abff079c05314d (PR-732) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f2f68ce9cb22dd8229168e213abff079c05314d # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 2c6ebf06d77d34a5dd31816cd3384181c472a805 # timeout=10 [Pipeline] timeout [2021-01-27T02:43:41.119Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-27T02:43:41.351Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-27T02:43:41.442Z] ========================================================= [2021-01-27T02:43:41.442Z] EdgeX Global Pipelines Version Info [2021-01-27T02:43:41.442Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:43:42.934Z] ------------------- [2021-01-27T02:43:42.934Z] stable info: [2021-01-27T02:43:42.934Z] ------------------- [2021-01-27T02:43:42.934Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:43:42.934Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:43:42.934Z] Message: update stable to v1.0.179 [2021-01-27T02:43:43.888Z] ------------------- [2021-01-27T02:43:43.888Z] experimental info: [2021-01-27T02:43:43.888Z] ------------------- [2021-01-27T02:43:43.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:43:43.888Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:43:43.888Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-27T02:43:44.128Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-27T02:43:44.210Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-27T02:43:44.324Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-27T02:43:44.414Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-27T02:43:44.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-27T02:43:44.671Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-27T02:43:44.756Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-27T02:43:44.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-27T02:43:44.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-27T02:43:45.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-27T02:43:45.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-27T02:43:45.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-27T02:43:45.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-27T02:43:45.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-27T02:43:45.479Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-27T02:43:45.567Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:45.654Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:45.740Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:45.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-27T02:43:45.921Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-27T02:43:46.007Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-27T02:43:46.095Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-27T02:43:46.202Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-27T02:43:46.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-27T02:43:46.376Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-27T02:43:46.464Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-27T02:43:46.551Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-27T02:43:46.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo [2021-01-27T02:43:46.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo [2021-01-27T02:43:46.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo [2021-01-27T02:43:47.008Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f2f68ce9cb22dd8229168e213abff079c05314d [Pipeline] echo [2021-01-27T02:43:47.096Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f2f68c [Pipeline] echo [2021-01-27T02:43:47.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:43:47.389Z] provisioning config files... [2021-01-27T02:43:47.419Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config6766789743014348827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:43:47.764Z] ---> docker-login.sh [2021-01-27T02:43:47.764Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:43:48.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:48.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:48.026Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:48.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:48.026Z] [2021-01-27T02:43:48.026Z] Login Succeeded [2021-01-27T02:43:48.026Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:43:48.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:48.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:48.287Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:48.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:48.287Z] [2021-01-27T02:43:48.287Z] Login Succeeded [2021-01-27T02:43:48.287Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:43:48.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:48.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:48.287Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:48.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:48.287Z] [2021-01-27T02:43:48.287Z] Login Succeeded [2021-01-27T02:43:48.553Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:43:48.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:48.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:48.553Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:48.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:48.553Z] [2021-01-27T02:43:48.553Z] Login Succeeded [2021-01-27T02:43:48.553Z] docker.io [2021-01-27T02:43:48.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:49.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:49.077Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:49.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:49.077Z] [2021-01-27T02:43:49.077Z] Login Succeeded [2021-01-27T02:43:49.077Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:43:49.086Z] 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-27T02:43:49.864Z] + git log --format=format:%s -1 0f2f68ce9cb22dd8229168e213abff079c05314d [Pipeline] echo [2021-01-27T02:43:49.932Z] GIT_COMMIT: 0f2f68ce9cb22dd8229168e213abff079c05314d, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo [2021-01-27T02:43:49.976Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:43:50.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:50.663Z] [2021-01-27T02:43:50.663Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:43:51.049Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:51.049Z] latest: Pulling from edgex-devops/git-semver [2021-01-27T02:43:51.049Z] 31603596830f: Pulling fs layer [2021-01-27T02:43:51.049Z] 2a8b12db71e7: Pulling fs layer [2021-01-27T02:43:51.049Z] 6ca5941a6612: Pulling fs layer [2021-01-27T02:43:51.049Z] ecc8261a40a4: Pulling fs layer [2021-01-27T02:43:51.049Z] ecc8261a40a4: Waiting [2021-01-27T02:43:51.049Z] 2a8b12db71e7: Verifying Checksum [2021-01-27T02:43:51.049Z] 2a8b12db71e7: Download complete [2021-01-27T02:43:51.313Z] 31603596830f: Verifying Checksum [2021-01-27T02:43:51.314Z] 31603596830f: Download complete [2021-01-27T02:43:51.314Z] ecc8261a40a4: Verifying Checksum [2021-01-27T02:43:51.314Z] ecc8261a40a4: Download complete [2021-01-27T02:43:51.314Z] 6ca5941a6612: Verifying Checksum [2021-01-27T02:43:51.314Z] 6ca5941a6612: Download complete [2021-01-27T02:43:51.576Z] 31603596830f: Pull complete [2021-01-27T02:43:51.576Z] 2a8b12db71e7: Pull complete [2021-01-27T02:43:52.526Z] 6ca5941a6612: Pull complete [2021-01-27T02:43:52.788Z] ecc8261a40a4: Pull complete [2021-01-27T02:43:52.788Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-27T02:43:52.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:52.788Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-27T02:43:52.911Z] prd-centos7-docker-4c-2g-23331 does not seem to be running inside a container [2021-01-27T02:43:52.963Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-27T02:43:55.026Z] $ docker top 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-27T02:43:55.384Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:43:55.384Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:43:55.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:43:55.599Z] $ docker exec 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 ssh-agent [2021-01-27T02:43:55.763Z] SSH_AUTH_SOCK=/tmp/ssh-J8YDawLvUyFS/agent.12 [2021-01-27T02:43:55.763Z] SSH_AGENT_PID=17 [2021-01-27T02:43:55.775Z] Running ssh-add (command line suppressed) [2021-01-27T02:43:55.905Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_5112116879526616747.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_5112116879526616747.key) [2021-01-27T02:43:55.957Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:43:56.293Z] + git tag --points-at HEAD [Pipeline] } [2021-01-27T02:43:56.316Z] $ docker exec --env ******** --env ******** 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 ssh-agent -k [2021-01-27T02:43:56.446Z] unset SSH_AUTH_SOCK; [2021-01-27T02:43:56.446Z] unset SSH_AGENT_PID; [2021-01-27T02:43:56.446Z] echo Agent pid 17 killed; [2021-01-27T02:43:56.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-27T02:43:56.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:43:56.679Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:43:56.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:43:56.854Z] $ docker exec 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 ssh-agent [2021-01-27T02:43:57.024Z] SSH_AUTH_SOCK=/tmp/ssh-GqueMpiwrHxL/agent.46 [2021-01-27T02:43:57.024Z] SSH_AGENT_PID=51 [2021-01-27T02:43:57.033Z] Running ssh-add (command line suppressed) [2021-01-27T02:43:57.156Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_9000195094984972710.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_9000195094984972710.key) [2021-01-27T02:43:57.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:43:57.574Z] + git semver init [2021-01-27T02:43:57.574Z] # -> Open(): unable to determine branch for HEAD [2021-01-27T02:43:57.574Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git [2021-01-27T02:43:57.574Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-01-27T02:43:57.574Z] # $SEMVER_REMOTE_NAME = origin [2021-01-27T02:43:57.574Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-27T02:43:57.574Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-27T02:43:57.574Z] # $SEMVER_BRANCH = PR-732 [2021-01-27T02:43:57.574Z] # $SEMVER_TEMP = /tmp/semver-041178036 [2021-01-27T02:43:57.574Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-27T02:43:58.156Z] # '/tmp/semver-041178036' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' [2021-01-27T02:43:58.419Z] # -> Force: false [2021-01-27T02:43:58.419Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } [2021-01-27T02:43:58.433Z] $ docker exec --env ******** --env ******** 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 ssh-agent -k [2021-01-27T02:43:58.553Z] unset SSH_AUTH_SOCK; [2021-01-27T02:43:58.553Z] unset SSH_AGENT_PID; [2021-01-27T02:43:58.553Z] echo Agent pid 51 killed; [2021-01-27T02:43:58.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-27T02:43:59.063Z] + git semver [Pipeline] } [2021-01-27T02:43:59.081Z] $ docker stop --time=1 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 [2021-01-27T02:44:00.494Z] $ docker rm -f 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:44:00.990Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-27T02:44:02.669Z] Stashed 1 file(s) [Pipeline] echo [2021-01-27T02:44:02.673Z] [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-27T02:44:18.195Z] Still waiting to schedule task [2021-01-27T02:44:18.195Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23330’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23295’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23296’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23297’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23299’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23332’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-27T02:44:18.197Z] Still waiting to schedule task [2021-01-27T02:44:18.197Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-27T02:45:27.865Z] Running on prd-centos7-docker-4c-2g-23340 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-01-27T02:45:27.933Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-01-27T02:45:30.726Z] using credential edgex-jenkins-ssh [2021-01-27T02:45:30.783Z] Cloning the remote Git repository [2021-01-27T02:45:30.770Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:45:30.850Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-01-27T02:45:30.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:45:30.919Z] > git --version # timeout=10 [2021-01-27T02:45:30.925Z] > git --version # 'git version 2.24.3' [2021-01-27T02:45:30.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:45:30.961Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:45:31.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:45:31.965Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:45:31.978Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:45:31.997Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:45:31.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:45:32.003Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:45:32.645Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-01-27T02:45:32.861Z] Merge succeeded, producing aae9743b0dc0131a679878a3c300da09c6c3fd6a [2021-01-27T02:45:32.862Z] Checking out Revision aae9743b0dc0131a679878a3c300da09c6c3fd6a (PR-732) [2021-01-27T02:45:32.655Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:45:32.660Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-01-27T02:45:32.719Z] > git remote # timeout=10 [2021-01-27T02:45:32.727Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:45:32.735Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:45:32.740Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T02:45:32.850Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:45:32.867Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:45:32.872Z] > git checkout -f aae9743b0dc0131a679878a3c300da09c6c3fd6a # timeout=10 [2021-01-27T02:45:36.619Z] Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" [2021-01-27T02:45:36.632Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:45:36.623Z] > git rev-list --no-walk 2c6ebf06d77d34a5dd31816cd3384181c472a805 # timeout=10 [2021-01-27T02:45:37.820Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:45:38.167Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:45:38.467Z] + sudo service docker restart [2021-01-27T02:45:38.468Z] + true [2021-01-27T02:45:38.468Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:45:39.965Z] provisioning config files... [2021-01-27T02:45:39.998Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config6675371498575357874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:45:40.401Z] ---> docker-login.sh [2021-01-27T02:45:40.401Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:45:40.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:40.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:40.945Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:40.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:40.945Z] [2021-01-27T02:45:40.945Z] Login Succeeded [2021-01-27T02:45:40.945Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:45:40.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:41.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:41.215Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:41.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:41.215Z] [2021-01-27T02:45:41.215Z] Login Succeeded [2021-01-27T02:45:41.215Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:45:41.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:41.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:41.215Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:41.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:41.215Z] [2021-01-27T02:45:41.215Z] Login Succeeded [2021-01-27T02:45:41.215Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:45:41.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:41.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:41.490Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:41.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:41.490Z] [2021-01-27T02:45:41.490Z] Login Succeeded [2021-01-27T02:45:41.490Z] docker.io [2021-01-27T02:45:41.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:42.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:42.023Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:42.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:42.023Z] [2021-01-27T02:45:42.023Z] Login Succeeded [2021-01-27T02:45:42.023Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:45:42.044Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T02:45:42.452Z] ========================================================= [2021-01-27T02:45:42.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-27T02:45:42.452Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:45:42.851Z] + 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-27T02:45:43.117Z] Sending build context to Docker daemon 2.624MB [2021-01-27T02:45:43.117Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:45:43.117Z] Step 2/8 : FROM ${BASE} [2021-01-27T02:45:43.117Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-27T02:45:43.117Z] 188c0c94c7c5: Pulling fs layer [2021-01-27T02:45:43.117Z] 0ef7d3d256c8: Pulling fs layer [2021-01-27T02:45:43.118Z] de9db76c5a1d: Pulling fs layer [2021-01-27T02:45:43.118Z] bca2f99d35d6: Pulling fs layer [2021-01-27T02:45:43.118Z] 93359f2a8cfa: Pulling fs layer [2021-01-27T02:45:43.118Z] 7c6f9722023f: Pulling fs layer [2021-01-27T02:45:43.118Z] a35cf1a2eb13: Pulling fs layer [2021-01-27T02:45:43.118Z] 93359f2a8cfa: Waiting [2021-01-27T02:45:43.118Z] 7c6f9722023f: Waiting [2021-01-27T02:45:43.118Z] a35cf1a2eb13: Waiting [2021-01-27T02:45:43.118Z] bca2f99d35d6: Waiting [2021-01-27T02:45:43.118Z] de9db76c5a1d: Verifying Checksum [2021-01-27T02:45:43.118Z] de9db76c5a1d: Download complete [2021-01-27T02:45:43.118Z] 0ef7d3d256c8: Download complete [2021-01-27T02:45:43.118Z] 93359f2a8cfa: Download complete [2021-01-27T02:45:43.389Z] 7c6f9722023f: Verifying Checksum [2021-01-27T02:45:43.389Z] 7c6f9722023f: Download complete [2021-01-27T02:45:43.389Z] 188c0c94c7c5: Verifying Checksum [2021-01-27T02:45:43.389Z] 188c0c94c7c5: Download complete [2021-01-27T02:45:43.656Z] 188c0c94c7c5: Pull complete [2021-01-27T02:45:43.926Z] 0ef7d3d256c8: Pull complete [2021-01-27T02:45:44.196Z] de9db76c5a1d: Pull complete [2021-01-27T02:45:46.169Z] a35cf1a2eb13: Verifying Checksum [2021-01-27T02:45:46.169Z] a35cf1a2eb13: Download complete [2021-01-27T02:45:46.750Z] bca2f99d35d6: Verifying Checksum [2021-01-27T02:45:46.750Z] bca2f99d35d6: Download complete [2021-01-27T02:45:53.450Z] bca2f99d35d6: Pull complete [2021-01-27T02:45:53.450Z] 93359f2a8cfa: Pull complete [2021-01-27T02:45:53.450Z] 7c6f9722023f: Pull complete [2021-01-27T02:45:58.815Z] a35cf1a2eb13: Pull complete [2021-01-27T02:45:58.815Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-27T02:45:58.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-27T02:45:58.815Z] ---> a62c8e92a672 [2021-01-27T02:45:58.815Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:45:58.815Z] ---> Running in 680ff8b31e7b [2021-01-27T02:45:58.815Z] Removing intermediate container 680ff8b31e7b [2021-01-27T02:45:58.815Z] ---> 40b4b8465bae [2021-01-27T02:45:58.815Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:45:58.815Z] ---> Running in bcbdc76d11f2 [2021-01-27T02:45:59.790Z] Removing intermediate container bcbdc76d11f2 [2021-01-27T02:45:59.790Z] ---> 05556f344f0d [2021-01-27T02:45:59.790Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T02:45:59.790Z] ---> Running in 770d7ca9a194 [2021-01-27T02:46:01.206Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:46:02.166Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T02:46:03.118Z] OK: 166 MiB in 39 packages [2021-01-27T02:46:03.706Z] Removing intermediate container 770d7ca9a194 [2021-01-27T02:46:03.706Z] ---> d9343529acb1 [2021-01-27T02:46:03.706Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T02:46:03.706Z] ---> Running in 6eab420446f6 [2021-01-27T02:46:03.980Z] Removing intermediate container 6eab420446f6 [2021-01-27T02:46:03.980Z] ---> b497d6481dea [2021-01-27T02:46:03.980Z] Step 7/8 : COPY . . [2021-01-27T02:46:05.408Z] ---> 8fc991cf214f [2021-01-27T02:46:05.408Z] Step 8/8 : RUN go mod download [2021-01-27T02:46:05.408Z] ---> Running in 55ce6b0657bb [2021-01-27T02:46:23.632Z] Removing intermediate container 55ce6b0657bb [2021-01-27T02:46:23.632Z] ---> 8733ff398672 [2021-01-27T02:46:23.632Z] Successfully built 8733ff398672 [2021-01-27T02:46:23.632Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:46:23.989Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:46:23.989Z] . [Pipeline] withDockerContainer [2021-01-27T02:46:24.127Z] prd-centos7-docker-4c-2g-23340 does not seem to be running inside a container [2021-01-27T02:46:24.187Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-27T02:46:25.104Z] $ docker top b6b801a6e7c6058b5ecee15ef6e562241f23a4d1ffc02a0736bbfd6d0f068136 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:46:25.737Z] + go version [2021-01-27T02:46:25.737Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-27T02:46:25.761Z] $ docker stop --time=1 b6b801a6e7c6058b5ecee15ef6e562241f23a4d1ffc02a0736bbfd6d0f068136 [2021-01-27T02:46:27.216Z] $ docker rm -f b6b801a6e7c6058b5ecee15ef6e562241f23a4d1ffc02a0736bbfd6d0f068136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:46:28.132Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:46:28.132Z] . [Pipeline] withDockerContainer [2021-01-27T02:46:28.484Z] prd-centos7-docker-4c-2g-23340 does not seem to be running inside a container [2021-01-27T02:46:28.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-27T02:46:29.638Z] $ docker top 49dfd15def97b687f9f28f082d302fb3f0bef7fa71ad2a8f9d37f922b45177e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:46:30.228Z] + make test [2021-01-27T02:46:30.228Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T02:46:40.457Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T02:46:58.797Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T02:46:58.797Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T02:46:58.797Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T02:46:58.797Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.077s coverage: 19.4% of statements [2021-01-27T02:46:59.791Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.460s coverage: 97.1% of statements [2021-01-27T02:47:25.492Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23345 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-01-27T02:47:25.548Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-01-27T02:47:31.553Z] using credential edgex-jenkins-ssh [2021-01-27T02:47:31.620Z] Cloning the remote Git repository [2021-01-27T02:47:31.706Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:47:31.840Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-01-27T02:47:32.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.050s coverage: 9.4% of statements [2021-01-27T02:47:32.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 21.7% of statements [2021-01-27T02:47:32.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T02:47:32.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.253s coverage: 43.2% of statements [2021-01-27T02:47:32.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T02:47:32.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.277s coverage: 66.5% of statements [2021-01-27T02:47:32.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T02:47:32.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T02:47:32.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T02:47:32.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T02:47:32.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 53.8% of statements [2021-01-27T02:47:32.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T02:47:32.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T02:47:32.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.073s coverage: 26.8% of statements [2021-01-27T02:47:32.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.488s coverage: 83.5% of statements [2021-01-27T02:47:32.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.2% of statements [2021-01-27T02:47:32.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T02:47:32.051Z] GO111MODULE=on go vet ./... [2021-01-27T02:47:31.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:47:31.975Z] > git --version # timeout=10 [2021-01-27T02:47:32.000Z] > git --version # 'git version 2.17.1' [2021-01-27T02:47:32.003Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:47:32.082Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:47:34.035Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-01-27T02:47:34.489Z] Merge succeeded, producing 7a7ef4214075eadc7d70faa864302cc692798ad2 [2021-01-27T02:47:34.490Z] Checking out Revision 7a7ef4214075eadc7d70faa864302cc692798ad2 (PR-732) [2021-01-27T02:47:33.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:47:33.338Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:47:33.373Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:47:33.410Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:47:33.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:47:33.423Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:47:34.063Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:47:34.083Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-01-27T02:47:34.217Z] > git remote # timeout=10 [2021-01-27T02:47:34.239Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:47:34.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:47:34.283Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T02:47:34.471Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:47:34.500Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:47:34.567Z] > git checkout -f 7a7ef4214075eadc7d70faa864302cc692798ad2 # timeout=10 [2021-01-27T02:47:39.362Z] Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" [2021-01-27T02:47:39.395Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:47:40.400Z] gofmt -l . [2021-01-27T02:47:40.400Z] [ "`gofmt -l .`" = "" ] [2021-01-27T02:47:40.400Z] ./bin/test-attribution-txt.sh [2021-01-27T02:47:39.375Z] > git rev-list --no-walk 2c6ebf06d77d34a5dd31816cd3384181c472a805 # timeout=10 [2021-01-27T02:47:40.905Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-01-27T02:47:40.984Z] ./bin/test-go-mod-tidy.sh [Pipeline] sh [2021-01-27T02:47:41.343Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] } [2021-01-27T02:47:41.580Z] $ docker stop --time=1 49dfd15def97b687f9f28f082d302fb3f0bef7fa71ad2a8f9d37f922b45177e2 [2021-01-27T02:47:41.702Z] + sudo service docker restart [2021-01-27T02:47:41.702Z] + true [2021-01-27T02:47:43.796Z] $ docker rm -f 49dfd15def97b687f9f28f082d302fb3f0bef7fa71ad2a8f9d37f922b45177e2 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:47:44.528Z] provisioning config files... [2021-01-27T02:47:44.540Z] + sudo chown -R jenkins:jenkins . [2021-01-27T02:47:44.575Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1368387520947195547tmp [Pipeline] stash [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:47:44.998Z] Stashed 1 file(s) [Pipeline] } [2021-01-27T02:47:45.036Z] ---> docker-login.sh [2021-01-27T02:47:45.036Z] nexus3.edgexfoundry.org:10001 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-27T02:47:46.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2021-01-27T02:47:46.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:47:46.343Z] Configure a credential helper to remove this warning. See [2021-01-27T02:47:46.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:47:46.343Z] [2021-01-27T02:47:46.343Z] Login Succeeded [2021-01-27T02:47:46.343Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:47:46.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T02:47:46.690Z] + ls -al . [2021-01-27T02:47:46.690Z] total 216 [2021-01-27T02:47:46.690Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:47 . [2021-01-27T02:47:46.690Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:45 .. [2021-01-27T02:47:46.690Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:45 bin [2021-01-27T02:47:46.690Z] -rw-r--r--. 1 jenkins jenkins 137881 Jan 27 02:47 coverage.out [2021-01-27T02:47:46.690Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:45 Dockerfile.build [2021-01-27T02:47:46.690Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:45 .dockerignore [2021-01-27T02:47:46.690Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:45 example [2021-01-27T02:47:46.690Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:45 .git [2021-01-27T02:47:46.690Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:45 .github [2021-01-27T02:47:46.690Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:45 .gitignore [2021-01-27T02:47:46.690Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 27 02:47 go.mod [2021-01-27T02:47:46.690Z] -rw-r--r--. 1 jenkins jenkins 14016 Jan 27 02:47 go.sum [2021-01-27T02:47:46.690Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 02:45 internal [2021-01-27T02:47:46.690Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:45 Jenkinsfile [2021-01-27T02:47:46.690Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:45 LICENSE [2021-01-27T02:47:46.690Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:45 Makefile [2021-01-27T02:47:46.690Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:45 openapi [2021-01-27T02:47:46.690Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:45 pkg [2021-01-27T02:47:46.690Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:45 README.md [2021-01-27T02:47:46.690Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:45 RELEASE-NOTES.txt [2021-01-27T02:47:46.690Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:45 snap [2021-01-27T02:47:46.690Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:44 VERSION [2021-01-27T02:47:46.690Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:46.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:47:46.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:47:46.949Z] Configure a credential helper to remove this warning. See [2021-01-27T02:47:46.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:47:46.949Z] [2021-01-27T02:47:46.949Z] Login Succeeded [2021-01-27T02:47:46.949Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:47:47.009Z] + 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=0f2f68ce9cb22dd8229168e213abff079c05314d --label arch=amd64 --label version=0.0.0 . [2021-01-27T02:47:47.274Z] Sending build context to Docker daemon 2.763MB [2021-01-27T02:47:47.274Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:47:47.274Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T02:47:47.274Z] ---> 8733ff398672 [2021-01-27T02:47:47.274Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T02:47:47.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:47:47.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:47:47.552Z] Configure a credential helper to remove this warning. See [2021-01-27T02:47:47.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:47:47.552Z] [2021-01-27T02:47:47.552Z] Login Succeeded [2021-01-27T02:47:47.552Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:47:47.853Z] ---> Running in 35b37086479d [2021-01-27T02:47:48.119Z] Removing intermediate container 35b37086479d [2021-01-27T02:47:48.119Z] ---> 719ad3fc6b55 [2021-01-27T02:47:48.119Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T02:47:48.119Z] ---> Running in 7af1474ef00e [2021-01-27T02:47:48.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:47:48.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:47:48.163Z] Configure a credential helper to remove this warning. See [2021-01-27T02:47:48.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:47:48.163Z] [2021-01-27T02:47:48.163Z] Login Succeeded [2021-01-27T02:47:48.163Z] docker.io [2021-01-27T02:47:48.384Z] Removing intermediate container 7af1474ef00e [2021-01-27T02:47:48.384Z] ---> 04bca7fb3138 [2021-01-27T02:47:48.384Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:47:48.384Z] ---> Running in e4a447cd307e [2021-01-27T02:47:48.655Z] Removing intermediate container e4a447cd307e [2021-01-27T02:47:48.655Z] ---> c0e7e00f36f0 [2021-01-27T02:47:48.655Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:47:48.655Z] ---> Running in c59ff70ba54c [2021-01-27T02:47:48.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:47:49.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:47:49.047Z] Configure a credential helper to remove this warning. See [2021-01-27T02:47:49.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:47:49.047Z] [2021-01-27T02:47:49.047Z] Login Succeeded [2021-01-27T02:47:49.047Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:47:49.069Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-27T02:47:49.621Z] Removing intermediate container c59ff70ba54c [2021-01-27T02:47:49.622Z] ---> 5188857b30f0 [2021-01-27T02:47:49.622Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T02:47:49.622Z] ---> Running in 6c56bfd5ddb4 [Pipeline] echo [2021-01-27T02:47:49.708Z] ========================================================= [2021-01-27T02:47:49.708Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-27T02:47:49.708Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:50.129Z] + 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-27T02:47:50.240Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:47:50.754Z] Sending build context to Docker daemon 2.623MB [2021-01-27T02:47:50.754Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:47:50.754Z] Step 2/8 : FROM ${BASE} [2021-01-27T02:47:50.754Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-27T02:47:50.754Z] 5f621e34cdf4: Pulling fs layer [2021-01-27T02:47:50.754Z] a4357932f1b6: Pulling fs layer [2021-01-27T02:47:50.754Z] 18c013af1878: Pulling fs layer [2021-01-27T02:47:50.754Z] 00ac8860ef70: Pulling fs layer [2021-01-27T02:47:50.754Z] 63d7cb157983: Pulling fs layer [2021-01-27T02:47:50.754Z] b116817d02f9: Pulling fs layer [2021-01-27T02:47:50.754Z] 745a02a5169b: Pulling fs layer [2021-01-27T02:47:50.754Z] 63d7cb157983: Waiting [2021-01-27T02:47:50.754Z] 00ac8860ef70: Waiting [2021-01-27T02:47:50.754Z] b116817d02f9: Waiting [2021-01-27T02:47:50.754Z] 745a02a5169b: Waiting [2021-01-27T02:47:50.754Z] 18c013af1878: Verifying Checksum [2021-01-27T02:47:50.754Z] 18c013af1878: Download complete [2021-01-27T02:47:50.821Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T02:47:51.051Z] a4357932f1b6: Verifying Checksum [2021-01-27T02:47:51.051Z] a4357932f1b6: Download complete [2021-01-27T02:47:51.051Z] 63d7cb157983: Verifying Checksum [2021-01-27T02:47:51.051Z] 63d7cb157983: Download complete [2021-01-27T02:47:51.349Z] 5f621e34cdf4: Verifying Checksum [2021-01-27T02:47:51.349Z] 5f621e34cdf4: Download complete [2021-01-27T02:47:51.349Z] b116817d02f9: Download complete [2021-01-27T02:47:51.414Z] OK: 166 MiB in 39 packages [2021-01-27T02:47:51.991Z] 5f621e34cdf4: Pull complete [2021-01-27T02:47:51.998Z] Removing intermediate container 6c56bfd5ddb4 [2021-01-27T02:47:51.998Z] ---> 043c15bae040 [2021-01-27T02:47:51.998Z] Step 8/24 : COPY . . [2021-01-27T02:47:53.001Z] a4357932f1b6: Pull complete [2021-01-27T02:47:53.279Z] 18c013af1878: Pull complete [2021-01-27T02:47:53.424Z] ---> 8364f670f60f [2021-01-27T02:47:53.424Z] Step 9/24 : RUN ${MAKE} [2021-01-27T02:47:53.424Z] ---> Running in 8b04f2eeaf96 [2021-01-27T02:47:54.009Z] 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-27T02:47:54.739Z] 745a02a5169b: Verifying Checksum [2021-01-27T02:47:54.739Z] 745a02a5169b: Download complete [2021-01-27T02:47:56.727Z] 00ac8860ef70: Verifying Checksum [2021-01-27T02:47:56.727Z] 00ac8860ef70: Download complete [2021-01-27T02:48:04.219Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T02:48:05.173Z] Removing intermediate container 8b04f2eeaf96 [2021-01-27T02:48:05.173Z] ---> bd8e193a2bdd [2021-01-27T02:48:05.173Z] Step 10/24 : FROM scratch [2021-01-27T02:48:05.173Z] ---> [2021-01-27T02:48:05.173Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:48:05.173Z] ---> Running in 2b1c759788d5 [2021-01-27T02:48:05.438Z] Removing intermediate container 2b1c759788d5 [2021-01-27T02:48:05.438Z] ---> b4a6a06c4b99 [2021-01-27T02:48:05.438Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T02:48:05.438Z] ---> Running in 66e3c3bd3e74 [2021-01-27T02:48:05.701Z] Removing intermediate container 66e3c3bd3e74 [2021-01-27T02:48:05.701Z] ---> 7e5b5a406635 [2021-01-27T02:48:05.701Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T02:48:05.701Z] ---> Running in ff2924dc0ec8 [2021-01-27T02:48:05.963Z] Removing intermediate container ff2924dc0ec8 [2021-01-27T02:48:05.964Z] ---> 49ff21e03ab7 [2021-01-27T02:48:05.964Z] Step 14/24 : WORKDIR / [2021-01-27T02:48:05.964Z] ---> Running in 1975431d4621 [2021-01-27T02:48:05.964Z] Removing intermediate container 1975431d4621 [2021-01-27T02:48:05.964Z] ---> 9e2bcd18b8f0 [2021-01-27T02:48:05.964Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T02:48:06.548Z] ---> 1cefba7d87ae [2021-01-27T02:48:06.548Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T02:48:06.810Z] ---> 15605cf14ed8 [2021-01-27T02:48:06.810Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T02:48:06.940Z] 00ac8860ef70: Pull complete [2021-01-27T02:48:06.940Z] 63d7cb157983: Pull complete [2021-01-27T02:48:06.940Z] b116817d02f9: Pull complete [2021-01-27T02:48:07.075Z] ---> 7aa558d13f19 [2021-01-27T02:48:07.075Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T02:48:07.338Z] ---> 4e3d4b35afb2 [2021-01-27T02:48:07.338Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T02:48:07.601Z] ---> 027cad8e8dfa [2021-01-27T02:48:07.601Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T02:48:07.601Z] ---> Running in 23323c9e26b4 [2021-01-27T02:48:07.864Z] Removing intermediate container 23323c9e26b4 [2021-01-27T02:48:07.864Z] ---> b867b8048bb6 [2021-01-27T02:48:07.864Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T02:48:07.864Z] ---> Running in 6e34c708dc65 [2021-01-27T02:48:08.189Z] Removing intermediate container 6e34c708dc65 [2021-01-27T02:48:08.189Z] ---> 57a34de75838 [2021-01-27T02:48:08.189Z] Step 22/24 : LABEL arch=amd64 [2021-01-27T02:48:08.189Z] ---> Running in 45532307ff97 [2021-01-27T02:48:08.189Z] Removing intermediate container 45532307ff97 [2021-01-27T02:48:08.189Z] ---> 62fae8bbd7ea [2021-01-27T02:48:08.189Z] Step 23/24 : LABEL git_sha=0f2f68ce9cb22dd8229168e213abff079c05314d [2021-01-27T02:48:08.458Z] ---> Running in fe9c35553c79 [2021-01-27T02:48:08.458Z] Removing intermediate container fe9c35553c79 [2021-01-27T02:48:08.458Z] ---> 5711d44d34e0 [2021-01-27T02:48:08.458Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T02:48:08.722Z] ---> Running in 8dfc9d7ebdc2 [2021-01-27T02:48:08.722Z] Removing intermediate container 8dfc9d7ebdc2 [2021-01-27T02:48:08.722Z] ---> e1a92783f7bf [2021-01-27T02:48:08.722Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T02:48:08.722Z] Successfully built e1a92783f7bf [2021-01-27T02:48:08.722Z] 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-27T02:48:11.291Z] 745a02a5169b: Pull complete [2021-01-27T02:48:11.292Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-27T02:48:11.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-27T02:48:11.292Z] ---> b7e6874047d6 [2021-01-27T02:48:11.292Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:48:13.948Z] ---> Running in 13958593e83f [2021-01-27T02:48:14.552Z] Removing intermediate container 13958593e83f [2021-01-27T02:48:14.552Z] ---> 2f0c8267d326 [2021-01-27T02:48:14.552Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:48:14.552Z] ---> Running in 262ab6ff4d3b [2021-01-27T02:48:17.187Z] Removing intermediate container 262ab6ff4d3b [2021-01-27T02:48:17.187Z] ---> e1c6e1f6728b [2021-01-27T02:48:17.187Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T02:48:17.465Z] ---> Running in 64e19afc7292 [2021-01-27T02:48:18.455Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:48:20.429Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T02:48:23.048Z] OK: 142 MiB in 39 packages [2021-01-27T02:48:24.514Z] Removing intermediate container 64e19afc7292 [2021-01-27T02:48:24.514Z] ---> f841236120a2 [2021-01-27T02:48:24.514Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T02:48:24.514Z] ---> Running in ab39f1dfa764 [2021-01-27T02:48:25.113Z] Removing intermediate container ab39f1dfa764 [2021-01-27T02:48:25.113Z] ---> e52441721859 [2021-01-27T02:48:25.113Z] Step 7/8 : COPY . . [2021-01-27T02:48:26.553Z] ---> 60a680c04669 [2021-01-27T02:48:26.553Z] Step 8/8 : RUN go mod download [2021-01-27T02:48:26.553Z] ---> Running in 2bcb33a4e78b [2021-01-27T02:48:53.402Z] Removing intermediate container 2bcb33a4e78b [2021-01-27T02:48:53.402Z] ---> fce7c7721bb9 [2021-01-27T02:48:53.402Z] Successfully built fce7c7721bb9 [2021-01-27T02:48:53.402Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:48:53.751Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:48:53.751Z] . [Pipeline] withDockerContainer [2021-01-27T02:48:54.055Z] prd-ubuntu18.04-docker-arm64-4c-16g-23345 does not seem to be running inside a container [2021-01-27T02:48:54.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-27T02:48:55.850Z] $ docker top 07b5b6a4b4e3d28c85afd317cdeab332f371a1aae03f8f245a2280593231402f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:48:56.890Z] + go version [2021-01-27T02:48:56.890Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-27T02:48:56.925Z] $ docker stop --time=1 07b5b6a4b4e3d28c85afd317cdeab332f371a1aae03f8f245a2280593231402f [2021-01-27T02:48:58.871Z] $ docker rm -f 07b5b6a4b4e3d28c85afd317cdeab332f371a1aae03f8f245a2280593231402f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:48:59.907Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:48:59.907Z] . [Pipeline] withDockerContainer [2021-01-27T02:49:00.183Z] prd-ubuntu18.04-docker-arm64-4c-16g-23345 does not seem to be running inside a container [2021-01-27T02:49:00.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-27T02:49:01.856Z] $ docker top 952f074349ad750a0a1755180411f0d06c02f068350c69ba77f40a315f83e8ff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:49:02.920Z] + make test [2021-01-27T02:49:02.920Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T02:49:25.126Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T02:50:12.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T02:50:12.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T02:50:12.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T02:50:12.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.161s coverage: 19.4% of statements [2021-01-27T02:50:14.169Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.342s coverage: 97.1% of statements [2021-01-27T02:50:46.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.135s coverage: 9.4% of statements [2021-01-27T02:50:46.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.122s coverage: 21.7% of statements [2021-01-27T02:50:46.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T02:50:46.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.681s coverage: 43.2% of statements [2021-01-27T02:50:46.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T02:50:46.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.802s coverage: 66.5% of statements [2021-01-27T02:50:46.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T02:50:46.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T02:50:46.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T02:50:46.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T02:50:46.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.208s coverage: 53.8% of statements [2021-01-27T02:50:46.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T02:50:46.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T02:50:46.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.192s coverage: 26.8% of statements [2021-01-27T02:50:46.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.006s coverage: 83.5% of statements [2021-01-27T02:50:46.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements [2021-01-27T02:50:46.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T02:50:46.554Z] GO111MODULE=on go vet ./... [2021-01-27T02:51:20.494Z] gofmt -l . [2021-01-27T02:51:20.494Z] [ "`gofmt -l .`" = "" ] [2021-01-27T02:51:20.494Z] ./bin/test-attribution-txt.sh [2021-01-27T02:51:20.494Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T02:51:20.517Z] $ docker stop --time=1 952f074349ad750a0a1755180411f0d06c02f068350c69ba77f40a315f83e8ff [2021-01-27T02:51:22.716Z] $ docker rm -f 952f074349ad750a0a1755180411f0d06c02f068350c69ba77f40a315f83e8ff [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:51:23.752Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T02:51:23.774Z] Warning: overwriting stash ‘coverage-report’ [2021-01-27T02:51:24.547Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:51:25.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T02:51:25.564Z] + ls -al . [2021-01-27T02:51:25.564Z] total 252 [2021-01-27T02:51:25.564Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:51 . [2021-01-27T02:51:25.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 .. [2021-01-27T02:51:25.564Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:47 .dockerignore [2021-01-27T02:51:25.564Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:47 .git [2021-01-27T02:51:25.564Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:47 .github [2021-01-27T02:51:25.564Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:47 .gitignore [2021-01-27T02:51:25.564Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:47 Dockerfile.build [2021-01-27T02:51:25.564Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:47 Jenkinsfile [2021-01-27T02:51:25.564Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:47 LICENSE [2021-01-27T02:51:25.564Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:47 Makefile [2021-01-27T02:51:25.564Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:47 README.md [2021-01-27T02:51:25.564Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:47 RELEASE-NOTES.txt [2021-01-27T02:51:25.564Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:44 VERSION [2021-01-27T02:51:25.564Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:47 bin [2021-01-27T02:51:25.564Z] -rw-r--r-- 1 jenkins jenkins 137880 Jan 27 02:50 coverage.out [2021-01-27T02:51:25.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 example [2021-01-27T02:51:25.564Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 27 02:51 go.mod [2021-01-27T02:51:25.564Z] -rw-r--r-- 1 jenkins jenkins 14016 Jan 27 02:51 go.sum [2021-01-27T02:51:25.564Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 02:47 internal [2021-01-27T02:51:25.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 openapi [2021-01-27T02:51:25.564Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:47 pkg [2021-01-27T02:51:25.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 snap [2021-01-27T02:51:25.564Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:51:25.932Z] + 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=0f2f68ce9cb22dd8229168e213abff079c05314d --label arch=arm64 --label version=0.0.0 . [2021-01-27T02:51:26.212Z] Sending build context to Docker daemon 2.762MB [2021-01-27T02:51:26.212Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:51:26.212Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T02:51:26.212Z] ---> fce7c7721bb9 [2021-01-27T02:51:26.212Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T02:51:26.813Z] ---> Running in 37cea9a170a5 [2021-01-27T02:51:27.091Z] Removing intermediate container 37cea9a170a5 [2021-01-27T02:51:27.091Z] ---> b0e12f68e074 [2021-01-27T02:51:27.091Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T02:51:27.373Z] ---> Running in 22dc1580521c [2021-01-27T02:51:27.646Z] Removing intermediate container 22dc1580521c [2021-01-27T02:51:27.646Z] ---> ddc463472aa2 [2021-01-27T02:51:27.646Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:51:27.920Z] ---> Running in 4f0b517bedde [2021-01-27T02:51:28.193Z] Removing intermediate container 4f0b517bedde [2021-01-27T02:51:28.193Z] ---> 15820304c9f8 [2021-01-27T02:51:28.193Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:51:28.468Z] ---> Running in 1593764e4b34 [2021-01-27T02:51:30.459Z] Removing intermediate container 1593764e4b34 [2021-01-27T02:51:30.459Z] ---> 7d1b449d7f5b [2021-01-27T02:51:30.459Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T02:51:30.459Z] ---> Running in 12b23da94a99 [2021-01-27T02:51:31.450Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:51:32.879Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T02:51:34.323Z] OK: 142 MiB in 39 packages [2021-01-27T02:51:35.305Z] Removing intermediate container 12b23da94a99 [2021-01-27T02:51:35.305Z] ---> 01cef9cfb6c6 [2021-01-27T02:51:35.305Z] Step 8/24 : COPY . . [2021-01-27T02:51:36.755Z] ---> c9418fdc24a8 [2021-01-27T02:51:36.755Z] Step 9/24 : RUN ${MAKE} [2021-01-27T02:51:37.028Z] ---> Running in ed7cd8317e83 [2021-01-27T02:51:38.005Z] 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-27T02:52:04.865Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T02:52:04.865Z] Removing intermediate container ed7cd8317e83 [2021-01-27T02:52:04.865Z] ---> d5fecaccba0d [2021-01-27T02:52:04.865Z] Step 10/24 : FROM scratch [2021-01-27T02:52:04.865Z] ---> [2021-01-27T02:52:04.865Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:52:04.865Z] ---> Running in 2aa41b26a0ff [2021-01-27T02:52:05.139Z] Removing intermediate container 2aa41b26a0ff [2021-01-27T02:52:05.139Z] ---> ae1c1b4a9d47 [2021-01-27T02:52:05.139Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T02:52:05.413Z] ---> Running in a2db0179f243 [2021-01-27T02:52:06.012Z] Removing intermediate container a2db0179f243 [2021-01-27T02:52:06.012Z] ---> 4e9dcb4d7f8b [2021-01-27T02:52:06.012Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T02:52:06.012Z] ---> Running in 1908c10d0812 [2021-01-27T02:52:06.610Z] Removing intermediate container 1908c10d0812 [2021-01-27T02:52:06.610Z] ---> bd5452236cfa [2021-01-27T02:52:06.610Z] Step 14/24 : WORKDIR / [2021-01-27T02:52:06.610Z] ---> Running in 66413a198f2d [2021-01-27T02:52:06.882Z] Removing intermediate container 66413a198f2d [2021-01-27T02:52:06.882Z] ---> 04fc8596c702 [2021-01-27T02:52:06.882Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T02:52:08.318Z] ---> b8ef43b30d9c [2021-01-27T02:52:08.318Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T02:52:08.919Z] ---> dd65feb66855 [2021-01-27T02:52:08.919Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T02:52:09.514Z] ---> a44d95f2a2aa [2021-01-27T02:52:09.514Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T02:52:10.495Z] ---> aee5b6814e3c [2021-01-27T02:52:10.495Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T02:52:11.094Z] ---> 5c523ca8ebd2 [2021-01-27T02:52:11.094Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T02:52:11.094Z] ---> Running in 8f123a97307d [2021-01-27T02:52:11.691Z] Removing intermediate container 8f123a97307d [2021-01-27T02:52:11.691Z] ---> f215cb2ee7d6 [2021-01-27T02:52:11.691Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T02:52:11.691Z] ---> Running in e325f4d9c970 [2021-01-27T02:52:12.288Z] Removing intermediate container e325f4d9c970 [2021-01-27T02:52:12.288Z] ---> 8619ce6857ec [2021-01-27T02:52:12.288Z] Step 22/24 : LABEL arch=arm64 [2021-01-27T02:52:12.288Z] ---> Running in 8844b1fa06cf [2021-01-27T02:52:12.884Z] Removing intermediate container 8844b1fa06cf [2021-01-27T02:52:12.884Z] ---> 5d20c83698eb [2021-01-27T02:52:12.884Z] Step 23/24 : LABEL git_sha=0f2f68ce9cb22dd8229168e213abff079c05314d [2021-01-27T02:52:12.884Z] ---> Running in cd1db44dcb35 [2021-01-27T02:52:13.484Z] Removing intermediate container cd1db44dcb35 [2021-01-27T02:52:13.484Z] ---> 1695f0f415f5 [2021-01-27T02:52:13.484Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T02:52:13.484Z] ---> Running in 73934db19a03 [2021-01-27T02:52:14.081Z] Removing intermediate container 73934db19a03 [2021-01-27T02:52:14.081Z] ---> d2a312294a3c [2021-01-27T02:52:14.081Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T02:52:14.081Z] Successfully built d2a312294a3c [2021-01-27T02:52:14.081Z] 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-27T02:52:15.751Z] provisioning config files... [2021-01-27T02:52:15.780Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3299504104566242503tmp [Pipeline] { [Pipeline] sh [2021-01-27T02:52:16.179Z] + set +x [2021-01-27T02:52:16.179Z] + curl -s https://codecov.io/bash [2021-01-27T02:52:16.179Z] + bash -s -- [2021-01-27T02:52:16.442Z] [2021-01-27T02:52:16.442Z] _____ _ [2021-01-27T02:52:16.442Z] / ____| | | [2021-01-27T02:52:16.442Z] | | ___ __| | ___ ___ _____ __ [2021-01-27T02:52:16.442Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-27T02:52:16.442Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-27T02:52:16.442Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-27T02:52:16.442Z] Bash-20210115-cec3c92 [2021-01-27T02:52:16.442Z] [2021-01-27T02:52:16.442Z] [2021-01-27T02:52:16.442Z] ==> git version 2.24.3 found [2021-01-27T02:52:16.442Z] ==> 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-27T02:52:16.442Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-27T02:52:16.443Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-27T02:52:16.443Z] ==> Jenkins CI detected. [2021-01-27T02:52:16.443Z] project root: . [2021-01-27T02:52:16.443Z] --> token set from env [2021-01-27T02:52:16.443Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-27T02:52:16.443Z] ==> Running gcov in . (disable via -X gcov) [2021-01-27T02:52:16.443Z] ==> Python coveragepy not found [2021-01-27T02:52:16.443Z] ==> Searching for coverage reports in: [2021-01-27T02:52:16.443Z] + . [2021-01-27T02:52:16.443Z] -> Found 1 reports [2021-01-27T02:52:16.443Z] ==> Detecting git/mercurial file structure [2021-01-27T02:52:16.443Z] ==> Reading reports [2021-01-27T02:52:16.443Z] + ./coverage.out bytes=137880 [2021-01-27T02:52:16.443Z] ==> Appending adjustments [2021-01-27T02:52:16.443Z] https://docs.codecov.io/docs/fixing-reports [2021-01-27T02:52:17.017Z] + Found adjustments [2021-01-27T02:52:17.017Z] ==> Gzipping contents [2021-01-27T02:52:17.017Z] 24K /tmp/codecov.LSY185.gz [2021-01-27T02:52:17.017Z] ==> Uploading reports [2021-01-27T02:52:17.017Z] url: https://codecov.io [2021-01-27T02:52:17.017Z] query: branch=PR-732&commit=0f2f68ce9cb22dd8229168e213abff079c05314d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-01-27T02:52:17.017Z] -> Pinging Codecov [2021-01-27T02:52:17.017Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-732&commit=0f2f68ce9cb22dd8229168e213abff079c05314d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-01-27T02:52:17.279Z] -> Uploading to [2021-01-27T02:52:17.279Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/0f2f68ce9cb22dd8229168e213abff079c05314d/cc0e5e5f-9b50-4170-9d5b-35db53b996a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025217Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b3fa8277cffea183beb7da400ae37e79b1cdfee77e0622a0c29b2c59b1b6a8f [2021-01-27T02:52:17.279Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-27T02:52:17.279Z] Dload Upload Total Spent Left Speed [2021-01-27T02:52:17.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21641 0 0 100 21641 0 41894 --:--:-- --:--:-- --:--:-- 41858 100 21641 0 0 100 21641 0 41879 --:--:-- --:--:-- --:--:-- 41858 [2021-01-27T02:52:17.857Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0f2f68ce9cb22dd8229168e213abff079c05314d [Pipeline] } [2021-01-27T02:52:17.866Z] 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-27T02:52:20.584Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:20.892Z] ---> package-listing.sh [2021-01-27T02:52:20.892Z] ++ facter osfamily [2021-01-27T02:52:20.892Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-27T02:52:20.892Z] + OS_FAMILY=redhat [2021-01-27T02:52:20.892Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-01-27T02:52:20.892Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-27T02:52:20.892Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-27T02:52:20.892Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-27T02:52:20.892Z] + PACKAGES=/tmp/packages_start.txt [2021-01-27T02:52:20.892Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-01-27T02:52:20.892Z] + PACKAGES=/tmp/packages_end.txt [2021-01-27T02:52:20.892Z] + case "${OS_FAMILY}" in [2021-01-27T02:52:20.892Z] + rpm -qa [2021-01-27T02:52:20.892Z] + sort [2021-01-27T02:52:26.193Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-27T02:52:26.193Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-27T02:52:26.193Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-27T02:52:26.193Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-01-27T02:52:26.193Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [2021-01-27T02:52:26.193Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo [2021-01-27T02:52:26.209Z] 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-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-27T02:52:26.500Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:52:26.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:52:26.820Z] [2021-01-27T02:52:26.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:52:27.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:52:27.174Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-27T02:52:27.174Z] df20fa9351a1: Pulling fs layer [2021-01-27T02:52:27.174Z] 36b3adc4ff6f: Pulling fs layer [2021-01-27T02:52:27.174Z] 8ad3a11d3b57: Pulling fs layer [2021-01-27T02:52:27.174Z] 46f8f816bc3b: Pulling fs layer [2021-01-27T02:52:27.174Z] 93b61091891f: Pulling fs layer [2021-01-27T02:52:27.174Z] 93b9cdb0e59b: Pulling fs layer [2021-01-27T02:52:27.174Z] 5e14af77c1be: Pulling fs layer [2021-01-27T02:52:27.174Z] 01666e4c0597: Pulling fs layer [2021-01-27T02:52:27.174Z] aa168da1d23b: Pulling fs layer [2021-01-27T02:52:27.174Z] 46f8f816bc3b: Waiting [2021-01-27T02:52:27.174Z] 93b61091891f: Waiting [2021-01-27T02:52:27.174Z] 93b9cdb0e59b: Waiting [2021-01-27T02:52:27.174Z] 5e14af77c1be: Waiting [2021-01-27T02:52:27.174Z] 01666e4c0597: Waiting [2021-01-27T02:52:27.174Z] aa168da1d23b: Waiting [2021-01-27T02:52:27.174Z] 36b3adc4ff6f: Verifying Checksum [2021-01-27T02:52:27.174Z] 36b3adc4ff6f: Download complete [2021-01-27T02:52:27.174Z] 46f8f816bc3b: Download complete [2021-01-27T02:52:27.437Z] df20fa9351a1: Verifying Checksum [2021-01-27T02:52:27.437Z] df20fa9351a1: Download complete [2021-01-27T02:52:27.437Z] 93b61091891f: Download complete [2021-01-27T02:52:27.437Z] 93b9cdb0e59b: Verifying Checksum [2021-01-27T02:52:27.437Z] 93b9cdb0e59b: Download complete [2021-01-27T02:52:27.437Z] 5e14af77c1be: Verifying Checksum [2021-01-27T02:52:27.437Z] 5e14af77c1be: Download complete [2021-01-27T02:52:27.437Z] 01666e4c0597: Verifying Checksum [2021-01-27T02:52:27.437Z] 01666e4c0597: Download complete [2021-01-27T02:52:27.701Z] df20fa9351a1: Pull complete [2021-01-27T02:52:27.964Z] 36b3adc4ff6f: Pull complete [2021-01-27T02:52:27.965Z] 8ad3a11d3b57: Verifying Checksum [2021-01-27T02:52:27.965Z] 8ad3a11d3b57: Download complete [2021-01-27T02:52:28.929Z] 8ad3a11d3b57: Pull complete [2021-01-27T02:52:28.929Z] 46f8f816bc3b: Pull complete [2021-01-27T02:52:30.334Z] aa168da1d23b: Verifying Checksum [2021-01-27T02:52:30.334Z] aa168da1d23b: Download complete [2021-01-27T02:52:30.599Z] 93b61091891f: Pull complete [2021-01-27T02:52:30.599Z] 93b9cdb0e59b: Pull complete [2021-01-27T02:52:30.861Z] 5e14af77c1be: Pull complete [2021-01-27T02:52:31.124Z] 01666e4c0597: Pull complete [2021-01-27T02:52:39.309Z] aa168da1d23b: Pull complete [2021-01-27T02:52:39.309Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-27T02:52:39.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:52:39.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-27T02:52:39.490Z] prd-centos7-docker-4c-2g-23331 does not seem to be running inside a container [2021-01-27T02:52:39.540Z] $ 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-732/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-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-27T02:52:42.401Z] $ docker top ecf018a6ba6e6643dd01a4c7fac74fbd09933319d6b19b159784de6bde7eb402 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:52:42.905Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-27T02:52:43.203Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-27T02:52:43.505Z] + ls /var/log/sa-host [2021-01-27T02:52:43.506Z] + sadf -c /var/log/sa-host/sa23 [2021-01-27T02:52:43.506Z] file_magic: OK [2021-01-27T02:52:43.506Z] HZ: Using current value: 100 [2021-01-27T02:52:43.506Z] file_header: OK [2021-01-27T02:52:43.506Z] 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-27T02:52:43.506Z] Statistics: [2021-01-27T02:52:43.506Z] Hnuu...uuuununununu... [2021-01-27T02:52:43.506Z] File successfully converted to sysstat format version 12.2.1 [2021-01-27T02:52:43.506Z] + sadf -c /var/log/sa-host/sa27 [2021-01-27T02:52:43.506Z] file_magic: OK [2021-01-27T02:52:43.506Z] HZ: Using current value: 100 [2021-01-27T02:52:43.506Z] file_header: OK [2021-01-27T02:52:43.506Z] 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-27T02:52:43.506Z] Statistics: [2021-01-27T02:52:43.506Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-27T02:52:43.506Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-27T02:52:43.727Z] provisioning config files... [2021-01-27T02:52:43.744Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config2741837790112933943tmp [Pipeline] { [Pipeline] echo [2021-01-27T02:52:43.828Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:44.130Z] ---> create-netrc.sh [Pipeline] } [2021-01-27T02:52:44.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-27T02:52:44.237Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:44.551Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-27T02:52:44.562Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:44.862Z] ---> sudo-logs.sh [2021-01-27T02:52:44.862Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-27T02:52:44.877Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:45.175Z] ---> job-cost.sh [2021-01-27T02:52:45.175Z] lf-activate-venv: SKIPPING [2021-01-27T02:52:45.175Z] INFO: No Stack... [2021-01-27T02:52:46.125Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-27T02:52:46.704Z] INFO: Archiving Costs [Pipeline] echo [2021-01-27T02:52:46.718Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:47.013Z] ---> logs-deploy.sh [2021-01-27T02:52:47.013Z] lf-activate-venv: SKIPPING [2021-01-27T02:52:47.013Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/7 [2021-01-27T02:52:47.013Z] INFO: archiving workspace using pattern(s): [2021-01-27T02:52:48.941Z] Archives upload complete. [2021-01-27T02:52:48.941Z] INFO: archiving logs to Nexus