Pull request #746 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e869826568a3ef92961d02a1aadb5b263d2aa395+1c2f003b09666c9aca7d142d934c7ec3af9c247b (917e5a38d7798f8f73520288d95f69cf80128e78) 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-746/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-746/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-21888 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [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-746 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit e869826568a3ef92961d02a1aadb5b263d2aa395 Merge succeeded, producing e869826568a3ef92961d02a1aadb5b263d2aa395 Checking out Revision e869826568a3ef92961d02a1aadb5b263d2aa395 (PR-746) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # 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 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 Commit message: "refactor: refactor autoevent package for 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-21T08:16:41.235Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-21T08:16:41.562Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-21T08:16:41.803Z] ========================================================= [2021-01-21T08:16:41.803Z] EdgeX Global Pipelines Version Info [2021-01-21T08:16:41.803Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:16:43.293Z] ------------------- [2021-01-21T08:16:43.293Z] stable info: [2021-01-21T08:16:43.293Z] ------------------- [2021-01-21T08:16:43.293Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-21T08:16:43.293Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-21T08:16:43.293Z] Message: update stable to v1.0.179 [2021-01-21T08:16:44.239Z] ------------------- [2021-01-21T08:16:44.239Z] experimental info: [2021-01-21T08:16:44.239Z] ------------------- [2021-01-21T08:16:44.239Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-21T08:16:44.239Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-21T08:16:44.239Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-21T08:16:44.696Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-21T08:16:44.819Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-21T08:16:44.973Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-21T08:16:45.108Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-21T08:16:45.238Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-21T08:16:45.368Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-21T08:16:45.498Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-21T08:16:45.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-21T08:16:45.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-21T08:16:45.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-21T08:16:45.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-21T08:16:46.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-21T08:16:46.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-21T08:16:46.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-21T08:16:46.505Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-21T08:16:46.633Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T08:16:46.759Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T08:16:46.901Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T08:16:47.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-21T08:16:47.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-21T08:16:47.303Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-21T08:16:47.435Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-21T08:16:47.580Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-21T08:16:47.711Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-21T08:16:47.857Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-21T08:16:47.985Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-21T08:16:48.113Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-21T08:16:48.255Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo [2021-01-21T08:16:48.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo [2021-01-21T08:16:48.577Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo [2021-01-21T08:16:48.721Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e869826568a3ef92961d02a1aadb5b263d2aa395 [Pipeline] echo [2021-01-21T08:16:48.867Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e869826 [Pipeline] echo [2021-01-21T08:16:48.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T08:16:49.281Z] provisioning config files... [2021-01-21T08:16:49.319Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config4060844654924953554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:16:49.772Z] ---> docker-login.sh [2021-01-21T08:16:49.772Z] nexus3.edgexfoundry.org:10001 [2021-01-21T08:16:50.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:16:50.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:16:50.035Z] Configure a credential helper to remove this warning. See [2021-01-21T08:16:50.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:16:50.035Z] [2021-01-21T08:16:50.035Z] Login Succeeded [2021-01-21T08:16:50.035Z] nexus3.edgexfoundry.org:10002 [2021-01-21T08:16:50.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:16:50.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:16:50.297Z] Configure a credential helper to remove this warning. See [2021-01-21T08:16:50.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:16:50.297Z] [2021-01-21T08:16:50.297Z] Login Succeeded [2021-01-21T08:16:50.297Z] nexus3.edgexfoundry.org:10003 [2021-01-21T08:16:50.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:16:50.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:16:50.559Z] Configure a credential helper to remove this warning. See [2021-01-21T08:16:50.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:16:50.559Z] [2021-01-21T08:16:50.559Z] Login Succeeded [2021-01-21T08:16:50.559Z] nexus3.edgexfoundry.org:10004 [2021-01-21T08:16:50.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:16:50.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:16:50.559Z] Configure a credential helper to remove this warning. See [2021-01-21T08:16:50.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:16:50.559Z] [2021-01-21T08:16:50.559Z] Login Succeeded [2021-01-21T08:16:50.559Z] docker.io [2021-01-21T08:16:50.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:16:51.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:16:51.088Z] Configure a credential helper to remove this warning. See [2021-01-21T08:16:51.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:16:51.088Z] [2021-01-21T08:16:51.088Z] Login Succeeded [2021-01-21T08:16:51.088Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T08:16:51.112Z] 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-21T08:16:52.492Z] + git log --format=format:%s -1 e869826568a3ef92961d02a1aadb5b263d2aa395 [Pipeline] echo [2021-01-21T08:16:52.573Z] GIT_COMMIT: e869826568a3ef92961d02a1aadb5b263d2aa395, Commit Message: refactor: refactor autoevent package for v2 [Pipeline] echo [2021-01-21T08:16:52.694Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:16:53.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T08:16:53.757Z] [2021-01-21T08:16:53.757Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:16:54.143Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T08:16:54.143Z] latest: Pulling from edgex-devops/git-semver [2021-01-21T08:16:54.143Z] 31603596830f: Pulling fs layer [2021-01-21T08:16:54.143Z] 2a8b12db71e7: Pulling fs layer [2021-01-21T08:16:54.143Z] 6ca5941a6612: Pulling fs layer [2021-01-21T08:16:54.143Z] ecc8261a40a4: Pulling fs layer [2021-01-21T08:16:54.143Z] ecc8261a40a4: Waiting [2021-01-21T08:16:54.143Z] 2a8b12db71e7: Verifying Checksum [2021-01-21T08:16:54.143Z] 2a8b12db71e7: Download complete [2021-01-21T08:16:54.409Z] 31603596830f: Verifying Checksum [2021-01-21T08:16:54.409Z] 31603596830f: Download complete [2021-01-21T08:16:54.409Z] ecc8261a40a4: Verifying Checksum [2021-01-21T08:16:54.409Z] ecc8261a40a4: Download complete [2021-01-21T08:16:54.409Z] 6ca5941a6612: Verifying Checksum [2021-01-21T08:16:54.409Z] 6ca5941a6612: Download complete [2021-01-21T08:16:54.672Z] 31603596830f: Pull complete [2021-01-21T08:16:54.672Z] 2a8b12db71e7: Pull complete [2021-01-21T08:16:55.616Z] 6ca5941a6612: Pull complete [2021-01-21T08:16:55.616Z] ecc8261a40a4: Pull complete [2021-01-21T08:16:55.616Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-21T08:16:55.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T08:16:55.877Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-21T08:16:55.995Z] prd-centos7-docker-4c-2g-21888 does not seem to be running inside a container [2021-01-21T08:16:56.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-21T08:16:58.111Z] $ docker top a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-21T08:16:58.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T08:16:58.498Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T08:16:58.689Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T08:16:58.692Z] $ docker exec a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e ssh-agent [2021-01-21T08:16:58.856Z] SSH_AUTH_SOCK=/tmp/ssh-ZVC38CnlxP2N/agent.11 [2021-01-21T08:16:58.857Z] SSH_AGENT_PID=16 [2021-01-21T08:16:58.866Z] Running ssh-add (command line suppressed) [2021-01-21T08:16:58.987Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_8011579908194864987.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_8011579908194864987.key) [2021-01-21T08:16:59.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T08:16:59.456Z] + git tag --points-at HEAD [Pipeline] } [2021-01-21T08:16:59.483Z] $ docker exec --env ******** --env ******** a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e ssh-agent -k [2021-01-21T08:16:59.591Z] unset SSH_AUTH_SOCK; [2021-01-21T08:16:59.591Z] unset SSH_AGENT_PID; [2021-01-21T08:16:59.591Z] echo Agent pid 16 killed; [2021-01-21T08:16:59.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-21T08:16:59.829Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T08:16:59.829Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T08:16:59.986Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T08:16:59.990Z] $ docker exec a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e ssh-agent [2021-01-21T08:17:00.149Z] SSH_AUTH_SOCK=/tmp/ssh-xt7cXkNKCw1U/agent.46 [2021-01-21T08:17:00.149Z] SSH_AGENT_PID=51 [2021-01-21T08:17:00.156Z] Running ssh-add (command line suppressed) [2021-01-21T08:17:00.269Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_4884217361118733435.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_4884217361118733435.key) [2021-01-21T08:17:00.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T08:17:00.685Z] + git semver init [2021-01-21T08:17:00.685Z] # -> Open(): unable to determine branch for HEAD [2021-01-21T08:17:00.685Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git [2021-01-21T08:17:00.685Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-21T08:17:00.685Z] # $SEMVER_REMOTE_NAME = origin [2021-01-21T08:17:00.685Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-21T08:17:00.685Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-21T08:17:00.685Z] # $SEMVER_BRANCH = PR-746 [2021-01-21T08:17:00.685Z] # $SEMVER_TEMP = /tmp/semver-061698530 [2021-01-21T08:17:00.685Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-21T08:17:01.629Z] # '/tmp/semver-061698530' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' [2021-01-21T08:17:01.629Z] # -> Force: false [2021-01-21T08:17:01.629Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } [2021-01-21T08:17:01.656Z] $ docker exec --env ******** --env ******** a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e ssh-agent -k [2021-01-21T08:17:01.785Z] unset SSH_AUTH_SOCK; [2021-01-21T08:17:01.785Z] unset SSH_AGENT_PID; [2021-01-21T08:17:01.786Z] echo Agent pid 51 killed; [2021-01-21T08:17:01.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-21T08:17:02.484Z] + git semver [Pipeline] } [2021-01-21T08:17:02.515Z] $ docker stop --time=1 a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e [2021-01-21T08:17:03.857Z] $ docker rm -f a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T08:17:04.372Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-21T08:17:04.773Z] Stashed 1 file(s) [Pipeline] echo [2021-01-21T08:17:04.797Z] [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-21T08:17:20.700Z] Still waiting to schedule task [2021-01-21T08:17:20.700Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-21T08:17:20.730Z] Still waiting to schedule task [2021-01-21T08:17:20.730Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-21T08:19:07.789Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21889 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-21T08:19:07.896Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-21T08:19:12.740Z] using credential edgex-jenkins-ssh [2021-01-21T08:19:12.798Z] Cloning the remote Git repository [2021-01-21T08:19:12.847Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:19:12.962Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-21T08:19:13.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:19:13.046Z] > git --version # timeout=10 [2021-01-21T08:19:13.064Z] > git --version # 'git version 2.17.1' [2021-01-21T08:19:13.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:19:13.134Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T08:19:14.114Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T08:19:14.134Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T08:19:14.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T08:19:14.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:19:14.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:19:14.211Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-21T08:19:14.819Z] Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit e869826568a3ef92961d02a1aadb5b263d2aa395 [2021-01-21T08:19:15.047Z] Merge succeeded, producing e869826568a3ef92961d02a1aadb5b263d2aa395 [2021-01-21T08:19:15.047Z] Checking out Revision e869826568a3ef92961d02a1aadb5b263d2aa395 (PR-746) [2021-01-21T08:19:14.836Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T08:19:14.850Z] > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 [2021-01-21T08:19:14.963Z] > git remote # timeout=10 [2021-01-21T08:19:14.981Z] > git config --get remote.origin.url # timeout=10 [2021-01-21T08:19:14.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:19:15.009Z] > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [2021-01-21T08:19:15.030Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-21T08:19:15.063Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T08:19:15.079Z] > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 [2021-01-21T08:19:19.375Z] Commit message: "refactor: refactor autoevent package for v2" [2021-01-21T08:19:19.424Z] > git --version # timeout=10 [2021-01-21T08:19:19.435Z] > git --version # 'git version 2.17.1' [2021-01-21T08:19:19.450Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T08:19:21.247Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-21T08:19:21.652Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-21T08:19:22.011Z] + true [2021-01-21T08:19:22.011Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T08:19:24.787Z] provisioning config files... [2021-01-21T08:19:24.880Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3074864922440231968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:19:25.349Z] ---> docker-login.sh [2021-01-21T08:19:25.349Z] nexus3.edgexfoundry.org:10001 [2021-01-21T08:19:25.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:19:26.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:19:26.569Z] Configure a credential helper to remove this warning. See [2021-01-21T08:19:26.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:19:26.569Z] [2021-01-21T08:19:26.569Z] Login Succeeded [2021-01-21T08:19:26.569Z] nexus3.edgexfoundry.org:10002 [2021-01-21T08:19:26.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:19:27.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:19:27.119Z] Configure a credential helper to remove this warning. See [2021-01-21T08:19:27.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:19:27.119Z] [2021-01-21T08:19:27.119Z] Login Succeeded [2021-01-21T08:19:27.119Z] nexus3.edgexfoundry.org:10003 [2021-01-21T08:19:27.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:19:27.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:19:27.668Z] Configure a credential helper to remove this warning. See [2021-01-21T08:19:27.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:19:27.668Z] [2021-01-21T08:19:27.668Z] Login Succeeded [2021-01-21T08:19:27.668Z] nexus3.edgexfoundry.org:10004 [2021-01-21T08:19:27.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:19:27.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:19:27.945Z] Configure a credential helper to remove this warning. See [2021-01-21T08:19:27.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:19:27.945Z] [2021-01-21T08:19:27.945Z] Login Succeeded [2021-01-21T08:19:27.945Z] docker.io [2021-01-21T08:19:28.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:19:28.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:19:28.818Z] Configure a credential helper to remove this warning. See [2021-01-21T08:19:28.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:19:28.818Z] [2021-01-21T08:19:28.818Z] Login Succeeded [2021-01-21T08:19:28.818Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T08:19:28.853Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-21T08:19:29.415Z] ========================================================= [2021-01-21T08:19:29.415Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-21T08:19:29.415Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:19:29.824Z] + 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-21T08:19:30.439Z] Sending build context to Docker daemon 2.391MB [2021-01-21T08:19:30.439Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T08:19:30.439Z] Step 2/8 : FROM ${BASE} [2021-01-21T08:19:30.439Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-21T08:19:30.439Z] 5f621e34cdf4: Pulling fs layer [2021-01-21T08:19:30.439Z] a4357932f1b6: Pulling fs layer [2021-01-21T08:19:30.439Z] 18c013af1878: Pulling fs layer [2021-01-21T08:19:30.439Z] 00ac8860ef70: Pulling fs layer [2021-01-21T08:19:30.439Z] 63d7cb157983: Pulling fs layer [2021-01-21T08:19:30.439Z] b116817d02f9: Pulling fs layer [2021-01-21T08:19:30.439Z] 745a02a5169b: Pulling fs layer [2021-01-21T08:19:30.439Z] 63d7cb157983: Waiting [2021-01-21T08:19:30.439Z] b116817d02f9: Waiting [2021-01-21T08:19:30.439Z] 745a02a5169b: Waiting [2021-01-21T08:19:30.439Z] 00ac8860ef70: Waiting [2021-01-21T08:19:30.439Z] 18c013af1878: Verifying Checksum [2021-01-21T08:19:30.439Z] 18c013af1878: Download complete [2021-01-21T08:19:30.439Z] a4357932f1b6: Verifying Checksum [2021-01-21T08:19:30.439Z] a4357932f1b6: Download complete [2021-01-21T08:19:30.439Z] 63d7cb157983: Verifying Checksum [2021-01-21T08:19:30.439Z] 63d7cb157983: Download complete [2021-01-21T08:19:30.439Z] b116817d02f9: Verifying Checksum [2021-01-21T08:19:30.439Z] b116817d02f9: Download complete [2021-01-21T08:19:31.423Z] 5f621e34cdf4: Download complete [2021-01-21T08:19:32.027Z] 5f621e34cdf4: Pull complete [2021-01-21T08:19:32.630Z] a4357932f1b6: Pull complete [2021-01-21T08:19:32.907Z] 18c013af1878: Pull complete [2021-01-21T08:19:33.179Z] 745a02a5169b: Verifying Checksum [2021-01-21T08:19:33.179Z] 745a02a5169b: Download complete [2021-01-21T08:19:35.159Z] 00ac8860ef70: Verifying Checksum [2021-01-21T08:19:35.159Z] 00ac8860ef70: Download complete [2021-01-21T08:19:45.326Z] 00ac8860ef70: Pull complete [2021-01-21T08:19:45.326Z] 63d7cb157983: Pull complete [2021-01-21T08:19:45.326Z] b116817d02f9: Pull complete [2021-01-21T08:19:49.660Z] 745a02a5169b: Pull complete [2021-01-21T08:19:49.660Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-21T08:19:49.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-21T08:19:49.660Z] ---> b7e6874047d6 [2021-01-21T08:19:49.660Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T08:19:52.281Z] ---> Running in 0cbcae47db0a [2021-01-21T08:19:52.281Z] Removing intermediate container 0cbcae47db0a [2021-01-21T08:19:52.281Z] ---> c91d6d02830c [2021-01-21T08:19:52.281Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T08:19:52.281Z] ---> Running in 79755c0b5028 [2021-01-21T08:19:54.921Z] Removing intermediate container 79755c0b5028 [2021-01-21T08:19:54.921Z] ---> 9d16e12f6933 [2021-01-21T08:19:54.922Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-21T08:19:54.922Z] ---> Running in e0a0e4060d3d [2021-01-21T08:19:55.905Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-21T08:19:56.498Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-21T08:19:57.095Z] OK: 142 MiB in 39 packages [2021-01-21T08:19:58.535Z] Removing intermediate container e0a0e4060d3d [2021-01-21T08:19:58.536Z] ---> 71a12a709dec [2021-01-21T08:19:58.536Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-21T08:19:58.536Z] ---> Running in 8a68a1c9bf1b [2021-01-21T08:19:59.138Z] Removing intermediate container 8a68a1c9bf1b [2021-01-21T08:19:59.138Z] ---> 510c66b29c2e [2021-01-21T08:19:59.138Z] Step 7/8 : COPY . . [2021-01-21T08:20:00.114Z] ---> 9e157a3b59dc [2021-01-21T08:20:00.114Z] Step 8/8 : RUN go mod download [2021-01-21T08:20:00.393Z] ---> Running in a16703a8b8e7 [2021-01-21T08:20:22.687Z] Removing intermediate container a16703a8b8e7 [2021-01-21T08:20:22.687Z] ---> ef454dc4cf45 [2021-01-21T08:20:22.687Z] Successfully built ef454dc4cf45 [2021-01-21T08:20:22.687Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:20:23.102Z] + docker inspect -f . ci-base-image-arm64 [2021-01-21T08:20:23.102Z] . [Pipeline] withDockerContainer [2021-01-21T08:20:23.424Z] prd-ubuntu18.04-docker-arm64-4c-16g-21889 does not seem to be running inside a container [2021-01-21T08:20:23.576Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-21T08:20:25.076Z] $ docker top 4c5216e20cac7f7fc2049b4c0c44884a1b3861ee7120378e384574f27621ccbe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T08:20:26.181Z] + go version [2021-01-21T08:20:26.181Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-21T08:20:26.213Z] $ docker stop --time=1 4c5216e20cac7f7fc2049b4c0c44884a1b3861ee7120378e384574f27621ccbe [2021-01-21T08:20:28.130Z] $ docker rm -f 4c5216e20cac7f7fc2049b4c0c44884a1b3861ee7120378e384574f27621ccbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:20:29.431Z] + docker inspect -f . ci-base-image-arm64 [2021-01-21T08:20:29.431Z] . [2021-01-21T08:20:29.475Z] Running on prd-centos7-docker-4c-2g-21890 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] withDockerContainer [2021-01-21T08:20:29.754Z] prd-ubuntu18.04-docker-arm64-4c-16g-21889 does not seem to be running inside a container [2021-01-21T08:20:29.836Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-21T08:20:31.315Z] $ docker top 160233f228d79fdfb5ac2c3a3641f2a041ec502834a6d9baf864b72e0a17f0c0 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-01-21T08:20:31.859Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-21T08:20:32.398Z] + make test [2021-01-21T08:20:32.398Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-21T08:20:38.299Z] using credential edgex-jenkins-ssh [2021-01-21T08:20:38.355Z] Cloning the remote Git repository [2021-01-21T08:20:38.417Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:20:38.496Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-21T08:20:38.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:20:38.603Z] > git --version # timeout=10 [2021-01-21T08:20:38.611Z] > git --version # 'git version 2.24.3' [2021-01-21T08:20:38.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:20:38.679Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T08:20:40.170Z] Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit e869826568a3ef92961d02a1aadb5b263d2aa395 [2021-01-21T08:20:40.443Z] Merge succeeded, producing e869826568a3ef92961d02a1aadb5b263d2aa395 [2021-01-21T08:20:40.443Z] Checking out Revision e869826568a3ef92961d02a1aadb5b263d2aa395 (PR-746) [2021-01-21T08:20:39.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T08:20:39.545Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T08:20:39.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T08:20:39.607Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:20:39.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:20:39.615Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-21T08:20:40.187Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T08:20:40.235Z] > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 [2021-01-21T08:20:40.344Z] > git remote # timeout=10 [2021-01-21T08:20:40.357Z] > git config --get remote.origin.url # timeout=10 [2021-01-21T08:20:40.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:20:40.383Z] > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [2021-01-21T08:20:40.415Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-21T08:20:40.449Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T08:20:40.457Z] > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 [2021-01-21T08:20:44.907Z] Commit message: "refactor: refactor autoevent package for v2" [2021-01-21T08:20:44.944Z] > git --version # timeout=10 [2021-01-21T08:20:44.973Z] > git --version # 'git version 2.24.3' [2021-01-21T08:20:45.009Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T08:20:46.714Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-21T08:20:47.117Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-21T08:20:47.473Z] + true [2021-01-21T08:20:47.473Z] + sudo service docker restart [2021-01-21T08:20:47.473Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T08:20:49.646Z] provisioning config files... [2021-01-21T08:20:49.701Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4306486086807101030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:20:50.302Z] ---> docker-login.sh [2021-01-21T08:20:50.302Z] nexus3.edgexfoundry.org:10001 [2021-01-21T08:20:50.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:20:51.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:20:51.170Z] Configure a credential helper to remove this warning. See [2021-01-21T08:20:51.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:20:51.170Z] [2021-01-21T08:20:51.170Z] Login Succeeded [2021-01-21T08:20:51.170Z] nexus3.edgexfoundry.org:10002 [2021-01-21T08:20:51.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:20:51.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:20:51.466Z] Configure a credential helper to remove this warning. See [2021-01-21T08:20:51.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:20:51.466Z] [2021-01-21T08:20:51.466Z] Login Succeeded [2021-01-21T08:20:51.466Z] nexus3.edgexfoundry.org:10003 [2021-01-21T08:20:51.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:20:52.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:20:52.061Z] Configure a credential helper to remove this warning. See [2021-01-21T08:20:52.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:20:52.061Z] [2021-01-21T08:20:52.061Z] Login Succeeded [2021-01-21T08:20:52.061Z] nexus3.edgexfoundry.org:10004 [2021-01-21T08:20:52.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:20:52.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:20:52.353Z] Configure a credential helper to remove this warning. See [2021-01-21T08:20:52.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:20:52.353Z] [2021-01-21T08:20:52.353Z] Login Succeeded [2021-01-21T08:20:52.353Z] docker.io [2021-01-21T08:20:52.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:20:52.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:20:52.894Z] Configure a credential helper to remove this warning. See [2021-01-21T08:20:52.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:20:52.894Z] [2021-01-21T08:20:52.894Z] Login Succeeded [2021-01-21T08:20:52.894Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T08:20:52.936Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-21T08:20:53.737Z] ========================================================= [2021-01-21T08:20:53.737Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-21T08:20:53.737Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:20:54.368Z] + 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-21T08:20:54.611Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-21T08:20:55.006Z] Sending build context to Docker daemon 2.383MB [2021-01-21T08:20:55.006Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T08:20:55.006Z] Step 2/8 : FROM ${BASE} [2021-01-21T08:20:55.006Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-21T08:20:55.006Z] 188c0c94c7c5: Pulling fs layer [2021-01-21T08:20:55.006Z] 0ef7d3d256c8: Pulling fs layer [2021-01-21T08:20:55.006Z] de9db76c5a1d: Pulling fs layer [2021-01-21T08:20:55.006Z] bca2f99d35d6: Pulling fs layer [2021-01-21T08:20:55.006Z] 93359f2a8cfa: Pulling fs layer [2021-01-21T08:20:55.006Z] 7c6f9722023f: Pulling fs layer [2021-01-21T08:20:55.006Z] a35cf1a2eb13: Pulling fs layer [2021-01-21T08:20:55.006Z] bca2f99d35d6: Waiting [2021-01-21T08:20:55.006Z] 93359f2a8cfa: Waiting [2021-01-21T08:20:55.006Z] 7c6f9722023f: Waiting [2021-01-21T08:20:55.006Z] a35cf1a2eb13: Waiting [2021-01-21T08:20:55.006Z] de9db76c5a1d: Verifying Checksum [2021-01-21T08:20:55.006Z] de9db76c5a1d: Download complete [2021-01-21T08:20:55.006Z] 0ef7d3d256c8: Verifying Checksum [2021-01-21T08:20:55.006Z] 0ef7d3d256c8: Download complete [2021-01-21T08:20:55.282Z] 93359f2a8cfa: Verifying Checksum [2021-01-21T08:20:55.282Z] 93359f2a8cfa: Download complete [2021-01-21T08:20:55.569Z] 7c6f9722023f: Verifying Checksum [2021-01-21T08:20:55.569Z] 7c6f9722023f: Download complete [2021-01-21T08:20:55.850Z] 188c0c94c7c5: Verifying Checksum [2021-01-21T08:20:55.850Z] 188c0c94c7c5: Download complete [2021-01-21T08:20:56.472Z] 188c0c94c7c5: Pull complete [2021-01-21T08:20:56.781Z] 0ef7d3d256c8: Pull complete [2021-01-21T08:20:57.068Z] de9db76c5a1d: Pull complete [2021-01-21T08:20:59.777Z] a35cf1a2eb13: Verifying Checksum [2021-01-21T08:20:59.777Z] a35cf1a2eb13: Download complete [2021-01-21T08:21:01.337Z] bca2f99d35d6: Verifying Checksum [2021-01-21T08:21:01.337Z] bca2f99d35d6: Download complete [2021-01-21T08:21:14.920Z] bca2f99d35d6: Pull complete [2021-01-21T08:21:14.920Z] 93359f2a8cfa: Pull complete [2021-01-21T08:21:14.920Z] 7c6f9722023f: Pull complete [2021-01-21T08:21:21.903Z] a35cf1a2eb13: Pull complete [2021-01-21T08:21:21.903Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-21T08:21:21.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-21T08:21:21.903Z] ---> a62c8e92a672 [2021-01-21T08:21:21.903Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T08:21:21.903Z] ---> Running in 2db3dae0bcb1 [2021-01-21T08:21:21.903Z] Removing intermediate container 2db3dae0bcb1 [2021-01-21T08:21:21.903Z] ---> a1d23b6e855f [2021-01-21T08:21:21.903Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T08:21:22.197Z] ---> Running in e5c1bee5c41d [2021-01-21T08:21:23.748Z] Removing intermediate container e5c1bee5c41d [2021-01-21T08:21:23.748Z] ---> 95e87b7a0005 [2021-01-21T08:21:23.748Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-21T08:21:24.049Z] ---> Running in 1ddc411e5bb9 [2021-01-21T08:21:25.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-21T08:21:26.161Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-21T08:21:26.463Z] OK: 166 MiB in 39 packages [2021-01-21T08:21:27.111Z] Removing intermediate container 1ddc411e5bb9 [2021-01-21T08:21:27.111Z] ---> 77c58352fa79 [2021-01-21T08:21:27.111Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-21T08:21:27.111Z] ---> Running in 87307bc467a3 [2021-01-21T08:21:27.381Z] Removing intermediate container 87307bc467a3 [2021-01-21T08:21:27.381Z] ---> c5949594f883 [2021-01-21T08:21:27.381Z] Step 7/8 : COPY . . [2021-01-21T08:21:29.350Z] ---> 08650092b75b [2021-01-21T08:21:29.350Z] Step 8/8 : RUN go mod download [2021-01-21T08:21:29.350Z] ---> Running in 7776397468f9 [2021-01-21T08:21:33.679Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-21T08:21:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-21T08:21:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-21T08:21:36.329Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 15.2% of statements [2021-01-21T08:21:37.314Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.224s coverage: 97.1% of statements [2021-01-21T08:21:56.459Z] Removing intermediate container 7776397468f9 [2021-01-21T08:21:56.459Z] ---> 60cb159321eb [2021-01-21T08:21:56.459Z] Successfully built 60cb159321eb [2021-01-21T08:21:56.459Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:21:56.983Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-21T08:21:57.579Z] . [Pipeline] withDockerContainer [2021-01-21T08:21:57.788Z] prd-centos7-docker-4c-2g-21890 does not seem to be running inside a container [2021-01-21T08:21:57.894Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-21T08:21:59.859Z] $ docker top 4086f33a1db770a10c115b2c9352be2327a6a6b4cf84bcc34c243c355be657f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T08:22:01.070Z] + go version [2021-01-21T08:22:01.070Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-21T08:22:01.175Z] $ docker stop --time=1 4086f33a1db770a10c115b2c9352be2327a6a6b4cf84bcc34c243c355be657f1 [2021-01-21T08:22:03.146Z] $ docker rm -f 4086f33a1db770a10c115b2c9352be2327a6a6b4cf84bcc34c243c355be657f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:22:04.451Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-21T08:22:04.451Z] . [Pipeline] withDockerContainer [2021-01-21T08:22:04.858Z] prd-centos7-docker-4c-2g-21890 does not seem to be running inside a container [2021-01-21T08:22:04.974Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-21T08:22:06.237Z] $ docker top 140ca8df551996b55e24a6ad2c7ef20b01cfba73aa4ff13eaac8a6fb4e31c73d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T08:22:07.389Z] + make test [2021-01-21T08:22:07.389Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-21T08:22:09.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.119s coverage: 9.4% of statements [2021-01-21T08:22:09.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.115s coverage: 22.9% of statements [2021-01-21T08:22:09.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-21T08:22:09.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.146s coverage: 84.8% of statements [2021-01-21T08:22:09.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-21T08:22:09.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-21T08:22:09.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-21T08:22:09.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-21T08:22:09.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.182s coverage: 53.8% of statements [2021-01-21T08:22:09.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-21T08:22:09.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-21T08:22:09.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.175s coverage: 26.8% of statements [2021-01-21T08:22:09.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.036s coverage: 83.5% of statements [2021-01-21T08:22:09.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 4.2% of statements [2021-01-21T08:22:09.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-21T08:22:09.666Z] GO111MODULE=on go vet ./... [2021-01-21T08:22:22.748Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-21T08:22:42.081Z] gofmt -l . [2021-01-21T08:22:42.081Z] [ "`gofmt -l .`" = "" ] [2021-01-21T08:22:42.081Z] ./bin/test-attribution-txt.sh [2021-01-21T08:22:42.081Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-21T08:22:42.108Z] $ docker stop --time=1 160233f228d79fdfb5ac2c3a3641f2a041ec502834a6d9baf864b72e0a17f0c0 [2021-01-21T08:22:44.416Z] $ docker rm -f 160233f228d79fdfb5ac2c3a3641f2a041ec502834a6d9baf864b72e0a17f0c0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T08:22:45.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-21T08:22:46.539Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T08:22:50.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-21T08:22:50.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-21T08:22:50.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-21T08:22:50.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-21T08:22:50.900Z] + ls -al . [2021-01-21T08:22:50.900Z] total 224 [2021-01-21T08:22:50.900Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 21 08:22 . [2021-01-21T08:22:50.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 08:19 .. [2021-01-21T08:22:50.900Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 21 08:19 .dockerignore [2021-01-21T08:22:50.900Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 21 08:19 .git [2021-01-21T08:22:50.900Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 08:19 .github [2021-01-21T08:22:50.900Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 21 08:19 .gitignore [2021-01-21T08:22:50.900Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 21 08:19 Dockerfile.build [2021-01-21T08:22:50.900Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 21 08:19 Jenkinsfile [2021-01-21T08:22:50.900Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 21 08:19 LICENSE [2021-01-21T08:22:50.900Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 21 08:19 Makefile [2021-01-21T08:22:50.900Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 21 08:19 README.md [2021-01-21T08:22:50.900Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 21 08:19 RELEASE-NOTES.txt [2021-01-21T08:22:50.900Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 21 08:17 VERSION [2021-01-21T08:22:50.900Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 08:19 bin [2021-01-21T08:22:50.900Z] -rw-r--r-- 1 jenkins jenkins 109027 Jan 21 08:22 coverage.out [2021-01-21T08:22:50.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 08:19 example [2021-01-21T08:22:50.900Z] -rw-r--r-- 1 jenkins jenkins 456 Jan 21 08:22 go.mod [2021-01-21T08:22:50.900Z] -rw-r--r-- 1 jenkins jenkins 13953 Jan 21 08:22 go.sum [2021-01-21T08:22:50.900Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 21 08:19 internal [2021-01-21T08:22:50.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 08:19 openapi [2021-01-21T08:22:50.900Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 21 08:19 pkg [2021-01-21T08:22:50.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 08:19 snap [2021-01-21T08:22:50.900Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 21 08:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:22:51.298Z] + 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=e869826568a3ef92961d02a1aadb5b263d2aa395 --label arch=arm64 --label version=0.0.0 . [2021-01-21T08:22:51.899Z] Sending build context to Docker daemon 2.5MB [2021-01-21T08:22:51.899Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T08:22:51.899Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-21T08:22:51.899Z] ---> ef454dc4cf45 [2021-01-21T08:22:51.899Z] Step 3/24 : ARG MAKE='make build' [2021-01-21T08:22:51.899Z] ---> Running in 55d898a38c8e [2021-01-21T08:22:52.490Z] Removing intermediate container 55d898a38c8e [2021-01-21T08:22:52.490Z] ---> 575730c5ba5c [2021-01-21T08:22:52.490Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-21T08:22:52.490Z] ---> Running in f052612ce9d7 [2021-01-21T08:22:53.082Z] Removing intermediate container f052612ce9d7 [2021-01-21T08:22:53.082Z] ---> 84a7c1c31e38 [2021-01-21T08:22:53.082Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T08:22:53.354Z] ---> Running in 13b9f04a36a0 [2021-01-21T08:22:53.626Z] Removing intermediate container 13b9f04a36a0 [2021-01-21T08:22:53.626Z] ---> b4d02b350d7d [2021-01-21T08:22:53.626Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T08:22:53.910Z] ---> Running in 4e5c4e0bd3a2 [2021-01-21T08:22:54.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.149s coverage: 15.2% of statements [2021-01-21T08:22:54.964Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.804s coverage: 97.1% of statements [2021-01-21T08:22:55.886Z] Removing intermediate container 4e5c4e0bd3a2 [2021-01-21T08:22:55.886Z] ---> 8bc8e8d08969 [2021-01-21T08:22:55.886Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-21T08:22:56.161Z] ---> Running in 2b4e326dfed0 [2021-01-21T08:22:57.144Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-21T08:22:57.748Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-21T08:22:58.353Z] OK: 142 MiB in 39 packages [2021-01-21T08:22:59.809Z] Removing intermediate container 2b4e326dfed0 [2021-01-21T08:22:59.809Z] ---> 41ceb7b7228f [2021-01-21T08:22:59.809Z] Step 8/24 : COPY . . [2021-01-21T08:23:01.241Z] ---> 9e61c799f351 [2021-01-21T08:23:01.241Z] Step 9/24 : RUN ${MAKE} [2021-01-21T08:23:01.241Z] ---> Running in ca545d6158dd [2021-01-21T08:23:02.218Z] 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-21T08:23:27.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.086s coverage: 9.4% of statements [2021-01-21T08:23:27.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.219s coverage: 22.9% of statements [2021-01-21T08:23:27.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-21T08:23:27.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.171s coverage: 84.8% of statements [2021-01-21T08:23:27.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-21T08:23:27.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-21T08:23:27.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-21T08:23:27.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-21T08:23:27.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.470s coverage: 53.8% of statements [2021-01-21T08:23:27.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-21T08:23:27.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-21T08:23:27.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.116s coverage: 26.8% of statements [2021-01-21T08:23:27.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.277s coverage: 83.5% of statements [2021-01-21T08:23:27.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.157s coverage: 4.2% of statements [2021-01-21T08:23:27.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-21T08:23:27.947Z] GO111MODULE=on go vet ./... [2021-01-21T08:23:29.034Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-21T08:23:29.034Z] Removing intermediate container ca545d6158dd [2021-01-21T08:23:29.034Z] ---> 0c9343dae09d [2021-01-21T08:23:29.034Z] Step 10/24 : FROM scratch [2021-01-21T08:23:29.034Z] ---> [2021-01-21T08:23:29.034Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T08:23:29.034Z] ---> Running in a2a0093b1c63 [2021-01-21T08:23:29.034Z] Removing intermediate container a2a0093b1c63 [2021-01-21T08:23:29.034Z] ---> c8388872ecc9 [2021-01-21T08:23:29.034Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-21T08:23:29.034Z] ---> Running in 72aec83d6969 [2021-01-21T08:23:29.034Z] Removing intermediate container 72aec83d6969 [2021-01-21T08:23:29.034Z] ---> 0e4e7792f215 [2021-01-21T08:23:29.034Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-21T08:23:29.034Z] ---> Running in 67c0aae3a7e5 [2021-01-21T08:23:29.627Z] Removing intermediate container 67c0aae3a7e5 [2021-01-21T08:23:29.627Z] ---> 9c9a7e052b2c [2021-01-21T08:23:29.627Z] Step 14/24 : WORKDIR / [2021-01-21T08:23:29.627Z] ---> Running in 4d67201143dd [2021-01-21T08:23:29.900Z] Removing intermediate container 4d67201143dd [2021-01-21T08:23:29.900Z] ---> 6e399fad3f3e [2021-01-21T08:23:29.900Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-21T08:23:30.882Z] ---> 17fb03875403 [2021-01-21T08:23:30.882Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-21T08:23:31.859Z] ---> 6bbc3b0a415f [2021-01-21T08:23:31.859Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-21T08:23:32.457Z] ---> dd6d7d55989c [2021-01-21T08:23:32.457Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-21T08:23:33.053Z] ---> cae9b818012d [2021-01-21T08:23:33.053Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-21T08:23:33.646Z] ---> e9add55fb745 [2021-01-21T08:23:33.646Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-21T08:23:33.923Z] ---> Running in ecd58fafce40 [2021-01-21T08:23:34.516Z] Removing intermediate container ecd58fafce40 [2021-01-21T08:23:34.516Z] ---> 2d8c5b74ec7d [2021-01-21T08:23:34.516Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-21T08:23:34.516Z] ---> Running in 2419d9506ee5 [2021-01-21T08:23:35.108Z] Removing intermediate container 2419d9506ee5 [2021-01-21T08:23:35.108Z] ---> b1190b06cda1 [2021-01-21T08:23:35.108Z] Step 22/24 : LABEL arch=arm64 [2021-01-21T08:23:35.108Z] ---> Running in 89e81a4a26cc [2021-01-21T08:23:35.702Z] Removing intermediate container 89e81a4a26cc [2021-01-21T08:23:35.702Z] ---> a92f40b2a196 [2021-01-21T08:23:35.702Z] Step 23/24 : LABEL git_sha=e869826568a3ef92961d02a1aadb5b263d2aa395 [2021-01-21T08:23:35.702Z] ---> Running in 547a0c684d0b [2021-01-21T08:23:36.297Z] Removing intermediate container 547a0c684d0b [2021-01-21T08:23:36.297Z] ---> 004dc6455d7c [2021-01-21T08:23:36.297Z] Step 24/24 : LABEL version=0.0.0 [2021-01-21T08:23:36.297Z] ---> Running in 47f14dbc0fd0 [2021-01-21T08:23:36.568Z] Removing intermediate container 47f14dbc0fd0 [2021-01-21T08:23:36.568Z] ---> 023fc05f62e2 [2021-01-21T08:23:36.568Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-21T08:23:36.839Z] Successfully built 023fc05f62e2 [2021-01-21T08:23:36.839Z] 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] } [2021-01-21T08:23:43.486Z] gofmt -l . [2021-01-21T08:23:43.486Z] [ "`gofmt -l .`" = "" ] [2021-01-21T08:23:43.486Z] ./bin/test-attribution-txt.sh [2021-01-21T08:23:44.116Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-21T08:23:44.767Z] $ docker stop --time=1 140ca8df551996b55e24a6ad2c7ef20b01cfba73aa4ff13eaac8a6fb4e31c73d [2021-01-21T08:23:47.098Z] $ docker rm -f 140ca8df551996b55e24a6ad2c7ef20b01cfba73aa4ff13eaac8a6fb4e31c73d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T08:23:48.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-21T08:23:48.141Z] Warning: overwriting stash ‘coverage-report’ [2021-01-21T08:23:48.922Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-21T08:23:49.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-21T08:23:50.107Z] + ls -al . [2021-01-21T08:23:50.107Z] total 188 [2021-01-21T08:23:50.107Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 21 08:23 . [2021-01-21T08:23:50.107Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 21 08:20 .. [2021-01-21T08:23:50.107Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 21 08:20 bin [2021-01-21T08:23:50.107Z] -rw-r--r--. 1 jenkins jenkins 109027 Jan 21 08:23 coverage.out [2021-01-21T08:23:50.107Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 21 08:20 Dockerfile.build [2021-01-21T08:23:50.107Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 21 08:20 .dockerignore [2021-01-21T08:23:50.107Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 21 08:20 example [2021-01-21T08:23:50.107Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 21 08:20 .git [2021-01-21T08:23:50.107Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 21 08:20 .github [2021-01-21T08:23:50.107Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 21 08:20 .gitignore [2021-01-21T08:23:50.107Z] -rw-r--r--. 1 jenkins jenkins 456 Jan 21 08:23 go.mod [2021-01-21T08:23:50.107Z] -rw-r--r--. 1 jenkins jenkins 13953 Jan 21 08:23 go.sum [2021-01-21T08:23:50.107Z] drwxrwxr-x. 14 jenkins jenkins 196 Jan 21 08:20 internal [2021-01-21T08:23:50.107Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 21 08:20 Jenkinsfile [2021-01-21T08:23:50.107Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 21 08:20 LICENSE [2021-01-21T08:23:50.107Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 21 08:20 Makefile [2021-01-21T08:23:50.107Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 21 08:20 openapi [2021-01-21T08:23:50.107Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 21 08:20 pkg [2021-01-21T08:23:50.107Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 21 08:20 README.md [2021-01-21T08:23:50.107Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 21 08:20 RELEASE-NOTES.txt [2021-01-21T08:23:50.107Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 21 08:20 snap [2021-01-21T08:23:50.107Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 21 08:17 VERSION [2021-01-21T08:23:50.107Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 21 08:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:23:50.577Z] + 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=e869826568a3ef92961d02a1aadb5b263d2aa395 --label arch=amd64 --label version=0.0.0 . [2021-01-21T08:23:50.888Z] Sending build context to Docker daemon 2.492MB [2021-01-21T08:23:50.888Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T08:23:50.888Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-21T08:23:50.888Z] ---> 60cb159321eb [2021-01-21T08:23:50.888Z] Step 3/24 : ARG MAKE='make build' [2021-01-21T08:23:51.495Z] ---> Running in 991fccc35648 [2021-01-21T08:23:51.766Z] Removing intermediate container 991fccc35648 [2021-01-21T08:23:51.766Z] ---> be19f8bbf94e [2021-01-21T08:23:51.766Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-21T08:23:51.766Z] ---> Running in caa716a5e234 [2021-01-21T08:23:52.039Z] Removing intermediate container caa716a5e234 [2021-01-21T08:23:52.039Z] ---> c9956037ed81 [2021-01-21T08:23:52.039Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T08:23:52.039Z] ---> Running in ee91ca0af56e [2021-01-21T08:23:52.341Z] Removing intermediate container ee91ca0af56e [2021-01-21T08:23:52.341Z] ---> f6a7ef722ae6 [2021-01-21T08:23:52.341Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T08:23:52.614Z] ---> Running in c27873d1395d [2021-01-21T08:23:54.314Z] Removing intermediate container c27873d1395d [2021-01-21T08:23:54.314Z] ---> a4dba193f33c [2021-01-21T08:23:54.314Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-21T08:23:54.314Z] ---> Running in 230bc1c099a5 [2021-01-21T08:23:55.847Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-21T08:23:56.587Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-21T08:23:56.957Z] OK: 166 MiB in 39 packages [2021-01-21T08:23:58.046Z] Removing intermediate container 230bc1c099a5 [2021-01-21T08:23:58.046Z] ---> a054e9fa799a [2021-01-21T08:23:58.046Z] Step 8/24 : COPY . . [2021-01-21T08:24:00.073Z] ---> fad483bf34af [2021-01-21T08:24:00.073Z] Step 9/24 : RUN ${MAKE} [2021-01-21T08:24:00.073Z] ---> Running in 1888d6e29a47 [2021-01-21T08:24:01.135Z] 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-21T08:24:18.450Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-21T08:24:21.878Z] Removing intermediate container 1888d6e29a47 [2021-01-21T08:24:21.878Z] ---> 1518514e3c39 [2021-01-21T08:24:21.878Z] Step 10/24 : FROM scratch [2021-01-21T08:24:21.878Z] ---> [2021-01-21T08:24:21.878Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T08:24:21.878Z] ---> Running in 105a7ed4a9bb [2021-01-21T08:24:22.151Z] Removing intermediate container 105a7ed4a9bb [2021-01-21T08:24:22.151Z] ---> dac1c54c5bce [2021-01-21T08:24:22.151Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-21T08:24:22.151Z] ---> Running in a7b43fd4b153 [2021-01-21T08:24:22.428Z] Removing intermediate container a7b43fd4b153 [2021-01-21T08:24:22.428Z] ---> d07ad071dac4 [2021-01-21T08:24:22.428Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-21T08:24:22.428Z] ---> Running in 89da3a0b3ff5 [2021-01-21T08:24:22.707Z] Removing intermediate container 89da3a0b3ff5 [2021-01-21T08:24:22.707Z] ---> 5a5a57fedb8e [2021-01-21T08:24:22.707Z] Step 14/24 : WORKDIR / [2021-01-21T08:24:22.983Z] ---> Running in 79a03ae65eaa [2021-01-21T08:24:23.253Z] Removing intermediate container 79a03ae65eaa [2021-01-21T08:24:23.253Z] ---> 9c4a78bf3ec6 [2021-01-21T08:24:23.253Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-21T08:24:23.865Z] ---> 8c59d6cb99f3 [2021-01-21T08:24:23.865Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-21T08:24:24.148Z] ---> 71eaa18553dc [2021-01-21T08:24:24.148Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-21T08:24:24.744Z] ---> 4836283f07fd [2021-01-21T08:24:24.744Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-21T08:24:25.015Z] ---> 1f4bc4c622ff [2021-01-21T08:24:25.015Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-21T08:24:25.314Z] ---> 74184589d15c [2021-01-21T08:24:25.314Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-21T08:24:25.314Z] ---> Running in bb171189262c [2021-01-21T08:24:25.603Z] Removing intermediate container bb171189262c [2021-01-21T08:24:25.603Z] ---> 444206006785 [2021-01-21T08:24:25.603Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-21T08:24:25.603Z] ---> Running in fe3ba16e81c3 [2021-01-21T08:24:25.880Z] Removing intermediate container fe3ba16e81c3 [2021-01-21T08:24:25.880Z] ---> bdfaec724a74 [2021-01-21T08:24:25.880Z] Step 22/24 : LABEL arch=amd64 [2021-01-21T08:24:25.880Z] ---> Running in 9a2e9885a1e1 [2021-01-21T08:24:26.144Z] Removing intermediate container 9a2e9885a1e1 [2021-01-21T08:24:26.144Z] ---> d55fd055fbbd [2021-01-21T08:24:26.145Z] Step 23/24 : LABEL git_sha=e869826568a3ef92961d02a1aadb5b263d2aa395 [2021-01-21T08:24:26.419Z] ---> Running in fbff2b538620 [2021-01-21T08:24:26.419Z] Removing intermediate container fbff2b538620 [2021-01-21T08:24:26.419Z] ---> 7a98ad70a5a7 [2021-01-21T08:24:26.419Z] Step 24/24 : LABEL version=0.0.0 [2021-01-21T08:24:26.701Z] ---> Running in bad6073bfe93 [2021-01-21T08:24:26.967Z] Removing intermediate container bad6073bfe93 [2021-01-21T08:24:26.967Z] ---> 67261d6e9b04 [2021-01-21T08:24:26.967Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-21T08:24:26.967Z] Successfully built 67261d6e9b04 [2021-01-21T08:24:26.967Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-21T08:24:29.776Z] provisioning config files... [2021-01-21T08:24:29.785Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config1125937898109337098tmp [Pipeline] { [Pipeline] sh [2021-01-21T08:24:30.219Z] + set +x [2021-01-21T08:24:30.219Z] + curl -s https://codecov.io/bash [2021-01-21T08:24:30.219Z] + bash -s -- [2021-01-21T08:24:30.482Z] [2021-01-21T08:24:30.482Z] _____ _ [2021-01-21T08:24:30.482Z] / ____| | | [2021-01-21T08:24:30.482Z] | | ___ __| | ___ ___ _____ __ [2021-01-21T08:24:30.482Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-21T08:24:30.482Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-21T08:24:30.482Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-21T08:24:30.482Z] Bash-20210115-cec3c92 [2021-01-21T08:24:30.482Z] [2021-01-21T08:24:30.482Z] [2021-01-21T08:24:30.482Z] ==> git version 2.24.3 found [2021-01-21T08:24:30.482Z] ==> 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-21T08:24:30.482Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-21T08:24:30.482Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-21T08:24:30.482Z] ==> Jenkins CI detected. [2021-01-21T08:24:30.482Z] project root: . [2021-01-21T08:24:30.482Z] --> token set from env [2021-01-21T08:24:30.482Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-21T08:24:30.482Z] ==> Running gcov in . (disable via -X gcov) [2021-01-21T08:24:30.482Z] ==> Python coveragepy not found [2021-01-21T08:24:30.482Z] ==> Searching for coverage reports in: [2021-01-21T08:24:30.482Z] + . [2021-01-21T08:24:30.482Z] -> Found 1 reports [2021-01-21T08:24:30.482Z] ==> Detecting git/mercurial file structure [2021-01-21T08:24:30.482Z] ==> Reading reports [2021-01-21T08:24:30.482Z] + ./coverage.out bytes=109027 [2021-01-21T08:24:30.482Z] ==> Appending adjustments [2021-01-21T08:24:30.482Z] https://docs.codecov.io/docs/fixing-reports [2021-01-21T08:24:31.059Z] + Found adjustments [2021-01-21T08:24:31.059Z] ==> Gzipping contents [2021-01-21T08:24:31.059Z] 20K /tmp/codecov.X35v9Z.gz [2021-01-21T08:24:31.059Z] ==> Uploading reports [2021-01-21T08:24:31.059Z] url: https://codecov.io [2021-01-21T08:24:31.059Z] query: branch=PR-746&commit=e869826568a3ef92961d02a1aadb5b263d2aa395&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-21T08:24:31.059Z] -> Pinging Codecov [2021-01-21T08:24:31.059Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-746&commit=e869826568a3ef92961d02a1aadb5b263d2aa395&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-21T08:24:31.321Z] -> Uploading to [2021-01-21T08:24:31.321Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-21/7E55EF52A471D76F132DFD9A03CDDE97/e869826568a3ef92961d02a1aadb5b263d2aa395/68580c92-a7cc-4fea-b4d3-d6367ab2f223.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210121T082431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8caf97cbe614c076bc213ac0a3bf188e6c7a2ca34f649191f1b4dc433fea7ea [2021-01-21T08:24:31.321Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-21T08:24:31.321Z] Dload Upload Total Spent Left Speed [2021-01-21T08:24:31.893Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17955 0 0 100 17955 0 41186 --:--:-- --:--:-- --:--:-- 41275 [2021-01-21T08:24:31.893Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e869826568a3ef92961d02a1aadb5b263d2aa395 [Pipeline] } [2021-01-21T08:24:31.916Z] 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-21T08:24:35.638Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:24:35.975Z] ---> package-listing.sh [2021-01-21T08:24:35.975Z] ++ facter osfamily [2021-01-21T08:24:35.975Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-21T08:24:35.975Z] + OS_FAMILY=redhat [2021-01-21T08:24:35.975Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-21T08:24:35.975Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-21T08:24:35.975Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-21T08:24:35.975Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-21T08:24:35.975Z] + PACKAGES=/tmp/packages_start.txt [2021-01-21T08:24:35.975Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-21T08:24:35.975Z] + PACKAGES=/tmp/packages_end.txt [2021-01-21T08:24:35.975Z] + case "${OS_FAMILY}" in [2021-01-21T08:24:35.975Z] + rpm -qa [2021-01-21T08:24:35.975Z] + sort [2021-01-21T08:24:41.268Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-21T08:24:41.268Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-21T08:24:41.268Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-21T08:24:41.268Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-21T08:24:41.268Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [2021-01-21T08:24:41.268Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [Pipeline] echo [2021-01-21T08:24:41.302Z] 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-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-21T08:24:41.611Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:24:41.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T08:24:41.964Z] [2021-01-21T08:24:41.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:24:42.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T08:24:42.378Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-21T08:24:42.378Z] df20fa9351a1: Pulling fs layer [2021-01-21T08:24:42.378Z] 36b3adc4ff6f: Pulling fs layer [2021-01-21T08:24:42.378Z] 8ad3a11d3b57: Pulling fs layer [2021-01-21T08:24:42.378Z] 46f8f816bc3b: Pulling fs layer [2021-01-21T08:24:42.378Z] 93b61091891f: Pulling fs layer [2021-01-21T08:24:42.378Z] 93b9cdb0e59b: Pulling fs layer [2021-01-21T08:24:42.378Z] 5e14af77c1be: Pulling fs layer [2021-01-21T08:24:42.378Z] 01666e4c0597: Pulling fs layer [2021-01-21T08:24:42.378Z] aa168da1d23b: Pulling fs layer [2021-01-21T08:24:42.378Z] 93b9cdb0e59b: Waiting [2021-01-21T08:24:42.378Z] 01666e4c0597: Waiting [2021-01-21T08:24:42.378Z] aa168da1d23b: Waiting [2021-01-21T08:24:42.378Z] 5e14af77c1be: Waiting [2021-01-21T08:24:42.378Z] 46f8f816bc3b: Waiting [2021-01-21T08:24:42.378Z] 93b61091891f: Waiting [2021-01-21T08:24:42.378Z] 36b3adc4ff6f: Verifying Checksum [2021-01-21T08:24:42.378Z] 36b3adc4ff6f: Download complete [2021-01-21T08:24:42.378Z] 46f8f816bc3b: Download complete [2021-01-21T08:24:42.378Z] df20fa9351a1: Verifying Checksum [2021-01-21T08:24:42.378Z] df20fa9351a1: Download complete [2021-01-21T08:24:42.646Z] 93b9cdb0e59b: Verifying Checksum [2021-01-21T08:24:42.646Z] 93b9cdb0e59b: Download complete [2021-01-21T08:24:42.646Z] 5e14af77c1be: Verifying Checksum [2021-01-21T08:24:42.646Z] 5e14af77c1be: Download complete [2021-01-21T08:24:42.646Z] 01666e4c0597: Verifying Checksum [2021-01-21T08:24:42.646Z] 01666e4c0597: Download complete [2021-01-21T08:24:42.908Z] df20fa9351a1: Pull complete [2021-01-21T08:24:42.908Z] 36b3adc4ff6f: Pull complete [2021-01-21T08:24:43.173Z] 8ad3a11d3b57: Verifying Checksum [2021-01-21T08:24:43.173Z] 8ad3a11d3b57: Download complete [2021-01-21T08:24:43.434Z] 93b61091891f: Verifying Checksum [2021-01-21T08:24:43.435Z] 93b61091891f: Download complete [2021-01-21T08:24:44.007Z] 8ad3a11d3b57: Pull complete [2021-01-21T08:24:44.270Z] 46f8f816bc3b: Pull complete [2021-01-21T08:24:44.855Z] aa168da1d23b: Verifying Checksum [2021-01-21T08:24:44.855Z] aa168da1d23b: Download complete [2021-01-21T08:24:45.799Z] 93b61091891f: Pull complete [2021-01-21T08:24:45.799Z] 93b9cdb0e59b: Pull complete [2021-01-21T08:24:46.064Z] 5e14af77c1be: Pull complete [2021-01-21T08:24:46.064Z] 01666e4c0597: Pull complete [2021-01-21T08:24:52.667Z] aa168da1d23b: Pull complete [2021-01-21T08:24:52.667Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-21T08:24:52.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T08:24:52.667Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-21T08:24:52.825Z] prd-centos7-docker-4c-2g-21888 does not seem to be running inside a container [2021-01-21T08:24:52.866Z] $ 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-746/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-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-21T08:24:56.316Z] $ docker top 2f08729a639cb5b1f1e0665a3e5ee4214f968cb53d159befdc536ce26eb4dd83 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T08:24:56.892Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-21T08:24:57.210Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-21T08:24:57.525Z] + ls /var/log/sa-host [2021-01-21T08:24:57.525Z] + sadf -c /var/log/sa-host/sa21 [2021-01-21T08:24:57.525Z] file_magic: OK [2021-01-21T08:24:57.525Z] HZ: Using current value: 100 [2021-01-21T08:24:57.525Z] file_header: OK [2021-01-21T08:24:57.525Z] 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-21T08:24:57.525Z] Statistics: [2021-01-21T08:24:57.525Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-21T08:24:57.525Z] File successfully converted to sysstat format version 12.2.1 [2021-01-21T08:24:57.525Z] + sadf -c /var/log/sa-host/sa23 [2021-01-21T08:24:57.525Z] file_magic: OK [2021-01-21T08:24:57.525Z] HZ: Using current value: 100 [2021-01-21T08:24:57.525Z] file_header: OK [2021-01-21T08:24:57.525Z] 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-21T08:24:57.525Z] Statistics: [2021-01-21T08:24:57.525Z] Hnuu...uuuununununu... [2021-01-21T08:24:57.525Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-21T08:24:57.828Z] provisioning config files... [2021-01-21T08:24:57.843Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config6325131773668014687tmp [Pipeline] { [Pipeline] echo [2021-01-21T08:24:57.966Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:24:58.294Z] ---> create-netrc.sh [Pipeline] } [2021-01-21T08:24:58.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-21T08:24:58.464Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:24:58.797Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-21T08:24:58.826Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:24:59.154Z] ---> sudo-logs.sh [2021-01-21T08:24:59.154Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-21T08:24:59.183Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:24:59.508Z] ---> job-cost.sh [2021-01-21T08:24:59.508Z] lf-activate-venv: SKIPPING [2021-01-21T08:24:59.508Z] INFO: No Stack... [2021-01-21T08:25:00.455Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-21T08:25:01.029Z] INFO: Archiving Costs [Pipeline] echo [2021-01-21T08:25:01.063Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:25:01.391Z] ---> logs-deploy.sh [2021-01-21T08:25:01.391Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/1 [2021-01-21T08:25:01.391Z] INFO: archiving workspace using pattern(s): [2021-01-21T08:25:03.942Z] Archives upload complete. [2021-01-21T08:25:03.942Z] INFO: archiving logs to Nexus