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 tzstoyanov for edgexfoundry/device-sdk-go Loading trusted files from base branch master at c21ff6277396b81a1001baea71274dd2dd19f737 rather than 46bab8434c541b523242ffed956eb32102a5c834 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-15034 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [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-650 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 46bab8434c541b523242ffed956eb32102a5c834 Merge succeeded, producing 45d7d71e4316cddffb5bfb7643e18fdc2467c961 Checking out Revision 45d7d71e4316cddffb5bfb7643e18fdc2467c961 (PR-650) > git config core.sparsecheckout # timeout=10 > git checkout -f 46bab8434c541b523242ffed956eb32102a5c834 # 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 45d7d71e4316cddffb5bfb7643e18fdc2467c961 # timeout=10 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-08T02:43:23.572Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-08T02:43:23.846Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-08T02:43:23.936Z] ========================================================= [2020-12-08T02:43:23.936Z] EdgeX Global Pipelines Version Info [2020-12-08T02:43:23.936Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9a0e2c45274f62f1dd40da0d458bb55d36998f22 # timeout=10 [2020-12-08T02:43:26.861Z] ------------------- [2020-12-08T02:43:26.861Z] stable info: [2020-12-08T02:43:26.861Z] ------------------- [2020-12-08T02:43:26.861Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-08T02:43:26.861Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-08T02:43:26.861Z] Message: update stable to v1.0.171 [2020-12-08T02:43:27.847Z] ------------------- [2020-12-08T02:43:27.847Z] experimental info: [2020-12-08T02:43:27.847Z] ------------------- [2020-12-08T02:43:27.847Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-08T02:43:27.847Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-08T02:43:27.847Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-08T02:43:28.240Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-08T02:43:28.335Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-08T02:43:28.427Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-08T02:43:28.524Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-08T02:43:28.618Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-08T02:43:28.717Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-08T02:43:28.807Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-08T02:43:28.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-08T02:43:28.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-08T02:43:29.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-08T02:43:29.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-08T02:43:29.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-08T02:43:29.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-08T02:43:29.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-08T02:43:29.639Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-08T02:43:29.729Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T02:43:29.818Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T02:43:29.941Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T02:43:30.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-08T02:43:30.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-08T02:43:30.303Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-08T02:43:30.463Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-08T02:43:30.582Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-08T02:43:30.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-08T02:43:30.798Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-08T02:43:30.892Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-08T02:43:31.003Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-650 [Pipeline] echo [2020-12-08T02:43:31.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-650 [Pipeline] echo [2020-12-08T02:43:31.313Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-650 [Pipeline] echo [2020-12-08T02:43:31.400Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45d7d71e4316cddffb5bfb7643e18fdc2467c961 [Pipeline] echo [2020-12-08T02:43:31.494Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45d7d71 [Pipeline] echo [2020-12-08T02:43:31.585Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-08T02:43:31.763Z] provisioning config files... [2020-12-08T02:43:31.790Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config3933117337105933867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:43:32.166Z] ---> docker-login.sh [2020-12-08T02:43:32.166Z] nexus3.edgexfoundry.org:10001 [2020-12-08T02:43:32.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:43:33.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:43:33.049Z] Configure a credential helper to remove this warning. See [2020-12-08T02:43:33.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:43:33.049Z] [2020-12-08T02:43:33.049Z] Login Succeeded [2020-12-08T02:43:33.049Z] nexus3.edgexfoundry.org:10002 [2020-12-08T02:43:33.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:43:33.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:43:33.320Z] Configure a credential helper to remove this warning. See [2020-12-08T02:43:33.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:43:33.320Z] [2020-12-08T02:43:33.320Z] Login Succeeded [2020-12-08T02:43:33.320Z] nexus3.edgexfoundry.org:10003 [2020-12-08T02:43:33.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:43:33.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:43:33.614Z] Configure a credential helper to remove this warning. See [2020-12-08T02:43:33.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:43:33.614Z] [2020-12-08T02:43:33.614Z] Login Succeeded [2020-12-08T02:43:33.614Z] nexus3.edgexfoundry.org:10004 [2020-12-08T02:43:33.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:43:34.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:43:34.364Z] Configure a credential helper to remove this warning. See [2020-12-08T02:43:34.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:43:34.364Z] [2020-12-08T02:43:34.364Z] Login Succeeded [2020-12-08T02:43:34.364Z] docker.io [2020-12-08T02:43:34.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:43:34.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:43:34.912Z] Configure a credential helper to remove this warning. See [2020-12-08T02:43:34.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:43:34.912Z] [2020-12-08T02:43:34.912Z] Login Succeeded [2020-12-08T02:43:34.912Z] ---> docker-login.sh ends [Pipeline] } [2020-12-08T02:43:34.924Z] 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:43:35.757Z] + git log --format=format:%s -1 45d7d71e4316cddffb5bfb7643e18fdc2467c961 [Pipeline] echo [2020-12-08T02:43:35.860Z] GIT_COMMIT: 45d7d71e4316cddffb5bfb7643e18fdc2467c961, Commit Message: Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD [Pipeline] echo [2020-12-08T02:43:35.910Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:43:36.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T02:43:36.560Z] [2020-12-08T02:43:36.560Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:43:36.935Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T02:43:36.936Z] latest: Pulling from edgex-devops/git-semver [2020-12-08T02:43:36.936Z] 31603596830f: Pulling fs layer [2020-12-08T02:43:36.936Z] 2a8b12db71e7: Pulling fs layer [2020-12-08T02:43:36.936Z] 6ca5941a6612: Pulling fs layer [2020-12-08T02:43:36.936Z] ecc8261a40a4: Pulling fs layer [2020-12-08T02:43:36.936Z] 2a8b12db71e7: Verifying Checksum [2020-12-08T02:43:36.936Z] 2a8b12db71e7: Download complete [2020-12-08T02:43:37.249Z] 31603596830f: Verifying Checksum [2020-12-08T02:43:37.249Z] 31603596830f: Download complete [2020-12-08T02:43:37.878Z] ecc8261a40a4: Verifying Checksum [2020-12-08T02:43:37.878Z] ecc8261a40a4: Download complete [2020-12-08T02:43:38.178Z] 6ca5941a6612: Verifying Checksum [2020-12-08T02:43:38.178Z] 6ca5941a6612: Download complete [2020-12-08T02:43:38.178Z] 31603596830f: Pull complete [2020-12-08T02:43:38.459Z] 2a8b12db71e7: Pull complete [2020-12-08T02:43:40.629Z] 6ca5941a6612: Pull complete [2020-12-08T02:43:40.629Z] ecc8261a40a4: Pull complete [2020-12-08T02:43:40.629Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-08T02:43:40.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T02:43:40.629Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-08T02:43:40.822Z] prd-centos7-docker-4c-2g-15034 does not seem to be running inside a container [2020-12-08T02:43:40.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-650 -v /w/workspace/dgexfoundry_device-sdk-go_PR-650:/w/workspace/dgexfoundry_device-sdk-go_PR-650:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-650@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:43:43.474Z] $ docker top fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-08T02:43:43.893Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-08T02:43:43.893Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-08T02:43:44.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-08T02:43:44.315Z] $ docker exec fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 ssh-agent [2020-12-08T02:43:44.673Z] SSH_AUTH_SOCK=/tmp/ssh-UtwGj0ASTDdz/agent.11 [2020-12-08T02:43:44.673Z] SSH_AGENT_PID=16 [2020-12-08T02:43:44.704Z] Running ssh-add (command line suppressed) [2020-12-08T02:43:44.980Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_8074091846053454723.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_8074091846053454723.key) [2020-12-08T02:43:45.070Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-08T02:43:45.427Z] + git tag --points-at HEAD [Pipeline] } [2020-12-08T02:43:45.471Z] $ docker exec --env ******** --env ******** fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 ssh-agent -k [2020-12-08T02:43:45.739Z] unset SSH_AUTH_SOCK; [2020-12-08T02:43:45.740Z] unset SSH_AGENT_PID; [2020-12-08T02:43:45.740Z] echo Agent pid 16 killed; [2020-12-08T02:43:45.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-08T02:43:46.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-08T02:43:46.039Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-08T02:43:46.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-08T02:43:46.408Z] $ docker exec fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 ssh-agent [2020-12-08T02:43:46.758Z] SSH_AUTH_SOCK=/tmp/ssh-a3NZ486EX9Lx/agent.44 [2020-12-08T02:43:46.758Z] SSH_AGENT_PID=49 [2020-12-08T02:43:46.789Z] Running ssh-add (command line suppressed) [2020-12-08T02:43:47.111Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_3006454636309095548.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_3006454636309095548.key) [2020-12-08T02:43:47.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-08T02:43:47.955Z] + git semver init [2020-12-08T02:43:47.955Z] # -> Open(): unable to determine branch for HEAD [2020-12-08T02:43:47.955Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.git [2020-12-08T02:43:47.955Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-650 [2020-12-08T02:43:47.955Z] # $SEMVER_REMOTE_NAME = origin [2020-12-08T02:43:47.955Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-08T02:43:47.955Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-08T02:43:47.955Z] # $SEMVER_BRANCH = PR-650 [2020-12-08T02:43:47.955Z] # $SEMVER_TEMP = /tmp/semver-177521012 [2020-12-08T02:43:47.955Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-08T02:43:50.077Z] # '/tmp/semver-177521012' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver' [2020-12-08T02:43:50.077Z] # -> Force: false [2020-12-08T02:43:50.077Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver [Pipeline] } [2020-12-08T02:43:50.100Z] $ docker exec --env ******** --env ******** fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 ssh-agent -k [2020-12-08T02:43:50.363Z] unset SSH_AUTH_SOCK; [2020-12-08T02:43:50.364Z] unset SSH_AGENT_PID; [2020-12-08T02:43:50.366Z] echo Agent pid 49 killed; [2020-12-08T02:43:50.542Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-08T02:43:51.412Z] + git semver [Pipeline] } [2020-12-08T02:43:51.437Z] $ docker stop --time=1 fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 [2020-12-08T02:43:53.408Z] $ docker rm -f fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-08T02:43:54.009Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-08T02:43:54.833Z] Stashed 1 file(s) [Pipeline] echo [2020-12-08T02:43:54.836Z] [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:44:10.444Z] Still waiting to schedule task [2020-12-08T02:44:10.445Z] ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15039’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15037’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-08T02:44:10.447Z] Still waiting to schedule task [2020-12-08T02:44:10.447Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-08T02:44:31.624Z] Running on prd-centos7-docker-4c-2g-15040 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws [2020-12-08T02:44:31.682Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-12-08T02:44:33.975Z] using credential edgex-jenkins-ssh [2020-12-08T02:44:34.032Z] Cloning the remote Git repository [2020-12-08T02:44:34.060Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:44:34.128Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-12-08T02:44:34.182Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:44:34.182Z] > git --version # timeout=10 [2020-12-08T02:44:34.193Z] > git --version # 'git version 2.24.3' [2020-12-08T02:44:34.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:44:34.218Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:44:34.942Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:44:34.952Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:44:34.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:44:34.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:44:34.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:44:34.978Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-08T02:44:35.461Z] Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 46bab8434c541b523242ffed956eb32102a5c834 [2020-12-08T02:44:35.577Z] Merge succeeded, producing 50bb4d1f1ff67cd1a60e19820fc8bb7a6ac54d4b [2020-12-08T02:44:35.577Z] Checking out Revision 50bb4d1f1ff67cd1a60e19820fc8bb7a6ac54d4b (PR-650) [2020-12-08T02:44:35.471Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:44:35.475Z] > git checkout -f 46bab8434c541b523242ffed956eb32102a5c834 # timeout=10 [2020-12-08T02:44:35.525Z] > git remote # timeout=10 [2020-12-08T02:44:35.531Z] > git config --get remote.origin.url # timeout=10 [2020-12-08T02:44:35.537Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:44:35.541Z] > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-08T02:44:35.572Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-08T02:44:35.581Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:44:35.585Z] > git checkout -f 50bb4d1f1ff67cd1a60e19820fc8bb7a6ac54d4b # timeout=10 [2020-12-08T02:44:39.181Z] Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" [2020-12-08T02:44:39.194Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-08T02:44:39.186Z] > git rev-list --no-walk 9a0e2c45274f62f1dd40da0d458bb55d36998f22 # timeout=10 [2020-12-08T02:44:40.416Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:44:40.748Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:44:41.045Z] + sudo service docker restart [2020-12-08T02:44:41.045Z] + true [2020-12-08T02:44:41.045Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-08T02:44:42.112Z] provisioning config files... [2020-12-08T02:44:42.137Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config2665350570257738031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:44:42.541Z] ---> docker-login.sh [2020-12-08T02:44:42.542Z] nexus3.edgexfoundry.org:10001 [2020-12-08T02:44:42.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:42.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:42.805Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:42.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:42.805Z] [2020-12-08T02:44:42.805Z] Login Succeeded [2020-12-08T02:44:42.805Z] nexus3.edgexfoundry.org:10002 [2020-12-08T02:44:43.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:43.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:43.066Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:43.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:43.066Z] [2020-12-08T02:44:43.066Z] Login Succeeded [2020-12-08T02:44:43.066Z] nexus3.edgexfoundry.org:10003 [2020-12-08T02:44:43.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:43.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:43.327Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:43.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:43.327Z] [2020-12-08T02:44:43.327Z] Login Succeeded [2020-12-08T02:44:43.327Z] nexus3.edgexfoundry.org:10004 [2020-12-08T02:44:43.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:43.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:43.589Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:43.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:43.589Z] [2020-12-08T02:44:43.589Z] Login Succeeded [2020-12-08T02:44:43.589Z] docker.io [2020-12-08T02:44:43.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:43.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:43.855Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:43.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:43.855Z] [2020-12-08T02:44:43.855Z] Login Succeeded [2020-12-08T02:44:43.855Z] ---> docker-login.sh ends [Pipeline] } [2020-12-08T02:44:43.864Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-08T02:44:44.247Z] ========================================================= [2020-12-08T02:44:44.248Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-08T02:44:44.248Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:44:44.600Z] + 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:44:44.600Z] Sending build context to Docker daemon 2.398MB [2020-12-08T02:44:44.600Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-08T02:44:44.600Z] Step 2/8 : FROM ${BASE} [2020-12-08T02:44:44.870Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-08T02:44:44.870Z] 188c0c94c7c5: Pulling fs layer [2020-12-08T02:44:44.870Z] 0ef7d3d256c8: Pulling fs layer [2020-12-08T02:44:44.870Z] de9db76c5a1d: Pulling fs layer [2020-12-08T02:44:44.870Z] bca2f99d35d6: Pulling fs layer [2020-12-08T02:44:44.870Z] 93359f2a8cfa: Pulling fs layer [2020-12-08T02:44:44.870Z] 7c6f9722023f: Pulling fs layer [2020-12-08T02:44:44.870Z] a35cf1a2eb13: Pulling fs layer [2020-12-08T02:44:44.870Z] 93359f2a8cfa: Waiting [2020-12-08T02:44:44.870Z] 7c6f9722023f: Waiting [2020-12-08T02:44:44.870Z] a35cf1a2eb13: Waiting [2020-12-08T02:44:44.870Z] bca2f99d35d6: Waiting [2020-12-08T02:44:44.870Z] de9db76c5a1d: Verifying Checksum [2020-12-08T02:44:44.870Z] de9db76c5a1d: Download complete [2020-12-08T02:44:44.870Z] 0ef7d3d256c8: Download complete [2020-12-08T02:44:44.870Z] 93359f2a8cfa: Download complete [2020-12-08T02:44:44.870Z] 188c0c94c7c5: Verifying Checksum [2020-12-08T02:44:44.870Z] 188c0c94c7c5: Download complete [2020-12-08T02:44:44.870Z] 7c6f9722023f: Verifying Checksum [2020-12-08T02:44:44.870Z] 7c6f9722023f: Download complete [2020-12-08T02:44:45.133Z] 188c0c94c7c5: Pull complete [2020-12-08T02:44:45.394Z] 0ef7d3d256c8: Pull complete [2020-12-08T02:44:45.394Z] de9db76c5a1d: Pull complete [2020-12-08T02:44:46.790Z] a35cf1a2eb13: Verifying Checksum [2020-12-08T02:44:46.790Z] a35cf1a2eb13: Download complete [2020-12-08T02:44:47.366Z] bca2f99d35d6: Verifying Checksum [2020-12-08T02:44:47.366Z] bca2f99d35d6: Download complete [2020-12-08T02:44:53.986Z] bca2f99d35d6: Pull complete [2020-12-08T02:44:53.986Z] 93359f2a8cfa: Pull complete [2020-12-08T02:44:53.986Z] 7c6f9722023f: Pull complete [2020-12-08T02:45:00.590Z] a35cf1a2eb13: Pull complete [2020-12-08T02:45:00.858Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-08T02:45:00.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-08T02:45:00.858Z] ---> a62c8e92a672 [2020-12-08T02:45:00.858Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:45:01.433Z] ---> Running in 172b45854f5a [2020-12-08T02:45:01.433Z] Removing intermediate container 172b45854f5a [2020-12-08T02:45:01.433Z] ---> e96b7f1fc77b [2020-12-08T02:45:01.433Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-08T02:45:01.433Z] ---> Running in 245249cf245d [2020-12-08T02:45:02.861Z] Removing intermediate container 245249cf245d [2020-12-08T02:45:02.861Z] ---> 74a7287ac8d0 [2020-12-08T02:45:02.861Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-08T02:45:02.861Z] ---> Running in b58cfcab6623 [2020-12-08T02:45:03.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-08T02:45:04.837Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-08T02:45:05.783Z] OK: 166 MiB in 39 packages [2020-12-08T02:45:06.046Z] Removing intermediate container b58cfcab6623 [2020-12-08T02:45:06.046Z] ---> 84aa3b147275 [2020-12-08T02:45:06.046Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-08T02:45:06.307Z] ---> Running in e3aeb7b28c15 [2020-12-08T02:45:06.307Z] Removing intermediate container e3aeb7b28c15 [2020-12-08T02:45:06.307Z] ---> 9afebf0be277 [2020-12-08T02:45:06.307Z] Step 7/8 : COPY . . [2020-12-08T02:45:07.698Z] ---> 02b594659ca1 [2020-12-08T02:45:07.698Z] Step 8/8 : RUN go mod download [2020-12-08T02:45:07.698Z] ---> Running in 977efb6fad1c [2020-12-08T02:45:26.036Z] Removing intermediate container 977efb6fad1c [2020-12-08T02:45:26.036Z] ---> 4832c94eea0b [2020-12-08T02:45:26.036Z] Successfully built 4832c94eea0b [2020-12-08T02:45:26.036Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:45:26.360Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-08T02:45:26.360Z] . [Pipeline] withDockerContainer [2020-12-08T02:45:26.540Z] prd-centos7-docker-4c-2g-15040 does not seem to be running inside a container [2020-12-08T02:45:26.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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:45:27.237Z] $ docker top 1fa3b9ad601ffed9efc67d17be3ec857e04ab9057f0b2a6da0a56e1304256141 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:45:27.715Z] + go version [2020-12-08T02:45:27.715Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-08T02:45:27.730Z] $ docker stop --time=1 1fa3b9ad601ffed9efc67d17be3ec857e04ab9057f0b2a6da0a56e1304256141 [2020-12-08T02:45:29.087Z] $ docker rm -f 1fa3b9ad601ffed9efc67d17be3ec857e04ab9057f0b2a6da0a56e1304256141 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:45:30.046Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-08T02:45:30.046Z] . [Pipeline] withDockerContainer [2020-12-08T02:45:30.141Z] prd-centos7-docker-4c-2g-15040 does not seem to be running inside a container [2020-12-08T02:45:30.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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:45:31.556Z] $ docker top 655f9d4ad5bb77e6de17d40b6a2f4878a74e9ac13309b51bd61b227f7369f061 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:45:32.076Z] + make test [2020-12-08T02:45:32.076Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-08T02:45:40.320Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-08T02:45:55.430Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-08T02:45:55.430Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-08T02:45:55.430Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-08T02:45:55.430Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.084s coverage: 20.0% of statements [2020-12-08T02:45:56.036Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.448s coverage: 97.1% of statements [2020-12-08T02:46:28.234Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.065s coverage: 9.4% of statements [2020-12-08T02:46:28.234Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements [2020-12-08T02:46:28.234Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-08T02:46:28.234Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.218s coverage: 42.5% of statements [2020-12-08T02:46:28.234Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-08T02:46:28.234Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.273s coverage: 68.9% of statements [2020-12-08T02:46:28.234Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-08T02:46:28.234Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-08T02:46:28.234Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-08T02:46:28.234Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-08T02:46:28.234Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.060s coverage: 52.6% of statements [2020-12-08T02:46:28.234Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-08T02:46:28.234Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-08T02:46:28.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-08T02:46:28.235Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.275s coverage: 68.9% of statements [2020-12-08T02:46:28.235Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.056s coverage: 4.3% of statements [2020-12-08T02:46:28.235Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-08T02:46:28.235Z] GO111MODULE=on go vet ./... [2020-12-08T02:46:34.276Z] gofmt -l . [2020-12-08T02:46:34.276Z] [ "`gofmt -l .`" = "" ] [2020-12-08T02:46:34.276Z] ./bin/test-attribution-txt.sh [2020-12-08T02:46:34.849Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-08T02:46:34.865Z] $ docker stop --time=1 655f9d4ad5bb77e6de17d40b6a2f4878a74e9ac13309b51bd61b227f7369f061 [2020-12-08T02:46:36.629Z] $ docker rm -f 655f9d4ad5bb77e6de17d40b6a2f4878a74e9ac13309b51bd61b227f7369f061 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-08T02:46:37.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-08T02:46:37.691Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-08T02:46:38.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-08T02:46:39.258Z] + ls -al . [2020-12-08T02:46:39.258Z] total 208 [2020-12-08T02:46:39.258Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 8 02:46 . [2020-12-08T02:46:39.258Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 8 02:44 .. [2020-12-08T02:46:39.258Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 8 02:44 bin [2020-12-08T02:46:39.258Z] -rw-r--r--. 1 jenkins jenkins 128812 Dec 8 02:46 coverage.out [2020-12-08T02:46:39.258Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 8 02:44 Dockerfile.build [2020-12-08T02:46:39.258Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 8 02:44 .dockerignore [2020-12-08T02:46:39.258Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 8 02:44 example [2020-12-08T02:46:39.258Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 8 02:44 .git [2020-12-08T02:46:39.258Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 8 02:44 .github [2020-12-08T02:46:39.258Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 8 02:44 .gitignore [2020-12-08T02:46:39.258Z] -rw-r--r--. 1 jenkins jenkins 518 Dec 8 02:46 go.mod [2020-12-08T02:46:39.258Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 8 02:46 go.sum [2020-12-08T02:46:39.258Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 8 02:44 internal [2020-12-08T02:46:39.258Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 8 02:44 Jenkinsfile [2020-12-08T02:46:39.258Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 8 02:44 LICENSE [2020-12-08T02:46:39.258Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 8 02:44 Makefile [2020-12-08T02:46:39.258Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 8 02:44 openapi [2020-12-08T02:46:39.258Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 8 02:44 pkg [2020-12-08T02:46:39.258Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 8 02:44 README.md [2020-12-08T02:46:39.258Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 8 02:44 RELEASE-NOTES.txt [2020-12-08T02:46:39.258Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 8 02:44 snap [2020-12-08T02:46:39.258Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 8 02:43 VERSION [2020-12-08T02:46:39.258Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 8 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:46:39.561Z] + 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=45d7d71e4316cddffb5bfb7643e18fdc2467c961 --label arch=amd64 --label version=0.0.0 . [2020-12-08T02:46:39.823Z] Sending build context to Docker daemon 2.527MB [2020-12-08T02:46:39.823Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-08T02:46:39.823Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-08T02:46:39.823Z] ---> 4832c94eea0b [2020-12-08T02:46:39.823Z] Step 3/24 : ARG MAKE='make build' [2020-12-08T02:46:40.394Z] ---> Running in 3321b0143262 [2020-12-08T02:46:40.394Z] Removing intermediate container 3321b0143262 [2020-12-08T02:46:40.394Z] ---> 325825623915 [2020-12-08T02:46:40.394Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-08T02:46:40.394Z] ---> Running in 4b59bb2e030f [2020-12-08T02:46:40.656Z] Removing intermediate container 4b59bb2e030f [2020-12-08T02:46:40.656Z] ---> b5fca0ca9019 [2020-12-08T02:46:40.656Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:46:40.656Z] ---> Running in 6516708f8503 [2020-12-08T02:46:40.918Z] Removing intermediate container 6516708f8503 [2020-12-08T02:46:40.918Z] ---> 956aa38e0f43 [2020-12-08T02:46:40.918Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-08T02:46:40.918Z] ---> Running in 25e9f18cc385 [2020-12-08T02:46:41.866Z] Removing intermediate container 25e9f18cc385 [2020-12-08T02:46:41.866Z] ---> 60a48d1d57e9 [2020-12-08T02:46:41.866Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-08T02:46:41.866Z] ---> Running in f8c335037057 [2020-12-08T02:46:42.439Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-08T02:46:43.016Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-08T02:46:44.408Z] OK: 166 MiB in 39 packages [2020-12-08T02:46:44.669Z] Removing intermediate container f8c335037057 [2020-12-08T02:46:44.669Z] ---> 53009ca430a8 [2020-12-08T02:46:44.669Z] Step 8/24 : COPY . . [2020-12-08T02:46:45.624Z] ---> 6b6d5a0d461a [2020-12-08T02:46:45.624Z] Step 9/24 : RUN ${MAKE} [2020-12-08T02:46:45.624Z] ---> Running in f388e2857119 [2020-12-08T02:46:46.203Z] 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:49.615Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15043 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws [2020-12-08T02:46:49.669Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-12-08T02:46:54.427Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-08T02:46:55.232Z] using credential edgex-jenkins-ssh [2020-12-08T02:46:55.300Z] Cloning the remote Git repository [2020-12-08T02:46:55.383Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:46:55.504Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-12-08T02:46:55.577Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:46:55.578Z] > git --version # timeout=10 [2020-12-08T02:46:55.594Z] > git --version # 'git version 2.17.1' [2020-12-08T02:46:55.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:46:55.692Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:46:56.350Z] Removing intermediate container f388e2857119 [2020-12-08T02:46:56.350Z] ---> 50adac2b655c [2020-12-08T02:46:56.350Z] Step 10/24 : FROM scratch [2020-12-08T02:46:56.350Z] ---> [2020-12-08T02:46:56.350Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:46:56.350Z] ---> Running in 20c0de04e5ab [2020-12-08T02:46:56.350Z] Removing intermediate container 20c0de04e5ab [2020-12-08T02:46:56.350Z] ---> c329cf9a6820 [2020-12-08T02:46:56.350Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-08T02:46:56.350Z] ---> Running in f837f96313bf [2020-12-08T02:46:56.612Z] Removing intermediate container f837f96313bf [2020-12-08T02:46:56.612Z] ---> 0e82e7814eae [2020-12-08T02:46:56.612Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-08T02:46:56.612Z] ---> Running in d3b644532ffe [2020-12-08T02:46:56.873Z] Removing intermediate container d3b644532ffe [2020-12-08T02:46:56.874Z] ---> 5ce8a4cbfa8e [2020-12-08T02:46:56.874Z] Step 14/24 : WORKDIR / [2020-12-08T02:46:56.874Z] ---> Running in 62348bbb5cd2 [2020-12-08T02:46:57.135Z] Removing intermediate container 62348bbb5cd2 [2020-12-08T02:46:57.135Z] ---> ddaa0add40b8 [2020-12-08T02:46:57.135Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-08T02:46:56.803Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:46:56.826Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:46:56.869Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:46:56.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:46:56.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:46:56.916Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-08T02:46:57.395Z] ---> deeec05aff60 [2020-12-08T02:46:57.396Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-08T02:46:57.564Z] Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 46bab8434c541b523242ffed956eb32102a5c834 [2020-12-08T02:46:57.658Z] ---> 06cc67bf4137 [2020-12-08T02:46:57.658Z] 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:57.921Z] ---> 68af71ee542c [2020-12-08T02:46:57.921Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-08T02:46:58.120Z] Merge succeeded, producing e6c371ba05f945ab935d0f506a33db205a82cae8 [2020-12-08T02:46:58.120Z] Checking out Revision e6c371ba05f945ab935d0f506a33db205a82cae8 (PR-650) [2020-12-08T02:46:58.182Z] ---> 383794bf464c [2020-12-08T02:46:58.183Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-08T02:46:58.444Z] ---> 0f7d3a26267a [2020-12-08T02:46:58.444Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-08T02:46:58.444Z] ---> Running in dcd7df712f29 [2020-12-08T02:46:57.608Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:46:57.629Z] > git checkout -f 46bab8434c541b523242ffed956eb32102a5c834 # timeout=10 [2020-12-08T02:46:57.869Z] > git remote # timeout=10 [2020-12-08T02:46:57.921Z] > git config --get remote.origin.url # timeout=10 [2020-12-08T02:46:57.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:46:57.995Z] > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-08T02:46:58.126Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-08T02:46:58.149Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:46:58.160Z] > git checkout -f e6c371ba05f945ab935d0f506a33db205a82cae8 # timeout=10 [2020-12-08T02:46:58.704Z] Removing intermediate container dcd7df712f29 [2020-12-08T02:46:58.705Z] ---> 0c6ab89b9abc [2020-12-08T02:46:58.705Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-08T02:46:58.705Z] ---> Running in 2d3336ff41fa [2020-12-08T02:46:58.705Z] Removing intermediate container 2d3336ff41fa [2020-12-08T02:46:58.705Z] ---> e4671bef7344 [2020-12-08T02:46:58.705Z] Step 22/24 : LABEL arch=amd64 [2020-12-08T02:46:58.966Z] ---> Running in 31b3f822e294 [2020-12-08T02:46:58.966Z] Removing intermediate container 31b3f822e294 [2020-12-08T02:46:58.966Z] ---> 18b7a20e8f03 [2020-12-08T02:46:58.966Z] Step 23/24 : LABEL git_sha=45d7d71e4316cddffb5bfb7643e18fdc2467c961 [2020-12-08T02:46:59.227Z] ---> Running in 0b93342f05c3 [2020-12-08T02:46:59.488Z] Removing intermediate container 0b93342f05c3 [2020-12-08T02:46:59.488Z] ---> 5c459311b363 [2020-12-08T02:46:59.488Z] Step 24/24 : LABEL version=0.0.0 [2020-12-08T02:46:59.488Z] ---> Running in 74d4bc0c24fe [2020-12-08T02:46:59.750Z] Removing intermediate container 74d4bc0c24fe [2020-12-08T02:46:59.750Z] ---> 9810aabdb13d [2020-12-08T02:46:59.750Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-08T02:46:59.750Z] Successfully built 9810aabdb13d [2020-12-08T02:46:59.750Z] 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:47:02.524Z] Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" [2020-12-08T02:47:02.559Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-12-08T02:47:02.553Z] > git rev-list --no-walk 9a0e2c45274f62f1dd40da0d458bb55d36998f22 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-08T02:47:04.170Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:47:04.641Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:47:05.000Z] + sudo service docker restart [2020-12-08T02:47:05.000Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-08T02:47:07.722Z] provisioning config files... [2020-12-08T02:47:07.764Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config3015962868798559927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:47:08.182Z] ---> docker-login.sh [2020-12-08T02:47:08.182Z] nexus3.edgexfoundry.org:10001 [2020-12-08T02:47:09.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:47:09.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:47:09.454Z] Configure a credential helper to remove this warning. See [2020-12-08T02:47:09.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:47:09.454Z] [2020-12-08T02:47:09.454Z] Login Succeeded [2020-12-08T02:47:09.454Z] nexus3.edgexfoundry.org:10002 [2020-12-08T02:47:09.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:47:10.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:47:10.000Z] Configure a credential helper to remove this warning. See [2020-12-08T02:47:10.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:47:10.000Z] [2020-12-08T02:47:10.000Z] Login Succeeded [2020-12-08T02:47:10.000Z] nexus3.edgexfoundry.org:10003 [2020-12-08T02:47:10.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:47:10.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:47:10.557Z] Configure a credential helper to remove this warning. See [2020-12-08T02:47:10.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:47:10.557Z] [2020-12-08T02:47:10.557Z] Login Succeeded [2020-12-08T02:47:10.557Z] nexus3.edgexfoundry.org:10004 [2020-12-08T02:47:10.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:47:11.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:47:11.112Z] Configure a credential helper to remove this warning. See [2020-12-08T02:47:11.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:47:11.112Z] [2020-12-08T02:47:11.112Z] Login Succeeded [2020-12-08T02:47:11.112Z] docker.io [2020-12-08T02:47:11.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:47:11.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:47:11.665Z] Configure a credential helper to remove this warning. See [2020-12-08T02:47:11.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:47:11.665Z] [2020-12-08T02:47:11.665Z] Login Succeeded [2020-12-08T02:47:11.945Z] ---> docker-login.sh ends [Pipeline] } [2020-12-08T02:47:11.962Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-08T02:47:12.395Z] ========================================================= [2020-12-08T02:47:12.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-08T02:47:12.395Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:47:12.775Z] + 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:47:13.378Z] Sending build context to Docker daemon 2.395MB [2020-12-08T02:47:13.378Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-08T02:47:13.378Z] Step 2/8 : FROM ${BASE} [2020-12-08T02:47:14.360Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-08T02:47:14.360Z] 5f621e34cdf4: Pulling fs layer [2020-12-08T02:47:14.360Z] a4357932f1b6: Pulling fs layer [2020-12-08T02:47:14.360Z] 18c013af1878: Pulling fs layer [2020-12-08T02:47:14.360Z] 00ac8860ef70: Pulling fs layer [2020-12-08T02:47:14.360Z] 63d7cb157983: Pulling fs layer [2020-12-08T02:47:14.360Z] b116817d02f9: Pulling fs layer [2020-12-08T02:47:14.360Z] 745a02a5169b: Pulling fs layer [2020-12-08T02:47:14.360Z] 00ac8860ef70: Waiting [2020-12-08T02:47:14.360Z] 63d7cb157983: Waiting [2020-12-08T02:47:14.360Z] b116817d02f9: Waiting [2020-12-08T02:47:14.360Z] 745a02a5169b: Waiting [2020-12-08T02:47:14.360Z] 18c013af1878: Download complete [2020-12-08T02:47:14.360Z] a4357932f1b6: Verifying Checksum [2020-12-08T02:47:14.360Z] a4357932f1b6: Download complete [2020-12-08T02:47:14.360Z] 63d7cb157983: Verifying Checksum [2020-12-08T02:47:14.360Z] 63d7cb157983: Download complete [2020-12-08T02:47:14.360Z] b116817d02f9: Verifying Checksum [2020-12-08T02:47:14.360Z] b116817d02f9: Download complete [2020-12-08T02:47:14.643Z] 5f621e34cdf4: Verifying Checksum [2020-12-08T02:47:14.643Z] 5f621e34cdf4: Download complete [2020-12-08T02:47:15.243Z] 5f621e34cdf4: Pull complete [2020-12-08T02:47:15.842Z] a4357932f1b6: Pull complete [2020-12-08T02:47:16.122Z] 18c013af1878: Pull complete [2020-12-08T02:47:17.102Z] 745a02a5169b: Verifying Checksum [2020-12-08T02:47:17.103Z] 745a02a5169b: Download complete [2020-12-08T02:47:18.091Z] 00ac8860ef70: Verifying Checksum [2020-12-08T02:47:18.091Z] 00ac8860ef70: Download complete [2020-12-08T02:47:28.262Z] 00ac8860ef70: Pull complete [2020-12-08T02:47:28.262Z] 63d7cb157983: Pull complete [2020-12-08T02:47:28.535Z] b116817d02f9: Pull complete [2020-12-08T02:47:32.859Z] 745a02a5169b: Pull complete [2020-12-08T02:47:32.859Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-08T02:47:32.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-08T02:47:32.859Z] ---> b7e6874047d6 [2020-12-08T02:47:32.859Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:47:35.501Z] ---> Running in a846719ed4c9 [2020-12-08T02:47:35.783Z] Removing intermediate container a846719ed4c9 [2020-12-08T02:47:35.783Z] ---> 134ef59a0c27 [2020-12-08T02:47:35.784Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-08T02:47:36.058Z] ---> Running in 522b1ab5b48e [2020-12-08T02:47:39.455Z] Removing intermediate container 522b1ab5b48e [2020-12-08T02:47:39.455Z] ---> 333d5943499f [2020-12-08T02:47:39.455Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-08T02:47:39.455Z] ---> Running in 6c9dc9af847d [2020-12-08T02:47:40.049Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-08T02:47:41.022Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-08T02:47:41.998Z] OK: 142 MiB in 39 packages [2020-12-08T02:47:43.973Z] Removing intermediate container 6c9dc9af847d [2020-12-08T02:47:43.973Z] ---> 024c0dd0bd1f [2020-12-08T02:47:43.973Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-08T02:47:43.973Z] ---> Running in df9a9e17cc78 [2020-12-08T02:47:44.569Z] Removing intermediate container df9a9e17cc78 [2020-12-08T02:47:44.569Z] ---> 116440b3dc25 [2020-12-08T02:47:44.569Z] Step 7/8 : COPY . . [2020-12-08T02:47:46.004Z] ---> c776a3bedcb5 [2020-12-08T02:47:46.004Z] Step 8/8 : RUN go mod download [2020-12-08T02:47:46.004Z] ---> Running in 4f6b3c11a009 [2020-12-08T02:48:08.177Z] Removing intermediate container 4f6b3c11a009 [2020-12-08T02:48:08.177Z] ---> f0f3b560a0ff [2020-12-08T02:48:08.177Z] Successfully built f0f3b560a0ff [2020-12-08T02:48:08.177Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:48:08.532Z] + docker inspect -f . ci-base-image-arm64 [2020-12-08T02:48:08.533Z] . [Pipeline] withDockerContainer [2020-12-08T02:48:08.823Z] prd-ubuntu18.04-docker-arm64-4c-16g-15043 does not seem to be running inside a container [2020-12-08T02:48:08.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-08T02:48:10.365Z] $ docker top e7b094060df9a737d1dba39daa47237fc1c69c5e2655e7e6833082d2024fa014 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:48:11.360Z] + go version [2020-12-08T02:48:11.360Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-08T02:48:11.405Z] $ docker stop --time=1 e7b094060df9a737d1dba39daa47237fc1c69c5e2655e7e6833082d2024fa014 [2020-12-08T02:48:13.239Z] $ docker rm -f e7b094060df9a737d1dba39daa47237fc1c69c5e2655e7e6833082d2024fa014 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:48:14.412Z] + docker inspect -f . ci-base-image-arm64 [2020-12-08T02:48:14.412Z] . [Pipeline] withDockerContainer [2020-12-08T02:48:14.656Z] prd-ubuntu18.04-docker-arm64-4c-16g-15043 does not seem to be running inside a container [2020-12-08T02:48:14.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-08T02:48:16.175Z] $ docker top 02330675fe366673f0c0fd0b0c3934993f850ebba232a16902a246d0caaf78c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:48:17.216Z] + make test [2020-12-08T02:48:17.216Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-08T02:48:39.383Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-08T02:49:26.421Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-08T02:49:26.421Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-08T02:49:26.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-08T02:49:26.421Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.142s coverage: 20.0% of statements [2020-12-08T02:49:26.421Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.236s coverage: 97.1% of statements [2020-12-08T02:49:53.286Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.128s coverage: 9.4% of statements [2020-12-08T02:49:53.286Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.108s coverage: 21.9% of statements [2020-12-08T02:49:53.286Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-08T02:49:53.286Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.650s coverage: 42.5% of statements [2020-12-08T02:49:53.286Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-08T02:49:53.286Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.800s coverage: 68.9% of statements [2020-12-08T02:49:53.286Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-08T02:49:53.286Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-08T02:49:53.286Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-08T02:49:53.286Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-08T02:49:53.286Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.190s coverage: 52.6% of statements [2020-12-08T02:49:53.286Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-08T02:49:53.287Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-08T02:49:53.287Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-08T02:49:53.287Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.946s coverage: 68.9% of statements [2020-12-08T02:49:53.287Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.150s coverage: 4.3% of statements [2020-12-08T02:49:53.287Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-08T02:49:53.287Z] GO111MODULE=on go vet ./... [2020-12-08T02:50:25.672Z] gofmt -l . [2020-12-08T02:50:25.672Z] [ "`gofmt -l .`" = "" ] [2020-12-08T02:50:25.672Z] ./bin/test-attribution-txt.sh [2020-12-08T02:50:25.672Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-08T02:50:25.735Z] $ docker stop --time=1 02330675fe366673f0c0fd0b0c3934993f850ebba232a16902a246d0caaf78c3 [2020-12-08T02:50:27.990Z] $ docker rm -f 02330675fe366673f0c0fd0b0c3934993f850ebba232a16902a246d0caaf78c3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-08T02:50:29.048Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-08T02:50:29.070Z] Warning: overwriting stash ‘coverage-report’ [2020-12-08T02:50:30.070Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-08T02:50:30.874Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-08T02:50:31.272Z] + ls -al . [2020-12-08T02:50:31.272Z] total 244 [2020-12-08T02:50:31.272Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 8 02:50 . [2020-12-08T02:50:31.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:46 .. [2020-12-08T02:50:31.272Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 8 02:46 .dockerignore [2020-12-08T02:50:31.272Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 8 02:47 .git [2020-12-08T02:50:31.272Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 02:46 .github [2020-12-08T02:50:31.272Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 8 02:46 .gitignore [2020-12-08T02:50:31.272Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 8 02:46 Dockerfile.build [2020-12-08T02:50:31.272Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 8 02:46 Jenkinsfile [2020-12-08T02:50:31.272Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 8 02:46 LICENSE [2020-12-08T02:50:31.272Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 8 02:46 Makefile [2020-12-08T02:50:31.272Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 8 02:46 README.md [2020-12-08T02:50:31.272Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 8 02:46 RELEASE-NOTES.txt [2020-12-08T02:50:31.272Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 8 02:43 VERSION [2020-12-08T02:50:31.272Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 02:46 bin [2020-12-08T02:50:31.272Z] -rw-r--r-- 1 jenkins jenkins 128812 Dec 8 02:49 coverage.out [2020-12-08T02:50:31.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:46 example [2020-12-08T02:50:31.272Z] -rw-r--r-- 1 jenkins jenkins 518 Dec 8 02:50 go.mod [2020-12-08T02:50:31.272Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 8 02:50 go.sum [2020-12-08T02:50:31.272Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 8 02:46 internal [2020-12-08T02:50:31.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:46 openapi [2020-12-08T02:50:31.272Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 8 02:46 pkg [2020-12-08T02:50:31.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:46 snap [2020-12-08T02:50:31.272Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 8 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:50:31.692Z] + 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=45d7d71e4316cddffb5bfb7643e18fdc2467c961 --label arch=arm64 --label version=0.0.0 . [2020-12-08T02:50:32.335Z] Sending build context to Docker daemon 2.525MB [2020-12-08T02:50:32.335Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-08T02:50:32.335Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-08T02:50:32.335Z] ---> f0f3b560a0ff [2020-12-08T02:50:32.335Z] Step 3/24 : ARG MAKE='make build' [2020-12-08T02:50:32.614Z] ---> Running in 1ce868910fd8 [2020-12-08T02:50:33.221Z] Removing intermediate container 1ce868910fd8 [2020-12-08T02:50:33.221Z] ---> 1ecb492f3ae8 [2020-12-08T02:50:33.221Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-08T02:50:33.221Z] ---> Running in cf2a1f26dca4 [2020-12-08T02:50:33.820Z] Removing intermediate container cf2a1f26dca4 [2020-12-08T02:50:33.820Z] ---> 096894c7982f [2020-12-08T02:50:33.820Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:50:33.820Z] ---> Running in b601964caa7b [2020-12-08T02:50:34.418Z] Removing intermediate container b601964caa7b [2020-12-08T02:50:34.418Z] ---> 7b8dd3959fc6 [2020-12-08T02:50:34.418Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-08T02:50:34.418Z] ---> Running in 4b8e21fb9b2c [2020-12-08T02:50:37.059Z] Removing intermediate container 4b8e21fb9b2c [2020-12-08T02:50:37.059Z] ---> e406740d3734 [2020-12-08T02:50:37.059Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-08T02:50:37.059Z] ---> Running in a25a93de7d1c [2020-12-08T02:50:38.039Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-08T02:50:38.633Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-08T02:50:40.066Z] OK: 142 MiB in 39 packages [2020-12-08T02:50:41.041Z] Removing intermediate container a25a93de7d1c [2020-12-08T02:50:41.041Z] ---> 964203a14879 [2020-12-08T02:50:41.041Z] Step 8/24 : COPY . . [2020-12-08T02:50:42.469Z] ---> e2376247602e [2020-12-08T02:50:42.469Z] Step 9/24 : RUN ${MAKE} [2020-12-08T02:50:42.469Z] ---> Running in c1bdeafbdd05 [2020-12-08T02:50:43.447Z] 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:51:10.256Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-08T02:51:12.229Z] Removing intermediate container c1bdeafbdd05 [2020-12-08T02:51:12.229Z] ---> 53f30187b132 [2020-12-08T02:51:12.229Z] Step 10/24 : FROM scratch [2020-12-08T02:51:12.229Z] ---> [2020-12-08T02:51:12.229Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:51:12.229Z] ---> Running in 3d443ba29e72 [2020-12-08T02:51:12.509Z] Removing intermediate container 3d443ba29e72 [2020-12-08T02:51:12.509Z] ---> 2b71af4ec88b [2020-12-08T02:51:12.509Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-08T02:51:12.509Z] ---> Running in 03ff740432bc [2020-12-08T02:51:13.103Z] Removing intermediate container 03ff740432bc [2020-12-08T02:51:13.103Z] ---> fb3cef90cd9e [2020-12-08T02:51:13.103Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-08T02:51:13.103Z] ---> Running in 2a3d7bcf60d4 [2020-12-08T02:51:13.377Z] Removing intermediate container 2a3d7bcf60d4 [2020-12-08T02:51:13.377Z] ---> 63bbafa65863 [2020-12-08T02:51:13.377Z] Step 14/24 : WORKDIR / [2020-12-08T02:51:13.649Z] ---> Running in 9782af778f48 [2020-12-08T02:51:13.922Z] Removing intermediate container 9782af778f48 [2020-12-08T02:51:13.923Z] ---> 1153a4abb726 [2020-12-08T02:51:13.923Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-08T02:51:15.359Z] ---> 6c44d5b538d0 [2020-12-08T02:51:15.359Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-08T02:51:15.953Z] ---> 1bbe118a086c [2020-12-08T02:51:15.953Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-08T02:51:16.550Z] ---> 7564ece75a24 [2020-12-08T02:51:16.550Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-08T02:51:17.528Z] ---> 930a375ad6fc [2020-12-08T02:51:17.528Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-08T02:51:18.124Z] ---> af93d7e6aa25 [2020-12-08T02:51:18.124Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-08T02:51:18.124Z] ---> Running in 646d2f7f1c86 [2020-12-08T02:51:18.719Z] Removing intermediate container 646d2f7f1c86 [2020-12-08T02:51:18.719Z] ---> b39ded484f50 [2020-12-08T02:51:18.719Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-08T02:51:18.719Z] ---> Running in b06ad565ba0a [2020-12-08T02:51:19.314Z] Removing intermediate container b06ad565ba0a [2020-12-08T02:51:19.314Z] ---> bfc8fd3c2a52 [2020-12-08T02:51:19.314Z] Step 22/24 : LABEL arch=arm64 [2020-12-08T02:51:19.314Z] ---> Running in d51a5d01bba2 [2020-12-08T02:51:19.908Z] Removing intermediate container d51a5d01bba2 [2020-12-08T02:51:19.908Z] ---> f61c734a8028 [2020-12-08T02:51:19.908Z] Step 23/24 : LABEL git_sha=45d7d71e4316cddffb5bfb7643e18fdc2467c961 [2020-12-08T02:51:19.908Z] ---> Running in fb88c503f77f [2020-12-08T02:51:20.503Z] Removing intermediate container fb88c503f77f [2020-12-08T02:51:20.503Z] ---> 5577044656d7 [2020-12-08T02:51:20.503Z] Step 24/24 : LABEL version=0.0.0 [2020-12-08T02:51:20.503Z] ---> Running in bf37590ea01a [2020-12-08T02:51:21.097Z] Removing intermediate container bf37590ea01a [2020-12-08T02:51:21.097Z] ---> 59bc582d59f9 [2020-12-08T02:51:21.097Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-08T02:51:21.097Z] Successfully built 59bc582d59f9 [2020-12-08T02:51:21.097Z] 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:51:22.730Z] provisioning config files... [2020-12-08T02:51:22.748Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config6194538950194769821tmp [Pipeline] { [Pipeline] sh [2020-12-08T02:51:23.165Z] + set +x [2020-12-08T02:51:23.165Z] + bash -s -- [2020-12-08T02:51:23.165Z] + curl -s https://codecov.io/bash [2020-12-08T02:51:23.447Z] [2020-12-08T02:51:23.447Z] _____ _ [2020-12-08T02:51:23.447Z] / ____| | | [2020-12-08T02:51:23.447Z] | | ___ __| | ___ ___ _____ __ [2020-12-08T02:51:23.447Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-08T02:51:23.447Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-08T02:51:23.447Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-08T02:51:23.447Z] Bash-20201130-cc6d3fe [2020-12-08T02:51:23.447Z] [2020-12-08T02:51:23.447Z] [2020-12-08T02:51:23.447Z] ==> Jenkins CI detected. [2020-12-08T02:51:23.447Z] project root: . [2020-12-08T02:51:23.447Z] --> token set from env [2020-12-08T02:51:23.447Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-08T02:51:23.447Z] ==> Running gcov in . (disable via -X gcov) [2020-12-08T02:51:23.447Z] ==> Python coveragepy not found [2020-12-08T02:51:23.447Z] ==> Searching for coverage reports in: [2020-12-08T02:51:23.447Z] + . [2020-12-08T02:51:23.447Z] -> Found 1 reports [2020-12-08T02:51:23.447Z] ==> Detecting git/mercurial file structure [2020-12-08T02:51:23.447Z] ==> Reading reports [2020-12-08T02:51:23.717Z] + ./coverage.out bytes=128812 [2020-12-08T02:51:23.717Z] ==> Appending adjustments [2020-12-08T02:51:23.717Z] https://docs.codecov.io/docs/fixing-reports [2020-12-08T02:51:24.743Z] + Found adjustments [2020-12-08T02:51:24.743Z] ==> Gzipping contents [2020-12-08T02:51:24.743Z] 24K /tmp/codecov.VixVIh.gz [2020-12-08T02:51:24.743Z] ==> Uploading reports [2020-12-08T02:51:24.743Z] url: https://codecov.io [2020-12-08T02:51:24.743Z] query: branch=PR-650&commit=45d7d71e4316cddffb5bfb7643e18fdc2467c961&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= [2020-12-08T02:51:24.743Z] -> Pinging Codecov [2020-12-08T02:51:24.743Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-650&commit=45d7d71e4316cddffb5bfb7643e18fdc2467c961&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= [2020-12-08T02:51:25.033Z] -> Uploading to [2020-12-08T02:51:25.033Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-08/7E55EF52A471D76F132DFD9A03CDDE97/45d7d71e4316cddffb5bfb7643e18fdc2467c961/c8205ad9-9323-4b00-8639-93dd4e90ad84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201208T025124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e900962cf550902f7598c456dded9fc1dcb0f612bc9de692905c0875a486d5a5 [2020-12-08T02:51:25.033Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-08T02:51:25.033Z] Dload Upload Total Spent Left Speed [2020-12-08T02:51:25.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21009 0 0 100 21009 0 43696 --:--:-- --:--:-- --:--:-- 43768 [2020-12-08T02:51:25.628Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/45d7d71e4316cddffb5bfb7643e18fdc2467c961 [Pipeline] } [2020-12-08T02:51:25.642Z] 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:51:28.310Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:51:28.908Z] ---> package-listing.sh [2020-12-08T02:51:28.909Z] ++ facter osfamily [2020-12-08T02:51:28.909Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-08T02:51:29.180Z] + OS_FAMILY=redhat [2020-12-08T02:51:29.180Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-650 [2020-12-08T02:51:29.180Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-08T02:51:29.180Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-08T02:51:29.180Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-08T02:51:29.180Z] + PACKAGES=/tmp/packages_start.txt [2020-12-08T02:51:29.180Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' [2020-12-08T02:51:29.180Z] + PACKAGES=/tmp/packages_end.txt [2020-12-08T02:51:29.180Z] + case "${OS_FAMILY}" in [2020-12-08T02:51:29.180Z] + rpm -qa [2020-12-08T02:51:29.180Z] + sort [2020-12-08T02:51:34.626Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-08T02:51:34.626Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-08T02:51:34.626Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-08T02:51:34.626Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' [2020-12-08T02:51:34.626Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ [2020-12-08T02:51:34.626Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ [Pipeline] echo [2020-12-08T02:51:34.648Z] 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-650/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:51:34.979Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:51:35.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T02:51:35.871Z] [2020-12-08T02:51:35.871Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:51:36.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T02:51:36.289Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-08T02:51:36.289Z] df20fa9351a1: Pulling fs layer [2020-12-08T02:51:36.289Z] 36b3adc4ff6f: Pulling fs layer [2020-12-08T02:51:36.289Z] 8ad3a11d3b57: Pulling fs layer [2020-12-08T02:51:36.289Z] 46f8f816bc3b: Pulling fs layer [2020-12-08T02:51:36.289Z] 93b61091891f: Pulling fs layer [2020-12-08T02:51:36.289Z] 93b9cdb0e59b: Pulling fs layer [2020-12-08T02:51:36.289Z] 5e14af77c1be: Pulling fs layer [2020-12-08T02:51:36.289Z] 01666e4c0597: Pulling fs layer [2020-12-08T02:51:36.289Z] aa168da1d23b: Pulling fs layer [2020-12-08T02:51:36.289Z] 93b9cdb0e59b: Waiting [2020-12-08T02:51:36.289Z] 5e14af77c1be: Waiting [2020-12-08T02:51:36.289Z] 01666e4c0597: Waiting [2020-12-08T02:51:36.289Z] aa168da1d23b: Waiting [2020-12-08T02:51:36.289Z] 46f8f816bc3b: Waiting [2020-12-08T02:51:36.289Z] 93b61091891f: Waiting [2020-12-08T02:51:36.289Z] 36b3adc4ff6f: Verifying Checksum [2020-12-08T02:51:36.289Z] 36b3adc4ff6f: Download complete [2020-12-08T02:51:36.577Z] 46f8f816bc3b: Verifying Checksum [2020-12-08T02:51:36.577Z] 46f8f816bc3b: Download complete [2020-12-08T02:51:36.577Z] df20fa9351a1: Verifying Checksum [2020-12-08T02:51:36.577Z] df20fa9351a1: Download complete [2020-12-08T02:51:36.577Z] 93b9cdb0e59b: Verifying Checksum [2020-12-08T02:51:36.577Z] 93b9cdb0e59b: Download complete [2020-12-08T02:51:36.577Z] 5e14af77c1be: Verifying Checksum [2020-12-08T02:51:36.577Z] 5e14af77c1be: Download complete [2020-12-08T02:51:36.577Z] 01666e4c0597: Download complete [2020-12-08T02:51:36.859Z] 93b61091891f: Verifying Checksum [2020-12-08T02:51:36.859Z] 93b61091891f: Download complete [2020-12-08T02:51:37.469Z] df20fa9351a1: Pull complete [2020-12-08T02:51:37.766Z] 8ad3a11d3b57: Verifying Checksum [2020-12-08T02:51:37.766Z] 8ad3a11d3b57: Download complete [2020-12-08T02:51:37.766Z] 36b3adc4ff6f: Pull complete [2020-12-08T02:51:39.292Z] 8ad3a11d3b57: Pull complete [2020-12-08T02:51:39.601Z] 46f8f816bc3b: Pull complete [2020-12-08T02:51:40.609Z] 93b61091891f: Pull complete [2020-12-08T02:51:40.931Z] 93b9cdb0e59b: Pull complete [2020-12-08T02:51:40.931Z] 5e14af77c1be: Pull complete [2020-12-08T02:51:41.554Z] 01666e4c0597: Pull complete [2020-12-08T02:51:42.568Z] aa168da1d23b: Verifying Checksum [2020-12-08T02:51:42.568Z] aa168da1d23b: Download complete [2020-12-08T02:51:57.794Z] aa168da1d23b: Pull complete [2020-12-08T02:51:57.794Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-08T02:51:57.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T02:51:57.794Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-08T02:51:58.196Z] prd-centos7-docker-4c-2g-15034 does not seem to be running inside a container [2020-12-08T02:51:58.346Z] $ 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-650/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-650 -v /w/workspace/dgexfoundry_device-sdk-go_PR-650:/w/workspace/dgexfoundry_device-sdk-go_PR-650:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-650@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:52:01.559Z] $ docker top 3763e357dde122c1e01ecf0dd334ebc3a327e88f904640eac1103e09d2a31956 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:52:03.500Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-08T02:52:04.215Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-08T02:52:04.604Z] + ls /var/log/sa-host [2020-12-08T02:52:04.605Z] + sadf -c /var/log/sa-host/sa08 [2020-12-08T02:52:04.605Z] file_magic: OK [2020-12-08T02:52:04.605Z] HZ: Using current value: 100 [2020-12-08T02:52:04.605Z] file_header: OK [2020-12-08T02:52:04.605Z] 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:52:04.605Z] Statistics: [2020-12-08T02:52:04.605Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-08T02:52:04.605Z] File successfully converted to sysstat format version 12.2.1 [2020-12-08T02:52:04.605Z] + sadf -c /var/log/sa-host/sa23 [2020-12-08T02:52:04.605Z] file_magic: OK [2020-12-08T02:52:04.605Z] HZ: Using current value: 100 [2020-12-08T02:52:04.605Z] file_header: OK [2020-12-08T02:52:04.605Z] 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:52:04.605Z] Statistics: [2020-12-08T02:52:04.605Z] Hnuu...uuuununununu... [2020-12-08T02:52:04.605Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-08T02:52:04.861Z] provisioning config files... [2020-12-08T02:52:04.882Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config836358670670818634tmp [Pipeline] { [Pipeline] echo [2020-12-08T02:52:04.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:52:05.636Z] ---> create-netrc.sh [Pipeline] } [2020-12-08T02:52:05.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-08T02:52:05.775Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:52:06.471Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-08T02:52:06.487Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:52:06.801Z] ---> sudo-logs.sh [2020-12-08T02:52:06.801Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-08T02:52:06.821Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:52:07.138Z] ---> job-cost.sh [2020-12-08T02:52:07.138Z] lf-activate-venv: SKIPPING [2020-12-08T02:52:07.138Z] INFO: No Stack... [2020-12-08T02:52:08.561Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-08T02:52:09.172Z] INFO: Archiving Costs [Pipeline] echo [2020-12-08T02:52:09.187Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:52:09.555Z] ---> logs-deploy.sh [2020-12-08T02:52:09.555Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-650/7 [2020-12-08T02:52:09.555Z] INFO: archiving workspace using pattern(s): [2020-12-08T02:52:12.235Z] Archives upload complete. [2020-12-08T02:52:12.535Z] INFO: archiving logs to Nexus