Pull request #764 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 759b289543a1a77b96e8617066248995dc55b10b+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (a5eeb2446caef8a572724b5feceed1f0c28caa3d) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-764/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-764/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 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-23558’ is offline; ‘prd-centos7-docker-4c-2g-23588’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23590’ 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-23585’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23591 in /w/workspace/dgexfoundry_device-sdk-go_PR-764 [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-764 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 759b289543a1a77b96e8617066248995dc55b10b Merge succeeded, producing 759b289543a1a77b96e8617066248995dc55b10b Checking out Revision 759b289543a1a77b96e8617066248995dc55b10b (PR-764) > 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/764/head:refs/remotes/origin/PR-764 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 759b289543a1a77b96e8617066248995dc55b10b # 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 759b289543a1a77b96e8617066248995dc55b10b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T00:46:26.698Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-28T00:46:27.020Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T00:46:27.216Z] ========================================================= [2021-01-28T00:46:27.216Z] EdgeX Global Pipelines Version Info [2021-01-28T00:46:27.216Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:46:28.700Z] ------------------- [2021-01-28T00:46:28.700Z] stable info: [2021-01-28T00:46:28.700Z] ------------------- [2021-01-28T00:46:28.700Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:46:28.700Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:46:28.700Z] Message: update stable to v1.0.179 [2021-01-28T00:46:29.651Z] ------------------- [2021-01-28T00:46:29.651Z] experimental info: [2021-01-28T00:46:29.651Z] ------------------- [2021-01-28T00:46:29.651Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:46:29.651Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:46:29.651Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T00:46:30.033Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T00:46:30.183Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T00:46:30.302Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T00:46:30.448Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T00:46:30.589Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T00:46:30.723Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T00:46:30.838Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T00:46:30.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T00:46:31.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T00:46:31.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T00:46:31.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T00:46:31.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T00:46:31.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T00:46:31.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T00:46:31.964Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T00:46:32.094Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:46:32.208Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:46:32.321Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:46:32.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T00:46:32.544Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T00:46:32.660Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T00:46:32.778Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T00:46:32.891Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T00:46:33.035Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T00:46:33.165Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T00:46:33.279Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T00:46:33.485Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T00:46:33.603Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-764 [Pipeline] echo [2021-01-28T00:46:33.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-764 [Pipeline] echo [2021-01-28T00:46:33.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-764 [Pipeline] echo [2021-01-28T00:46:33.938Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 759b289543a1a77b96e8617066248995dc55b10b [Pipeline] echo [2021-01-28T00:46:34.055Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 759b289 [Pipeline] echo [2021-01-28T00:46:34.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:46:34.390Z] provisioning config files... [2021-01-28T00:46:34.418Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-764@tmp/config6796715371261955941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:46:34.837Z] ---> docker-login.sh [2021-01-28T00:46:34.837Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:46:35.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:46:35.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:46:35.362Z] Configure a credential helper to remove this warning. See [2021-01-28T00:46:35.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:46:35.362Z] [2021-01-28T00:46:35.362Z] Login Succeeded [2021-01-28T00:46:35.362Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:46:35.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:46:35.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:46:35.362Z] Configure a credential helper to remove this warning. See [2021-01-28T00:46:35.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:46:35.362Z] [2021-01-28T00:46:35.362Z] Login Succeeded [2021-01-28T00:46:35.362Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:46:35.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:46:35.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:46:35.624Z] Configure a credential helper to remove this warning. See [2021-01-28T00:46:35.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:46:35.624Z] [2021-01-28T00:46:35.624Z] Login Succeeded [2021-01-28T00:46:35.624Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:46:35.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:46:36.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:46:36.153Z] Configure a credential helper to remove this warning. See [2021-01-28T00:46:36.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:46:36.153Z] [2021-01-28T00:46:36.153Z] Login Succeeded [2021-01-28T00:46:36.153Z] docker.io [2021-01-28T00:46:36.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:46:36.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:46:36.416Z] Configure a credential helper to remove this warning. See [2021-01-28T00:46:36.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:46:36.416Z] [2021-01-28T00:46:36.416Z] Login Succeeded [2021-01-28T00:46:36.416Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:46:36.464Z] 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:46:37.575Z] + git log --format=format:%s -1 759b289543a1a77b96e8617066248995dc55b10b [Pipeline] echo [2021-01-28T00:46:37.660Z] GIT_COMMIT: 759b289543a1a77b96e8617066248995dc55b10b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-01-28T00:46:37.739Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:46:38.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:46:38.578Z] [2021-01-28T00:46:38.578Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:46:38.993Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:46:38.993Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T00:46:38.993Z] 31603596830f: Pulling fs layer [2021-01-28T00:46:38.993Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T00:46:38.993Z] 6ca5941a6612: Pulling fs layer [2021-01-28T00:46:38.993Z] ecc8261a40a4: Pulling fs layer [2021-01-28T00:46:38.993Z] ecc8261a40a4: Waiting [2021-01-28T00:46:38.993Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T00:46:38.993Z] 2a8b12db71e7: Download complete [2021-01-28T00:46:38.993Z] 31603596830f: Verifying Checksum [2021-01-28T00:46:38.993Z] 31603596830f: Download complete [2021-01-28T00:46:39.275Z] ecc8261a40a4: Verifying Checksum [2021-01-28T00:46:39.275Z] ecc8261a40a4: Download complete [2021-01-28T00:46:39.275Z] 6ca5941a6612: Verifying Checksum [2021-01-28T00:46:39.275Z] 6ca5941a6612: Download complete [2021-01-28T00:46:39.545Z] 31603596830f: Pull complete [2021-01-28T00:46:39.545Z] 2a8b12db71e7: Pull complete [2021-01-28T00:46:40.510Z] 6ca5941a6612: Pull complete [2021-01-28T00:46:40.779Z] ecc8261a40a4: Pull complete [2021-01-28T00:46:40.779Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T00:46:40.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:46:40.780Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T00:46:41.002Z] prd-centos7-docker-4c-2g-23591 does not seem to be running inside a container [2021-01-28T00:46:41.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-764 -v /w/workspace/dgexfoundry_device-sdk-go_PR-764:/w/workspace/dgexfoundry_device-sdk-go_PR-764:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-764@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-764@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T00:46:43.455Z] $ docker top 6b4d225d79f3eca85dd550a66c2f0ebc8b04acd4d8303eba82868ab1bf9d7e7d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T00:46:43.834Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:46:43.835Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:46:44.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:46:44.090Z] $ docker exec 6b4d225d79f3eca85dd550a66c2f0ebc8b04acd4d8303eba82868ab1bf9d7e7d ssh-agent [2021-01-28T00:46:44.268Z] SSH_AUTH_SOCK=/tmp/ssh-ZRL1eeGFJpiS/agent.11 [2021-01-28T00:46:44.268Z] SSH_AGENT_PID=16 [2021-01-28T00:46:44.281Z] Running ssh-add (command line suppressed) [2021-01-28T00:46:44.409Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-764@tmp/private_key_2350051380230092369.key (/w/workspace/dgexfoundry_device-sdk-go_PR-764@tmp/private_key_2350051380230092369.key) [2021-01-28T00:46:44.465Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:46:44.874Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T00:46:44.906Z] $ docker exec --env ******** --env ******** 6b4d225d79f3eca85dd550a66c2f0ebc8b04acd4d8303eba82868ab1bf9d7e7d ssh-agent -k [2021-01-28T00:46:45.028Z] unset SSH_AUTH_SOCK; [2021-01-28T00:46:45.029Z] unset SSH_AGENT_PID; [2021-01-28T00:46:45.029Z] echo Agent pid 16 killed; [2021-01-28T00:46:45.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T00:46:45.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:46:45.272Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:46:45.452Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:46:45.458Z] $ docker exec 6b4d225d79f3eca85dd550a66c2f0ebc8b04acd4d8303eba82868ab1bf9d7e7d ssh-agent [2021-01-28T00:46:45.879Z] SSH_AUTH_SOCK=/tmp/ssh-XvE9KmzNrAjD/agent.46 [2021-01-28T00:46:45.879Z] SSH_AGENT_PID=51 [2021-01-28T00:46:45.887Z] Running ssh-add (command line suppressed) [2021-01-28T00:46:46.017Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-764@tmp/private_key_433516288973715164.key (/w/workspace/dgexfoundry_device-sdk-go_PR-764@tmp/private_key_433516288973715164.key) [2021-01-28T00:46:46.074Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:46:46.476Z] + git semver init [2021-01-28T00:46:46.476Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T00:46:46.476Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-764/.git [2021-01-28T00:46:46.476Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-764 [2021-01-28T00:46:46.476Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T00:46:46.476Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T00:46:46.476Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T00:46:46.476Z] # $SEMVER_BRANCH = PR-764 [2021-01-28T00:46:46.476Z] # $SEMVER_TEMP = /tmp/semver-131649535 [2021-01-28T00:46:46.476Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T00:46:47.422Z] # '/tmp/semver-131649535' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-764/.semver' [2021-01-28T00:46:47.422Z] # -> Force: false [2021-01-28T00:46:47.422Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-764/.semver [Pipeline] } [2021-01-28T00:46:47.442Z] $ docker exec --env ******** --env ******** 6b4d225d79f3eca85dd550a66c2f0ebc8b04acd4d8303eba82868ab1bf9d7e7d ssh-agent -k [2021-01-28T00:46:47.565Z] unset SSH_AUTH_SOCK; [2021-01-28T00:46:47.566Z] unset SSH_AGENT_PID; [2021-01-28T00:46:47.566Z] echo Agent pid 51 killed; [2021-01-28T00:46:47.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T00:46:48.176Z] + git semver [Pipeline] } [2021-01-28T00:46:48.207Z] $ docker stop --time=1 6b4d225d79f3eca85dd550a66c2f0ebc8b04acd4d8303eba82868ab1bf9d7e7d [2021-01-28T00:46:49.583Z] $ docker rm -f 6b4d225d79f3eca85dd550a66c2f0ebc8b04acd4d8303eba82868ab1bf9d7e7d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:46:50.164Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T00:46:50.680Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T00:46:50.862Z] [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:47:06.769Z] Still waiting to schedule task [2021-01-28T00:47:06.770Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-28T00:47:06.794Z] Still waiting to schedule task [2021-01-28T00:47:06.794Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-23554’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-23556’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-23558’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-23559’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-23577’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-23587’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-23588’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23565’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23566’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23568’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23569’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23585’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23592’ is offline [2021-01-28T00:48:17.776Z] Running on prd-centos7-docker-4c-2g-23596 in /w/workspace/dgexfoundry_device-sdk-go_PR-764 [Pipeline] { [Pipeline] ws [2021-01-28T00:48:17.865Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-28T00:48:20.357Z] using credential edgex-jenkins-ssh [2021-01-28T00:48:20.447Z] Cloning the remote Git repository [2021-01-28T00:48:20.229Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:48:20.304Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-28T00:48:20.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:48:20.365Z] > git --version # timeout=10 [2021-01-28T00:48:20.372Z] > git --version # 'git version 2.24.3' [2021-01-28T00:48:20.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:48:20.404Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:48:21.837Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 759b289543a1a77b96e8617066248995dc55b10b [2021-01-28T00:48:21.944Z] Merge succeeded, producing 759b289543a1a77b96e8617066248995dc55b10b [2021-01-28T00:48:21.944Z] Checking out Revision 759b289543a1a77b96e8617066248995dc55b10b (PR-764) [2021-01-28T00:48:21.284Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:48:21.292Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:48:21.304Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:48:21.321Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:48:21.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:48:21.326Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/764/head:refs/remotes/origin/PR-764 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:48:21.709Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:48:21.721Z] > git checkout -f 759b289543a1a77b96e8617066248995dc55b10b # timeout=10 [2021-01-28T00:48:21.779Z] > git remote # timeout=10 [2021-01-28T00:48:21.785Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T00:48:21.795Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:48:21.800Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:48:21.811Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T00:48:21.821Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:48:21.825Z] > git checkout -f 759b289543a1a77b96e8617066248995dc55b10b # timeout=10 [2021-01-28T00:48:25.505Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-01-28T00:48:25.535Z] > git --version # timeout=10 [2021-01-28T00:48:25.539Z] > git --version # 'git version 2.24.3' [2021-01-28T00:48:25.544Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:48:27.143Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:48:27.487Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:48:27.820Z] + sudo service docker restart [2021-01-28T00:48:27.821Z] + true [2021-01-28T00:48:27.821Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:48:29.465Z] provisioning config files... [2021-01-28T00:48:29.495Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8131998936301762505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:48:29.933Z] ---> docker-login.sh [2021-01-28T00:48:29.933Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:48:30.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:48:30.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:48:30.461Z] Configure a credential helper to remove this warning. See [2021-01-28T00:48:30.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:48:30.461Z] [2021-01-28T00:48:30.461Z] Login Succeeded [2021-01-28T00:48:30.461Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:48:30.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:48:30.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:48:30.724Z] Configure a credential helper to remove this warning. See [2021-01-28T00:48:30.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:48:30.724Z] [2021-01-28T00:48:30.724Z] Login Succeeded [2021-01-28T00:48:30.724Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:48:30.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:48:30.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:48:30.724Z] Configure a credential helper to remove this warning. See [2021-01-28T00:48:30.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:48:30.724Z] [2021-01-28T00:48:30.724Z] Login Succeeded [2021-01-28T00:48:30.724Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:48:30.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:48:30.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:48:30.987Z] Configure a credential helper to remove this warning. See [2021-01-28T00:48:30.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:48:30.987Z] [2021-01-28T00:48:30.987Z] Login Succeeded [2021-01-28T00:48:30.987Z] docker.io [2021-01-28T00:48:30.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:48:31.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:48:31.250Z] Configure a credential helper to remove this warning. See [2021-01-28T00:48:31.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:48:31.250Z] [2021-01-28T00:48:31.250Z] Login Succeeded [2021-01-28T00:48:31.250Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:48:31.281Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:48:31.907Z] ========================================================= [2021-01-28T00:48:31.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T00:48:31.907Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:48:32.314Z] + 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:48:32.314Z] Sending build context to Docker daemon 2.574MB [2021-01-28T00:48:32.314Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:48:32.314Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:48:32.578Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T00:48:32.578Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T00:48:32.578Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T00:48:32.578Z] de9db76c5a1d: Pulling fs layer [2021-01-28T00:48:32.578Z] bca2f99d35d6: Pulling fs layer [2021-01-28T00:48:32.578Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T00:48:32.578Z] 7c6f9722023f: Pulling fs layer [2021-01-28T00:48:32.578Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T00:48:32.578Z] 93359f2a8cfa: Waiting [2021-01-28T00:48:32.578Z] 7c6f9722023f: Waiting [2021-01-28T00:48:32.578Z] a35cf1a2eb13: Waiting [2021-01-28T00:48:32.578Z] bca2f99d35d6: Waiting [2021-01-28T00:48:32.578Z] de9db76c5a1d: Verifying Checksum [2021-01-28T00:48:32.578Z] de9db76c5a1d: Download complete [2021-01-28T00:48:32.578Z] 0ef7d3d256c8: Download complete [2021-01-28T00:48:32.578Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T00:48:32.578Z] 93359f2a8cfa: Download complete [2021-01-28T00:48:32.578Z] 7c6f9722023f: Verifying Checksum [2021-01-28T00:48:32.578Z] 7c6f9722023f: Download complete [2021-01-28T00:48:33.155Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T00:48:33.155Z] 188c0c94c7c5: Download complete [2021-01-28T00:48:33.155Z] 188c0c94c7c5: Pull complete [2021-01-28T00:48:33.424Z] 0ef7d3d256c8: Pull complete [2021-01-28T00:48:33.692Z] de9db76c5a1d: Pull complete [2021-01-28T00:48:34.641Z] a35cf1a2eb13: Download complete [2021-01-28T00:48:36.057Z] bca2f99d35d6: Verifying Checksum [2021-01-28T00:48:36.057Z] bca2f99d35d6: Download complete [2021-01-28T00:48:41.402Z] bca2f99d35d6: Pull complete [2021-01-28T00:48:41.402Z] 93359f2a8cfa: Pull complete [2021-01-28T00:48:41.402Z] 7c6f9722023f: Pull complete [2021-01-28T00:48:46.780Z] a35cf1a2eb13: Pull complete [2021-01-28T00:48:46.780Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T00:48:46.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T00:48:46.780Z] ---> a62c8e92a672 [2021-01-28T00:48:46.780Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:48:46.780Z] ---> Running in d485476c2a9c [2021-01-28T00:48:46.780Z] Removing intermediate container d485476c2a9c [2021-01-28T00:48:46.780Z] ---> 6324445da6d2 [2021-01-28T00:48:46.780Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:48:46.780Z] ---> Running in a1f2018410f7 [2021-01-28T00:48:47.748Z] Removing intermediate container a1f2018410f7 [2021-01-28T00:48:47.748Z] ---> 1ca0b69f94a5 [2021-01-28T00:48:47.748Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:48:47.748Z] ---> Running in a8a6fb83a256 [2021-01-28T00:48:49.171Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:48:49.756Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:48:51.676Z] OK: 166 MiB in 39 packages [2021-01-28T00:48:52.251Z] Removing intermediate container a8a6fb83a256 [2021-01-28T00:48:52.251Z] ---> d87bc47f5973 [2021-01-28T00:48:52.251Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:48:52.251Z] ---> Running in 74f95a843bb8 [2021-01-28T00:48:52.516Z] Removing intermediate container 74f95a843bb8 [2021-01-28T00:48:52.517Z] ---> a8093873bd37 [2021-01-28T00:48:52.517Z] Step 7/8 : COPY . . [2021-01-28T00:48:53.911Z] ---> 482bf5d0b957 [2021-01-28T00:48:53.911Z] Step 8/8 : RUN go mod download [2021-01-28T00:48:53.911Z] ---> Running in 978f2d36a247 [2021-01-28T00:49:12.082Z] Removing intermediate container 978f2d36a247 [2021-01-28T00:49:12.082Z] ---> 8c31f93bbb34 [2021-01-28T00:49:12.082Z] Successfully built 8c31f93bbb34 [2021-01-28T00:49:12.082Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:49:12.439Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:49:12.439Z] . [Pipeline] withDockerContainer [2021-01-28T00:49:12.574Z] prd-centos7-docker-4c-2g-23596 does not seem to be running inside a container [2021-01-28T00:49:12.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-01-28T00:49:13.490Z] $ docker top 8c9cecd50821743fe67d9006bbd938f2dc70807c7756b1b3d22cec0e87337ffa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:49:14.066Z] + go version [2021-01-28T00:49:14.066Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T00:49:14.115Z] $ docker stop --time=1 8c9cecd50821743fe67d9006bbd938f2dc70807c7756b1b3d22cec0e87337ffa [2021-01-28T00:49:15.453Z] $ docker rm -f 8c9cecd50821743fe67d9006bbd938f2dc70807c7756b1b3d22cec0e87337ffa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:49:16.742Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:49:16.742Z] . [Pipeline] withDockerContainer [2021-01-28T00:49:16.874Z] prd-centos7-docker-4c-2g-23596 does not seem to be running inside a container [2021-01-28T00:49:16.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-01-28T00:49:17.473Z] $ docker top 95b6c50688cf2e28880422145f566a06a9da692d36859bfabb2fa6c07608cba7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:49:18.014Z] + make test [2021-01-28T00:49:18.014Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:49:26.218Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:49:41.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:49:41.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:49:41.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:49:41.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 19.4% of statements [2021-01-28T00:49:43.895Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.447s coverage: 97.1% of statements [2021-01-28T00:50:16.105Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.048s coverage: 9.4% of statements [2021-01-28T00:50:16.105Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 21.7% of statements [2021-01-28T00:50:16.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:50:16.105Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.221s coverage: 43.2% of statements [2021-01-28T00:50:16.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:50:16.105Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.273s coverage: 68.9% of statements [2021-01-28T00:50:16.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:50:16.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:50:16.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:50:16.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:50:16.105Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.069s coverage: 53.8% of statements [2021-01-28T00:50:16.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:50:16.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:50:16.106Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 26.8% of statements [2021-01-28T00:50:16.106Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.384s coverage: 83.5% of statements [2021-01-28T00:50:16.106Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-28T00:50:16.106Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:50:16.106Z] GO111MODULE=on go vet ./... [2021-01-28T00:50:22.804Z] gofmt -l . [2021-01-28T00:50:22.804Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:50:22.804Z] ./bin/test-attribution-txt.sh [2021-01-28T00:50:23.380Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:50:23.414Z] $ docker stop --time=1 95b6c50688cf2e28880422145f566a06a9da692d36859bfabb2fa6c07608cba7 [2021-01-28T00:50:25.519Z] $ docker rm -f 95b6c50688cf2e28880422145f566a06a9da692d36859bfabb2fa6c07608cba7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:50:26.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:50:26.708Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T00:50:30.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:50:30.373Z] + ls -al . [2021-01-28T00:50:30.373Z] total 216 [2021-01-28T00:50:30.373Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 00:50 . [2021-01-28T00:50:30.373Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 00:48 .. [2021-01-28T00:50:30.373Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 00:48 bin [2021-01-28T00:50:30.373Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 00:50 coverage.out [2021-01-28T00:50:30.373Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 00:48 Dockerfile.build [2021-01-28T00:50:30.373Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 00:48 .dockerignore [2021-01-28T00:50:30.373Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 00:48 example [2021-01-28T00:50:30.373Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 00:48 .git [2021-01-28T00:50:30.373Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 00:48 .github [2021-01-28T00:50:30.373Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 00:48 .gitignore [2021-01-28T00:50:30.373Z] -rw-r--r--. 1 jenkins jenkins 515 Jan 28 00:50 go.mod [2021-01-28T00:50:30.373Z] -rw-r--r--. 1 jenkins jenkins 14193 Jan 28 00:50 go.sum [2021-01-28T00:50:30.373Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 00:48 internal [2021-01-28T00:50:30.373Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 00:48 Jenkinsfile [2021-01-28T00:50:30.373Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 00:48 LICENSE [2021-01-28T00:50:30.373Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 00:48 Makefile [2021-01-28T00:50:30.373Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 00:48 openapi [2021-01-28T00:50:30.373Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 00:48 pkg [2021-01-28T00:50:30.373Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 00:48 README.md [2021-01-28T00:50:30.373Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 00:48 RELEASE-NOTES.txt [2021-01-28T00:50:30.373Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 00:48 snap [2021-01-28T00:50:30.373Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 00:46 VERSION [2021-01-28T00:50:30.373Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 00:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:50:30.715Z] + 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=759b289543a1a77b96e8617066248995dc55b10b --label arch=amd64 --label version=0.0.0 . [2021-01-28T00:50:30.977Z] Sending build context to Docker daemon 2.712MB [2021-01-28T00:50:30.977Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:50:30.977Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:50:30.977Z] ---> 8c31f93bbb34 [2021-01-28T00:50:30.977Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:50:31.240Z] ---> Running in 39647a08e9bf [2021-01-28T00:50:31.501Z] Removing intermediate container 39647a08e9bf [2021-01-28T00:50:31.501Z] ---> 1b5d5c980841 [2021-01-28T00:50:31.501Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T00:50:31.501Z] ---> Running in b42c5a8eb925 [2021-01-28T00:50:31.764Z] Removing intermediate container b42c5a8eb925 [2021-01-28T00:50:31.764Z] ---> b9ce07f7b339 [2021-01-28T00:50:31.764Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:50:31.764Z] ---> Running in f2a201f05855 [2021-01-28T00:50:32.028Z] Removing intermediate container f2a201f05855 [2021-01-28T00:50:32.028Z] ---> 67175899e5e6 [2021-01-28T00:50:32.028Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:50:32.028Z] ---> Running in 50690bf03807 [2021-01-28T00:50:32.985Z] Removing intermediate container 50690bf03807 [2021-01-28T00:50:32.985Z] ---> a087ea077916 [2021-01-28T00:50:32.985Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T00:50:32.985Z] ---> Running in d715de0c981e [2021-01-28T00:50:33.564Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:50:34.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:50:34.716Z] OK: 166 MiB in 39 packages [2021-01-28T00:50:35.293Z] Removing intermediate container d715de0c981e [2021-01-28T00:50:35.293Z] ---> 92c25459e905 [2021-01-28T00:50:35.293Z] Step 8/24 : COPY . . [2021-01-28T00:50:36.239Z] ---> 23ac43b370e3 [2021-01-28T00:50:36.239Z] Step 9/24 : RUN ${MAKE} [2021-01-28T00:50:36.504Z] ---> Running in bd4f5c0d6673 [2021-01-28T00:50:36.767Z] 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:50:45.028Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T00:50:47.589Z] Removing intermediate container bd4f5c0d6673 [2021-01-28T00:50:47.590Z] ---> feeff6042561 [2021-01-28T00:50:47.590Z] Step 10/24 : FROM scratch [2021-01-28T00:50:47.590Z] ---> [2021-01-28T00:50:47.590Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:50:47.590Z] ---> Running in c0d1ad27b444 [2021-01-28T00:50:47.590Z] Removing intermediate container c0d1ad27b444 [2021-01-28T00:50:47.590Z] ---> a84e52d96d91 [2021-01-28T00:50:47.590Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T00:50:47.590Z] ---> Running in 3f5cfd4a43a8 [2021-01-28T00:50:47.854Z] Removing intermediate container 3f5cfd4a43a8 [2021-01-28T00:50:47.854Z] ---> 23b4aba81ca6 [2021-01-28T00:50:47.854Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T00:50:47.854Z] ---> Running in 15cda93c9a63 [2021-01-28T00:50:48.119Z] Removing intermediate container 15cda93c9a63 [2021-01-28T00:50:48.119Z] ---> 1503d037a569 [2021-01-28T00:50:48.119Z] Step 14/24 : WORKDIR / [2021-01-28T00:50:48.119Z] ---> Running in 229fe0ca8836 [2021-01-28T00:50:48.119Z] Removing intermediate container 229fe0ca8836 [2021-01-28T00:50:48.119Z] ---> 1a7eeb780f2c [2021-01-28T00:50:48.119Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T00:50:48.697Z] ---> 426feaaa6eea [2021-01-28T00:50:48.697Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T00:50:48.962Z] ---> 90c98b0972d1 [2021-01-28T00:50:48.962Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T00:50:49.224Z] ---> 88150858ad39 [2021-01-28T00:50:49.224Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T00:50:49.487Z] ---> ce20a2fb75e9 [2021-01-28T00:50:49.487Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T00:50:49.487Z] ---> bef5f1c91119 [2021-01-28T00:50:49.487Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T00:50:49.751Z] ---> Running in 8bd1a9960d7e [2021-01-28T00:50:49.751Z] Removing intermediate container 8bd1a9960d7e [2021-01-28T00:50:49.751Z] ---> 83f3959a5ed6 [2021-01-28T00:50:49.751Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T00:50:50.016Z] ---> Running in feba61cf96a9 [2021-01-28T00:50:50.016Z] Removing intermediate container feba61cf96a9 [2021-01-28T00:50:50.016Z] ---> 8cc8be589044 [2021-01-28T00:50:50.016Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T00:50:50.016Z] ---> Running in 4904ec8afb3c [2021-01-28T00:50:50.281Z] Removing intermediate container 4904ec8afb3c [2021-01-28T00:50:50.281Z] ---> f0ce36f31755 [2021-01-28T00:50:50.281Z] Step 23/24 : LABEL git_sha=759b289543a1a77b96e8617066248995dc55b10b [2021-01-28T00:50:50.281Z] ---> Running in 87865d4bfe9d [2021-01-28T00:50:50.554Z] Removing intermediate container 87865d4bfe9d [2021-01-28T00:50:50.554Z] ---> c365ab952fe3 [2021-01-28T00:50:50.554Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T00:50:50.554Z] ---> Running in 5ed670988e33 [2021-01-28T00:50:50.816Z] Removing intermediate container 5ed670988e33 [2021-01-28T00:50:50.816Z] ---> 7b4edbe97117 [2021-01-28T00:50:50.816Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T00:50:50.816Z] Successfully built 7b4edbe97117 [2021-01-28T00:50:50.816Z] 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:55:51.742Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23609 in /w/workspace/dgexfoundry_device-sdk-go_PR-764 [Pipeline] { [Pipeline] ws [2021-01-28T00:55:51.969Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-28T00:55:58.612Z] using credential edgex-jenkins-ssh [2021-01-28T00:55:58.707Z] Cloning the remote Git repository [2021-01-28T00:55:58.785Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:55:58.973Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-28T00:55:59.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:55:59.071Z] > git --version # timeout=10 [2021-01-28T00:55:59.098Z] > git --version # 'git version 2.17.1' [2021-01-28T00:55:59.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:55:59.181Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:56:00.967Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 759b289543a1a77b96e8617066248995dc55b10b [2021-01-28T00:56:01.199Z] Merge succeeded, producing 759b289543a1a77b96e8617066248995dc55b10b [2021-01-28T00:56:01.200Z] Checking out Revision 759b289543a1a77b96e8617066248995dc55b10b (PR-764) [2021-01-28T00:56:00.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:56:00.352Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:56:00.376Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:56:00.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:56:00.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:56:00.426Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/764/head:refs/remotes/origin/PR-764 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:56:00.997Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:56:01.012Z] > git checkout -f 759b289543a1a77b96e8617066248995dc55b10b # timeout=10 [2021-01-28T00:56:01.123Z] > git remote # timeout=10 [2021-01-28T00:56:01.142Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T00:56:01.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:56:01.165Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:56:01.190Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T00:56:01.217Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:56:01.276Z] > git checkout -f 759b289543a1a77b96e8617066248995dc55b10b # timeout=10 [2021-01-28T00:56:05.943Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-01-28T00:56:06.050Z] > git --version # timeout=10 [2021-01-28T00:56:06.065Z] > git --version # 'git version 2.17.1' [2021-01-28T00:56:06.092Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:56:07.776Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:56:08.291Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:56:08.700Z] + + sudo servicetrue docker restart [2021-01-28T00:56:08.700Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:56:10.834Z] provisioning config files... [2021-01-28T00:56:10.876Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6030698679030159637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:56:11.348Z] ---> docker-login.sh [2021-01-28T00:56:11.348Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:56:12.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:56:12.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:56:12.616Z] Configure a credential helper to remove this warning. See [2021-01-28T00:56:12.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:56:12.616Z] [2021-01-28T00:56:12.616Z] Login Succeeded [2021-01-28T00:56:12.616Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:56:13.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:56:13.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:56:13.225Z] Configure a credential helper to remove this warning. See [2021-01-28T00:56:13.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:56:13.225Z] [2021-01-28T00:56:13.225Z] Login Succeeded [2021-01-28T00:56:13.225Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:56:13.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:56:13.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:56:13.825Z] Configure a credential helper to remove this warning. See [2021-01-28T00:56:13.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:56:13.825Z] [2021-01-28T00:56:13.825Z] Login Succeeded [2021-01-28T00:56:13.825Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:56:14.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:56:14.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:56:14.424Z] Configure a credential helper to remove this warning. See [2021-01-28T00:56:14.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:56:14.424Z] [2021-01-28T00:56:14.424Z] Login Succeeded [2021-01-28T00:56:14.424Z] docker.io [2021-01-28T00:56:14.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:56:15.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:56:15.291Z] Configure a credential helper to remove this warning. See [2021-01-28T00:56:15.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:56:15.291Z] [2021-01-28T00:56:15.291Z] Login Succeeded [2021-01-28T00:56:15.291Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:56:15.346Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:56:15.960Z] ========================================================= [2021-01-28T00:56:15.960Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T00:56:15.960Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:56:16.397Z] + 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:56:16.683Z] Sending build context to Docker daemon 2.564MB [2021-01-28T00:56:16.960Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:56:16.960Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:56:17.247Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T00:56:17.247Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T00:56:17.247Z] a4357932f1b6: Pulling fs layer [2021-01-28T00:56:17.247Z] 18c013af1878: Pulling fs layer [2021-01-28T00:56:17.247Z] 00ac8860ef70: Pulling fs layer [2021-01-28T00:56:17.247Z] 63d7cb157983: Pulling fs layer [2021-01-28T00:56:17.247Z] b116817d02f9: Pulling fs layer [2021-01-28T00:56:17.247Z] 745a02a5169b: Pulling fs layer [2021-01-28T00:56:17.247Z] 63d7cb157983: Waiting [2021-01-28T00:56:17.247Z] b116817d02f9: Waiting [2021-01-28T00:56:17.247Z] 00ac8860ef70: Waiting [2021-01-28T00:56:17.247Z] 18c013af1878: Verifying Checksum [2021-01-28T00:56:17.247Z] 18c013af1878: Download complete [2021-01-28T00:56:17.521Z] a4357932f1b6: Download complete [2021-01-28T00:56:17.521Z] 63d7cb157983: Verifying Checksum [2021-01-28T00:56:17.521Z] 63d7cb157983: Download complete [2021-01-28T00:56:17.521Z] b116817d02f9: Verifying Checksum [2021-01-28T00:56:17.521Z] b116817d02f9: Download complete [2021-01-28T00:56:18.514Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T00:56:18.514Z] 5f621e34cdf4: Download complete [2021-01-28T00:56:18.791Z] 5f621e34cdf4: Pull complete [2021-01-28T00:56:19.398Z] a4357932f1b6: Pull complete [2021-01-28T00:56:19.681Z] 18c013af1878: Pull complete [2021-01-28T00:56:20.660Z] 745a02a5169b: Verifying Checksum [2021-01-28T00:56:20.660Z] 745a02a5169b: Download complete [2021-01-28T00:56:22.638Z] 00ac8860ef70: Verifying Checksum [2021-01-28T00:56:22.638Z] 00ac8860ef70: Download complete [2021-01-28T00:56:32.798Z] 00ac8860ef70: Pull complete [2021-01-28T00:56:32.798Z] 63d7cb157983: Pull complete [2021-01-28T00:56:33.075Z] b116817d02f9: Pull complete [2021-01-28T00:56:37.398Z] 745a02a5169b: Pull complete [2021-01-28T00:56:37.398Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T00:56:37.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T00:56:37.398Z] ---> b7e6874047d6 [2021-01-28T00:56:37.398Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:56:40.076Z] ---> Running in 7f7e58de2794 [2021-01-28T00:56:40.348Z] Removing intermediate container 7f7e58de2794 [2021-01-28T00:56:40.348Z] ---> e898af55ce38 [2021-01-28T00:56:40.348Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:56:40.638Z] ---> Running in d5b4dd6031fd [2021-01-28T00:56:43.282Z] Removing intermediate container d5b4dd6031fd [2021-01-28T00:56:43.282Z] ---> 5f10a1ecdec3 [2021-01-28T00:56:43.282Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:56:43.282Z] ---> Running in cea95505d5e1 [2021-01-28T00:56:44.274Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T00:56:45.251Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T00:56:46.688Z] OK: 142 MiB in 39 packages [2021-01-28T00:56:47.670Z] Removing intermediate container cea95505d5e1 [2021-01-28T00:56:47.670Z] ---> d6457a77adb4 [2021-01-28T00:56:47.670Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:56:47.670Z] ---> Running in e8853dc3b5cf [2021-01-28T00:56:48.269Z] Removing intermediate container e8853dc3b5cf [2021-01-28T00:56:48.269Z] ---> 04e55f148318 [2021-01-28T00:56:48.269Z] Step 7/8 : COPY . . [2021-01-28T00:56:49.704Z] ---> 578be5e1ee04 [2021-01-28T00:56:49.704Z] Step 8/8 : RUN go mod download [2021-01-28T00:56:49.704Z] ---> Running in 242586084c14 [2021-01-28T00:57:11.908Z] Removing intermediate container 242586084c14 [2021-01-28T00:57:11.908Z] ---> a3cb67e29e21 [2021-01-28T00:57:11.908Z] Successfully built a3cb67e29e21 [2021-01-28T00:57:11.908Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:57:12.294Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:57:12.294Z] . [Pipeline] withDockerContainer [2021-01-28T00:57:12.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-23609 does not seem to be running inside a container [2021-01-28T00:57:12.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-01-28T00:57:14.213Z] $ docker top 2d9ca1e28d82c65f9d636fcc48c66cc488bfc4fec665379bf228b464196c9554 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:57:15.251Z] + go version [2021-01-28T00:57:15.251Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T00:57:15.330Z] $ docker stop --time=1 2d9ca1e28d82c65f9d636fcc48c66cc488bfc4fec665379bf228b464196c9554 [2021-01-28T00:57:17.269Z] $ docker rm -f 2d9ca1e28d82c65f9d636fcc48c66cc488bfc4fec665379bf228b464196c9554 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:57:18.501Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:57:18.501Z] . [Pipeline] withDockerContainer [2021-01-28T00:57:18.783Z] prd-ubuntu18.04-docker-arm64-4c-16g-23609 does not seem to be running inside a container [2021-01-28T00:57:18.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-01-28T00:57:20.462Z] $ docker top 8c2f7d764f489e8fcf5796971dc7cc24e86aa8374cfb3bee3ab686c27646b0e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:57:21.619Z] + make test [2021-01-28T00:57:21.619Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:57:43.863Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:58:30.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:58:30.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:58:30.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:58:30.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.127s coverage: 19.4% of statements [2021-01-28T00:58:30.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.183s coverage: 97.1% of statements [2021-01-28T00:58:57.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.135s coverage: 9.4% of statements [2021-01-28T00:58:57.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.120s coverage: 21.7% of statements [2021-01-28T00:58:57.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:58:57.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.627s coverage: 43.2% of statements [2021-01-28T00:58:57.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:58:57.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.772s coverage: 68.9% of statements [2021-01-28T00:58:57.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:58:57.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:58:57.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:58:57.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:58:57.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 53.8% of statements [2021-01-28T00:58:57.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:58:57.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:58:57.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.156s coverage: 26.8% of statements [2021-01-28T00:58:57.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.010s coverage: 83.5% of statements [2021-01-28T00:58:57.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 4.2% of statements [2021-01-28T00:58:57.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:58:57.780Z] GO111MODULE=on go vet ./... [2021-01-28T00:59:36.921Z] gofmt -l . [2021-01-28T00:59:36.921Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:59:36.921Z] ./bin/test-attribution-txt.sh [2021-01-28T00:59:36.921Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:59:37.031Z] $ docker stop --time=1 8c2f7d764f489e8fcf5796971dc7cc24e86aa8374cfb3bee3ab686c27646b0e1 [2021-01-28T00:59:39.165Z] $ docker rm -f 8c2f7d764f489e8fcf5796971dc7cc24e86aa8374cfb3bee3ab686c27646b0e1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:59:40.299Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:59:40.344Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T00:59:41.266Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:59:42.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:59:42.860Z] + ls -al . [2021-01-28T00:59:42.860Z] total 252 [2021-01-28T00:59:42.860Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 00:59 . [2021-01-28T00:59:42.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:55 .. [2021-01-28T00:59:42.860Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 00:56 .dockerignore [2021-01-28T00:59:42.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 00:56 .git [2021-01-28T00:59:42.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:56 .github [2021-01-28T00:59:42.860Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 00:56 .gitignore [2021-01-28T00:59:42.860Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 00:56 Dockerfile.build [2021-01-28T00:59:42.860Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 00:56 Jenkinsfile [2021-01-28T00:59:42.860Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 00:56 LICENSE [2021-01-28T00:59:42.860Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 00:56 Makefile [2021-01-28T00:59:42.860Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 00:56 README.md [2021-01-28T00:59:42.860Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 00:56 RELEASE-NOTES.txt [2021-01-28T00:59:42.860Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 00:46 VERSION [2021-01-28T00:59:42.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:56 bin [2021-01-28T00:59:42.860Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 00:58 coverage.out [2021-01-28T00:59:42.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:56 example [2021-01-28T00:59:42.860Z] -rw-r--r-- 1 jenkins jenkins 515 Jan 28 00:59 go.mod [2021-01-28T00:59:42.860Z] -rw-r--r-- 1 jenkins jenkins 14193 Jan 28 00:59 go.sum [2021-01-28T00:59:42.860Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 00:56 internal [2021-01-28T00:59:42.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:56 openapi [2021-01-28T00:59:42.860Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 00:56 pkg [2021-01-28T00:59:42.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:56 snap [2021-01-28T00:59:42.860Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 00:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:59:43.322Z] + 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=759b289543a1a77b96e8617066248995dc55b10b --label arch=arm64 --label version=0.0.0 . [2021-01-28T00:59:43.945Z] Sending build context to Docker daemon 2.702MB [2021-01-28T00:59:43.945Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:59:43.945Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:59:43.945Z] ---> a3cb67e29e21 [2021-01-28T00:59:43.945Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:59:44.269Z] ---> Running in b74dec87533d [2021-01-28T00:59:44.559Z] Removing intermediate container b74dec87533d [2021-01-28T00:59:44.559Z] ---> 9e310bbf14ce [2021-01-28T00:59:44.559Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T00:59:44.836Z] ---> Running in 9443f4aecc23 [2021-01-28T00:59:45.111Z] Removing intermediate container 9443f4aecc23 [2021-01-28T00:59:45.112Z] ---> df068369490f [2021-01-28T00:59:45.112Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:59:45.390Z] ---> Running in 0242d825eaed [2021-01-28T00:59:45.989Z] Removing intermediate container 0242d825eaed [2021-01-28T00:59:45.989Z] ---> 80be61b17ca9 [2021-01-28T00:59:45.989Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:59:45.989Z] ---> Running in 1870400b3bfa [2021-01-28T00:59:47.971Z] Removing intermediate container 1870400b3bfa [2021-01-28T00:59:47.971Z] ---> 823ea1a70a41 [2021-01-28T00:59:47.971Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T00:59:48.246Z] ---> Running in e913e2d267c6 [2021-01-28T00:59:49.691Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T00:59:50.286Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T00:59:51.259Z] OK: 142 MiB in 39 packages [2021-01-28T00:59:52.695Z] Removing intermediate container e913e2d267c6 [2021-01-28T00:59:52.695Z] ---> 8c2eb422e828 [2021-01-28T00:59:52.695Z] Step 8/24 : COPY . . [2021-01-28T00:59:54.141Z] ---> 5e8011a04799 [2021-01-28T00:59:54.141Z] Step 9/24 : RUN ${MAKE} [2021-01-28T00:59:54.141Z] ---> Running in c5e0ed70765b [2021-01-28T00:59:55.119Z] 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:00:27.596Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T01:00:27.596Z] Removing intermediate container c5e0ed70765b [2021-01-28T01:00:27.596Z] ---> 7d172b3ce6e7 [2021-01-28T01:00:27.596Z] Step 10/24 : FROM scratch [2021-01-28T01:00:27.596Z] ---> [2021-01-28T01:00:27.596Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T01:00:27.596Z] ---> Running in b5ded57996bf [2021-01-28T01:00:27.596Z] Removing intermediate container b5ded57996bf [2021-01-28T01:00:27.596Z] ---> cabff2b685de [2021-01-28T01:00:27.596Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T01:00:27.596Z] ---> Running in 745b1a888d29 [2021-01-28T01:00:27.596Z] Removing intermediate container 745b1a888d29 [2021-01-28T01:00:27.596Z] ---> 8352e966305d [2021-01-28T01:00:27.596Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T01:00:27.596Z] ---> Running in b4b1317af2a1 [2021-01-28T01:00:27.596Z] Removing intermediate container b4b1317af2a1 [2021-01-28T01:00:27.596Z] ---> 95011bebca44 [2021-01-28T01:00:27.596Z] Step 14/24 : WORKDIR / [2021-01-28T01:00:27.596Z] ---> Running in bb684d2e7a7d [2021-01-28T01:00:27.596Z] Removing intermediate container bb684d2e7a7d [2021-01-28T01:00:27.596Z] ---> 273045de5714 [2021-01-28T01:00:27.596Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T01:00:29.053Z] ---> 1b558792d457 [2021-01-28T01:00:29.053Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T01:00:29.649Z] ---> 82191f3568b1 [2021-01-28T01:00:29.649Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T01:00:30.250Z] ---> a7ececd310a9 [2021-01-28T01:00:30.250Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T01:00:31.292Z] ---> d9c255863809 [2021-01-28T01:00:31.292Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T01:00:31.894Z] ---> 3265401b7417 [2021-01-28T01:00:31.894Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T01:00:31.894Z] ---> Running in 9be91fb4d05f [2021-01-28T01:00:32.508Z] Removing intermediate container 9be91fb4d05f [2021-01-28T01:00:32.508Z] ---> b9d7767c3f62 [2021-01-28T01:00:32.509Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T01:00:32.509Z] ---> Running in e34df57d55f4 [2021-01-28T01:00:33.115Z] Removing intermediate container e34df57d55f4 [2021-01-28T01:00:33.115Z] ---> 653a2cd7bb32 [2021-01-28T01:00:33.115Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T01:00:33.115Z] ---> Running in 9ccf842846ff [2021-01-28T01:00:33.711Z] Removing intermediate container 9ccf842846ff [2021-01-28T01:00:33.711Z] ---> 2c7992052a43 [2021-01-28T01:00:33.711Z] Step 23/24 : LABEL git_sha=759b289543a1a77b96e8617066248995dc55b10b [2021-01-28T01:00:33.711Z] ---> Running in 831e5328cef7 [2021-01-28T01:00:34.308Z] Removing intermediate container 831e5328cef7 [2021-01-28T01:00:34.308Z] ---> f13b57f68f1c [2021-01-28T01:00:34.308Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T01:00:34.308Z] ---> Running in 034679f5cbf8 [2021-01-28T01:00:34.900Z] Removing intermediate container 034679f5cbf8 [2021-01-28T01:00:34.900Z] ---> 7e7a7d7f8d7f [2021-01-28T01:00:34.900Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T01:00:34.900Z] Successfully built 7e7a7d7f8d7f [2021-01-28T01:00:34.900Z] 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:00:37.283Z] provisioning config files... [2021-01-28T01:00:37.349Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-764@tmp/config1529976900729002363tmp [Pipeline] { [Pipeline] sh [2021-01-28T01:00:37.811Z] + set +x [2021-01-28T01:00:37.811Z] + curl -s https://codecov.io/bash [2021-01-28T01:00:37.811Z] + bash -s -- [2021-01-28T01:00:38.076Z] [2021-01-28T01:00:38.076Z] _____ _ [2021-01-28T01:00:38.076Z] / ____| | | [2021-01-28T01:00:38.076Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T01:00:38.076Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T01:00:38.076Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T01:00:38.076Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T01:00:38.076Z] Bash-20210128-d4071a2 [2021-01-28T01:00:38.076Z] [2021-01-28T01:00:38.076Z] [2021-01-28T01:00:38.076Z] ==> git version 2.24.3 found [2021-01-28T01:00:38.076Z] ==> 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:00:38.076Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T01:00:38.076Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T01:00:38.076Z] ==> Jenkins CI detected. [2021-01-28T01:00:38.076Z] project root: . [2021-01-28T01:00:38.076Z] --> token set from env [2021-01-28T01:00:38.076Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T01:00:38.076Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T01:00:38.076Z] ==> Python coveragepy not found [2021-01-28T01:00:38.076Z] ==> Searching for coverage reports in: [2021-01-28T01:00:38.076Z] + . [2021-01-28T01:00:38.076Z] -> Found 1 reports [2021-01-28T01:00:38.076Z] ==> Detecting git/mercurial file structure [2021-01-28T01:00:38.076Z] ==> Reading reports [2021-01-28T01:00:38.076Z] + ./coverage.out bytes=136842 [2021-01-28T01:00:38.076Z] ==> Appending adjustments [2021-01-28T01:00:38.076Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T01:00:38.651Z] + Found adjustments [2021-01-28T01:00:38.651Z] ==> Gzipping contents [2021-01-28T01:00:38.651Z] 24K /tmp/codecov.8Dqy0c.gz [2021-01-28T01:00:38.651Z] ==> Uploading reports [2021-01-28T01:00:38.651Z] url: https://codecov.io [2021-01-28T01:00:38.651Z] query: branch=PR-764&commit=759b289543a1a77b96e8617066248995dc55b10b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-764%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=764&job=&cmd_args= [2021-01-28T01:00:38.651Z] -> Pinging Codecov [2021-01-28T01:00:38.651Z] https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-764&commit=759b289543a1a77b96e8617066248995dc55b10b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-764%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=764&job=&cmd_args= [2021-01-28T01:00:39.609Z] -> Uploading to [2021-01-28T01:00:39.609Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/759b289543a1a77b96e8617066248995dc55b10b/6016d0d0-c136-4c5d-8b74-02add19f63ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T010039Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60181f88cbffc121b8d24054a4ea1510fffdb1000078e4b568dd47f5ab22d295 [2021-01-28T01:00:39.609Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T01:00:39.609Z] Dload Upload Total Spent Left Speed [2021-01-28T01:00:40.188Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21528 0 0 100 21528 0 42041 --:--:-- --:--:-- --:--:-- 42046 [2021-01-28T01:00:40.188Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/759b289543a1a77b96e8617066248995dc55b10b [Pipeline] } [2021-01-28T01:00:40.218Z] 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:00:44.039Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:00:44.669Z] ---> package-listing.sh [2021-01-28T01:00:44.669Z] ++ facter osfamily [2021-01-28T01:00:44.669Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T01:00:44.669Z] + OS_FAMILY=redhat [2021-01-28T01:00:44.670Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-764 [2021-01-28T01:00:44.670Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T01:00:44.670Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T01:00:44.670Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T01:00:44.670Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T01:00:44.670Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-764 ']' [2021-01-28T01:00:44.670Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T01:00:44.670Z] + case "${OS_FAMILY}" in [2021-01-28T01:00:44.670Z] + rpm -qa [2021-01-28T01:00:44.670Z] + sort [2021-01-28T01:00:48.914Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T01:00:48.914Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T01:00:48.914Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T01:00:48.914Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-764 ']' [2021-01-28T01:00:48.914Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-764/archives/ [2021-01-28T01:00:48.914Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-764/archives/ [Pipeline] echo [2021-01-28T01:00:48.949Z] 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-764/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:00:49.280Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T01:00:49.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T01:00:49.705Z] [2021-01-28T01:00:49.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T01:00:50.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T01:00:50.106Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T01:00:50.106Z] df20fa9351a1: Pulling fs layer [2021-01-28T01:00:50.106Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T01:00:50.106Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T01:00:50.106Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T01:00:50.106Z] 93b61091891f: Pulling fs layer [2021-01-28T01:00:50.106Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T01:00:50.106Z] 5e14af77c1be: Pulling fs layer [2021-01-28T01:00:50.106Z] 01666e4c0597: Pulling fs layer [2021-01-28T01:00:50.106Z] aa168da1d23b: Pulling fs layer [2021-01-28T01:00:50.106Z] 46f8f816bc3b: Waiting [2021-01-28T01:00:50.106Z] 5e14af77c1be: Waiting [2021-01-28T01:00:50.106Z] 93b61091891f: Waiting [2021-01-28T01:00:50.106Z] 01666e4c0597: Waiting [2021-01-28T01:00:50.106Z] aa168da1d23b: Waiting [2021-01-28T01:00:50.106Z] 93b9cdb0e59b: Waiting [2021-01-28T01:00:50.378Z] 36b3adc4ff6f: Verifying Checksum [2021-01-28T01:00:50.378Z] 36b3adc4ff6f: Download complete [2021-01-28T01:00:50.378Z] 46f8f816bc3b: Verifying Checksum [2021-01-28T01:00:50.378Z] 46f8f816bc3b: Download complete [2021-01-28T01:00:50.378Z] df20fa9351a1: Verifying Checksum [2021-01-28T01:00:50.378Z] df20fa9351a1: Download complete [2021-01-28T01:00:50.378Z] 93b61091891f: Verifying Checksum [2021-01-28T01:00:50.378Z] 93b61091891f: Download complete [2021-01-28T01:00:50.378Z] 93b9cdb0e59b: Verifying Checksum [2021-01-28T01:00:50.378Z] 93b9cdb0e59b: Download complete [2021-01-28T01:00:50.378Z] 5e14af77c1be: Verifying Checksum [2021-01-28T01:00:50.378Z] 5e14af77c1be: Download complete [2021-01-28T01:00:50.378Z] 01666e4c0597: Download complete [2021-01-28T01:00:50.957Z] df20fa9351a1: Pull complete [2021-01-28T01:00:50.957Z] 8ad3a11d3b57: Verifying Checksum [2021-01-28T01:00:50.957Z] 8ad3a11d3b57: Download complete [2021-01-28T01:00:50.957Z] 36b3adc4ff6f: Pull complete [2021-01-28T01:00:51.917Z] 8ad3a11d3b57: Pull complete [2021-01-28T01:00:52.190Z] 46f8f816bc3b: Pull complete [2021-01-28T01:00:53.158Z] aa168da1d23b: Verifying Checksum [2021-01-28T01:00:53.159Z] aa168da1d23b: Download complete [2021-01-28T01:00:53.423Z] 93b61091891f: Pull complete [2021-01-28T01:00:53.686Z] 93b9cdb0e59b: Pull complete [2021-01-28T01:00:53.952Z] 5e14af77c1be: Pull complete [2021-01-28T01:00:53.952Z] 01666e4c0597: Pull complete [2021-01-28T01:01:00.618Z] aa168da1d23b: Pull complete [2021-01-28T01:01:00.618Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T01:01:00.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T01:01:00.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T01:01:00.904Z] prd-centos7-docker-4c-2g-23591 does not seem to be running inside a container [2021-01-28T01:01:00.967Z] $ 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-764/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-764 -v /w/workspace/dgexfoundry_device-sdk-go_PR-764:/w/workspace/dgexfoundry_device-sdk-go_PR-764:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-764@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-764@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:10003/edgex-lftools-log-publisher:alpine cat [2021-01-28T01:01:04.599Z] $ docker top b66346c6b8b910b84a0543daab1ac067afb9be8d61f45ad5634e1fc7b1472e25 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T01:01:05.235Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T01:01:05.555Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T01:01:05.887Z] + ls /var/log/sa-host [2021-01-28T01:01:05.887Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T01:01:05.887Z] file_magic: OK [2021-01-28T01:01:05.887Z] HZ: Using current value: 100 [2021-01-28T01:01:05.887Z] file_header: OK [2021-01-28T01:01:05.887Z] 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:01:05.887Z] Statistics: [2021-01-28T01:01:05.887Z] Hnuu...uuuununununu... [2021-01-28T01:01:05.887Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T01:01:05.887Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T01:01:05.887Z] file_magic: OK [2021-01-28T01:01:05.887Z] HZ: Using current value: 100 [2021-01-28T01:01:05.887Z] file_header: OK [2021-01-28T01:01:05.887Z] 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:01:05.887Z] Statistics: [2021-01-28T01:01:05.887Z] 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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T01:01:05.887Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T01:01:06.234Z] provisioning config files... [2021-01-28T01:01:06.248Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-764@tmp/config4588669168504796023tmp [Pipeline] { [Pipeline] echo [2021-01-28T01:01:06.395Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:06.738Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T01:01:06.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T01:01:06.910Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:07.247Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T01:01:07.283Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:07.646Z] ---> sudo-logs.sh [2021-01-28T01:01:07.646Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T01:01:07.707Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:08.059Z] ---> job-cost.sh [2021-01-28T01:01:08.059Z] lf-activate-venv: SKIPPING [2021-01-28T01:01:08.059Z] INFO: No Stack... [2021-01-28T01:01:09.004Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T01:01:09.270Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T01:01:09.317Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T01:01:09.657Z] ---> logs-deploy.sh [2021-01-28T01:01:09.657Z] lf-activate-venv: SKIPPING [2021-01-28T01:01:09.657Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-764/1 [2021-01-28T01:01:09.657Z] INFO: archiving workspace using pattern(s): [2021-01-28T01:01:11.592Z] Archives upload complete. [2021-01-28T01:01:11.592Z] INFO: archiving logs to Nexus