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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from d510da1b257a72a1ecadf2ee4e04e7d54b2df89d 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 ‘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-23650’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23653 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 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c Merge succeeded, producing 23455bfac23852930a6947f372e58b4db43b0f22 Checking out Revision 23455bfac23852930a6947f372e58b4db43b0f22 (PR-732) > 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 > 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23455bfac23852930a6947f372e58b4db43b0f22 # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 0f2f68ce9cb22dd8229168e213abff079c05314d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T02:42:37.034Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-28T02:42:37.335Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T02:42:37.493Z] ========================================================= [2021-01-28T02:42:37.493Z] EdgeX Global Pipelines Version Info [2021-01-28T02:42:37.493Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:42:38.952Z] ------------------- [2021-01-28T02:42:38.952Z] stable info: [2021-01-28T02:42:38.952Z] ------------------- [2021-01-28T02:42:38.952Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T02:42:38.952Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T02:42:38.952Z] Message: update stable to v1.0.179 [2021-01-28T02:42:39.901Z] ------------------- [2021-01-28T02:42:39.901Z] experimental info: [2021-01-28T02:42:39.901Z] ------------------- [2021-01-28T02:42:39.901Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T02:42:39.901Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T02:42:39.901Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T02:42:40.178Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T02:42:40.280Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T02:42:40.380Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T02:42:40.508Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T02:42:40.614Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T02:42:40.706Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T02:42:40.858Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T02:42:40.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T02:42:41.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T02:42:41.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T02:42:41.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T02:42:41.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T02:42:41.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T02:42:41.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T02:42:41.728Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T02:42:41.816Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:42:41.905Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:42:42.013Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:42:42.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T02:42:42.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T02:42:42.298Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T02:42:42.396Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T02:42:42.481Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T02:42:42.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T02:42:42.655Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T02:42:42.765Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T02:42:42.851Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T02:42:42.935Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo [2021-01-28T02:42:43.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo [2021-01-28T02:42:43.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo [2021-01-28T02:42:43.222Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23455bfac23852930a6947f372e58b4db43b0f22 [Pipeline] echo [2021-01-28T02:42:43.315Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23455bf [Pipeline] echo [2021-01-28T02:42:43.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:42:43.583Z] provisioning config files... [2021-01-28T02:42:43.615Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3535314488397158730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:42:43.987Z] ---> docker-login.sh [2021-01-28T02:42:43.987Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:42:44.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:42:44.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:42:44.518Z] Configure a credential helper to remove this warning. See [2021-01-28T02:42:44.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:42:44.518Z] [2021-01-28T02:42:44.518Z] Login Succeeded [2021-01-28T02:42:44.518Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:42:44.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:42:44.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:42:44.518Z] Configure a credential helper to remove this warning. See [2021-01-28T02:42:44.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:42:44.518Z] [2021-01-28T02:42:44.518Z] Login Succeeded [2021-01-28T02:42:44.518Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:42:44.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:42:44.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:42:44.781Z] Configure a credential helper to remove this warning. See [2021-01-28T02:42:44.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:42:44.781Z] [2021-01-28T02:42:44.781Z] Login Succeeded [2021-01-28T02:42:44.781Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:42:45.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:42:45.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:42:45.044Z] Configure a credential helper to remove this warning. See [2021-01-28T02:42:45.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:42:45.044Z] [2021-01-28T02:42:45.044Z] Login Succeeded [2021-01-28T02:42:45.044Z] docker.io [2021-01-28T02:42:45.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:42:45.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:42:45.310Z] Configure a credential helper to remove this warning. See [2021-01-28T02:42:45.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:42:45.310Z] [2021-01-28T02:42:45.310Z] Login Succeeded [2021-01-28T02:42:45.310Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:42:45.321Z] 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-28T02:42:46.123Z] + git log --format=format:%s -1 23455bfac23852930a6947f372e58b4db43b0f22 [Pipeline] echo [2021-01-28T02:42:46.201Z] GIT_COMMIT: 23455bfac23852930a6947f372e58b4db43b0f22, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo [2021-01-28T02:42:46.246Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:42:46.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:42:46.849Z] [2021-01-28T02:42:46.849Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:42:47.201Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:42:47.201Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T02:42:47.201Z] 31603596830f: Pulling fs layer [2021-01-28T02:42:47.201Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T02:42:47.201Z] 6ca5941a6612: Pulling fs layer [2021-01-28T02:42:47.201Z] ecc8261a40a4: Pulling fs layer [2021-01-28T02:42:47.201Z] ecc8261a40a4: Waiting [2021-01-28T02:42:47.201Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T02:42:47.201Z] 2a8b12db71e7: Download complete [2021-01-28T02:42:47.465Z] 31603596830f: Verifying Checksum [2021-01-28T02:42:47.465Z] 31603596830f: Download complete [2021-01-28T02:42:47.465Z] 6ca5941a6612: Verifying Checksum [2021-01-28T02:42:47.465Z] 6ca5941a6612: Download complete [2021-01-28T02:42:47.465Z] ecc8261a40a4: Verifying Checksum [2021-01-28T02:42:47.465Z] ecc8261a40a4: Download complete [2021-01-28T02:42:47.730Z] 31603596830f: Pull complete [2021-01-28T02:42:47.998Z] 2a8b12db71e7: Pull complete [2021-01-28T02:42:49.009Z] 6ca5941a6612: Pull complete [2021-01-28T02:42:49.273Z] ecc8261a40a4: Pull complete [2021-01-28T02:42:49.273Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T02:42:49.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:42:49.273Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T02:42:49.391Z] prd-centos7-docker-4c-2g-23653 does not seem to be running inside a container [2021-01-28T02:42:49.446Z] $ 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-28T02:42:51.751Z] $ docker top b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T02:42:52.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T02:42:52.072Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T02:42:52.313Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T02:42:52.318Z] $ docker exec b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f ssh-agent [2021-01-28T02:42:52.503Z] SSH_AUTH_SOCK=/tmp/ssh-RNdEKb2moRud/agent.11 [2021-01-28T02:42:52.503Z] SSH_AGENT_PID=17 [2021-01-28T02:42:52.515Z] Running ssh-add (command line suppressed) [2021-01-28T02:42:52.648Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_2888151635229273596.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_2888151635229273596.key) [2021-01-28T02:42:52.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T02:42:53.086Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T02:42:53.122Z] $ docker exec --env ******** --env ******** b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f ssh-agent -k [2021-01-28T02:42:53.240Z] unset SSH_AUTH_SOCK; [2021-01-28T02:42:53.241Z] unset SSH_AGENT_PID; [2021-01-28T02:42:53.241Z] echo Agent pid 17 killed; [2021-01-28T02:42:53.290Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T02:42:53.450Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T02:42:53.450Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T02:42:53.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T02:42:53.631Z] $ docker exec b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f ssh-agent [2021-01-28T02:42:53.806Z] SSH_AUTH_SOCK=/tmp/ssh-cx3Z3ekykZoQ/agent.45 [2021-01-28T02:42:53.806Z] SSH_AGENT_PID=50 [2021-01-28T02:42:53.814Z] Running ssh-add (command line suppressed) [2021-01-28T02:42:53.943Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3906522355791002353.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3906522355791002353.key) [2021-01-28T02:42:54.012Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T02:42:54.403Z] + git semver init [2021-01-28T02:42:54.403Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T02:42:54.403Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git [2021-01-28T02:42:54.403Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-01-28T02:42:54.403Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T02:42:54.403Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T02:42:54.403Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T02:42:54.403Z] # $SEMVER_BRANCH = PR-732 [2021-01-28T02:42:54.403Z] # $SEMVER_TEMP = /tmp/semver-571772637 [2021-01-28T02:42:54.403Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T02:42:54.980Z] # '/tmp/semver-571772637' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' [2021-01-28T02:42:54.980Z] # -> Force: false [2021-01-28T02:42:54.980Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } [2021-01-28T02:42:54.994Z] $ docker exec --env ******** --env ******** b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f ssh-agent -k [2021-01-28T02:42:55.126Z] unset SSH_AUTH_SOCK; [2021-01-28T02:42:55.127Z] unset SSH_AGENT_PID; [2021-01-28T02:42:55.127Z] echo Agent pid 50 killed; [2021-01-28T02:42:55.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T02:42:55.685Z] + git semver [Pipeline] } [2021-01-28T02:42:55.711Z] $ docker stop --time=1 b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f [2021-01-28T02:42:57.124Z] $ docker rm -f b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T02:42:57.604Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T02:42:58.180Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T02:42:58.183Z] [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-28T02:43:13.729Z] Still waiting to schedule task [2021-01-28T02:43:13.730Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-28T02:43:13.732Z] Still waiting to schedule task [2021-01-28T02:43:13.732Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-28T02:44:09.195Z] Running on prd-centos7-docker-4c-2g-23659 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-01-28T02:44:09.247Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-01-28T02:44:11.753Z] using credential edgex-jenkins-ssh [2021-01-28T02:44:11.811Z] Cloning the remote Git repository [2021-01-28T02:44:11.845Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:44:11.926Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-01-28T02:44:12.001Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:44:12.002Z] > git --version # timeout=10 [2021-01-28T02:44:12.008Z] > git --version # 'git version 2.24.3' [2021-01-28T02:44:12.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:44:12.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:44:12.808Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:44:12.818Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:44:13.294Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-01-28T02:44:13.497Z] Merge succeeded, producing 969e0ec051e5d3905c767b5512a973f0076f8483 [2021-01-28T02:44:13.497Z] Checking out Revision 969e0ec051e5d3905c767b5512a973f0076f8483 (PR-732) [2021-01-28T02:44:12.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:44:12.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:44:12.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:44:12.856Z] > 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-28T02:44:13.303Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:44:13.308Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-01-28T02:44:13.369Z] > git remote # timeout=10 [2021-01-28T02:44:13.378Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T02:44:13.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:44:13.389Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T02:44:13.485Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T02:44:13.501Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:44:13.506Z] > git checkout -f 969e0ec051e5d3905c767b5512a973f0076f8483 # timeout=10 [2021-01-28T02:44:17.333Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T02:44:17.352Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-01-28T02:44:17.339Z] > git rev-list --no-walk 0f2f68ce9cb22dd8229168e213abff079c05314d # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:44:18.684Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:44:19.063Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:44:19.413Z] + sudo service docker restart [2021-01-28T02:44:19.413Z] + true [2021-01-28T02:44:19.413Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:44:20.468Z] provisioning config files... [2021-01-28T02:44:20.497Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config3697142058741698097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:44:20.926Z] ---> docker-login.sh [2021-01-28T02:44:20.926Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:44:21.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:44:21.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:44:21.459Z] Configure a credential helper to remove this warning. See [2021-01-28T02:44:21.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:44:21.459Z] [2021-01-28T02:44:21.459Z] Login Succeeded [2021-01-28T02:44:21.459Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:44:21.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:44:21.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:44:21.726Z] Configure a credential helper to remove this warning. See [2021-01-28T02:44:21.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:44:21.726Z] [2021-01-28T02:44:21.726Z] Login Succeeded [2021-01-28T02:44:21.726Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:44:21.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:44:21.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:44:21.726Z] Configure a credential helper to remove this warning. See [2021-01-28T02:44:21.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:44:21.726Z] [2021-01-28T02:44:21.726Z] Login Succeeded [2021-01-28T02:44:21.726Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:44:22.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:44:22.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:44:22.001Z] Configure a credential helper to remove this warning. See [2021-01-28T02:44:22.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:44:22.001Z] [2021-01-28T02:44:22.001Z] Login Succeeded [2021-01-28T02:44:22.001Z] docker.io [2021-01-28T02:44:22.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:44:22.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:44:22.583Z] Configure a credential helper to remove this warning. See [2021-01-28T02:44:22.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:44:22.583Z] [2021-01-28T02:44:22.583Z] Login Succeeded [2021-01-28T02:44:22.583Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:44:22.593Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T02:44:22.966Z] ========================================================= [2021-01-28T02:44:22.967Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T02:44:22.967Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:44:23.409Z] + 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-28T02:44:23.682Z] Sending build context to Docker daemon 2.623MB [2021-01-28T02:44:23.682Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:44:23.682Z] Step 2/8 : FROM ${BASE} [2021-01-28T02:44:23.682Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T02:44:23.682Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T02:44:23.682Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T02:44:23.682Z] de9db76c5a1d: Pulling fs layer [2021-01-28T02:44:23.682Z] bca2f99d35d6: Pulling fs layer [2021-01-28T02:44:23.682Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T02:44:23.682Z] 7c6f9722023f: Pulling fs layer [2021-01-28T02:44:23.682Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T02:44:23.682Z] 7c6f9722023f: Waiting [2021-01-28T02:44:23.682Z] a35cf1a2eb13: Waiting [2021-01-28T02:44:23.682Z] bca2f99d35d6: Waiting [2021-01-28T02:44:23.682Z] 93359f2a8cfa: Waiting [2021-01-28T02:44:23.682Z] de9db76c5a1d: Verifying Checksum [2021-01-28T02:44:23.682Z] de9db76c5a1d: Download complete [2021-01-28T02:44:23.682Z] 0ef7d3d256c8: Verifying Checksum [2021-01-28T02:44:23.682Z] 0ef7d3d256c8: Download complete [2021-01-28T02:44:23.682Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T02:44:23.682Z] 93359f2a8cfa: Download complete [2021-01-28T02:44:23.682Z] 7c6f9722023f: Verifying Checksum [2021-01-28T02:44:23.682Z] 7c6f9722023f: Download complete [2021-01-28T02:44:23.949Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T02:44:23.949Z] 188c0c94c7c5: Download complete [2021-01-28T02:44:24.212Z] 188c0c94c7c5: Pull complete [2021-01-28T02:44:24.495Z] 0ef7d3d256c8: Pull complete [2021-01-28T02:44:24.495Z] de9db76c5a1d: Pull complete [2021-01-28T02:44:26.471Z] a35cf1a2eb13: Verifying Checksum [2021-01-28T02:44:26.471Z] a35cf1a2eb13: Download complete [2021-01-28T02:44:27.455Z] bca2f99d35d6: Verifying Checksum [2021-01-28T02:44:27.455Z] bca2f99d35d6: Download complete [2021-01-28T02:44:34.144Z] bca2f99d35d6: Pull complete [2021-01-28T02:44:34.144Z] 93359f2a8cfa: Pull complete [2021-01-28T02:44:34.415Z] 7c6f9722023f: Pull complete [2021-01-28T02:44:44.559Z] a35cf1a2eb13: Pull complete [2021-01-28T02:44:44.559Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T02:44:44.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T02:44:44.559Z] ---> a62c8e92a672 [2021-01-28T02:44:44.559Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:44:44.559Z] ---> Running in 40eee92b76c5 [2021-01-28T02:44:44.559Z] Removing intermediate container 40eee92b76c5 [2021-01-28T02:44:44.559Z] ---> 5d368b0b0942 [2021-01-28T02:44:44.559Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:44:44.559Z] ---> Running in 6af6e48ade0b [2021-01-28T02:44:44.835Z] Removing intermediate container 6af6e48ade0b [2021-01-28T02:44:44.835Z] ---> bf0ddc06c924 [2021-01-28T02:44:44.835Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T02:44:44.835Z] ---> Running in 527adae59a6d [2021-01-28T02:44:45.435Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T02:44:46.399Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T02:44:47.357Z] OK: 166 MiB in 39 packages [2021-01-28T02:44:47.625Z] Removing intermediate container 527adae59a6d [2021-01-28T02:44:47.625Z] ---> 96a1f2f63c44 [2021-01-28T02:44:47.625Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T02:44:47.897Z] ---> Running in 498510b35660 [2021-01-28T02:44:47.897Z] Removing intermediate container 498510b35660 [2021-01-28T02:44:47.897Z] ---> 37ccc4cc9512 [2021-01-28T02:44:47.897Z] Step 7/8 : COPY . . [2021-01-28T02:44:49.304Z] ---> dd0412f21256 [2021-01-28T02:44:49.304Z] Step 8/8 : RUN go mod download [2021-01-28T02:44:49.304Z] ---> Running in ca029c040dfe [2021-01-28T02:45:11.389Z] Removing intermediate container ca029c040dfe [2021-01-28T02:45:11.389Z] ---> 3f7d9c73b5bb [2021-01-28T02:45:11.389Z] Successfully built 3f7d9c73b5bb [2021-01-28T02:45:11.389Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:45:11.722Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T02:45:11.722Z] . [Pipeline] withDockerContainer [2021-01-28T02:45:12.005Z] prd-centos7-docker-4c-2g-23659 does not seem to be running inside a container [2021-01-28T02:45:12.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-28T02:45:13.118Z] $ docker top 5f721a5e54bf4a75c8f81a500543618edc0c75c6092332c919a3a14e8f3f3efc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:45:13.726Z] + go version [2021-01-28T02:45:13.727Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T02:45:13.745Z] $ docker stop --time=1 5f721a5e54bf4a75c8f81a500543618edc0c75c6092332c919a3a14e8f3f3efc [2021-01-28T02:45:15.183Z] $ docker rm -f 5f721a5e54bf4a75c8f81a500543618edc0c75c6092332c919a3a14e8f3f3efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:45:16.006Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T02:45:16.006Z] . [Pipeline] withDockerContainer [2021-01-28T02:45:16.127Z] prd-centos7-docker-4c-2g-23659 does not seem to be running inside a container [2021-01-28T02:45:16.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-28T02:45:16.989Z] $ docker top 9582d21efee306ea28aa15dab406e7f2a3f2df79ebb2fbe4ea819190b9346d3b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:45:17.501Z] + make test [2021-01-28T02:45:17.502Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T02:45:25.747Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T02:45:44.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T02:45:44.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T02:45:44.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T02:45:44.025Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 19.4% of statements [2021-01-28T02:45:45.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.512s coverage: 97.1% of statements [2021-01-28T02:46:15.500Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23663 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-01-28T02:46:15.553Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-01-28T02:46:18.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.050s coverage: 9.4% of statements [2021-01-28T02:46:18.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements [2021-01-28T02:46:18.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T02:46:18.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.322s coverage: 43.2% of statements [2021-01-28T02:46:18.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T02:46:18.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.371s coverage: 66.5% of statements [2021-01-28T02:46:18.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T02:46:18.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T02:46:18.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T02:46:18.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T02:46:18.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 53.8% of statements [2021-01-28T02:46:18.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T02:46:18.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T02:46:18.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.075s coverage: 26.8% of statements [2021-01-28T02:46:18.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.513s coverage: 83.5% of statements [2021-01-28T02:46:18.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.087s coverage: 4.2% of statements [2021-01-28T02:46:18.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T02:46:18.267Z] GO111MODULE=on go vet ./... [2021-01-28T02:46:20.971Z] using credential edgex-jenkins-ssh [2021-01-28T02:46:21.046Z] Cloning the remote Git repository [2021-01-28T02:46:21.123Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:46:21.243Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-01-28T02:46:21.349Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:46:21.350Z] > git --version # timeout=10 [2021-01-28T02:46:21.384Z] > git --version # 'git version 2.17.1' [2021-01-28T02:46:21.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:46:21.450Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:46:22.706Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:46:22.728Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:46:22.760Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:46:22.800Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:46:22.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:46:22.815Z] > 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-28T02:46:23.465Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-01-28T02:46:24.005Z] Merge succeeded, producing 446563a66275065efbc4ecc533d0dbec296ed031 [2021-01-28T02:46:24.006Z] Checking out Revision 446563a66275065efbc4ecc533d0dbec296ed031 (PR-732) [2021-01-28T02:46:23.488Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:46:23.503Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-01-28T02:46:23.666Z] > git remote # timeout=10 [2021-01-28T02:46:23.719Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T02:46:23.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:46:23.789Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T02:46:23.992Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T02:46:24.014Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:46:24.024Z] > git checkout -f 446563a66275065efbc4ecc533d0dbec296ed031 # timeout=10 [2021-01-28T02:46:26.515Z] gofmt -l . [2021-01-28T02:46:26.515Z] [ "`gofmt -l .`" = "" ] [2021-01-28T02:46:26.515Z] ./bin/test-attribution-txt.sh [2021-01-28T02:46:26.515Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T02:46:26.533Z] $ docker stop --time=1 9582d21efee306ea28aa15dab406e7f2a3f2df79ebb2fbe4ea819190b9346d3b [2021-01-28T02:46:28.295Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T02:46:28.318Z] First time build. Skipping changelog. [2021-01-28T02:46:28.487Z] $ docker rm -f 9582d21efee306ea28aa15dab406e7f2a3f2df79ebb2fbe4ea819190b9346d3b [2021-01-28T02:46:28.306Z] > git rev-list --no-walk 0f2f68ce9cb22dd8229168e213abff079c05314d # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-28T02:46:29.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] sh [2021-01-28T02:46:29.558Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-28T02:46:30.152Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh [2021-01-28T02:46:32.727Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:46:32.762Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T02:46:33.076Z] + sudo service docker+ restart [2021-01-28T02:46:33.076Z] true [2021-01-28T02:46:33.148Z] + ls -al . [2021-01-28T02:46:33.148Z] total 216 [2021-01-28T02:46:33.148Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 02:46 . [2021-01-28T02:46:33.148Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 02:44 .. [2021-01-28T02:46:33.148Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 02:44 bin [2021-01-28T02:46:33.148Z] -rw-r--r--. 1 jenkins jenkins 137880 Jan 28 02:46 coverage.out [2021-01-28T02:46:33.148Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 02:44 Dockerfile.build [2021-01-28T02:46:33.148Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 02:44 .dockerignore [2021-01-28T02:46:33.148Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 02:44 example [2021-01-28T02:46:33.148Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 02:44 .git [2021-01-28T02:46:33.148Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 02:44 .github [2021-01-28T02:46:33.148Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 02:44 .gitignore [2021-01-28T02:46:33.148Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 28 02:46 go.mod [2021-01-28T02:46:33.148Z] -rw-r--r--. 1 jenkins jenkins 14101 Jan 28 02:46 go.sum [2021-01-28T02:46:33.148Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 02:44 internal [2021-01-28T02:46:33.148Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 02:44 Jenkinsfile [2021-01-28T02:46:33.148Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 02:44 LICENSE [2021-01-28T02:46:33.148Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 02:44 Makefile [2021-01-28T02:46:33.148Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 02:44 openapi [2021-01-28T02:46:33.148Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 02:44 pkg [2021-01-28T02:46:33.148Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 02:44 README.md [2021-01-28T02:46:33.148Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 02:44 RELEASE-NOTES.txt [2021-01-28T02:46:33.148Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 02:44 snap [2021-01-28T02:46:33.148Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 02:42 VERSION [2021-01-28T02:46:33.148Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:46:33.456Z] + 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=23455bfac23852930a6947f372e58b4db43b0f22 --label arch=amd64 --label version=0.0.0 . [2021-01-28T02:46:33.719Z] Sending build context to Docker daemon 2.762MB [2021-01-28T02:46:33.719Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:46:33.719Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T02:46:33.719Z] ---> 3f7d9c73b5bb [2021-01-28T02:46:33.719Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T02:46:34.295Z] ---> Running in 4248a9ef8ffb [2021-01-28T02:46:34.558Z] Removing intermediate container 4248a9ef8ffb [2021-01-28T02:46:34.559Z] ---> bd9f56bf8f2e [2021-01-28T02:46:34.559Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T02:46:34.559Z] ---> Running in 4141b10b9b0e [2021-01-28T02:46:34.821Z] Removing intermediate container 4141b10b9b0e [2021-01-28T02:46:34.821Z] ---> b8f818bd2d24 [2021-01-28T02:46:34.821Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:46:34.821Z] ---> Running in f087a878d839 [2021-01-28T02:46:34.821Z] Removing intermediate container f087a878d839 [2021-01-28T02:46:34.821Z] ---> cb2fd37f6f2e [2021-01-28T02:46:34.821Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:46:35.088Z] ---> Running in 449f542f1e3e [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:46:35.769Z] provisioning config files... [2021-01-28T02:46:35.806Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config2511287677160426247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:46:36.038Z] Removing intermediate container 449f542f1e3e [2021-01-28T02:46:36.039Z] ---> 30d8f024cf5a [2021-01-28T02:46:36.039Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T02:46:36.039Z] ---> Running in 5255d0a5d0f0 [2021-01-28T02:46:36.220Z] ---> docker-login.sh [2021-01-28T02:46:36.221Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:46:36.615Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T02:46:37.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:46:37.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:46:37.479Z] Configure a credential helper to remove this warning. See [2021-01-28T02:46:37.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:46:37.479Z] [2021-01-28T02:46:37.479Z] Login Succeeded [2021-01-28T02:46:37.479Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:46:37.563Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T02:46:38.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:46:38.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:46:38.086Z] Configure a credential helper to remove this warning. See [2021-01-28T02:46:38.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:46:38.086Z] [2021-01-28T02:46:38.086Z] Login Succeeded [2021-01-28T02:46:38.086Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:46:38.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:46:38.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:46:38.637Z] Configure a credential helper to remove this warning. See [2021-01-28T02:46:38.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:46:38.637Z] [2021-01-28T02:46:38.637Z] Login Succeeded [2021-01-28T02:46:38.637Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:46:38.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:46:38.953Z] OK: 166 MiB in 39 packages [2021-01-28T02:46:39.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:46:39.193Z] Configure a credential helper to remove this warning. See [2021-01-28T02:46:39.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:46:39.193Z] [2021-01-28T02:46:39.193Z] Login Succeeded [2021-01-28T02:46:39.193Z] docker.io [2021-01-28T02:46:39.221Z] Removing intermediate container 5255d0a5d0f0 [2021-01-28T02:46:39.221Z] ---> aacac456c0ac [2021-01-28T02:46:39.221Z] Step 8/24 : COPY . . [2021-01-28T02:46:39.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:46:40.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:46:40.068Z] Configure a credential helper to remove this warning. See [2021-01-28T02:46:40.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:46:40.068Z] [2021-01-28T02:46:40.068Z] Login Succeeded [2021-01-28T02:46:40.068Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:46:40.086Z] Deleting 1 temporary files [2021-01-28T02:46:40.174Z] ---> ba5178ee3572 [2021-01-28T02:46:40.174Z] Step 9/24 : RUN ${MAKE} [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-28T02:46:40.446Z] ---> Running in 811294681b33 [Pipeline] echo [2021-01-28T02:46:40.594Z] ========================================================= [2021-01-28T02:46:40.594Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T02:46:40.594Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:46:40.981Z] + 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-28T02:46:41.032Z] 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-28T02:46:41.585Z] Sending build context to Docker daemon 2.624MB [2021-01-28T02:46:41.585Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:46:41.585Z] Step 2/8 : FROM ${BASE} [2021-01-28T02:46:41.585Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T02:46:41.585Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T02:46:41.585Z] a4357932f1b6: Pulling fs layer [2021-01-28T02:46:41.585Z] 18c013af1878: Pulling fs layer [2021-01-28T02:46:41.585Z] 00ac8860ef70: Pulling fs layer [2021-01-28T02:46:41.585Z] 63d7cb157983: Pulling fs layer [2021-01-28T02:46:41.585Z] b116817d02f9: Pulling fs layer [2021-01-28T02:46:41.585Z] 745a02a5169b: Pulling fs layer [2021-01-28T02:46:41.585Z] 00ac8860ef70: Waiting [2021-01-28T02:46:41.585Z] 63d7cb157983: Waiting [2021-01-28T02:46:41.585Z] b116817d02f9: Waiting [2021-01-28T02:46:41.585Z] 745a02a5169b: Waiting [2021-01-28T02:46:41.585Z] 18c013af1878: Download complete [2021-01-28T02:46:41.585Z] a4357932f1b6: Verifying Checksum [2021-01-28T02:46:41.585Z] a4357932f1b6: Download complete [2021-01-28T02:46:41.585Z] 63d7cb157983: Verifying Checksum [2021-01-28T02:46:41.585Z] 63d7cb157983: Download complete [2021-01-28T02:46:41.585Z] b116817d02f9: Verifying Checksum [2021-01-28T02:46:41.585Z] b116817d02f9: Download complete [2021-01-28T02:46:41.585Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T02:46:41.585Z] 5f621e34cdf4: Download complete [2021-01-28T02:46:42.568Z] 5f621e34cdf4: Pull complete [2021-01-28T02:46:42.850Z] a4357932f1b6: Pull complete [2021-01-28T02:46:43.454Z] 18c013af1878: Pull complete [2021-01-28T02:46:44.435Z] 745a02a5169b: Verifying Checksum [2021-01-28T02:46:44.435Z] 745a02a5169b: Download complete [2021-01-28T02:46:45.881Z] 00ac8860ef70: Verifying Checksum [2021-01-28T02:46:45.881Z] 00ac8860ef70: Download complete [2021-01-28T02:46:51.161Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T02:46:53.098Z] Removing intermediate container 811294681b33 [2021-01-28T02:46:53.098Z] ---> eac02591270d [2021-01-28T02:46:53.098Z] Step 10/24 : FROM scratch [2021-01-28T02:46:53.098Z] ---> [2021-01-28T02:46:53.098Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:46:53.098Z] ---> Running in da1d8a80520b [2021-01-28T02:46:53.098Z] Removing intermediate container da1d8a80520b [2021-01-28T02:46:53.098Z] ---> c6a35be386f5 [2021-01-28T02:46:53.098Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T02:46:53.370Z] ---> Running in b68f290322c0 [2021-01-28T02:46:53.370Z] Removing intermediate container b68f290322c0 [2021-01-28T02:46:53.370Z] ---> bb865002c6da [2021-01-28T02:46:53.370Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T02:46:53.370Z] ---> Running in 51ce61019237 [2021-01-28T02:46:53.638Z] Removing intermediate container 51ce61019237 [2021-01-28T02:46:53.638Z] ---> 2955e5645e0e [2021-01-28T02:46:53.638Z] Step 14/24 : WORKDIR / [2021-01-28T02:46:53.638Z] ---> Running in 0b7b9335a0e6 [2021-01-28T02:46:53.904Z] Removing intermediate container 0b7b9335a0e6 [2021-01-28T02:46:53.904Z] ---> bc0a69cd529d [2021-01-28T02:46:53.904Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T02:46:54.480Z] ---> d6ca705e523c [2021-01-28T02:46:54.480Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T02:46:54.744Z] ---> dd8fda1a3693 [2021-01-28T02:46:54.744Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T02:46:55.008Z] ---> 6d24adfadef5 [2021-01-28T02:46:55.008Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T02:46:55.270Z] ---> 89be275848b7 [2021-01-28T02:46:55.270Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T02:46:55.270Z] ---> ed643f645234 [2021-01-28T02:46:55.270Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T02:46:55.533Z] ---> Running in bec15fe29936 [2021-01-28T02:46:55.533Z] Removing intermediate container bec15fe29936 [2021-01-28T02:46:55.533Z] ---> 16f89bd92a15 [2021-01-28T02:46:55.533Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T02:46:55.806Z] ---> Running in 80af5605ec17 [2021-01-28T02:46:55.806Z] Removing intermediate container 80af5605ec17 [2021-01-28T02:46:55.806Z] ---> c79dfb26743c [2021-01-28T02:46:55.806Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T02:46:55.807Z] ---> Running in fa3a775028b4 [2021-01-28T02:46:56.044Z] 00ac8860ef70: Pull complete [2021-01-28T02:46:56.044Z] 63d7cb157983: Pull complete [2021-01-28T02:46:56.071Z] Removing intermediate container fa3a775028b4 [2021-01-28T02:46:56.071Z] ---> 84b04cc913ff [2021-01-28T02:46:56.071Z] Step 23/24 : LABEL git_sha=23455bfac23852930a6947f372e58b4db43b0f22 [2021-01-28T02:46:56.071Z] ---> Running in d31174561c98 [2021-01-28T02:46:56.315Z] b116817d02f9: Pull complete [2021-01-28T02:46:56.333Z] Removing intermediate container d31174561c98 [2021-01-28T02:46:56.333Z] ---> 2c5d2ba98225 [2021-01-28T02:46:56.333Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T02:46:56.333Z] ---> Running in d8d6c2e84dee [2021-01-28T02:46:56.597Z] Removing intermediate container d8d6c2e84dee [2021-01-28T02:46:56.597Z] ---> 410de8064e16 [2021-01-28T02:46:56.597Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T02:46:56.597Z] Successfully built 410de8064e16 [2021-01-28T02:46:56.597Z] 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-28T02:46:59.738Z] 745a02a5169b: Pull complete [2021-01-28T02:46:59.738Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T02:46:59.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T02:47:00.019Z] ---> b7e6874047d6 [2021-01-28T02:47:00.019Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:47:03.011Z] ---> Running in 94e9885e05a8 [2021-01-28T02:47:03.290Z] Removing intermediate container 94e9885e05a8 [2021-01-28T02:47:03.290Z] ---> c9000c958c30 [2021-01-28T02:47:03.290Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:47:03.290Z] ---> Running in c7350e39afce [2021-01-28T02:47:05.915Z] Removing intermediate container c7350e39afce [2021-01-28T02:47:05.916Z] ---> 2cec6c919352 [2021-01-28T02:47:05.916Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T02:47:05.916Z] ---> Running in 1b209eef49be [2021-01-28T02:47:06.896Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T02:47:07.877Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T02:47:08.856Z] OK: 142 MiB in 39 packages [2021-01-28T02:47:10.296Z] Removing intermediate container 1b209eef49be [2021-01-28T02:47:10.296Z] ---> b7e095bd17ec [2021-01-28T02:47:10.296Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T02:47:10.296Z] ---> Running in 0d5d8ee2947e [2021-01-28T02:47:10.571Z] Removing intermediate container 0d5d8ee2947e [2021-01-28T02:47:10.571Z] ---> e5d04fbb7ba6 [2021-01-28T02:47:10.571Z] Step 7/8 : COPY . . [2021-01-28T02:47:12.014Z] ---> 5ffb1fb752c8 [2021-01-28T02:47:12.014Z] Step 8/8 : RUN go mod download [2021-01-28T02:47:12.014Z] ---> Running in 486252ba52bf [2021-01-28T02:47:34.196Z] Removing intermediate container 486252ba52bf [2021-01-28T02:47:34.196Z] ---> c74ba417f8ac [2021-01-28T02:47:34.196Z] Successfully built c74ba417f8ac [2021-01-28T02:47:34.196Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:47:34.538Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T02:47:34.538Z] . [Pipeline] withDockerContainer [2021-01-28T02:47:34.790Z] prd-ubuntu18.04-docker-arm64-4c-16g-23663 does not seem to be running inside a container [2021-01-28T02:47:34.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T02:47:36.385Z] $ docker top 70ad8a02eb22584cd03b49cb984174aa4060722342447eef7a43e6f1a7d93b53 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:47:37.439Z] + go version [2021-01-28T02:47:37.439Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T02:47:37.470Z] $ docker stop --time=1 70ad8a02eb22584cd03b49cb984174aa4060722342447eef7a43e6f1a7d93b53 [2021-01-28T02:47:39.350Z] $ docker rm -f 70ad8a02eb22584cd03b49cb984174aa4060722342447eef7a43e6f1a7d93b53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:47:40.318Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T02:47:40.318Z] . [Pipeline] withDockerContainer [2021-01-28T02:47:40.599Z] prd-ubuntu18.04-docker-arm64-4c-16g-23663 does not seem to be running inside a container [2021-01-28T02:47:40.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T02:47:42.131Z] $ docker top ffb3284abcc3aa899b22f5928e7d276fb0f2ab6d174798ed24bbb6a2aa3f4033 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:47:43.134Z] + make test [2021-01-28T02:47:43.135Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T02:48:05.336Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T02:48:52.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T02:48:52.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T02:48:52.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T02:48:52.405Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.160s coverage: 19.4% of statements [2021-01-28T02:48:57.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.245s coverage: 97.1% of statements [2021-01-28T02:49:20.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.131s coverage: 9.4% of statements [2021-01-28T02:49:20.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.117s coverage: 21.7% of statements [2021-01-28T02:49:20.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T02:49:20.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.615s coverage: 43.2% of statements [2021-01-28T02:49:20.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T02:49:20.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.789s coverage: 66.5% of statements [2021-01-28T02:49:20.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T02:49:20.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T02:49:20.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T02:49:20.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T02:49:20.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.204s coverage: 53.8% of statements [2021-01-28T02:49:20.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T02:49:20.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T02:49:20.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.166s coverage: 26.8% of statements [2021-01-28T02:49:20.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.033s coverage: 83.5% of statements [2021-01-28T02:49:20.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.153s coverage: 4.2% of statements [2021-01-28T02:49:20.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T02:49:20.641Z] GO111MODULE=on go vet ./... [2021-01-28T02:49:59.708Z] gofmt -l . [2021-01-28T02:49:59.708Z] [ "`gofmt -l .`" = "" ] [2021-01-28T02:49:59.708Z] ./bin/test-attribution-txt.sh [2021-01-28T02:49:59.708Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T02:49:59.739Z] $ docker stop --time=1 ffb3284abcc3aa899b22f5928e7d276fb0f2ab6d174798ed24bbb6a2aa3f4033 [2021-01-28T02:50:02.109Z] $ docker rm -f ffb3284abcc3aa899b22f5928e7d276fb0f2ab6d174798ed24bbb6a2aa3f4033 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T02:50:03.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T02:50:03.340Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T02:50:04.346Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:50:05.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T02:50:05.449Z] + ls -al . [2021-01-28T02:50:05.449Z] total 252 [2021-01-28T02:50:05.449Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 02:49 . [2021-01-28T02:50:05.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:46 .. [2021-01-28T02:50:05.449Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 02:46 .dockerignore [2021-01-28T02:50:05.449Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 02:46 .git [2021-01-28T02:50:05.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:46 .github [2021-01-28T02:50:05.449Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 02:46 .gitignore [2021-01-28T02:50:05.449Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 02:46 Dockerfile.build [2021-01-28T02:50:05.449Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 02:46 Jenkinsfile [2021-01-28T02:50:05.449Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 02:46 LICENSE [2021-01-28T02:50:05.449Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 02:46 Makefile [2021-01-28T02:50:05.449Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 02:46 README.md [2021-01-28T02:50:05.449Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 02:46 RELEASE-NOTES.txt [2021-01-28T02:50:05.449Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 02:42 VERSION [2021-01-28T02:50:05.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:46 bin [2021-01-28T02:50:05.449Z] -rw-r--r-- 1 jenkins jenkins 137880 Jan 28 02:49 coverage.out [2021-01-28T02:50:05.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:46 example [2021-01-28T02:50:05.449Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 28 02:49 go.mod [2021-01-28T02:50:05.449Z] -rw-r--r-- 1 jenkins jenkins 14101 Jan 28 02:49 go.sum [2021-01-28T02:50:05.449Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 02:46 internal [2021-01-28T02:50:05.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:46 openapi [2021-01-28T02:50:05.449Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 02:46 pkg [2021-01-28T02:50:05.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:46 snap [2021-01-28T02:50:05.449Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:50:05.817Z] + 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=23455bfac23852930a6947f372e58b4db43b0f22 --label arch=arm64 --label version=0.0.0 . [2021-01-28T02:50:06.454Z] Sending build context to Docker daemon 2.763MB [2021-01-28T02:50:06.454Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:50:06.454Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T02:50:06.454Z] ---> c74ba417f8ac [2021-01-28T02:50:06.454Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T02:50:06.735Z] ---> Running in 878c30bcdc20 [2021-01-28T02:50:07.338Z] Removing intermediate container 878c30bcdc20 [2021-01-28T02:50:07.338Z] ---> cf3ccc67a15e [2021-01-28T02:50:07.338Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T02:50:07.338Z] ---> Running in 16c778940488 [2021-01-28T02:50:07.936Z] Removing intermediate container 16c778940488 [2021-01-28T02:50:07.936Z] ---> afddb1962308 [2021-01-28T02:50:07.936Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:50:07.936Z] ---> Running in 6cb8b7984bfe [2021-01-28T02:50:08.534Z] Removing intermediate container 6cb8b7984bfe [2021-01-28T02:50:08.534Z] ---> 74403ec5949a [2021-01-28T02:50:08.534Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:50:08.807Z] ---> Running in 72d1995fb9eb [2021-01-28T02:50:10.806Z] Removing intermediate container 72d1995fb9eb [2021-01-28T02:50:10.806Z] ---> 72b6b988f996 [2021-01-28T02:50:10.806Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T02:50:10.806Z] ---> Running in ec305eec519c [2021-01-28T02:50:11.794Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T02:50:12.779Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T02:50:13.763Z] OK: 142 MiB in 39 packages [2021-01-28T02:50:14.746Z] Removing intermediate container ec305eec519c [2021-01-28T02:50:14.746Z] ---> 0966277163e4 [2021-01-28T02:50:14.746Z] Step 8/24 : COPY . . [2021-01-28T02:50:16.733Z] ---> 697901a2219f [2021-01-28T02:50:16.733Z] Step 9/24 : RUN ${MAKE} [2021-01-28T02:50:16.733Z] ---> Running in 3ae2dda51915 [2021-01-28T02:50:17.712Z] 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-28T02:50:44.565Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T02:50:45.560Z] Removing intermediate container 3ae2dda51915 [2021-01-28T02:50:45.560Z] ---> fbaf483ae4a2 [2021-01-28T02:50:45.560Z] Step 10/24 : FROM scratch [2021-01-28T02:50:45.560Z] ---> [2021-01-28T02:50:45.560Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:50:45.832Z] ---> Running in bc882ab4a972 [2021-01-28T02:50:46.428Z] Removing intermediate container bc882ab4a972 [2021-01-28T02:50:46.428Z] ---> f0a1e813bab2 [2021-01-28T02:50:46.428Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T02:50:46.428Z] ---> Running in 0ec1c2ab6bce [2021-01-28T02:50:47.021Z] Removing intermediate container 0ec1c2ab6bce [2021-01-28T02:50:47.021Z] ---> 36c6aaa263e8 [2021-01-28T02:50:47.021Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T02:50:47.021Z] ---> Running in 512bdcac87e8 [2021-01-28T02:50:47.293Z] Removing intermediate container 512bdcac87e8 [2021-01-28T02:50:47.293Z] ---> 34f7d7e7937a [2021-01-28T02:50:47.293Z] Step 14/24 : WORKDIR / [2021-01-28T02:50:47.564Z] ---> Running in 81b9ea730d84 [2021-01-28T02:50:47.848Z] Removing intermediate container 81b9ea730d84 [2021-01-28T02:50:47.848Z] ---> ba92515a0eac [2021-01-28T02:50:47.848Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T02:50:49.284Z] ---> 58d973627c49 [2021-01-28T02:50:49.284Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T02:50:49.886Z] ---> 455b97988859 [2021-01-28T02:50:49.886Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T02:50:50.864Z] ---> 420341c48885 [2021-01-28T02:50:50.864Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T02:50:51.842Z] ---> f15c35ba4317 [2021-01-28T02:50:51.842Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T02:50:52.436Z] ---> 944d8a6d5f25 [2021-01-28T02:50:52.436Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T02:50:52.436Z] ---> Running in 56d7e48cb00e [2021-01-28T02:50:53.029Z] Removing intermediate container 56d7e48cb00e [2021-01-28T02:50:53.029Z] ---> b5ceedad0de4 [2021-01-28T02:50:53.029Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T02:50:53.300Z] ---> Running in 964ef021d178 [2021-01-28T02:50:53.893Z] Removing intermediate container 964ef021d178 [2021-01-28T02:50:53.893Z] ---> 690324a51c98 [2021-01-28T02:50:53.893Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T02:50:54.168Z] ---> Running in 1e130d2cad58 [2021-01-28T02:50:54.771Z] Removing intermediate container 1e130d2cad58 [2021-01-28T02:50:54.771Z] ---> c5f634e9012c [2021-01-28T02:50:54.771Z] Step 23/24 : LABEL git_sha=23455bfac23852930a6947f372e58b4db43b0f22 [2021-01-28T02:50:54.771Z] ---> Running in 8712709cd889 [2021-01-28T02:50:55.363Z] Removing intermediate container 8712709cd889 [2021-01-28T02:50:55.363Z] ---> 2b04c4412792 [2021-01-28T02:50:55.363Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T02:50:55.636Z] ---> Running in 847ded5d59bd [2021-01-28T02:50:55.911Z] Removing intermediate container 847ded5d59bd [2021-01-28T02:50:55.911Z] ---> 6532f6bd1a50 [2021-01-28T02:50:55.911Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T02:50:56.185Z] Successfully built 6532f6bd1a50 [2021-01-28T02:50:56.185Z] 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-28T02:50:57.715Z] provisioning config files... [2021-01-28T02:50:57.728Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config5155269746432178752tmp [Pipeline] { [Pipeline] sh [2021-01-28T02:50:58.114Z] + set +x [2021-01-28T02:50:58.114Z] + curl -s https://codecov.io/bash [2021-01-28T02:50:58.114Z] + bash -s -- [2021-01-28T02:50:58.378Z] [2021-01-28T02:50:58.378Z] _____ _ [2021-01-28T02:50:58.378Z] / ____| | | [2021-01-28T02:50:58.378Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T02:50:58.378Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T02:50:58.378Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T02:50:58.378Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T02:50:58.378Z] Bash-20210128-d4071a2 [2021-01-28T02:50:58.378Z] [2021-01-28T02:50:58.378Z] [2021-01-28T02:50:58.378Z] ==> git version 2.24.3 found [2021-01-28T02:50:58.378Z] ==> 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-28T02:50:58.378Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T02:50:58.378Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T02:50:58.378Z] ==> Jenkins CI detected. [2021-01-28T02:50:58.378Z] project root: . [2021-01-28T02:50:58.378Z] --> token set from env [2021-01-28T02:50:58.378Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T02:50:58.378Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T02:50:58.378Z] ==> Python coveragepy not found [2021-01-28T02:50:58.378Z] ==> Searching for coverage reports in: [2021-01-28T02:50:58.378Z] + . [2021-01-28T02:50:58.378Z] -> Found 1 reports [2021-01-28T02:50:58.378Z] ==> Detecting git/mercurial file structure [2021-01-28T02:50:58.378Z] ==> Reading reports [2021-01-28T02:50:58.378Z] + ./coverage.out bytes=137880 [2021-01-28T02:50:58.378Z] ==> Appending adjustments [2021-01-28T02:50:58.378Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T02:50:58.955Z] + Found adjustments [2021-01-28T02:50:58.955Z] ==> Gzipping contents [2021-01-28T02:50:58.955Z] 24K /tmp/codecov.bltGKI.gz [2021-01-28T02:50:58.955Z] ==> Uploading reports [2021-01-28T02:50:58.955Z] url: https://codecov.io [2021-01-28T02:50:58.955Z] query: branch=PR-732&commit=23455bfac23852930a6947f372e58b4db43b0f22&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-01-28T02:50:58.955Z] -> Pinging Codecov [2021-01-28T02:50:58.955Z] https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-732&commit=23455bfac23852930a6947f372e58b4db43b0f22&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-01-28T02:50:59.532Z] -> Uploading to [2021-01-28T02:50:59.532Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/23455bfac23852930a6947f372e58b4db43b0f22/78a7425b-2b20-4ed3-b2fc-2a8acf6b34cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T025059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=986681cdcd1249ac6f8506e61de618f168157c2c7e9ffdc81c0d37a3c9f86230 [2021-01-28T02:50:59.532Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T02:50:59.532Z] Dload Upload Total Spent Left Speed [2021-01-28T02:50:59.795Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21651 0 0 100 21651 0 52677 --:--:-- --:--:-- --:--:-- 52678 100 21651 0 0 100 21651 0 52652 --:--:-- --:--:-- --:--:-- 52550 [2021-01-28T02:50:59.795Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/23455bfac23852930a6947f372e58b4db43b0f22 [Pipeline] } [2021-01-28T02:50:59.806Z] 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-28T02:51:02.603Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:51:03.177Z] ---> package-listing.sh [2021-01-28T02:51:03.177Z] ++ facter osfamily [2021-01-28T02:51:03.177Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T02:51:03.177Z] + OS_FAMILY=redhat [2021-01-28T02:51:03.177Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-01-28T02:51:03.177Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T02:51:03.177Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T02:51:03.177Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T02:51:03.177Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T02:51:03.177Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-01-28T02:51:03.177Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T02:51:03.177Z] + case "${OS_FAMILY}" in [2021-01-28T02:51:03.177Z] + rpm -qa [2021-01-28T02:51:03.177Z] + sort [2021-01-28T02:51:08.496Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T02:51:08.496Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T02:51:08.496Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T02:51:08.496Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-01-28T02:51:08.496Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [2021-01-28T02:51:08.496Z] + 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-28T02:51:08.511Z] 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-28T02:51:08.803Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:51:09.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:51:09.114Z] [2021-01-28T02:51:09.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:51:09.461Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:51:09.462Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T02:51:09.462Z] df20fa9351a1: Pulling fs layer [2021-01-28T02:51:09.462Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T02:51:09.462Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T02:51:09.462Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T02:51:09.462Z] 93b61091891f: Pulling fs layer [2021-01-28T02:51:09.462Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T02:51:09.462Z] 5e14af77c1be: Pulling fs layer [2021-01-28T02:51:09.462Z] 01666e4c0597: Pulling fs layer [2021-01-28T02:51:09.462Z] aa168da1d23b: Pulling fs layer [2021-01-28T02:51:09.462Z] 93b9cdb0e59b: Waiting [2021-01-28T02:51:09.462Z] 5e14af77c1be: Waiting [2021-01-28T02:51:09.462Z] 01666e4c0597: Waiting [2021-01-28T02:51:09.462Z] aa168da1d23b: Waiting [2021-01-28T02:51:09.462Z] 46f8f816bc3b: Waiting [2021-01-28T02:51:09.462Z] 93b61091891f: Waiting [2021-01-28T02:51:09.462Z] 36b3adc4ff6f: Verifying Checksum [2021-01-28T02:51:09.462Z] 36b3adc4ff6f: Download complete [2021-01-28T02:51:09.462Z] 46f8f816bc3b: Verifying Checksum [2021-01-28T02:51:09.462Z] 46f8f816bc3b: Download complete [2021-01-28T02:51:09.726Z] df20fa9351a1: Verifying Checksum [2021-01-28T02:51:09.726Z] df20fa9351a1: Download complete [2021-01-28T02:51:09.726Z] 93b61091891f: Download complete [2021-01-28T02:51:09.726Z] 93b9cdb0e59b: Verifying Checksum [2021-01-28T02:51:09.726Z] 93b9cdb0e59b: Download complete [2021-01-28T02:51:09.726Z] 5e14af77c1be: Verifying Checksum [2021-01-28T02:51:09.726Z] 5e14af77c1be: Download complete [2021-01-28T02:51:09.726Z] 01666e4c0597: Verifying Checksum [2021-01-28T02:51:09.726Z] 01666e4c0597: Download complete [2021-01-28T02:51:09.992Z] df20fa9351a1: Pull complete [2021-01-28T02:51:10.256Z] 36b3adc4ff6f: Pull complete [2021-01-28T02:51:10.256Z] 8ad3a11d3b57: Verifying Checksum [2021-01-28T02:51:10.256Z] 8ad3a11d3b57: Download complete [2021-01-28T02:51:11.226Z] 8ad3a11d3b57: Pull complete [2021-01-28T02:51:11.504Z] 46f8f816bc3b: Pull complete [2021-01-28T02:51:12.080Z] 93b61091891f: Pull complete [2021-01-28T02:51:12.080Z] 93b9cdb0e59b: Pull complete [2021-01-28T02:51:12.080Z] aa168da1d23b: Verifying Checksum [2021-01-28T02:51:12.080Z] aa168da1d23b: Download complete [2021-01-28T02:51:12.343Z] 5e14af77c1be: Pull complete [2021-01-28T02:51:12.343Z] 01666e4c0597: Pull complete [2021-01-28T02:51:20.542Z] aa168da1d23b: Pull complete [2021-01-28T02:51:20.542Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T02:51:20.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:51:20.542Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T02:51:20.770Z] prd-centos7-docker-4c-2g-23653 does not seem to be running inside a container [2021-01-28T02:51:20.849Z] $ 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-28T02:51:23.544Z] $ docker top 6d6cd496373e26ed8d1b00c02251574b0c12aff1a7b2060079c2d5dc344ab1bb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:51:24.084Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T02:51:24.384Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T02:51:24.687Z] + ls /var/log/sa-host [2021-01-28T02:51:24.687Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T02:51:24.687Z] file_magic: OK [2021-01-28T02:51:24.687Z] HZ: Using current value: 100 [2021-01-28T02:51:24.687Z] file_header: OK [2021-01-28T02:51:24.687Z] 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-28T02:51:24.687Z] Statistics: [2021-01-28T02:51:24.687Z] Hnuu...uuuununununu... [2021-01-28T02:51:24.687Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T02:51:24.687Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T02:51:24.687Z] file_magic: OK [2021-01-28T02:51:24.687Z] HZ: Using current value: 100 [2021-01-28T02:51:24.688Z] file_header: OK [2021-01-28T02:51:24.688Z] 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-28T02:51:24.688Z] Statistics: [2021-01-28T02:51:24.688Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T02:51:24.688Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T02:51:24.891Z] provisioning config files... [2021-01-28T02:51:24.911Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3235634297239852513tmp [Pipeline] { [Pipeline] echo [2021-01-28T02:51:24.992Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:51:25.293Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T02:51:25.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T02:51:25.490Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:51:25.795Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T02:51:25.806Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:51:26.107Z] ---> sudo-logs.sh [2021-01-28T02:51:26.107Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T02:51:26.119Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:51:26.423Z] ---> job-cost.sh [2021-01-28T02:51:26.423Z] lf-activate-venv: SKIPPING [2021-01-28T02:51:26.423Z] INFO: No Stack... [2021-01-28T02:51:27.376Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T02:51:27.639Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T02:51:27.653Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:51:27.954Z] ---> logs-deploy.sh [2021-01-28T02:51:27.954Z] lf-activate-venv: SKIPPING [2021-01-28T02:51:27.954Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/8 [2021-01-28T02:51:27.954Z] INFO: archiving workspace using pattern(s): [2021-01-28T02:51:29.880Z] Archives upload complete. [2021-01-28T02:51:29.880Z] INFO: archiving logs to Nexus