Pull request #661 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at cbcd560d226450c2fc49532ec953a0990705dfef rather than 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 Obtained Jenkinsfile from cbcd560d226450c2fc49532ec953a0990705dfef 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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-14168 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-661 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 Merge succeeded, producing 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 Checking out Revision 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 (PR-661) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 Commit message: "feat: add a comment to explain why use buffer for sending event" First time build. Skipping changelog. > git rev-list --no-walk 6ffcb36bac324bdb103c371a18dba23397e99ba6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-02T10:38:46.635Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-02T10:38:46.999Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-02T10:38:47.108Z] ========================================================= [2020-12-02T10:38:47.108Z] EdgeX Global Pipelines Version Info [2020-12-02T10:38:47.108Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-02T10:38:48.610Z] ------------------- [2020-12-02T10:38:48.610Z] stable info: [2020-12-02T10:38:48.610Z] ------------------- [2020-12-02T10:38:48.610Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-02T10:38:48.610Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-02T10:38:48.610Z] Message: update stable to v1.0.169 [2020-12-02T10:38:49.558Z] ------------------- [2020-12-02T10:38:49.558Z] experimental info: [2020-12-02T10:38:49.558Z] ------------------- [2020-12-02T10:38:49.558Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-02T10:38:49.558Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-02T10:38:49.558Z] Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-02T10:38:49.898Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-02T10:38:50.006Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-02T10:38:50.118Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-02T10:38:50.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-02T10:38:50.345Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-02T10:38:50.452Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-02T10:38:50.562Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-02T10:38:50.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-02T10:38:50.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-02T10:38:50.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-02T10:38:51.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-02T10:38:51.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-02T10:38:51.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-02T10:38:51.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-02T10:38:51.454Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-02T10:38:51.544Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-02T10:38:51.691Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-02T10:38:51.788Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-02T10:38:51.885Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-02T10:38:51.977Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-02T10:38:52.075Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-02T10:38:52.172Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-02T10:38:52.270Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-02T10:38:52.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-02T10:38:52.465Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-02T10:38:52.553Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-02T10:38:52.642Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo [2020-12-02T10:38:52.757Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo [2020-12-02T10:38:52.853Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo [2020-12-02T10:38:52.945Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [Pipeline] echo [2020-12-02T10:38:53.039Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f5e862 [Pipeline] echo [2020-12-02T10:38:53.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T10:38:53.345Z] provisioning config files... [2020-12-02T10:38:53.386Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config4575742371935977181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T10:38:53.748Z] ---> docker-login.sh [2020-12-02T10:38:53.748Z] nexus3.edgexfoundry.org:10001 [2020-12-02T10:38:54.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:38:54.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:38:54.299Z] Configure a credential helper to remove this warning. See [2020-12-02T10:38:54.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:38:54.299Z] [2020-12-02T10:38:54.299Z] Login Succeeded [2020-12-02T10:38:54.299Z] nexus3.edgexfoundry.org:10002 [2020-12-02T10:38:54.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:38:54.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:38:54.299Z] Configure a credential helper to remove this warning. See [2020-12-02T10:38:54.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:38:54.299Z] [2020-12-02T10:38:54.567Z] Login Succeeded [2020-12-02T10:38:54.567Z] nexus3.edgexfoundry.org:10003 [2020-12-02T10:38:54.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:38:54.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:38:54.567Z] Configure a credential helper to remove this warning. See [2020-12-02T10:38:54.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:38:54.567Z] [2020-12-02T10:38:54.567Z] Login Succeeded [2020-12-02T10:38:54.567Z] nexus3.edgexfoundry.org:10004 [2020-12-02T10:38:54.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:38:54.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:38:54.830Z] Configure a credential helper to remove this warning. See [2020-12-02T10:38:54.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:38:54.830Z] [2020-12-02T10:38:54.830Z] Login Succeeded [2020-12-02T10:38:54.830Z] docker.io [2020-12-02T10:38:54.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:38:55.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:38:55.104Z] Configure a credential helper to remove this warning. See [2020-12-02T10:38:55.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:38:55.104Z] [2020-12-02T10:38:55.104Z] Login Succeeded [2020-12-02T10:38:55.104Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T10:38:55.115Z] 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-02T10:38:56.089Z] + git log --format=format:%s -1 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [Pipeline] echo [2020-12-02T10:38:56.156Z] GIT_COMMIT: 0f5e862e54ec7bbfaa4abac58006b2b47f12c067, Commit Message: feat: add a comment to explain why use buffer for sending event [Pipeline] echo [2020-12-02T10:38:56.218Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:38:57.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T10:38:57.195Z] [2020-12-02T10:38:57.195Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:38:57.553Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T10:38:57.553Z] latest: Pulling from edgex-devops/git-semver [2020-12-02T10:38:57.553Z] 31603596830f: Pulling fs layer [2020-12-02T10:38:57.553Z] 2a8b12db71e7: Pulling fs layer [2020-12-02T10:38:57.553Z] 6ca5941a6612: Pulling fs layer [2020-12-02T10:38:57.553Z] ecc8261a40a4: Pulling fs layer [2020-12-02T10:38:57.553Z] ecc8261a40a4: Waiting [2020-12-02T10:38:57.553Z] 2a8b12db71e7: Verifying Checksum [2020-12-02T10:38:57.553Z] 2a8b12db71e7: Download complete [2020-12-02T10:38:57.553Z] 31603596830f: Verifying Checksum [2020-12-02T10:38:57.553Z] 31603596830f: Download complete [2020-12-02T10:38:57.820Z] ecc8261a40a4: Verifying Checksum [2020-12-02T10:38:57.820Z] ecc8261a40a4: Download complete [2020-12-02T10:38:57.820Z] 6ca5941a6612: Verifying Checksum [2020-12-02T10:38:57.820Z] 6ca5941a6612: Download complete [2020-12-02T10:38:58.085Z] 31603596830f: Pull complete [2020-12-02T10:38:58.085Z] 2a8b12db71e7: Pull complete [2020-12-02T10:38:59.479Z] 6ca5941a6612: Pull complete [2020-12-02T10:38:59.479Z] ecc8261a40a4: Pull complete [2020-12-02T10:38:59.479Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-02T10:38:59.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T10:38:59.479Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-02T10:38:59.576Z] prd-centos7-docker-4c-2g-14168 does not seem to be running inside a container [2020-12-02T10:38:59.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-02T10:39:01.365Z] $ docker top 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-02T10:39:01.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T10:39:01.699Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T10:39:01.924Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T10:39:01.929Z] $ docker exec 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 ssh-agent [2020-12-02T10:39:02.091Z] SSH_AUTH_SOCK=/tmp/ssh-MH4Kp8Kl5jiv/agent.12 [2020-12-02T10:39:02.091Z] SSH_AGENT_PID=18 [2020-12-02T10:39:02.101Z] Running ssh-add (command line suppressed) [2020-12-02T10:39:02.227Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_4269801074224559032.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_4269801074224559032.key) [2020-12-02T10:39:02.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T10:39:02.674Z] + git tag --points-at HEAD [Pipeline] } [2020-12-02T10:39:02.694Z] $ docker exec --env ******** --env ******** 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 ssh-agent -k [2020-12-02T10:39:02.805Z] unset SSH_AUTH_SOCK; [2020-12-02T10:39:02.806Z] unset SSH_AGENT_PID; [2020-12-02T10:39:02.806Z] echo Agent pid 18 killed; [2020-12-02T10:39:02.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-02T10:39:03.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T10:39:03.011Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T10:39:03.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T10:39:03.189Z] $ docker exec 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 ssh-agent [2020-12-02T10:39:03.346Z] SSH_AUTH_SOCK=/tmp/ssh-VS23DMDgyE9E/agent.47 [2020-12-02T10:39:03.346Z] SSH_AGENT_PID=52 [2020-12-02T10:39:03.352Z] Running ssh-add (command line suppressed) [2020-12-02T10:39:03.466Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_7840953750923928449.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_7840953750923928449.key) [2020-12-02T10:39:03.519Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T10:39:03.856Z] + git semver init [2020-12-02T10:39:03.856Z] # -> Open(): unable to determine branch for HEAD [2020-12-02T10:39:03.856Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git [2020-12-02T10:39:03.856Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 [2020-12-02T10:39:03.856Z] # $SEMVER_REMOTE_NAME = origin [2020-12-02T10:39:03.856Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-02T10:39:03.856Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-02T10:39:03.856Z] # $SEMVER_BRANCH = PR-661 [2020-12-02T10:39:03.856Z] # $SEMVER_TEMP = /tmp/semver-454308608 [2020-12-02T10:39:03.856Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-02T10:39:04.801Z] # '/tmp/semver-454308608' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' [2020-12-02T10:39:04.801Z] # -> Force: false [2020-12-02T10:39:04.801Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } [2020-12-02T10:39:04.816Z] $ docker exec --env ******** --env ******** 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 ssh-agent -k [2020-12-02T10:39:04.927Z] unset SSH_AUTH_SOCK; [2020-12-02T10:39:04.928Z] unset SSH_AGENT_PID; [2020-12-02T10:39:04.928Z] echo Agent pid 52 killed; [2020-12-02T10:39:04.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-02T10:39:05.496Z] + git semver [Pipeline] } [2020-12-02T10:39:05.513Z] $ docker stop --time=1 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 [2020-12-02T10:39:07.082Z] $ docker rm -f 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-02T10:39:07.600Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-02T10:39:08.179Z] Stashed 1 file(s) [Pipeline] echo [2020-12-02T10:39:08.184Z] [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-02T10:39:23.914Z] Still waiting to schedule task [2020-12-02T10:39:23.915Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-14168’ [2020-12-02T10:39:23.917Z] Still waiting to schedule task [2020-12-02T10:39:23.917Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-12-02T10:41:12.216Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14169 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws [2020-12-02T10:41:12.279Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-12-02T10:41:18.280Z] using credential edgex-jenkins-ssh [2020-12-02T10:41:18.338Z] Cloning the remote Git repository [2020-12-02T10:41:18.399Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-02T10:41:18.508Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-12-02T10:41:18.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-02T10:41:18.589Z] > git --version # timeout=10 [2020-12-02T10:41:18.605Z] > git --version # 'git version 2.17.1' [2020-12-02T10:41:18.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T10:41:18.655Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T10:41:19.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-02T10:41:19.760Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T10:41:19.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-02T10:41:19.816Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-02T10:41:19.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T10:41:19.829Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-02T10:41:20.450Z] Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [2020-12-02T10:41:20.732Z] Merge succeeded, producing 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [2020-12-02T10:41:20.733Z] Checking out Revision 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 (PR-661) [2020-12-02T10:41:20.473Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T10:41:20.489Z] > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [2020-12-02T10:41:20.601Z] > git remote # timeout=10 [2020-12-02T10:41:20.620Z] > git config --get remote.origin.url # timeout=10 [2020-12-02T10:41:20.640Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T10:41:20.650Z] > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [2020-12-02T10:41:20.707Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-02T10:41:20.753Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T10:41:20.779Z] > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [2020-12-02T10:41:24.973Z] Commit message: "feat: add a comment to explain why use buffer for sending event" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T10:41:26.750Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-02T10:41:27.172Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-02T10:41:27.572Z] + sudo service docker restart [2020-12-02T10:41:27.572Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T10:41:30.297Z] provisioning config files... [2020-12-02T10:41:30.338Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config2561964372515253646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T10:41:30.754Z] ---> docker-login.sh [2020-12-02T10:41:30.754Z] nexus3.edgexfoundry.org:10001 [2020-12-02T10:41:31.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:41:32.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:41:32.013Z] Configure a credential helper to remove this warning. See [2020-12-02T10:41:32.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:41:32.013Z] [2020-12-02T10:41:32.013Z] Login Succeeded [2020-12-02T10:41:32.013Z] nexus3.edgexfoundry.org:10002 [2020-12-02T10:41:32.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:41:32.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:41:32.561Z] Configure a credential helper to remove this warning. See [2020-12-02T10:41:32.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:41:32.561Z] [2020-12-02T10:41:32.561Z] Login Succeeded [2020-12-02T10:41:32.561Z] nexus3.edgexfoundry.org:10003 [2020-12-02T10:41:32.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:41:33.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:41:33.114Z] Configure a credential helper to remove this warning. See [2020-12-02T10:41:33.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:41:33.114Z] [2020-12-02T10:41:33.114Z] Login Succeeded [2020-12-02T10:41:33.114Z] nexus3.edgexfoundry.org:10004 [2020-12-02T10:41:33.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:41:33.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:41:33.662Z] Configure a credential helper to remove this warning. See [2020-12-02T10:41:33.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:41:33.662Z] [2020-12-02T10:41:33.662Z] Login Succeeded [2020-12-02T10:41:33.662Z] docker.io [2020-12-02T10:41:33.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:41:34.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:41:34.528Z] Configure a credential helper to remove this warning. See [2020-12-02T10:41:34.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:41:34.528Z] [2020-12-02T10:41:34.528Z] Login Succeeded [2020-12-02T10:41:34.528Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T10:41:34.545Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-02T10:41:35.007Z] ========================================================= [2020-12-02T10:41:35.007Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-02T10:41:35.007Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:41:35.394Z] + 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-02T10:41:35.995Z] Sending build context to Docker daemon 2.385MB [2020-12-02T10:41:35.995Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-02T10:41:35.995Z] Step 2/8 : FROM ${BASE} [2020-12-02T10:41:35.995Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-02T10:41:35.995Z] 5f621e34cdf4: Pulling fs layer [2020-12-02T10:41:35.995Z] a4357932f1b6: Pulling fs layer [2020-12-02T10:41:35.995Z] 18c013af1878: Pulling fs layer [2020-12-02T10:41:35.995Z] 00ac8860ef70: Pulling fs layer [2020-12-02T10:41:35.995Z] 63d7cb157983: Pulling fs layer [2020-12-02T10:41:35.995Z] b116817d02f9: Pulling fs layer [2020-12-02T10:41:35.995Z] 745a02a5169b: Pulling fs layer [2020-12-02T10:41:35.995Z] b116817d02f9: Waiting [2020-12-02T10:41:35.995Z] 745a02a5169b: Waiting [2020-12-02T10:41:35.995Z] 00ac8860ef70: Waiting [2020-12-02T10:41:35.995Z] 63d7cb157983: Waiting [2020-12-02T10:41:35.995Z] a4357932f1b6: Verifying Checksum [2020-12-02T10:41:35.995Z] a4357932f1b6: Download complete [2020-12-02T10:41:35.995Z] 18c013af1878: Verifying Checksum [2020-12-02T10:41:35.995Z] 18c013af1878: Download complete [2020-12-02T10:41:35.995Z] 63d7cb157983: Verifying Checksum [2020-12-02T10:41:35.995Z] 63d7cb157983: Download complete [2020-12-02T10:41:35.995Z] b116817d02f9: Download complete [2020-12-02T10:41:35.995Z] 5f621e34cdf4: Verifying Checksum [2020-12-02T10:41:35.995Z] 5f621e34cdf4: Download complete [2020-12-02T10:41:36.596Z] 5f621e34cdf4: Pull complete [2020-12-02T10:41:37.224Z] a4357932f1b6: Pull complete [2020-12-02T10:41:37.833Z] 18c013af1878: Pull complete [2020-12-02T10:41:38.429Z] 745a02a5169b: Verifying Checksum [2020-12-02T10:41:38.429Z] 745a02a5169b: Download complete [2020-12-02T10:41:39.411Z] 00ac8860ef70: Verifying Checksum [2020-12-02T10:41:39.411Z] 00ac8860ef70: Download complete [2020-12-02T10:41:51.828Z] 00ac8860ef70: Pull complete [2020-12-02T10:41:51.828Z] 63d7cb157983: Pull complete [2020-12-02T10:41:51.828Z] b116817d02f9: Pull complete [2020-12-02T10:41:54.457Z] 745a02a5169b: Pull complete [2020-12-02T10:41:54.457Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-02T10:41:54.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-02T10:41:54.457Z] ---> b7e6874047d6 [2020-12-02T10:41:54.457Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-02T10:41:57.084Z] ---> Running in d93185715d29 [2020-12-02T10:41:57.683Z] Removing intermediate container d93185715d29 [2020-12-02T10:41:57.683Z] ---> 53b655df87b3 [2020-12-02T10:41:57.683Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T10:41:57.683Z] ---> Running in 6c8952b0340e [2020-12-02T10:42:00.312Z] Removing intermediate container 6c8952b0340e [2020-12-02T10:42:00.312Z] ---> 690abc8f0b7d [2020-12-02T10:42:00.312Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-02T10:42:00.312Z] ---> Running in 56c5aff02ea7 [2020-12-02T10:42:00.909Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-02T10:42:01.305Z] Running on prd-centos7-docker-4c-2g-14170 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws [2020-12-02T10:42:01.424Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-12-02T10:42:01.891Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-02T10:42:02.869Z] OK: 142 MiB in 39 packages [2020-12-02T10:42:03.920Z] using credential edgex-jenkins-ssh [2020-12-02T10:42:04.006Z] Cloning the remote Git repository [2020-12-02T10:42:04.309Z] Removing intermediate container 56c5aff02ea7 [2020-12-02T10:42:04.309Z] ---> c7334650cf91 [2020-12-02T10:42:04.309Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-02T10:42:04.309Z] ---> Running in a7db7489bdcf [2020-12-02T10:42:03.823Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-02T10:42:03.896Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-12-02T10:42:03.963Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-02T10:42:03.963Z] > git --version # timeout=10 [2020-12-02T10:42:03.970Z] > git --version # 'git version 2.24.3' [2020-12-02T10:42:03.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T10:42:04.001Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T10:42:04.906Z] Removing intermediate container a7db7489bdcf [2020-12-02T10:42:04.906Z] ---> 50ea43d2361f [2020-12-02T10:42:04.906Z] Step 7/8 : COPY . . [2020-12-02T10:42:05.575Z] Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [2020-12-02T10:42:05.691Z] Merge succeeded, producing 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [2020-12-02T10:42:05.691Z] Checking out Revision 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 (PR-661) [2020-12-02T10:42:04.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-02T10:42:04.868Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T10:42:04.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-02T10:42:04.895Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-02T10:42:04.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T10:42:04.900Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-02T10:42:05.503Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T10:42:05.510Z] > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [2020-12-02T10:42:05.571Z] > git remote # timeout=10 [2020-12-02T10:42:05.580Z] > git config --get remote.origin.url # timeout=10 [2020-12-02T10:42:05.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T10:42:05.593Z] > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [2020-12-02T10:42:05.607Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-02T10:42:05.622Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T10:42:05.628Z] > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [2020-12-02T10:42:06.349Z] ---> 4e5e50dc7e55 [2020-12-02T10:42:06.350Z] Step 8/8 : RUN go mod download [2020-12-02T10:42:06.350Z] ---> Running in c20a64e05ad6 [2020-12-02T10:42:09.273Z] Commit message: "feat: add a comment to explain why use buffer for sending event" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T10:42:10.529Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-02T10:42:10.859Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-02T10:42:11.160Z] + true [2020-12-02T10:42:11.161Z] + sudo service docker restart [2020-12-02T10:42:11.161Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T10:42:12.173Z] provisioning config files... [2020-12-02T10:42:12.204Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config1321959456149130974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T10:42:12.573Z] ---> docker-login.sh [2020-12-02T10:42:12.574Z] nexus3.edgexfoundry.org:10001 [2020-12-02T10:42:12.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:42:12.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:42:12.835Z] Configure a credential helper to remove this warning. See [2020-12-02T10:42:12.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:42:12.835Z] [2020-12-02T10:42:12.835Z] Login Succeeded [2020-12-02T10:42:12.835Z] nexus3.edgexfoundry.org:10002 [2020-12-02T10:42:13.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:42:13.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:42:13.099Z] Configure a credential helper to remove this warning. See [2020-12-02T10:42:13.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:42:13.099Z] [2020-12-02T10:42:13.099Z] Login Succeeded [2020-12-02T10:42:13.099Z] nexus3.edgexfoundry.org:10003 [2020-12-02T10:42:13.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:42:13.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:42:13.360Z] Configure a credential helper to remove this warning. See [2020-12-02T10:42:13.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:42:13.360Z] [2020-12-02T10:42:13.360Z] Login Succeeded [2020-12-02T10:42:13.360Z] nexus3.edgexfoundry.org:10004 [2020-12-02T10:42:13.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:42:13.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:42:13.621Z] Configure a credential helper to remove this warning. See [2020-12-02T10:42:13.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:42:13.621Z] [2020-12-02T10:42:13.621Z] Login Succeeded [2020-12-02T10:42:13.621Z] docker.io [2020-12-02T10:42:13.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T10:42:13.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T10:42:13.883Z] Configure a credential helper to remove this warning. See [2020-12-02T10:42:13.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T10:42:13.883Z] [2020-12-02T10:42:13.883Z] Login Succeeded [2020-12-02T10:42:13.884Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T10:42:13.893Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-02T10:42:14.215Z] ========================================================= [2020-12-02T10:42:14.215Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-02T10:42:14.215Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:42:14.574Z] + 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-02T10:42:14.574Z] Sending build context to Docker daemon 2.388MB [2020-12-02T10:42:14.838Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-02T10:42:14.838Z] Step 2/8 : FROM ${BASE} [2020-12-02T10:42:14.838Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-02T10:42:14.838Z] 188c0c94c7c5: Pulling fs layer [2020-12-02T10:42:14.838Z] 0ef7d3d256c8: Pulling fs layer [2020-12-02T10:42:14.838Z] de9db76c5a1d: Pulling fs layer [2020-12-02T10:42:14.838Z] bca2f99d35d6: Pulling fs layer [2020-12-02T10:42:14.838Z] 93359f2a8cfa: Pulling fs layer [2020-12-02T10:42:14.838Z] 7c6f9722023f: Pulling fs layer [2020-12-02T10:42:14.838Z] a35cf1a2eb13: Pulling fs layer [2020-12-02T10:42:14.838Z] 93359f2a8cfa: Waiting [2020-12-02T10:42:14.838Z] bca2f99d35d6: Waiting [2020-12-02T10:42:14.838Z] 7c6f9722023f: Waiting [2020-12-02T10:42:14.838Z] de9db76c5a1d: Verifying Checksum [2020-12-02T10:42:14.838Z] de9db76c5a1d: Download complete [2020-12-02T10:42:14.838Z] 0ef7d3d256c8: Verifying Checksum [2020-12-02T10:42:14.838Z] 0ef7d3d256c8: Download complete [2020-12-02T10:42:14.838Z] 93359f2a8cfa: Verifying Checksum [2020-12-02T10:42:14.838Z] 93359f2a8cfa: Download complete [2020-12-02T10:42:14.838Z] 7c6f9722023f: Verifying Checksum [2020-12-02T10:42:14.838Z] 7c6f9722023f: Download complete [2020-12-02T10:42:14.838Z] 188c0c94c7c5: Verifying Checksum [2020-12-02T10:42:14.838Z] 188c0c94c7c5: Download complete [2020-12-02T10:42:15.104Z] 188c0c94c7c5: Pull complete [2020-12-02T10:42:15.371Z] 0ef7d3d256c8: Pull complete [2020-12-02T10:42:15.639Z] de9db76c5a1d: Pull complete [2020-12-02T10:42:17.045Z] a35cf1a2eb13: Verifying Checksum [2020-12-02T10:42:17.045Z] a35cf1a2eb13: Download complete [2020-12-02T10:42:17.310Z] bca2f99d35d6: Verifying Checksum [2020-12-02T10:42:17.310Z] bca2f99d35d6: Download complete [2020-12-02T10:42:22.672Z] bca2f99d35d6: Pull complete [2020-12-02T10:42:22.672Z] 93359f2a8cfa: Pull complete [2020-12-02T10:42:22.672Z] 7c6f9722023f: Pull complete [2020-12-02T10:42:28.549Z] Removing intermediate container c20a64e05ad6 [2020-12-02T10:42:28.550Z] ---> 150053ad52b5 [2020-12-02T10:42:28.550Z] Successfully built 150053ad52b5 [2020-12-02T10:42:28.550Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:42:28.923Z] + docker inspect -f . ci-base-image-arm64 [2020-12-02T10:42:28.924Z] . [Pipeline] withDockerContainer [2020-12-02T10:42:29.152Z] prd-ubuntu18.04-docker-arm64-4c-16g-14169 does not seem to be running inside a container [2020-12-02T10:42:29.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-02T10:42:29.294Z] a35cf1a2eb13: Pull complete [2020-12-02T10:42:29.295Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-02T10:42:29.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-02T10:42:29.295Z] ---> a62c8e92a672 [2020-12-02T10:42:29.295Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-02T10:42:29.295Z] ---> Running in 642cfe91f9a1 [2020-12-02T10:42:29.558Z] Removing intermediate container 642cfe91f9a1 [2020-12-02T10:42:29.558Z] ---> 56bdd5ddc5f2 [2020-12-02T10:42:29.558Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T10:42:29.824Z] ---> Running in 17ad7d17b59e [2020-12-02T10:42:30.629Z] $ docker top 22c928d765501b1030df3f8968b48836efc772bbfd6b63174b2c2e016a0f4130 -eo pid,comm [2020-12-02T10:42:30.788Z] Removing intermediate container 17ad7d17b59e [2020-12-02T10:42:30.788Z] ---> 19f30641c7e8 [2020-12-02T10:42:30.788Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-02T10:42:30.788Z] ---> Running in 4893a5ba8d88 [Pipeline] { [Pipeline] sh [2020-12-02T10:42:31.595Z] + go version [2020-12-02T10:42:31.595Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-02T10:42:31.620Z] $ docker stop --time=1 22c928d765501b1030df3f8968b48836efc772bbfd6b63174b2c2e016a0f4130 [2020-12-02T10:42:31.738Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-02T10:42:32.314Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-02T10:42:32.887Z] OK: 166 MiB in 39 packages [2020-12-02T10:42:33.462Z] Removing intermediate container 4893a5ba8d88 [2020-12-02T10:42:33.462Z] ---> f920268eacbd [2020-12-02T10:42:33.462Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-02T10:42:33.462Z] ---> Running in 64435fc465ac [2020-12-02T10:42:33.462Z] Removing intermediate container 64435fc465ac [2020-12-02T10:42:33.462Z] ---> ae5c5f6235fe [2020-12-02T10:42:33.462Z] Step 7/8 : COPY . . [2020-12-02T10:42:33.492Z] $ docker rm -f 22c928d765501b1030df3f8968b48836efc772bbfd6b63174b2c2e016a0f4130 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:42:34.538Z] + docker inspect -f . ci-base-image-arm64 [2020-12-02T10:42:34.539Z] . [Pipeline] withDockerContainer [2020-12-02T10:42:34.761Z] prd-ubuntu18.04-docker-arm64-4c-16g-14169 does not seem to be running inside a container [2020-12-02T10:42:34.842Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-02T10:42:34.859Z] ---> 02c9d9ef1c7b [2020-12-02T10:42:34.859Z] Step 8/8 : RUN go mod download [2020-12-02T10:42:34.859Z] ---> Running in c6cd84267893 [2020-12-02T10:42:36.335Z] $ docker top 7bc06c3c6e0ea73b73ca0909da506ecf01b68b3e9dd539c103a37f9dff1b8f6a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T10:42:37.366Z] + make test [2020-12-02T10:42:37.366Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-02T10:42:53.045Z] Removing intermediate container c6cd84267893 [2020-12-02T10:42:53.045Z] ---> 57e67742e2d0 [2020-12-02T10:42:53.045Z] Successfully built 57e67742e2d0 [2020-12-02T10:42:53.045Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:42:53.379Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-02T10:42:53.379Z] . [Pipeline] withDockerContainer [2020-12-02T10:42:53.621Z] prd-centos7-docker-4c-2g-14170 does not seem to be running inside a container [2020-12-02T10:42:53.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-02T10:42:54.480Z] $ docker top e953ac9edf1996a0086a0c9f2628c8330ef63f0e6b17fc18475640e4c601b6fb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T10:42:54.960Z] + go version [2020-12-02T10:42:54.960Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-02T10:42:54.977Z] $ docker stop --time=1 e953ac9edf1996a0086a0c9f2628c8330ef63f0e6b17fc18475640e4c601b6fb [2020-12-02T10:42:56.347Z] $ docker rm -f e953ac9edf1996a0086a0c9f2628c8330ef63f0e6b17fc18475640e4c601b6fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:42:57.240Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-02T10:42:57.241Z] . [Pipeline] withDockerContainer [2020-12-02T10:42:57.336Z] prd-centos7-docker-4c-2g-14170 does not seem to be running inside a container [2020-12-02T10:42:57.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-02T10:42:58.083Z] $ docker top 91707c2dbd3942139907fd3d43b3a5d176b9c3d0674449cac17cae600ce39272 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T10:42:58.640Z] + make test [2020-12-02T10:42:58.640Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-02T10:42:59.548Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-02T10:43:05.302Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-02T10:43:20.355Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-02T10:43:20.356Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-02T10:43:20.356Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-02T10:43:20.356Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 20.0% of statements [2020-12-02T10:43:21.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.487s coverage: 97.1% of statements [2020-12-02T10:43:38.610Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-02T10:43:38.610Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-02T10:43:38.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-02T10:43:38.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.162s coverage: 20.0% of statements [2020-12-02T10:43:42.944Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.217s coverage: 97.1% of statements [2020-12-02T10:43:53.477Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements [2020-12-02T10:43:53.477Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements [2020-12-02T10:43:53.477Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-02T10:43:53.477Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.238s coverage: 42.5% of statements [2020-12-02T10:43:53.477Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-02T10:43:53.477Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.294s coverage: 68.9% of statements [2020-12-02T10:43:53.477Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-02T10:43:53.477Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-02T10:43:53.477Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-02T10:43:53.477Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-02T10:43:53.477Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-12-02T10:43:53.477Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-02T10:43:53.477Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-02T10:43:53.477Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-02T10:43:53.477Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.581s coverage: 68.9% of statements [2020-12-02T10:43:53.477Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements [2020-12-02T10:43:53.477Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-02T10:43:53.477Z] GO111MODULE=on go vet ./... [2020-12-02T10:44:00.144Z] gofmt -l . [2020-12-02T10:44:00.144Z] [ "`gofmt -l .`" = "" ] [2020-12-02T10:44:00.144Z] ./bin/test-attribution-txt.sh [2020-12-02T10:44:00.722Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-02T10:44:01.004Z] $ docker stop --time=1 91707c2dbd3942139907fd3d43b3a5d176b9c3d0674449cac17cae600ce39272 [2020-12-02T10:44:02.921Z] $ docker rm -f 91707c2dbd3942139907fd3d43b3a5d176b9c3d0674449cac17cae600ce39272 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-02T10:44:03.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-02T10:44:04.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-02T10:44:06.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-02T10:44:07.078Z] + ls -al . [2020-12-02T10:44:07.078Z] total 208 [2020-12-02T10:44:07.078Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 2 10:44 . [2020-12-02T10:44:07.078Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 2 10:42 .. [2020-12-02T10:44:07.078Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 2 10:42 bin [2020-12-02T10:44:07.078Z] -rw-r--r--. 1 jenkins jenkins 127698 Dec 2 10:43 coverage.out [2020-12-02T10:44:07.078Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 2 10:42 Dockerfile.build [2020-12-02T10:44:07.078Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 10:42 .dockerignore [2020-12-02T10:44:07.078Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 2 10:42 example [2020-12-02T10:44:07.078Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 10:42 .git [2020-12-02T10:44:07.078Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 10:42 .github [2020-12-02T10:44:07.078Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 2 10:42 .gitignore [2020-12-02T10:44:07.078Z] -rw-r--r--. 1 jenkins jenkins 518 Dec 2 10:44 go.mod [2020-12-02T10:44:07.078Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 2 10:44 go.sum [2020-12-02T10:44:07.078Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 2 10:42 internal [2020-12-02T10:44:07.078Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 2 10:42 Jenkinsfile [2020-12-02T10:44:07.078Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 2 10:42 LICENSE [2020-12-02T10:44:07.078Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 2 10:42 Makefile [2020-12-02T10:44:07.078Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 2 10:42 openapi [2020-12-02T10:44:07.078Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 2 10:42 pkg [2020-12-02T10:44:07.078Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 2 10:42 README.md [2020-12-02T10:44:07.078Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 2 10:42 RELEASE-NOTES.txt [2020-12-02T10:44:07.078Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 2 10:42 snap [2020-12-02T10:44:07.078Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 2 10:39 VERSION [2020-12-02T10:44:07.078Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 2 10:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:44:07.392Z] + 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=0f5e862e54ec7bbfaa4abac58006b2b47f12c067 --label arch=amd64 --label version=0.0.0 . [2020-12-02T10:44:07.655Z] Sending build context to Docker daemon 2.516MB [2020-12-02T10:44:07.656Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-02T10:44:07.656Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-02T10:44:07.656Z] ---> 57e67742e2d0 [2020-12-02T10:44:07.656Z] Step 3/24 : ARG MAKE='make build' [2020-12-02T10:44:08.233Z] ---> Running in 9e4c4c6ebb3f [2020-12-02T10:44:08.496Z] Removing intermediate container 9e4c4c6ebb3f [2020-12-02T10:44:08.496Z] ---> a8b67a81a832 [2020-12-02T10:44:08.496Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-02T10:44:08.496Z] ---> Running in 3de96a2131b4 [2020-12-02T10:44:08.758Z] Removing intermediate container 3de96a2131b4 [2020-12-02T10:44:08.758Z] ---> 30bdfbce141c [2020-12-02T10:44:08.758Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-02T10:44:08.758Z] ---> Running in 22f0b55c5d69 [2020-12-02T10:44:09.021Z] Removing intermediate container 22f0b55c5d69 [2020-12-02T10:44:09.021Z] ---> da48a7307bb8 [2020-12-02T10:44:09.021Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T10:44:09.021Z] ---> Running in 75cc9fa3f4e9 [2020-12-02T10:44:09.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.126s coverage: 9.4% of statements [2020-12-02T10:44:09.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements [2020-12-02T10:44:09.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-02T10:44:09.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.590s coverage: 42.5% of statements [2020-12-02T10:44:09.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-02T10:44:09.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.811s coverage: 68.9% of statements [2020-12-02T10:44:09.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-02T10:44:09.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-02T10:44:09.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-02T10:44:09.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-02T10:44:09.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.211s coverage: 52.6% of statements [2020-12-02T10:44:09.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-02T10:44:09.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-02T10:44:09.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-02T10:44:09.738Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.690s coverage: 68.9% of statements [2020-12-02T10:44:09.738Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.136s coverage: 4.7% of statements [2020-12-02T10:44:09.738Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-02T10:44:09.971Z] Removing intermediate container 75cc9fa3f4e9 [2020-12-02T10:44:09.971Z] ---> 5ed62764a7e5 [2020-12-02T10:44:09.971Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-02T10:44:09.971Z] ---> Running in eeb2021f1170 [2020-12-02T10:44:10.015Z] GO111MODULE=on go vet ./... [2020-12-02T10:44:10.546Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-02T10:44:11.121Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-02T10:44:11.384Z] OK: 166 MiB in 39 packages [2020-12-02T10:44:11.959Z] Removing intermediate container eeb2021f1170 [2020-12-02T10:44:11.959Z] ---> 01ee6c42f213 [2020-12-02T10:44:11.959Z] Step 8/24 : COPY . . [2020-12-02T10:44:13.351Z] ---> 8aaca8055b4a [2020-12-02T10:44:13.351Z] Step 9/24 : RUN ${MAKE} [2020-12-02T10:44:13.351Z] ---> Running in fb527d8fd82b [2020-12-02T10:44:13.614Z] 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-02T10:44:21.853Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-02T10:44:24.415Z] Removing intermediate container fb527d8fd82b [2020-12-02T10:44:24.415Z] ---> 9b1a44eede70 [2020-12-02T10:44:24.415Z] Step 10/24 : FROM scratch [2020-12-02T10:44:24.415Z] ---> [2020-12-02T10:44:24.415Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-02T10:44:24.415Z] ---> Running in 509d6ae2eb0f [2020-12-02T10:44:24.415Z] Removing intermediate container 509d6ae2eb0f [2020-12-02T10:44:24.415Z] ---> 82aa02855700 [2020-12-02T10:44:24.415Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-02T10:44:24.415Z] ---> Running in eacaf4476df5 [2020-12-02T10:44:24.415Z] Removing intermediate container eacaf4476df5 [2020-12-02T10:44:24.415Z] ---> 7bee1a2e0251 [2020-12-02T10:44:24.415Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-02T10:44:24.415Z] ---> Running in 904d41bfb141 [2020-12-02T10:44:24.678Z] Removing intermediate container 904d41bfb141 [2020-12-02T10:44:24.678Z] ---> 8be7a6259ee9 [2020-12-02T10:44:24.678Z] Step 14/24 : WORKDIR / [2020-12-02T10:44:24.678Z] ---> Running in 1c067ac6c92f [2020-12-02T10:44:24.943Z] Removing intermediate container 1c067ac6c92f [2020-12-02T10:44:24.943Z] ---> 67e90fb1f6ee [2020-12-02T10:44:24.943Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-02T10:44:25.206Z] ---> 6c5fd196201b [2020-12-02T10:44:25.206Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-02T10:44:25.784Z] ---> 9dcfd3e9e4b2 [2020-12-02T10:44:25.784Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-02T10:44:25.784Z] ---> e0bfa7bdb068 [2020-12-02T10:44:25.784Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-02T10:44:26.049Z] ---> 8dfcd08bf6b1 [2020-12-02T10:44:26.049Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-02T10:44:26.312Z] ---> 357a9258bde4 [2020-12-02T10:44:26.312Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-02T10:44:26.312Z] ---> Running in a2983cba6450 [2020-12-02T10:44:26.574Z] Removing intermediate container a2983cba6450 [2020-12-02T10:44:26.574Z] ---> 2380054aa9c9 [2020-12-02T10:44:26.574Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-02T10:44:26.839Z] ---> Running in 59bf4a5c377f [2020-12-02T10:44:26.839Z] Removing intermediate container 59bf4a5c377f [2020-12-02T10:44:26.839Z] ---> 153ddfff43a1 [2020-12-02T10:44:26.839Z] Step 22/24 : LABEL arch=amd64 [2020-12-02T10:44:27.102Z] ---> Running in e3f560a48c1f [2020-12-02T10:44:27.102Z] Removing intermediate container e3f560a48c1f [2020-12-02T10:44:27.102Z] ---> 7ef3d0d370e5 [2020-12-02T10:44:27.102Z] Step 23/24 : LABEL git_sha=0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [2020-12-02T10:44:27.677Z] ---> Running in 38d7a755bef3 [2020-12-02T10:44:27.939Z] Removing intermediate container 38d7a755bef3 [2020-12-02T10:44:27.940Z] ---> 4c2e0d72151e [2020-12-02T10:44:27.940Z] Step 24/24 : LABEL version=0.0.0 [2020-12-02T10:44:27.940Z] ---> Running in a518eb826d3a [2020-12-02T10:44:28.201Z] Removing intermediate container a518eb826d3a [2020-12-02T10:44:28.201Z] ---> 4a75222e1707 [2020-12-02T10:44:28.201Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-02T10:44:28.201Z] Successfully built 4a75222e1707 [2020-12-02T10:44:28.201Z] 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-02T10:44:42.682Z] gofmt -l . [2020-12-02T10:44:42.682Z] [ "`gofmt -l .`" = "" ] [2020-12-02T10:44:42.682Z] ./bin/test-attribution-txt.sh [2020-12-02T10:44:42.682Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-02T10:44:42.702Z] $ docker stop --time=1 7bc06c3c6e0ea73b73ca0909da506ecf01b68b3e9dd539c103a37f9dff1b8f6a [2020-12-02T10:44:44.926Z] $ docker rm -f 7bc06c3c6e0ea73b73ca0909da506ecf01b68b3e9dd539c103a37f9dff1b8f6a [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-02T10:44:46.066Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-02T10:44:46.143Z] Warning: overwriting stash ‘coverage-report’ [2020-12-02T10:44:46.945Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T10:44:47.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-02T10:44:48.074Z] + ls -al . [2020-12-02T10:44:48.075Z] total 244 [2020-12-02T10:44:48.075Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 2 10:44 . [2020-12-02T10:44:48.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 10:41 .. [2020-12-02T10:44:48.075Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 10:41 .dockerignore [2020-12-02T10:44:48.075Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 10:41 .git [2020-12-02T10:44:48.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 10:41 .github [2020-12-02T10:44:48.075Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 2 10:41 .gitignore [2020-12-02T10:44:48.075Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 2 10:41 Dockerfile.build [2020-12-02T10:44:48.075Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 2 10:41 Jenkinsfile [2020-12-02T10:44:48.075Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 2 10:41 LICENSE [2020-12-02T10:44:48.075Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 2 10:41 Makefile [2020-12-02T10:44:48.075Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 2 10:41 README.md [2020-12-02T10:44:48.075Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 2 10:41 RELEASE-NOTES.txt [2020-12-02T10:44:48.075Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 2 10:39 VERSION [2020-12-02T10:44:48.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 10:41 bin [2020-12-02T10:44:48.075Z] -rw-r--r-- 1 jenkins jenkins 127698 Dec 2 10:44 coverage.out [2020-12-02T10:44:48.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 10:41 example [2020-12-02T10:44:48.075Z] -rw-r--r-- 1 jenkins jenkins 518 Dec 2 10:44 go.mod [2020-12-02T10:44:48.075Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 2 10:44 go.sum [2020-12-02T10:44:48.075Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 2 10:41 internal [2020-12-02T10:44:48.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 10:41 openapi [2020-12-02T10:44:48.075Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 2 10:41 pkg [2020-12-02T10:44:48.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 10:41 snap [2020-12-02T10:44:48.075Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 2 10:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:44:48.416Z] + 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=0f5e862e54ec7bbfaa4abac58006b2b47f12c067 --label arch=arm64 --label version=0.0.0 . [2020-12-02T10:44:49.010Z] Sending build context to Docker daemon 2.514MB [2020-12-02T10:44:49.010Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-02T10:44:49.010Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-02T10:44:49.010Z] ---> 150053ad52b5 [2020-12-02T10:44:49.010Z] Step 3/24 : ARG MAKE='make build' [2020-12-02T10:44:49.284Z] ---> Running in d07c5d1030b6 [2020-12-02T10:44:49.561Z] Removing intermediate container d07c5d1030b6 [2020-12-02T10:44:49.561Z] ---> c3c674105d0b [2020-12-02T10:44:49.561Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-02T10:44:49.832Z] ---> Running in 21f3e5a515eb [2020-12-02T10:44:50.428Z] Removing intermediate container 21f3e5a515eb [2020-12-02T10:44:50.428Z] ---> 5c8cbd417def [2020-12-02T10:44:50.428Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-02T10:44:50.428Z] ---> Running in 0bbcf2237588 [2020-12-02T10:44:50.703Z] Removing intermediate container 0bbcf2237588 [2020-12-02T10:44:50.703Z] ---> 429edc5a374c [2020-12-02T10:44:50.703Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T10:44:50.977Z] ---> Running in e0a0f8fe07a7 [2020-12-02T10:44:52.948Z] Removing intermediate container e0a0f8fe07a7 [2020-12-02T10:44:52.948Z] ---> 19fcbc983252 [2020-12-02T10:44:52.948Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-02T10:44:53.222Z] ---> Running in d49bbbb8742d [2020-12-02T10:44:54.197Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-02T10:44:55.170Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-02T10:44:55.771Z] OK: 142 MiB in 39 packages [2020-12-02T10:44:56.754Z] Removing intermediate container d49bbbb8742d [2020-12-02T10:44:56.754Z] ---> eb36153e4dff [2020-12-02T10:44:56.754Z] Step 8/24 : COPY . . [2020-12-02T10:44:58.186Z] ---> b9abeefd1735 [2020-12-02T10:44:58.186Z] Step 9/24 : RUN ${MAKE} [2020-12-02T10:44:58.186Z] ---> Running in ff6785670436 [2020-12-02T10:44:59.622Z] 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-02T10:45:26.431Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-02T10:45:26.431Z] Removing intermediate container ff6785670436 [2020-12-02T10:45:26.431Z] ---> 51493a1f18c7 [2020-12-02T10:45:26.431Z] Step 10/24 : FROM scratch [2020-12-02T10:45:26.431Z] ---> [2020-12-02T10:45:26.431Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-02T10:45:26.431Z] ---> Running in 5c3dc4206cf9 [2020-12-02T10:45:26.706Z] Removing intermediate container 5c3dc4206cf9 [2020-12-02T10:45:26.706Z] ---> 9d2a56e01b9a [2020-12-02T10:45:26.706Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-02T10:45:26.706Z] ---> Running in 102c10dd711b [2020-12-02T10:45:27.303Z] Removing intermediate container 102c10dd711b [2020-12-02T10:45:27.303Z] ---> e8c210c468eb [2020-12-02T10:45:27.303Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-02T10:45:27.303Z] ---> Running in 931e8598593a [2020-12-02T10:45:27.897Z] Removing intermediate container 931e8598593a [2020-12-02T10:45:27.897Z] ---> 51637107f797 [2020-12-02T10:45:27.897Z] Step 14/24 : WORKDIR / [2020-12-02T10:45:27.897Z] ---> Running in e2944b909b2a [2020-12-02T10:45:28.493Z] Removing intermediate container e2944b909b2a [2020-12-02T10:45:28.493Z] ---> 0d7d2ac1fe80 [2020-12-02T10:45:28.493Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-02T10:45:29.470Z] ---> fb77202458bd [2020-12-02T10:45:29.470Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-02T10:45:30.066Z] ---> dbd6cb9f4df0 [2020-12-02T10:45:30.066Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-02T10:45:31.057Z] ---> c65c4efbd917 [2020-12-02T10:45:31.057Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-02T10:45:31.652Z] ---> 429435929036 [2020-12-02T10:45:31.652Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-02T10:45:32.628Z] ---> 8955a5bd165b [2020-12-02T10:45:32.629Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-02T10:45:32.629Z] ---> Running in fcefd0869545 [2020-12-02T10:45:32.901Z] Removing intermediate container fcefd0869545 [2020-12-02T10:45:32.901Z] ---> 23d7b0163a42 [2020-12-02T10:45:32.901Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-02T10:45:33.174Z] ---> Running in 8928d2947b17 [2020-12-02T10:45:33.448Z] Removing intermediate container 8928d2947b17 [2020-12-02T10:45:33.448Z] ---> 97470124bfac [2020-12-02T10:45:33.448Z] Step 22/24 : LABEL arch=arm64 [2020-12-02T10:45:33.721Z] ---> Running in fe6a87944525 [2020-12-02T10:45:34.314Z] Removing intermediate container fe6a87944525 [2020-12-02T10:45:34.314Z] ---> ec7025637764 [2020-12-02T10:45:34.314Z] Step 23/24 : LABEL git_sha=0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [2020-12-02T10:45:34.314Z] ---> Running in bd7c055d5f0c [2020-12-02T10:45:34.587Z] Removing intermediate container bd7c055d5f0c [2020-12-02T10:45:34.587Z] ---> 01f896d7eb92 [2020-12-02T10:45:34.587Z] Step 24/24 : LABEL version=0.0.0 [2020-12-02T10:45:34.860Z] ---> Running in 05fe5c033d4d [2020-12-02T10:45:35.135Z] Removing intermediate container 05fe5c033d4d [2020-12-02T10:45:35.135Z] ---> eb104030cf58 [2020-12-02T10:45:35.135Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-02T10:45:35.406Z] Successfully built eb104030cf58 [2020-12-02T10:45:35.406Z] 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-02T10:45:37.379Z] provisioning config files... [2020-12-02T10:45:37.397Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config828627049101865674tmp [Pipeline] { [Pipeline] sh [2020-12-02T10:45:37.790Z] + set +x [2020-12-02T10:45:37.790Z] + curl -s https://codecov.io/bash [2020-12-02T10:45:37.790Z] + bash -s -- [2020-12-02T10:45:38.053Z] [2020-12-02T10:45:38.053Z] _____ _ [2020-12-02T10:45:38.053Z] / ____| | | [2020-12-02T10:45:38.053Z] | | ___ __| | ___ ___ _____ __ [2020-12-02T10:45:38.053Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-02T10:45:38.053Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-02T10:45:38.053Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-02T10:45:38.053Z] Bash-20201130-cc6d3fe [2020-12-02T10:45:38.053Z] [2020-12-02T10:45:38.053Z] [2020-12-02T10:45:38.053Z] ==> Jenkins CI detected. [2020-12-02T10:45:38.053Z] project root: . [2020-12-02T10:45:38.053Z] --> token set from env [2020-12-02T10:45:38.053Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-02T10:45:38.053Z] ==> Running gcov in . (disable via -X gcov) [2020-12-02T10:45:38.053Z] ==> Python coveragepy not found [2020-12-02T10:45:38.053Z] ==> Searching for coverage reports in: [2020-12-02T10:45:38.053Z] + . [2020-12-02T10:45:38.053Z] -> Found 1 reports [2020-12-02T10:45:38.053Z] ==> Detecting git/mercurial file structure [2020-12-02T10:45:38.053Z] ==> Reading reports [2020-12-02T10:45:38.053Z] + ./coverage.out bytes=127698 [2020-12-02T10:45:38.053Z] ==> Appending adjustments [2020-12-02T10:45:38.053Z] https://docs.codecov.io/docs/fixing-reports [2020-12-02T10:45:38.628Z] + Found adjustments [2020-12-02T10:45:38.628Z] ==> Gzipping contents [2020-12-02T10:45:38.628Z] 24K /tmp/codecov.F1Ykha.gz [2020-12-02T10:45:38.628Z] ==> Uploading reports [2020-12-02T10:45:38.628Z] url: https://codecov.io [2020-12-02T10:45:38.628Z] query: branch=PR-661&commit=0f5e862e54ec7bbfaa4abac58006b2b47f12c067&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= [2020-12-02T10:45:38.628Z] -> Pinging Codecov [2020-12-02T10:45:38.628Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-661&commit=0f5e862e54ec7bbfaa4abac58006b2b47f12c067&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= [2020-12-02T10:45:39.201Z] -> Uploading to [2020-12-02T10:45:39.201Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-02/7E55EF52A471D76F132DFD9A03CDDE97/0f5e862e54ec7bbfaa4abac58006b2b47f12c067/cd53e488-a80b-4311-b4c7-90d306cf43d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201202T104539Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5764d1b2c8e03a3215cf547d5f68efc4f26b741d4eefb15a5a971b810fd9d22d [2020-12-02T10:45:39.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-02T10:45:39.201Z] Dload Upload Total Spent Left Speed [2020-12-02T10:45:39.463Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20858 0 0 100 20858 0 52043 --:--:-- --:--:-- --:--:-- 52145 [2020-12-02T10:45:39.463Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [Pipeline] } [2020-12-02T10:45:39.473Z] 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-02T10:45:42.588Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T10:45:42.896Z] ---> package-listing.sh [2020-12-02T10:45:42.896Z] ++ facter osfamily [2020-12-02T10:45:42.896Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-02T10:45:42.896Z] + OS_FAMILY=redhat [2020-12-02T10:45:42.896Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 [2020-12-02T10:45:42.896Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-02T10:45:42.896Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-02T10:45:42.896Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-02T10:45:42.896Z] + PACKAGES=/tmp/packages_start.txt [2020-12-02T10:45:42.896Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' [2020-12-02T10:45:42.896Z] + PACKAGES=/tmp/packages_end.txt [2020-12-02T10:45:42.896Z] + case "${OS_FAMILY}" in [2020-12-02T10:45:42.896Z] + rpm -qa [2020-12-02T10:45:42.896Z] + sort [2020-12-02T10:45:48.212Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-02T10:45:48.212Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-02T10:45:48.212Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-02T10:45:48.212Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' [2020-12-02T10:45:48.212Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [2020-12-02T10:45:48.212Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [Pipeline] echo [2020-12-02T10:45:48.229Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-661/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-02T10:45:48.522Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:45:48.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T10:45:48.830Z] [2020-12-02T10:45:48.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-02T10:45:49.185Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T10:45:49.185Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-02T10:45:49.185Z] df20fa9351a1: Pulling fs layer [2020-12-02T10:45:49.185Z] 36b3adc4ff6f: Pulling fs layer [2020-12-02T10:45:49.185Z] 8ad3a11d3b57: Pulling fs layer [2020-12-02T10:45:49.185Z] 46f8f816bc3b: Pulling fs layer [2020-12-02T10:45:49.185Z] 93b61091891f: Pulling fs layer [2020-12-02T10:45:49.185Z] 93b9cdb0e59b: Pulling fs layer [2020-12-02T10:45:49.185Z] 5e14af77c1be: Pulling fs layer [2020-12-02T10:45:49.185Z] 01666e4c0597: Pulling fs layer [2020-12-02T10:45:49.185Z] aa168da1d23b: Pulling fs layer [2020-12-02T10:45:49.185Z] 93b9cdb0e59b: Waiting [2020-12-02T10:45:49.185Z] 5e14af77c1be: Waiting [2020-12-02T10:45:49.185Z] 01666e4c0597: Waiting [2020-12-02T10:45:49.185Z] aa168da1d23b: Waiting [2020-12-02T10:45:49.185Z] 46f8f816bc3b: Waiting [2020-12-02T10:45:49.185Z] 93b61091891f: Waiting [2020-12-02T10:45:49.185Z] 36b3adc4ff6f: Verifying Checksum [2020-12-02T10:45:49.185Z] 36b3adc4ff6f: Download complete [2020-12-02T10:45:49.185Z] 46f8f816bc3b: Verifying Checksum [2020-12-02T10:45:49.185Z] 46f8f816bc3b: Download complete [2020-12-02T10:45:49.456Z] df20fa9351a1: Verifying Checksum [2020-12-02T10:45:49.456Z] df20fa9351a1: Download complete [2020-12-02T10:45:49.456Z] 93b9cdb0e59b: Verifying Checksum [2020-12-02T10:45:49.456Z] 93b9cdb0e59b: Download complete [2020-12-02T10:45:49.456Z] 5e14af77c1be: Verifying Checksum [2020-12-02T10:45:49.456Z] 5e14af77c1be: Download complete [2020-12-02T10:45:49.456Z] 93b61091891f: Download complete [2020-12-02T10:45:49.456Z] 01666e4c0597: Verifying Checksum [2020-12-02T10:45:49.456Z] 01666e4c0597: Download complete [2020-12-02T10:45:49.456Z] 8ad3a11d3b57: Verifying Checksum [2020-12-02T10:45:49.456Z] 8ad3a11d3b57: Download complete [2020-12-02T10:45:50.035Z] df20fa9351a1: Pull complete [2020-12-02T10:45:50.298Z] 36b3adc4ff6f: Pull complete [2020-12-02T10:45:51.722Z] aa168da1d23b: Verifying Checksum [2020-12-02T10:45:51.722Z] aa168da1d23b: Download complete [2020-12-02T10:45:51.987Z] 8ad3a11d3b57: Pull complete [2020-12-02T10:45:52.251Z] 46f8f816bc3b: Pull complete [2020-12-02T10:45:52.832Z] 93b61091891f: Pull complete [2020-12-02T10:45:53.095Z] 93b9cdb0e59b: Pull complete [2020-12-02T10:45:53.670Z] 5e14af77c1be: Pull complete [2020-12-02T10:45:53.933Z] 01666e4c0597: Pull complete [2020-12-02T10:46:00.553Z] aa168da1d23b: Pull complete [2020-12-02T10:46:00.553Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-02T10:46:00.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T10:46:00.814Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-02T10:46:00.975Z] prd-centos7-docker-4c-2g-14168 does not seem to be running inside a container [2020-12-02T10:46:01.025Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-661/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-02T10:46:09.101Z] $ docker top a42994d197549126364a8138cf9028ba7d692269b4956bc5637a74ebf51d5bb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T10:46:09.707Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-02T10:46:10.008Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-02T10:46:10.312Z] + ls /var/log/sa-host [2020-12-02T10:46:10.312Z] + sadf -c /var/log/sa-host/sa02 [2020-12-02T10:46:10.312Z] file_magic: OK [2020-12-02T10:46:10.312Z] HZ: Using current value: 100 [2020-12-02T10:46:10.312Z] file_header: OK [2020-12-02T10:46:10.312Z] 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-02T10:46:10.312Z] Statistics: [2020-12-02T10:46:10.312Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-02T10:46:10.312Z] File successfully converted to sysstat format version 12.2.1 [2020-12-02T10:46:10.312Z] + sadf -c /var/log/sa-host/sa23 [2020-12-02T10:46:10.312Z] file_magic: OK [2020-12-02T10:46:10.312Z] HZ: Using current value: 100 [2020-12-02T10:46:10.312Z] file_header: OK [2020-12-02T10:46:10.312Z] 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-02T10:46:10.312Z] Statistics: [2020-12-02T10:46:10.312Z] Hnuu...uuuununununu... [2020-12-02T10:46:10.312Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-02T10:46:10.983Z] provisioning config files... [2020-12-02T10:46:10.999Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config7588536876734552596tmp [Pipeline] { [Pipeline] echo [2020-12-02T10:46:11.153Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T10:46:11.466Z] ---> create-netrc.sh [Pipeline] } [2020-12-02T10:46:11.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-02T10:46:11.572Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T10:46:11.871Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-02T10:46:11.882Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T10:46:12.180Z] ---> sudo-logs.sh [2020-12-02T10:46:12.180Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-02T10:46:12.193Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T10:46:12.491Z] ---> job-cost.sh [2020-12-02T10:46:12.492Z] lf-activate-venv: SKIPPING [2020-12-02T10:46:12.492Z] INFO: No Stack... [2020-12-02T10:46:13.884Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-02T10:46:14.147Z] INFO: Archiving Costs [Pipeline] echo [2020-12-02T10:46:14.161Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T10:46:14.459Z] ---> logs-deploy.sh [2020-12-02T10:46:14.459Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/5 [2020-12-02T10:46:14.459Z] INFO: archiving workspace using pattern(s): [2020-12-02T10:46:16.379Z] Archives upload complete. [2020-12-02T10:46:16.379Z] INFO: archiving logs to Nexus