Pull request #702 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a5cd81ba5d97b4f8b070278caaacb444df4761db+b058260e0a173cbd20e8373902e2c8ff53da770e (e814fbd8f40e668686f5728b9f9e1d8c17bb82c4) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16986 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [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-702 # 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 b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit a5cd81ba5d97b4f8b070278caaacb444df4761db Merge succeeded, producing a5cd81ba5d97b4f8b070278caaacb444df4761db Checking out Revision a5cd81ba5d97b4f8b070278caaacb444df4761db (PR-702) > 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/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # 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 b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # timeout=10 Commit message: "feat: update DS in metadata to reflect config change" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-21T04:41:44.783Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-21T04:41:45.141Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-21T04:41:45.254Z] ========================================================= [2020-12-21T04:41:45.254Z] EdgeX Global Pipelines Version Info [2020-12-21T04:41:45.254Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:41:46.742Z] ------------------- [2020-12-21T04:41:46.742Z] stable info: [2020-12-21T04:41:46.742Z] ------------------- [2020-12-21T04:41:46.742Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-21T04:41:46.742Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T04:41:46.742Z] Message: update stable to v1.0.173 [2020-12-21T04:41:47.688Z] ------------------- [2020-12-21T04:41:47.688Z] experimental info: [2020-12-21T04:41:47.688Z] ------------------- [2020-12-21T04:41:47.688Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-21T04:41:47.688Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T04:41:47.688Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-21T04:41:47.989Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-21T04:41:48.099Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-21T04:41:48.205Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-21T04:41:48.310Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-21T04:41:48.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-21T04:41:48.514Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-21T04:41:48.621Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-21T04:41:48.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-21T04:41:48.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-21T04:41:48.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-21T04:41:49.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-21T04:41:49.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-21T04:41:49.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-21T04:41:49.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-21T04:41:49.480Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T04:41:49.586Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T04:41:49.687Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T04:41:49.821Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T04:41:49.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-21T04:41:50.022Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-21T04:41:50.121Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-21T04:41:50.320Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-21T04:41:50.545Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-21T04:41:50.661Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-21T04:41:50.758Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-21T04:41:50.859Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-21T04:41:50.977Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-21T04:41:51.073Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-702 [Pipeline] echo [2020-12-21T04:41:51.166Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-702 [Pipeline] echo [2020-12-21T04:41:51.280Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-702 [Pipeline] echo [2020-12-21T04:41:51.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5cd81ba5d97b4f8b070278caaacb444df4761db [Pipeline] echo [2020-12-21T04:41:51.498Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5cd81b [Pipeline] echo [2020-12-21T04:41:51.637Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T04:41:51.822Z] provisioning config files... [2020-12-21T04:41:51.859Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config422275733906868417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:41:52.270Z] ---> docker-login.sh [2020-12-21T04:41:52.270Z] nexus3.edgexfoundry.org:10001 [2020-12-21T04:41:52.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:41:52.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:41:52.533Z] Configure a credential helper to remove this warning. See [2020-12-21T04:41:52.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:41:52.533Z] [2020-12-21T04:41:52.533Z] Login Succeeded [2020-12-21T04:41:52.533Z] nexus3.edgexfoundry.org:10002 [2020-12-21T04:41:52.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:41:52.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:41:52.797Z] Configure a credential helper to remove this warning. See [2020-12-21T04:41:52.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:41:52.797Z] [2020-12-21T04:41:52.797Z] Login Succeeded [2020-12-21T04:41:52.797Z] nexus3.edgexfoundry.org:10003 [2020-12-21T04:41:53.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:41:53.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:41:53.061Z] Configure a credential helper to remove this warning. See [2020-12-21T04:41:53.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:41:53.061Z] [2020-12-21T04:41:53.061Z] Login Succeeded [2020-12-21T04:41:53.061Z] nexus3.edgexfoundry.org:10004 [2020-12-21T04:41:53.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:41:53.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:41:53.323Z] Configure a credential helper to remove this warning. See [2020-12-21T04:41:53.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:41:53.323Z] [2020-12-21T04:41:53.323Z] Login Succeeded [2020-12-21T04:41:53.323Z] docker.io [2020-12-21T04:41:53.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:41:53.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:41:53.587Z] Configure a credential helper to remove this warning. See [2020-12-21T04:41:53.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:41:53.587Z] [2020-12-21T04:41:53.587Z] Login Succeeded [2020-12-21T04:41:53.587Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T04:41:53.597Z] 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-21T04:41:54.415Z] + git log --format=format:%s -1 a5cd81ba5d97b4f8b070278caaacb444df4761db [Pipeline] echo [2020-12-21T04:41:54.486Z] GIT_COMMIT: a5cd81ba5d97b4f8b070278caaacb444df4761db, Commit Message: feat: update DS in metadata to reflect config change [Pipeline] echo [2020-12-21T04:41:54.560Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:41:55.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T04:41:55.539Z] [2020-12-21T04:41:55.539Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:41:55.895Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T04:41:55.895Z] latest: Pulling from edgex-devops/git-semver [2020-12-21T04:41:55.895Z] 31603596830f: Pulling fs layer [2020-12-21T04:41:55.895Z] 2a8b12db71e7: Pulling fs layer [2020-12-21T04:41:55.895Z] 6ca5941a6612: Pulling fs layer [2020-12-21T04:41:55.895Z] ecc8261a40a4: Pulling fs layer [2020-12-21T04:41:55.895Z] ecc8261a40a4: Waiting [2020-12-21T04:41:55.895Z] 2a8b12db71e7: Verifying Checksum [2020-12-21T04:41:55.895Z] 2a8b12db71e7: Download complete [2020-12-21T04:41:56.157Z] 31603596830f: Download complete [2020-12-21T04:41:56.157Z] ecc8261a40a4: Verifying Checksum [2020-12-21T04:41:56.157Z] ecc8261a40a4: Download complete [2020-12-21T04:41:56.157Z] 6ca5941a6612: Verifying Checksum [2020-12-21T04:41:56.157Z] 6ca5941a6612: Download complete [2020-12-21T04:41:56.419Z] 31603596830f: Pull complete [2020-12-21T04:41:56.419Z] 2a8b12db71e7: Pull complete [2020-12-21T04:41:57.365Z] 6ca5941a6612: Pull complete [2020-12-21T04:41:57.627Z] ecc8261a40a4: Pull complete [2020-12-21T04:41:57.627Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-21T04:41:57.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T04:41:57.627Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-21T04:41:57.729Z] prd-centos7-docker-4c-2g-16986 does not seem to be running inside a container [2020-12-21T04:41:57.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-702 -v /w/workspace/dgexfoundry_device-sdk-go_PR-702:/w/workspace/dgexfoundry_device-sdk-go_PR-702:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-702@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:10004/edgex-devops/git-semver:latest cat [2020-12-21T04:41:59.991Z] $ docker top 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T04:42:00.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T04:42:00.353Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T04:42:00.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T04:42:00.572Z] $ docker exec 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 ssh-agent [2020-12-21T04:42:00.739Z] SSH_AUTH_SOCK=/tmp/ssh-iFFfzFRI82k5/agent.11 [2020-12-21T04:42:00.739Z] SSH_AGENT_PID=17 [2020-12-21T04:42:00.749Z] Running ssh-add (command line suppressed) [2020-12-21T04:42:00.865Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_1330665739045849520.key (/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_1330665739045849520.key) [2020-12-21T04:42:00.918Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T04:42:01.254Z] + git tag --points-at HEAD [Pipeline] } [2020-12-21T04:42:01.278Z] $ docker exec --env ******** --env ******** 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 ssh-agent -k [2020-12-21T04:42:01.391Z] unset SSH_AUTH_SOCK; [2020-12-21T04:42:01.391Z] unset SSH_AGENT_PID; [2020-12-21T04:42:01.391Z] echo Agent pid 17 killed; [2020-12-21T04:42:01.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-21T04:42:01.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T04:42:01.598Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T04:42:01.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T04:42:01.766Z] $ docker exec 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 ssh-agent [2020-12-21T04:42:01.927Z] SSH_AUTH_SOCK=/tmp/ssh-SoZbNosGDLfq/agent.46 [2020-12-21T04:42:01.927Z] SSH_AGENT_PID=52 [2020-12-21T04:42:01.934Z] Running ssh-add (command line suppressed) [2020-12-21T04:42:02.067Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_8850385639370388840.key (/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_8850385639370388840.key) [2020-12-21T04:42:02.122Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T04:42:02.475Z] + git semver init [2020-12-21T04:42:02.475Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T04:42:02.475Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-702/.git [2020-12-21T04:42:02.475Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-702 [2020-12-21T04:42:02.475Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T04:42:02.475Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T04:42:02.475Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T04:42:02.475Z] # $SEMVER_BRANCH = PR-702 [2020-12-21T04:42:02.475Z] # $SEMVER_TEMP = /tmp/semver-603907687 [2020-12-21T04:42:02.475Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-21T04:42:03.427Z] # '/tmp/semver-603907687' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-702/.semver' [2020-12-21T04:42:03.427Z] # -> Force: false [2020-12-21T04:42:03.427Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-702/.semver [Pipeline] } [2020-12-21T04:42:03.450Z] $ docker exec --env ******** --env ******** 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 ssh-agent -k [2020-12-21T04:42:03.563Z] unset SSH_AUTH_SOCK; [2020-12-21T04:42:03.564Z] unset SSH_AGENT_PID; [2020-12-21T04:42:03.564Z] echo Agent pid 52 killed; [2020-12-21T04:42:03.610Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T04:42:04.133Z] + git semver [Pipeline] } [2020-12-21T04:42:04.154Z] $ docker stop --time=1 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 [2020-12-21T04:42:05.765Z] $ docker rm -f 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T04:42:06.249Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-21T04:42:06.899Z] Stashed 1 file(s) [Pipeline] echo [2020-12-21T04:42:06.902Z] [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-21T04:42:22.497Z] Still waiting to schedule task [2020-12-21T04:42:22.497Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-21T04:42:22.499Z] Still waiting to schedule task [2020-12-21T04:42:22.499Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-21T04:44:11.343Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16987 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [Pipeline] { [Pipeline] ws [2020-12-21T04:44:11.430Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-21T04:44:17.771Z] using credential edgex-jenkins-ssh [2020-12-21T04:44:17.837Z] Cloning the remote Git repository [2020-12-21T04:44:17.910Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:44:18.010Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-21T04:44:18.100Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:44:18.101Z] > git --version # timeout=10 [2020-12-21T04:44:18.115Z] > git --version # 'git version 2.17.1' [2020-12-21T04:44:18.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T04:44:18.178Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T04:44:19.220Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T04:44:19.241Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T04:44:19.277Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T04:44:19.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:44:19.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T04:44:19.327Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T04:44:19.970Z] Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit a5cd81ba5d97b4f8b070278caaacb444df4761db [2020-12-21T04:44:20.288Z] Merge succeeded, producing a5cd81ba5d97b4f8b070278caaacb444df4761db [2020-12-21T04:44:20.289Z] Checking out Revision a5cd81ba5d97b4f8b070278caaacb444df4761db (PR-702) [2020-12-21T04:44:20.009Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T04:44:20.032Z] > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # timeout=10 [2020-12-21T04:44:20.156Z] > git remote # timeout=10 [2020-12-21T04:44:20.182Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T04:44:20.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T04:44:20.212Z] > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [2020-12-21T04:44:20.235Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T04:44:20.314Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T04:44:20.332Z] > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # timeout=10 [2020-12-21T04:44:24.718Z] Commit message: "feat: update DS in metadata to reflect config change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T04:44:26.257Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-21T04:44:26.672Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T04:44:27.022Z] + true [2020-12-21T04:44:27.023Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T04:44:29.137Z] provisioning config files... [2020-12-21T04:44:29.181Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7465398707572731337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:44:29.586Z] ---> docker-login.sh [2020-12-21T04:44:29.586Z] nexus3.edgexfoundry.org:10001 [2020-12-21T04:44:30.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:44:30.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:44:30.786Z] Configure a credential helper to remove this warning. See [2020-12-21T04:44:30.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:44:30.786Z] [2020-12-21T04:44:30.786Z] Login Succeeded [2020-12-21T04:44:30.786Z] nexus3.edgexfoundry.org:10002 [2020-12-21T04:44:31.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:44:31.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:44:31.335Z] Configure a credential helper to remove this warning. See [2020-12-21T04:44:31.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:44:31.335Z] [2020-12-21T04:44:31.335Z] Login Succeeded [2020-12-21T04:44:31.335Z] nexus3.edgexfoundry.org:10003 [2020-12-21T04:44:31.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:44:31.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:44:31.887Z] Configure a credential helper to remove this warning. See [2020-12-21T04:44:31.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:44:31.887Z] [2020-12-21T04:44:31.887Z] Login Succeeded [2020-12-21T04:44:31.887Z] nexus3.edgexfoundry.org:10004 [2020-12-21T04:44:32.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:44:32.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:44:32.445Z] Configure a credential helper to remove this warning. See [2020-12-21T04:44:32.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:44:32.445Z] [2020-12-21T04:44:32.445Z] Login Succeeded [2020-12-21T04:44:32.445Z] docker.io [2020-12-21T04:44:32.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:44:33.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:44:33.315Z] Configure a credential helper to remove this warning. See [2020-12-21T04:44:33.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:44:33.315Z] [2020-12-21T04:44:33.315Z] Login Succeeded [2020-12-21T04:44:33.315Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T04:44:33.334Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T04:44:33.788Z] ========================================================= [2020-12-21T04:44:33.788Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-21T04:44:33.788Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:44:34.181Z] + 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-21T04:44:34.805Z] Sending build context to Docker daemon 2.42MB [2020-12-21T04:44:34.805Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T04:44:34.805Z] Step 2/8 : FROM ${BASE} [2020-12-21T04:44:34.805Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-21T04:44:34.805Z] 5f621e34cdf4: Pulling fs layer [2020-12-21T04:44:34.805Z] a4357932f1b6: Pulling fs layer [2020-12-21T04:44:34.805Z] 18c013af1878: Pulling fs layer [2020-12-21T04:44:34.805Z] 00ac8860ef70: Pulling fs layer [2020-12-21T04:44:34.805Z] 63d7cb157983: Pulling fs layer [2020-12-21T04:44:34.805Z] b116817d02f9: Pulling fs layer [2020-12-21T04:44:34.805Z] 745a02a5169b: Pulling fs layer [2020-12-21T04:44:34.805Z] 00ac8860ef70: Waiting [2020-12-21T04:44:34.805Z] 63d7cb157983: Waiting [2020-12-21T04:44:34.805Z] b116817d02f9: Waiting [2020-12-21T04:44:34.805Z] 745a02a5169b: Waiting [2020-12-21T04:44:34.805Z] 18c013af1878: Verifying Checksum [2020-12-21T04:44:34.805Z] 18c013af1878: Download complete [2020-12-21T04:44:34.805Z] a4357932f1b6: Verifying Checksum [2020-12-21T04:44:34.805Z] a4357932f1b6: Download complete [2020-12-21T04:44:34.805Z] 63d7cb157983: Verifying Checksum [2020-12-21T04:44:34.805Z] 63d7cb157983: Download complete [2020-12-21T04:44:34.805Z] b116817d02f9: Verifying Checksum [2020-12-21T04:44:34.805Z] b116817d02f9: Download complete [2020-12-21T04:44:35.789Z] 5f621e34cdf4: Verifying Checksum [2020-12-21T04:44:36.398Z] 5f621e34cdf4: Pull complete [2020-12-21T04:44:37.006Z] a4357932f1b6: Pull complete [2020-12-21T04:44:37.283Z] 18c013af1878: Pull complete [2020-12-21T04:44:38.268Z] 745a02a5169b: Verifying Checksum [2020-12-21T04:44:38.268Z] 745a02a5169b: Download complete [2020-12-21T04:44:39.703Z] 00ac8860ef70: Download complete [2020-12-21T04:44:49.863Z] 00ac8860ef70: Pull complete [2020-12-21T04:44:49.863Z] 63d7cb157983: Pull complete [2020-12-21T04:44:50.136Z] b116817d02f9: Pull complete [2020-12-21T04:44:53.527Z] 745a02a5169b: Pull complete [2020-12-21T04:44:53.801Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-21T04:44:53.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-21T04:44:53.801Z] ---> b7e6874047d6 [2020-12-21T04:44:53.801Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T04:44:56.426Z] ---> Running in 59247d03bb2b [2020-12-21T04:44:57.029Z] Removing intermediate container 59247d03bb2b [2020-12-21T04:44:57.029Z] ---> 1e50da18d36e [2020-12-21T04:44:57.029Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T04:44:57.029Z] ---> Running in 1e4e211e578d [2020-12-21T04:44:59.676Z] Removing intermediate container 1e4e211e578d [2020-12-21T04:44:59.676Z] ---> 446ef1e19b62 [2020-12-21T04:44:59.676Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-21T04:44:59.676Z] ---> Running in 0f589542903b [2020-12-21T04:45:00.658Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T04:45:02.639Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T04:45:04.615Z] OK: 142 MiB in 39 packages [2020-12-21T04:45:05.595Z] Removing intermediate container 0f589542903b [2020-12-21T04:45:05.595Z] ---> 5ccaf254ae5d [2020-12-21T04:45:05.595Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-21T04:45:05.869Z] ---> Running in f0d85a07c034 [2020-12-21T04:45:06.466Z] Removing intermediate container f0d85a07c034 [2020-12-21T04:45:06.466Z] ---> 7e6300a5d0a6 [2020-12-21T04:45:06.466Z] Step 7/8 : COPY . . [2020-12-21T04:45:07.916Z] ---> e51c0eda4f27 [2020-12-21T04:45:07.916Z] Step 8/8 : RUN go mod download [2020-12-21T04:45:07.916Z] ---> Running in d77006fccb7b [2020-12-21T04:45:13.989Z] Running on prd-centos7-docker-4c-2g-16988 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [Pipeline] { [Pipeline] ws [2020-12-21T04:45:14.085Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-21T04:45:19.525Z] using credential edgex-jenkins-ssh [2020-12-21T04:45:19.646Z] Cloning the remote Git repository [2020-12-21T04:45:19.717Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:45:19.812Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-21T04:45:19.917Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:45:19.917Z] > git --version # timeout=10 [2020-12-21T04:45:19.934Z] > git --version # 'git version 2.24.3' [2020-12-21T04:45:19.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T04:45:19.975Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T04:45:24.624Z] Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit a5cd81ba5d97b4f8b070278caaacb444df4761db [2020-12-21T04:45:23.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T04:45:23.989Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T04:45:24.026Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T04:45:24.055Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:45:24.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T04:45:24.062Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T04:45:24.641Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T04:45:24.662Z] > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # timeout=10 [2020-12-21T04:45:24.969Z] Merge succeeded, producing a5cd81ba5d97b4f8b070278caaacb444df4761db [2020-12-21T04:45:24.969Z] Checking out Revision a5cd81ba5d97b4f8b070278caaacb444df4761db (PR-702) [2020-12-21T04:45:24.772Z] > git remote # timeout=10 [2020-12-21T04:45:24.807Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T04:45:24.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T04:45:24.851Z] > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [2020-12-21T04:45:24.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T04:45:24.974Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T04:45:25.014Z] > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # timeout=10 [2020-12-21T04:45:29.079Z] Commit message: "feat: update DS in metadata to reflect config change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T04:45:30.117Z] Removing intermediate container d77006fccb7b [2020-12-21T04:45:30.117Z] ---> c77c667d4113 [2020-12-21T04:45:30.117Z] Successfully built c77c667d4113 [2020-12-21T04:45:30.117Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:45:30.575Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2020-12-21T04:45:30.615Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T04:45:30.615Z] . [Pipeline] withDockerContainer [2020-12-21T04:45:30.838Z] prd-ubuntu18.04-docker-arm64-4c-16g-16987 does not seem to be running inside a container [2020-12-21T04:45:30.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2020-12-21T04:45:32.393Z] $ docker top 8e372e63324356b1563d13125e2b2868aea168b851d58675e0ce94617321440c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-12-21T04:45:33.046Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T04:45:33.376Z] + true [2020-12-21T04:45:33.376Z] + sudo service docker restart [2020-12-21T04:45:33.376Z] Redirecting to /bin/systemctl restart docker.service [2020-12-21T04:45:33.484Z] + go version [2020-12-21T04:45:33.484Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-21T04:45:33.521Z] $ docker stop --time=1 8e372e63324356b1563d13125e2b2868aea168b851d58675e0ce94617321440c [2020-12-21T04:45:35.425Z] $ docker rm -f 8e372e63324356b1563d13125e2b2868aea168b851d58675e0ce94617321440c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] wrap [2020-12-21T04:45:35.921Z] provisioning config files... [2020-12-21T04:45:35.968Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4355054742412109576tmp [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:45:36.391Z] ---> docker-login.sh [2020-12-21T04:45:36.391Z] nexus3.edgexfoundry.org:10001 [2020-12-21T04:45:36.572Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T04:45:36.572Z] . [Pipeline] withDockerContainer [2020-12-21T04:45:36.839Z] prd-ubuntu18.04-docker-arm64-4c-16g-16987 does not seem to be running inside a container [2020-12-21T04:45:36.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2020-12-21T04:45:36.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:45:37.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:45:37.267Z] Configure a credential helper to remove this warning. See [2020-12-21T04:45:37.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:45:37.267Z] [2020-12-21T04:45:37.267Z] Login Succeeded [2020-12-21T04:45:37.267Z] nexus3.edgexfoundry.org:10002 [2020-12-21T04:45:37.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:45:37.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:45:37.552Z] Configure a credential helper to remove this warning. See [2020-12-21T04:45:37.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:45:37.552Z] [2020-12-21T04:45:37.552Z] Login Succeeded [2020-12-21T04:45:37.552Z] nexus3.edgexfoundry.org:10003 [2020-12-21T04:45:38.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:45:38.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:45:38.155Z] Configure a credential helper to remove this warning. See [2020-12-21T04:45:38.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:45:38.155Z] [2020-12-21T04:45:38.155Z] Login Succeeded [2020-12-21T04:45:38.155Z] nexus3.edgexfoundry.org:10004 [2020-12-21T04:45:38.326Z] $ docker top 2875cab8d3bff8da600aff9cf10225057b48a7fc428ce32e523ed22d13ba937f -eo pid,comm [2020-12-21T04:45:38.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:45:38.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:45:38.427Z] Configure a credential helper to remove this warning. See [2020-12-21T04:45:38.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:45:38.427Z] [2020-12-21T04:45:38.427Z] Login Succeeded [2020-12-21T04:45:38.427Z] docker.io [Pipeline] { [Pipeline] sh [2020-12-21T04:45:38.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:45:38.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:45:38.962Z] Configure a credential helper to remove this warning. See [2020-12-21T04:45:38.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:45:38.962Z] [2020-12-21T04:45:38.962Z] Login Succeeded [2020-12-21T04:45:38.962Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T04:45:38.976Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2020-12-21T04:45:39.309Z] + make test [2020-12-21T04:45:39.309Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] echo [2020-12-21T04:45:39.397Z] ========================================================= [2020-12-21T04:45:39.398Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-21T04:45:39.398Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:45:39.859Z] + 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-21T04:45:40.135Z] Sending build context to Docker daemon 2.421MB [2020-12-21T04:45:40.135Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T04:45:40.135Z] Step 2/8 : FROM ${BASE} [2020-12-21T04:45:40.135Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-21T04:45:40.135Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T04:45:40.135Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T04:45:40.135Z] de9db76c5a1d: Pulling fs layer [2020-12-21T04:45:40.135Z] bca2f99d35d6: Pulling fs layer [2020-12-21T04:45:40.135Z] 93359f2a8cfa: Pulling fs layer [2020-12-21T04:45:40.135Z] 7c6f9722023f: Pulling fs layer [2020-12-21T04:45:40.135Z] a35cf1a2eb13: Pulling fs layer [2020-12-21T04:45:40.135Z] 93359f2a8cfa: Waiting [2020-12-21T04:45:40.135Z] 7c6f9722023f: Waiting [2020-12-21T04:45:40.135Z] a35cf1a2eb13: Waiting [2020-12-21T04:45:40.135Z] bca2f99d35d6: Waiting [2020-12-21T04:45:40.135Z] de9db76c5a1d: Verifying Checksum [2020-12-21T04:45:40.135Z] de9db76c5a1d: Download complete [2020-12-21T04:45:40.422Z] 0ef7d3d256c8: Download complete [2020-12-21T04:45:40.422Z] 93359f2a8cfa: Verifying Checksum [2020-12-21T04:45:40.422Z] 93359f2a8cfa: Download complete [2020-12-21T04:45:40.422Z] 7c6f9722023f: Download complete [2020-12-21T04:45:41.396Z] 188c0c94c7c5: Verifying Checksum [2020-12-21T04:45:41.396Z] 188c0c94c7c5: Download complete [2020-12-21T04:45:41.675Z] 188c0c94c7c5: Pull complete [2020-12-21T04:45:41.941Z] 0ef7d3d256c8: Pull complete [2020-12-21T04:45:41.941Z] de9db76c5a1d: Pull complete [2020-12-21T04:46:00.302Z] a35cf1a2eb13: Verifying Checksum [2020-12-21T04:46:00.302Z] a35cf1a2eb13: Download complete [2020-12-21T04:46:01.515Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-21T04:46:07.321Z] bca2f99d35d6: Verifying Checksum [2020-12-21T04:46:07.321Z] bca2f99d35d6: Download complete [2020-12-21T04:46:17.668Z] bca2f99d35d6: Pull complete [2020-12-21T04:46:17.964Z] 93359f2a8cfa: Pull complete [2020-12-21T04:46:17.964Z] 7c6f9722023f: Pull complete [2020-12-21T04:46:26.738Z] a35cf1a2eb13: Pull complete [2020-12-21T04:46:26.738Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-21T04:46:26.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-21T04:46:26.738Z] ---> a62c8e92a672 [2020-12-21T04:46:26.738Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T04:46:26.738Z] ---> Running in 9dc49b22b912 [2020-12-21T04:46:26.738Z] Removing intermediate container 9dc49b22b912 [2020-12-21T04:46:26.738Z] ---> 2dce61c4c556 [2020-12-21T04:46:26.738Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T04:46:26.738Z] ---> Running in 5762a87d7cbc [2020-12-21T04:46:28.819Z] Removing intermediate container 5762a87d7cbc [2020-12-21T04:46:28.819Z] ---> f1e2817249a5 [2020-12-21T04:46:28.819Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-21T04:46:29.116Z] ---> Running in 0f755810c295 [2020-12-21T04:46:30.155Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T04:46:31.675Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T04:46:32.648Z] OK: 166 MiB in 39 packages [2020-12-21T04:46:33.662Z] Removing intermediate container 0f755810c295 [2020-12-21T04:46:33.662Z] ---> d27520c3e179 [2020-12-21T04:46:33.662Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-21T04:46:33.662Z] ---> Running in 178206da90d2 [2020-12-21T04:46:33.963Z] Removing intermediate container 178206da90d2 [2020-12-21T04:46:33.963Z] ---> 011c9a294c8a [2020-12-21T04:46:33.963Z] Step 7/8 : COPY . . [2020-12-21T04:46:36.088Z] ---> c42976fab008 [2020-12-21T04:46:36.088Z] Step 8/8 : RUN go mod download [2020-12-21T04:46:36.088Z] ---> Running in 508e37a9d31e [2020-12-21T04:46:40.549Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-21T04:46:40.549Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-21T04:46:40.549Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-21T04:46:40.549Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.127s coverage: 19.4% of statements [2020-12-21T04:46:43.961Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.190s coverage: 97.1% of statements [2020-12-21T04:47:03.171Z] Removing intermediate container 508e37a9d31e [2020-12-21T04:47:03.171Z] ---> 559100f3a4d7 [2020-12-21T04:47:03.171Z] Successfully built 559100f3a4d7 [2020-12-21T04:47:03.171Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:47:03.556Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T04:47:03.825Z] . [Pipeline] withDockerContainer [2020-12-21T04:47:04.394Z] prd-centos7-docker-4c-2g-16988 does not seem to be running inside a container [2020-12-21T04:47:04.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T04:47:05.953Z] $ docker top fd4c971f4118350c8629c587d270c37534558705645eaeddc7e3dd1525c0edbb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T04:47:06.617Z] + go version [2020-12-21T04:47:06.617Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-21T04:47:06.662Z] $ docker stop --time=1 fd4c971f4118350c8629c587d270c37534558705645eaeddc7e3dd1525c0edbb [2020-12-21T04:47:08.224Z] $ docker rm -f fd4c971f4118350c8629c587d270c37534558705645eaeddc7e3dd1525c0edbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:47:09.276Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T04:47:09.276Z] . [Pipeline] withDockerContainer [2020-12-21T04:47:09.517Z] prd-centos7-docker-4c-2g-16988 does not seem to be running inside a container [2020-12-21T04:47:09.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T04:47:10.792Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.152s coverage: 9.4% of statements [2020-12-21T04:47:10.792Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements [2020-12-21T04:47:10.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-21T04:47:10.792Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.587s coverage: 42.5% of statements [2020-12-21T04:47:10.793Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-21T04:47:10.793Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.750s coverage: 68.9% of statements [2020-12-21T04:47:10.793Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-21T04:47:10.793Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-21T04:47:10.793Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-21T04:47:10.793Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-21T04:47:10.793Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 53.8% of statements [2020-12-21T04:47:10.793Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-21T04:47:10.793Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-21T04:47:10.793Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-21T04:47:10.793Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.743s coverage: 68.9% of statements [2020-12-21T04:47:10.793Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.134s coverage: 4.2% of statements [2020-12-21T04:47:10.793Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-21T04:47:10.901Z] $ docker top 5e14954f5b2ab434b805382402f571ebc3a8a359e0f856a826049a3a50e27e2e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T04:47:11.394Z] GO111MODULE=on go vet ./... [2020-12-21T04:47:11.965Z] + make test [2020-12-21T04:47:11.965Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T04:47:27.795Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-21T04:47:43.786Z] gofmt -l . [2020-12-21T04:47:43.786Z] [ "`gofmt -l .`" = "" ] [2020-12-21T04:47:43.786Z] ./bin/test-attribution-txt.sh [2020-12-21T04:47:43.786Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-21T04:47:43.830Z] $ docker stop --time=1 2875cab8d3bff8da600aff9cf10225057b48a7fc428ce32e523ed22d13ba937f [2020-12-21T04:47:46.132Z] $ docker rm -f 2875cab8d3bff8da600aff9cf10225057b48a7fc428ce32e523ed22d13ba937f [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T04:47:47.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-21T04:47:48.219Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T04:47:51.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-21T04:47:51.680Z] + ls -al . [2020-12-21T04:47:51.680Z] total 244 [2020-12-21T04:47:51.680Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 04:47 . [2020-12-21T04:47:51.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:44 .. [2020-12-21T04:47:51.680Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 21 04:44 .dockerignore [2020-12-21T04:47:51.680Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 04:44 .git [2020-12-21T04:47:51.680Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 04:44 .github [2020-12-21T04:47:51.680Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 21 04:44 .gitignore [2020-12-21T04:47:51.680Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 21 04:44 Dockerfile.build [2020-12-21T04:47:51.680Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 21 04:44 Jenkinsfile [2020-12-21T04:47:51.680Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 21 04:44 LICENSE [2020-12-21T04:47:51.680Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 21 04:44 Makefile [2020-12-21T04:47:51.680Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 21 04:44 README.md [2020-12-21T04:47:51.680Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 21 04:44 RELEASE-NOTES.txt [2020-12-21T04:47:51.680Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 04:42 VERSION [2020-12-21T04:47:51.680Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 04:44 bin [2020-12-21T04:47:51.680Z] -rw-r--r-- 1 jenkins jenkins 130526 Dec 21 04:47 coverage.out [2020-12-21T04:47:51.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:44 example [2020-12-21T04:47:51.680Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 21 04:47 go.mod [2020-12-21T04:47:51.680Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 21 04:47 go.sum [2020-12-21T04:47:51.680Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 21 04:44 internal [2020-12-21T04:47:51.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:44 openapi [2020-12-21T04:47:51.680Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 21 04:44 pkg [2020-12-21T04:47:51.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:44 snap [2020-12-21T04:47:51.680Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 21 04:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:47:52.066Z] + 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=a5cd81ba5d97b4f8b070278caaacb444df4761db --label arch=arm64 --label version=0.0.0 . [2020-12-21T04:47:52.720Z] Sending build context to Docker daemon 2.551MB [2020-12-21T04:47:52.720Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-21T04:47:52.720Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-21T04:47:52.720Z] ---> c77c667d4113 [2020-12-21T04:47:52.720Z] Step 3/24 : ARG MAKE='make build' [2020-12-21T04:47:52.720Z] ---> Running in 97e6b316af78 [2020-12-21T04:47:53.326Z] Removing intermediate container 97e6b316af78 [2020-12-21T04:47:53.326Z] ---> bbef7e573350 [2020-12-21T04:47:53.326Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-21T04:47:53.326Z] ---> Running in b4a7de0c6e4b [2020-12-21T04:47:53.937Z] Removing intermediate container b4a7de0c6e4b [2020-12-21T04:47:53.937Z] ---> 4bc50b98026e [2020-12-21T04:47:53.937Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T04:47:54.209Z] ---> Running in 3c42cd50a9b0 [2020-12-21T04:47:54.479Z] Removing intermediate container 3c42cd50a9b0 [2020-12-21T04:47:54.479Z] ---> 8b513b723db4 [2020-12-21T04:47:54.479Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T04:47:54.755Z] ---> Running in d7af27cb9d9b [2020-12-21T04:47:55.186Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-21T04:47:55.186Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-21T04:47:55.186Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-21T04:47:55.186Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.104s coverage: 19.4% of statements [2020-12-21T04:47:55.480Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.633s coverage: 97.1% of statements [2020-12-21T04:47:56.740Z] Removing intermediate container d7af27cb9d9b [2020-12-21T04:47:56.740Z] ---> e9625da7307b [2020-12-21T04:47:56.740Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-21T04:47:56.740Z] ---> Running in a13fd4f908ce [2020-12-21T04:47:57.719Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T04:48:03.117Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T04:48:07.411Z] OK: 142 MiB in 39 packages [2020-12-21T04:48:08.008Z] Removing intermediate container a13fd4f908ce [2020-12-21T04:48:08.008Z] ---> 6ce69e7ad89b [2020-12-21T04:48:08.008Z] Step 8/24 : COPY . . [2020-12-21T04:48:08.989Z] ---> 19d2e3457ee9 [2020-12-21T04:48:08.989Z] Step 9/24 : RUN ${MAKE} [2020-12-21T04:48:09.262Z] ---> Running in d1476cf453f6 [2020-12-21T04:48:10.249Z] 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-21T04:48:28.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.140s coverage: 9.4% of statements [2020-12-21T04:48:28.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.093s coverage: 21.9% of statements [2020-12-21T04:48:28.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-21T04:48:28.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.509s coverage: 42.5% of statements [2020-12-21T04:48:28.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-21T04:48:28.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.731s coverage: 68.9% of statements [2020-12-21T04:48:28.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-21T04:48:28.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-21T04:48:28.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-21T04:48:28.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-21T04:48:28.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.140s coverage: 53.8% of statements [2020-12-21T04:48:28.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-21T04:48:28.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-21T04:48:28.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-21T04:48:28.259Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.851s coverage: 68.9% of statements [2020-12-21T04:48:28.259Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.117s coverage: 4.2% of statements [2020-12-21T04:48:28.259Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-21T04:48:28.260Z] GO111MODULE=on go vet ./... [2020-12-21T04:48:37.064Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-21T04:48:37.338Z] Removing intermediate container d1476cf453f6 [2020-12-21T04:48:37.338Z] ---> 8ba28bedb87a [2020-12-21T04:48:37.338Z] Step 10/24 : FROM scratch [2020-12-21T04:48:37.338Z] ---> [2020-12-21T04:48:37.338Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T04:48:37.338Z] ---> Running in 084232cd635e [2020-12-21T04:48:37.933Z] Removing intermediate container 084232cd635e [2020-12-21T04:48:37.933Z] ---> fc00cf888ae7 [2020-12-21T04:48:37.933Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-21T04:48:37.933Z] ---> Running in a662b9304170 [2020-12-21T04:48:38.203Z] Removing intermediate container a662b9304170 [2020-12-21T04:48:38.203Z] ---> d6f161d487ec [2020-12-21T04:48:38.203Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-21T04:48:38.477Z] ---> Running in 22ae2a1bc6a7 [2020-12-21T04:48:38.748Z] Removing intermediate container 22ae2a1bc6a7 [2020-12-21T04:48:38.748Z] ---> 66ecb81d3d94 [2020-12-21T04:48:38.748Z] Step 14/24 : WORKDIR / [2020-12-21T04:48:38.748Z] ---> Running in fd3cdef036e3 [2020-12-21T04:48:39.342Z] Removing intermediate container fd3cdef036e3 [2020-12-21T04:48:39.342Z] ---> 74fffd498707 [2020-12-21T04:48:39.342Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-21T04:48:40.328Z] ---> e8314f861a7e [2020-12-21T04:48:40.328Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-21T04:48:41.303Z] ---> 307a8a6bedf6 [2020-12-21T04:48:41.303Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-21T04:48:41.901Z] ---> bdb28eb97910 [2020-12-21T04:48:41.901Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-21T04:48:42.496Z] ---> b7c13e887e95 [2020-12-21T04:48:42.496Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-21T04:48:43.091Z] ---> 94c9560703f0 [2020-12-21T04:48:43.091Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-21T04:48:43.364Z] ---> Running in 7df40d79c902 [2020-12-21T04:48:43.639Z] Removing intermediate container 7df40d79c902 [2020-12-21T04:48:43.639Z] ---> 3f79efb552a0 [2020-12-21T04:48:43.639Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-21T04:48:43.844Z] gofmt -l . [2020-12-21T04:48:43.844Z] [ "`gofmt -l .`" = "" ] [2020-12-21T04:48:43.844Z] ./bin/test-attribution-txt.sh [2020-12-21T04:48:43.844Z] ./bin/test-go-mod-tidy.sh [2020-12-21T04:48:43.913Z] ---> Running in e8725813ac69 [2020-12-21T04:48:44.186Z] Removing intermediate container e8725813ac69 [2020-12-21T04:48:44.186Z] ---> c74173c85dc2 [2020-12-21T04:48:44.186Z] Step 22/24 : LABEL arch=arm64 [2020-12-21T04:48:44.460Z] ---> Running in 8026ee802c03 [Pipeline] } [2020-12-21T04:48:44.648Z] $ docker stop --time=1 5e14954f5b2ab434b805382402f571ebc3a8a359e0f856a826049a3a50e27e2e [2020-12-21T04:48:45.055Z] Removing intermediate container 8026ee802c03 [2020-12-21T04:48:45.055Z] ---> 47419fdd2351 [2020-12-21T04:48:45.055Z] Step 23/24 : LABEL git_sha=a5cd81ba5d97b4f8b070278caaacb444df4761db [2020-12-21T04:48:45.055Z] ---> Running in 3e7b593f6c21 [2020-12-21T04:48:45.328Z] Removing intermediate container 3e7b593f6c21 [2020-12-21T04:48:45.328Z] ---> ccaa0c9323c6 [2020-12-21T04:48:45.328Z] Step 24/24 : LABEL version=0.0.0 [2020-12-21T04:48:45.601Z] ---> Running in 0b876404ec84 [2020-12-21T04:48:45.874Z] Removing intermediate container 0b876404ec84 [2020-12-21T04:48:45.874Z] ---> 538614de3cd8 [2020-12-21T04:48:45.874Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-21T04:48:46.147Z] Successfully built 538614de3cd8 [2020-12-21T04:48:46.147Z] Successfully tagged docker-device-sdk-simple-arm64:latest [2020-12-21T04:48:47.038Z] $ docker rm -f 5e14954f5b2ab434b805382402f571ebc3a8a359e0f856a826049a3a50e27e2e [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [2020-12-21T04:48:47.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] stash [2020-12-21T04:48:48.005Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2020-12-21T04:48:48.541Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-21T04:48:49.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-21T04:48:49.845Z] + ls -al . [2020-12-21T04:48:49.845Z] total 208 [2020-12-21T04:48:49.845Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 21 04:48 . [2020-12-21T04:48:49.845Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 21 04:45 .. [2020-12-21T04:48:49.845Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 21 04:45 bin [2020-12-21T04:48:49.845Z] -rw-r--r--. 1 jenkins jenkins 130526 Dec 21 04:48 coverage.out [2020-12-21T04:48:49.845Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 21 04:45 Dockerfile.build [2020-12-21T04:48:49.845Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 21 04:45 .dockerignore [2020-12-21T04:48:49.845Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 21 04:45 example [2020-12-21T04:48:49.845Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 21 04:45 .git [2020-12-21T04:48:49.845Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 21 04:45 .github [2020-12-21T04:48:49.845Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 21 04:45 .gitignore [2020-12-21T04:48:49.845Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 21 04:48 go.mod [2020-12-21T04:48:49.845Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 21 04:48 go.sum [2020-12-21T04:48:49.845Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 21 04:45 internal [2020-12-21T04:48:49.845Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 21 04:45 Jenkinsfile [2020-12-21T04:48:49.845Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 21 04:45 LICENSE [2020-12-21T04:48:49.845Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 21 04:45 Makefile [2020-12-21T04:48:49.845Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 21 04:45 openapi [2020-12-21T04:48:49.845Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 21 04:45 pkg [2020-12-21T04:48:49.845Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 21 04:45 README.md [2020-12-21T04:48:49.845Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 21 04:45 RELEASE-NOTES.txt [2020-12-21T04:48:49.845Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 21 04:45 snap [2020-12-21T04:48:49.845Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 21 04:42 VERSION [2020-12-21T04:48:49.845Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 21 04:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:48:50.188Z] + 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=a5cd81ba5d97b4f8b070278caaacb444df4761db --label arch=amd64 --label version=0.0.0 . [2020-12-21T04:48:50.795Z] Sending build context to Docker daemon 2.552MB [2020-12-21T04:48:50.795Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-21T04:48:50.795Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-21T04:48:50.795Z] ---> 559100f3a4d7 [2020-12-21T04:48:50.795Z] Step 3/24 : ARG MAKE='make build' [2020-12-21T04:48:51.383Z] ---> Running in 67d12dc22c89 [2020-12-21T04:48:51.383Z] Removing intermediate container 67d12dc22c89 [2020-12-21T04:48:51.383Z] ---> 394237dcc954 [2020-12-21T04:48:51.383Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-21T04:48:51.383Z] ---> Running in 1d0c8ec12551 [2020-12-21T04:48:51.656Z] Removing intermediate container 1d0c8ec12551 [2020-12-21T04:48:51.656Z] ---> 700f0c8d2777 [2020-12-21T04:48:51.656Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T04:48:51.962Z] ---> Running in d9fe1113c958 [2020-12-21T04:48:51.962Z] Removing intermediate container d9fe1113c958 [2020-12-21T04:48:51.962Z] ---> 07f6fa83804a [2020-12-21T04:48:51.962Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T04:48:52.231Z] ---> Running in f72dc5214604 [2020-12-21T04:48:53.671Z] Removing intermediate container f72dc5214604 [2020-12-21T04:48:53.671Z] ---> 0cf185842ef4 [2020-12-21T04:48:53.671Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-21T04:48:53.671Z] ---> Running in eb0ef6894cb3 [2020-12-21T04:48:54.636Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T04:48:56.603Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T04:49:00.883Z] OK: 166 MiB in 39 packages [2020-12-21T04:49:00.883Z] Removing intermediate container eb0ef6894cb3 [2020-12-21T04:49:00.883Z] ---> fd0b2038f7b3 [2020-12-21T04:49:00.883Z] Step 8/24 : COPY . . [2020-12-21T04:49:02.448Z] ---> e90d1ccdfb3b [2020-12-21T04:49:02.448Z] Step 9/24 : RUN ${MAKE} [2020-12-21T04:49:02.448Z] ---> Running in a5c1d80522ad [2020-12-21T04:49:03.508Z] 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-21T04:49:26.268Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-21T04:49:26.268Z] Removing intermediate container a5c1d80522ad [2020-12-21T04:49:26.268Z] ---> 2f2306922357 [2020-12-21T04:49:26.268Z] Step 10/24 : FROM scratch [2020-12-21T04:49:26.268Z] ---> [2020-12-21T04:49:26.268Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T04:49:26.268Z] ---> Running in 3a720d17d2a3 [2020-12-21T04:49:26.268Z] Removing intermediate container 3a720d17d2a3 [2020-12-21T04:49:26.268Z] ---> be7444c05504 [2020-12-21T04:49:26.268Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-21T04:49:26.268Z] ---> Running in a7df84aa1c13 [2020-12-21T04:49:26.268Z] Removing intermediate container a7df84aa1c13 [2020-12-21T04:49:26.268Z] ---> f2aac891a9ad [2020-12-21T04:49:26.268Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-21T04:49:26.886Z] ---> Running in ead751302079 [2020-12-21T04:49:27.208Z] Removing intermediate container ead751302079 [2020-12-21T04:49:27.208Z] ---> a5a11c51b4e5 [2020-12-21T04:49:27.208Z] Step 14/24 : WORKDIR / [2020-12-21T04:49:27.208Z] ---> Running in b88d7b757cef [2020-12-21T04:49:27.489Z] Removing intermediate container b88d7b757cef [2020-12-21T04:49:27.489Z] ---> 7a3f537acb04 [2020-12-21T04:49:27.489Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-21T04:49:28.077Z] ---> 65efea3ebc29 [2020-12-21T04:49:28.077Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-21T04:49:28.346Z] ---> 696b5b35d8b9 [2020-12-21T04:49:28.346Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-21T04:49:28.630Z] ---> 97d06220cf48 [2020-12-21T04:49:28.630Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-21T04:49:28.899Z] ---> c9a9e1c18468 [2020-12-21T04:49:28.899Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-21T04:49:29.172Z] ---> edeca458ea3a [2020-12-21T04:49:29.172Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-21T04:49:29.439Z] ---> Running in b3d444ec4e9c [2020-12-21T04:49:29.711Z] Removing intermediate container b3d444ec4e9c [2020-12-21T04:49:29.711Z] ---> 243e9519ffce [2020-12-21T04:49:29.711Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-21T04:49:29.711Z] ---> Running in c6e569c70c99 [2020-12-21T04:49:29.983Z] Removing intermediate container c6e569c70c99 [2020-12-21T04:49:29.983Z] ---> 65fb49c8f5e2 [2020-12-21T04:49:29.983Z] Step 22/24 : LABEL arch=amd64 [2020-12-21T04:49:29.983Z] ---> Running in 89d14f2911a9 [2020-12-21T04:49:30.252Z] Removing intermediate container 89d14f2911a9 [2020-12-21T04:49:30.252Z] ---> a99bcd97b4c8 [2020-12-21T04:49:30.252Z] Step 23/24 : LABEL git_sha=a5cd81ba5d97b4f8b070278caaacb444df4761db [2020-12-21T04:49:30.252Z] ---> Running in 558f1dc7ce97 [2020-12-21T04:49:30.522Z] Removing intermediate container 558f1dc7ce97 [2020-12-21T04:49:30.522Z] ---> 7750f1060023 [2020-12-21T04:49:30.522Z] Step 24/24 : LABEL version=0.0.0 [2020-12-21T04:49:30.522Z] ---> Running in 669fe0d89f4b [2020-12-21T04:49:30.788Z] Removing intermediate container 669fe0d89f4b [2020-12-21T04:49:30.788Z] ---> a5909adb1de2 [2020-12-21T04:49:30.788Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-21T04:49:30.788Z] Successfully built a5909adb1de2 [2020-12-21T04:49:30.788Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-21T04:49:32.647Z] provisioning config files... [2020-12-21T04:49:32.660Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config5634165642193880809tmp [Pipeline] { [Pipeline] sh [2020-12-21T04:49:33.042Z] + set +x [2020-12-21T04:49:33.042Z] + curl -s https://codecov.io/bash [2020-12-21T04:49:33.042Z] + bash -s -- [2020-12-21T04:49:33.305Z] [2020-12-21T04:49:33.305Z] _____ _ [2020-12-21T04:49:33.305Z] / ____| | | [2020-12-21T04:49:33.305Z] | | ___ __| | ___ ___ _____ __ [2020-12-21T04:49:33.305Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-21T04:49:33.305Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-21T04:49:33.305Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-21T04:49:33.305Z] Bash-20201217-3d3df35 [2020-12-21T04:49:33.305Z] [2020-12-21T04:49:33.305Z] [2020-12-21T04:49:33.305Z] git version 2.24.3 found [2020-12-21T04:49:33.305Z] curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2020-12-21T04:49:33.305Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-21T04:49:33.305Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found [2020-12-21T04:49:33.305Z] ==> Jenkins CI detected. [2020-12-21T04:49:33.305Z] project root: . [2020-12-21T04:49:33.305Z] --> token set from env [2020-12-21T04:49:33.305Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-21T04:49:33.305Z] ==> Running gcov in . (disable via -X gcov) [2020-12-21T04:49:33.305Z] ==> Python coveragepy not found [2020-12-21T04:49:33.305Z] ==> Searching for coverage reports in: [2020-12-21T04:49:33.305Z] + . [2020-12-21T04:49:33.305Z] -> Found 1 reports [2020-12-21T04:49:33.305Z] ==> Detecting git/mercurial file structure [2020-12-21T04:49:33.305Z] ==> Reading reports [2020-12-21T04:49:33.305Z] + ./coverage.out bytes=130526 [2020-12-21T04:49:33.305Z] ==> Appending adjustments [2020-12-21T04:49:33.305Z] https://docs.codecov.io/docs/fixing-reports [2020-12-21T04:49:33.880Z] + Found adjustments [2020-12-21T04:49:33.880Z] ==> Gzipping contents [2020-12-21T04:49:33.880Z] 24K /tmp/codecov.dCRMoT.gz [2020-12-21T04:49:33.880Z] ==> Uploading reports [2020-12-21T04:49:33.880Z] url: https://codecov.io [2020-12-21T04:49:33.880Z] query: branch=PR-702&commit=a5cd81ba5d97b4f8b070278caaacb444df4761db&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-702%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=702&job=&cmd_args= [2020-12-21T04:49:33.880Z] -> Pinging Codecov [2020-12-21T04:49:33.880Z] https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-702&commit=a5cd81ba5d97b4f8b070278caaacb444df4761db&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-702%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=702&job=&cmd_args= [2020-12-21T04:49:34.457Z] -> Uploading to [2020-12-21T04:49:34.457Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-21/7E55EF52A471D76F132DFD9A03CDDE97/a5cd81ba5d97b4f8b070278caaacb444df4761db/5c74fe49-352b-4a08-a0a3-8f59677d9bfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T044934Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00ea38017804a6cc5778c837ed8f0c1e6954b89ee70b308869667c9c930302a1 [2020-12-21T04:49:34.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-21T04:49:34.457Z] Dload Upload Total Spent Left Speed [2020-12-21T04:49:34.719Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21257 0 0 100 21257 0 47163 --:--:-- --:--:-- --:--:-- 47237 [2020-12-21T04:49:34.719Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a5cd81ba5d97b4f8b070278caaacb444df4761db [Pipeline] } [2020-12-21T04:49:34.729Z] 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-21T04:49:37.353Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:49:37.662Z] ---> package-listing.sh [2020-12-21T04:49:37.662Z] ++ facter osfamily [2020-12-21T04:49:37.662Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-21T04:49:37.662Z] + OS_FAMILY=redhat [2020-12-21T04:49:37.662Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-702 [2020-12-21T04:49:37.662Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-21T04:49:37.662Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-21T04:49:37.662Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-21T04:49:37.662Z] + PACKAGES=/tmp/packages_start.txt [2020-12-21T04:49:37.662Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-702 ']' [2020-12-21T04:49:37.662Z] + PACKAGES=/tmp/packages_end.txt [2020-12-21T04:49:37.662Z] + case "${OS_FAMILY}" in [2020-12-21T04:49:37.662Z] + rpm -qa [2020-12-21T04:49:37.662Z] + sort [2020-12-21T04:49:42.979Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-21T04:49:42.979Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-21T04:49:42.979Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-21T04:49:42.979Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-702 ']' [2020-12-21T04:49:42.979Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-702/archives/ [2020-12-21T04:49:42.979Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-702/archives/ [Pipeline] echo [2020-12-21T04:49:42.994Z] 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-702/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-21T04:49:43.287Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:49:43.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T04:49:43.593Z] [2020-12-21T04:49:43.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:49:43.938Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T04:49:43.938Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-21T04:49:43.938Z] df20fa9351a1: Pulling fs layer [2020-12-21T04:49:43.938Z] 36b3adc4ff6f: Pulling fs layer [2020-12-21T04:49:43.938Z] 8ad3a11d3b57: Pulling fs layer [2020-12-21T04:49:43.938Z] 46f8f816bc3b: Pulling fs layer [2020-12-21T04:49:43.938Z] 93b61091891f: Pulling fs layer [2020-12-21T04:49:43.938Z] 93b9cdb0e59b: Pulling fs layer [2020-12-21T04:49:43.938Z] 5e14af77c1be: Pulling fs layer [2020-12-21T04:49:43.938Z] 01666e4c0597: Pulling fs layer [2020-12-21T04:49:43.938Z] aa168da1d23b: Pulling fs layer [2020-12-21T04:49:43.938Z] 46f8f816bc3b: Waiting [2020-12-21T04:49:43.938Z] 93b61091891f: Waiting [2020-12-21T04:49:43.938Z] 5e14af77c1be: Waiting [2020-12-21T04:49:43.938Z] 01666e4c0597: Waiting [2020-12-21T04:49:43.938Z] aa168da1d23b: Waiting [2020-12-21T04:49:43.938Z] 93b9cdb0e59b: Waiting [2020-12-21T04:49:43.938Z] 36b3adc4ff6f: Verifying Checksum [2020-12-21T04:49:43.938Z] 36b3adc4ff6f: Download complete [2020-12-21T04:49:43.938Z] 46f8f816bc3b: Verifying Checksum [2020-12-21T04:49:43.938Z] 46f8f816bc3b: Download complete [2020-12-21T04:49:44.201Z] df20fa9351a1: Verifying Checksum [2020-12-21T04:49:44.201Z] df20fa9351a1: Download complete [2020-12-21T04:49:44.201Z] 93b9cdb0e59b: Verifying Checksum [2020-12-21T04:49:44.201Z] 93b9cdb0e59b: Download complete [2020-12-21T04:49:44.201Z] 93b61091891f: Download complete [2020-12-21T04:49:44.201Z] 5e14af77c1be: Verifying Checksum [2020-12-21T04:49:44.201Z] 5e14af77c1be: Download complete [2020-12-21T04:49:44.201Z] 01666e4c0597: Verifying Checksum [2020-12-21T04:49:44.201Z] 01666e4c0597: Download complete [2020-12-21T04:49:44.464Z] 8ad3a11d3b57: Verifying Checksum [2020-12-21T04:49:44.464Z] 8ad3a11d3b57: Download complete [2020-12-21T04:49:44.464Z] df20fa9351a1: Pull complete [2020-12-21T04:49:44.726Z] 36b3adc4ff6f: Pull complete [2020-12-21T04:49:45.306Z] 8ad3a11d3b57: Pull complete [2020-12-21T04:49:45.570Z] 46f8f816bc3b: Pull complete [2020-12-21T04:49:45.834Z] 93b61091891f: Pull complete [2020-12-21T04:49:45.834Z] 93b9cdb0e59b: Pull complete [2020-12-21T04:49:46.781Z] aa168da1d23b: Verifying Checksum [2020-12-21T04:49:46.781Z] aa168da1d23b: Download complete [2020-12-21T04:49:46.781Z] 5e14af77c1be: Pull complete [2020-12-21T04:49:47.046Z] 01666e4c0597: Pull complete [2020-12-21T04:49:55.275Z] aa168da1d23b: Pull complete [2020-12-21T04:49:55.275Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-21T04:49:55.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T04:49:55.275Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-21T04:49:55.423Z] prd-centos7-docker-4c-2g-16986 does not seem to be running inside a container [2020-12-21T04:49:55.466Z] $ 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-702/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-702 -v /w/workspace/dgexfoundry_device-sdk-go_PR-702:/w/workspace/dgexfoundry_device-sdk-go_PR-702:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-702@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-21T04:49:58.837Z] $ docker top bb47378a7beaff83984b74d4bb25a572ae7a4edfc7b631aaae2e9a657bed41d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T04:49:59.361Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-21T04:49:59.661Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-21T04:49:59.962Z] + ls /var/log/sa-host [2020-12-21T04:49:59.962Z] + sadf -c /var/log/sa-host/sa21 [2020-12-21T04:49:59.962Z] file_magic: OK [2020-12-21T04:49:59.962Z] HZ: Using current value: 100 [2020-12-21T04:49:59.962Z] file_header: OK [2020-12-21T04:49:59.962Z] 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-21T04:49:59.962Z] Statistics: [2020-12-21T04:49:59.962Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-21T04:49:59.962Z] File successfully converted to sysstat format version 12.2.1 [2020-12-21T04:49:59.962Z] + sadf -c /var/log/sa-host/sa23 [2020-12-21T04:49:59.962Z] file_magic: OK [2020-12-21T04:49:59.962Z] HZ: Using current value: 100 [2020-12-21T04:49:59.962Z] file_header: OK [2020-12-21T04:49:59.962Z] 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-21T04:49:59.962Z] Statistics: [2020-12-21T04:49:59.962Z] Hnuu...uuuununununu... [2020-12-21T04:49:59.962Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T04:50:00.546Z] provisioning config files... [2020-12-21T04:50:00.568Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config4335844336798509182tmp [Pipeline] { [Pipeline] echo [2020-12-21T04:50:00.654Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:50:00.947Z] ---> create-netrc.sh [Pipeline] } [2020-12-21T04:50:00.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-21T04:50:01.066Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:50:01.383Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-21T04:50:01.395Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:50:01.690Z] ---> sudo-logs.sh [2020-12-21T04:50:01.690Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-21T04:50:01.701Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:50:01.999Z] ---> job-cost.sh [2020-12-21T04:50:01.999Z] lf-activate-venv: SKIPPING [2020-12-21T04:50:01.999Z] INFO: No Stack... [2020-12-21T04:50:02.948Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-21T04:50:03.522Z] INFO: Archiving Costs [Pipeline] echo [2020-12-21T04:50:03.536Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:50:03.830Z] ---> logs-deploy.sh [2020-12-21T04:50:03.830Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-702/2 [2020-12-21T04:50:03.830Z] INFO: archiving workspace using pattern(s): [2020-12-21T04:50:05.750Z] Archives upload complete. [2020-12-21T04:50:05.750Z] INFO: archiving logs to Nexus