Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at c21ff6277396b81a1001baea71274dd2dd19f737 rather than 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 Obtained Jenkinsfile from c21ff6277396b81a1001baea71274dd2dd19f737 Running in Durability level: PERFORMANCE_OPTIMIZED 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 48b313303ce5ba460cd13c4c603c4b280f104d53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 48b313303ce5ba460cd13c4c603c4b280f104d53 # timeout=10 Commit message: "Merge pull request #305 from ernestojeda/revert-go-mod-change" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15032 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [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-661 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 Merge succeeded, producing 02761826d13a242f4f05e5d183ea2f44098b7bfd Checking out Revision 02761826d13a242f4f05e5d183ea2f44098b7bfd (PR-661) > 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/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # 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 c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02761826d13a242f4f05e5d183ea2f44098b7bfd # timeout=10 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" > git rev-list --no-walk 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-08T02:42:14.468Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-08T02:42:14.697Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-08T02:42:14.833Z] ========================================================= [2020-12-08T02:42:14.833Z] EdgeX Global Pipelines Version Info [2020-12-08T02:42:14.833Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:42:16.376Z] ------------------- [2020-12-08T02:42:16.376Z] stable info: [2020-12-08T02:42:16.376Z] ------------------- [2020-12-08T02:42:16.376Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-08T02:42:16.376Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-08T02:42:16.376Z] Message: update stable to v1.0.171 [2020-12-08T02:42:17.326Z] ------------------- [2020-12-08T02:42:17.326Z] experimental info: [2020-12-08T02:42:17.326Z] ------------------- [2020-12-08T02:42:17.326Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-08T02:42:17.326Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-08T02:42:17.326Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-08T02:42:17.572Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-08T02:42:17.664Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-08T02:42:17.752Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-08T02:42:17.847Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-08T02:42:17.937Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-08T02:42:18.042Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-08T02:42:18.136Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-08T02:42:18.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-08T02:42:18.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-08T02:42:18.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-08T02:42:18.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-08T02:42:18.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-08T02:42:18.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-08T02:42:18.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-08T02:42:18.906Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-08T02:42:19.000Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T02:42:19.092Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T02:42:19.195Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T02:42:19.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-08T02:42:19.382Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-08T02:42:19.480Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-08T02:42:19.574Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-08T02:42:19.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-08T02:42:19.778Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-08T02:42:19.866Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-08T02:42:19.956Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-08T02:42:20.047Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo [2020-12-08T02:42:20.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo [2020-12-08T02:42:20.256Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo [2020-12-08T02:42:20.348Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02761826d13a242f4f05e5d183ea2f44098b7bfd [Pipeline] echo [2020-12-08T02:42:20.436Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0276182 [Pipeline] echo [2020-12-08T02:42:20.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-08T02:42:20.763Z] provisioning config files... [2020-12-08T02:42:20.785Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config2753193151505615042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:42:21.150Z] ---> docker-login.sh [2020-12-08T02:42:21.150Z] nexus3.edgexfoundry.org:10001 [2020-12-08T02:42:21.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:42:21.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:42:21.673Z] Configure a credential helper to remove this warning. See [2020-12-08T02:42:21.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:42:21.673Z] [2020-12-08T02:42:21.673Z] Login Succeeded [2020-12-08T02:42:21.673Z] nexus3.edgexfoundry.org:10002 [2020-12-08T02:42:21.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:42:21.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:42:21.673Z] Configure a credential helper to remove this warning. See [2020-12-08T02:42:21.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:42:21.673Z] [2020-12-08T02:42:21.673Z] Login Succeeded [2020-12-08T02:42:21.673Z] nexus3.edgexfoundry.org:10003 [2020-12-08T02:42:21.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:42:21.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:42:21.937Z] Configure a credential helper to remove this warning. See [2020-12-08T02:42:21.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:42:21.937Z] [2020-12-08T02:42:21.937Z] Login Succeeded [2020-12-08T02:42:21.937Z] nexus3.edgexfoundry.org:10004 [2020-12-08T02:42:21.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:42:22.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:42:22.198Z] Configure a credential helper to remove this warning. See [2020-12-08T02:42:22.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:42:22.198Z] [2020-12-08T02:42:22.198Z] Login Succeeded [2020-12-08T02:42:22.198Z] docker.io [2020-12-08T02:42:22.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:42:22.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:42:22.459Z] Configure a credential helper to remove this warning. See [2020-12-08T02:42:22.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:42:22.459Z] [2020-12-08T02:42:22.459Z] Login Succeeded [2020-12-08T02:42:22.459Z] ---> docker-login.sh ends [Pipeline] } [2020-12-08T02:42:22.469Z] 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 [2020-12-08T02:42:23.389Z] + git log --format=format:%s -1 02761826d13a242f4f05e5d183ea2f44098b7bfd [Pipeline] echo [2020-12-08T02:42:23.463Z] GIT_COMMIT: 02761826d13a242f4f05e5d183ea2f44098b7bfd, Commit Message: Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD [Pipeline] echo [2020-12-08T02:42:23.513Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:42:24.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T02:42:24.090Z] [2020-12-08T02:42:24.090Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:42:24.452Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T02:42:24.452Z] latest: Pulling from edgex-devops/git-semver [2020-12-08T02:42:24.452Z] 31603596830f: Pulling fs layer [2020-12-08T02:42:24.452Z] 2a8b12db71e7: Pulling fs layer [2020-12-08T02:42:24.452Z] 6ca5941a6612: Pulling fs layer [2020-12-08T02:42:24.452Z] ecc8261a40a4: Pulling fs layer [2020-12-08T02:42:24.452Z] ecc8261a40a4: Waiting [2020-12-08T02:42:24.452Z] 2a8b12db71e7: Download complete [2020-12-08T02:42:24.452Z] 31603596830f: Verifying Checksum [2020-12-08T02:42:24.452Z] 31603596830f: Download complete [2020-12-08T02:42:24.717Z] ecc8261a40a4: Verifying Checksum [2020-12-08T02:42:24.717Z] ecc8261a40a4: Download complete [2020-12-08T02:42:24.717Z] 6ca5941a6612: Verifying Checksum [2020-12-08T02:42:24.717Z] 6ca5941a6612: Download complete [2020-12-08T02:42:24.979Z] 31603596830f: Pull complete [2020-12-08T02:42:24.979Z] 2a8b12db71e7: Pull complete [2020-12-08T02:42:25.921Z] 6ca5941a6612: Pull complete [2020-12-08T02:42:25.921Z] ecc8261a40a4: Pull complete [2020-12-08T02:42:25.921Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-08T02:42:25.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T02:42:25.921Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-08T02:42:26.016Z] prd-centos7-docker-4c-2g-15032 does not seem to be running inside a container [2020-12-08T02:42:26.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-08T02:42:28.189Z] $ docker top 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-08T02:42:28.626Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-08T02:42:28.626Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-08T02:42:28.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-08T02:42:28.896Z] $ docker exec 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce ssh-agent [2020-12-08T02:42:29.078Z] SSH_AUTH_SOCK=/tmp/ssh-3Gm7cLZgG5qI/agent.11 [2020-12-08T02:42:29.078Z] SSH_AGENT_PID=16 [2020-12-08T02:42:29.091Z] Running ssh-add (command line suppressed) [2020-12-08T02:42:29.222Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8986174282287990670.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8986174282287990670.key) [2020-12-08T02:42:29.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-08T02:42:29.607Z] + git tag --points-at HEAD [Pipeline] } [2020-12-08T02:42:29.631Z] $ docker exec --env ******** --env ******** 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce ssh-agent -k [2020-12-08T02:42:29.751Z] unset SSH_AUTH_SOCK; [2020-12-08T02:42:29.751Z] unset SSH_AGENT_PID; [2020-12-08T02:42:29.751Z] echo Agent pid 16 killed; [2020-12-08T02:42:29.799Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-08T02:42:29.949Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-08T02:42:29.950Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-08T02:42:30.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-08T02:42:30.122Z] $ docker exec 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce ssh-agent [2020-12-08T02:42:30.279Z] SSH_AUTH_SOCK=/tmp/ssh-olkKFxuIS5N4/agent.46 [2020-12-08T02:42:30.279Z] SSH_AGENT_PID=51 [2020-12-08T02:42:30.286Z] Running ssh-add (command line suppressed) [2020-12-08T02:42:30.409Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8370866484407214845.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8370866484407214845.key) [2020-12-08T02:42:30.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-08T02:42:30.790Z] + git semver init [2020-12-08T02:42:30.790Z] # -> Open(): unable to determine branch for HEAD [2020-12-08T02:42:30.790Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git [2020-12-08T02:42:30.790Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 [2020-12-08T02:42:30.790Z] # $SEMVER_REMOTE_NAME = origin [2020-12-08T02:42:30.790Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-08T02:42:30.790Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-08T02:42:30.790Z] # $SEMVER_BRANCH = PR-661 [2020-12-08T02:42:30.790Z] # $SEMVER_TEMP = /tmp/semver-826084221 [2020-12-08T02:42:30.790Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-08T02:42:31.735Z] # '/tmp/semver-826084221' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' [2020-12-08T02:42:31.735Z] # -> Force: false [2020-12-08T02:42:31.735Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } [2020-12-08T02:42:31.749Z] $ docker exec --env ******** --env ******** 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce ssh-agent -k [2020-12-08T02:42:31.862Z] unset SSH_AUTH_SOCK; [2020-12-08T02:42:31.862Z] unset SSH_AGENT_PID; [2020-12-08T02:42:31.862Z] echo Agent pid 51 killed; [2020-12-08T02:42:31.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-08T02:42:32.393Z] + git semver [Pipeline] } [2020-12-08T02:42:32.412Z] $ docker stop --time=1 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce [2020-12-08T02:42:33.898Z] $ docker rm -f 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-08T02:42:34.359Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-08T02:42:34.753Z] Stashed 1 file(s) [Pipeline] echo [2020-12-08T02:42:34.756Z] [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 [2020-12-08T02:42:50.299Z] Still waiting to schedule task [2020-12-08T02:42:50.299Z] ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15034’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-08T02:42:50.301Z] Still waiting to schedule task [2020-12-08T02:42:50.302Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-12-08T02:43:41.857Z] Running on prd-centos7-docker-4c-2g-15036 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws [2020-12-08T02:43:41.908Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-12-08T02:43:44.227Z] using credential edgex-jenkins-ssh [2020-12-08T02:43:44.277Z] Cloning the remote Git repository [2020-12-08T02:43:44.302Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:43:44.368Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-12-08T02:43:44.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:43:44.423Z] > git --version # timeout=10 [2020-12-08T02:43:44.430Z] > git --version # 'git version 2.24.3' [2020-12-08T02:43:44.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:43:44.462Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:43:45.210Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:43:45.218Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:43:45.229Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:43:45.242Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:43:45.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:43:45.247Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-08T02:43:45.737Z] Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [2020-12-08T02:43:45.856Z] Merge succeeded, producing 6c3605beb1989f4629eaedf228ddd10999c415e7 [2020-12-08T02:43:45.856Z] Checking out Revision 6c3605beb1989f4629eaedf228ddd10999c415e7 (PR-661) [2020-12-08T02:43:45.748Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:43:45.753Z] > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [2020-12-08T02:43:45.802Z] > git remote # timeout=10 [2020-12-08T02:43:45.807Z] > git config --get remote.origin.url # timeout=10 [2020-12-08T02:43:45.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:43:45.819Z] > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-08T02:43:45.852Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-08T02:43:45.861Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:43:45.866Z] > git checkout -f 6c3605beb1989f4629eaedf228ddd10999c415e7 # timeout=10 [2020-12-08T02:43:49.559Z] Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" [2020-12-08T02:43:49.565Z] > git rev-list --no-walk 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-08T02:43:50.795Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:43:51.128Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:43:51.426Z] + sudo service docker restart [2020-12-08T02:43:51.426Z] + true [2020-12-08T02:43:51.426Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-08T02:43:52.914Z] provisioning config files... [2020-12-08T02:43:52.939Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config3068421762311951511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:43:53.305Z] ---> docker-login.sh [2020-12-08T02:43:53.305Z] nexus3.edgexfoundry.org:10001 [2020-12-08T02:43:53.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:43:53.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:43:53.568Z] Configure a credential helper to remove this warning. See [2020-12-08T02:43:53.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:43:53.568Z] [2020-12-08T02:43:53.568Z] Login Succeeded [2020-12-08T02:43:53.568Z] nexus3.edgexfoundry.org:10002 [2020-12-08T02:43:53.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:43:53.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:43:53.830Z] Configure a credential helper to remove this warning. See [2020-12-08T02:43:53.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:43:53.830Z] [2020-12-08T02:43:53.830Z] Login Succeeded [2020-12-08T02:43:53.830Z] nexus3.edgexfoundry.org:10003 [2020-12-08T02:43:53.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:43:54.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:43:54.092Z] Configure a credential helper to remove this warning. See [2020-12-08T02:43:54.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:43:54.092Z] [2020-12-08T02:43:54.092Z] Login Succeeded [2020-12-08T02:43:54.092Z] nexus3.edgexfoundry.org:10004 [2020-12-08T02:43:54.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:43:54.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:43:54.092Z] Configure a credential helper to remove this warning. See [2020-12-08T02:43:54.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:43:54.092Z] [2020-12-08T02:43:54.092Z] Login Succeeded [2020-12-08T02:43:54.092Z] docker.io [2020-12-08T02:43:54.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:43:54.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:43:54.619Z] Configure a credential helper to remove this warning. See [2020-12-08T02:43:54.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:43:54.619Z] [2020-12-08T02:43:54.619Z] Login Succeeded [2020-12-08T02:43:54.619Z] ---> docker-login.sh ends [Pipeline] } [2020-12-08T02:43:54.629Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-08T02:43:55.070Z] ========================================================= [2020-12-08T02:43:55.070Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-08T02:43:55.070Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:43:55.442Z] + 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 . [2020-12-08T02:43:55.709Z] Sending build context to Docker daemon 2.402MB [2020-12-08T02:43:55.709Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-08T02:43:55.709Z] Step 2/8 : FROM ${BASE} [2020-12-08T02:43:55.709Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-08T02:43:55.709Z] 188c0c94c7c5: Pulling fs layer [2020-12-08T02:43:55.709Z] 0ef7d3d256c8: Pulling fs layer [2020-12-08T02:43:55.709Z] de9db76c5a1d: Pulling fs layer [2020-12-08T02:43:55.709Z] bca2f99d35d6: Pulling fs layer [2020-12-08T02:43:55.709Z] 93359f2a8cfa: Pulling fs layer [2020-12-08T02:43:55.709Z] 7c6f9722023f: Pulling fs layer [2020-12-08T02:43:55.709Z] a35cf1a2eb13: Pulling fs layer [2020-12-08T02:43:55.709Z] 93359f2a8cfa: Waiting [2020-12-08T02:43:55.709Z] 7c6f9722023f: Waiting [2020-12-08T02:43:55.709Z] a35cf1a2eb13: Waiting [2020-12-08T02:43:55.709Z] bca2f99d35d6: Waiting [2020-12-08T02:43:55.709Z] de9db76c5a1d: Verifying Checksum [2020-12-08T02:43:55.709Z] de9db76c5a1d: Download complete [2020-12-08T02:43:55.709Z] 0ef7d3d256c8: Verifying Checksum [2020-12-08T02:43:55.709Z] 0ef7d3d256c8: Download complete [2020-12-08T02:43:55.709Z] 93359f2a8cfa: Download complete [2020-12-08T02:43:55.709Z] 7c6f9722023f: Verifying Checksum [2020-12-08T02:43:55.709Z] 7c6f9722023f: Download complete [2020-12-08T02:43:55.972Z] 188c0c94c7c5: Verifying Checksum [2020-12-08T02:43:55.972Z] 188c0c94c7c5: Download complete [2020-12-08T02:43:56.240Z] 188c0c94c7c5: Pull complete [2020-12-08T02:43:56.502Z] 0ef7d3d256c8: Pull complete [2020-12-08T02:43:56.771Z] de9db76c5a1d: Pull complete [2020-12-08T02:43:59.351Z] a35cf1a2eb13: Verifying Checksum [2020-12-08T02:43:59.351Z] a35cf1a2eb13: Download complete [2020-12-08T02:44:00.304Z] bca2f99d35d6: Verifying Checksum [2020-12-08T02:44:00.304Z] bca2f99d35d6: Download complete [2020-12-08T02:44:05.689Z] bca2f99d35d6: Pull complete [2020-12-08T02:44:05.689Z] 93359f2a8cfa: Pull complete [2020-12-08T02:44:05.689Z] 7c6f9722023f: Pull complete [2020-12-08T02:44:12.344Z] a35cf1a2eb13: Pull complete [2020-12-08T02:44:12.344Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-08T02:44:12.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-08T02:44:12.344Z] ---> a62c8e92a672 [2020-12-08T02:44:12.344Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:44:12.610Z] ---> Running in 15921a1210ab [2020-12-08T02:44:12.875Z] Removing intermediate container 15921a1210ab [2020-12-08T02:44:12.875Z] ---> 8a31cb7cca35 [2020-12-08T02:44:12.875Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-08T02:44:12.875Z] ---> Running in dfdd572f3585 [2020-12-08T02:44:13.828Z] Removing intermediate container dfdd572f3585 [2020-12-08T02:44:13.828Z] ---> a04da304fe90 [2020-12-08T02:44:13.828Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-08T02:44:14.096Z] ---> Running in d0504b74f35c [2020-12-08T02:44:15.050Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-08T02:44:16.008Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-08T02:44:16.583Z] OK: 166 MiB in 39 packages [2020-12-08T02:44:16.846Z] Removing intermediate container d0504b74f35c [2020-12-08T02:44:16.846Z] ---> 3c0db5004265 [2020-12-08T02:44:16.846Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-08T02:44:17.113Z] ---> Running in c84d305e67b7 [2020-12-08T02:44:17.113Z] Removing intermediate container c84d305e67b7 [2020-12-08T02:44:17.113Z] ---> e456c865cba8 [2020-12-08T02:44:17.113Z] Step 7/8 : COPY . . [2020-12-08T02:44:18.509Z] ---> 80da88223c83 [2020-12-08T02:44:18.509Z] Step 8/8 : RUN go mod download [2020-12-08T02:44:18.509Z] ---> Running in b9a204e87f05 [2020-12-08T02:44:36.710Z] Removing intermediate container b9a204e87f05 [2020-12-08T02:44:36.710Z] ---> 5d4fd6b745a3 [2020-12-08T02:44:36.710Z] Successfully built 5d4fd6b745a3 [2020-12-08T02:44:36.710Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:44:36.755Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15037 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws [2020-12-08T02:44:36.870Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-12-08T02:44:37.024Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-08T02:44:37.024Z] . [Pipeline] withDockerContainer [2020-12-08T02:44:37.140Z] prd-centos7-docker-4c-2g-15036 does not seem to be running inside a container [2020-12-08T02:44:37.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-08T02:44:37.966Z] $ docker top 1f04f25eb923808814c1e52e04987e14ce5877dff5860e3e64a34333083ddbd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:44:38.461Z] + go version [2020-12-08T02:44:38.461Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-08T02:44:38.478Z] $ docker stop --time=1 1f04f25eb923808814c1e52e04987e14ce5877dff5860e3e64a34333083ddbd0 [2020-12-08T02:44:39.826Z] $ docker rm -f 1f04f25eb923808814c1e52e04987e14ce5877dff5860e3e64a34333083ddbd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:44:40.976Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-08T02:44:40.976Z] . [Pipeline] withDockerContainer [2020-12-08T02:44:41.082Z] prd-centos7-docker-4c-2g-15036 does not seem to be running inside a container [2020-12-08T02:44:41.132Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-08T02:44:42.265Z] $ docker top 89eccb0243af5d80836cc68558aab3023ecfdd12750e7a60588f68b822da38f2 -eo pid,comm [2020-12-08T02:44:42.314Z] using credential edgex-jenkins-ssh [2020-12-08T02:44:42.378Z] Cloning the remote Git repository [Pipeline] { [Pipeline] sh [2020-12-08T02:44:42.792Z] + make test [2020-12-08T02:44:42.792Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-08T02:44:42.438Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:44:42.559Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-12-08T02:44:42.640Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:44:42.641Z] > git --version # timeout=10 [2020-12-08T02:44:42.665Z] > git --version # 'git version 2.17.1' [2020-12-08T02:44:42.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:44:42.757Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:44:43.901Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:44:43.928Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:44:43.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:44:44.005Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:44:44.005Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:44:44.018Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-08T02:44:45.339Z] Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [2020-12-08T02:44:45.691Z] Merge succeeded, producing 45c357751ec9638b8b0418a501176f3f8f5eb9d2 [2020-12-08T02:44:45.691Z] Checking out Revision 45c357751ec9638b8b0418a501176f3f8f5eb9d2 (PR-661) [2020-12-08T02:44:45.361Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:44:45.387Z] > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [2020-12-08T02:44:45.493Z] > git remote # timeout=10 [2020-12-08T02:44:45.508Z] > git config --get remote.origin.url # timeout=10 [2020-12-08T02:44:45.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:44:45.536Z] > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-08T02:44:45.626Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-08T02:44:45.703Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:44:45.729Z] > git checkout -f 45c357751ec9638b8b0418a501176f3f8f5eb9d2 # timeout=10 [2020-12-08T02:44:50.070Z] Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" [2020-12-08T02:44:50.082Z] > git rev-list --no-walk 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-08T02:44:50.994Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-08T02:44:51.599Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:44:52.014Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:44:52.354Z] + true [2020-12-08T02:44:52.354Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-08T02:44:55.116Z] provisioning config files... [2020-12-08T02:44:55.167Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config3804682795505191909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:44:55.572Z] ---> docker-login.sh [2020-12-08T02:44:55.572Z] nexus3.edgexfoundry.org:10001 [2020-12-08T02:44:56.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:56.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:56.781Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:56.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:56.781Z] [2020-12-08T02:44:56.781Z] Login Succeeded [2020-12-08T02:44:56.781Z] nexus3.edgexfoundry.org:10002 [2020-12-08T02:44:57.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:57.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:57.331Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:57.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:57.331Z] [2020-12-08T02:44:57.331Z] Login Succeeded [2020-12-08T02:44:57.331Z] nexus3.edgexfoundry.org:10003 [2020-12-08T02:44:57.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:57.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:57.879Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:57.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:57.879Z] [2020-12-08T02:44:57.879Z] Login Succeeded [2020-12-08T02:44:57.879Z] nexus3.edgexfoundry.org:10004 [2020-12-08T02:44:58.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:58.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:58.432Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:58.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:58.432Z] [2020-12-08T02:44:58.432Z] Login Succeeded [2020-12-08T02:44:58.432Z] docker.io [2020-12-08T02:44:58.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:58.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:58.981Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:58.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:58.981Z] [2020-12-08T02:44:58.981Z] Login Succeeded [2020-12-08T02:44:58.981Z] ---> docker-login.sh ends [Pipeline] } [2020-12-08T02:44:59.000Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-08T02:44:59.489Z] ========================================================= [2020-12-08T02:44:59.489Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-08T02:44:59.489Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:44:59.878Z] + 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 . [2020-12-08T02:45:00.526Z] Sending build context to Docker daemon 2.403MB [2020-12-08T02:45:00.526Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-08T02:45:00.526Z] Step 2/8 : FROM ${BASE} [2020-12-08T02:45:00.526Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-08T02:45:00.526Z] 5f621e34cdf4: Pulling fs layer [2020-12-08T02:45:00.526Z] a4357932f1b6: Pulling fs layer [2020-12-08T02:45:00.526Z] 18c013af1878: Pulling fs layer [2020-12-08T02:45:00.526Z] 00ac8860ef70: Pulling fs layer [2020-12-08T02:45:00.526Z] 63d7cb157983: Pulling fs layer [2020-12-08T02:45:00.526Z] b116817d02f9: Pulling fs layer [2020-12-08T02:45:00.526Z] 745a02a5169b: Pulling fs layer [2020-12-08T02:45:00.526Z] 00ac8860ef70: Waiting [2020-12-08T02:45:00.526Z] 63d7cb157983: Waiting [2020-12-08T02:45:00.526Z] b116817d02f9: Waiting [2020-12-08T02:45:00.526Z] 745a02a5169b: Waiting [2020-12-08T02:45:00.527Z] 18c013af1878: Verifying Checksum [2020-12-08T02:45:00.527Z] 18c013af1878: Download complete [2020-12-08T02:45:00.527Z] a4357932f1b6: Verifying Checksum [2020-12-08T02:45:00.527Z] a4357932f1b6: Download complete [2020-12-08T02:45:00.527Z] 63d7cb157983: Verifying Checksum [2020-12-08T02:45:00.527Z] 63d7cb157983: Download complete [2020-12-08T02:45:00.527Z] b116817d02f9: Verifying Checksum [2020-12-08T02:45:00.527Z] b116817d02f9: Download complete [2020-12-08T02:45:00.527Z] 5f621e34cdf4: Verifying Checksum [2020-12-08T02:45:00.527Z] 5f621e34cdf4: Download complete [2020-12-08T02:45:01.143Z] 5f621e34cdf4: Pull complete [2020-12-08T02:45:01.751Z] a4357932f1b6: Pull complete [2020-12-08T02:45:02.364Z] 18c013af1878: Pull complete [2020-12-08T02:45:03.347Z] 745a02a5169b: Verifying Checksum [2020-12-08T02:45:03.347Z] 745a02a5169b: Download complete [2020-12-08T02:45:04.328Z] 00ac8860ef70: Verifying Checksum [2020-12-08T02:45:04.328Z] 00ac8860ef70: Download complete [2020-12-08T02:45:09.224Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-08T02:45:09.224Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-08T02:45:09.224Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-08T02:45:09.224Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.073s coverage: 20.0% of statements [2020-12-08T02:45:09.224Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.517s coverage: 97.1% of statements [2020-12-08T02:45:14.506Z] 00ac8860ef70: Pull complete [2020-12-08T02:45:14.506Z] 63d7cb157983: Pull complete [2020-12-08T02:45:14.506Z] b116817d02f9: Pull complete [2020-12-08T02:45:17.894Z] 745a02a5169b: Pull complete [2020-12-08T02:45:17.894Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-08T02:45:17.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-08T02:45:17.894Z] ---> b7e6874047d6 [2020-12-08T02:45:17.894Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:45:20.529Z] ---> Running in 6032f6ec2ea8 [2020-12-08T02:45:21.126Z] Removing intermediate container 6032f6ec2ea8 [2020-12-08T02:45:21.126Z] ---> 88a30373f5bb [2020-12-08T02:45:21.126Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-08T02:45:21.126Z] ---> Running in ce0b9c3555ab [2020-12-08T02:45:23.761Z] Removing intermediate container ce0b9c3555ab [2020-12-08T02:45:23.761Z] ---> 6ddb62f77369 [2020-12-08T02:45:23.761Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-08T02:45:23.761Z] ---> Running in fff6b70fcbb5 [2020-12-08T02:45:24.743Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-08T02:45:25.721Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-08T02:45:26.694Z] OK: 142 MiB in 39 packages [2020-12-08T02:45:28.139Z] Removing intermediate container fff6b70fcbb5 [2020-12-08T02:45:28.139Z] ---> 60f386ea769e [2020-12-08T02:45:28.139Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-08T02:45:28.139Z] ---> Running in 1b01f97ec133 [2020-12-08T02:45:28.415Z] Removing intermediate container 1b01f97ec133 [2020-12-08T02:45:28.415Z] ---> 5f2d5e7fa912 [2020-12-08T02:45:28.415Z] Step 7/8 : COPY . . [2020-12-08T02:45:29.849Z] ---> 42a56929f15d [2020-12-08T02:45:29.849Z] Step 8/8 : RUN go mod download [2020-12-08T02:45:30.125Z] ---> Running in 9e12c2cb62f9 [2020-12-08T02:45:41.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 9.4% of statements [2020-12-08T02:45:41.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.067s coverage: 21.9% of statements [2020-12-08T02:45:41.395Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-08T02:45:41.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.217s coverage: 42.5% of statements [2020-12-08T02:45:41.395Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-08T02:45:41.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.313s coverage: 68.9% of statements [2020-12-08T02:45:41.395Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-08T02:45:41.395Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-08T02:45:41.395Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-08T02:45:41.395Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-08T02:45:41.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-12-08T02:45:41.395Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-08T02:45:41.395Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-08T02:45:41.395Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-08T02:45:41.395Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.434s coverage: 68.9% of statements [2020-12-08T02:45:41.395Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.7% of statements [2020-12-08T02:45:41.395Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-08T02:45:41.395Z] GO111MODULE=on go vet ./... [2020-12-08T02:45:48.133Z] gofmt -l . [2020-12-08T02:45:48.401Z] [ "`gofmt -l .`" = "" ] [2020-12-08T02:45:48.401Z] ./bin/test-attribution-txt.sh [2020-12-08T02:45:49.345Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-08T02:45:49.361Z] $ docker stop --time=1 89eccb0243af5d80836cc68558aab3023ecfdd12750e7a60588f68b822da38f2 [2020-12-08T02:45:51.555Z] $ docker rm -f 89eccb0243af5d80836cc68558aab3023ecfdd12750e7a60588f68b822da38f2 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-08T02:45:52.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-08T02:45:52.283Z] Removing intermediate container 9e12c2cb62f9 [2020-12-08T02:45:52.283Z] ---> 683c4b869feb [2020-12-08T02:45:52.283Z] Successfully built 683c4b869feb [2020-12-08T02:45:52.283Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:45:52.652Z] + docker inspect -f . ci-base-image-arm64 [2020-12-08T02:45:52.652Z] . [Pipeline] withDockerContainer [2020-12-08T02:45:52.675Z] Stashed 1 file(s) [2020-12-08T02:45:52.925Z] prd-ubuntu18.04-docker-arm64-4c-16g-15037 does not seem to be running inside a container [2020-12-08T02:45:53.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-08T02:45:54.553Z] $ docker top 4bcf4814a343e4ee81527a5a2aa055e0ca2d8ec6c7f087236be038f6f1fecc14 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-12-08T02:45:55.612Z] + go version [2020-12-08T02:45:55.612Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-08T02:45:57.246Z] $ docker stop --time=1 4bcf4814a343e4ee81527a5a2aa055e0ca2d8ec6c7f087236be038f6f1fecc14 [2020-12-08T02:45:59.171Z] $ docker rm -f 4bcf4814a343e4ee81527a5a2aa055e0ca2d8ec6c7f087236be038f6f1fecc14 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-12-08T02:45:59.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:46:00.186Z] + ls -al . [2020-12-08T02:46:00.186Z] total 208 [2020-12-08T02:46:00.186Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 8 02:45 . [2020-12-08T02:46:00.186Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 8 02:43 .. [2020-12-08T02:46:00.186Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 8 02:43 bin [2020-12-08T02:46:00.186Z] -rw-r--r--. 1 jenkins jenkins 127698 Dec 8 02:45 coverage.out [2020-12-08T02:46:00.186Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 8 02:43 Dockerfile.build [2020-12-08T02:46:00.186Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 8 02:43 .dockerignore [2020-12-08T02:46:00.186Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 8 02:43 example [2020-12-08T02:46:00.186Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 8 02:43 .git [2020-12-08T02:46:00.186Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 8 02:43 .github [2020-12-08T02:46:00.186Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 8 02:43 .gitignore [2020-12-08T02:46:00.186Z] -rw-r--r--. 1 jenkins jenkins 518 Dec 8 02:45 go.mod [2020-12-08T02:46:00.186Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 8 02:45 go.sum [2020-12-08T02:46:00.186Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 8 02:43 internal [2020-12-08T02:46:00.186Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 8 02:43 Jenkinsfile [2020-12-08T02:46:00.186Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 8 02:43 LICENSE [2020-12-08T02:46:00.186Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 8 02:43 Makefile [2020-12-08T02:46:00.186Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 8 02:43 openapi [2020-12-08T02:46:00.186Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 8 02:43 pkg [2020-12-08T02:46:00.186Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 8 02:43 README.md [2020-12-08T02:46:00.186Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 8 02:43 RELEASE-NOTES.txt [2020-12-08T02:46:00.186Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 8 02:43 snap [2020-12-08T02:46:00.186Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 8 02:42 VERSION [2020-12-08T02:46:00.186Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 8 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:46:00.425Z] + docker inspect -f . ci-base-image-arm64 [2020-12-08T02:46:00.425Z] . [Pipeline] withDockerContainer [2020-12-08T02:46:00.507Z] + 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=02761826d13a242f4f05e5d183ea2f44098b7bfd --label arch=amd64 --label version=0.0.0 . [2020-12-08T02:46:00.684Z] prd-ubuntu18.04-docker-arm64-4c-16g-15037 does not seem to be running inside a container [2020-12-08T02:46:00.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-08T02:46:00.768Z] Sending build context to Docker daemon 2.531MB [2020-12-08T02:46:01.348Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-08T02:46:01.348Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-08T02:46:01.348Z] ---> 5d4fd6b745a3 [2020-12-08T02:46:01.348Z] Step 3/24 : ARG MAKE='make build' [2020-12-08T02:46:01.928Z] ---> Running in b9f90d0ffae1 [2020-12-08T02:46:01.928Z] Removing intermediate container b9f90d0ffae1 [2020-12-08T02:46:01.928Z] ---> ba89e661c54c [2020-12-08T02:46:01.928Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-08T02:46:01.928Z] ---> Running in bb7528586f78 [2020-12-08T02:46:02.191Z] Removing intermediate container bb7528586f78 [2020-12-08T02:46:02.191Z] ---> 921ea42937ab [2020-12-08T02:46:02.191Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:46:02.191Z] ---> Running in 128072d81da5 [2020-12-08T02:46:02.261Z] $ docker top a4ef7912d1de238ec5c23e7916ebba351c506d9e24946fb7a0533aa1caf9055b -eo pid,comm [2020-12-08T02:46:02.453Z] Removing intermediate container 128072d81da5 [2020-12-08T02:46:02.453Z] ---> 77286722a8db [2020-12-08T02:46:02.453Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-08T02:46:02.453Z] ---> Running in 7186aadc42b9 [Pipeline] { [Pipeline] sh [2020-12-08T02:46:03.323Z] + make test [2020-12-08T02:46:03.323Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-08T02:46:03.401Z] Removing intermediate container 7186aadc42b9 [2020-12-08T02:46:03.401Z] ---> 0e0bd90d3c94 [2020-12-08T02:46:03.401Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-08T02:46:03.401Z] ---> Running in 3b3e6286d991 [2020-12-08T02:46:03.979Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-08T02:46:04.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-08T02:46:05.496Z] OK: 166 MiB in 39 packages [2020-12-08T02:46:06.072Z] Removing intermediate container 3b3e6286d991 [2020-12-08T02:46:06.072Z] ---> d850d751c540 [2020-12-08T02:46:06.072Z] Step 8/24 : COPY . . [2020-12-08T02:46:07.022Z] ---> 162aa3ce9a33 [2020-12-08T02:46:07.022Z] Step 9/24 : RUN ${MAKE} [2020-12-08T02:46:07.022Z] ---> Running in a51b7d0e7a42 [2020-12-08T02:46:07.605Z] 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 [2020-12-08T02:46:16.206Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-08T02:46:18.146Z] Removing intermediate container a51b7d0e7a42 [2020-12-08T02:46:18.146Z] ---> 0ac094bab7d3 [2020-12-08T02:46:18.146Z] Step 10/24 : FROM scratch [2020-12-08T02:46:18.146Z] ---> [2020-12-08T02:46:18.146Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:46:18.146Z] ---> Running in ecc0393dc20f [2020-12-08T02:46:18.410Z] Removing intermediate container ecc0393dc20f [2020-12-08T02:46:18.411Z] ---> a976880aa44b [2020-12-08T02:46:18.411Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-08T02:46:18.411Z] ---> Running in 7a0208864b20 [2020-12-08T02:46:18.674Z] Removing intermediate container 7a0208864b20 [2020-12-08T02:46:18.674Z] ---> acaf138d3545 [2020-12-08T02:46:18.674Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-08T02:46:18.674Z] ---> Running in f471f58b9e90 [2020-12-08T02:46:18.674Z] Removing intermediate container f471f58b9e90 [2020-12-08T02:46:18.674Z] ---> 7264d0839100 [2020-12-08T02:46:18.674Z] Step 14/24 : WORKDIR / [2020-12-08T02:46:18.935Z] ---> Running in dd625afad89f [2020-12-08T02:46:18.935Z] Removing intermediate container dd625afad89f [2020-12-08T02:46:18.935Z] ---> 3334842055ed [2020-12-08T02:46:18.935Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-08T02:46:19.509Z] ---> 740abb948846 [2020-12-08T02:46:19.509Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-08T02:46:19.773Z] ---> 4e7b806f6ff9 [2020-12-08T02:46:19.773Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-08T02:46:20.037Z] ---> 57a3a9fe72aa [2020-12-08T02:46:20.037Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-08T02:46:20.037Z] ---> 3bf802315e14 [2020-12-08T02:46:20.037Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-08T02:46:20.299Z] ---> dd3c274a91b2 [2020-12-08T02:46:20.299Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-08T02:46:20.560Z] ---> Running in 0b4ca4d11821 [2020-12-08T02:46:20.560Z] Removing intermediate container 0b4ca4d11821 [2020-12-08T02:46:20.560Z] ---> 62ae60fed8ff [2020-12-08T02:46:20.560Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-08T02:46:20.560Z] ---> Running in 142949093a34 [2020-12-08T02:46:20.822Z] Removing intermediate container 142949093a34 [2020-12-08T02:46:20.822Z] ---> 7bc403551bcb [2020-12-08T02:46:20.822Z] Step 22/24 : LABEL arch=amd64 [2020-12-08T02:46:20.822Z] ---> Running in 061f326886c3 [2020-12-08T02:46:21.084Z] Removing intermediate container 061f326886c3 [2020-12-08T02:46:21.084Z] ---> c0e1c52590ad [2020-12-08T02:46:21.084Z] Step 23/24 : LABEL git_sha=02761826d13a242f4f05e5d183ea2f44098b7bfd [2020-12-08T02:46:21.084Z] ---> Running in b7f1237f15e0 [2020-12-08T02:46:21.346Z] Removing intermediate container b7f1237f15e0 [2020-12-08T02:46:21.346Z] ---> 063cec6d70b4 [2020-12-08T02:46:21.346Z] Step 24/24 : LABEL version=0.0.0 [2020-12-08T02:46:21.346Z] ---> Running in fd8b6ea054a5 [2020-12-08T02:46:21.346Z] Removing intermediate container fd8b6ea054a5 [2020-12-08T02:46:21.346Z] ---> 56ba1b37ec3e [2020-12-08T02:46:21.346Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-08T02:46:21.346Z] Successfully built 56ba1b37ec3e [2020-12-08T02:46:21.608Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-08T02:46:25.574Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-08T02:47:05.131Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-08T02:47:05.131Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-08T02:47:05.131Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-08T02:47:05.131Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.150s coverage: 20.0% of statements [2020-12-08T02:47:06.584Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.325s coverage: 97.1% of statements [2020-12-08T02:47:38.968Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.128s coverage: 9.4% of statements [2020-12-08T02:47:38.968Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.123s coverage: 21.9% of statements [2020-12-08T02:47:38.968Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-08T02:47:38.968Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.593s coverage: 42.5% of statements [2020-12-08T02:47:38.968Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-08T02:47:38.968Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.785s coverage: 68.9% of statements [2020-12-08T02:47:38.968Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-08T02:47:38.968Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-08T02:47:38.968Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-08T02:47:38.968Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-08T02:47:38.968Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 52.6% of statements [2020-12-08T02:47:38.968Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-08T02:47:38.968Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-08T02:47:38.968Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-08T02:47:38.968Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.889s coverage: 68.9% of statements [2020-12-08T02:47:38.968Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.7% of statements [2020-12-08T02:47:38.968Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-08T02:47:38.968Z] GO111MODULE=on go vet ./... [2020-12-08T02:48:05.805Z] gofmt -l . [2020-12-08T02:48:06.090Z] [ "`gofmt -l .`" = "" ] [2020-12-08T02:48:06.690Z] ./bin/test-attribution-txt.sh [2020-12-08T02:48:07.287Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-08T02:48:07.909Z] $ docker stop --time=1 a4ef7912d1de238ec5c23e7916ebba351c506d9e24946fb7a0533aa1caf9055b [2020-12-08T02:48:10.029Z] $ docker rm -f a4ef7912d1de238ec5c23e7916ebba351c506d9e24946fb7a0533aa1caf9055b [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-08T02:48:11.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-08T02:48:11.181Z] Warning: overwriting stash ‘coverage-report’ [2020-12-08T02:48:12.129Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-08T02:48:12.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-08T02:48:13.326Z] + ls -al . [2020-12-08T02:48:13.326Z] total 244 [2020-12-08T02:48:13.326Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 8 02:48 . [2020-12-08T02:48:13.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:44 .. [2020-12-08T02:48:13.326Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 8 02:44 .dockerignore [2020-12-08T02:48:13.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 8 02:44 .git [2020-12-08T02:48:13.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 02:44 .github [2020-12-08T02:48:13.326Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 8 02:44 .gitignore [2020-12-08T02:48:13.326Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 8 02:44 Dockerfile.build [2020-12-08T02:48:13.326Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 8 02:44 Jenkinsfile [2020-12-08T02:48:13.326Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 8 02:44 LICENSE [2020-12-08T02:48:13.326Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 8 02:44 Makefile [2020-12-08T02:48:13.326Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 8 02:44 README.md [2020-12-08T02:48:13.326Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 8 02:44 RELEASE-NOTES.txt [2020-12-08T02:48:13.326Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 8 02:42 VERSION [2020-12-08T02:48:13.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 02:44 bin [2020-12-08T02:48:13.326Z] -rw-r--r-- 1 jenkins jenkins 127698 Dec 8 02:47 coverage.out [2020-12-08T02:48:13.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:44 example [2020-12-08T02:48:13.326Z] -rw-r--r-- 1 jenkins jenkins 518 Dec 8 02:48 go.mod [2020-12-08T02:48:13.326Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 8 02:48 go.sum [2020-12-08T02:48:13.326Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 8 02:44 internal [2020-12-08T02:48:13.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:44 openapi [2020-12-08T02:48:13.326Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 8 02:44 pkg [2020-12-08T02:48:13.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:44 snap [2020-12-08T02:48:13.326Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 8 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:48:13.745Z] + 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=02761826d13a242f4f05e5d183ea2f44098b7bfd --label arch=arm64 --label version=0.0.0 . [2020-12-08T02:48:14.358Z] Sending build context to Docker daemon 2.531MB [2020-12-08T02:48:14.358Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-08T02:48:14.358Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-08T02:48:14.358Z] ---> 683c4b869feb [2020-12-08T02:48:14.358Z] Step 3/24 : ARG MAKE='make build' [2020-12-08T02:48:14.634Z] ---> Running in 636d447fe434 [2020-12-08T02:48:15.236Z] Removing intermediate container 636d447fe434 [2020-12-08T02:48:15.236Z] ---> d4a9bdd41792 [2020-12-08T02:48:15.236Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-08T02:48:15.237Z] ---> Running in d9e3139b399e [2020-12-08T02:48:15.841Z] Removing intermediate container d9e3139b399e [2020-12-08T02:48:15.841Z] ---> 72027589f716 [2020-12-08T02:48:15.841Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:48:15.841Z] ---> Running in fdd3741be356 [2020-12-08T02:48:16.438Z] Removing intermediate container fdd3741be356 [2020-12-08T02:48:16.438Z] ---> 05716b48848c [2020-12-08T02:48:16.438Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-08T02:48:16.438Z] ---> Running in de39bd84dbf0 [2020-12-08T02:48:18.427Z] Removing intermediate container de39bd84dbf0 [2020-12-08T02:48:18.427Z] ---> 800b4eb8294b [2020-12-08T02:48:18.427Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-08T02:48:18.427Z] ---> Running in c084d8f3ca68 [2020-12-08T02:48:19.414Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-08T02:48:20.387Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-08T02:48:20.981Z] OK: 142 MiB in 39 packages [2020-12-08T02:48:21.978Z] Removing intermediate container c084d8f3ca68 [2020-12-08T02:48:21.978Z] ---> b8224be9980f [2020-12-08T02:48:21.978Z] Step 8/24 : COPY . . [2020-12-08T02:48:23.413Z] ---> 24db9e57ffba [2020-12-08T02:48:23.413Z] Step 9/24 : RUN ${MAKE} [2020-12-08T02:48:23.413Z] ---> Running in 558983e73d0b [2020-12-08T02:48:24.862Z] 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 [2020-12-08T02:48:51.689Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-08T02:48:51.689Z] Removing intermediate container 558983e73d0b [2020-12-08T02:48:51.689Z] ---> c3dd4d4fc332 [2020-12-08T02:48:51.689Z] Step 10/24 : FROM scratch [2020-12-08T02:48:51.689Z] ---> [2020-12-08T02:48:51.689Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:48:51.689Z] ---> Running in 81d233c24534 [2020-12-08T02:48:51.689Z] Removing intermediate container 81d233c24534 [2020-12-08T02:48:51.689Z] ---> 2a469dbb58e8 [2020-12-08T02:48:51.689Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-08T02:48:51.689Z] ---> Running in bcea01c18625 [2020-12-08T02:48:51.961Z] Removing intermediate container bcea01c18625 [2020-12-08T02:48:51.961Z] ---> 57536385bfba [2020-12-08T02:48:51.961Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-08T02:48:51.961Z] ---> Running in bc275fb9964f [2020-12-08T02:48:52.557Z] Removing intermediate container bc275fb9964f [2020-12-08T02:48:52.557Z] ---> 518919f6af40 [2020-12-08T02:48:52.557Z] Step 14/24 : WORKDIR / [2020-12-08T02:48:52.557Z] ---> Running in 3f55c50a746f [2020-12-08T02:48:53.151Z] Removing intermediate container 3f55c50a746f [2020-12-08T02:48:53.151Z] ---> 95782286239d [2020-12-08T02:48:53.151Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-08T02:48:54.132Z] ---> 595a152ef693 [2020-12-08T02:48:54.132Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-08T02:48:55.112Z] ---> 69c62414fce8 [2020-12-08T02:48:55.112Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-08T02:48:55.708Z] ---> 7b5a7b3fe2a9 [2020-12-08T02:48:55.708Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-08T02:48:56.309Z] ---> 06e2f3eb3491 [2020-12-08T02:48:56.309Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-08T02:48:56.907Z] ---> 15831abcd55d [2020-12-08T02:48:56.907Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-08T02:48:57.181Z] ---> Running in c43e17787cf2 [2020-12-08T02:48:57.456Z] Removing intermediate container c43e17787cf2 [2020-12-08T02:48:57.456Z] ---> a52754fcd767 [2020-12-08T02:48:57.456Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-08T02:48:57.732Z] ---> Running in 88c7059ff74a [2020-12-08T02:48:58.008Z] Removing intermediate container 88c7059ff74a [2020-12-08T02:48:58.008Z] ---> 36ce0b5a16b8 [2020-12-08T02:48:58.008Z] Step 22/24 : LABEL arch=arm64 [2020-12-08T02:48:58.282Z] ---> Running in 17f2a0b9d6c4 [2020-12-08T02:48:58.561Z] Removing intermediate container 17f2a0b9d6c4 [2020-12-08T02:48:58.561Z] ---> f1bf786296a1 [2020-12-08T02:48:58.561Z] Step 23/24 : LABEL git_sha=02761826d13a242f4f05e5d183ea2f44098b7bfd [2020-12-08T02:48:58.834Z] ---> Running in 32a8f75c63de [2020-12-08T02:48:59.107Z] Removing intermediate container 32a8f75c63de [2020-12-08T02:48:59.107Z] ---> 0708db13382c [2020-12-08T02:48:59.107Z] Step 24/24 : LABEL version=0.0.0 [2020-12-08T02:48:59.385Z] ---> Running in 7be1f2b8d501 [2020-12-08T02:48:59.980Z] Removing intermediate container 7be1f2b8d501 [2020-12-08T02:48:59.980Z] ---> 6169c986fe14 [2020-12-08T02:48:59.980Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-08T02:48:59.980Z] Successfully built 6169c986fe14 [2020-12-08T02:48:59.980Z] 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 [2020-12-08T02:49:01.835Z] provisioning config files... [2020-12-08T02:49:01.848Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config849677073105591757tmp [Pipeline] { [Pipeline] sh [2020-12-08T02:49:02.244Z] + set +x [2020-12-08T02:49:02.244Z] + bash -s -- [2020-12-08T02:49:02.244Z] + curl -s https://codecov.io/bash [2020-12-08T02:49:02.509Z] [2020-12-08T02:49:02.509Z] _____ _ [2020-12-08T02:49:02.509Z] / ____| | | [2020-12-08T02:49:02.509Z] | | ___ __| | ___ ___ _____ __ [2020-12-08T02:49:02.509Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-08T02:49:02.509Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-08T02:49:02.509Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-08T02:49:02.509Z] Bash-20201130-cc6d3fe [2020-12-08T02:49:02.509Z] [2020-12-08T02:49:02.509Z] [2020-12-08T02:49:02.509Z] ==> Jenkins CI detected. [2020-12-08T02:49:02.509Z] project root: . [2020-12-08T02:49:02.509Z] --> token set from env [2020-12-08T02:49:02.509Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-08T02:49:02.509Z] ==> Running gcov in . (disable via -X gcov) [2020-12-08T02:49:02.509Z] ==> Python coveragepy not found [2020-12-08T02:49:02.509Z] ==> Searching for coverage reports in: [2020-12-08T02:49:02.509Z] + . [2020-12-08T02:49:02.509Z] -> Found 1 reports [2020-12-08T02:49:02.509Z] ==> Detecting git/mercurial file structure [2020-12-08T02:49:02.509Z] ==> Reading reports [2020-12-08T02:49:02.509Z] + ./coverage.out bytes=127698 [2020-12-08T02:49:02.509Z] ==> Appending adjustments [2020-12-08T02:49:02.509Z] https://docs.codecov.io/docs/fixing-reports [2020-12-08T02:49:03.083Z] + Found adjustments [2020-12-08T02:49:03.083Z] ==> Gzipping contents [2020-12-08T02:49:03.083Z] 24K /tmp/codecov.ujowq6.gz [2020-12-08T02:49:03.083Z] ==> Uploading reports [2020-12-08T02:49:03.083Z] url: https://codecov.io [2020-12-08T02:49:03.083Z] query: branch=PR-661&commit=02761826d13a242f4f05e5d183ea2f44098b7bfd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= [2020-12-08T02:49:03.083Z] -> Pinging Codecov [2020-12-08T02:49:03.083Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-661&commit=02761826d13a242f4f05e5d183ea2f44098b7bfd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= [2020-12-08T02:49:03.347Z] -> Uploading to [2020-12-08T02:49:03.347Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-08/7E55EF52A471D76F132DFD9A03CDDE97/02761826d13a242f4f05e5d183ea2f44098b7bfd/a1097ea2-bf7b-4a2e-9965-093a11fddda2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201208T024903Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7afda240c3ee2954276ca2cf36d1074bfeee7cbd5f937664ac9091613f6ec687 [2020-12-08T02:49:03.347Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-08T02:49:03.347Z] Dload Upload Total Spent Left Speed [2020-12-08T02:49:03.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20867 0 0 100 20867 0 48787 --:--:-- --:--:-- --:--:-- 48868 [2020-12-08T02:49:03.924Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/02761826d13a242f4f05e5d183ea2f44098b7bfd [Pipeline] } [2020-12-08T02:49:03.933Z] 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 [2020-12-08T02:49:06.964Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:07.275Z] ---> package-listing.sh [2020-12-08T02:49:07.275Z] ++ facter osfamily [2020-12-08T02:49:07.275Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-08T02:49:07.275Z] + OS_FAMILY=redhat [2020-12-08T02:49:07.275Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 [2020-12-08T02:49:07.275Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-08T02:49:07.275Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-08T02:49:07.275Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-08T02:49:07.275Z] + PACKAGES=/tmp/packages_start.txt [2020-12-08T02:49:07.275Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' [2020-12-08T02:49:07.275Z] + PACKAGES=/tmp/packages_end.txt [2020-12-08T02:49:07.275Z] + case "${OS_FAMILY}" in [2020-12-08T02:49:07.275Z] + rpm -qa [2020-12-08T02:49:07.275Z] + sort [2020-12-08T02:49:12.590Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-08T02:49:12.590Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-08T02:49:12.590Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-08T02:49:12.590Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' [2020-12-08T02:49:12.590Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [2020-12-08T02:49:12.590Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [Pipeline] echo [2020-12-08T02:49:12.605Z] 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-661/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-08T02:49:12.900Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:49:13.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T02:49:13.211Z] [2020-12-08T02:49:13.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:49:13.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T02:49:13.556Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-08T02:49:13.556Z] df20fa9351a1: Pulling fs layer [2020-12-08T02:49:13.556Z] 36b3adc4ff6f: Pulling fs layer [2020-12-08T02:49:13.556Z] 8ad3a11d3b57: Pulling fs layer [2020-12-08T02:49:13.556Z] 46f8f816bc3b: Pulling fs layer [2020-12-08T02:49:13.556Z] 93b61091891f: Pulling fs layer [2020-12-08T02:49:13.556Z] 93b9cdb0e59b: Pulling fs layer [2020-12-08T02:49:13.556Z] 5e14af77c1be: Pulling fs layer [2020-12-08T02:49:13.556Z] 01666e4c0597: Pulling fs layer [2020-12-08T02:49:13.556Z] aa168da1d23b: Pulling fs layer [2020-12-08T02:49:13.556Z] 93b9cdb0e59b: Waiting [2020-12-08T02:49:13.556Z] 5e14af77c1be: Waiting [2020-12-08T02:49:13.556Z] 01666e4c0597: Waiting [2020-12-08T02:49:13.556Z] aa168da1d23b: Waiting [2020-12-08T02:49:13.556Z] 46f8f816bc3b: Waiting [2020-12-08T02:49:13.556Z] 93b61091891f: Waiting [2020-12-08T02:49:13.556Z] 36b3adc4ff6f: Verifying Checksum [2020-12-08T02:49:13.556Z] 36b3adc4ff6f: Download complete [2020-12-08T02:49:13.822Z] 46f8f816bc3b: Verifying Checksum [2020-12-08T02:49:13.822Z] 46f8f816bc3b: Download complete [2020-12-08T02:49:13.822Z] df20fa9351a1: Verifying Checksum [2020-12-08T02:49:13.822Z] df20fa9351a1: Download complete [2020-12-08T02:49:13.822Z] 93b9cdb0e59b: Verifying Checksum [2020-12-08T02:49:13.822Z] 93b9cdb0e59b: Download complete [2020-12-08T02:49:13.822Z] 5e14af77c1be: Verifying Checksum [2020-12-08T02:49:13.822Z] 5e14af77c1be: Download complete [2020-12-08T02:49:13.822Z] 93b61091891f: Verifying Checksum [2020-12-08T02:49:13.822Z] 93b61091891f: Download complete [2020-12-08T02:49:13.822Z] 01666e4c0597: Verifying Checksum [2020-12-08T02:49:13.822Z] 01666e4c0597: Download complete [2020-12-08T02:49:14.085Z] df20fa9351a1: Pull complete [2020-12-08T02:49:14.350Z] 36b3adc4ff6f: Pull complete [2020-12-08T02:49:15.743Z] 8ad3a11d3b57: Verifying Checksum [2020-12-08T02:49:15.743Z] 8ad3a11d3b57: Download complete [2020-12-08T02:49:16.323Z] 8ad3a11d3b57: Pull complete [2020-12-08T02:49:16.323Z] 46f8f816bc3b: Pull complete [2020-12-08T02:49:16.911Z] 93b61091891f: Pull complete [2020-12-08T02:49:17.176Z] 93b9cdb0e59b: Pull complete [2020-12-08T02:49:17.441Z] 5e14af77c1be: Pull complete [2020-12-08T02:49:17.441Z] 01666e4c0597: Pull complete [2020-12-08T02:49:18.026Z] aa168da1d23b: Verifying Checksum [2020-12-08T02:49:18.026Z] aa168da1d23b: Download complete [2020-12-08T02:49:24.676Z] aa168da1d23b: Pull complete [2020-12-08T02:49:24.676Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-08T02:49:24.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T02:49:24.676Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-08T02:49:24.859Z] prd-centos7-docker-4c-2g-15032 does not seem to be running inside a container [2020-12-08T02:49:24.910Z] $ 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-661/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-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-08T02:49:29.565Z] $ docker top bfb001eed97bb34d82c45828b0d3e27781619021e45f9db7e48f4e2a3b535cd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:49:30.091Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-08T02:49:30.388Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-08T02:49:30.695Z] + ls /var/log/sa-host [2020-12-08T02:49:30.696Z] + sadf -c /var/log/sa-host/sa08 [2020-12-08T02:49:30.696Z] file_magic: OK [2020-12-08T02:49:30.696Z] HZ: Using current value: 100 [2020-12-08T02:49:30.696Z] file_header: OK [2020-12-08T02:49:30.696Z] 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 [2020-12-08T02:49:30.696Z] Statistics: [2020-12-08T02:49:30.696Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-08T02:49:30.696Z] File successfully converted to sysstat format version 12.2.1 [2020-12-08T02:49:30.696Z] + sadf -c /var/log/sa-host/sa23 [2020-12-08T02:49:30.696Z] file_magic: OK [2020-12-08T02:49:30.696Z] HZ: Using current value: 100 [2020-12-08T02:49:30.696Z] file_header: OK [2020-12-08T02:49:30.696Z] 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 [2020-12-08T02:49:30.696Z] Statistics: [2020-12-08T02:49:30.696Z] Hnuu...uuuununununu... [2020-12-08T02:49:30.696Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-08T02:49:31.360Z] provisioning config files... [2020-12-08T02:49:31.376Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config243898672955096301tmp [Pipeline] { [Pipeline] echo [2020-12-08T02:49:31.462Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:31.766Z] ---> create-netrc.sh [Pipeline] } [2020-12-08T02:49:31.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-08T02:49:31.883Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:32.185Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-08T02:49:32.196Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:32.500Z] ---> sudo-logs.sh [2020-12-08T02:49:32.500Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-08T02:49:32.511Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:32.816Z] ---> job-cost.sh [2020-12-08T02:49:32.816Z] lf-activate-venv: SKIPPING [2020-12-08T02:49:32.816Z] INFO: No Stack... [2020-12-08T02:49:33.772Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-08T02:49:34.345Z] INFO: Archiving Costs [Pipeline] echo [2020-12-08T02:49:34.358Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:34.651Z] ---> logs-deploy.sh [2020-12-08T02:49:34.651Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/6 [2020-12-08T02:49:34.651Z] INFO: archiving workspace using pattern(s): [2020-12-08T02:49:37.283Z] Archives upload complete. [2020-12-08T02:49:37.283Z] INFO: archiving logs to Nexus