Pull request #728 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a28626f6aaa6c192cdd5985ec95e8d822927251d+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (921b550b54c16ef4357e0f92e762375e548fe11d) 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-23554’ is offline; ‘prd-centos7-docker-4c-2g-23556’ is offline; ‘prd-centos7-docker-4c-2g-23558’ is offline; ‘prd-centos7-docker-4c-2g-23559’ is offline; ‘prd-centos7-docker-4c-2g-23577’ is offline; ‘prd-centos7-docker-4c-2g-23587’ is offline; ‘prd-centos7-docker-4c-2g-23588’ is offline; ‘prd-centos7-docker-4c-2g-23594’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23595’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-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’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23565’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23566’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23568’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23569’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23570’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23585’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23603 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [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-728 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit a28626f6aaa6c192cdd5985ec95e8d822927251d Merge succeeded, producing a28626f6aaa6c192cdd5985ec95e8d822927251d Checking out Revision a28626f6aaa6c192cdd5985ec95e8d822927251d (PR-728) > git config core.sparsecheckout # timeout=10 > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # 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 a28626f6aaa6c192cdd5985ec95e8d822927251d # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T00:49:53.841Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed # timeout=10 [2021-01-28T00:49:54.109Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T00:49:54.210Z] ========================================================= [2021-01-28T00:49:54.210Z] EdgeX Global Pipelines Version Info [2021-01-28T00:49:54.210Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:49:55.673Z] ------------------- [2021-01-28T00:49:55.673Z] stable info: [2021-01-28T00:49:55.673Z] ------------------- [2021-01-28T00:49:55.673Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:49:55.673Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:49:55.673Z] Message: update stable to v1.0.179 [2021-01-28T00:49:56.618Z] ------------------- [2021-01-28T00:49:56.618Z] experimental info: [2021-01-28T00:49:56.618Z] ------------------- [2021-01-28T00:49:56.618Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:49:56.618Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:49:56.618Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T00:49:56.872Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T00:49:56.964Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T00:49:57.055Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T00:49:57.156Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T00:49:57.244Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T00:49:57.692Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T00:49:57.796Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T00:49:57.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T00:49:57.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T00:49:58.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T00:49:58.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T00:49:58.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T00:49:58.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T00:49:58.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T00:49:58.518Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T00:49:58.608Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:49:58.717Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:49:58.804Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:49:58.948Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T00:49:59.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T00:49:59.126Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T00:49:59.210Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T00:49:59.309Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T00:49:59.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T00:49:59.502Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T00:49:59.588Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T00:49:59.675Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T00:49:59.762Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo [2021-01-28T00:49:59.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo [2021-01-28T00:49:59.981Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo [2021-01-28T00:50:00.079Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a28626f6aaa6c192cdd5985ec95e8d822927251d [Pipeline] echo [2021-01-28T00:50:00.218Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a28626f [Pipeline] echo [2021-01-28T00:50:00.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:50:00.521Z] provisioning config files... [2021-01-28T00:50:00.562Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config3196025162342021849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:50:00.956Z] ---> docker-login.sh [2021-01-28T00:50:00.956Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:50:01.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:50:01.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:50:01.489Z] Configure a credential helper to remove this warning. See [2021-01-28T00:50:01.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:50:01.489Z] [2021-01-28T00:50:01.489Z] Login Succeeded [2021-01-28T00:50:01.489Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:50:01.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:50:01.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:50:01.489Z] Configure a credential helper to remove this warning. See [2021-01-28T00:50:01.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:50:01.489Z] [2021-01-28T00:50:01.489Z] Login Succeeded [2021-01-28T00:50:01.489Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:50:01.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:50:01.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:50:01.762Z] Configure a credential helper to remove this warning. See [2021-01-28T00:50:01.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:50:01.762Z] [2021-01-28T00:50:01.762Z] Login Succeeded [2021-01-28T00:50:01.762Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:50:01.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:50:02.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:50:02.026Z] Configure a credential helper to remove this warning. See [2021-01-28T00:50:02.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:50:02.026Z] [2021-01-28T00:50:02.026Z] Login Succeeded [2021-01-28T00:50:02.026Z] docker.io [2021-01-28T00:50:02.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:50:02.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:50:02.290Z] Configure a credential helper to remove this warning. See [2021-01-28T00:50:02.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:50:02.290Z] [2021-01-28T00:50:02.290Z] Login Succeeded [2021-01-28T00:50:02.290Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:50:02.301Z] 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-28T00:50:03.099Z] + git log --format=format:%s -1 a28626f6aaa6c192cdd5985ec95e8d822927251d [Pipeline] echo [2021-01-28T00:50:03.168Z] GIT_COMMIT: a28626f6aaa6c192cdd5985ec95e8d822927251d, Commit Message: build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 [Pipeline] echo [2021-01-28T00:50:03.215Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:50:03.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:50:03.832Z] [2021-01-28T00:50:03.832Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:50:04.193Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:50:04.194Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T00:50:04.194Z] 31603596830f: Pulling fs layer [2021-01-28T00:50:04.194Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T00:50:04.194Z] 6ca5941a6612: Pulling fs layer [2021-01-28T00:50:04.194Z] ecc8261a40a4: Pulling fs layer [2021-01-28T00:50:04.194Z] ecc8261a40a4: Waiting [2021-01-28T00:50:04.194Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T00:50:04.194Z] 2a8b12db71e7: Download complete [2021-01-28T00:50:04.457Z] 31603596830f: Verifying Checksum [2021-01-28T00:50:04.457Z] 31603596830f: Download complete [2021-01-28T00:50:04.457Z] ecc8261a40a4: Verifying Checksum [2021-01-28T00:50:04.457Z] ecc8261a40a4: Download complete [2021-01-28T00:50:04.457Z] 6ca5941a6612: Verifying Checksum [2021-01-28T00:50:04.457Z] 6ca5941a6612: Download complete [2021-01-28T00:50:04.721Z] 31603596830f: Pull complete [2021-01-28T00:50:04.986Z] 2a8b12db71e7: Pull complete [2021-01-28T00:50:05.568Z] 6ca5941a6612: Pull complete [2021-01-28T00:50:05.830Z] ecc8261a40a4: Pull complete [2021-01-28T00:50:05.830Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T00:50:05.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:50:05.830Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T00:50:05.941Z] prd-centos7-docker-4c-2g-23603 does not seem to be running inside a container [2021-01-28T00:50:05.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T00:50:08.166Z] $ docker top b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T00:50:08.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:50:08.457Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:50:08.677Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:50:08.682Z] $ docker exec b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e ssh-agent [2021-01-28T00:50:08.853Z] SSH_AUTH_SOCK=/tmp/ssh-cpdiwui6oRuO/agent.12 [2021-01-28T00:50:08.853Z] SSH_AGENT_PID=18 [2021-01-28T00:50:08.863Z] Running ssh-add (command line suppressed) [2021-01-28T00:50:08.988Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_4222780203622215835.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_4222780203622215835.key) [2021-01-28T00:50:09.041Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:50:09.378Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T00:50:09.407Z] $ docker exec --env ******** --env ******** b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e ssh-agent -k [2021-01-28T00:50:09.531Z] unset SSH_AUTH_SOCK; [2021-01-28T00:50:09.531Z] unset SSH_AGENT_PID; [2021-01-28T00:50:09.532Z] echo Agent pid 18 killed; [2021-01-28T00:50:09.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T00:50:09.795Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:50:09.795Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:50:09.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:50:09.963Z] $ docker exec b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e ssh-agent [2021-01-28T00:50:10.127Z] SSH_AUTH_SOCK=/tmp/ssh-Im56ZCs7Xn4u/agent.47 [2021-01-28T00:50:10.127Z] SSH_AGENT_PID=52 [2021-01-28T00:50:10.133Z] Running ssh-add (command line suppressed) [2021-01-28T00:50:10.256Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_2158347597466884062.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_2158347597466884062.key) [2021-01-28T00:50:10.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:50:10.728Z] + git semver init [2021-01-28T00:50:10.728Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T00:50:10.728Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git [2021-01-28T00:50:10.728Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 [2021-01-28T00:50:10.728Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T00:50:10.728Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T00:50:10.728Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T00:50:10.728Z] # $SEMVER_BRANCH = PR-728 [2021-01-28T00:50:10.728Z] # $SEMVER_TEMP = /tmp/semver-206245998 [2021-01-28T00:50:10.728Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T00:50:11.675Z] # '/tmp/semver-206245998' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' [2021-01-28T00:50:11.675Z] # -> Force: false [2021-01-28T00:50:11.675Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } [2021-01-28T00:50:11.689Z] $ docker exec --env ******** --env ******** b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e ssh-agent -k [2021-01-28T00:50:11.819Z] unset SSH_AUTH_SOCK; [2021-01-28T00:50:11.819Z] unset SSH_AGENT_PID; [2021-01-28T00:50:11.819Z] echo Agent pid 52 killed; [2021-01-28T00:50:11.865Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T00:50:12.348Z] + git semver [Pipeline] } [2021-01-28T00:50:12.370Z] $ docker stop --time=1 b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e [2021-01-28T00:50:13.792Z] $ docker rm -f b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:50:14.319Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T00:50:14.804Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T00:50:14.807Z] [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-28T00:50:30.298Z] Still waiting to schedule task [2021-01-28T00:50:30.298Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-28T00:50:30.300Z] Still waiting to schedule task [2021-01-28T00:50:30.301Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-28T00:54:45.103Z] Running on prd-centos7-docker-4c-2g-23606 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws [2021-01-28T00:54:45.156Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2021-01-28T00:54:48.274Z] using credential edgex-jenkins-ssh [2021-01-28T00:54:48.327Z] Cloning the remote Git repository [2021-01-28T00:54:48.363Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:54:48.446Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2021-01-28T00:54:48.526Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:54:48.526Z] > git --version # timeout=10 [2021-01-28T00:54:48.534Z] > git --version # 'git version 2.24.3' [2021-01-28T00:54:48.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:54:48.589Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:54:49.853Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit a28626f6aaa6c192cdd5985ec95e8d822927251d [2021-01-28T00:54:49.972Z] Merge succeeded, producing a28626f6aaa6c192cdd5985ec95e8d822927251d [2021-01-28T00:54:49.973Z] Checking out Revision a28626f6aaa6c192cdd5985ec95e8d822927251d (PR-728) [2021-01-28T00:54:49.410Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:54:49.421Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:54:49.434Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:54:49.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:54:49.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:54:49.454Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:54:49.864Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:54:49.876Z] > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # timeout=10 [2021-01-28T00:54:49.930Z] > git remote # timeout=10 [2021-01-28T00:54:49.937Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T00:54:49.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:54:49.948Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:54:49.962Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T00:54:49.976Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:54:49.988Z] > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # timeout=10 [2021-01-28T00:54:53.869Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:54:55.185Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:54:55.536Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:54:55.840Z] + sudo service docker restart [2021-01-28T00:54:55.840Z] + true [2021-01-28T00:54:55.840Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:54:56.857Z] provisioning config files... [2021-01-28T00:54:56.888Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/13@tmp/config3270722141125090858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:54:57.265Z] ---> docker-login.sh [2021-01-28T00:54:57.265Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:54:57.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:54:57.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:54:57.529Z] Configure a credential helper to remove this warning. See [2021-01-28T00:54:57.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:54:57.529Z] [2021-01-28T00:54:57.529Z] Login Succeeded [2021-01-28T00:54:57.801Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:54:57.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:54:57.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:54:57.801Z] Configure a credential helper to remove this warning. See [2021-01-28T00:54:57.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:54:57.801Z] [2021-01-28T00:54:57.801Z] Login Succeeded [2021-01-28T00:54:57.801Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:54:58.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:54:58.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:54:58.064Z] Configure a credential helper to remove this warning. See [2021-01-28T00:54:58.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:54:58.064Z] [2021-01-28T00:54:58.064Z] Login Succeeded [2021-01-28T00:54:58.064Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:54:58.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:54:58.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:54:58.326Z] Configure a credential helper to remove this warning. See [2021-01-28T00:54:58.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:54:58.326Z] [2021-01-28T00:54:58.326Z] Login Succeeded [2021-01-28T00:54:58.326Z] docker.io [2021-01-28T00:54:58.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:54:58.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:54:58.589Z] Configure a credential helper to remove this warning. See [2021-01-28T00:54:58.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:54:58.589Z] [2021-01-28T00:54:58.589Z] Login Succeeded [2021-01-28T00:54:58.589Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:54:58.599Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:54:58.979Z] ========================================================= [2021-01-28T00:54:58.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T00:54:58.979Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:54:59.351Z] + 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-28T00:54:59.351Z] Sending build context to Docker daemon 2.565MB [2021-01-28T00:54:59.351Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:54:59.351Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:54:59.351Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T00:54:59.351Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T00:54:59.351Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T00:54:59.351Z] de9db76c5a1d: Pulling fs layer [2021-01-28T00:54:59.351Z] bca2f99d35d6: Pulling fs layer [2021-01-28T00:54:59.351Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T00:54:59.351Z] 7c6f9722023f: Pulling fs layer [2021-01-28T00:54:59.351Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T00:54:59.351Z] 93359f2a8cfa: Waiting [2021-01-28T00:54:59.351Z] 7c6f9722023f: Waiting [2021-01-28T00:54:59.351Z] a35cf1a2eb13: Waiting [2021-01-28T00:54:59.351Z] bca2f99d35d6: Waiting [2021-01-28T00:55:01.111Z] de9db76c5a1d: Verifying Checksum [2021-01-28T00:55:01.111Z] de9db76c5a1d: Download complete [2021-01-28T00:55:01.111Z] 0ef7d3d256c8: Verifying Checksum [2021-01-28T00:55:01.111Z] 0ef7d3d256c8: Download complete [2021-01-28T00:55:01.111Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T00:55:01.111Z] 93359f2a8cfa: Download complete [2021-01-28T00:55:01.111Z] 7c6f9722023f: Verifying Checksum [2021-01-28T00:55:01.111Z] 7c6f9722023f: Download complete [2021-01-28T00:55:01.111Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T00:55:01.111Z] 188c0c94c7c5: Download complete [2021-01-28T00:55:01.111Z] 188c0c94c7c5: Pull complete [2021-01-28T00:55:01.111Z] 0ef7d3d256c8: Pull complete [2021-01-28T00:55:01.111Z] de9db76c5a1d: Pull complete [2021-01-28T00:55:02.091Z] a35cf1a2eb13: Verifying Checksum [2021-01-28T00:55:02.091Z] a35cf1a2eb13: Download complete [2021-01-28T00:55:03.046Z] bca2f99d35d6: Verifying Checksum [2021-01-28T00:55:03.046Z] bca2f99d35d6: Download complete [2021-01-28T00:55:09.722Z] bca2f99d35d6: Pull complete [2021-01-28T00:55:09.722Z] 93359f2a8cfa: Pull complete [2021-01-28T00:55:09.722Z] 7c6f9722023f: Pull complete [2021-01-28T00:55:16.371Z] a35cf1a2eb13: Pull complete [2021-01-28T00:55:16.371Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T00:55:16.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T00:55:16.371Z] ---> a62c8e92a672 [2021-01-28T00:55:16.372Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:55:16.372Z] ---> Running in c8fa8f6f2b86 [2021-01-28T00:55:16.651Z] Removing intermediate container c8fa8f6f2b86 [2021-01-28T00:55:16.651Z] ---> 871ccfdc0da5 [2021-01-28T00:55:16.651Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:55:16.651Z] ---> Running in 0d10f118b4f4 [2021-01-28T00:55:18.075Z] Removing intermediate container 0d10f118b4f4 [2021-01-28T00:55:18.075Z] ---> 2642e52d9325 [2021-01-28T00:55:18.075Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:55:18.348Z] ---> Running in 9b6f0692cfa3 [2021-01-28T00:55:19.334Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:55:19.919Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:55:20.872Z] OK: 166 MiB in 39 packages [2021-01-28T00:55:21.451Z] Removing intermediate container 9b6f0692cfa3 [2021-01-28T00:55:21.451Z] ---> 18295505ad3f [2021-01-28T00:55:21.451Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:55:21.451Z] ---> Running in 27e287744f18 [2021-01-28T00:55:21.718Z] Removing intermediate container 27e287744f18 [2021-01-28T00:55:21.718Z] ---> 83ff4313cf23 [2021-01-28T00:55:21.718Z] Step 7/8 : COPY . . [2021-01-28T00:55:23.143Z] ---> 5f4e6de6d63b [2021-01-28T00:55:23.143Z] Step 8/8 : RUN go mod download [2021-01-28T00:55:23.143Z] ---> Running in 86c86ce337eb [2021-01-28T00:55:45.316Z] Removing intermediate container 86c86ce337eb [2021-01-28T00:55:45.316Z] ---> c7cb6e20b516 [2021-01-28T00:55:45.316Z] Successfully built c7cb6e20b516 [2021-01-28T00:55:45.316Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:55:45.637Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:55:45.637Z] . [Pipeline] withDockerContainer [2021-01-28T00:55:45.836Z] prd-centos7-docker-4c-2g-23606 does not seem to be running inside a container [2021-01-28T00:55:45.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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-28T00:55:46.809Z] $ docker top 8121c845e22bfe3b34d4696d613cd777712bef8d6a7e95dc57b90d5b41bfc460 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:55:47.348Z] + go version [2021-01-28T00:55:47.348Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T00:55:47.364Z] $ docker stop --time=1 8121c845e22bfe3b34d4696d613cd777712bef8d6a7e95dc57b90d5b41bfc460 [2021-01-28T00:55:48.720Z] $ docker rm -f 8121c845e22bfe3b34d4696d613cd777712bef8d6a7e95dc57b90d5b41bfc460 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:55:49.550Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:55:49.550Z] . [Pipeline] withDockerContainer [2021-01-28T00:55:49.644Z] prd-centos7-docker-4c-2g-23606 does not seem to be running inside a container [2021-01-28T00:55:49.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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-28T00:55:50.428Z] $ docker top 34acbb083456c2342166a50b9311459fa9e826a58ce06d3ff4c13d7a701e0e95 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:55:51.231Z] + make test [2021-01-28T00:55:51.231Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:55:59.636Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:56:18.022Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:56:18.022Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:56:18.022Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:56:18.022Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.086s coverage: 19.4% of statements [2021-01-28T00:56:20.627Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.556s coverage: 97.1% of statements [2021-01-28T00:56:52.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.072s coverage: 9.4% of statements [2021-01-28T00:56:52.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.075s coverage: 21.7% of statements [2021-01-28T00:56:52.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:56:52.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.252s coverage: 43.2% of statements [2021-01-28T00:56:52.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:56:52.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.312s coverage: 68.9% of statements [2021-01-28T00:56:52.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:56:52.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:56:52.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:56:52.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:56:52.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.083s coverage: 53.8% of statements [2021-01-28T00:56:52.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:56:52.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:56:52.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.073s coverage: 26.8% of statements [2021-01-28T00:56:52.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.356s coverage: 83.5% of statements [2021-01-28T00:56:52.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.066s coverage: 4.2% of statements [2021-01-28T00:56:52.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:56:52.826Z] GO111MODULE=on go vet ./... [2021-01-28T00:56:55.619Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23614 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws [2021-01-28T00:56:55.677Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2021-01-28T00:56:59.540Z] gofmt -l . [2021-01-28T00:56:59.540Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:56:59.540Z] ./bin/test-attribution-txt.sh [2021-01-28T00:56:59.805Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:57:00.084Z] $ docker stop --time=1 34acbb083456c2342166a50b9311459fa9e826a58ce06d3ff4c13d7a701e0e95 [2021-01-28T00:57:01.314Z] using credential edgex-jenkins-ssh [2021-01-28T00:57:01.376Z] Cloning the remote Git repository [2021-01-28T00:57:02.049Z] $ docker rm -f 34acbb083456c2342166a50b9311459fa9e826a58ce06d3ff4c13d7a701e0e95 [2021-01-28T00:57:01.458Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:57:01.602Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2021-01-28T00:57:01.719Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:57:01.720Z] > git --version # timeout=10 [2021-01-28T00:57:01.746Z] > git --version # 'git version 2.17.1' [2021-01-28T00:57:01.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:57:01.844Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:57:02.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:57:03.226Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T00:57:04.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:57:04.870Z] + ls -al . [2021-01-28T00:57:04.870Z] total 216 [2021-01-28T00:57:04.870Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 00:56 . [2021-01-28T00:57:04.870Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 28 00:54 .. [2021-01-28T00:57:04.870Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 00:54 bin [2021-01-28T00:57:04.870Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 00:56 coverage.out [2021-01-28T00:57:04.870Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 00:54 Dockerfile.build [2021-01-28T00:57:04.870Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 00:54 .dockerignore [2021-01-28T00:57:04.870Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 00:54 example [2021-01-28T00:57:04.870Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 00:54 .git [2021-01-28T00:57:04.870Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 00:54 .github [2021-01-28T00:57:04.870Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 00:54 .gitignore [2021-01-28T00:57:04.870Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 28 00:56 go.mod [2021-01-28T00:57:04.870Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 28 00:56 go.sum [2021-01-28T00:57:04.870Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 00:54 internal [2021-01-28T00:57:04.870Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 00:54 Jenkinsfile [2021-01-28T00:57:04.870Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 00:54 LICENSE [2021-01-28T00:57:04.870Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 00:54 Makefile [2021-01-28T00:57:04.870Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 00:54 openapi [2021-01-28T00:57:04.870Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 00:54 pkg [2021-01-28T00:57:04.870Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 00:54 README.md [2021-01-28T00:57:04.870Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 00:54 RELEASE-NOTES.txt [2021-01-28T00:57:04.870Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 00:54 snap [2021-01-28T00:57:04.870Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 00:50 VERSION [2021-01-28T00:57:04.870Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 00:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:57:05.181Z] + 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=a28626f6aaa6c192cdd5985ec95e8d822927251d --label arch=amd64 --label version=0.0.0 . [2021-01-28T00:57:05.443Z] Sending build context to Docker daemon 2.703MB [2021-01-28T00:57:05.443Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:57:05.443Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:57:05.443Z] ---> c7cb6e20b516 [2021-01-28T00:57:05.443Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:57:05.735Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit a28626f6aaa6c192cdd5985ec95e8d822927251d [2021-01-28T00:57:06.020Z] ---> Running in a12915379f47 [2021-01-28T00:57:06.020Z] Removing intermediate container a12915379f47 [2021-01-28T00:57:06.020Z] ---> b5432afa24ed [2021-01-28T00:57:06.020Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T00:57:06.049Z] Merge succeeded, producing a28626f6aaa6c192cdd5985ec95e8d822927251d [2021-01-28T00:57:06.049Z] Checking out Revision a28626f6aaa6c192cdd5985ec95e8d822927251d (PR-728) [2021-01-28T00:57:05.111Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:57:05.138Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:57:05.172Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:57:05.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:57:05.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:57:05.235Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:57:05.761Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:57:05.782Z] > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # timeout=10 [2021-01-28T00:57:05.927Z] > git remote # timeout=10 [2021-01-28T00:57:05.955Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T00:57:05.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:57:06.002Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:57:06.030Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T00:57:06.061Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:57:06.084Z] > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # timeout=10 [2021-01-28T00:57:06.295Z] ---> Running in a8f6d0a2dd4b [2021-01-28T00:57:06.295Z] Removing intermediate container a8f6d0a2dd4b [2021-01-28T00:57:06.295Z] ---> 5585278dd19e [2021-01-28T00:57:06.295Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:57:06.295Z] ---> Running in 80fb2dd1b101 [2021-01-28T00:57:06.569Z] Removing intermediate container 80fb2dd1b101 [2021-01-28T00:57:06.569Z] ---> 6bedba8aaed1 [2021-01-28T00:57:06.569Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:57:06.569Z] ---> Running in ab815a43a09a [2021-01-28T00:57:07.517Z] Removing intermediate container ab815a43a09a [2021-01-28T00:57:07.517Z] ---> 2d24bb5a151a [2021-01-28T00:57:07.517Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T00:57:07.781Z] ---> Running in 0e5e33d3d88c [2021-01-28T00:57:08.740Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:57:10.136Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:57:10.693Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:57:11.530Z] OK: 166 MiB in 39 packages [2021-01-28T00:57:12.112Z] Removing intermediate container 0e5e33d3d88c [2021-01-28T00:57:12.112Z] ---> 58c6160eebfd [2021-01-28T00:57:12.112Z] Step 8/24 : COPY . . [2021-01-28T00:57:12.558Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:57:12.711Z] ---> 5a65f9f6df20 [2021-01-28T00:57:12.711Z] Step 9/24 : RUN ${MAKE} [2021-01-28T00:57:12.711Z] ---> Running in f705c1600931 [2021-01-28T00:57:13.028Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:57:13.294Z] 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-28T00:57:13.397Z] + + sudo service docker restart [2021-01-28T00:57:13.397Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:57:16.117Z] provisioning config files... [2021-01-28T00:57:16.152Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/13@tmp/config7407315201150046141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:57:16.590Z] ---> docker-login.sh [2021-01-28T00:57:16.591Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:57:17.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:57:17.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:57:17.855Z] Configure a credential helper to remove this warning. See [2021-01-28T00:57:17.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:57:17.855Z] [2021-01-28T00:57:17.855Z] Login Succeeded [2021-01-28T00:57:17.855Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:57:18.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:57:18.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:57:18.419Z] Configure a credential helper to remove this warning. See [2021-01-28T00:57:18.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:57:18.419Z] [2021-01-28T00:57:18.419Z] Login Succeeded [2021-01-28T00:57:18.419Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:57:18.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:57:18.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:57:18.975Z] Configure a credential helper to remove this warning. See [2021-01-28T00:57:18.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:57:18.975Z] [2021-01-28T00:57:18.975Z] Login Succeeded [2021-01-28T00:57:18.975Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:57:19.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:57:19.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:57:19.546Z] Configure a credential helper to remove this warning. See [2021-01-28T00:57:19.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:57:19.546Z] [2021-01-28T00:57:19.546Z] Login Succeeded [2021-01-28T00:57:19.546Z] docker.io [2021-01-28T00:57:19.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:57:20.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:57:20.095Z] Configure a credential helper to remove this warning. See [2021-01-28T00:57:20.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:57:20.095Z] [2021-01-28T00:57:20.095Z] Login Succeeded [2021-01-28T00:57:20.095Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:57:20.118Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:57:20.690Z] ========================================================= [2021-01-28T00:57:20.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T00:57:20.690Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:57:21.105Z] + 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-28T00:57:21.383Z] Sending build context to Docker daemon 2.566MB [2021-01-28T00:57:21.573Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T00:57:21.662Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:57:21.662Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:57:21.662Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T00:57:21.662Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T00:57:21.662Z] a4357932f1b6: Pulling fs layer [2021-01-28T00:57:21.662Z] 18c013af1878: Pulling fs layer [2021-01-28T00:57:21.662Z] 00ac8860ef70: Pulling fs layer [2021-01-28T00:57:21.662Z] 63d7cb157983: Pulling fs layer [2021-01-28T00:57:21.662Z] b116817d02f9: Pulling fs layer [2021-01-28T00:57:21.662Z] 745a02a5169b: Pulling fs layer [2021-01-28T00:57:21.662Z] 00ac8860ef70: Waiting [2021-01-28T00:57:21.662Z] 63d7cb157983: Waiting [2021-01-28T00:57:21.662Z] b116817d02f9: Waiting [2021-01-28T00:57:21.662Z] 745a02a5169b: Waiting [2021-01-28T00:57:21.662Z] 18c013af1878: Verifying Checksum [2021-01-28T00:57:21.662Z] 18c013af1878: Download complete [2021-01-28T00:57:21.662Z] a4357932f1b6: Download complete [2021-01-28T00:57:21.662Z] 63d7cb157983: Download complete [2021-01-28T00:57:21.662Z] b116817d02f9: Verifying Checksum [2021-01-28T00:57:21.662Z] b116817d02f9: Download complete [2021-01-28T00:57:21.662Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T00:57:21.662Z] 5f621e34cdf4: Download complete [2021-01-28T00:57:22.688Z] 5f621e34cdf4: Pull complete [2021-01-28T00:57:23.335Z] a4357932f1b6: Pull complete [2021-01-28T00:57:23.544Z] Removing intermediate container f705c1600931 [2021-01-28T00:57:23.544Z] ---> ae1e810ac974 [2021-01-28T00:57:23.544Z] Step 10/24 : FROM scratch [2021-01-28T00:57:23.544Z] ---> [2021-01-28T00:57:23.544Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:57:23.637Z] 18c013af1878: Pull complete [2021-01-28T00:57:23.812Z] ---> Running in 9e90b3f735bf [2021-01-28T00:57:23.812Z] Removing intermediate container 9e90b3f735bf [2021-01-28T00:57:23.812Z] ---> 27d512e3e079 [2021-01-28T00:57:23.812Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T00:57:24.080Z] ---> Running in b35107b12882 [2021-01-28T00:57:24.080Z] Removing intermediate container b35107b12882 [2021-01-28T00:57:24.080Z] ---> 304f7293467a [2021-01-28T00:57:24.080Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T00:57:24.344Z] ---> Running in 6ae98c0c7e11 [2021-01-28T00:57:24.344Z] Removing intermediate container 6ae98c0c7e11 [2021-01-28T00:57:24.344Z] ---> 44df6c088e24 [2021-01-28T00:57:24.344Z] Step 14/24 : WORKDIR / [2021-01-28T00:57:24.344Z] ---> Running in ad2f05c85353 [2021-01-28T00:57:24.609Z] Removing intermediate container ad2f05c85353 [2021-01-28T00:57:24.609Z] ---> 963937bae941 [2021-01-28T00:57:24.609Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T00:57:24.632Z] 745a02a5169b: Verifying Checksum [2021-01-28T00:57:24.632Z] 745a02a5169b: Download complete [2021-01-28T00:57:25.193Z] ---> 3d6c4970ff15 [2021-01-28T00:57:25.193Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T00:57:25.458Z] ---> 8d9745cbb1a0 [2021-01-28T00:57:25.458Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T00:57:25.622Z] 00ac8860ef70: Verifying Checksum [2021-01-28T00:57:25.622Z] 00ac8860ef70: Download complete [2021-01-28T00:57:25.724Z] ---> 8920c07275eb [2021-01-28T00:57:25.724Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T00:57:25.994Z] ---> ace4f421abfa [2021-01-28T00:57:25.994Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T00:57:26.260Z] ---> 582ed1f99934 [2021-01-28T00:57:26.260Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T00:57:26.260Z] ---> Running in df992ee83855 [2021-01-28T00:57:26.524Z] Removing intermediate container df992ee83855 [2021-01-28T00:57:26.524Z] ---> ff32d30e937e [2021-01-28T00:57:26.524Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T00:57:26.524Z] ---> Running in 4f57d796b5df [2021-01-28T00:57:26.798Z] Removing intermediate container 4f57d796b5df [2021-01-28T00:57:26.798Z] ---> 4ce65edd1dc9 [2021-01-28T00:57:26.798Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T00:57:26.798Z] ---> Running in 696fdabafa53 [2021-01-28T00:57:27.065Z] Removing intermediate container 696fdabafa53 [2021-01-28T00:57:27.065Z] ---> 54e8235bbd67 [2021-01-28T00:57:27.065Z] Step 23/24 : LABEL git_sha=a28626f6aaa6c192cdd5985ec95e8d822927251d [2021-01-28T00:57:27.065Z] ---> Running in 798d71ab3f45 [2021-01-28T00:57:27.336Z] Removing intermediate container 798d71ab3f45 [2021-01-28T00:57:27.336Z] ---> 3e2f882c8c41 [2021-01-28T00:57:27.336Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T00:57:27.336Z] ---> Running in 06b2ef3ede43 [2021-01-28T00:57:27.605Z] Removing intermediate container 06b2ef3ede43 [2021-01-28T00:57:27.605Z] ---> d7a9d96fe20d [2021-01-28T00:57:27.605Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T00:57:27.605Z] Successfully built d7a9d96fe20d [2021-01-28T00:57:27.605Z] 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-28T00:57:35.815Z] 00ac8860ef70: Pull complete [2021-01-28T00:57:36.086Z] 63d7cb157983: Pull complete [2021-01-28T00:57:36.357Z] b116817d02f9: Pull complete [2021-01-28T00:57:39.745Z] 745a02a5169b: Pull complete [2021-01-28T00:57:39.745Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T00:57:39.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T00:57:39.745Z] ---> b7e6874047d6 [2021-01-28T00:57:39.745Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:57:43.168Z] ---> Running in d86e141dac83 [2021-01-28T00:57:43.451Z] Removing intermediate container d86e141dac83 [2021-01-28T00:57:43.451Z] ---> a558fd2f9863 [2021-01-28T00:57:43.451Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:57:43.729Z] ---> Running in 5c763102dd63 [2021-01-28T00:57:46.397Z] Removing intermediate container 5c763102dd63 [2021-01-28T00:57:46.397Z] ---> eb85bbf6a2e1 [2021-01-28T00:57:46.397Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:57:46.397Z] ---> Running in 5a7703333b92 [2021-01-28T00:57:47.399Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T00:57:49.381Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T00:57:50.362Z] OK: 142 MiB in 39 packages [2021-01-28T00:57:51.350Z] Removing intermediate container 5a7703333b92 [2021-01-28T00:57:51.350Z] ---> 50233e6ef28a [2021-01-28T00:57:51.350Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:57:51.627Z] ---> Running in 90d1c49c35bd [2021-01-28T00:57:52.228Z] Removing intermediate container 90d1c49c35bd [2021-01-28T00:57:52.228Z] ---> e341756744ff [2021-01-28T00:57:52.228Z] Step 7/8 : COPY . . [2021-01-28T00:57:53.668Z] ---> c57a60174b3d [2021-01-28T00:57:53.668Z] Step 8/8 : RUN go mod download [2021-01-28T00:57:53.668Z] ---> Running in c02b8dfbafed [2021-01-28T00:58:20.519Z] Removing intermediate container c02b8dfbafed [2021-01-28T00:58:20.519Z] ---> cf2fb1072b79 [2021-01-28T00:58:20.519Z] Successfully built cf2fb1072b79 [2021-01-28T00:58:20.519Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:58:20.875Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:58:20.875Z] . [Pipeline] withDockerContainer [2021-01-28T00:58:21.186Z] prd-ubuntu18.04-docker-arm64-4c-16g-23614 does not seem to be running inside a container [2021-01-28T00:58:21.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T00:58:23.019Z] $ docker top 2c85074fd4483a4aeaac3691aa34cb5e5aafb599ae0b6e6994adbeff8d22653b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:58:24.127Z] + go version [2021-01-28T00:58:24.127Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T00:58:24.165Z] $ docker stop --time=1 2c85074fd4483a4aeaac3691aa34cb5e5aafb599ae0b6e6994adbeff8d22653b [2021-01-28T00:58:26.211Z] $ docker rm -f 2c85074fd4483a4aeaac3691aa34cb5e5aafb599ae0b6e6994adbeff8d22653b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:58:27.493Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:58:27.493Z] . [Pipeline] withDockerContainer [2021-01-28T00:58:27.805Z] prd-ubuntu18.04-docker-arm64-4c-16g-23614 does not seem to be running inside a container [2021-01-28T00:58:27.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T00:58:29.652Z] $ docker top ca192f5c09e6c626a5cbd8bd4bed2e447b669dc821fec0e7f4fe2a96f9c8d849 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:58:30.782Z] + make test [2021-01-28T00:58:30.782Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:58:57.634Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:59:54.498Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:59:54.498Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:59:54.498Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:59:54.498Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.197s coverage: 19.4% of statements [2021-01-28T00:59:58.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.548s coverage: 97.1% of statements [2021-01-28T01:00:25.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 9.4% of statements [2021-01-28T01:00:25.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.129s coverage: 21.7% of statements [2021-01-28T01:00:25.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T01:00:25.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.747s coverage: 43.2% of statements [2021-01-28T01:00:25.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T01:00:25.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.838s coverage: 68.9% of statements [2021-01-28T01:00:25.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T01:00:25.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T01:00:25.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T01:00:25.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T01:00:25.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 53.8% of statements [2021-01-28T01:00:25.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T01:00:25.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T01:00:25.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.190s coverage: 26.8% of statements [2021-01-28T01:00:25.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.335s coverage: 83.5% of statements [2021-01-28T01:00:25.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.152s coverage: 4.2% of statements [2021-01-28T01:00:25.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T01:00:25.735Z] GO111MODULE=on go vet ./... [2021-01-28T01:01:04.857Z] gofmt -l . [2021-01-28T01:01:04.857Z] [ "`gofmt -l .`" = "" ] [2021-01-28T01:01:04.857Z] ./bin/test-attribution-txt.sh [2021-01-28T01:01:05.457Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T01:01:05.761Z] $ docker stop --time=1 ca192f5c09e6c626a5cbd8bd4bed2e447b669dc821fec0e7f4fe2a96f9c8d849 [2021-01-28T01:01:08.252Z] $ docker rm -f ca192f5c09e6c626a5cbd8bd4bed2e447b669dc821fec0e7f4fe2a96f9c8d849 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T01:01:09.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T01:01:09.398Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T01:01:10.360Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T01:01:11.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T01:01:11.445Z] + ls -al . [2021-01-28T01:01:11.446Z] total 252 [2021-01-28T01:01:11.446Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 01:01 . [2021-01-28T01:01:11.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:57 .. [2021-01-28T01:01:11.446Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 00:57 .dockerignore [2021-01-28T01:01:11.446Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 00:57 .git [2021-01-28T01:01:11.446Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:57 .github [2021-01-28T01:01:11.446Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 00:57 .gitignore [2021-01-28T01:01:11.446Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 00:57 Dockerfile.build [2021-01-28T01:01:11.446Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 00:57 Jenkinsfile [2021-01-28T01:01:11.446Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 00:57 LICENSE [2021-01-28T01:01:11.446Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 00:57 Makefile [2021-01-28T01:01:11.446Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 00:57 README.md [2021-01-28T01:01:11.446Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 00:57 RELEASE-NOTES.txt [2021-01-28T01:01:11.446Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 00:50 VERSION [2021-01-28T01:01:11.446Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:57 bin [2021-01-28T01:01:11.446Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 01:00 coverage.out [2021-01-28T01:01:11.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:57 example [2021-01-28T01:01:11.446Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 28 01:01 go.mod [2021-01-28T01:01:11.446Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 28 01:01 go.sum [2021-01-28T01:01:11.446Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 00:57 internal [2021-01-28T01:01:11.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:57 openapi [2021-01-28T01:01:11.446Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 00:57 pkg [2021-01-28T01:01:11.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:57 snap [2021-01-28T01:01:11.446Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 00:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T01:01:11.805Z] + 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=a28626f6aaa6c192cdd5985ec95e8d822927251d --label arch=arm64 --label version=0.0.0 . [2021-01-28T01:01:12.410Z] Sending build context to Docker daemon 2.703MB [2021-01-28T01:01:12.410Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T01:01:12.410Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T01:01:12.410Z] ---> cf2fb1072b79 [2021-01-28T01:01:12.410Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T01:01:12.683Z] ---> Running in 22dca175841c [2021-01-28T01:01:13.286Z] Removing intermediate container 22dca175841c [2021-01-28T01:01:13.286Z] ---> c0ad7fcb577a [2021-01-28T01:01:13.286Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T01:01:13.286Z] ---> Running in a5120f67deba [2021-01-28T01:01:13.885Z] Removing intermediate container a5120f67deba [2021-01-28T01:01:13.885Z] ---> cc6a4bc6ed09 [2021-01-28T01:01:13.885Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T01:01:13.885Z] ---> Running in ca55bce67b39 [2021-01-28T01:01:14.489Z] Removing intermediate container ca55bce67b39 [2021-01-28T01:01:14.489Z] ---> 44c7a43c3361 [2021-01-28T01:01:14.489Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T01:01:14.489Z] ---> Running in e02a3ad26ec7 [2021-01-28T01:01:17.119Z] Removing intermediate container e02a3ad26ec7 [2021-01-28T01:01:17.119Z] ---> 342c8858dde6 [2021-01-28T01:01:17.119Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T01:01:17.119Z] ---> Running in 754ae551eb4a [2021-01-28T01:01:18.105Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T01:01:18.703Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T01:01:19.690Z] OK: 142 MiB in 39 packages [2021-01-28T01:01:21.136Z] Removing intermediate container 754ae551eb4a [2021-01-28T01:01:21.136Z] ---> 5bc12b27f222 [2021-01-28T01:01:21.136Z] Step 8/24 : COPY . . [2021-01-28T01:01:22.577Z] ---> 211afa27c514 [2021-01-28T01:01:22.577Z] Step 9/24 : RUN ${MAKE} [2021-01-28T01:01:22.577Z] ---> Running in 6af41fe51750 [2021-01-28T01:01:24.020Z] 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-28T01:01:56.441Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T01:01:57.037Z] Removing intermediate container 6af41fe51750 [2021-01-28T01:01:57.037Z] ---> ea6cd7d5d97a [2021-01-28T01:01:57.037Z] Step 10/24 : FROM scratch [2021-01-28T01:01:57.037Z] ---> [2021-01-28T01:01:57.037Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T01:01:57.310Z] ---> Running in 27dfb83f90c5 [2021-01-28T01:01:57.907Z] Removing intermediate container 27dfb83f90c5 [2021-01-28T01:01:57.907Z] ---> 53109b48ce46 [2021-01-28T01:01:57.907Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T01:01:57.907Z] ---> Running in f9e01d46b250 [2021-01-28T01:01:58.505Z] Removing intermediate container f9e01d46b250 [2021-01-28T01:01:58.505Z] ---> 02b57b430b00 [2021-01-28T01:01:58.505Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T01:01:58.505Z] ---> Running in 4a2fa806dd09 [2021-01-28T01:01:59.104Z] Removing intermediate container 4a2fa806dd09 [2021-01-28T01:01:59.104Z] ---> b90d268afd3f [2021-01-28T01:01:59.104Z] Step 14/24 : WORKDIR / [2021-01-28T01:01:59.104Z] ---> Running in 804ae860bd3c [2021-01-28T01:01:59.700Z] Removing intermediate container 804ae860bd3c [2021-01-28T01:01:59.700Z] ---> 1f134f042b82 [2021-01-28T01:01:59.700Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T01:02:00.679Z] ---> 36e24bb2fee8 [2021-01-28T01:02:00.679Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T01:02:01.658Z] ---> c2a12ac5f5b4 [2021-01-28T01:02:01.658Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T01:02:02.259Z] ---> f336b993956e [2021-01-28T01:02:02.259Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T01:02:03.241Z] ---> 65ab8296b487 [2021-01-28T01:02:03.241Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T01:02:03.841Z] ---> 982a7eb673c5 [2021-01-28T01:02:03.841Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T01:02:04.115Z] ---> Running in da16a1be505e [2021-01-28T01:02:04.711Z] Removing intermediate container da16a1be505e [2021-01-28T01:02:04.711Z] ---> 8a3fe23369f5 [2021-01-28T01:02:04.711Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T01:02:04.711Z] ---> Running in 7b8ff1f08ec9 [2021-01-28T01:02:05.310Z] Removing intermediate container 7b8ff1f08ec9 [2021-01-28T01:02:05.310Z] ---> df22eb7082d8 [2021-01-28T01:02:05.310Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T01:02:05.310Z] ---> Running in d598a1adcd8b [2021-01-28T01:02:05.921Z] Removing intermediate container d598a1adcd8b [2021-01-28T01:02:05.921Z] ---> 10a6db3835f8 [2021-01-28T01:02:05.921Z] Step 23/24 : LABEL git_sha=a28626f6aaa6c192cdd5985ec95e8d822927251d [2021-01-28T01:02:05.921Z] ---> Running in bada71c0580c [2021-01-28T01:02:06.545Z] Removing intermediate container bada71c0580c [2021-01-28T01:02:06.545Z] ---> 90f926c49141 [2021-01-28T01:02:06.545Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T01:02:06.545Z] ---> Running in e3bfaaa06a0b [2021-01-28T01:02:07.142Z] Removing intermediate container e3bfaaa06a0b [2021-01-28T01:02:07.142Z] ---> 1df29c40f892 [2021-01-28T01:02:07.142Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T01:02:07.142Z] Successfully built 1df29c40f892 [2021-01-28T01:02:07.142Z] 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-28T01:02:08.623Z] provisioning config files... [2021-01-28T01:02:08.634Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config3402318843166647095tmp [Pipeline] { [Pipeline] sh [2021-01-28T01:02:09.043Z] + set +x [2021-01-28T01:02:09.043Z] + bash -s -- [2021-01-28T01:02:09.043Z] + curl -s https://codecov.io/bash [2021-01-28T01:02:09.305Z] [2021-01-28T01:02:09.305Z] _____ _ [2021-01-28T01:02:09.305Z] / ____| | | [2021-01-28T01:02:09.305Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T01:02:09.305Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T01:02:09.305Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T01:02:09.305Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T01:02:09.305Z] Bash-20210128-d4071a2 [2021-01-28T01:02:09.305Z] [2021-01-28T01:02:09.305Z] [2021-01-28T01:02:09.305Z] ==> git version 2.24.3 found [2021-01-28T01:02:09.305Z] ==> 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-28T01:02:09.305Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T01:02:09.305Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T01:02:09.305Z] ==> Jenkins CI detected. [2021-01-28T01:02:09.305Z] project root: . [2021-01-28T01:02:09.305Z] --> token set from env [2021-01-28T01:02:09.305Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T01:02:09.305Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T01:02:09.305Z] ==> Python coveragepy not found [2021-01-28T01:02:09.305Z] ==> Searching for coverage reports in: [2021-01-28T01:02:09.305Z] + . [2021-01-28T01:02:09.305Z] -> Found 1 reports [2021-01-28T01:02:09.305Z] ==> Detecting git/mercurial file structure [2021-01-28T01:02:09.305Z] ==> Reading reports [2021-01-28T01:02:09.305Z] + ./coverage.out bytes=136842 [2021-01-28T01:02:09.305Z] ==> Appending adjustments [2021-01-28T01:02:09.305Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T01:02:09.890Z] + Found adjustments [2021-01-28T01:02:09.890Z] ==> Gzipping contents [2021-01-28T01:02:09.890Z] 24K /tmp/codecov.2zMY2Y.gz [2021-01-28T01:02:09.890Z] ==> Uploading reports [2021-01-28T01:02:09.890Z] url: https://codecov.io [2021-01-28T01:02:09.891Z] query: branch=PR-728&commit=a28626f6aaa6c192cdd5985ec95e8d822927251d&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= [2021-01-28T01:02:09.891Z] -> Pinging Codecov [2021-01-28T01:02:09.891Z] https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-728&commit=a28626f6aaa6c192cdd5985ec95e8d822927251d&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= [2021-01-28T01:02:10.466Z] -> Uploading to [2021-01-28T01:02:10.466Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/a28626f6aaa6c192cdd5985ec95e8d822927251d/dad8eb25-f08c-4774-91c0-7cd6cec144a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T010210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1db0770a141879f8ff728cef828b701b8eda45c321eded1f90fcb8d0d91b1f40 [2021-01-28T01:02:10.466Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T01:02:10.466Z] Dload Upload Total Spent Left Speed [2021-01-28T01:02:10.989Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21554 0 0 100 21554 0 45904 --:--:-- --:--:-- --:--:-- 45859 [2021-01-28T01:02:10.989Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a28626f6aaa6c192cdd5985ec95e8d822927251d [Pipeline] } [2021-01-28T01:02:10.999Z] 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-28T01:02:13.531Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:02:13.842Z] ---> package-listing.sh [2021-01-28T01:02:13.842Z] ++ facter osfamily [2021-01-28T01:02:13.842Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T01:02:13.842Z] + OS_FAMILY=redhat [2021-01-28T01:02:13.842Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 [2021-01-28T01:02:13.842Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T01:02:13.842Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T01:02:13.842Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T01:02:13.842Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T01:02:13.842Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' [2021-01-28T01:02:13.843Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T01:02:13.843Z] + case "${OS_FAMILY}" in [2021-01-28T01:02:13.843Z] + rpm -qa [2021-01-28T01:02:13.843Z] + sort [2021-01-28T01:02:18.072Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T01:02:18.072Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T01:02:18.072Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T01:02:18.072Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' [2021-01-28T01:02:18.072Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [2021-01-28T01:02:18.072Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [Pipeline] echo [2021-01-28T01:02:18.095Z] 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-728/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-28T01:02:18.395Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T01:02:18.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T01:02:18.702Z] [2021-01-28T01:02:18.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T01:02:19.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T01:02:19.060Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T01:02:19.060Z] df20fa9351a1: Pulling fs layer [2021-01-28T01:02:19.060Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T01:02:19.060Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T01:02:19.060Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T01:02:19.060Z] 93b61091891f: Pulling fs layer [2021-01-28T01:02:19.060Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T01:02:19.060Z] 5e14af77c1be: Pulling fs layer [2021-01-28T01:02:19.060Z] 01666e4c0597: Pulling fs layer [2021-01-28T01:02:19.060Z] aa168da1d23b: Pulling fs layer [2021-01-28T01:02:19.060Z] 46f8f816bc3b: Waiting [2021-01-28T01:02:19.060Z] 93b61091891f: Waiting [2021-01-28T01:02:19.060Z] 01666e4c0597: Waiting [2021-01-28T01:02:19.060Z] aa168da1d23b: Waiting [2021-01-28T01:02:19.060Z] 93b9cdb0e59b: Waiting [2021-01-28T01:02:19.060Z] 36b3adc4ff6f: Download complete [2021-01-28T01:02:19.060Z] 46f8f816bc3b: Verifying Checksum [2021-01-28T01:02:19.060Z] 46f8f816bc3b: Download complete [2021-01-28T01:02:19.060Z] df20fa9351a1: Verifying Checksum [2021-01-28T01:02:19.060Z] df20fa9351a1: Download complete [2021-01-28T01:02:19.060Z] 93b9cdb0e59b: Verifying Checksum [2021-01-28T01:02:19.060Z] 93b9cdb0e59b: Download complete [2021-01-28T01:02:19.330Z] 93b61091891f: Download complete [2021-01-28T01:02:19.330Z] 5e14af77c1be: Verifying Checksum [2021-01-28T01:02:19.330Z] 5e14af77c1be: Download complete [2021-01-28T01:02:19.330Z] 01666e4c0597: Download complete [2021-01-28T01:02:19.594Z] df20fa9351a1: Pull complete [2021-01-28T01:02:19.594Z] 36b3adc4ff6f: Pull complete [2021-01-28T01:02:19.594Z] 8ad3a11d3b57: Verifying Checksum [2021-01-28T01:02:19.594Z] 8ad3a11d3b57: Download complete [2021-01-28T01:02:21.548Z] 8ad3a11d3b57: Pull complete [2021-01-28T01:02:21.548Z] aa168da1d23b: Verifying Checksum [2021-01-28T01:02:21.548Z] aa168da1d23b: Download complete [2021-01-28T01:02:21.814Z] 46f8f816bc3b: Pull complete [2021-01-28T01:02:22.077Z] 93b61091891f: Pull complete [2021-01-28T01:02:22.339Z] 93b9cdb0e59b: Pull complete [2021-01-28T01:02:22.339Z] 5e14af77c1be: Pull complete [2021-01-28T01:02:22.339Z] 01666e4c0597: Pull complete [2021-01-28T01:02:30.520Z] aa168da1d23b: Pull complete [2021-01-28T01:02:30.520Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T01:02:30.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T01:02:30.520Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T01:02:30.744Z] prd-centos7-docker-4c-2g-23603 does not seem to be running inside a container [2021-01-28T01:02:30.797Z] $ 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-728/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-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-28T01:02:33.694Z] $ docker top 845ddf4b42736368e95fbb1624c65c9c2f7ee77aa090e3cf49314f4215358b48 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T01:02:34.237Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T01:02:34.552Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T01:02:34.854Z] + ls /var/log/sa-host [2021-01-28T01:02:34.854Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T01:02:34.854Z] file_magic: OK [2021-01-28T01:02:34.854Z] HZ: Using current value: 100 [2021-01-28T01:02:34.854Z] file_header: OK [2021-01-28T01:02:34.854Z] 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-28T01:02:34.854Z] Statistics: [2021-01-28T01:02:34.854Z] Hnuu...uuuununununu... [2021-01-28T01:02:34.854Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T01:02:34.854Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T01:02:34.854Z] file_magic: OK [2021-01-28T01:02:34.854Z] HZ: Using current value: 100 [2021-01-28T01:02:34.854Z] file_header: OK [2021-01-28T01:02:34.854Z] 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-28T01:02:34.854Z] Statistics: [2021-01-28T01:02:34.854Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T01:02:34.854Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T01:02:35.071Z] provisioning config files... [2021-01-28T01:02:35.088Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config4048525876607701279tmp [Pipeline] { [Pipeline] echo [2021-01-28T01:02:35.162Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:02:35.459Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T01:02:35.469Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T01:02:35.560Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:02:35.868Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T01:02:35.880Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:02:36.181Z] ---> sudo-logs.sh [2021-01-28T01:02:36.181Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T01:02:36.192Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:02:36.492Z] ---> job-cost.sh [2021-01-28T01:02:36.492Z] lf-activate-venv: SKIPPING [2021-01-28T01:02:36.492Z] INFO: No Stack... [2021-01-28T01:02:37.887Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T01:02:38.460Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T01:02:38.475Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:02:38.773Z] ---> logs-deploy.sh [2021-01-28T01:02:38.773Z] lf-activate-venv: SKIPPING [2021-01-28T01:02:38.773Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/13 [2021-01-28T01:02:38.773Z] INFO: archiving workspace using pattern(s): [2021-01-28T01:02:40.698Z] Archives upload complete. [2021-01-28T01:02:40.698Z] INFO: archiving logs to Nexus