Pull request #715 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d8f4899b78a5bc556b0f89fb2be28fb908835fbe+372098887a6a7d5d9395bdaf9d03a023308f69fd (edfaf8f0cedc8a534664514c054d07b3d84b14b9) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-715/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-715/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18440 in /w/workspace/dgexfoundry_device-sdk-go_PR-715 [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-715 # 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/715/head:refs/remotes/origin/PR-715 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit d8f4899b78a5bc556b0f89fb2be28fb908835fbe Merge succeeded, producing d8f4899b78a5bc556b0f89fb2be28fb908835fbe Checking out Revision d8f4899b78a5bc556b0f89fb2be28fb908835fbe (PR-715) > git config core.sparsecheckout # timeout=10 > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # 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 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-05T06:06:27.359Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-05T06:06:27.689Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-05T06:06:27.870Z] ========================================================= [2021-01-05T06:06:27.870Z] EdgeX Global Pipelines Version Info [2021-01-05T06:06:27.871Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-05T06:06:29.431Z] ------------------- [2021-01-05T06:06:29.432Z] stable info: [2021-01-05T06:06:29.432Z] ------------------- [2021-01-05T06:06:29.432Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-05T06:06:29.432Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-05T06:06:29.432Z] Message: update stable to v1.0.173 [2021-01-05T06:06:30.379Z] ------------------- [2021-01-05T06:06:30.379Z] experimental info: [2021-01-05T06:06:30.379Z] ------------------- [2021-01-05T06:06:30.379Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-05T06:06:30.379Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-05T06:06:30.379Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-05T06:06:30.754Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-05T06:06:30.964Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-05T06:06:31.098Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-05T06:06:31.217Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-05T06:06:31.340Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-05T06:06:31.463Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-05T06:06:31.587Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-05T06:06:31.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-05T06:06:31.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-05T06:06:31.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-05T06:06:32.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-05T06:06:32.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-05T06:06:32.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-05T06:06:32.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-05T06:06:32.629Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-05T06:06:32.782Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-05T06:06:32.910Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-05T06:06:33.049Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-05T06:06:33.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-05T06:06:33.319Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-05T06:06:33.452Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-05T06:06:33.626Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-05T06:06:33.743Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-05T06:06:33.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-05T06:06:33.987Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-05T06:06:34.110Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-05T06:06:34.246Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-05T06:06:34.373Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-715 [Pipeline] echo [2021-01-05T06:06:34.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-715 [Pipeline] echo [2021-01-05T06:06:34.681Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-715 [Pipeline] echo [2021-01-05T06:06:34.821Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8f4899b78a5bc556b0f89fb2be28fb908835fbe [Pipeline] echo [2021-01-05T06:06:34.944Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8f4899 [Pipeline] echo [2021-01-05T06:06:35.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-05T06:06:35.404Z] provisioning config files... [2021-01-05T06:06:35.438Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/config8541320999869291423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-05T06:06:35.890Z] ---> docker-login.sh [2021-01-05T06:06:35.890Z] nexus3.edgexfoundry.org:10001 [2021-01-05T06:06:36.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:06:36.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:06:36.420Z] Configure a credential helper to remove this warning. See [2021-01-05T06:06:36.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:06:36.420Z] [2021-01-05T06:06:36.420Z] Login Succeeded [2021-01-05T06:06:36.420Z] nexus3.edgexfoundry.org:10002 [2021-01-05T06:06:36.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:06:36.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:06:36.420Z] Configure a credential helper to remove this warning. See [2021-01-05T06:06:36.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:06:36.420Z] [2021-01-05T06:06:36.420Z] Login Succeeded [2021-01-05T06:06:36.420Z] nexus3.edgexfoundry.org:10003 [2021-01-05T06:06:36.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:06:36.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:06:36.684Z] Configure a credential helper to remove this warning. See [2021-01-05T06:06:36.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:06:36.684Z] [2021-01-05T06:06:36.684Z] Login Succeeded [2021-01-05T06:06:36.684Z] nexus3.edgexfoundry.org:10004 [2021-01-05T06:06:36.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:06:36.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:06:36.949Z] Configure a credential helper to remove this warning. See [2021-01-05T06:06:36.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:06:36.949Z] [2021-01-05T06:06:36.949Z] Login Succeeded [2021-01-05T06:06:36.949Z] docker.io [2021-01-05T06:06:36.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:06:37.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:06:37.213Z] Configure a credential helper to remove this warning. See [2021-01-05T06:06:37.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:06:37.213Z] [2021-01-05T06:06:37.213Z] Login Succeeded [2021-01-05T06:06:37.213Z] ---> docker-login.sh ends [Pipeline] } [2021-01-05T06:06:37.237Z] 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-05T06:06:38.315Z] + git log --format=format:%s -1 d8f4899b78a5bc556b0f89fb2be28fb908835fbe [Pipeline] echo [2021-01-05T06:06:38.410Z] GIT_COMMIT: d8f4899b78a5bc556b0f89fb2be28fb908835fbe, Commit Message: build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4 [Pipeline] echo [2021-01-05T06:06:38.480Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:06:39.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-05T06:06:39.160Z] [2021-01-05T06:06:39.160Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:06:39.585Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-05T06:06:39.585Z] latest: Pulling from edgex-devops/git-semver [2021-01-05T06:06:39.585Z] 31603596830f: Pulling fs layer [2021-01-05T06:06:39.585Z] 2a8b12db71e7: Pulling fs layer [2021-01-05T06:06:39.585Z] 6ca5941a6612: Pulling fs layer [2021-01-05T06:06:39.585Z] ecc8261a40a4: Pulling fs layer [2021-01-05T06:06:39.585Z] ecc8261a40a4: Waiting [2021-01-05T06:06:39.585Z] 2a8b12db71e7: Verifying Checksum [2021-01-05T06:06:39.585Z] 2a8b12db71e7: Download complete [2021-01-05T06:06:39.850Z] ecc8261a40a4: Verifying Checksum [2021-01-05T06:06:40.116Z] 31603596830f: Download complete [2021-01-05T06:06:40.380Z] 6ca5941a6612: Download complete [2021-01-05T06:06:40.380Z] 31603596830f: Pull complete [2021-01-05T06:06:40.646Z] 2a8b12db71e7: Pull complete [2021-01-05T06:06:41.224Z] 6ca5941a6612: Pull complete [2021-01-05T06:06:41.805Z] ecc8261a40a4: Pull complete [2021-01-05T06:06:41.805Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-05T06:06:41.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-05T06:06:41.805Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-05T06:06:41.945Z] prd-centos7-docker-4c-2g-18440 does not seem to be running inside a container [2021-01-05T06:06:42.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-715 -v /w/workspace/dgexfoundry_device-sdk-go_PR-715:/w/workspace/dgexfoundry_device-sdk-go_PR-715:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-715@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-05T06:06:43.917Z] $ docker top 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-05T06:06:44.282Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-05T06:06:44.282Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-05T06:06:44.496Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-05T06:06:44.499Z] $ docker exec 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd ssh-agent [2021-01-05T06:06:44.666Z] SSH_AUTH_SOCK=/tmp/ssh-9JU1FcIedXlD/agent.11 [2021-01-05T06:06:44.666Z] SSH_AGENT_PID=17 [2021-01-05T06:06:44.676Z] Running ssh-add (command line suppressed) [2021-01-05T06:06:44.792Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_7596935563813144587.key (/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_7596935563813144587.key) [2021-01-05T06:06:44.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-05T06:06:45.223Z] + git tag --points-at HEAD [Pipeline] } [2021-01-05T06:06:45.250Z] $ docker exec --env ******** --env ******** 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd ssh-agent -k [2021-01-05T06:06:45.363Z] unset SSH_AUTH_SOCK; [2021-01-05T06:06:45.363Z] unset SSH_AGENT_PID; [2021-01-05T06:06:45.363Z] echo Agent pid 17 killed; [2021-01-05T06:06:45.407Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-05T06:06:45.587Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-05T06:06:45.587Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-05T06:06:45.748Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-05T06:06:45.751Z] $ docker exec 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd ssh-agent [2021-01-05T06:06:45.914Z] SSH_AUTH_SOCK=/tmp/ssh-i85ufrQLmiOe/agent.47 [2021-01-05T06:06:45.914Z] SSH_AGENT_PID=53 [2021-01-05T06:06:45.921Z] Running ssh-add (command line suppressed) [2021-01-05T06:06:46.043Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_3367240886752354629.key (/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_3367240886752354629.key) [2021-01-05T06:06:46.102Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-05T06:06:46.480Z] + git semver init [2021-01-05T06:06:46.480Z] # -> Open(): unable to determine branch for HEAD [2021-01-05T06:06:46.480Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-715/.git [2021-01-05T06:06:46.480Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-715 [2021-01-05T06:06:46.480Z] # $SEMVER_REMOTE_NAME = origin [2021-01-05T06:06:46.480Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-05T06:06:46.480Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-05T06:06:46.480Z] # $SEMVER_BRANCH = PR-715 [2021-01-05T06:06:46.480Z] # $SEMVER_TEMP = /tmp/semver-123985915 [2021-01-05T06:06:46.480Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-05T06:06:47.056Z] # '/tmp/semver-123985915' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-715/.semver' [2021-01-05T06:06:47.056Z] # -> Force: false [2021-01-05T06:06:47.056Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-715/.semver [Pipeline] } [2021-01-05T06:06:47.079Z] $ docker exec --env ******** --env ******** 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd ssh-agent -k [2021-01-05T06:06:47.192Z] unset SSH_AUTH_SOCK; [2021-01-05T06:06:47.193Z] unset SSH_AGENT_PID; [2021-01-05T06:06:47.193Z] echo Agent pid 53 killed; [2021-01-05T06:06:47.240Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-05T06:06:47.777Z] + git semver [Pipeline] } [2021-01-05T06:06:47.805Z] $ docker stop --time=1 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd [2021-01-05T06:06:49.365Z] $ docker rm -f 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-05T06:06:49.885Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-05T06:06:50.325Z] Stashed 1 file(s) [Pipeline] echo [2021-01-05T06:06:50.346Z] [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-05T06:07:06.309Z] Still waiting to schedule task [2021-01-05T06:07:06.309Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-05T06:07:06.332Z] Still waiting to schedule task [2021-01-05T06:07:06.332Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-05T06:08:17.988Z] Running on prd-centos7-docker-4c-2g-18444 in /w/workspace/dgexfoundry_device-sdk-go_PR-715 [Pipeline] { [Pipeline] ws [2021-01-05T06:08:18.083Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-05T06:08:20.556Z] using credential edgex-jenkins-ssh [2021-01-05T06:08:20.680Z] Cloning the remote Git repository [2021-01-05T06:08:20.709Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T06:08:20.781Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-05T06:08:20.841Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T06:08:20.841Z] > git --version # timeout=10 [2021-01-05T06:08:20.849Z] > git --version # 'git version 2.24.3' [2021-01-05T06:08:20.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T06:08:20.880Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T06:08:21.584Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T06:08:21.591Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T06:08:21.607Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T06:08:21.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T06:08:21.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T06:08:21.632Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/715/head:refs/remotes/origin/PR-715 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-05T06:08:22.041Z] Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit d8f4899b78a5bc556b0f89fb2be28fb908835fbe [2021-01-05T06:08:22.245Z] Merge succeeded, producing d8f4899b78a5bc556b0f89fb2be28fb908835fbe [2021-01-05T06:08:22.246Z] Checking out Revision d8f4899b78a5bc556b0f89fb2be28fb908835fbe (PR-715) [2021-01-05T06:08:22.051Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T06:08:22.070Z] > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 [2021-01-05T06:08:22.196Z] > git remote # timeout=10 [2021-01-05T06:08:22.211Z] > git config --get remote.origin.url # timeout=10 [2021-01-05T06:08:22.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T06:08:22.223Z] > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [2021-01-05T06:08:22.235Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-05T06:08:22.249Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T06:08:22.255Z] > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 [2021-01-05T06:08:25.918Z] Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4" [2021-01-05T06:08:25.952Z] > git --version # timeout=10 [2021-01-05T06:08:25.959Z] > git --version # 'git version 2.24.3' [2021-01-05T06:08:25.967Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-05T06:08:27.483Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-05T06:08:27.836Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-05T06:08:28.161Z] + sudo service docker restart [2021-01-05T06:08:28.161Z] + true [2021-01-05T06:08:28.161Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-05T06:08:29.673Z] provisioning config files... [2021-01-05T06:08:29.698Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5612660460319259565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-05T06:08:30.255Z] ---> docker-login.sh [2021-01-05T06:08:30.255Z] nexus3.edgexfoundry.org:10001 [2021-01-05T06:08:30.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:08:30.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:08:30.784Z] Configure a credential helper to remove this warning. See [2021-01-05T06:08:30.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:08:30.784Z] [2021-01-05T06:08:30.784Z] Login Succeeded [2021-01-05T06:08:30.784Z] nexus3.edgexfoundry.org:10002 [2021-01-05T06:08:30.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:08:30.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:08:30.784Z] Configure a credential helper to remove this warning. See [2021-01-05T06:08:30.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:08:30.784Z] [2021-01-05T06:08:30.784Z] Login Succeeded [2021-01-05T06:08:30.784Z] nexus3.edgexfoundry.org:10003 [2021-01-05T06:08:31.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:08:31.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:08:31.046Z] Configure a credential helper to remove this warning. See [2021-01-05T06:08:31.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:08:31.046Z] [2021-01-05T06:08:31.046Z] Login Succeeded [2021-01-05T06:08:31.046Z] nexus3.edgexfoundry.org:10004 [2021-01-05T06:08:31.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:08:31.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:08:31.307Z] Configure a credential helper to remove this warning. See [2021-01-05T06:08:31.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:08:31.307Z] [2021-01-05T06:08:31.307Z] Login Succeeded [2021-01-05T06:08:31.307Z] docker.io [2021-01-05T06:08:31.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:08:31.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:08:31.569Z] Configure a credential helper to remove this warning. See [2021-01-05T06:08:31.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:08:31.569Z] [2021-01-05T06:08:31.569Z] Login Succeeded [2021-01-05T06:08:31.569Z] ---> docker-login.sh ends [Pipeline] } [2021-01-05T06:08:31.601Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-05T06:08:32.146Z] ========================================================= [2021-01-05T06:08:32.146Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-05T06:08:32.146Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:08:32.530Z] + 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-05T06:08:32.531Z] Sending build context to Docker daemon 2.427MB [2021-01-05T06:08:32.794Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-05T06:08:32.794Z] Step 2/8 : FROM ${BASE} [2021-01-05T06:08:32.794Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-05T06:08:32.794Z] 188c0c94c7c5: Pulling fs layer [2021-01-05T06:08:32.794Z] 0ef7d3d256c8: Pulling fs layer [2021-01-05T06:08:32.794Z] de9db76c5a1d: Pulling fs layer [2021-01-05T06:08:32.794Z] bca2f99d35d6: Pulling fs layer [2021-01-05T06:08:32.794Z] 93359f2a8cfa: Pulling fs layer [2021-01-05T06:08:32.794Z] 7c6f9722023f: Pulling fs layer [2021-01-05T06:08:32.794Z] a35cf1a2eb13: Pulling fs layer [2021-01-05T06:08:32.794Z] 93359f2a8cfa: Waiting [2021-01-05T06:08:32.794Z] 7c6f9722023f: Waiting [2021-01-05T06:08:32.794Z] a35cf1a2eb13: Waiting [2021-01-05T06:08:32.794Z] bca2f99d35d6: Waiting [2021-01-05T06:08:32.794Z] de9db76c5a1d: Verifying Checksum [2021-01-05T06:08:32.794Z] de9db76c5a1d: Download complete [2021-01-05T06:08:32.794Z] 0ef7d3d256c8: Verifying Checksum [2021-01-05T06:08:32.794Z] 0ef7d3d256c8: Download complete [2021-01-05T06:08:32.794Z] 93359f2a8cfa: Verifying Checksum [2021-01-05T06:08:32.794Z] 93359f2a8cfa: Download complete [2021-01-05T06:08:32.794Z] 7c6f9722023f: Verifying Checksum [2021-01-05T06:08:32.794Z] 7c6f9722023f: Download complete [2021-01-05T06:08:33.056Z] 188c0c94c7c5: Download complete [2021-01-05T06:08:33.323Z] 188c0c94c7c5: Pull complete [2021-01-05T06:08:33.587Z] 0ef7d3d256c8: Pull complete [2021-01-05T06:08:33.587Z] de9db76c5a1d: Pull complete [2021-01-05T06:08:34.987Z] a35cf1a2eb13: Verifying Checksum [2021-01-05T06:08:34.987Z] a35cf1a2eb13: Download complete [2021-01-05T06:08:35.574Z] bca2f99d35d6: Verifying Checksum [2021-01-05T06:08:35.574Z] bca2f99d35d6: Download complete [2021-01-05T06:08:40.899Z] bca2f99d35d6: Pull complete [2021-01-05T06:08:40.899Z] 93359f2a8cfa: Pull complete [2021-01-05T06:08:40.899Z] 7c6f9722023f: Pull complete [2021-01-05T06:08:49.081Z] a35cf1a2eb13: Pull complete [2021-01-05T06:08:49.081Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-05T06:08:49.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-05T06:08:49.081Z] ---> a62c8e92a672 [2021-01-05T06:08:49.081Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T06:08:49.081Z] ---> Running in 28b1ba5d4b9e [2021-01-05T06:08:49.081Z] Removing intermediate container 28b1ba5d4b9e [2021-01-05T06:08:49.081Z] ---> 3514dea30292 [2021-01-05T06:08:49.081Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-05T06:08:49.081Z] ---> Running in 370f74122877 [2021-01-05T06:08:50.034Z] Removing intermediate container 370f74122877 [2021-01-05T06:08:50.034Z] ---> 5e7befe8c385 [2021-01-05T06:08:50.034Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-05T06:08:50.034Z] ---> Running in 5bb2fc30a735 [2021-01-05T06:08:50.981Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-05T06:08:51.555Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-05T06:08:52.131Z] OK: 166 MiB in 39 packages [2021-01-05T06:08:52.706Z] Removing intermediate container 5bb2fc30a735 [2021-01-05T06:08:52.706Z] ---> d2dc3c90270b [2021-01-05T06:08:52.706Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-05T06:08:52.706Z] ---> Running in e931e1d8ec79 [2021-01-05T06:08:52.970Z] Removing intermediate container e931e1d8ec79 [2021-01-05T06:08:52.970Z] ---> 0e46b04c06ba [2021-01-05T06:08:52.970Z] Step 7/8 : COPY . . [2021-01-05T06:08:54.365Z] ---> 77c92c8c4096 [2021-01-05T06:08:54.365Z] Step 8/8 : RUN go mod download [2021-01-05T06:08:54.365Z] ---> Running in 96997fb732f7 [2021-01-05T06:09:12.567Z] Removing intermediate container 96997fb732f7 [2021-01-05T06:09:12.567Z] ---> 589d5221f06d [2021-01-05T06:09:12.567Z] Successfully built 589d5221f06d [2021-01-05T06:09:12.567Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:09:12.919Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-05T06:09:12.919Z] . [Pipeline] withDockerContainer [2021-01-05T06:09:13.156Z] prd-centos7-docker-4c-2g-18444 does not seem to be running inside a container [2021-01-05T06:09:13.299Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-05T06:09:14.555Z] $ docker top ea2bdcbe577749fa36b75e445e5ae81a30d9f1aca08ce988cf39bd06cd5d8038 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T06:09:15.101Z] + go version [2021-01-05T06:09:15.102Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-05T06:09:15.133Z] $ docker stop --time=1 ea2bdcbe577749fa36b75e445e5ae81a30d9f1aca08ce988cf39bd06cd5d8038 [2021-01-05T06:09:16.476Z] $ docker rm -f ea2bdcbe577749fa36b75e445e5ae81a30d9f1aca08ce988cf39bd06cd5d8038 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:09:17.565Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-05T06:09:17.565Z] . [Pipeline] withDockerContainer [2021-01-05T06:09:17.685Z] prd-centos7-docker-4c-2g-18444 does not seem to be running inside a container [2021-01-05T06:09:17.738Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-05T06:09:18.297Z] $ docker top 1987304b13aa7647e72cc032867cac8feccdd8c5a32d09182cc4c90a7902164b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T06:09:18.841Z] + make test [2021-01-05T06:09:18.841Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-05T06:09:25.472Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-05T06:09:40.498Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-05T06:09:40.498Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-05T06:09:40.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-05T06:09:40.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 19.4% of statements [2021-01-05T06:09:41.913Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.443s coverage: 97.1% of statements [2021-01-05T06:10:04.522Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18447 in /w/workspace/dgexfoundry_device-sdk-go_PR-715 [Pipeline] { [Pipeline] ws [2021-01-05T06:10:04.632Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-05T06:10:09.599Z] using credential edgex-jenkins-ssh [2021-01-05T06:10:09.665Z] Cloning the remote Git repository [2021-01-05T06:10:09.725Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T06:10:09.839Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-05T06:10:09.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T06:10:09.912Z] > git --version # timeout=10 [2021-01-05T06:10:09.933Z] > git --version # 'git version 2.17.1' [2021-01-05T06:10:09.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T06:10:10.030Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T06:10:11.640Z] Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit d8f4899b78a5bc556b0f89fb2be28fb908835fbe [2021-01-05T06:10:12.002Z] Merge succeeded, producing d8f4899b78a5bc556b0f89fb2be28fb908835fbe [2021-01-05T06:10:12.002Z] Checking out Revision d8f4899b78a5bc556b0f89fb2be28fb908835fbe (PR-715) [2021-01-05T06:10:11.039Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T06:10:11.053Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T06:10:11.095Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T06:10:11.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T06:10:11.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T06:10:11.145Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/715/head:refs/remotes/origin/PR-715 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-05T06:10:11.662Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T06:10:11.687Z] > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 [2021-01-05T06:10:11.802Z] > git remote # timeout=10 [2021-01-05T06:10:11.873Z] > git config --get remote.origin.url # timeout=10 [2021-01-05T06:10:11.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T06:10:11.943Z] > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [2021-01-05T06:10:11.979Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-05T06:10:12.010Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T06:10:12.081Z] > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 [2021-01-05T06:10:14.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements [2021-01-05T06:10:14.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements [2021-01-05T06:10:14.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-05T06:10:14.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.225s coverage: 42.5% of statements [2021-01-05T06:10:14.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-05T06:10:14.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.328s coverage: 68.9% of statements [2021-01-05T06:10:14.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-05T06:10:14.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-05T06:10:14.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-05T06:10:14.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-05T06:10:14.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 53.8% of statements [2021-01-05T06:10:14.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-05T06:10:14.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-05T06:10:14.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-05T06:10:14.126Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.665s coverage: 68.9% of statements [2021-01-05T06:10:14.126Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.2% of statements [2021-01-05T06:10:14.126Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-05T06:10:14.126Z] GO111MODULE=on go vet ./... [2021-01-05T06:10:16.353Z] Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4" [2021-01-05T06:10:16.402Z] > git --version # timeout=10 [2021-01-05T06:10:16.410Z] > git --version # 'git version 2.17.1' [2021-01-05T06:10:16.420Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-05T06:10:18.011Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-05T06:10:18.501Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-05T06:10:18.868Z] + + true [2021-01-05T06:10:18.868Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-05T06:10:21.681Z] provisioning config files... [2021-01-05T06:10:21.720Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7029551394489776773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-05T06:10:22.206Z] ---> docker-login.sh [2021-01-05T06:10:22.206Z] nexus3.edgexfoundry.org:10001 [2021-01-05T06:10:22.411Z] gofmt -l . [2021-01-05T06:10:22.411Z] [ "`gofmt -l .`" = "" ] [2021-01-05T06:10:22.411Z] ./bin/test-attribution-txt.sh [2021-01-05T06:10:22.411Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-05T06:10:22.448Z] $ docker stop --time=1 1987304b13aa7647e72cc032867cac8feccdd8c5a32d09182cc4c90a7902164b [2021-01-05T06:10:22.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:10:23.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:10:23.397Z] Configure a credential helper to remove this warning. See [2021-01-05T06:10:23.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:10:23.397Z] [2021-01-05T06:10:23.397Z] Login Succeeded [2021-01-05T06:10:23.397Z] nexus3.edgexfoundry.org:10002 [2021-01-05T06:10:23.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:10:23.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:10:23.669Z] Configure a credential helper to remove this warning. See [2021-01-05T06:10:23.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:10:23.669Z] [2021-01-05T06:10:23.669Z] Login Succeeded [2021-01-05T06:10:23.669Z] nexus3.edgexfoundry.org:10003 [2021-01-05T06:10:24.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:10:24.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:10:24.265Z] Configure a credential helper to remove this warning. See [2021-01-05T06:10:24.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:10:24.265Z] [2021-01-05T06:10:24.265Z] Login Succeeded [2021-01-05T06:10:24.265Z] nexus3.edgexfoundry.org:10004 [2021-01-05T06:10:24.511Z] $ docker rm -f 1987304b13aa7647e72cc032867cac8feccdd8c5a32d09182cc4c90a7902164b [2021-01-05T06:10:24.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:10:24.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:10:24.537Z] Configure a credential helper to remove this warning. See [2021-01-05T06:10:24.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:10:24.537Z] [2021-01-05T06:10:24.537Z] Login Succeeded [2021-01-05T06:10:24.809Z] docker.io [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-05T06:10:25.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T06:10:25.348Z] + sudo chown -R jenkins:jenkins . [2021-01-05T06:10:25.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T06:10:25.357Z] Configure a credential helper to remove this warning. See [2021-01-05T06:10:25.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T06:10:25.358Z] [2021-01-05T06:10:25.358Z] Login Succeeded [2021-01-05T06:10:25.358Z] ---> docker-login.sh ends [Pipeline] stash [Pipeline] } [2021-01-05T06:10:25.465Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-05T06:10:25.736Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] echo [2021-01-05T06:10:26.164Z] ========================================================= [2021-01-05T06:10:26.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-05T06:10:26.164Z] ========================================================= [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:10:26.617Z] + 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-05T06:10:26.899Z] Sending build context to Docker daemon 2.426MB [2021-01-05T06:10:26.899Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-05T06:10:26.899Z] Step 2/8 : FROM ${BASE} [2021-01-05T06:10:27.176Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-05T06:10:27.176Z] 5f621e34cdf4: Pulling fs layer [2021-01-05T06:10:27.176Z] a4357932f1b6: Pulling fs layer [2021-01-05T06:10:27.176Z] 18c013af1878: Pulling fs layer [2021-01-05T06:10:27.176Z] 00ac8860ef70: Pulling fs layer [2021-01-05T06:10:27.176Z] 63d7cb157983: Pulling fs layer [2021-01-05T06:10:27.176Z] b116817d02f9: Pulling fs layer [2021-01-05T06:10:27.176Z] 745a02a5169b: Pulling fs layer [2021-01-05T06:10:27.176Z] 00ac8860ef70: Waiting [2021-01-05T06:10:27.176Z] 63d7cb157983: Waiting [2021-01-05T06:10:27.176Z] b116817d02f9: Waiting [2021-01-05T06:10:27.176Z] 745a02a5169b: Waiting [2021-01-05T06:10:27.176Z] 18c013af1878: Verifying Checksum [2021-01-05T06:10:27.176Z] 18c013af1878: Download complete [2021-01-05T06:10:27.176Z] a4357932f1b6: Verifying Checksum [2021-01-05T06:10:27.176Z] a4357932f1b6: Download complete [2021-01-05T06:10:27.176Z] 63d7cb157983: Verifying Checksum [2021-01-05T06:10:27.176Z] 63d7cb157983: Download complete [2021-01-05T06:10:27.176Z] b116817d02f9: Verifying Checksum [2021-01-05T06:10:27.176Z] b116817d02f9: Download complete [2021-01-05T06:10:27.176Z] 5f621e34cdf4: Verifying Checksum [2021-01-05T06:10:27.176Z] 5f621e34cdf4: Download complete [2021-01-05T06:10:28.171Z] 5f621e34cdf4: Pull complete [2021-01-05T06:10:28.474Z] a4357932f1b6: Pull complete [2021-01-05T06:10:28.751Z] 18c013af1878: Pull complete [Pipeline] sh [2021-01-05T06:10:29.281Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-05T06:10:29.351Z] 745a02a5169b: Verifying Checksum [2021-01-05T06:10:29.351Z] 745a02a5169b: Download complete [2021-01-05T06:10:29.612Z] + ls -al . [2021-01-05T06:10:29.612Z] total 208 [2021-01-05T06:10:29.612Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 5 06:10 . [2021-01-05T06:10:29.612Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 5 06:08 .. [2021-01-05T06:10:29.612Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 5 06:08 bin [2021-01-05T06:10:29.612Z] -rw-r--r--. 1 jenkins jenkins 130526 Jan 5 06:10 coverage.out [2021-01-05T06:10:29.612Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 5 06:08 Dockerfile.build [2021-01-05T06:10:29.612Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 5 06:08 .dockerignore [2021-01-05T06:10:29.612Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 5 06:08 example [2021-01-05T06:10:29.612Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 5 06:08 .git [2021-01-05T06:10:29.612Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 5 06:08 .github [2021-01-05T06:10:29.612Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 5 06:08 .gitignore [2021-01-05T06:10:29.612Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 5 06:10 go.mod [2021-01-05T06:10:29.612Z] -rw-r--r--. 1 jenkins jenkins 13716 Jan 5 06:10 go.sum [2021-01-05T06:10:29.612Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 5 06:08 internal [2021-01-05T06:10:29.612Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 5 06:08 Jenkinsfile [2021-01-05T06:10:29.612Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 5 06:08 LICENSE [2021-01-05T06:10:29.612Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 5 06:08 Makefile [2021-01-05T06:10:29.612Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 5 06:08 openapi [2021-01-05T06:10:29.612Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 5 06:08 pkg [2021-01-05T06:10:29.612Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 5 06:08 README.md [2021-01-05T06:10:29.612Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 5 06:08 RELEASE-NOTES.txt [2021-01-05T06:10:29.612Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 5 06:08 snap [2021-01-05T06:10:29.612Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 5 06:06 VERSION [2021-01-05T06:10:29.612Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 5 06:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:10:29.971Z] + 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=d8f4899b78a5bc556b0f89fb2be28fb908835fbe --label arch=amd64 --label version=0.0.0 . [2021-01-05T06:10:30.242Z] Sending build context to Docker daemon 2.558MB [2021-01-05T06:10:30.242Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-05T06:10:30.242Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-05T06:10:30.242Z] ---> 589d5221f06d [2021-01-05T06:10:30.242Z] Step 3/24 : ARG MAKE='make build' [2021-01-05T06:10:30.817Z] ---> Running in 45ca89cb9197 [2021-01-05T06:10:30.817Z] 00ac8860ef70: Download complete [2021-01-05T06:10:31.078Z] Removing intermediate container 45ca89cb9197 [2021-01-05T06:10:31.078Z] ---> 0382c491c61d [2021-01-05T06:10:31.078Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-05T06:10:31.078Z] ---> Running in 17bd8820a4ff [2021-01-05T06:10:31.341Z] Removing intermediate container 17bd8820a4ff [2021-01-05T06:10:31.341Z] ---> 14cb2a40075c [2021-01-05T06:10:31.341Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T06:10:31.341Z] ---> Running in d489f54e1e00 [2021-01-05T06:10:31.341Z] Removing intermediate container d489f54e1e00 [2021-01-05T06:10:31.341Z] ---> 8ee8bf22109b [2021-01-05T06:10:31.341Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-05T06:10:31.604Z] ---> Running in ed6e4d89eb74 [2021-01-05T06:10:32.583Z] Removing intermediate container ed6e4d89eb74 [2021-01-05T06:10:32.583Z] ---> 8d00c007c74f [2021-01-05T06:10:32.583Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-05T06:10:32.583Z] ---> Running in 8de3aae89700 [2021-01-05T06:10:32.858Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-05T06:10:35.003Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-05T06:10:35.003Z] OK: 166 MiB in 39 packages [2021-01-05T06:10:35.003Z] Removing intermediate container 8de3aae89700 [2021-01-05T06:10:35.003Z] ---> a9264cc31986 [2021-01-05T06:10:35.003Z] Step 8/24 : COPY . . [2021-01-05T06:10:35.951Z] ---> d3459cc8e00c [2021-01-05T06:10:35.951Z] Step 9/24 : RUN ${MAKE} [2021-01-05T06:10:35.951Z] ---> Running in 9c57f4e5312d [2021-01-05T06:10:36.214Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-05T06:10:41.787Z] 00ac8860ef70: Pull complete [2021-01-05T06:10:41.787Z] 63d7cb157983: Pull complete [2021-01-05T06:10:41.787Z] b116817d02f9: Pull complete [2021-01-05T06:10:44.471Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-05T06:10:45.190Z] 745a02a5169b: Pull complete [2021-01-05T06:10:45.190Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-05T06:10:45.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-05T06:10:45.190Z] ---> b7e6874047d6 [2021-01-05T06:10:45.190Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T06:10:46.390Z] Removing intermediate container 9c57f4e5312d [2021-01-05T06:10:46.390Z] ---> fadc32bcb919 [2021-01-05T06:10:46.390Z] Step 10/24 : FROM scratch [2021-01-05T06:10:46.390Z] ---> [2021-01-05T06:10:46.390Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T06:10:46.655Z] ---> Running in a716efc4c850 [2021-01-05T06:10:46.655Z] Removing intermediate container a716efc4c850 [2021-01-05T06:10:46.655Z] ---> 73167aca8a08 [2021-01-05T06:10:46.655Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-05T06:10:46.655Z] ---> Running in 7c7f9f0df239 [2021-01-05T06:10:46.920Z] Removing intermediate container 7c7f9f0df239 [2021-01-05T06:10:46.920Z] ---> bdba8d2792fb [2021-01-05T06:10:46.920Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-05T06:10:46.920Z] ---> Running in cc4f10ed82cb [2021-01-05T06:10:47.182Z] Removing intermediate container cc4f10ed82cb [2021-01-05T06:10:47.182Z] ---> d546c6ce714b [2021-01-05T06:10:47.182Z] Step 14/24 : WORKDIR / [2021-01-05T06:10:47.182Z] ---> Running in 7a7e787ce5d0 [2021-01-05T06:10:47.444Z] Removing intermediate container 7a7e787ce5d0 [2021-01-05T06:10:47.444Z] ---> 45ed2181ce69 [2021-01-05T06:10:47.444Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-05T06:10:47.710Z] ---> 80bdca9cc00a [2021-01-05T06:10:47.710Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-05T06:10:47.826Z] ---> Running in 9ffb82b90392 [2021-01-05T06:10:47.971Z] ---> e64e1db81eb2 [2021-01-05T06:10:47.971Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-05T06:10:48.233Z] ---> 23890882e774 [2021-01-05T06:10:48.233Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-05T06:10:48.424Z] Removing intermediate container 9ffb82b90392 [2021-01-05T06:10:48.424Z] ---> f9688213a691 [2021-01-05T06:10:48.424Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-05T06:10:48.424Z] ---> Running in 436ea82c19c7 [2021-01-05T06:10:48.494Z] ---> cfce772e0eec [2021-01-05T06:10:48.494Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-05T06:10:48.755Z] ---> f20a78990021 [2021-01-05T06:10:48.755Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-05T06:10:48.755Z] ---> Running in 698d4800ee5a [2021-01-05T06:10:49.017Z] Removing intermediate container 698d4800ee5a [2021-01-05T06:10:49.017Z] ---> 39afc5a076aa [2021-01-05T06:10:49.017Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-05T06:10:49.017Z] ---> Running in 28e67db12d4a [2021-01-05T06:10:49.017Z] Removing intermediate container 28e67db12d4a [2021-01-05T06:10:49.017Z] ---> 9a0d71a58db6 [2021-01-05T06:10:49.017Z] Step 22/24 : LABEL arch=amd64 [2021-01-05T06:10:49.280Z] ---> Running in 400faa341022 [2021-01-05T06:10:49.280Z] Removing intermediate container 400faa341022 [2021-01-05T06:10:49.280Z] ---> 1a7f5f9ea44a [2021-01-05T06:10:49.280Z] Step 23/24 : LABEL git_sha=d8f4899b78a5bc556b0f89fb2be28fb908835fbe [2021-01-05T06:10:49.280Z] ---> Running in 767bc31bc226 [2021-01-05T06:10:49.546Z] Removing intermediate container 767bc31bc226 [2021-01-05T06:10:49.546Z] ---> 2e2fb425926a [2021-01-05T06:10:49.546Z] Step 24/24 : LABEL version=0.0.0 [2021-01-05T06:10:49.546Z] ---> Running in d294a2097660 [2021-01-05T06:10:49.810Z] Removing intermediate container d294a2097660 [2021-01-05T06:10:49.810Z] ---> 1c13b5ea4953 [2021-01-05T06:10:49.810Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-05T06:10:49.810Z] Successfully built 1c13b5ea4953 [2021-01-05T06:10:49.810Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-01-05T06:10:51.060Z] Removing intermediate container 436ea82c19c7 [2021-01-05T06:10:51.060Z] ---> 3dd8ffa79712 [2021-01-05T06:10:51.060Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-05T06:10:51.060Z] ---> Running in 2c1ea8de8a1e [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-05T06:10:52.038Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-05T06:10:52.632Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-05T06:10:53.602Z] OK: 142 MiB in 39 packages [2021-01-05T06:10:54.584Z] Removing intermediate container 2c1ea8de8a1e [2021-01-05T06:10:54.584Z] ---> cfc6feafbd3d [2021-01-05T06:10:54.584Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-05T06:10:54.584Z] ---> Running in 337d0d0fa2e8 [2021-01-05T06:10:55.177Z] Removing intermediate container 337d0d0fa2e8 [2021-01-05T06:10:55.177Z] ---> 51dd2591c935 [2021-01-05T06:10:55.177Z] Step 7/8 : COPY . . [2021-01-05T06:10:56.156Z] ---> 969df592a2f0 [2021-01-05T06:10:56.156Z] Step 8/8 : RUN go mod download [2021-01-05T06:10:56.430Z] ---> Running in b02f3b3765c5 [2021-01-05T06:11:18.608Z] Removing intermediate container b02f3b3765c5 [2021-01-05T06:11:18.608Z] ---> 0114397f274d [2021-01-05T06:11:18.608Z] Successfully built 0114397f274d [2021-01-05T06:11:18.608Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:11:19.009Z] + docker inspect -f . ci-base-image-arm64 [2021-01-05T06:11:19.009Z] . [Pipeline] withDockerContainer [2021-01-05T06:11:19.307Z] prd-ubuntu18.04-docker-arm64-4c-16g-18447 does not seem to be running inside a container [2021-01-05T06:11:19.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-05T06:11:20.765Z] $ docker top e91509b0fdddfd263a0c6c47d282a59412b21a821b862493e73996025e523375 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T06:11:21.871Z] + go version [2021-01-05T06:11:21.871Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-05T06:11:21.912Z] $ docker stop --time=1 e91509b0fdddfd263a0c6c47d282a59412b21a821b862493e73996025e523375 [2021-01-05T06:11:23.846Z] $ docker rm -f e91509b0fdddfd263a0c6c47d282a59412b21a821b862493e73996025e523375 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:11:25.169Z] + docker inspect -f . ci-base-image-arm64 [2021-01-05T06:11:25.169Z] . [Pipeline] withDockerContainer [2021-01-05T06:11:25.433Z] prd-ubuntu18.04-docker-arm64-4c-16g-18447 does not seem to be running inside a container [2021-01-05T06:11:25.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-05T06:11:26.971Z] $ docker top 872bd15f9b2035ad2a2cb834786f174c4039f068832f90ed41f158125f361639 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T06:11:28.018Z] + make test [2021-01-05T06:11:28.018Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-05T06:11:50.202Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-05T06:12:29.228Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-05T06:12:29.228Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-05T06:12:29.228Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-05T06:12:29.228Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.138s coverage: 19.4% of statements [2021-01-05T06:12:34.675Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.238s coverage: 97.1% of statements [2021-01-05T06:13:01.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.155s coverage: 9.4% of statements [2021-01-05T06:13:01.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.127s coverage: 21.9% of statements [2021-01-05T06:13:01.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-05T06:13:01.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.631s coverage: 42.5% of statements [2021-01-05T06:13:01.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-05T06:13:01.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.813s coverage: 68.9% of statements [2021-01-05T06:13:01.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-05T06:13:01.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-05T06:13:01.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-05T06:13:01.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-05T06:13:01.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.196s coverage: 53.8% of statements [2021-01-05T06:13:01.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-05T06:13:01.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-05T06:13:01.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-05T06:13:01.498Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.714s coverage: 68.9% of statements [2021-01-05T06:13:01.498Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.139s coverage: 4.2% of statements [2021-01-05T06:13:01.498Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-05T06:13:01.498Z] GO111MODULE=on go vet ./... [2021-01-05T06:13:33.915Z] gofmt -l . [2021-01-05T06:13:33.915Z] [ "`gofmt -l .`" = "" ] [2021-01-05T06:13:33.915Z] ./bin/test-attribution-txt.sh [2021-01-05T06:13:33.915Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-05T06:13:33.952Z] $ docker stop --time=1 872bd15f9b2035ad2a2cb834786f174c4039f068832f90ed41f158125f361639 [2021-01-05T06:13:36.241Z] $ docker rm -f 872bd15f9b2035ad2a2cb834786f174c4039f068832f90ed41f158125f361639 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-05T06:13:37.402Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-05T06:13:37.442Z] Warning: overwriting stash ‘coverage-report’ [2021-01-05T06:13:38.407Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-05T06:13:39.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-05T06:13:39.733Z] + ls -al . [2021-01-05T06:13:39.733Z] total 244 [2021-01-05T06:13:39.733Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 06:13 . [2021-01-05T06:13:39.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 06:10 .. [2021-01-05T06:13:39.733Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 5 06:10 .dockerignore [2021-01-05T06:13:39.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 06:10 .git [2021-01-05T06:13:39.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 06:10 .github [2021-01-05T06:13:39.733Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 5 06:10 .gitignore [2021-01-05T06:13:39.733Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 5 06:10 Dockerfile.build [2021-01-05T06:13:39.733Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 5 06:10 Jenkinsfile [2021-01-05T06:13:39.733Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 5 06:10 LICENSE [2021-01-05T06:13:39.733Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 5 06:10 Makefile [2021-01-05T06:13:39.733Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 5 06:10 README.md [2021-01-05T06:13:39.733Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 5 06:10 RELEASE-NOTES.txt [2021-01-05T06:13:39.733Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 06:06 VERSION [2021-01-05T06:13:39.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 06:10 bin [2021-01-05T06:13:39.733Z] -rw-r--r-- 1 jenkins jenkins 130526 Jan 5 06:13 coverage.out [2021-01-05T06:13:39.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 06:10 example [2021-01-05T06:13:39.733Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 5 06:13 go.mod [2021-01-05T06:13:39.733Z] -rw-r--r-- 1 jenkins jenkins 13716 Jan 5 06:13 go.sum [2021-01-05T06:13:39.733Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 5 06:10 internal [2021-01-05T06:13:39.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 06:10 openapi [2021-01-05T06:13:39.733Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 06:10 pkg [2021-01-05T06:13:39.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 06:10 snap [2021-01-05T06:13:39.733Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 5 06:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:13:40.209Z] + 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=d8f4899b78a5bc556b0f89fb2be28fb908835fbe --label arch=arm64 --label version=0.0.0 . [2021-01-05T06:13:40.887Z] Sending build context to Docker daemon 2.557MB [2021-01-05T06:13:40.887Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-05T06:13:40.887Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-05T06:13:40.887Z] ---> 0114397f274d [2021-01-05T06:13:40.887Z] Step 3/24 : ARG MAKE='make build' [2021-01-05T06:13:41.168Z] ---> Running in 1588411fc4c4 [2021-01-05T06:13:41.767Z] Removing intermediate container 1588411fc4c4 [2021-01-05T06:13:41.767Z] ---> 05aac43f8d14 [2021-01-05T06:13:41.767Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-05T06:13:41.767Z] ---> Running in 3c079a5692c3 [2021-01-05T06:13:42.362Z] Removing intermediate container 3c079a5692c3 [2021-01-05T06:13:42.362Z] ---> 3ba94066a9fd [2021-01-05T06:13:42.362Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T06:13:42.362Z] ---> Running in a243e78e036f [2021-01-05T06:13:42.959Z] Removing intermediate container a243e78e036f [2021-01-05T06:13:42.959Z] ---> 37e9ef8cadcc [2021-01-05T06:13:42.959Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-05T06:13:42.960Z] ---> Running in 20d6b2adb8a3 [2021-01-05T06:13:45.582Z] Removing intermediate container 20d6b2adb8a3 [2021-01-05T06:13:45.582Z] ---> 1e63ba8842d6 [2021-01-05T06:13:45.582Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-05T06:13:45.582Z] ---> Running in 2e9cef662dbb [2021-01-05T06:13:46.562Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-05T06:13:48.038Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-05T06:13:49.474Z] OK: 142 MiB in 39 packages [2021-01-05T06:13:50.909Z] Removing intermediate container 2e9cef662dbb [2021-01-05T06:13:50.909Z] ---> 4b061aa2998c [2021-01-05T06:13:50.909Z] Step 8/24 : COPY . . [2021-01-05T06:13:52.349Z] ---> 2606d020c37e [2021-01-05T06:13:52.349Z] Step 9/24 : RUN ${MAKE} [2021-01-05T06:13:52.349Z] ---> Running in 7b379bdf245e [2021-01-05T06:13:53.336Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-05T06:14:20.163Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-05T06:14:20.163Z] Removing intermediate container 7b379bdf245e [2021-01-05T06:14:20.163Z] ---> 10d969969490 [2021-01-05T06:14:20.163Z] Step 10/24 : FROM scratch [2021-01-05T06:14:20.163Z] ---> [2021-01-05T06:14:20.163Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T06:14:20.163Z] ---> Running in 2aceb7128930 [2021-01-05T06:14:20.445Z] Removing intermediate container 2aceb7128930 [2021-01-05T06:14:20.445Z] ---> da5e50430be1 [2021-01-05T06:14:20.445Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-05T06:14:20.726Z] ---> Running in fe7850ed8d9b [2021-01-05T06:14:21.002Z] Removing intermediate container fe7850ed8d9b [2021-01-05T06:14:21.002Z] ---> c92b23d5733f [2021-01-05T06:14:21.002Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-05T06:14:21.002Z] ---> Running in b8fb670d3b7f [2021-01-05T06:14:21.601Z] Removing intermediate container b8fb670d3b7f [2021-01-05T06:14:21.601Z] ---> 80e80e3f3350 [2021-01-05T06:14:21.601Z] Step 14/24 : WORKDIR / [2021-01-05T06:14:21.601Z] ---> Running in 1e1dee100a01 [2021-01-05T06:14:22.213Z] Removing intermediate container 1e1dee100a01 [2021-01-05T06:14:22.213Z] ---> 71257381dc23 [2021-01-05T06:14:22.213Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-05T06:14:23.194Z] ---> 7a8eca74603e [2021-01-05T06:14:23.194Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-05T06:14:23.790Z] ---> a76ee426e7c8 [2021-01-05T06:14:23.790Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-05T06:14:24.393Z] ---> a008937a9948 [2021-01-05T06:14:24.393Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-05T06:14:25.371Z] ---> f346393a00f8 [2021-01-05T06:14:25.371Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-05T06:14:25.966Z] ---> 5a4bf1eee266 [2021-01-05T06:14:25.966Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-05T06:14:25.966Z] ---> Running in 219208669d9f [2021-01-05T06:14:26.562Z] Removing intermediate container 219208669d9f [2021-01-05T06:14:26.562Z] ---> e31c32c34460 [2021-01-05T06:14:26.562Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-05T06:14:26.562Z] ---> Running in 42ed7b1e4d1b [2021-01-05T06:14:27.157Z] Removing intermediate container 42ed7b1e4d1b [2021-01-05T06:14:27.157Z] ---> 64085b171230 [2021-01-05T06:14:27.157Z] Step 22/24 : LABEL arch=arm64 [2021-01-05T06:14:27.157Z] ---> Running in 923b008c2ee9 [2021-01-05T06:14:27.750Z] Removing intermediate container 923b008c2ee9 [2021-01-05T06:14:27.750Z] ---> 430a7ec6918f [2021-01-05T06:14:27.750Z] Step 23/24 : LABEL git_sha=d8f4899b78a5bc556b0f89fb2be28fb908835fbe [2021-01-05T06:14:27.750Z] ---> Running in 0dfab587652f [2021-01-05T06:14:28.346Z] Removing intermediate container 0dfab587652f [2021-01-05T06:14:28.346Z] ---> e17188cd344b [2021-01-05T06:14:28.346Z] Step 24/24 : LABEL version=0.0.0 [2021-01-05T06:14:28.346Z] ---> Running in a255abb29764 [2021-01-05T06:14:28.944Z] Removing intermediate container a255abb29764 [2021-01-05T06:14:28.944Z] ---> bfee6ee6abd3 [2021-01-05T06:14:28.944Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-05T06:14:28.944Z] Successfully built bfee6ee6abd3 [2021-01-05T06:14:28.944Z] 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-05T06:14:32.491Z] provisioning config files... [2021-01-05T06:14:32.502Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/config7731447622123576667tmp [Pipeline] { [Pipeline] sh [2021-01-05T06:14:32.961Z] + set +x [2021-01-05T06:14:32.961Z] + curl -s https://codecov.io/bash [2021-01-05T06:14:32.961Z] + bash -s -- [2021-01-05T06:14:32.961Z] [2021-01-05T06:14:32.961Z] _____ _ [2021-01-05T06:14:32.961Z] / ____| | | [2021-01-05T06:14:32.961Z] | | ___ __| | ___ ___ _____ __ [2021-01-05T06:14:32.961Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-05T06:14:32.961Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-05T06:14:32.961Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-05T06:14:32.961Z] Bash-20201231-23d4836 [2021-01-05T06:14:32.961Z] [2021-01-05T06:14:32.961Z] [2021-01-05T06:14:32.961Z] ==> git version 2.24.3 found [2021-01-05T06:14:33.224Z] ==> 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-05T06:14:33.224Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-05T06:14:33.224Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-05T06:14:33.224Z] ==> Jenkins CI detected. [2021-01-05T06:14:33.224Z] project root: . [2021-01-05T06:14:33.224Z] --> token set from env [2021-01-05T06:14:33.224Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-05T06:14:33.224Z] ==> Running gcov in . (disable via -X gcov) [2021-01-05T06:14:33.224Z] ==> Python coveragepy not found [2021-01-05T06:14:33.224Z] ==> Searching for coverage reports in: [2021-01-05T06:14:33.224Z] + . [2021-01-05T06:14:33.224Z] -> Found 1 reports [2021-01-05T06:14:33.224Z] ==> Detecting git/mercurial file structure [2021-01-05T06:14:33.224Z] ==> Reading reports [2021-01-05T06:14:33.224Z] + ./coverage.out bytes=130526 [2021-01-05T06:14:33.224Z] ==> Appending adjustments [2021-01-05T06:14:33.224Z] https://docs.codecov.io/docs/fixing-reports [2021-01-05T06:14:33.799Z] + Found adjustments [2021-01-05T06:14:33.799Z] ==> Gzipping contents [2021-01-05T06:14:33.799Z] 24K /tmp/codecov.cjQxZx.gz [2021-01-05T06:14:33.799Z] ==> Uploading reports [2021-01-05T06:14:33.799Z] url: https://codecov.io [2021-01-05T06:14:33.799Z] query: branch=PR-715&commit=d8f4899b78a5bc556b0f89fb2be28fb908835fbe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-715%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=715&job=&cmd_args= [2021-01-05T06:14:33.799Z] -> Pinging Codecov [2021-01-05T06:14:33.799Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-715&commit=d8f4899b78a5bc556b0f89fb2be28fb908835fbe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-715%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=715&job=&cmd_args= [2021-01-05T06:14:34.073Z] -> Uploading to [2021-01-05T06:14:34.073Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-05/7E55EF52A471D76F132DFD9A03CDDE97/d8f4899b78a5bc556b0f89fb2be28fb908835fbe/0d737a1e-017f-49c7-9c59-6bdfc079c635.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210105T061433Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f18352fbfff8fbd026df89fb93fb201b41959e4a261923e10c9844a20965b3f4 [2021-01-05T06:14:34.073Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-05T06:14:34.073Z] Dload Upload Total Spent Left Speed [2021-01-05T06:14:34.667Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21245 0 0 100 21245 0 48335 --:--:-- --:--:-- --:--:-- 48394 [2021-01-05T06:14:34.667Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d8f4899b78a5bc556b0f89fb2be28fb908835fbe [Pipeline] } [2021-01-05T06:14:34.704Z] 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-05T06:14:38.276Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T06:14:38.925Z] ---> package-listing.sh [2021-01-05T06:14:38.925Z] ++ facter osfamily [2021-01-05T06:14:38.925Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-05T06:14:38.925Z] + OS_FAMILY=redhat [2021-01-05T06:14:38.925Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-715 [2021-01-05T06:14:38.925Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-05T06:14:38.925Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-05T06:14:38.925Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-05T06:14:38.925Z] + PACKAGES=/tmp/packages_start.txt [2021-01-05T06:14:38.926Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-715 ']' [2021-01-05T06:14:38.926Z] + PACKAGES=/tmp/packages_end.txt [2021-01-05T06:14:38.926Z] + case "${OS_FAMILY}" in [2021-01-05T06:14:38.926Z] + rpm -qa [2021-01-05T06:14:38.926Z] + sort [2021-01-05T06:14:44.280Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-05T06:14:44.280Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-05T06:14:44.280Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-05T06:14:44.280Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-715 ']' [2021-01-05T06:14:44.280Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-715/archives/ [2021-01-05T06:14:44.280Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-715/archives/ [Pipeline] echo [2021-01-05T06:14:44.324Z] 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-715/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-05T06:14:44.636Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:14:44.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-05T06:14:44.992Z] [2021-01-05T06:14:44.992Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-05T06:14:45.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-05T06:14:45.402Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-05T06:14:45.402Z] df20fa9351a1: Pulling fs layer [2021-01-05T06:14:45.402Z] 36b3adc4ff6f: Pulling fs layer [2021-01-05T06:14:45.402Z] 8ad3a11d3b57: Pulling fs layer [2021-01-05T06:14:45.402Z] 46f8f816bc3b: Pulling fs layer [2021-01-05T06:14:45.402Z] 93b61091891f: Pulling fs layer [2021-01-05T06:14:45.402Z] 93b9cdb0e59b: Pulling fs layer [2021-01-05T06:14:45.402Z] 5e14af77c1be: Pulling fs layer [2021-01-05T06:14:45.402Z] 01666e4c0597: Pulling fs layer [2021-01-05T06:14:45.402Z] aa168da1d23b: Pulling fs layer [2021-01-05T06:14:45.402Z] 93b9cdb0e59b: Waiting [2021-01-05T06:14:45.402Z] 5e14af77c1be: Waiting [2021-01-05T06:14:45.402Z] 01666e4c0597: Waiting [2021-01-05T06:14:45.402Z] aa168da1d23b: Waiting [2021-01-05T06:14:45.402Z] 46f8f816bc3b: Waiting [2021-01-05T06:14:45.402Z] 93b61091891f: Waiting [2021-01-05T06:14:45.402Z] 36b3adc4ff6f: Verifying Checksum [2021-01-05T06:14:45.402Z] 36b3adc4ff6f: Download complete [2021-01-05T06:14:45.402Z] 46f8f816bc3b: Download complete [2021-01-05T06:14:45.402Z] df20fa9351a1: Verifying Checksum [2021-01-05T06:14:45.402Z] df20fa9351a1: Download complete [2021-01-05T06:14:45.402Z] 93b9cdb0e59b: Verifying Checksum [2021-01-05T06:14:45.402Z] 93b9cdb0e59b: Download complete [2021-01-05T06:14:45.666Z] 5e14af77c1be: Verifying Checksum [2021-01-05T06:14:45.666Z] 5e14af77c1be: Download complete [2021-01-05T06:14:45.666Z] 93b61091891f: Verifying Checksum [2021-01-05T06:14:45.666Z] 93b61091891f: Download complete [2021-01-05T06:14:45.666Z] 01666e4c0597: Verifying Checksum [2021-01-05T06:14:45.666Z] 01666e4c0597: Download complete [2021-01-05T06:14:45.666Z] 8ad3a11d3b57: Verifying Checksum [2021-01-05T06:14:45.666Z] 8ad3a11d3b57: Download complete [2021-01-05T06:14:45.928Z] df20fa9351a1: Pull complete [2021-01-05T06:14:45.928Z] 36b3adc4ff6f: Pull complete [2021-01-05T06:14:46.894Z] 8ad3a11d3b57: Pull complete [2021-01-05T06:14:47.170Z] 46f8f816bc3b: Pull complete [2021-01-05T06:14:47.749Z] 93b61091891f: Pull complete [2021-01-05T06:14:47.749Z] aa168da1d23b: Verifying Checksum [2021-01-05T06:14:47.749Z] aa168da1d23b: Download complete [2021-01-05T06:14:48.363Z] 93b9cdb0e59b: Pull complete [2021-01-05T06:14:48.363Z] 5e14af77c1be: Pull complete [2021-01-05T06:14:48.363Z] 01666e4c0597: Pull complete [2021-01-05T06:14:55.015Z] aa168da1d23b: Pull complete [2021-01-05T06:14:55.015Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-05T06:14:55.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-05T06:14:55.015Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-05T06:14:55.217Z] prd-centos7-docker-4c-2g-18440 does not seem to be running inside a container [2021-01-05T06:14:55.260Z] $ 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-715/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-715 -v /w/workspace/dgexfoundry_device-sdk-go_PR-715:/w/workspace/dgexfoundry_device-sdk-go_PR-715:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-715@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:10003/edgex-lftools-log-publisher:alpine cat [2021-01-05T06:14:58.780Z] $ docker top 8c87e8cf71643001be92418fa889341db5313fb42b77118300b3761a8c77466a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T06:14:59.289Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-05T06:14:59.623Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-05T06:14:59.941Z] + ls /var/log/sa-host [2021-01-05T06:14:59.942Z] + sadf -c /var/log/sa-host/sa05 [2021-01-05T06:14:59.942Z] file_magic: OK [2021-01-05T06:14:59.942Z] HZ: Using current value: 100 [2021-01-05T06:14:59.942Z] file_header: OK [2021-01-05T06:14:59.942Z] 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-05T06:14:59.942Z] Statistics: [2021-01-05T06:14:59.942Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-05T06:14:59.942Z] File successfully converted to sysstat format version 12.2.1 [2021-01-05T06:14:59.942Z] + sadf -c /var/log/sa-host/sa23 [2021-01-05T06:14:59.942Z] file_magic: OK [2021-01-05T06:14:59.942Z] HZ: Using current value: 100 [2021-01-05T06:14:59.942Z] file_header: OK [2021-01-05T06:14:59.942Z] 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-05T06:14:59.942Z] Statistics: [2021-01-05T06:14:59.942Z] Hnuu...uuuununununu... [2021-01-05T06:14:59.942Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-05T06:15:00.247Z] provisioning config files... [2021-01-05T06:15:00.260Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/config2742339106229644291tmp [Pipeline] { [Pipeline] echo [2021-01-05T06:15:00.449Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T06:15:00.785Z] ---> create-netrc.sh [Pipeline] } [2021-01-05T06:15:00.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-05T06:15:00.992Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T06:15:01.333Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-05T06:15:01.382Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T06:15:01.720Z] ---> sudo-logs.sh [2021-01-05T06:15:01.721Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-05T06:15:01.756Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T06:15:02.110Z] ---> job-cost.sh [2021-01-05T06:15:02.110Z] lf-activate-venv: SKIPPING [2021-01-05T06:15:02.110Z] INFO: No Stack... [2021-01-05T06:15:04.686Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-05T06:15:04.952Z] INFO: Archiving Costs [Pipeline] echo [2021-01-05T06:15:04.987Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T06:15:05.332Z] ---> logs-deploy.sh [2021-01-05T06:15:05.332Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-715/1 [2021-01-05T06:15:05.332Z] INFO: archiving workspace using pattern(s): [2021-01-05T06:15:07.259Z] Archives upload complete. [2021-01-05T06:15:07.259Z] INFO: archiving logs to Nexus