Pull request #753 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 judehung for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 2e0b14878cfb4a574be8745ab7c226ce26d53775 rather than d186eaa159911561d189635e8b28a4ab65e6ac0e Obtained Jenkinsfile from 2e0b14878cfb4a574be8745ab7c226ce26d53775 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-753/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-753/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-22276 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [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-753 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit d186eaa159911561d189635e8b28a4ab65e6ac0e Merge succeeded, producing d186eaa159911561d189635e8b28a4ab65e6ac0e Checking out Revision d186eaa159911561d189635e8b28a4ab65e6ac0e (PR-753) > git config core.sparsecheckout # timeout=10 > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 Commit message: "[V2 API] Update swagger doc with updated Device Command API" 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-22T12:05:27.987Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-22T12:05:28.357Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-22T12:05:28.539Z] ========================================================= [2021-01-22T12:05:28.539Z] EdgeX Global Pipelines Version Info [2021-01-22T12:05:28.539Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:05:30.923Z] ------------------- [2021-01-22T12:05:30.923Z] stable info: [2021-01-22T12:05:30.923Z] ------------------- [2021-01-22T12:05:30.923Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T12:05:30.923Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T12:05:30.923Z] Message: update stable to v1.0.179 [2021-01-22T12:05:31.906Z] ------------------- [2021-01-22T12:05:31.906Z] experimental info: [2021-01-22T12:05:31.906Z] ------------------- [2021-01-22T12:05:31.906Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T12:05:31.906Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T12:05:31.906Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-22T12:05:32.317Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-22T12:05:32.452Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-22T12:05:32.591Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-22T12:05:32.719Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-22T12:05:32.866Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-22T12:05:32.987Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-22T12:05:33.115Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-22T12:05:33.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-22T12:05:33.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-22T12:05:33.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-22T12:05:33.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-22T12:05:33.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-22T12:05:33.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-22T12:05:34.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-22T12:05:34.247Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-22T12:05:34.373Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T12:05:34.493Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T12:05:34.613Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T12:05:34.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-22T12:05:34.870Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-22T12:05:35.012Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-22T12:05:35.137Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-22T12:05:35.255Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-22T12:05:35.424Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-22T12:05:35.552Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-22T12:05:35.679Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-22T12:05:35.814Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-22T12:05:35.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-753 [Pipeline] echo [2021-01-22T12:05:36.090Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-753 [Pipeline] echo [2021-01-22T12:05:36.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-753 [Pipeline] echo [2021-01-22T12:05:36.349Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d186eaa159911561d189635e8b28a4ab65e6ac0e [Pipeline] echo [2021-01-22T12:05:36.467Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d186eaa [Pipeline] echo [2021-01-22T12:05:36.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T12:05:36.872Z] provisioning config files... [2021-01-22T12:05:36.917Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config6695300684628344469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:05:37.465Z] ---> docker-login.sh [2021-01-22T12:05:37.465Z] nexus3.edgexfoundry.org:10001 [2021-01-22T12:05:38.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:05:38.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:05:38.867Z] Configure a credential helper to remove this warning. See [2021-01-22T12:05:38.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:05:38.867Z] [2021-01-22T12:05:38.867Z] Login Succeeded [2021-01-22T12:05:38.867Z] nexus3.edgexfoundry.org:10002 [2021-01-22T12:05:39.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:05:39.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:05:39.531Z] Configure a credential helper to remove this warning. See [2021-01-22T12:05:39.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:05:39.531Z] [2021-01-22T12:05:39.531Z] Login Succeeded [2021-01-22T12:05:39.531Z] nexus3.edgexfoundry.org:10003 [2021-01-22T12:05:40.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:05:40.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:05:40.190Z] Configure a credential helper to remove this warning. See [2021-01-22T12:05:40.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:05:40.190Z] [2021-01-22T12:05:40.190Z] Login Succeeded [2021-01-22T12:05:40.190Z] nexus3.edgexfoundry.org:10004 [2021-01-22T12:05:40.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:05:40.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:05:40.497Z] Configure a credential helper to remove this warning. See [2021-01-22T12:05:40.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:05:40.497Z] [2021-01-22T12:05:40.497Z] Login Succeeded [2021-01-22T12:05:40.497Z] docker.io [2021-01-22T12:05:41.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:05:41.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:05:41.402Z] Configure a credential helper to remove this warning. See [2021-01-22T12:05:41.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:05:41.402Z] [2021-01-22T12:05:41.402Z] Login Succeeded [2021-01-22T12:05:41.402Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T12:05:41.433Z] 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-22T12:05:42.541Z] + git log --format=format:%s -1 d186eaa159911561d189635e8b28a4ab65e6ac0e [Pipeline] echo [2021-01-22T12:05:42.881Z] GIT_COMMIT: d186eaa159911561d189635e8b28a4ab65e6ac0e, Commit Message: [V2 API] Update swagger doc with updated Device Command API [Pipeline] echo [2021-01-22T12:05:42.962Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:05:43.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T12:05:43.636Z] [2021-01-22T12:05:43.636Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:05:44.050Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T12:05:44.652Z] latest: Pulling from edgex-devops/git-semver [2021-01-22T12:05:44.652Z] 31603596830f: Pulling fs layer [2021-01-22T12:05:44.652Z] 2a8b12db71e7: Pulling fs layer [2021-01-22T12:05:44.652Z] 6ca5941a6612: Pulling fs layer [2021-01-22T12:05:44.652Z] ecc8261a40a4: Pulling fs layer [2021-01-22T12:05:44.652Z] ecc8261a40a4: Waiting [2021-01-22T12:05:44.652Z] 2a8b12db71e7: Verifying Checksum [2021-01-22T12:05:44.652Z] 2a8b12db71e7: Download complete [2021-01-22T12:05:45.290Z] 31603596830f: Verifying Checksum [2021-01-22T12:05:45.290Z] 31603596830f: Download complete [2021-01-22T12:05:45.594Z] ecc8261a40a4: Verifying Checksum [2021-01-22T12:05:45.594Z] ecc8261a40a4: Download complete [2021-01-22T12:05:45.887Z] 6ca5941a6612: Verifying Checksum [2021-01-22T12:05:45.887Z] 6ca5941a6612: Download complete [2021-01-22T12:05:46.984Z] 31603596830f: Pull complete [2021-01-22T12:05:47.280Z] 2a8b12db71e7: Pull complete [2021-01-22T12:05:49.443Z] 6ca5941a6612: Pull complete [2021-01-22T12:05:49.722Z] ecc8261a40a4: Pull complete [2021-01-22T12:05:49.722Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-22T12:05:49.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T12:05:49.722Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-22T12:05:50.012Z] prd-centos7-docker-4c-2g-22276 does not seem to be running inside a container [2021-01-22T12:05:50.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-22T12:05:52.711Z] $ docker top 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-22T12:05:53.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T12:05:53.332Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T12:05:53.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T12:05:53.711Z] $ docker exec 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 ssh-agent [2021-01-22T12:05:54.298Z] SSH_AUTH_SOCK=/tmp/ssh-2L5RhtnJzhrv/agent.11 [2021-01-22T12:05:54.298Z] SSH_AGENT_PID=16 [2021-01-22T12:05:54.332Z] Running ssh-add (command line suppressed) [2021-01-22T12:05:54.865Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_8259130821715401491.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_8259130821715401491.key) [2021-01-22T12:05:55.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T12:05:55.862Z] + git tag --points-at HEAD [Pipeline] } [2021-01-22T12:05:55.907Z] $ docker exec --env ******** --env ******** 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 ssh-agent -k [2021-01-22T12:05:56.294Z] unset SSH_AUTH_SOCK; [2021-01-22T12:05:56.296Z] unset SSH_AGENT_PID; [2021-01-22T12:05:56.296Z] echo Agent pid 16 killed; [2021-01-22T12:05:56.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-22T12:05:56.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T12:05:56.698Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T12:05:57.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T12:05:57.222Z] $ docker exec 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 ssh-agent [2021-01-22T12:05:57.730Z] SSH_AUTH_SOCK=/tmp/ssh-WWjTsEcwxB6V/agent.45 [2021-01-22T12:05:57.730Z] SSH_AGENT_PID=50 [2021-01-22T12:05:57.741Z] Running ssh-add (command line suppressed) [2021-01-22T12:05:58.028Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_6530199440754696906.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_6530199440754696906.key) [2021-01-22T12:05:58.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T12:05:58.590Z] + git semver init [2021-01-22T12:05:58.590Z] # -> Open(): unable to determine branch for HEAD [2021-01-22T12:05:58.590Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.git [2021-01-22T12:05:58.590Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-753 [2021-01-22T12:05:58.590Z] # $SEMVER_REMOTE_NAME = origin [2021-01-22T12:05:58.590Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-22T12:05:58.590Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-22T12:05:58.590Z] # $SEMVER_BRANCH = PR-753 [2021-01-22T12:05:58.590Z] # $SEMVER_TEMP = /tmp/semver-793418071 [2021-01-22T12:05:58.590Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-22T12:06:00.094Z] # '/tmp/semver-793418071' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver' [2021-01-22T12:06:00.094Z] # -> Force: false [2021-01-22T12:06:00.094Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver [Pipeline] } [2021-01-22T12:06:00.235Z] $ docker exec --env ******** --env ******** 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 ssh-agent -k [2021-01-22T12:06:00.687Z] unset SSH_AUTH_SOCK; [2021-01-22T12:06:00.691Z] unset SSH_AGENT_PID; [2021-01-22T12:06:00.691Z] echo Agent pid 50 killed; [2021-01-22T12:06:00.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-22T12:06:02.004Z] + git semver [Pipeline] } [2021-01-22T12:06:02.138Z] $ docker stop --time=1 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 [2021-01-22T12:06:04.268Z] $ docker rm -f 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T12:06:05.009Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-22T12:06:06.255Z] Stashed 1 file(s) [Pipeline] echo [2021-01-22T12:06:06.280Z] [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-22T12:06:22.114Z] Still waiting to schedule task [2021-01-22T12:06:22.114Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-22T12:06:22.143Z] Still waiting to schedule task [2021-01-22T12:06:22.143Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-22T12:08:25.029Z] Running on prd-centos7-docker-4c-2g-22278 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws [2021-01-22T12:08:25.140Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-22T12:08:27.712Z] using credential edgex-jenkins-ssh [2021-01-22T12:08:27.764Z] Cloning the remote Git repository [2021-01-22T12:08:27.796Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T12:08:27.868Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-22T12:08:27.933Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T12:08:27.933Z] > git --version # timeout=10 [2021-01-22T12:08:27.939Z] > git --version # 'git version 2.24.3' [2021-01-22T12:08:27.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T12:08:27.968Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T12:08:28.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T12:08:28.688Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T12:08:28.700Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T12:08:28.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T12:08:28.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T12:08:28.724Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-22T12:08:29.216Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit d186eaa159911561d189635e8b28a4ab65e6ac0e [2021-01-22T12:08:29.317Z] Merge succeeded, producing d186eaa159911561d189635e8b28a4ab65e6ac0e [2021-01-22T12:08:29.318Z] Checking out Revision d186eaa159911561d189635e8b28a4ab65e6ac0e (PR-753) [2021-01-22T12:08:29.226Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T12:08:29.234Z] > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 [2021-01-22T12:08:29.283Z] > git remote # timeout=10 [2021-01-22T12:08:29.290Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T12:08:29.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T12:08:29.301Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-22T12:08:29.313Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T12:08:29.323Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T12:08:29.327Z] > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 [2021-01-22T12:08:32.958Z] Commit message: "[V2 API] Update swagger doc with updated Device Command API" [2021-01-22T12:08:32.987Z] > git --version # timeout=10 [2021-01-22T12:08:32.994Z] > git --version # 'git version 2.24.3' [2021-01-22T12:08:33.001Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T12:08:34.513Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-22T12:08:34.866Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T12:08:35.197Z] + sudo service docker restart [2021-01-22T12:08:35.197Z] + true [2021-01-22T12:08:35.197Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T12:08:36.282Z] provisioning config files... [2021-01-22T12:08:36.311Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9180053510503622848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:08:36.741Z] ---> docker-login.sh [2021-01-22T12:08:36.741Z] nexus3.edgexfoundry.org:10001 [2021-01-22T12:08:37.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:08:37.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:08:37.005Z] Configure a credential helper to remove this warning. See [2021-01-22T12:08:37.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:08:37.005Z] [2021-01-22T12:08:37.005Z] Login Succeeded [2021-01-22T12:08:37.005Z] nexus3.edgexfoundry.org:10002 [2021-01-22T12:08:37.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:08:37.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:08:37.269Z] Configure a credential helper to remove this warning. See [2021-01-22T12:08:37.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:08:37.269Z] [2021-01-22T12:08:37.269Z] Login Succeeded [2021-01-22T12:08:37.269Z] nexus3.edgexfoundry.org:10003 [2021-01-22T12:08:37.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:08:37.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:08:37.533Z] Configure a credential helper to remove this warning. See [2021-01-22T12:08:37.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:08:37.533Z] [2021-01-22T12:08:37.533Z] Login Succeeded [2021-01-22T12:08:37.533Z] nexus3.edgexfoundry.org:10004 [2021-01-22T12:08:37.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:08:37.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:08:37.795Z] Configure a credential helper to remove this warning. See [2021-01-22T12:08:37.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:08:37.795Z] [2021-01-22T12:08:37.795Z] Login Succeeded [2021-01-22T12:08:37.795Z] docker.io [2021-01-22T12:08:37.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:08:38.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:08:38.057Z] Configure a credential helper to remove this warning. See [2021-01-22T12:08:38.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:08:38.057Z] [2021-01-22T12:08:38.057Z] Login Succeeded [2021-01-22T12:08:38.057Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T12:08:38.093Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T12:08:38.685Z] ========================================================= [2021-01-22T12:08:38.685Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-22T12:08:38.685Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:08:39.070Z] + 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-22T12:08:39.070Z] Sending build context to Docker daemon 2.577MB [2021-01-22T12:08:39.345Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T12:08:39.345Z] Step 2/8 : FROM ${BASE} [2021-01-22T12:08:39.345Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-22T12:08:39.345Z] 188c0c94c7c5: Pulling fs layer [2021-01-22T12:08:39.345Z] 0ef7d3d256c8: Pulling fs layer [2021-01-22T12:08:39.345Z] de9db76c5a1d: Pulling fs layer [2021-01-22T12:08:39.345Z] bca2f99d35d6: Pulling fs layer [2021-01-22T12:08:39.345Z] 93359f2a8cfa: Pulling fs layer [2021-01-22T12:08:39.345Z] 7c6f9722023f: Pulling fs layer [2021-01-22T12:08:39.345Z] a35cf1a2eb13: Pulling fs layer [2021-01-22T12:08:39.345Z] 93359f2a8cfa: Waiting [2021-01-22T12:08:39.345Z] 7c6f9722023f: Waiting [2021-01-22T12:08:39.345Z] a35cf1a2eb13: Waiting [2021-01-22T12:08:39.345Z] bca2f99d35d6: Waiting [2021-01-22T12:08:39.345Z] de9db76c5a1d: Download complete [2021-01-22T12:08:39.345Z] 0ef7d3d256c8: Verifying Checksum [2021-01-22T12:08:39.345Z] 0ef7d3d256c8: Download complete [2021-01-22T12:08:39.345Z] 93359f2a8cfa: Verifying Checksum [2021-01-22T12:08:39.345Z] 93359f2a8cfa: Download complete [2021-01-22T12:08:39.345Z] 188c0c94c7c5: Verifying Checksum [2021-01-22T12:08:39.345Z] 7c6f9722023f: Verifying Checksum [2021-01-22T12:08:39.345Z] 7c6f9722023f: Download complete [2021-01-22T12:08:39.630Z] 188c0c94c7c5: Pull complete [2021-01-22T12:08:39.892Z] 0ef7d3d256c8: Pull complete [2021-01-22T12:08:40.154Z] de9db76c5a1d: Pull complete [2021-01-22T12:08:41.560Z] a35cf1a2eb13: Verifying Checksum [2021-01-22T12:08:41.560Z] a35cf1a2eb13: Download complete [2021-01-22T12:08:42.149Z] bca2f99d35d6: Verifying Checksum [2021-01-22T12:08:42.149Z] bca2f99d35d6: Download complete [2021-01-22T12:08:48.805Z] bca2f99d35d6: Pull complete [2021-01-22T12:08:48.805Z] 93359f2a8cfa: Pull complete [2021-01-22T12:08:48.805Z] 7c6f9722023f: Pull complete [2021-01-22T12:08:55.425Z] a35cf1a2eb13: Pull complete [2021-01-22T12:08:55.425Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-22T12:08:55.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-22T12:08:55.425Z] ---> a62c8e92a672 [2021-01-22T12:08:55.425Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T12:08:55.700Z] ---> Running in 173541f74662 [2021-01-22T12:08:55.967Z] Removing intermediate container 173541f74662 [2021-01-22T12:08:55.967Z] ---> ab0145181b01 [2021-01-22T12:08:55.967Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T12:08:55.967Z] ---> Running in 0aeea07dff2c [2021-01-22T12:08:56.918Z] Removing intermediate container 0aeea07dff2c [2021-01-22T12:08:56.918Z] ---> 8b5796bd4313 [2021-01-22T12:08:56.918Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-22T12:08:56.918Z] ---> Running in 5743e5f9c4aa [2021-01-22T12:08:57.881Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T12:08:58.838Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T12:08:59.427Z] OK: 166 MiB in 39 packages [2021-01-22T12:08:59.689Z] Removing intermediate container 5743e5f9c4aa [2021-01-22T12:08:59.689Z] ---> e5f7409b6f02 [2021-01-22T12:08:59.689Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-22T12:08:59.689Z] ---> Running in 6463c4bac973 [2021-01-22T12:08:59.952Z] Removing intermediate container 6463c4bac973 [2021-01-22T12:08:59.952Z] ---> 21a200c01266 [2021-01-22T12:08:59.952Z] Step 7/8 : COPY . . [2021-01-22T12:09:01.348Z] ---> ebff77514d47 [2021-01-22T12:09:01.348Z] Step 8/8 : RUN go mod download [2021-01-22T12:09:01.348Z] ---> Running in fbbe9e863ac7 [2021-01-22T12:09:23.427Z] Removing intermediate container fbbe9e863ac7 [2021-01-22T12:09:23.427Z] ---> 7c1e98a4ddbb [2021-01-22T12:09:23.427Z] Successfully built 7c1e98a4ddbb [2021-01-22T12:09:23.427Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:09:23.779Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T12:09:23.779Z] . [Pipeline] withDockerContainer [2021-01-22T12:09:23.967Z] prd-centos7-docker-4c-2g-22278 does not seem to be running inside a container [2021-01-22T12:09:24.030Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-22T12:09:24.883Z] $ docker top 8e3b9841e68d8eb252fbcd7e1137daa9db431f7263963120721dca50daf18041 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T12:09:25.434Z] + go version [2021-01-22T12:09:25.434Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-22T12:09:25.469Z] $ docker stop --time=1 8e3b9841e68d8eb252fbcd7e1137daa9db431f7263963120721dca50daf18041 [2021-01-22T12:09:26.878Z] $ docker rm -f 8e3b9841e68d8eb252fbcd7e1137daa9db431f7263963120721dca50daf18041 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:09:27.900Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T12:09:27.900Z] . [Pipeline] withDockerContainer [2021-01-22T12:09:28.028Z] prd-centos7-docker-4c-2g-22278 does not seem to be running inside a container [2021-01-22T12:09:28.080Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-22T12:09:28.645Z] $ docker top dead214a835de1e7bfdd51bedcbb2a4c2754c5009082d186169acbd627e5d73d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T12:09:29.166Z] + make test [2021-01-22T12:09:29.166Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-22T12:09:37.379Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-22T12:09:37.641Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22279 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws [2021-01-22T12:09:37.765Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-22T12:09:43.070Z] using credential edgex-jenkins-ssh [2021-01-22T12:09:43.163Z] Cloning the remote Git repository [2021-01-22T12:09:43.213Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T12:09:43.316Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-22T12:09:43.402Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T12:09:43.402Z] > git --version # timeout=10 [2021-01-22T12:09:43.418Z] > git --version # 'git version 2.17.1' [2021-01-22T12:09:43.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T12:09:43.491Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T12:09:44.628Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T12:09:44.655Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T12:09:44.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T12:09:44.788Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T12:09:44.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T12:09:44.805Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-22T12:09:45.458Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit d186eaa159911561d189635e8b28a4ab65e6ac0e [2021-01-22T12:09:45.707Z] Merge succeeded, producing d186eaa159911561d189635e8b28a4ab65e6ac0e [2021-01-22T12:09:45.707Z] Checking out Revision d186eaa159911561d189635e8b28a4ab65e6ac0e (PR-753) [2021-01-22T12:09:45.478Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T12:09:45.493Z] > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 [2021-01-22T12:09:45.592Z] > git remote # timeout=10 [2021-01-22T12:09:45.608Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T12:09:45.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T12:09:45.651Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-22T12:09:45.682Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T12:09:45.719Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T12:09:45.730Z] > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 [2021-01-22T12:09:49.931Z] Commit message: "[V2 API] Update swagger doc with updated Device Command API" [2021-01-22T12:09:49.985Z] > git --version # timeout=10 [2021-01-22T12:09:49.998Z] > git --version # 'git version 2.17.1' [2021-01-22T12:09:50.007Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T12:09:52.014Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-22T12:09:52.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-22T12:09:52.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-22T12:09:52.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-22T12:09:52.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 19.4% of statements [2021-01-22T12:09:52.426Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T12:09:52.796Z] + sudo service docker restart [2021-01-22T12:09:52.796Z] + true [2021-01-22T12:09:53.804Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.445s coverage: 97.1% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T12:09:54.918Z] provisioning config files... [2021-01-22T12:09:54.979Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7134494126823778344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:09:55.490Z] ---> docker-login.sh [2021-01-22T12:09:55.491Z] nexus3.edgexfoundry.org:10001 [2021-01-22T12:09:56.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:09:56.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:09:56.688Z] Configure a credential helper to remove this warning. See [2021-01-22T12:09:56.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:09:56.688Z] [2021-01-22T12:09:56.688Z] Login Succeeded [2021-01-22T12:09:56.688Z] nexus3.edgexfoundry.org:10002 [2021-01-22T12:09:56.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:09:56.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:09:56.965Z] Configure a credential helper to remove this warning. See [2021-01-22T12:09:56.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:09:56.965Z] [2021-01-22T12:09:56.965Z] Login Succeeded [2021-01-22T12:09:56.965Z] nexus3.edgexfoundry.org:10003 [2021-01-22T12:09:57.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:09:57.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:09:57.562Z] Configure a credential helper to remove this warning. See [2021-01-22T12:09:57.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:09:57.562Z] [2021-01-22T12:09:57.562Z] Login Succeeded [2021-01-22T12:09:57.562Z] nexus3.edgexfoundry.org:10004 [2021-01-22T12:09:58.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:09:58.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:09:58.159Z] Configure a credential helper to remove this warning. See [2021-01-22T12:09:58.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:09:58.159Z] [2021-01-22T12:09:58.159Z] Login Succeeded [2021-01-22T12:09:58.159Z] docker.io [2021-01-22T12:09:58.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T12:09:59.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T12:09:59.029Z] Configure a credential helper to remove this warning. See [2021-01-22T12:09:59.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T12:09:59.029Z] [2021-01-22T12:09:59.029Z] Login Succeeded [2021-01-22T12:09:59.029Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T12:09:59.063Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T12:09:59.630Z] ========================================================= [2021-01-22T12:09:59.630Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-22T12:09:59.630Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:10:00.053Z] + 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-22T12:10:00.655Z] Sending build context to Docker daemon 2.569MB [2021-01-22T12:10:00.655Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T12:10:00.655Z] Step 2/8 : FROM ${BASE} [2021-01-22T12:10:00.655Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-22T12:10:00.655Z] 5f621e34cdf4: Pulling fs layer [2021-01-22T12:10:00.655Z] a4357932f1b6: Pulling fs layer [2021-01-22T12:10:00.655Z] 18c013af1878: Pulling fs layer [2021-01-22T12:10:00.655Z] 00ac8860ef70: Pulling fs layer [2021-01-22T12:10:00.655Z] 63d7cb157983: Pulling fs layer [2021-01-22T12:10:00.655Z] b116817d02f9: Pulling fs layer [2021-01-22T12:10:00.655Z] 745a02a5169b: Pulling fs layer [2021-01-22T12:10:00.655Z] 00ac8860ef70: Waiting [2021-01-22T12:10:00.655Z] 63d7cb157983: Waiting [2021-01-22T12:10:00.655Z] b116817d02f9: Waiting [2021-01-22T12:10:00.655Z] 745a02a5169b: Waiting [2021-01-22T12:10:00.655Z] 18c013af1878: Verifying Checksum [2021-01-22T12:10:00.655Z] 18c013af1878: Download complete [2021-01-22T12:10:00.655Z] a4357932f1b6: Verifying Checksum [2021-01-22T12:10:00.655Z] a4357932f1b6: Download complete [2021-01-22T12:10:00.655Z] 63d7cb157983: Verifying Checksum [2021-01-22T12:10:00.655Z] 63d7cb157983: Download complete [2021-01-22T12:10:00.930Z] b116817d02f9: Verifying Checksum [2021-01-22T12:10:00.930Z] b116817d02f9: Download complete [2021-01-22T12:10:00.930Z] 5f621e34cdf4: Verifying Checksum [2021-01-22T12:10:00.930Z] 5f621e34cdf4: Download complete [2021-01-22T12:10:01.532Z] 5f621e34cdf4: Pull complete [2021-01-22T12:10:02.154Z] a4357932f1b6: Pull complete [2021-01-22T12:10:02.432Z] 18c013af1878: Pull complete [2021-01-22T12:10:03.890Z] 745a02a5169b: Verifying Checksum [2021-01-22T12:10:03.890Z] 745a02a5169b: Download complete [2021-01-22T12:10:04.885Z] 00ac8860ef70: Verifying Checksum [2021-01-22T12:10:04.885Z] 00ac8860ef70: Download complete [2021-01-22T12:10:15.071Z] 00ac8860ef70: Pull complete [2021-01-22T12:10:15.071Z] 63d7cb157983: Pull complete [2021-01-22T12:10:15.670Z] b116817d02f9: Pull complete [2021-01-22T12:10:19.086Z] 745a02a5169b: Pull complete [2021-01-22T12:10:19.086Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-22T12:10:19.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-22T12:10:19.086Z] ---> b7e6874047d6 [2021-01-22T12:10:19.086Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T12:10:22.481Z] ---> Running in c68f5f43bcf3 [2021-01-22T12:10:22.481Z] Removing intermediate container c68f5f43bcf3 [2021-01-22T12:10:22.481Z] ---> 69ff205ee721 [2021-01-22T12:10:22.481Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T12:10:22.753Z] ---> Running in 78398341109a [2021-01-22T12:10:24.730Z] Removing intermediate container 78398341109a [2021-01-22T12:10:24.730Z] ---> 1ce6c0f4f6c5 [2021-01-22T12:10:24.730Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-22T12:10:25.012Z] ---> Running in 663bd92462ae [2021-01-22T12:10:25.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.053s coverage: 9.4% of statements [2021-01-22T12:10:25.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.051s coverage: 21.7% of statements [2021-01-22T12:10:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-22T12:10:25.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.226s coverage: 43.2% of statements [2021-01-22T12:10:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-22T12:10:25.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.278s coverage: 68.9% of statements [2021-01-22T12:10:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-22T12:10:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-22T12:10:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-22T12:10:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-22T12:10:25.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 53.8% of statements [2021-01-22T12:10:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-22T12:10:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-22T12:10:25.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.086s coverage: 26.8% of statements [2021-01-22T12:10:25.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.689s coverage: 83.5% of statements [2021-01-22T12:10:25.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-22T12:10:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-22T12:10:25.997Z] GO111MODULE=on go vet ./... [2021-01-22T12:10:26.005Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T12:10:26.974Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T12:10:27.946Z] OK: 142 MiB in 39 packages [2021-01-22T12:10:28.923Z] Removing intermediate container 663bd92462ae [2021-01-22T12:10:28.923Z] ---> 631c524a966e [2021-01-22T12:10:28.923Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-22T12:10:28.923Z] ---> Running in 22d3d86e9466 [2021-01-22T12:10:29.527Z] Removing intermediate container 22d3d86e9466 [2021-01-22T12:10:29.527Z] ---> 057b82592523 [2021-01-22T12:10:29.527Z] Step 7/8 : COPY . . [2021-01-22T12:10:30.508Z] ---> 22c8e680b44a [2021-01-22T12:10:30.508Z] Step 8/8 : RUN go mod download [2021-01-22T12:10:30.782Z] ---> Running in 01d0bfe04966 [2021-01-22T12:10:32.686Z] gofmt -l . [2021-01-22T12:10:32.686Z] [ "`gofmt -l .`" = "" ] [2021-01-22T12:10:32.686Z] ./bin/test-attribution-txt.sh [2021-01-22T12:10:33.265Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-22T12:10:33.309Z] $ docker stop --time=1 dead214a835de1e7bfdd51bedcbb2a4c2754c5009082d186169acbd627e5d73d [2021-01-22T12:10:35.325Z] $ docker rm -f dead214a835de1e7bfdd51bedcbb2a4c2754c5009082d186169acbd627e5d73d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T12:10:36.174Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T12:10:36.574Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-22T12:10:38.124Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T12:10:38.449Z] + ls -al . [2021-01-22T12:10:38.450Z] total 216 [2021-01-22T12:10:38.450Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 12:10 . [2021-01-22T12:10:38.450Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 22 12:08 .. [2021-01-22T12:10:38.450Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 12:08 bin [2021-01-22T12:10:38.450Z] -rw-r--r--. 1 jenkins jenkins 136843 Jan 22 12:10 coverage.out [2021-01-22T12:10:38.450Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 12:08 Dockerfile.build [2021-01-22T12:10:38.450Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 12:08 .dockerignore [2021-01-22T12:10:38.450Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 12:08 example [2021-01-22T12:10:38.450Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 12:08 .git [2021-01-22T12:10:38.450Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 12:08 .github [2021-01-22T12:10:38.450Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 12:08 .gitignore [2021-01-22T12:10:38.450Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 22 12:10 go.mod [2021-01-22T12:10:38.450Z] -rw-r--r--. 1 jenkins jenkins 14016 Jan 22 12:10 go.sum [2021-01-22T12:10:38.450Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 22 12:08 internal [2021-01-22T12:10:38.450Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 22 12:08 Jenkinsfile [2021-01-22T12:10:38.450Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 12:08 LICENSE [2021-01-22T12:10:38.450Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 12:08 Makefile [2021-01-22T12:10:38.450Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 12:08 openapi [2021-01-22T12:10:38.450Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 12:08 pkg [2021-01-22T12:10:38.450Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 12:08 README.md [2021-01-22T12:10:38.450Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 12:08 RELEASE-NOTES.txt [2021-01-22T12:10:38.450Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 12:08 snap [2021-01-22T12:10:38.450Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 12:06 VERSION [2021-01-22T12:10:38.450Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 12:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:10:38.804Z] + 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=d186eaa159911561d189635e8b28a4ab65e6ac0e --label arch=amd64 --label version=0.0.0 . [2021-01-22T12:10:39.065Z] Sending build context to Docker daemon 2.715MB [2021-01-22T12:10:39.065Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T12:10:39.065Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-22T12:10:39.065Z] ---> 7c1e98a4ddbb [2021-01-22T12:10:39.065Z] Step 3/24 : ARG MAKE='make build' [2021-01-22T12:10:39.641Z] ---> Running in eb1d9ca5f46d [2021-01-22T12:10:39.902Z] Removing intermediate container eb1d9ca5f46d [2021-01-22T12:10:39.902Z] ---> 8fd52e714a15 [2021-01-22T12:10:39.902Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-22T12:10:39.902Z] ---> Running in 84750d2c88ed [2021-01-22T12:10:40.165Z] Removing intermediate container 84750d2c88ed [2021-01-22T12:10:40.165Z] ---> 8289b276e0e0 [2021-01-22T12:10:40.165Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T12:10:40.165Z] ---> Running in 73d9e485cc8d [2021-01-22T12:10:40.428Z] Removing intermediate container 73d9e485cc8d [2021-01-22T12:10:40.429Z] ---> 182febdd2fda [2021-01-22T12:10:40.429Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T12:10:40.429Z] ---> Running in 07219c6ad56e [2021-01-22T12:10:41.382Z] Removing intermediate container 07219c6ad56e [2021-01-22T12:10:41.383Z] ---> 258228d15eb5 [2021-01-22T12:10:41.383Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-22T12:10:41.383Z] ---> Running in 33b5ae1f4efa [2021-01-22T12:10:41.966Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T12:10:42.541Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T12:10:43.116Z] OK: 166 MiB in 39 packages [2021-01-22T12:10:43.701Z] Removing intermediate container 33b5ae1f4efa [2021-01-22T12:10:43.701Z] ---> a2d1706a6b53 [2021-01-22T12:10:43.701Z] Step 8/24 : COPY . . [2021-01-22T12:10:44.654Z] ---> 0fe969b9beab [2021-01-22T12:10:44.654Z] Step 9/24 : RUN ${MAKE} [2021-01-22T12:10:44.654Z] ---> Running in 4d4723f1a16e [2021-01-22T12:10:45.242Z] 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-22T12:10:52.939Z] Removing intermediate container 01d0bfe04966 [2021-01-22T12:10:52.939Z] ---> f6623928dcc1 [2021-01-22T12:10:52.939Z] Successfully built f6623928dcc1 [2021-01-22T12:10:52.939Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:10:53.313Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T12:10:53.313Z] . [Pipeline] withDockerContainer [2021-01-22T12:10:53.502Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-22T12:10:53.602Z] prd-ubuntu18.04-docker-arm64-4c-16g-22279 does not seem to be running inside a container [2021-01-22T12:10:53.681Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-22T12:10:55.055Z] $ docker top 12ade0a6c6eaa9456090e09acc280044b9f54496062ea6dd474df730d895e6bb -eo pid,comm [Pipeline] { [2021-01-22T12:10:55.460Z] Removing intermediate container 4d4723f1a16e [2021-01-22T12:10:55.460Z] ---> 139e58ed06ae [2021-01-22T12:10:55.460Z] Step 10/24 : FROM scratch [2021-01-22T12:10:55.460Z] ---> [2021-01-22T12:10:55.460Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T12:10:55.460Z] ---> Running in 399a4f6901ae [Pipeline] sh [2021-01-22T12:10:55.725Z] Removing intermediate container 399a4f6901ae [2021-01-22T12:10:55.725Z] ---> a66c0088f7f7 [2021-01-22T12:10:55.725Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-22T12:10:55.725Z] ---> Running in 79f89e7442cd [2021-01-22T12:10:55.991Z] Removing intermediate container 79f89e7442cd [2021-01-22T12:10:55.991Z] ---> 33d00668bf9e [2021-01-22T12:10:55.991Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-22T12:10:55.991Z] ---> Running in 84952f6891d0 [2021-01-22T12:10:56.160Z] + go version [2021-01-22T12:10:56.160Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-22T12:10:56.193Z] $ docker stop --time=1 12ade0a6c6eaa9456090e09acc280044b9f54496062ea6dd474df730d895e6bb [2021-01-22T12:10:56.256Z] Removing intermediate container 84952f6891d0 [2021-01-22T12:10:56.256Z] ---> fb35d5353388 [2021-01-22T12:10:56.256Z] Step 14/24 : WORKDIR / [2021-01-22T12:10:56.256Z] ---> Running in 164229aedc9d [2021-01-22T12:10:56.518Z] Removing intermediate container 164229aedc9d [2021-01-22T12:10:56.518Z] ---> 60fec8ac5b41 [2021-01-22T12:10:56.518Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-22T12:10:56.782Z] ---> 70c1ac4fd839 [2021-01-22T12:10:56.782Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-22T12:10:57.045Z] ---> fd184a926b10 [2021-01-22T12:10:57.045Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-22T12:10:57.308Z] ---> bf50e7d8a390 [2021-01-22T12:10:57.308Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-22T12:10:57.572Z] ---> c05be1233065 [2021-01-22T12:10:57.572Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-22T12:10:57.834Z] ---> bf054f918d4b [2021-01-22T12:10:57.834Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-22T12:10:57.834Z] ---> Running in 9c4902d5d604 [2021-01-22T12:10:58.098Z] Removing intermediate container 9c4902d5d604 [2021-01-22T12:10:58.098Z] ---> f345a3d842e0 [2021-01-22T12:10:58.098Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-22T12:10:58.098Z] ---> Running in 91368958248a [2021-01-22T12:10:58.119Z] $ docker rm -f 12ade0a6c6eaa9456090e09acc280044b9f54496062ea6dd474df730d895e6bb [2021-01-22T12:10:58.361Z] Removing intermediate container 91368958248a [2021-01-22T12:10:58.361Z] ---> 5b07e02b2246 [2021-01-22T12:10:58.361Z] Step 22/24 : LABEL arch=amd64 [2021-01-22T12:10:58.361Z] ---> Running in 83ad1b88f7a2 [Pipeline] // withDockerContainer [Pipeline] } [2021-01-22T12:10:58.624Z] Removing intermediate container 83ad1b88f7a2 [2021-01-22T12:10:58.625Z] ---> 9bc345296b60 [2021-01-22T12:10:58.625Z] Step 23/24 : LABEL git_sha=d186eaa159911561d189635e8b28a4ab65e6ac0e [2021-01-22T12:10:58.625Z] ---> Running in 95b07fe77a77 [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-01-22T12:10:58.887Z] Removing intermediate container 95b07fe77a77 [2021-01-22T12:10:58.887Z] ---> 04eb424bcf35 [2021-01-22T12:10:58.887Z] Step 24/24 : LABEL version=0.0.0 [2021-01-22T12:10:58.887Z] ---> Running in d42291a7e5ab [2021-01-22T12:10:58.887Z] Removing intermediate container d42291a7e5ab [2021-01-22T12:10:58.887Z] ---> a823579a2349 [2021-01-22T12:10:58.887Z] [Warning] One or more build-args [ARCH] were not consumed [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [2021-01-22T12:10:59.151Z] Successfully built a823579a2349 [2021-01-22T12:10:59.151Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] sh [Pipeline] } [Pipeline] // stage [2021-01-22T12:10:59.479Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T12:10:59.479Z] . [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withDockerContainer [2021-01-22T12:10:59.837Z] prd-ubuntu18.04-docker-arm64-4c-16g-22279 does not seem to be running inside a container [2021-01-22T12:10:59.925Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-22T12:11:01.388Z] $ docker top 58de6f4b8c18a2ac244a71df1e27e62e85c6bd75996af98f0dd62e4bb415998a -eo pid,comm [Pipeline] { [Pipeline] sh 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 [2021-01-22T12:11:02.498Z] + make test [2021-01-22T12:11:02.498Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-22T12:11:24.732Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-22T12:12:03.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-22T12:12:03.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-22T12:12:03.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-22T12:12:04.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.130s coverage: 19.4% of statements [2021-01-22T12:12:10.800Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.228s coverage: 97.1% of statements [2021-01-22T12:12:37.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.119s coverage: 9.4% of statements [2021-01-22T12:12:37.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.112s coverage: 21.7% of statements [2021-01-22T12:12:37.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-22T12:12:37.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.641s coverage: 43.2% of statements [2021-01-22T12:12:37.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-22T12:12:37.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.801s coverage: 68.9% of statements [2021-01-22T12:12:37.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-22T12:12:37.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-22T12:12:37.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-22T12:12:37.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-22T12:12:37.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.193s coverage: 53.8% of statements [2021-01-22T12:12:37.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-22T12:12:37.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-22T12:12:37.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.157s coverage: 26.8% of statements [2021-01-22T12:12:37.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.985s coverage: 83.5% of statements [2021-01-22T12:12:37.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 4.2% of statements [2021-01-22T12:12:37.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-22T12:12:37.630Z] GO111MODULE=on go vet ./... [2021-01-22T12:13:10.017Z] gofmt -l . [2021-01-22T12:13:10.017Z] [ "`gofmt -l .`" = "" ] [2021-01-22T12:13:10.017Z] ./bin/test-attribution-txt.sh [2021-01-22T12:13:10.613Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-22T12:13:11.244Z] $ docker stop --time=1 58de6f4b8c18a2ac244a71df1e27e62e85c6bd75996af98f0dd62e4bb415998a [2021-01-22T12:13:13.530Z] $ docker rm -f 58de6f4b8c18a2ac244a71df1e27e62e85c6bd75996af98f0dd62e4bb415998a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T12:13:14.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T12:13:14.835Z] Warning: overwriting stash ‘coverage-report’ [2021-01-22T12:13:15.842Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T12:13:16.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T12:13:17.151Z] + ls -al . [2021-01-22T12:13:17.151Z] total 252 [2021-01-22T12:13:17.151Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 12:13 . [2021-01-22T12:13:17.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:09 .. [2021-01-22T12:13:17.151Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 12:09 .dockerignore [2021-01-22T12:13:17.151Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 12:09 .git [2021-01-22T12:13:17.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 12:09 .github [2021-01-22T12:13:17.151Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 12:09 .gitignore [2021-01-22T12:13:17.151Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 12:09 Dockerfile.build [2021-01-22T12:13:17.151Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 22 12:09 Jenkinsfile [2021-01-22T12:13:17.151Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 12:09 LICENSE [2021-01-22T12:13:17.151Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 12:09 Makefile [2021-01-22T12:13:17.151Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 12:09 README.md [2021-01-22T12:13:17.151Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 12:09 RELEASE-NOTES.txt [2021-01-22T12:13:17.151Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 12:06 VERSION [2021-01-22T12:13:17.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 12:09 bin [2021-01-22T12:13:17.151Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 22 12:12 coverage.out [2021-01-22T12:13:17.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:09 example [2021-01-22T12:13:17.151Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 22 12:13 go.mod [2021-01-22T12:13:17.151Z] -rw-r--r-- 1 jenkins jenkins 14016 Jan 22 12:13 go.sum [2021-01-22T12:13:17.151Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 22 12:09 internal [2021-01-22T12:13:17.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:09 openapi [2021-01-22T12:13:17.151Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 12:09 pkg [2021-01-22T12:13:17.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:09 snap [2021-01-22T12:13:17.151Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 12:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:13:17.614Z] + 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=d186eaa159911561d189635e8b28a4ab65e6ac0e --label arch=arm64 --label version=0.0.0 . [2021-01-22T12:13:18.254Z] Sending build context to Docker daemon 2.707MB [2021-01-22T12:13:18.254Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T12:13:18.254Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-22T12:13:18.254Z] ---> f6623928dcc1 [2021-01-22T12:13:18.254Z] Step 3/24 : ARG MAKE='make build' [2021-01-22T12:13:18.560Z] ---> Running in 752d1ecbcf9c [2021-01-22T12:13:18.831Z] Removing intermediate container 752d1ecbcf9c [2021-01-22T12:13:18.831Z] ---> b773ade8d0e5 [2021-01-22T12:13:18.831Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-22T12:13:19.107Z] ---> Running in 2ef1eb391433 [2021-01-22T12:13:19.394Z] Removing intermediate container 2ef1eb391433 [2021-01-22T12:13:19.394Z] ---> 09806f6132b9 [2021-01-22T12:13:19.394Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T12:13:19.669Z] ---> Running in 6c985b9fd63c [2021-01-22T12:13:19.940Z] Removing intermediate container 6c985b9fd63c [2021-01-22T12:13:19.940Z] ---> 78f5e20f1f76 [2021-01-22T12:13:19.940Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T12:13:20.214Z] ---> Running in 1b0fd9e9431d [2021-01-22T12:13:22.211Z] Removing intermediate container 1b0fd9e9431d [2021-01-22T12:13:22.211Z] ---> 9dddfe0fa5e6 [2021-01-22T12:13:22.211Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-22T12:13:22.211Z] ---> Running in f3a4899fe497 [2021-01-22T12:13:23.644Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T12:13:24.611Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T12:13:25.580Z] OK: 142 MiB in 39 packages [2021-01-22T12:13:26.556Z] Removing intermediate container f3a4899fe497 [2021-01-22T12:13:26.556Z] ---> d2c12b09b82d [2021-01-22T12:13:26.556Z] Step 8/24 : COPY . . [2021-01-22T12:13:27.983Z] ---> 88a45cc86f89 [2021-01-22T12:13:27.983Z] Step 9/24 : RUN ${MAKE} [2021-01-22T12:13:28.260Z] ---> Running in d0b6a8d323f1 [2021-01-22T12:13:29.236Z] 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-22T12:13:56.039Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-22T12:13:56.039Z] Removing intermediate container d0b6a8d323f1 [2021-01-22T12:13:56.039Z] ---> 2a156565f0be [2021-01-22T12:13:56.039Z] Step 10/24 : FROM scratch [2021-01-22T12:13:56.039Z] ---> [2021-01-22T12:13:56.039Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T12:13:56.039Z] ---> Running in 86ce98742bd3 [2021-01-22T12:13:56.313Z] Removing intermediate container 86ce98742bd3 [2021-01-22T12:13:56.313Z] ---> 8605c37d519d [2021-01-22T12:13:56.313Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-22T12:13:56.588Z] ---> Running in f43b83e30d4e [2021-01-22T12:13:56.861Z] Removing intermediate container f43b83e30d4e [2021-01-22T12:13:56.861Z] ---> 9d2929e9b127 [2021-01-22T12:13:56.861Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-22T12:13:57.135Z] ---> Running in d74939331b33 [2021-01-22T12:13:57.409Z] Removing intermediate container d74939331b33 [2021-01-22T12:13:57.409Z] ---> 2fa6b4c6a350 [2021-01-22T12:13:57.409Z] Step 14/24 : WORKDIR / [2021-01-22T12:13:57.681Z] ---> Running in 341ff51fd9cc [2021-01-22T12:13:57.954Z] Removing intermediate container 341ff51fd9cc [2021-01-22T12:13:57.954Z] ---> 1f7bf35c20dd [2021-01-22T12:13:57.954Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-22T12:13:58.940Z] ---> b4458f108b5c [2021-01-22T12:13:58.940Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-22T12:13:59.921Z] ---> 135c84a4eda5 [2021-01-22T12:13:59.921Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-22T12:14:00.519Z] ---> 1fb82b3aa66f [2021-01-22T12:14:00.519Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-22T12:14:01.112Z] ---> 2dfcec97d22c [2021-01-22T12:14:01.112Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-22T12:14:02.094Z] ---> a06b444b70ae [2021-01-22T12:14:02.094Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-22T12:14:02.094Z] ---> Running in 4dc119098820 [2021-01-22T12:14:02.365Z] Removing intermediate container 4dc119098820 [2021-01-22T12:14:02.365Z] ---> 949724062c20 [2021-01-22T12:14:02.365Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-22T12:14:02.638Z] ---> Running in a96c695ff248 [2021-01-22T12:14:03.234Z] Removing intermediate container a96c695ff248 [2021-01-22T12:14:03.234Z] ---> 6107c1e353e9 [2021-01-22T12:14:03.234Z] Step 22/24 : LABEL arch=arm64 [2021-01-22T12:14:03.234Z] ---> Running in 7c1e090ae8d5 [2021-01-22T12:14:03.828Z] Removing intermediate container 7c1e090ae8d5 [2021-01-22T12:14:03.828Z] ---> 3ca960ecaf40 [2021-01-22T12:14:03.828Z] Step 23/24 : LABEL git_sha=d186eaa159911561d189635e8b28a4ab65e6ac0e [2021-01-22T12:14:03.828Z] ---> Running in 08cdb2d70ac0 [2021-01-22T12:14:04.103Z] Removing intermediate container 08cdb2d70ac0 [2021-01-22T12:14:04.103Z] ---> 5b937823441f [2021-01-22T12:14:04.103Z] Step 24/24 : LABEL version=0.0.0 [2021-01-22T12:14:04.377Z] ---> Running in a8a450520fe4 [2021-01-22T12:14:04.668Z] Removing intermediate container a8a450520fe4 [2021-01-22T12:14:04.668Z] ---> 9deac422fd1c [2021-01-22T12:14:04.668Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-22T12:14:04.942Z] Successfully built 9deac422fd1c [2021-01-22T12:14:04.942Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-22T12:14:07.449Z] provisioning config files... [2021-01-22T12:14:07.471Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config3715868281977822049tmp [Pipeline] { [Pipeline] sh [2021-01-22T12:14:08.010Z] + set +x [2021-01-22T12:14:08.010Z] + curl -s https://codecov.io/bash [2021-01-22T12:14:08.010Z] + bash -s -- [2021-01-22T12:14:08.294Z] [2021-01-22T12:14:08.294Z] _____ _ [2021-01-22T12:14:08.294Z] / ____| | | [2021-01-22T12:14:08.294Z] | | ___ __| | ___ ___ _____ __ [2021-01-22T12:14:08.294Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-22T12:14:08.294Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-22T12:14:08.294Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-22T12:14:08.294Z] Bash-20210115-cec3c92 [2021-01-22T12:14:08.294Z] [2021-01-22T12:14:08.294Z] [2021-01-22T12:14:08.294Z] ==> git version 2.24.3 found [2021-01-22T12:14:08.294Z] ==> 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-22T12:14:08.294Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-22T12:14:08.294Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-22T12:14:08.294Z] ==> Jenkins CI detected. [2021-01-22T12:14:08.294Z] project root: . [2021-01-22T12:14:08.294Z] --> token set from env [2021-01-22T12:14:08.583Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-22T12:14:08.583Z] ==> Running gcov in . (disable via -X gcov) [2021-01-22T12:14:08.583Z] ==> Python coveragepy not found [2021-01-22T12:14:08.583Z] ==> Searching for coverage reports in: [2021-01-22T12:14:08.583Z] + . [2021-01-22T12:14:08.583Z] -> Found 1 reports [2021-01-22T12:14:08.583Z] ==> Detecting git/mercurial file structure [2021-01-22T12:14:08.583Z] ==> Reading reports [2021-01-22T12:14:08.583Z] + ./coverage.out bytes=136842 [2021-01-22T12:14:08.583Z] ==> Appending adjustments [2021-01-22T12:14:08.583Z] https://docs.codecov.io/docs/fixing-reports [2021-01-22T12:14:10.146Z] + Found adjustments [2021-01-22T12:14:10.146Z] ==> Gzipping contents [2021-01-22T12:14:10.146Z] 24K /tmp/codecov.7Dla4I.gz [2021-01-22T12:14:10.146Z] ==> Uploading reports [2021-01-22T12:14:10.146Z] url: https://codecov.io [2021-01-22T12:14:10.146Z] query: branch=PR-753&commit=d186eaa159911561d189635e8b28a4ab65e6ac0e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= [2021-01-22T12:14:10.146Z] -> Pinging Codecov [2021-01-22T12:14:10.146Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-753&commit=d186eaa159911561d189635e8b28a4ab65e6ac0e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= [2021-01-22T12:14:10.426Z] -> Uploading to [2021-01-22T12:14:10.426Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/d186eaa159911561d189635e8b28a4ab65e6ac0e/82aa2fa5-636a-4e80-bf49-a41b4d8d5c9c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T121410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e89e9abcab499505726e7ba7d3f63c971146707050c169482f3b72ff6565ecbc [2021-01-22T12:14:10.426Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-22T12:14:10.426Z] Dload Upload Total Spent Left Speed [2021-01-22T12:14:11.019Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21548 0 0 100 21548 0 36292 --:--:-- --:--:-- --:--:-- 36276 [2021-01-22T12:14:11.019Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d186eaa159911561d189635e8b28a4ab65e6ac0e [Pipeline] } [2021-01-22T12:14:11.049Z] 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-22T12:14:14.568Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:14:15.646Z] ---> package-listing.sh [2021-01-22T12:14:15.646Z] ++ facter osfamily [2021-01-22T12:14:15.646Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-22T12:14:15.915Z] + OS_FAMILY=redhat [2021-01-22T12:14:15.915Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-753 [2021-01-22T12:14:15.915Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-22T12:14:15.915Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-22T12:14:15.915Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-22T12:14:15.915Z] + PACKAGES=/tmp/packages_start.txt [2021-01-22T12:14:15.915Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' [2021-01-22T12:14:15.915Z] + PACKAGES=/tmp/packages_end.txt [2021-01-22T12:14:15.915Z] + case "${OS_FAMILY}" in [2021-01-22T12:14:15.915Z] + rpm -qa [2021-01-22T12:14:15.915Z] + sort [2021-01-22T12:14:24.383Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-22T12:14:24.383Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-22T12:14:24.383Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-22T12:14:24.383Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' [2021-01-22T12:14:24.383Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ [2021-01-22T12:14:24.383Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ [Pipeline] echo [2021-01-22T12:14:24.431Z] 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-753/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-22T12:14:24.811Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:14:25.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T12:14:25.801Z] [2021-01-22T12:14:25.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-22T12:14:26.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T12:14:26.508Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-22T12:14:26.508Z] df20fa9351a1: Pulling fs layer [2021-01-22T12:14:26.508Z] 36b3adc4ff6f: Pulling fs layer [2021-01-22T12:14:26.508Z] 8ad3a11d3b57: Pulling fs layer [2021-01-22T12:14:26.508Z] 46f8f816bc3b: Pulling fs layer [2021-01-22T12:14:26.508Z] 93b61091891f: Pulling fs layer [2021-01-22T12:14:26.508Z] 93b9cdb0e59b: Pulling fs layer [2021-01-22T12:14:26.508Z] 5e14af77c1be: Pulling fs layer [2021-01-22T12:14:26.508Z] 01666e4c0597: Pulling fs layer [2021-01-22T12:14:26.508Z] aa168da1d23b: Pulling fs layer [2021-01-22T12:14:26.508Z] 5e14af77c1be: Waiting [2021-01-22T12:14:26.508Z] 01666e4c0597: Waiting [2021-01-22T12:14:26.508Z] aa168da1d23b: Waiting [2021-01-22T12:14:26.508Z] 46f8f816bc3b: Waiting [2021-01-22T12:14:26.508Z] 93b61091891f: Waiting [2021-01-22T12:14:26.508Z] 93b9cdb0e59b: Waiting [2021-01-22T12:14:26.508Z] 36b3adc4ff6f: Verifying Checksum [2021-01-22T12:14:26.508Z] 36b3adc4ff6f: Download complete [2021-01-22T12:14:26.508Z] 46f8f816bc3b: Download complete [2021-01-22T12:14:26.787Z] df20fa9351a1: Download complete [2021-01-22T12:14:26.787Z] 93b9cdb0e59b: Verifying Checksum [2021-01-22T12:14:26.787Z] 93b9cdb0e59b: Download complete [2021-01-22T12:14:26.787Z] 93b61091891f: Download complete [2021-01-22T12:14:26.787Z] 5e14af77c1be: Verifying Checksum [2021-01-22T12:14:26.787Z] 5e14af77c1be: Download complete [2021-01-22T12:14:26.787Z] 01666e4c0597: Verifying Checksum [2021-01-22T12:14:26.787Z] 01666e4c0597: Download complete [2021-01-22T12:14:27.406Z] df20fa9351a1: Pull complete [2021-01-22T12:14:28.382Z] 36b3adc4ff6f: Pull complete [2021-01-22T12:14:28.382Z] 8ad3a11d3b57: Verifying Checksum [2021-01-22T12:14:28.382Z] 8ad3a11d3b57: Download complete [2021-01-22T12:14:31.285Z] 8ad3a11d3b57: Pull complete [2021-01-22T12:14:31.285Z] 46f8f816bc3b: Pull complete [2021-01-22T12:14:32.855Z] 93b61091891f: Pull complete [2021-01-22T12:14:33.133Z] 93b9cdb0e59b: Pull complete [2021-01-22T12:14:33.444Z] 5e14af77c1be: Pull complete [2021-01-22T12:14:33.724Z] 01666e4c0597: Pull complete [2021-01-22T12:14:33.997Z] aa168da1d23b: Verifying Checksum [2021-01-22T12:14:33.997Z] aa168da1d23b: Download complete [2021-01-22T12:14:49.313Z] aa168da1d23b: Pull complete [2021-01-22T12:14:49.313Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-22T12:14:49.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T12:14:49.313Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-22T12:14:49.697Z] prd-centos7-docker-4c-2g-22276 does not seem to be running inside a container [2021-01-22T12:14:49.908Z] $ 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-753/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-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@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:10003/edgex-lftools-log-publisher:alpine cat [2021-01-22T12:14:54.101Z] $ docker top 087e4b5fdd3f99dcbdc6e31e05fce5f28a01ac201ce9b2def4a93011b085d744 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T12:14:55.379Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-22T12:14:56.166Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-22T12:14:56.827Z] + ls /var/log/sa-host [2021-01-22T12:14:56.827Z] + sadf -c /var/log/sa-host/sa22 [2021-01-22T12:14:56.827Z] file_magic: OK [2021-01-22T12:14:56.827Z] HZ: Using current value: 100 [2021-01-22T12:14:56.827Z] file_header: OK [2021-01-22T12:14:56.827Z] 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-22T12:14:56.827Z] Statistics: [2021-01-22T12:14:56.827Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-22T12:14:56.827Z] File successfully converted to sysstat format version 12.2.1 [2021-01-22T12:14:56.827Z] + sadf -c /var/log/sa-host/sa23 [2021-01-22T12:14:56.827Z] file_magic: OK [2021-01-22T12:14:56.827Z] HZ: Using current value: 100 [2021-01-22T12:14:56.827Z] file_header: OK [2021-01-22T12:14:56.827Z] 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-22T12:14:56.827Z] Statistics: [2021-01-22T12:14:56.827Z] Hnuu...uuuununununu... [2021-01-22T12:14:56.827Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-22T12:14:57.088Z] provisioning config files... [2021-01-22T12:14:57.110Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config5342842934125325664tmp [Pipeline] { [Pipeline] echo [2021-01-22T12:14:57.236Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:14:57.662Z] ---> create-netrc.sh [Pipeline] } [2021-01-22T12:14:57.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-22T12:14:58.091Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:14:58.473Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-22T12:14:58.507Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:14:58.872Z] ---> sudo-logs.sh [2021-01-22T12:14:58.872Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-22T12:14:58.909Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:14:59.285Z] ---> job-cost.sh [2021-01-22T12:14:59.561Z] lf-activate-venv: SKIPPING [2021-01-22T12:14:59.561Z] INFO: No Stack... [2021-01-22T12:15:00.536Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-22T12:15:01.126Z] INFO: Archiving Costs [Pipeline] echo [2021-01-22T12:15:01.198Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T12:15:01.564Z] ---> logs-deploy.sh [2021-01-22T12:15:01.564Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-753/1 [2021-01-22T12:15:01.564Z] INFO: archiving workspace using pattern(s): [2021-01-22T12:15:05.066Z] Archives upload complete. [2021-01-22T12:15:05.066Z] INFO: archiving logs to Nexus