Pull request #754 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4+2e0b14878cfb4a574be8745ab7c226ce26d53775 (f2969b101d7ee2fb0f3f369288e87156940b0d89) 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-754/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-754/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22587 in /w/workspace/dgexfoundry_device-sdk-go_PR-754 [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-754 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 Merge succeeded, producing 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 Checking out Revision 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 (PR-754) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/754/head:refs/remotes/origin/PR-754 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # 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-25T07:01:58.118Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-25T07:01:58.505Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-25T07:01:58.756Z] ========================================================= [2021-01-25T07:01:58.756Z] EdgeX Global Pipelines Version Info [2021-01-25T07:01:58.756Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-25T07:02:00.275Z] ------------------- [2021-01-25T07:02:00.276Z] stable info: [2021-01-25T07:02:00.276Z] ------------------- [2021-01-25T07:02:00.276Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-25T07:02:00.276Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-25T07:02:00.276Z] Message: update stable to v1.0.179 [2021-01-25T07:02:01.231Z] ------------------- [2021-01-25T07:02:01.231Z] experimental info: [2021-01-25T07:02:01.231Z] ------------------- [2021-01-25T07:02:01.231Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-25T07:02:01.231Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-25T07:02:01.231Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-25T07:02:01.675Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-25T07:02:01.846Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-25T07:02:01.987Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-25T07:02:02.172Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-25T07:02:02.298Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-25T07:02:02.434Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-25T07:02:02.562Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-25T07:02:02.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-25T07:02:02.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-25T07:02:03.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-25T07:02:03.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-25T07:02:03.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-25T07:02:03.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-25T07:02:03.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-25T07:02:03.744Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-25T07:02:03.880Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-25T07:02:04.013Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-25T07:02:04.180Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-25T07:02:04.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-25T07:02:04.445Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-25T07:02:04.580Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-25T07:02:04.710Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-25T07:02:04.843Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-25T07:02:04.970Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-25T07:02:05.102Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-25T07:02:05.233Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-25T07:02:05.362Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-25T07:02:05.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-754 [Pipeline] echo [2021-01-25T07:02:05.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-754 [Pipeline] echo [2021-01-25T07:02:05.773Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-754 [Pipeline] echo [2021-01-25T07:02:05.897Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [Pipeline] echo [2021-01-25T07:02:06.023Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63b56b3 [Pipeline] echo [2021-01-25T07:02:06.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-25T07:02:06.423Z] provisioning config files... [2021-01-25T07:02:06.451Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/config303157398323039981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-25T07:02:06.877Z] ---> docker-login.sh [2021-01-25T07:02:06.877Z] nexus3.edgexfoundry.org:10001 [2021-01-25T07:02:07.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:02:07.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:02:07.404Z] Configure a credential helper to remove this warning. See [2021-01-25T07:02:07.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:02:07.404Z] [2021-01-25T07:02:07.404Z] Login Succeeded [2021-01-25T07:02:07.404Z] nexus3.edgexfoundry.org:10002 [2021-01-25T07:02:07.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:02:07.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:02:07.666Z] Configure a credential helper to remove this warning. See [2021-01-25T07:02:07.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:02:07.666Z] [2021-01-25T07:02:07.666Z] Login Succeeded [2021-01-25T07:02:07.666Z] nexus3.edgexfoundry.org:10003 [2021-01-25T07:02:07.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:02:07.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:02:07.928Z] Configure a credential helper to remove this warning. See [2021-01-25T07:02:07.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:02:07.928Z] [2021-01-25T07:02:07.928Z] Login Succeeded [2021-01-25T07:02:07.928Z] nexus3.edgexfoundry.org:10004 [2021-01-25T07:02:07.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:02:07.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:02:07.928Z] Configure a credential helper to remove this warning. See [2021-01-25T07:02:07.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:02:07.928Z] [2021-01-25T07:02:07.928Z] Login Succeeded [2021-01-25T07:02:07.928Z] docker.io [2021-01-25T07:02:08.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:02:08.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:02:08.453Z] Configure a credential helper to remove this warning. See [2021-01-25T07:02:08.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:02:08.453Z] [2021-01-25T07:02:08.453Z] Login Succeeded [2021-01-25T07:02:08.453Z] ---> docker-login.sh ends [Pipeline] } [2021-01-25T07:02:08.541Z] 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-25T07:02:09.691Z] + git log --format=format:%s -1 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [Pipeline] echo [2021-01-25T07:02:09.789Z] GIT_COMMIT: 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-01-25T07:02:09.873Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:02:10.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T07:02:10.979Z] [2021-01-25T07:02:10.979Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:02:11.375Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T07:02:11.375Z] latest: Pulling from edgex-devops/git-semver [2021-01-25T07:02:11.375Z] 31603596830f: Pulling fs layer [2021-01-25T07:02:11.375Z] 2a8b12db71e7: Pulling fs layer [2021-01-25T07:02:11.375Z] 6ca5941a6612: Pulling fs layer [2021-01-25T07:02:11.375Z] ecc8261a40a4: Pulling fs layer [2021-01-25T07:02:11.375Z] ecc8261a40a4: Waiting [2021-01-25T07:02:11.375Z] 2a8b12db71e7: Verifying Checksum [2021-01-25T07:02:11.375Z] 2a8b12db71e7: Download complete [2021-01-25T07:02:11.647Z] 31603596830f: Verifying Checksum [2021-01-25T07:02:11.647Z] 31603596830f: Download complete [2021-01-25T07:02:11.647Z] ecc8261a40a4: Verifying Checksum [2021-01-25T07:02:11.647Z] ecc8261a40a4: Download complete [2021-01-25T07:02:11.647Z] 6ca5941a6612: Verifying Checksum [2021-01-25T07:02:11.647Z] 6ca5941a6612: Download complete [2021-01-25T07:02:11.915Z] 31603596830f: Pull complete [2021-01-25T07:02:12.179Z] 2a8b12db71e7: Pull complete [2021-01-25T07:02:13.135Z] 6ca5941a6612: Pull complete [2021-01-25T07:02:13.135Z] ecc8261a40a4: Pull complete [2021-01-25T07:02:13.135Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-25T07:02:13.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T07:02:13.135Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-25T07:02:13.263Z] prd-centos7-docker-4c-2g-22587 does not seem to be running inside a container [2021-01-25T07:02:13.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-754 -v /w/workspace/dgexfoundry_device-sdk-go_PR-754:/w/workspace/dgexfoundry_device-sdk-go_PR-754:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-754@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-25T07:02:15.380Z] $ docker top 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-25T07:02:15.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-25T07:02:15.850Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-25T07:02:16.143Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-25T07:02:16.149Z] $ docker exec 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 ssh-agent [2021-01-25T07:02:16.370Z] SSH_AUTH_SOCK=/tmp/ssh-rc8wySeVFBvJ/agent.11 [2021-01-25T07:02:16.370Z] SSH_AGENT_PID=16 [2021-01-25T07:02:16.386Z] Running ssh-add (command line suppressed) [2021-01-25T07:02:16.521Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/private_key_7382249083591929182.key (/w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/private_key_7382249083591929182.key) [2021-01-25T07:02:16.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-25T07:02:16.971Z] + git tag --points-at HEAD [Pipeline] } [2021-01-25T07:02:17.003Z] $ docker exec --env ******** --env ******** 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 ssh-agent -k [2021-01-25T07:02:17.124Z] unset SSH_AUTH_SOCK; [2021-01-25T07:02:17.124Z] unset SSH_AGENT_PID; [2021-01-25T07:02:17.124Z] echo Agent pid 16 killed; [2021-01-25T07:02:17.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-25T07:02:17.394Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-25T07:02:17.394Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-25T07:02:17.573Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-25T07:02:17.579Z] $ docker exec 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 ssh-agent [2021-01-25T07:02:17.757Z] SSH_AUTH_SOCK=/tmp/ssh-00AdLmrhaQq3/agent.45 [2021-01-25T07:02:17.757Z] SSH_AGENT_PID=50 [2021-01-25T07:02:17.765Z] Running ssh-add (command line suppressed) [2021-01-25T07:02:17.895Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/private_key_6741573778950924619.key (/w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/private_key_6741573778950924619.key) [2021-01-25T07:02:17.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-25T07:02:18.347Z] + git semver init [2021-01-25T07:02:18.347Z] # -> Open(): unable to determine branch for HEAD [2021-01-25T07:02:18.347Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-754/.git [2021-01-25T07:02:18.347Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-754 [2021-01-25T07:02:18.347Z] # $SEMVER_REMOTE_NAME = origin [2021-01-25T07:02:18.347Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-25T07:02:18.347Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-25T07:02:18.347Z] # $SEMVER_BRANCH = PR-754 [2021-01-25T07:02:18.347Z] # $SEMVER_TEMP = /tmp/semver-103414031 [2021-01-25T07:02:18.347Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-25T07:02:19.296Z] # '/tmp/semver-103414031' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-754/.semver' [2021-01-25T07:02:19.296Z] # -> Force: false [2021-01-25T07:02:19.296Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-754/.semver [Pipeline] } [2021-01-25T07:02:19.319Z] $ docker exec --env ******** --env ******** 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 ssh-agent -k [2021-01-25T07:02:19.447Z] unset SSH_AUTH_SOCK; [2021-01-25T07:02:19.448Z] unset SSH_AGENT_PID; [2021-01-25T07:02:19.448Z] echo Agent pid 50 killed; [2021-01-25T07:02:19.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-25T07:02:20.098Z] + git semver [Pipeline] } [2021-01-25T07:02:20.135Z] $ docker stop --time=1 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 [2021-01-25T07:02:21.557Z] $ docker rm -f 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-25T07:02:22.101Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-25T07:02:22.569Z] Stashed 1 file(s) [Pipeline] echo [2021-01-25T07:02:22.596Z] [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-25T07:02:38.485Z] Still waiting to schedule task [2021-01-25T07:02:38.485Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-25T07:02:38.512Z] Still waiting to schedule task [2021-01-25T07:02:38.512Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-25T07:04:19.912Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22588 in /w/workspace/dgexfoundry_device-sdk-go_PR-754 [Pipeline] { [Pipeline] ws [2021-01-25T07:04:20.038Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-25T07:04:25.092Z] using credential edgex-jenkins-ssh [2021-01-25T07:04:25.151Z] Cloning the remote Git repository [2021-01-25T07:04:25.212Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-25T07:04:25.327Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-25T07:04:25.400Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-25T07:04:25.400Z] > git --version # timeout=10 [2021-01-25T07:04:25.417Z] > git --version # 'git version 2.17.1' [2021-01-25T07:04:25.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T07:04:25.508Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T07:04:26.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-25T07:04:26.676Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T07:04:26.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-25T07:04:27.251Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [2021-01-25T07:04:27.482Z] Merge succeeded, producing 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [2021-01-25T07:04:27.482Z] Checking out Revision 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 (PR-754) [2021-01-25T07:04:26.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-25T07:04:26.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T07:04:26.750Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/754/head:refs/remotes/origin/PR-754 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-25T07:04:27.274Z] > git config core.sparsecheckout # timeout=10 [2021-01-25T07:04:27.292Z] > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # timeout=10 [2021-01-25T07:04:27.408Z] > git remote # timeout=10 [2021-01-25T07:04:27.427Z] > git config --get remote.origin.url # timeout=10 [2021-01-25T07:04:27.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T07:04:27.450Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-25T07:04:27.471Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-25T07:04:27.491Z] > git config core.sparsecheckout # timeout=10 [2021-01-25T07:04:27.501Z] > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # timeout=10 [2021-01-25T07:04:31.827Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-01-25T07:04:31.882Z] > git --version # timeout=10 [2021-01-25T07:04:31.897Z] > git --version # 'git version 2.17.1' [2021-01-25T07:04:31.910Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-25T07:04:33.742Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-25T07:04:34.174Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-25T07:04:34.534Z] + + true [2021-01-25T07:04:34.534Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-25T07:04:37.295Z] provisioning config files... [2021-01-25T07:04:37.336Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7290742239119907909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-25T07:04:37.788Z] ---> docker-login.sh [2021-01-25T07:04:37.788Z] nexus3.edgexfoundry.org:10001 [2021-01-25T07:04:38.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:04:39.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:04:39.048Z] Configure a credential helper to remove this warning. See [2021-01-25T07:04:39.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:04:39.048Z] [2021-01-25T07:04:39.048Z] Login Succeeded [2021-01-25T07:04:39.048Z] nexus3.edgexfoundry.org:10002 [2021-01-25T07:04:39.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:04:39.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:04:39.600Z] Configure a credential helper to remove this warning. See [2021-01-25T07:04:39.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:04:39.600Z] [2021-01-25T07:04:39.600Z] Login Succeeded [2021-01-25T07:04:39.600Z] nexus3.edgexfoundry.org:10003 [2021-01-25T07:04:39.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:04:40.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:04:40.147Z] Configure a credential helper to remove this warning. See [2021-01-25T07:04:40.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:04:40.147Z] [2021-01-25T07:04:40.147Z] Login Succeeded [2021-01-25T07:04:40.147Z] nexus3.edgexfoundry.org:10004 [2021-01-25T07:04:40.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:04:40.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:04:40.425Z] Configure a credential helper to remove this warning. See [2021-01-25T07:04:40.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:04:40.425Z] [2021-01-25T07:04:40.425Z] Login Succeeded [2021-01-25T07:04:40.425Z] docker.io [2021-01-25T07:04:41.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:04:41.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:04:41.299Z] Configure a credential helper to remove this warning. See [2021-01-25T07:04:41.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:04:41.299Z] [2021-01-25T07:04:41.299Z] Login Succeeded [2021-01-25T07:04:41.299Z] ---> docker-login.sh ends [Pipeline] } [2021-01-25T07:04:41.351Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-25T07:04:41.946Z] ========================================================= [2021-01-25T07:04:41.946Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-25T07:04:41.946Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:04:42.392Z] + 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-25T07:04:42.670Z] Sending build context to Docker daemon 2.555MB [2021-01-25T07:04:42.949Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-25T07:04:42.949Z] Step 2/8 : FROM ${BASE} [2021-01-25T07:04:42.949Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-25T07:04:42.949Z] 5f621e34cdf4: Pulling fs layer [2021-01-25T07:04:42.949Z] a4357932f1b6: Pulling fs layer [2021-01-25T07:04:42.949Z] 18c013af1878: Pulling fs layer [2021-01-25T07:04:42.949Z] 00ac8860ef70: Pulling fs layer [2021-01-25T07:04:42.949Z] 63d7cb157983: Pulling fs layer [2021-01-25T07:04:42.949Z] b116817d02f9: Pulling fs layer [2021-01-25T07:04:42.949Z] 745a02a5169b: Pulling fs layer [2021-01-25T07:04:42.949Z] 00ac8860ef70: Waiting [2021-01-25T07:04:42.949Z] 63d7cb157983: Waiting [2021-01-25T07:04:42.949Z] b116817d02f9: Waiting [2021-01-25T07:04:42.949Z] 745a02a5169b: Waiting [2021-01-25T07:04:42.949Z] 18c013af1878: Download complete [2021-01-25T07:04:42.949Z] a4357932f1b6: Download complete [2021-01-25T07:04:42.949Z] 63d7cb157983: Verifying Checksum [2021-01-25T07:04:42.949Z] 63d7cb157983: Download complete [2021-01-25T07:04:42.949Z] b116817d02f9: Verifying Checksum [2021-01-25T07:04:42.949Z] b116817d02f9: Download complete [2021-01-25T07:04:42.949Z] 5f621e34cdf4: Verifying Checksum [2021-01-25T07:04:42.949Z] 5f621e34cdf4: Download complete [2021-01-25T07:04:43.551Z] 5f621e34cdf4: Pull complete [2021-01-25T07:04:44.176Z] a4357932f1b6: Pull complete [2021-01-25T07:04:44.457Z] 18c013af1878: Pull complete [2021-01-25T07:04:45.898Z] 745a02a5169b: Verifying Checksum [2021-01-25T07:04:45.898Z] 745a02a5169b: Download complete [2021-01-25T07:04:46.884Z] 00ac8860ef70: Verifying Checksum [2021-01-25T07:04:46.884Z] 00ac8860ef70: Download complete [2021-01-25T07:04:55.027Z] Running on prd-centos7-docker-4c-2g-22590 in /w/workspace/dgexfoundry_device-sdk-go_PR-754 [Pipeline] { [Pipeline] ws [2021-01-25T07:04:55.126Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-25T07:04:57.601Z] using credential edgex-jenkins-ssh [2021-01-25T07:04:57.671Z] Cloning the remote Git repository [2021-01-25T07:04:58.126Z] 00ac8860ef70: Pull complete [2021-01-25T07:04:58.126Z] 63d7cb157983: Pull complete [2021-01-25T07:04:58.126Z] b116817d02f9: Pull complete [2021-01-25T07:04:57.284Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-25T07:04:57.365Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-25T07:04:57.434Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-25T07:04:57.434Z] > git --version # timeout=10 [2021-01-25T07:04:57.440Z] > git --version # 'git version 2.24.3' [2021-01-25T07:04:57.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T07:04:57.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T07:04:58.957Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [2021-01-25T07:04:59.067Z] Merge succeeded, producing 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [2021-01-25T07:04:59.068Z] Checking out Revision 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 (PR-754) [2021-01-25T07:04:58.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-25T07:04:58.225Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T07:04:58.242Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-25T07:04:58.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-25T07:04:58.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T07:04:58.262Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/754/head:refs/remotes/origin/PR-754 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-25T07:04:58.659Z] > git config core.sparsecheckout # timeout=10 [2021-01-25T07:04:58.666Z] > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # timeout=10 [2021-01-25T07:04:58.729Z] > git remote # timeout=10 [2021-01-25T07:04:58.736Z] > git config --get remote.origin.url # timeout=10 [2021-01-25T07:04:58.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T07:04:58.747Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-25T07:04:58.759Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-25T07:04:58.770Z] > git config core.sparsecheckout # timeout=10 [2021-01-25T07:04:58.775Z] > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # timeout=10 [2021-01-25T07:05:01.524Z] 745a02a5169b: Pull complete [2021-01-25T07:05:01.524Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-25T07:05:01.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-25T07:05:01.524Z] ---> b7e6874047d6 [2021-01-25T07:05:01.524Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-25T07:05:02.447Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-01-25T07:05:02.455Z] > git --version # timeout=10 [2021-01-25T07:05:02.460Z] > git --version # 'git version 2.24.3' [2021-01-25T07:05:02.467Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-25T07:05:04.139Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-01-25T07:05:04.170Z] ---> Running in df5727726666 [Pipeline] sh [2021-01-25T07:05:04.499Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-25T07:05:04.767Z] Removing intermediate container df5727726666 [2021-01-25T07:05:04.767Z] ---> 09434e4b77fd [2021-01-25T07:05:04.767Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-25T07:05:04.767Z] ---> Running in 4288a11a5f83 [2021-01-25T07:05:04.818Z] + sudo service docker restart [2021-01-25T07:05:04.818Z] + true [2021-01-25T07:05:04.818Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-25T07:05:06.336Z] provisioning config files... [2021-01-25T07:05:06.360Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4276577912892331169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-25T07:05:06.804Z] ---> docker-login.sh [2021-01-25T07:05:06.804Z] nexus3.edgexfoundry.org:10001 [2021-01-25T07:05:07.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:05:07.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:05:07.069Z] Configure a credential helper to remove this warning. See [2021-01-25T07:05:07.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:05:07.069Z] [2021-01-25T07:05:07.069Z] Login Succeeded [2021-01-25T07:05:07.069Z] nexus3.edgexfoundry.org:10002 [2021-01-25T07:05:07.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:05:07.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:05:07.333Z] Configure a credential helper to remove this warning. See [2021-01-25T07:05:07.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:05:07.333Z] [2021-01-25T07:05:07.333Z] Login Succeeded [2021-01-25T07:05:07.333Z] nexus3.edgexfoundry.org:10003 [2021-01-25T07:05:07.396Z] Removing intermediate container 4288a11a5f83 [2021-01-25T07:05:07.396Z] ---> e6b5c63d4804 [2021-01-25T07:05:07.396Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-25T07:05:07.396Z] ---> Running in 6d4e0d5e6228 [2021-01-25T07:05:07.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:05:07.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:05:07.597Z] Configure a credential helper to remove this warning. See [2021-01-25T07:05:07.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:05:07.597Z] [2021-01-25T07:05:07.597Z] Login Succeeded [2021-01-25T07:05:07.597Z] nexus3.edgexfoundry.org:10004 [2021-01-25T07:05:07.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:05:07.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:05:07.597Z] Configure a credential helper to remove this warning. See [2021-01-25T07:05:07.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:05:07.597Z] [2021-01-25T07:05:07.597Z] Login Succeeded [2021-01-25T07:05:07.597Z] docker.io [2021-01-25T07:05:07.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T07:05:08.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T07:05:08.124Z] Configure a credential helper to remove this warning. See [2021-01-25T07:05:08.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T07:05:08.124Z] [2021-01-25T07:05:08.124Z] Login Succeeded [2021-01-25T07:05:08.124Z] ---> docker-login.sh ends [Pipeline] } [2021-01-25T07:05:08.155Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2021-01-25T07:05:08.378Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] unstash [Pipeline] echo [2021-01-25T07:05:08.690Z] ========================================================= [2021-01-25T07:05:08.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-25T07:05:08.690Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:05:09.084Z] + 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-25T07:05:09.349Z] Sending build context to Docker daemon 2.547MB [2021-01-25T07:05:09.349Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-25T07:05:09.349Z] Step 2/8 : FROM ${BASE} [2021-01-25T07:05:09.349Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-25T07:05:09.349Z] 188c0c94c7c5: Pulling fs layer [2021-01-25T07:05:09.349Z] 0ef7d3d256c8: Pulling fs layer [2021-01-25T07:05:09.349Z] de9db76c5a1d: Pulling fs layer [2021-01-25T07:05:09.349Z] bca2f99d35d6: Pulling fs layer [2021-01-25T07:05:09.349Z] 93359f2a8cfa: Pulling fs layer [2021-01-25T07:05:09.349Z] 7c6f9722023f: Pulling fs layer [2021-01-25T07:05:09.349Z] a35cf1a2eb13: Pulling fs layer [2021-01-25T07:05:09.349Z] 93359f2a8cfa: Waiting [2021-01-25T07:05:09.349Z] 7c6f9722023f: Waiting [2021-01-25T07:05:09.349Z] a35cf1a2eb13: Waiting [2021-01-25T07:05:09.349Z] bca2f99d35d6: Waiting [2021-01-25T07:05:09.349Z] de9db76c5a1d: Verifying Checksum [2021-01-25T07:05:09.350Z] de9db76c5a1d: Download complete [2021-01-25T07:05:09.350Z] 0ef7d3d256c8: Verifying Checksum [2021-01-25T07:05:09.350Z] 0ef7d3d256c8: Download complete [2021-01-25T07:05:09.350Z] 93359f2a8cfa: Verifying Checksum [2021-01-25T07:05:09.350Z] 93359f2a8cfa: Download complete [2021-01-25T07:05:09.350Z] 7c6f9722023f: Verifying Checksum [2021-01-25T07:05:09.350Z] 7c6f9722023f: Download complete [2021-01-25T07:05:09.350Z] 188c0c94c7c5: Verifying Checksum [2021-01-25T07:05:09.350Z] 188c0c94c7c5: Download complete [2021-01-25T07:05:09.617Z] 188c0c94c7c5: Pull complete [2021-01-25T07:05:09.813Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-25T07:05:09.884Z] 0ef7d3d256c8: Pull complete [2021-01-25T07:05:09.885Z] de9db76c5a1d: Pull complete [2021-01-25T07:05:10.802Z] OK: 142 MiB in 39 packages [2021-01-25T07:05:11.300Z] a35cf1a2eb13: Verifying Checksum [2021-01-25T07:05:11.300Z] a35cf1a2eb13: Download complete [2021-01-25T07:05:11.563Z] bca2f99d35d6: Verifying Checksum [2021-01-25T07:05:11.563Z] bca2f99d35d6: Download complete [2021-01-25T07:05:11.781Z] Removing intermediate container 6d4e0d5e6228 [2021-01-25T07:05:11.781Z] ---> ff590d8f36bf [2021-01-25T07:05:11.781Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-25T07:05:12.064Z] ---> Running in 7658bda97969 [2021-01-25T07:05:12.668Z] Removing intermediate container 7658bda97969 [2021-01-25T07:05:12.668Z] ---> a4ace068a446 [2021-01-25T07:05:12.668Z] Step 7/8 : COPY . . [2021-01-25T07:05:14.110Z] ---> ffdaf8b214c8 [2021-01-25T07:05:14.110Z] Step 8/8 : RUN go mod download [2021-01-25T07:05:14.110Z] ---> Running in 363e14c9355a [2021-01-25T07:05:16.894Z] bca2f99d35d6: Pull complete [2021-01-25T07:05:16.894Z] 93359f2a8cfa: Pull complete [2021-01-25T07:05:16.894Z] 7c6f9722023f: Pull complete [2021-01-25T07:05:26.941Z] a35cf1a2eb13: Pull complete [2021-01-25T07:05:26.941Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-25T07:05:26.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-25T07:05:26.941Z] ---> a62c8e92a672 [2021-01-25T07:05:26.941Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-25T07:05:26.941Z] ---> Running in 391cc65ea424 [2021-01-25T07:05:26.941Z] Removing intermediate container 391cc65ea424 [2021-01-25T07:05:26.941Z] ---> bbb5574405d6 [2021-01-25T07:05:26.942Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-25T07:05:26.942Z] ---> Running in 472580bca789 [2021-01-25T07:05:27.519Z] Removing intermediate container 472580bca789 [2021-01-25T07:05:27.519Z] ---> 5069c3211142 [2021-01-25T07:05:27.519Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-25T07:05:27.785Z] ---> Running in 995c44db7d50 [2021-01-25T07:05:28.741Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-25T07:05:29.319Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-25T07:05:29.584Z] OK: 166 MiB in 39 packages [2021-01-25T07:05:30.161Z] Removing intermediate container 995c44db7d50 [2021-01-25T07:05:30.161Z] ---> 315dee541c1c [2021-01-25T07:05:30.161Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-25T07:05:30.161Z] ---> Running in f769de7ad619 [2021-01-25T07:05:30.425Z] Removing intermediate container f769de7ad619 [2021-01-25T07:05:30.425Z] ---> f39c8c157215 [2021-01-25T07:05:30.425Z] Step 7/8 : COPY . . [2021-01-25T07:05:31.825Z] ---> d0fc4c338e01 [2021-01-25T07:05:31.825Z] Step 8/8 : RUN go mod download [2021-01-25T07:05:31.825Z] ---> Running in b76bc69f27b9 [2021-01-25T07:05:36.279Z] Removing intermediate container 363e14c9355a [2021-01-25T07:05:36.279Z] ---> 2afe214d812a [2021-01-25T07:05:36.279Z] Successfully built 2afe214d812a [2021-01-25T07:05:36.279Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:05:36.655Z] + docker inspect -f . ci-base-image-arm64 [2021-01-25T07:05:36.656Z] . [Pipeline] withDockerContainer [2021-01-25T07:05:36.948Z] prd-ubuntu18.04-docker-arm64-4c-16g-22588 does not seem to be running inside a container [2021-01-25T07:05:37.036Z] $ 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-25T07:05:38.520Z] $ docker top 8d9dc2a5f6ce607248b7cf62046f013594ec0f5bb218d4c20d154cb72833df55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T07:05:39.599Z] + go version [2021-01-25T07:05:39.599Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-25T07:05:39.639Z] $ docker stop --time=1 8d9dc2a5f6ce607248b7cf62046f013594ec0f5bb218d4c20d154cb72833df55 [2021-01-25T07:05:41.559Z] $ docker rm -f 8d9dc2a5f6ce607248b7cf62046f013594ec0f5bb218d4c20d154cb72833df55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:05:42.857Z] + docker inspect -f . ci-base-image-arm64 [2021-01-25T07:05:42.857Z] . [Pipeline] withDockerContainer [2021-01-25T07:05:43.138Z] prd-ubuntu18.04-docker-arm64-4c-16g-22588 does not seem to be running inside a container [2021-01-25T07:05:43.225Z] $ 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-25T07:05:44.690Z] $ docker top 29928faf4c6afdbac30001e49d0a4aba5922c193ef773c7660049978aeaed126 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T07:05:45.707Z] + make test [2021-01-25T07:05:45.707Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-25T07:05:50.011Z] Removing intermediate container b76bc69f27b9 [2021-01-25T07:05:50.011Z] ---> 6d509f6329dc [2021-01-25T07:05:50.011Z] Successfully built 6d509f6329dc [2021-01-25T07:05:50.011Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:05:50.364Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-25T07:05:50.364Z] . [Pipeline] withDockerContainer [2021-01-25T07:05:50.494Z] prd-centos7-docker-4c-2g-22590 does not seem to be running inside a container [2021-01-25T07:05:50.549Z] $ 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-25T07:05:51.307Z] $ docker top 65e4644e745cfb927df8766f01d13d4fc448cc1549e394f9f394646c783990b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T07:05:51.902Z] + go version [2021-01-25T07:05:51.902Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-25T07:05:51.935Z] $ docker stop --time=1 65e4644e745cfb927df8766f01d13d4fc448cc1549e394f9f394646c783990b7 [2021-01-25T07:05:53.282Z] $ docker rm -f 65e4644e745cfb927df8766f01d13d4fc448cc1549e394f9f394646c783990b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:05:54.402Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-25T07:05:54.402Z] . [Pipeline] withDockerContainer [2021-01-25T07:05:54.519Z] prd-centos7-docker-4c-2g-22590 does not seem to be running inside a container [2021-01-25T07:05:54.573Z] $ 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-25T07:05:55.209Z] $ docker top 4e801403bd61cb9d8ff7cb50e3b213d8bb2702c212be5ddea42ce69e18e9bfc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T07:05:55.861Z] + make test [2021-01-25T07:05:55.861Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-25T07:06:04.083Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-25T07:06:07.882Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-25T07:06:19.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-25T07:06:19.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-25T07:06:19.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-25T07:06:19.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 19.4% of statements [2021-01-25T07:06:20.265Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.491s coverage: 97.1% of statements [2021-01-25T07:06:52.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.058s coverage: 9.4% of statements [2021-01-25T07:06:52.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.067s coverage: 21.7% of statements [2021-01-25T07:06:52.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-25T07:06:52.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.254s coverage: 43.2% of statements [2021-01-25T07:06:52.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-25T07:06:52.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.273s coverage: 68.9% of statements [2021-01-25T07:06:52.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-25T07:06:52.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-25T07:06:52.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-25T07:06:52.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-25T07:06:52.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.063s coverage: 53.8% of statements [2021-01-25T07:06:52.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-25T07:06:52.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-25T07:06:52.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.069s coverage: 26.8% of statements [2021-01-25T07:06:52.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.823s coverage: 83.5% of statements [2021-01-25T07:06:52.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements [2021-01-25T07:06:52.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-25T07:06:52.441Z] GO111MODULE=on go vet ./... [2021-01-25T07:06:54.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-25T07:06:54.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-25T07:06:54.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-25T07:06:54.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 19.4% of statements [2021-01-25T07:06:54.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.355s coverage: 97.1% of statements [2021-01-25T07:06:59.105Z] gofmt -l . [2021-01-25T07:06:59.369Z] [ "`gofmt -l .`" = "" ] [2021-01-25T07:06:59.369Z] ./bin/test-attribution-txt.sh [2021-01-25T07:06:59.944Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-25T07:07:00.239Z] $ docker stop --time=1 4e801403bd61cb9d8ff7cb50e3b213d8bb2702c212be5ddea42ce69e18e9bfc1 [2021-01-25T07:07:02.233Z] $ docker rm -f 4e801403bd61cb9d8ff7cb50e3b213d8bb2702c212be5ddea42ce69e18e9bfc1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-25T07:07:03.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-25T07:07:03.395Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-25T07:07:06.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-25T07:07:06.465Z] + ls -al . [2021-01-25T07:07:06.465Z] total 216 [2021-01-25T07:07:06.465Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 25 07:07 . [2021-01-25T07:07:06.465Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 25 07:04 .. [2021-01-25T07:07:06.465Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 25 07:04 bin [2021-01-25T07:07:06.465Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 25 07:06 coverage.out [2021-01-25T07:07:06.465Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 25 07:04 Dockerfile.build [2021-01-25T07:07:06.465Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 25 07:04 .dockerignore [2021-01-25T07:07:06.465Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 25 07:04 example [2021-01-25T07:07:06.465Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 25 07:05 .git [2021-01-25T07:07:06.465Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 25 07:04 .github [2021-01-25T07:07:06.465Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 25 07:04 .gitignore [2021-01-25T07:07:06.465Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 25 07:06 go.mod [2021-01-25T07:07:06.465Z] -rw-r--r--. 1 jenkins jenkins 14016 Jan 25 07:07 go.sum [2021-01-25T07:07:06.465Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 25 07:04 internal [2021-01-25T07:07:06.465Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 25 07:04 Jenkinsfile [2021-01-25T07:07:06.465Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 25 07:04 LICENSE [2021-01-25T07:07:06.465Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 25 07:04 Makefile [2021-01-25T07:07:06.465Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 25 07:04 openapi [2021-01-25T07:07:06.465Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 25 07:04 pkg [2021-01-25T07:07:06.465Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 25 07:04 README.md [2021-01-25T07:07:06.465Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 25 07:04 RELEASE-NOTES.txt [2021-01-25T07:07:06.465Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 25 07:04 snap [2021-01-25T07:07:06.465Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 25 07:02 VERSION [2021-01-25T07:07:06.465Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 25 07:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:07:06.802Z] + 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=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 --label arch=amd64 --label version=0.0.0 . [2021-01-25T07:07:07.066Z] Sending build context to Docker daemon 2.685MB [2021-01-25T07:07:07.066Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-25T07:07:07.066Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-25T07:07:07.066Z] ---> 6d509f6329dc [2021-01-25T07:07:07.066Z] Step 3/24 : ARG MAKE='make build' [2021-01-25T07:07:07.328Z] ---> Running in dd5ad2f96beb [2021-01-25T07:07:07.590Z] Removing intermediate container dd5ad2f96beb [2021-01-25T07:07:07.590Z] ---> b8e9cc49c295 [2021-01-25T07:07:07.590Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-25T07:07:07.590Z] ---> Running in 35f31f7a0485 [2021-01-25T07:07:07.590Z] Removing intermediate container 35f31f7a0485 [2021-01-25T07:07:07.590Z] ---> ee78118349eb [2021-01-25T07:07:07.590Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-25T07:07:07.852Z] ---> Running in e794a29d567f [2021-01-25T07:07:07.852Z] Removing intermediate container e794a29d567f [2021-01-25T07:07:07.852Z] ---> 41401478fb65 [2021-01-25T07:07:07.852Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-25T07:07:08.115Z] ---> Running in 70d93b31d7b8 [2021-01-25T07:07:09.075Z] Removing intermediate container 70d93b31d7b8 [2021-01-25T07:07:09.075Z] ---> 06c61a96ab3e [2021-01-25T07:07:09.075Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-25T07:07:09.075Z] ---> Running in 4e9ae756451d [2021-01-25T07:07:09.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-25T07:07:10.225Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-25T07:07:10.803Z] OK: 166 MiB in 39 packages [2021-01-25T07:07:11.068Z] Removing intermediate container 4e9ae756451d [2021-01-25T07:07:11.068Z] ---> 8a022bd24345 [2021-01-25T07:07:11.068Z] Step 8/24 : COPY . . [2021-01-25T07:07:12.478Z] ---> 0087c1bbf7e7 [2021-01-25T07:07:12.478Z] Step 9/24 : RUN ${MAKE} [2021-01-25T07:07:12.478Z] ---> Running in bb709ae812fb [2021-01-25T07:07:12.741Z] 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-25T07:07:20.992Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-25T07:07:21.683Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.125s coverage: 9.4% of statements [2021-01-25T07:07:21.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 21.7% of statements [2021-01-25T07:07:21.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-25T07:07:21.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.581s coverage: 43.2% of statements [2021-01-25T07:07:21.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-25T07:07:21.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.777s coverage: 68.9% of statements [2021-01-25T07:07:21.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-25T07:07:21.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-25T07:07:21.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-25T07:07:21.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-25T07:07:21.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.182s coverage: 53.8% of statements [2021-01-25T07:07:21.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-25T07:07:21.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-25T07:07:21.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.191s coverage: 26.8% of statements [2021-01-25T07:07:21.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.901s coverage: 83.5% of statements [2021-01-25T07:07:21.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements [2021-01-25T07:07:21.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-25T07:07:21.684Z] GO111MODULE=on go vet ./... [2021-01-25T07:07:23.024Z] Removing intermediate container bb709ae812fb [2021-01-25T07:07:23.024Z] ---> b688c65209b9 [2021-01-25T07:07:23.024Z] Step 10/24 : FROM scratch [2021-01-25T07:07:23.024Z] ---> [2021-01-25T07:07:23.024Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-25T07:07:23.295Z] ---> Running in b4fd1cd228e7 [2021-01-25T07:07:23.295Z] Removing intermediate container b4fd1cd228e7 [2021-01-25T07:07:23.295Z] ---> 7655e7ff445d [2021-01-25T07:07:23.295Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-25T07:07:23.295Z] ---> Running in 336543ce2d66 [2021-01-25T07:07:23.561Z] Removing intermediate container 336543ce2d66 [2021-01-25T07:07:23.561Z] ---> 81bb74de2d93 [2021-01-25T07:07:23.561Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-25T07:07:23.561Z] ---> Running in 20d4f8a5d66e [2021-01-25T07:07:23.826Z] Removing intermediate container 20d4f8a5d66e [2021-01-25T07:07:23.826Z] ---> d53744f1b68c [2021-01-25T07:07:23.826Z] Step 14/24 : WORKDIR / [2021-01-25T07:07:23.826Z] ---> Running in 0d03891f63f9 [2021-01-25T07:07:24.091Z] Removing intermediate container 0d03891f63f9 [2021-01-25T07:07:24.091Z] ---> cbf55ea2337b [2021-01-25T07:07:24.091Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-25T07:07:25.040Z] ---> 14bd286dadfe [2021-01-25T07:07:25.040Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-25T07:07:25.303Z] ---> 8f031b891bf1 [2021-01-25T07:07:25.303Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-25T07:07:25.303Z] ---> a07d49dc4605 [2021-01-25T07:07:25.303Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-25T07:07:25.564Z] ---> 7daf113d6069 [2021-01-25T07:07:25.564Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-25T07:07:25.828Z] ---> 35f2d737ce13 [2021-01-25T07:07:25.828Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-25T07:07:25.828Z] ---> Running in 9ebaed0324cf [2021-01-25T07:07:26.091Z] Removing intermediate container 9ebaed0324cf [2021-01-25T07:07:26.091Z] ---> 879369cf405b [2021-01-25T07:07:26.091Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-25T07:07:26.091Z] ---> Running in 35c906390fd5 [2021-01-25T07:07:26.353Z] Removing intermediate container 35c906390fd5 [2021-01-25T07:07:26.353Z] ---> a92e0bf00e03 [2021-01-25T07:07:26.353Z] Step 22/24 : LABEL arch=amd64 [2021-01-25T07:07:26.353Z] ---> Running in da7af22818fc [2021-01-25T07:07:26.618Z] Removing intermediate container da7af22818fc [2021-01-25T07:07:26.618Z] ---> 9df5a76724c9 [2021-01-25T07:07:26.618Z] Step 23/24 : LABEL git_sha=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [2021-01-25T07:07:26.618Z] ---> Running in ab092c655007 [2021-01-25T07:07:26.879Z] Removing intermediate container ab092c655007 [2021-01-25T07:07:26.879Z] ---> e041b4cf2bcc [2021-01-25T07:07:26.879Z] Step 24/24 : LABEL version=0.0.0 [2021-01-25T07:07:26.879Z] ---> Running in a92f3a7164ec [2021-01-25T07:07:27.142Z] Removing intermediate container a92f3a7164ec [2021-01-25T07:07:27.142Z] ---> e9574d599672 [2021-01-25T07:07:27.142Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-25T07:07:27.142Z] Successfully built e9574d599672 [2021-01-25T07:07:27.142Z] 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-25T07:08:00.831Z] gofmt -l . [2021-01-25T07:08:00.831Z] [ "`gofmt -l .`" = "" ] [2021-01-25T07:08:00.831Z] ./bin/test-attribution-txt.sh [2021-01-25T07:08:00.831Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-25T07:08:00.871Z] $ docker stop --time=1 29928faf4c6afdbac30001e49d0a4aba5922c193ef773c7660049978aeaed126 [2021-01-25T07:08:03.168Z] $ docker rm -f 29928faf4c6afdbac30001e49d0a4aba5922c193ef773c7660049978aeaed126 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-25T07:08:04.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-25T07:08:04.420Z] Warning: overwriting stash ‘coverage-report’ [2021-01-25T07:08:05.271Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-25T07:08:06.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-25T07:08:06.533Z] + ls -al . [2021-01-25T07:08:06.533Z] total 252 [2021-01-25T07:08:06.533Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 07:07 . [2021-01-25T07:08:06.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 07:04 .. [2021-01-25T07:08:06.533Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 07:04 .dockerignore [2021-01-25T07:08:06.533Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 07:04 .git [2021-01-25T07:08:06.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 07:04 .github [2021-01-25T07:08:06.534Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 25 07:04 .gitignore [2021-01-25T07:08:06.534Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 25 07:04 Dockerfile.build [2021-01-25T07:08:06.534Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 25 07:04 Jenkinsfile [2021-01-25T07:08:06.534Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 07:04 LICENSE [2021-01-25T07:08:06.534Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 25 07:04 Makefile [2021-01-25T07:08:06.534Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 25 07:04 README.md [2021-01-25T07:08:06.534Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 25 07:04 RELEASE-NOTES.txt [2021-01-25T07:08:06.534Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 07:02 VERSION [2021-01-25T07:08:06.534Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 07:04 bin [2021-01-25T07:08:06.534Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 25 07:07 coverage.out [2021-01-25T07:08:06.534Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 07:04 example [2021-01-25T07:08:06.534Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 25 07:07 go.mod [2021-01-25T07:08:06.534Z] -rw-r--r-- 1 jenkins jenkins 14016 Jan 25 07:07 go.sum [2021-01-25T07:08:06.534Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 25 07:04 internal [2021-01-25T07:08:06.534Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 07:04 openapi [2021-01-25T07:08:06.534Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 07:04 pkg [2021-01-25T07:08:06.534Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 07:04 snap [2021-01-25T07:08:06.534Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 07:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:08:06.901Z] + 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=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 --label arch=arm64 --label version=0.0.0 . [2021-01-25T07:08:07.499Z] Sending build context to Docker daemon 2.693MB [2021-01-25T07:08:07.499Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-25T07:08:07.499Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-25T07:08:07.499Z] ---> 2afe214d812a [2021-01-25T07:08:07.499Z] Step 3/24 : ARG MAKE='make build' [2021-01-25T07:08:07.773Z] ---> Running in ccdc13a77884 [2021-01-25T07:08:08.049Z] Removing intermediate container ccdc13a77884 [2021-01-25T07:08:08.049Z] ---> d550de777f35 [2021-01-25T07:08:08.049Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-25T07:08:08.322Z] ---> Running in c9b7d6ea1c29 [2021-01-25T07:08:08.595Z] Removing intermediate container c9b7d6ea1c29 [2021-01-25T07:08:08.595Z] ---> 290e55f857e0 [2021-01-25T07:08:08.595Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-25T07:08:08.870Z] ---> Running in ae3c2b5ceaae [2021-01-25T07:08:09.465Z] Removing intermediate container ae3c2b5ceaae [2021-01-25T07:08:09.465Z] ---> b6bade51de93 [2021-01-25T07:08:09.465Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-25T07:08:09.465Z] ---> Running in c61eab1baa40 [2021-01-25T07:08:11.442Z] Removing intermediate container c61eab1baa40 [2021-01-25T07:08:11.442Z] ---> da39c859bee4 [2021-01-25T07:08:11.442Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-25T07:08:11.719Z] ---> Running in 62e93a3a2c99 [2021-01-25T07:08:12.711Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-25T07:08:13.304Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-25T07:08:13.897Z] OK: 142 MiB in 39 packages [2021-01-25T07:08:15.338Z] Removing intermediate container 62e93a3a2c99 [2021-01-25T07:08:15.338Z] ---> 14399167d525 [2021-01-25T07:08:15.338Z] Step 8/24 : COPY . . [2021-01-25T07:08:16.778Z] ---> 5c1393c69cea [2021-01-25T07:08:16.778Z] Step 9/24 : RUN ${MAKE} [2021-01-25T07:08:16.778Z] ---> Running in 82b8d70ec27c [2021-01-25T07:08:17.752Z] 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-25T07:08:44.574Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-25T07:08:44.844Z] Removing intermediate container 82b8d70ec27c [2021-01-25T07:08:44.844Z] ---> 1eb8d1d9ab47 [2021-01-25T07:08:44.844Z] Step 10/24 : FROM scratch [2021-01-25T07:08:44.844Z] ---> [2021-01-25T07:08:44.844Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-25T07:08:45.117Z] ---> Running in b83576394dc6 [2021-01-25T07:08:45.391Z] Removing intermediate container b83576394dc6 [2021-01-25T07:08:45.391Z] ---> 12f362dfb705 [2021-01-25T07:08:45.391Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-25T07:08:45.666Z] ---> Running in 90c734a35267 [2021-01-25T07:08:45.942Z] Removing intermediate container 90c734a35267 [2021-01-25T07:08:45.942Z] ---> 4a4e49d9599e [2021-01-25T07:08:45.942Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-25T07:08:46.216Z] ---> Running in ac41ee68b0cc [2021-01-25T07:08:46.488Z] Removing intermediate container ac41ee68b0cc [2021-01-25T07:08:46.488Z] ---> cb77728a3a21 [2021-01-25T07:08:46.488Z] Step 14/24 : WORKDIR / [2021-01-25T07:08:46.764Z] ---> Running in b2f1f663b575 [2021-01-25T07:08:47.037Z] Removing intermediate container b2f1f663b575 [2021-01-25T07:08:47.037Z] ---> 124136aa2e2f [2021-01-25T07:08:47.037Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-25T07:08:48.018Z] ---> 9f7945195c7a [2021-01-25T07:08:48.018Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-25T07:08:48.615Z] ---> 1129212c0fa5 [2021-01-25T07:08:48.615Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-25T07:08:49.598Z] ---> 525c5422ada2 [2021-01-25T07:08:49.598Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-25T07:08:50.201Z] ---> 2e237ac8b68b [2021-01-25T07:08:50.201Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-25T07:08:51.178Z] ---> 732faad9354d [2021-01-25T07:08:51.178Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-25T07:08:51.178Z] ---> Running in c864d5ebb98a [2021-01-25T07:08:51.449Z] Removing intermediate container c864d5ebb98a [2021-01-25T07:08:51.450Z] ---> 4be20df736fd [2021-01-25T07:08:51.450Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-25T07:08:51.723Z] ---> Running in aea3cf8c7e84 [2021-01-25T07:08:51.996Z] Removing intermediate container aea3cf8c7e84 [2021-01-25T07:08:51.996Z] ---> f81038f6ecf2 [2021-01-25T07:08:51.996Z] Step 22/24 : LABEL arch=arm64 [2021-01-25T07:08:52.269Z] ---> Running in 75a3f878ba69 [2021-01-25T07:08:52.863Z] Removing intermediate container 75a3f878ba69 [2021-01-25T07:08:52.863Z] ---> f25c58a6e74d [2021-01-25T07:08:52.863Z] Step 23/24 : LABEL git_sha=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [2021-01-25T07:08:52.863Z] ---> Running in 221f1908640a [2021-01-25T07:08:53.458Z] Removing intermediate container 221f1908640a [2021-01-25T07:08:53.458Z] ---> b22aec061110 [2021-01-25T07:08:53.458Z] Step 24/24 : LABEL version=0.0.0 [2021-01-25T07:08:53.458Z] ---> Running in 5ae9ddbd7fa0 [2021-01-25T07:08:53.732Z] Removing intermediate container 5ae9ddbd7fa0 [2021-01-25T07:08:53.732Z] ---> ba3ba8860d45 [2021-01-25T07:08:53.732Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-25T07:08:54.003Z] Successfully built ba3ba8860d45 [2021-01-25T07:08:54.003Z] 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-25T07:08:56.367Z] provisioning config files... [2021-01-25T07:08:56.379Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/config6778244702111878149tmp [Pipeline] { [Pipeline] sh [2021-01-25T07:08:56.808Z] + set +x [2021-01-25T07:08:56.808Z] + curl -s https://codecov.io/bash [2021-01-25T07:08:56.808Z] + bash -s -- [2021-01-25T07:08:57.072Z] [2021-01-25T07:08:57.072Z] _____ _ [2021-01-25T07:08:57.072Z] / ____| | | [2021-01-25T07:08:57.072Z] | | ___ __| | ___ ___ _____ __ [2021-01-25T07:08:57.072Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-25T07:08:57.072Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-25T07:08:57.072Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-25T07:08:57.072Z] Bash-20210115-cec3c92 [2021-01-25T07:08:57.072Z] [2021-01-25T07:08:57.072Z] [2021-01-25T07:08:57.072Z] ==> git version 2.24.3 found [2021-01-25T07:08:57.072Z] ==> 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-25T07:08:57.072Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-25T07:08:57.072Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-25T07:08:57.072Z] ==> Jenkins CI detected. [2021-01-25T07:08:57.072Z] project root: . [2021-01-25T07:08:57.072Z] --> token set from env [2021-01-25T07:08:57.072Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-25T07:08:57.072Z] ==> Running gcov in . (disable via -X gcov) [2021-01-25T07:08:57.072Z] ==> Python coveragepy not found [2021-01-25T07:08:57.072Z] ==> Searching for coverage reports in: [2021-01-25T07:08:57.072Z] + . [2021-01-25T07:08:57.072Z] -> Found 1 reports [2021-01-25T07:08:57.072Z] ==> Detecting git/mercurial file structure [2021-01-25T07:08:57.072Z] ==> Reading reports [2021-01-25T07:08:57.072Z] + ./coverage.out bytes=136842 [2021-01-25T07:08:57.336Z] ==> Appending adjustments [2021-01-25T07:08:57.336Z] https://docs.codecov.io/docs/fixing-reports [2021-01-25T07:08:57.600Z] + Found adjustments [2021-01-25T07:08:57.600Z] ==> Gzipping contents [2021-01-25T07:08:57.600Z] 24K /tmp/codecov.DLrRwP.gz [2021-01-25T07:08:57.600Z] ==> Uploading reports [2021-01-25T07:08:57.600Z] url: https://codecov.io [2021-01-25T07:08:57.600Z] query: branch=PR-754&commit=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-754%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=754&job=&cmd_args= [2021-01-25T07:08:57.600Z] -> Pinging Codecov [2021-01-25T07:08:57.601Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-754&commit=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-754%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=754&job=&cmd_args= [2021-01-25T07:08:58.178Z] -> Uploading to [2021-01-25T07:08:58.178Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-25/7E55EF52A471D76F132DFD9A03CDDE97/63b56b3698328b71f7bf40adf7e6fe4ab988e5a4/6704f8a2-bdac-4d2c-91cc-3c619f636f66.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210125T070857Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d52ca130223088a0e3fa7059deab639b3bef95f4b221d69c3e11ee0f42fbbe86 [2021-01-25T07:08:58.178Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-25T07:08:58.178Z] Dload Upload Total Spent Left Speed [2021-01-25T07:08:58.443Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21562 0 0 100 21562 0 51090 --:--:-- --:--:-- --:--:-- 51216 [2021-01-25T07:08:58.443Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [Pipeline] } [2021-01-25T07:08:58.638Z] 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-25T07:09:02.488Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T07:09:02.855Z] ---> package-listing.sh [2021-01-25T07:09:02.855Z] ++ facter osfamily [2021-01-25T07:09:02.855Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-25T07:09:02.855Z] + OS_FAMILY=redhat [2021-01-25T07:09:02.855Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-754 [2021-01-25T07:09:02.855Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-25T07:09:02.855Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-25T07:09:02.855Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-25T07:09:02.855Z] + PACKAGES=/tmp/packages_start.txt [2021-01-25T07:09:02.855Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-754 ']' [2021-01-25T07:09:02.855Z] + PACKAGES=/tmp/packages_end.txt [2021-01-25T07:09:02.855Z] + case "${OS_FAMILY}" in [2021-01-25T07:09:02.855Z] + rpm -qa [2021-01-25T07:09:02.855Z] + sort [2021-01-25T07:09:08.187Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-25T07:09:08.187Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-25T07:09:08.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-25T07:09:08.187Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-754 ']' [2021-01-25T07:09:08.187Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-754/archives/ [2021-01-25T07:09:08.187Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-754/archives/ [Pipeline] echo [2021-01-25T07:09:08.258Z] 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-754/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-25T07:09:08.573Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:09:08.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-25T07:09:08.918Z] [2021-01-25T07:09:08.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-25T07:09:09.367Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-25T07:09:09.367Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-25T07:09:09.367Z] df20fa9351a1: Pulling fs layer [2021-01-25T07:09:09.367Z] 36b3adc4ff6f: Pulling fs layer [2021-01-25T07:09:09.367Z] 8ad3a11d3b57: Pulling fs layer [2021-01-25T07:09:09.367Z] 46f8f816bc3b: Pulling fs layer [2021-01-25T07:09:09.367Z] 93b61091891f: Pulling fs layer [2021-01-25T07:09:09.367Z] 93b9cdb0e59b: Pulling fs layer [2021-01-25T07:09:09.367Z] 5e14af77c1be: Pulling fs layer [2021-01-25T07:09:09.367Z] 01666e4c0597: Pulling fs layer [2021-01-25T07:09:09.367Z] aa168da1d23b: Pulling fs layer [2021-01-25T07:09:09.367Z] 46f8f816bc3b: Waiting [2021-01-25T07:09:09.367Z] 93b9cdb0e59b: Waiting [2021-01-25T07:09:09.367Z] 93b61091891f: Waiting [2021-01-25T07:09:09.367Z] aa168da1d23b: Waiting [2021-01-25T07:09:09.367Z] 01666e4c0597: Waiting [2021-01-25T07:09:09.367Z] 36b3adc4ff6f: Download complete [2021-01-25T07:09:09.367Z] 46f8f816bc3b: Verifying Checksum [2021-01-25T07:09:09.367Z] 46f8f816bc3b: Download complete [2021-01-25T07:09:09.631Z] df20fa9351a1: Verifying Checksum [2021-01-25T07:09:09.631Z] 93b9cdb0e59b: Verifying Checksum [2021-01-25T07:09:09.631Z] 93b9cdb0e59b: Download complete [2021-01-25T07:09:09.631Z] 5e14af77c1be: Download complete [2021-01-25T07:09:09.631Z] 93b61091891f: Download complete [2021-01-25T07:09:09.631Z] 01666e4c0597: Verifying Checksum [2021-01-25T07:09:09.631Z] 01666e4c0597: Download complete [2021-01-25T07:09:09.902Z] df20fa9351a1: Pull complete [2021-01-25T07:09:10.166Z] 36b3adc4ff6f: Pull complete [2021-01-25T07:09:10.431Z] 8ad3a11d3b57: Verifying Checksum [2021-01-25T07:09:10.431Z] 8ad3a11d3b57: Download complete [2021-01-25T07:09:11.397Z] 8ad3a11d3b57: Pull complete [2021-01-25T07:09:11.397Z] 46f8f816bc3b: Pull complete [2021-01-25T07:09:12.368Z] aa168da1d23b: Verifying Checksum [2021-01-25T07:09:12.368Z] aa168da1d23b: Download complete [2021-01-25T07:09:12.368Z] 93b61091891f: Pull complete [2021-01-25T07:09:12.368Z] 93b9cdb0e59b: Pull complete [2021-01-25T07:09:12.632Z] 5e14af77c1be: Pull complete [2021-01-25T07:09:12.632Z] 01666e4c0597: Pull complete [2021-01-25T07:09:20.834Z] aa168da1d23b: Pull complete [2021-01-25T07:09:20.834Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-25T07:09:20.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-25T07:09:20.834Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-25T07:09:21.068Z] prd-centos7-docker-4c-2g-22587 does not seem to be running inside a container [2021-01-25T07:09:21.121Z] $ 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-754/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-754 -v /w/workspace/dgexfoundry_device-sdk-go_PR-754:/w/workspace/dgexfoundry_device-sdk-go_PR-754:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-754@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-25T07:09:24.738Z] $ docker top d327396d2daa75db76c633d1716ffef89f214f47fcca8c01fe94de17df5b9bc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T07:09:25.367Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-25T07:09:25.694Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-25T07:09:26.015Z] + ls /var/log/sa-host [2021-01-25T07:09:26.015Z] + sadf -c /var/log/sa-host/sa23 [2021-01-25T07:09:26.015Z] file_magic: OK [2021-01-25T07:09:26.015Z] HZ: Using current value: 100 [2021-01-25T07:09:26.015Z] file_header: OK [2021-01-25T07:09:26.015Z] 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-25T07:09:26.015Z] Statistics: [2021-01-25T07:09:26.015Z] Hnuu...uuuununununu... [2021-01-25T07:09:26.015Z] File successfully converted to sysstat format version 12.2.1 [2021-01-25T07:09:26.015Z] + sadf -c /var/log/sa-host/sa25 [2021-01-25T07:09:26.015Z] file_magic: OK [2021-01-25T07:09:26.015Z] HZ: Using current value: 100 [2021-01-25T07:09:26.015Z] file_header: OK [2021-01-25T07:09:26.015Z] 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-25T07:09:26.015Z] Statistics: [2021-01-25T07:09:26.015Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-25T07:09:26.015Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-25T07:09:26.816Z] provisioning config files... [2021-01-25T07:09:26.833Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/config6501959886608973553tmp [Pipeline] { [Pipeline] echo [2021-01-25T07:09:26.957Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T07:09:27.310Z] ---> create-netrc.sh [Pipeline] } [2021-01-25T07:09:27.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-25T07:09:27.479Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T07:09:27.822Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-25T07:09:27.853Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T07:09:28.202Z] ---> sudo-logs.sh [2021-01-25T07:09:28.202Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-25T07:09:28.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T07:09:28.582Z] ---> job-cost.sh [2021-01-25T07:09:28.582Z] lf-activate-venv: SKIPPING [2021-01-25T07:09:28.582Z] INFO: No Stack... [2021-01-25T07:09:29.529Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-25T07:09:30.110Z] INFO: Archiving Costs [Pipeline] echo [2021-01-25T07:09:30.149Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T07:09:30.486Z] ---> logs-deploy.sh [2021-01-25T07:09:30.486Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-754/1 [2021-01-25T07:09:30.486Z] INFO: archiving workspace using pattern(s): [2021-01-25T07:09:32.416Z] Archives upload complete. [2021-01-25T07:09:32.416Z] INFO: archiving logs to Nexus [2021-01-25T07:09:33.363Z] ---> uname -a: [2021-01-25T07:09:33.363Z] Linux prd-centos7-docker-4c-2g-22587.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-25T07:09:33.363Z] [2021-01-25T07:09:33.363Z] [2021-01-25T07:09:33.363Z] ---> lscpu: [2021-01-25T07:09:33.363Z] Architecture: x86_64 [2021-01-25T07:09:33.363Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-25T07:09:33.363Z] Byte Order: Little Endian [2021-01-25T07:09:33.363Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-25T07:09:33.363Z] CPU(s): 4 [2021-01-25T07:09:33.363Z] On-line CPU(s) list: 0-3 [2021-01-25T07:09:33.363Z] Thread(s) per core: 1 [2021-01-25T07:09:33.363Z] Core(s) per socket: 1 [2021-01-25T07:09:33.363Z] Socket(s): 4 [2021-01-25T07:09:33.363Z] NUMA node(s): 1 [2021-01-25T07:09:33.363Z] Vendor ID: GenuineIntel [2021-01-25T07:09:33.363Z] CPU family: 6 [2021-01-25T07:09:33.363Z] Model: 44 [2021-01-25T07:09:33.363Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-25T07:09:33.363Z] Stepping: 1 [2021-01-25T07:09:33.363Z] CPU MHz: 2933.436 [2021-01-25T07:09:33.363Z] BogoMIPS: 5866.87 [2021-01-25T07:09:33.363Z] Virtualization: VT-x [2021-01-25T07:09:33.363Z] Hypervisor vendor: KVM [2021-01-25T07:09:33.363Z] Virtualization type: full [2021-01-25T07:09:33.363Z] L1d cache: 128 KiB [2021-01-25T07:09:33.363Z] L1i cache: 128 KiB [2021-01-25T07:09:33.363Z] L2 cache: 16 MiB [2021-01-25T07:09:33.363Z] L3 cache: 64 MiB [2021-01-25T07:09:33.363Z] NUMA node0 CPU(s): 0-3 [2021-01-25T07:09:33.363Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-25T07:09:33.363Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-25T07:09:33.363Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-25T07:09:33.363Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-25T07:09:33.363Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-25T07:09:33.363Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-25T07:09:33.363Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-25T07:09:33.363Z] Vulnerability Srbds: Not affected [2021-01-25T07:09:33.363Z] Vulnerability Tsx async abort: Not affected [2021-01-25T07:09:33.363Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-01-25T07:09:33.363Z] [2021-01-25T07:09:33.363Z] [2021-01-25T07:09:33.363Z] ---> nproc: [2021-01-25T07:09:33.363Z] 4 [2021-01-25T07:09:33.363Z] [2021-01-25T07:09:33.363Z] [2021-01-25T07:09:33.363Z] ---> df -h: [2021-01-25T07:09:33.363Z] Filesystem Size Used Available Use% Mounted on [2021-01-25T07:09:33.363Z] overlay 50.0G 7.3G 42.7G 15% / [2021-01-25T07:09:33.363Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-01-25T07:09:33.363Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-01-25T07:09:33.363Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-01-25T07:09:33.363Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-01-25T07:09:33.363Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-01-25T07:09:33.363Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-01-25T07:09:33.363Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-01-25T07:09:33.363Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-01-25T07:09:33.363Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-01-25T07:09:33.363Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-754 [2021-01-25T07:09:33.363Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp [2021-01-25T07:09:33.363Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-01-25T07:09:33.363Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-01-25T07:09:33.363Z] [2021-01-25T07:09:33.363Z] [2021-01-25T07:09:33.363Z] ---> free -m: [2021-01-25T07:09:33.363Z] total used free shared buff/cache available [2021-01-25T07:09:33.363Z] Mem: 1837 697 94 0 1045 1035 [2021-01-25T07:09:33.363Z] Swap: 1023 1 1022 [2021-01-25T07:09:33.363Z] [2021-01-25T07:09:33.363Z]