Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e0d0a96e3e310c273e1c8f98aeacde55ee940b3a+372098887a6a7d5d9395bdaf9d03a023308f69fd (9b5b735af786f5e28555fb6e3dd4d11fc8e57aea) 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-18400 in /w/workspace/dgexfoundry_device-sdk-go_PR-710 [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-710 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/710/head:refs/remotes/origin/PR-710 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit e0d0a96e3e310c273e1c8f98aeacde55ee940b3a Merge succeeded, producing 5ede2b1052833eb3e44b9ca7152bcf693a4e9993 Checking out Revision 5ede2b1052833eb3e44b9ca7152bcf693a4e9993 (PR-710) > git config core.sparsecheckout # timeout=10 > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ede2b1052833eb3e44b9ca7152bcf693a4e9993 # timeout=10 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" > git rev-list --no-walk e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-05T02:41:35.256Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-05T02:41:35.545Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-05T02:41:35.651Z] ========================================================= [2021-01-05T02:41:35.651Z] EdgeX Global Pipelines Version Info [2021-01-05T02:41:35.651Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:41:37.112Z] ------------------- [2021-01-05T02:41:37.112Z] stable info: [2021-01-05T02:41:37.112Z] ------------------- [2021-01-05T02:41:37.112Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-05T02:41:37.112Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-05T02:41:37.112Z] Message: update stable to v1.0.173 [2021-01-05T02:41:38.061Z] ------------------- [2021-01-05T02:41:38.061Z] experimental info: [2021-01-05T02:41:38.061Z] ------------------- [2021-01-05T02:41:38.061Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-05T02:41:38.061Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-05T02:41:38.061Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-05T02:41:38.548Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-05T02:41:38.675Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-05T02:41:38.771Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-05T02:41:38.883Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-05T02:41:38.976Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-05T02:41:39.068Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-05T02:41:39.185Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-05T02:41:39.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-05T02:41:39.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-05T02:41:39.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-05T02:41:39.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-05T02:41:39.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-05T02:41:39.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-05T02:41:39.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-05T02:41:40.017Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-05T02:41:40.121Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-05T02:41:40.276Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-05T02:41:40.371Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-05T02:41:40.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-05T02:41:40.572Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-05T02:41:40.680Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-05T02:41:40.770Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-05T02:41:40.883Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-05T02:41:40.986Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-05T02:41:41.128Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-05T02:41:41.219Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-05T02:41:41.317Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-05T02:41:41.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-710 [Pipeline] echo [2021-01-05T02:41:41.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-710 [Pipeline] echo [2021-01-05T02:41:41.675Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-710 [Pipeline] echo [2021-01-05T02:41:41.790Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ede2b1052833eb3e44b9ca7152bcf693a4e9993 [Pipeline] echo [2021-01-05T02:41:41.884Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ede2b1 [Pipeline] echo [2021-01-05T02:41:42.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-05T02:41:42.255Z] provisioning config files... [2021-01-05T02:41:42.286Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/config6675689474402327234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:41:42.651Z] ---> docker-login.sh [2021-01-05T02:41:42.651Z] nexus3.edgexfoundry.org:10001 [2021-01-05T02:41:42.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:41:43.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:41:43.177Z] Configure a credential helper to remove this warning. See [2021-01-05T02:41:43.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:41:43.177Z] [2021-01-05T02:41:43.177Z] Login Succeeded [2021-01-05T02:41:43.177Z] nexus3.edgexfoundry.org:10002 [2021-01-05T02:41:43.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:41:43.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:41:43.439Z] Configure a credential helper to remove this warning. See [2021-01-05T02:41:43.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:41:43.440Z] [2021-01-05T02:41:43.440Z] Login Succeeded [2021-01-05T02:41:43.440Z] nexus3.edgexfoundry.org:10003 [2021-01-05T02:41:43.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:41:43.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:41:43.440Z] Configure a credential helper to remove this warning. See [2021-01-05T02:41:43.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:41:43.440Z] [2021-01-05T02:41:43.440Z] Login Succeeded [2021-01-05T02:41:43.440Z] nexus3.edgexfoundry.org:10004 [2021-01-05T02:41:43.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:41:43.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:41:43.703Z] Configure a credential helper to remove this warning. See [2021-01-05T02:41:43.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:41:43.703Z] [2021-01-05T02:41:43.703Z] Login Succeeded [2021-01-05T02:41:43.703Z] docker.io [2021-01-05T02:41:43.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:41:43.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:41:43.966Z] Configure a credential helper to remove this warning. See [2021-01-05T02:41:43.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:41:43.966Z] [2021-01-05T02:41:43.966Z] Login Succeeded [2021-01-05T02:41:43.966Z] ---> docker-login.sh ends [Pipeline] } [2021-01-05T02:41:43.977Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-05T02:41:44.873Z] + git log --format=format:%s -1 5ede2b1052833eb3e44b9ca7152bcf693a4e9993 [Pipeline] echo [2021-01-05T02:41:44.942Z] GIT_COMMIT: 5ede2b1052833eb3e44b9ca7152bcf693a4e9993, Commit Message: Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD [Pipeline] echo [2021-01-05T02:41:44.991Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:41:45.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-05T02:41:45.981Z] [2021-01-05T02:41:45.981Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:41:46.331Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-05T02:41:46.332Z] latest: Pulling from edgex-devops/git-semver [2021-01-05T02:41:46.332Z] 31603596830f: Pulling fs layer [2021-01-05T02:41:46.332Z] 2a8b12db71e7: Pulling fs layer [2021-01-05T02:41:46.332Z] 6ca5941a6612: Pulling fs layer [2021-01-05T02:41:46.332Z] ecc8261a40a4: Pulling fs layer [2021-01-05T02:41:46.332Z] ecc8261a40a4: Waiting [2021-01-05T02:41:46.332Z] 2a8b12db71e7: Download complete [2021-01-05T02:41:46.596Z] 31603596830f: Verifying Checksum [2021-01-05T02:41:46.597Z] 31603596830f: Download complete [2021-01-05T02:41:46.597Z] ecc8261a40a4: Verifying Checksum [2021-01-05T02:41:46.597Z] ecc8261a40a4: Download complete [2021-01-05T02:41:46.597Z] 6ca5941a6612: Verifying Checksum [2021-01-05T02:41:46.597Z] 6ca5941a6612: Download complete [2021-01-05T02:41:46.862Z] 31603596830f: Pull complete [2021-01-05T02:41:47.125Z] 2a8b12db71e7: Pull complete [2021-01-05T02:41:48.079Z] 6ca5941a6612: Pull complete [2021-01-05T02:41:48.342Z] ecc8261a40a4: Pull complete [2021-01-05T02:41:48.342Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-05T02:41:48.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-05T02:41:48.342Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-05T02:41:48.458Z] prd-centos7-docker-4c-2g-18400 does not seem to be running inside a container [2021-01-05T02:41:48.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-710 -v /w/workspace/dgexfoundry_device-sdk-go_PR-710:/w/workspace/dgexfoundry_device-sdk-go_PR-710:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-710@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-05T02:41:50.662Z] $ docker top ccbe89e11b6d134da98abfbd6152b2a683d6e82d1f19f0ce7d336a919b12b47d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-05T02:41:51.070Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-05T02:41:51.070Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-05T02:41:51.302Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-05T02:41:51.306Z] $ docker exec ccbe89e11b6d134da98abfbd6152b2a683d6e82d1f19f0ce7d336a919b12b47d ssh-agent [2021-01-05T02:41:51.485Z] SSH_AUTH_SOCK=/tmp/ssh-U7u62H7bnb4N/agent.11 [2021-01-05T02:41:51.485Z] SSH_AGENT_PID=17 [2021-01-05T02:41:51.497Z] Running ssh-add (command line suppressed) [2021-01-05T02:41:51.624Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_3597217433582777493.key (/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_3597217433582777493.key) [2021-01-05T02:41:51.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-05T02:41:52.387Z] + git tag --points-at HEAD [Pipeline] } [2021-01-05T02:41:52.421Z] $ docker exec --env ******** --env ******** ccbe89e11b6d134da98abfbd6152b2a683d6e82d1f19f0ce7d336a919b12b47d ssh-agent -k [2021-01-05T02:41:52.541Z] unset SSH_AUTH_SOCK; [2021-01-05T02:41:52.541Z] unset SSH_AGENT_PID; [2021-01-05T02:41:52.541Z] echo Agent pid 17 killed; [2021-01-05T02:41:52.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-05T02:41:52.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-05T02:41:52.750Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-05T02:41:52.924Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-05T02:41:52.927Z] $ docker exec ccbe89e11b6d134da98abfbd6152b2a683d6e82d1f19f0ce7d336a919b12b47d ssh-agent [2021-01-05T02:41:53.086Z] SSH_AUTH_SOCK=/tmp/ssh-1qqowATKwQ09/agent.45 [2021-01-05T02:41:53.086Z] SSH_AGENT_PID=50 [2021-01-05T02:41:53.093Z] Running ssh-add (command line suppressed) [2021-01-05T02:41:53.216Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_4644878063261967741.key (/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_4644878063261967741.key) [2021-01-05T02:41:53.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-05T02:41:53.611Z] + git semver init [2021-01-05T02:41:53.611Z] # -> Open(): unable to determine branch for HEAD [2021-01-05T02:41:53.611Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-710/.git [2021-01-05T02:41:53.611Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-710 [2021-01-05T02:41:53.611Z] # $SEMVER_REMOTE_NAME = origin [2021-01-05T02:41:53.611Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-05T02:41:53.611Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-05T02:41:53.611Z] # $SEMVER_BRANCH = PR-710 [2021-01-05T02:41:53.611Z] # $SEMVER_TEMP = /tmp/semver-615726990 [2021-01-05T02:41:53.611Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-05T02:41:54.185Z] # '/tmp/semver-615726990' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-710/.semver' [2021-01-05T02:41:54.185Z] # -> Force: false [2021-01-05T02:41:54.185Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-710/.semver [Pipeline] } [2021-01-05T02:41:54.196Z] $ docker exec --env ******** --env ******** ccbe89e11b6d134da98abfbd6152b2a683d6e82d1f19f0ce7d336a919b12b47d ssh-agent -k [2021-01-05T02:41:54.307Z] unset SSH_AUTH_SOCK; [2021-01-05T02:41:54.308Z] unset SSH_AGENT_PID; [2021-01-05T02:41:54.308Z] echo Agent pid 50 killed; [2021-01-05T02:41:54.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-05T02:41:54.877Z] + git semver [Pipeline] } [2021-01-05T02:41:54.894Z] $ docker stop --time=1 ccbe89e11b6d134da98abfbd6152b2a683d6e82d1f19f0ce7d336a919b12b47d [2021-01-05T02:41:56.271Z] $ docker rm -f ccbe89e11b6d134da98abfbd6152b2a683d6e82d1f19f0ce7d336a919b12b47d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-05T02:41:56.746Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-05T02:41:57.140Z] Stashed 1 file(s) [Pipeline] echo [2021-01-05T02:41:57.143Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-05T02:42:12.692Z] Still waiting to schedule task [2021-01-05T02:42:12.692Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18402’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-05T02:42:12.694Z] Still waiting to schedule task [2021-01-05T02:42:12.695Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-05T02:43:07.060Z] Running on prd-centos7-docker-4c-2g-18405 in /w/workspace/dgexfoundry_device-sdk-go_PR-710 [Pipeline] { [Pipeline] ws [2021-01-05T02:43:07.112Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-05T02:43:09.555Z] using credential edgex-jenkins-ssh [2021-01-05T02:43:09.619Z] Cloning the remote Git repository [2021-01-05T02:43:09.578Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:43:09.648Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-05T02:43:09.729Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:43:09.730Z] > git --version # timeout=10 [2021-01-05T02:43:09.739Z] > git --version # 'git version 2.24.3' [2021-01-05T02:43:09.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:43:09.774Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T02:43:11.042Z] Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [2021-01-05T02:43:11.169Z] Merge succeeded, producing 6bd38fa1bfef4b87bf1b6bfbf772922501a71e3a [2021-01-05T02:43:11.170Z] Checking out Revision 6bd38fa1bfef4b87bf1b6bfbf772922501a71e3a (PR-710) [2021-01-05T02:43:10.600Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T02:43:10.609Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T02:43:10.622Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T02:43:10.638Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:43:10.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:43:10.643Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/710/head:refs/remotes/origin/PR-710 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-05T02:43:11.052Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T02:43:11.057Z] > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 [2021-01-05T02:43:11.109Z] > git remote # timeout=10 [2021-01-05T02:43:11.116Z] > git config --get remote.origin.url # timeout=10 [2021-01-05T02:43:11.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:43:11.127Z] > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [2021-01-05T02:43:11.164Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-05T02:43:11.173Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T02:43:11.178Z] > git checkout -f 6bd38fa1bfef4b87bf1b6bfbf772922501a71e3a # timeout=10 [2021-01-05T02:43:14.877Z] Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" [2021-01-05T02:43:14.881Z] > git rev-list --no-walk e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-05T02:43:15.984Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-05T02:43:16.328Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-05T02:43:16.632Z] + sudo service docker restart [2021-01-05T02:43:16.632Z] + true [2021-01-05T02:43:16.632Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-05T02:43:18.089Z] provisioning config files... [2021-01-05T02:43:18.116Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1056830051654081495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:43:18.483Z] ---> docker-login.sh [2021-01-05T02:43:18.483Z] nexus3.edgexfoundry.org:10001 [2021-01-05T02:43:18.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:43:18.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:43:18.747Z] Configure a credential helper to remove this warning. See [2021-01-05T02:43:18.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:43:18.747Z] [2021-01-05T02:43:18.747Z] Login Succeeded [2021-01-05T02:43:19.010Z] nexus3.edgexfoundry.org:10002 [2021-01-05T02:43:19.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:43:19.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:43:19.010Z] Configure a credential helper to remove this warning. See [2021-01-05T02:43:19.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:43:19.010Z] [2021-01-05T02:43:19.010Z] Login Succeeded [2021-01-05T02:43:19.010Z] nexus3.edgexfoundry.org:10003 [2021-01-05T02:43:19.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:43:19.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:43:19.272Z] Configure a credential helper to remove this warning. See [2021-01-05T02:43:19.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:43:19.272Z] [2021-01-05T02:43:19.272Z] Login Succeeded [2021-01-05T02:43:19.272Z] nexus3.edgexfoundry.org:10004 [2021-01-05T02:43:19.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:43:19.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:43:19.535Z] Configure a credential helper to remove this warning. See [2021-01-05T02:43:19.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:43:19.535Z] [2021-01-05T02:43:19.535Z] Login Succeeded [2021-01-05T02:43:19.535Z] docker.io [2021-01-05T02:43:19.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:43:19.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:43:19.796Z] Configure a credential helper to remove this warning. See [2021-01-05T02:43:19.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:43:19.796Z] [2021-01-05T02:43:19.796Z] Login Succeeded [2021-01-05T02:43:19.796Z] ---> docker-login.sh ends [Pipeline] } [2021-01-05T02:43:19.806Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-05T02:43:20.217Z] ========================================================= [2021-01-05T02:43:20.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-05T02:43:20.217Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:43:20.562Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-05T02:43:20.826Z] Sending build context to Docker daemon 2.434MB [2021-01-05T02:43:20.826Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-05T02:43:20.826Z] Step 2/8 : FROM ${BASE} [2021-01-05T02:43:20.826Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-05T02:43:20.826Z] 188c0c94c7c5: Pulling fs layer [2021-01-05T02:43:20.826Z] 0ef7d3d256c8: Pulling fs layer [2021-01-05T02:43:20.826Z] de9db76c5a1d: Pulling fs layer [2021-01-05T02:43:20.826Z] bca2f99d35d6: Pulling fs layer [2021-01-05T02:43:20.826Z] 93359f2a8cfa: Pulling fs layer [2021-01-05T02:43:20.826Z] 7c6f9722023f: Pulling fs layer [2021-01-05T02:43:20.826Z] a35cf1a2eb13: Pulling fs layer [2021-01-05T02:43:20.826Z] bca2f99d35d6: Waiting [2021-01-05T02:43:20.826Z] 93359f2a8cfa: Waiting [2021-01-05T02:43:20.826Z] 7c6f9722023f: Waiting [2021-01-05T02:43:20.826Z] a35cf1a2eb13: Waiting [2021-01-05T02:43:20.826Z] de9db76c5a1d: Verifying Checksum [2021-01-05T02:43:20.826Z] de9db76c5a1d: Download complete [2021-01-05T02:43:20.826Z] 0ef7d3d256c8: Download complete [2021-01-05T02:43:20.826Z] 93359f2a8cfa: Verifying Checksum [2021-01-05T02:43:20.826Z] 93359f2a8cfa: Download complete [2021-01-05T02:43:21.091Z] 7c6f9722023f: Download complete [2021-01-05T02:43:21.091Z] 188c0c94c7c5: Download complete [2021-01-05T02:43:21.353Z] 188c0c94c7c5: Pull complete [2021-01-05T02:43:21.353Z] 0ef7d3d256c8: Pull complete [2021-01-05T02:43:21.618Z] de9db76c5a1d: Pull complete [2021-01-05T02:43:23.551Z] a35cf1a2eb13: Verifying Checksum [2021-01-05T02:43:23.551Z] a35cf1a2eb13: Download complete [2021-01-05T02:43:23.815Z] bca2f99d35d6: Download complete [2021-01-05T02:43:30.464Z] bca2f99d35d6: Pull complete [2021-01-05T02:43:30.464Z] 93359f2a8cfa: Pull complete [2021-01-05T02:43:30.464Z] 7c6f9722023f: Pull complete [2021-01-05T02:43:34.715Z] a35cf1a2eb13: Pull complete [2021-01-05T02:43:34.715Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-05T02:43:34.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-05T02:43:34.715Z] ---> a62c8e92a672 [2021-01-05T02:43:34.715Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T02:43:34.715Z] ---> Running in f558ef4ed7a4 [2021-01-05T02:43:34.715Z] Removing intermediate container f558ef4ed7a4 [2021-01-05T02:43:34.715Z] ---> 53d4544f8d61 [2021-01-05T02:43:34.715Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-05T02:43:34.715Z] ---> Running in 9d4e824b1b08 [2021-01-05T02:43:35.674Z] Removing intermediate container 9d4e824b1b08 [2021-01-05T02:43:35.674Z] ---> a43a3aef69c8 [2021-01-05T02:43:35.674Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-05T02:43:35.940Z] ---> Running in e6dd3892e585 [2021-01-05T02:43:36.891Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-05T02:43:37.845Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-05T02:43:38.804Z] OK: 166 MiB in 39 packages [2021-01-05T02:43:39.066Z] Removing intermediate container e6dd3892e585 [2021-01-05T02:43:39.066Z] ---> 36c1beb6d558 [2021-01-05T02:43:39.066Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-05T02:43:39.066Z] ---> Running in dd6312d8a8bc [2021-01-05T02:43:39.330Z] Removing intermediate container dd6312d8a8bc [2021-01-05T02:43:39.330Z] ---> 044edc55bf98 [2021-01-05T02:43:39.330Z] Step 7/8 : COPY . . [2021-01-05T02:43:40.724Z] ---> 5bdcb0f4bfbc [2021-01-05T02:43:40.724Z] Step 8/8 : RUN go mod download [2021-01-05T02:43:40.724Z] ---> Running in 9c03816a7bba [2021-01-05T02:43:58.908Z] Removing intermediate container 9c03816a7bba [2021-01-05T02:43:58.908Z] ---> 0281aaf639ee [2021-01-05T02:43:58.908Z] Successfully built 0281aaf639ee [2021-01-05T02:43:58.908Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:43:59.423Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-05T02:43:59.423Z] . [Pipeline] withDockerContainer [2021-01-05T02:43:59.557Z] prd-centos7-docker-4c-2g-18405 does not seem to be running inside a container [2021-01-05T02:43:59.614Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-05T02:44:00.515Z] $ docker top f42f093a986e6086e068bc5f42ae3d70f8e0a5c34adfaa61fd6ba4e54ce55e78 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T02:44:01.208Z] + go version [2021-01-05T02:44:01.209Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-05T02:44:01.225Z] $ docker stop --time=1 f42f093a986e6086e068bc5f42ae3d70f8e0a5c34adfaa61fd6ba4e54ce55e78 [2021-01-05T02:44:01.592Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18406 in /w/workspace/dgexfoundry_device-sdk-go_PR-710 [2021-01-05T02:44:02.575Z] $ docker rm -f f42f093a986e6086e068bc5f42ae3d70f8e0a5c34adfaa61fd6ba4e54ce55e78 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2021-01-05T02:44:02.872Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:44:03.539Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-05T02:44:03.540Z] . [Pipeline] withDockerContainer [2021-01-05T02:44:03.653Z] prd-centos7-docker-4c-2g-18405 does not seem to be running inside a container [2021-01-05T02:44:03.705Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-05T02:44:04.266Z] $ docker top 239bf0cf01425cdb9d61917b483a4c53dc8705bc620251affb3c273d1bd0d7b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T02:44:04.751Z] + make test [2021-01-05T02:44:04.751Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-05T02:44:07.796Z] using credential edgex-jenkins-ssh [2021-01-05T02:44:07.859Z] Cloning the remote Git repository [2021-01-05T02:44:07.928Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:44:08.040Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-05T02:44:08.135Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:44:08.136Z] > git --version # timeout=10 [2021-01-05T02:44:08.159Z] > git --version # 'git version 2.17.1' [2021-01-05T02:44:08.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:44:08.218Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T02:44:09.953Z] Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [2021-01-05T02:44:10.275Z] Merge succeeded, producing 43196c6c8131819b10dcc20db24fd6b40c6f0a99 [2021-01-05T02:44:10.275Z] Checking out Revision 43196c6c8131819b10dcc20db24fd6b40c6f0a99 (PR-710) [2021-01-05T02:44:09.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T02:44:09.383Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T02:44:09.420Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T02:44:09.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:44:09.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:44:09.482Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/710/head:refs/remotes/origin/PR-710 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-05T02:44:09.988Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T02:44:10.011Z] > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 [2021-01-05T02:44:10.132Z] > git remote # timeout=10 [2021-01-05T02:44:10.149Z] > git config --get remote.origin.url # timeout=10 [2021-01-05T02:44:10.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:44:10.181Z] > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [2021-01-05T02:44:10.273Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-05T02:44:10.294Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T02:44:10.305Z] > git checkout -f 43196c6c8131819b10dcc20db24fd6b40c6f0a99 # timeout=10 [2021-01-05T02:44:11.399Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-05T02:44:14.766Z] Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" [2021-01-05T02:44:14.786Z] > git rev-list --no-walk e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-05T02:44:16.321Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-05T02:44:16.721Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-05T02:44:17.069Z] + true [2021-01-05T02:44:17.069Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-05T02:44:19.367Z] provisioning config files... [2021-01-05T02:44:19.403Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5654608091812801389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:44:19.815Z] ---> docker-login.sh [2021-01-05T02:44:19.815Z] nexus3.edgexfoundry.org:10001 [2021-01-05T02:44:20.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:44:21.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:44:21.075Z] Configure a credential helper to remove this warning. See [2021-01-05T02:44:21.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:44:21.075Z] [2021-01-05T02:44:21.075Z] Login Succeeded [2021-01-05T02:44:21.075Z] nexus3.edgexfoundry.org:10002 [2021-01-05T02:44:21.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:44:21.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:44:21.350Z] Configure a credential helper to remove this warning. See [2021-01-05T02:44:21.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:44:21.350Z] [2021-01-05T02:44:21.350Z] Login Succeeded [2021-01-05T02:44:21.622Z] nexus3.edgexfoundry.org:10003 [2021-01-05T02:44:21.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:44:21.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:44:21.898Z] Configure a credential helper to remove this warning. See [2021-01-05T02:44:21.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:44:21.898Z] [2021-01-05T02:44:21.898Z] Login Succeeded [2021-01-05T02:44:21.898Z] nexus3.edgexfoundry.org:10004 [2021-01-05T02:44:22.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:44:22.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:44:22.499Z] Configure a credential helper to remove this warning. See [2021-01-05T02:44:22.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:44:22.499Z] [2021-01-05T02:44:22.499Z] Login Succeeded [2021-01-05T02:44:22.499Z] docker.io [2021-01-05T02:44:22.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:44:23.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:44:23.367Z] Configure a credential helper to remove this warning. See [2021-01-05T02:44:23.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:44:23.367Z] [2021-01-05T02:44:23.367Z] Login Succeeded [2021-01-05T02:44:23.367Z] ---> docker-login.sh ends [Pipeline] } [2021-01-05T02:44:23.384Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-05T02:44:23.808Z] ========================================================= [2021-01-05T02:44:23.808Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-05T02:44:23.808Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:44:24.203Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-05T02:44:24.483Z] Sending build context to Docker daemon 2.432MB [2021-01-05T02:44:24.758Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-05T02:44:24.758Z] Step 2/8 : FROM ${BASE} [2021-01-05T02:44:24.758Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-05T02:44:24.758Z] 5f621e34cdf4: Pulling fs layer [2021-01-05T02:44:24.758Z] a4357932f1b6: Pulling fs layer [2021-01-05T02:44:24.758Z] 18c013af1878: Pulling fs layer [2021-01-05T02:44:24.758Z] 00ac8860ef70: Pulling fs layer [2021-01-05T02:44:24.758Z] 63d7cb157983: Pulling fs layer [2021-01-05T02:44:24.758Z] b116817d02f9: Pulling fs layer [2021-01-05T02:44:24.758Z] 745a02a5169b: Pulling fs layer [2021-01-05T02:44:24.758Z] 745a02a5169b: Waiting [2021-01-05T02:44:24.758Z] 63d7cb157983: Waiting [2021-01-05T02:44:24.758Z] b116817d02f9: Waiting [2021-01-05T02:44:24.758Z] 00ac8860ef70: Waiting [2021-01-05T02:44:24.758Z] 18c013af1878: Verifying Checksum [2021-01-05T02:44:24.758Z] 18c013af1878: Download complete [2021-01-05T02:44:24.758Z] a4357932f1b6: Verifying Checksum [2021-01-05T02:44:24.758Z] a4357932f1b6: Download complete [2021-01-05T02:44:24.758Z] 63d7cb157983: Verifying Checksum [2021-01-05T02:44:24.758Z] 63d7cb157983: Download complete [2021-01-05T02:44:24.758Z] b116817d02f9: Verifying Checksum [2021-01-05T02:44:25.035Z] b116817d02f9: Download complete [2021-01-05T02:44:25.035Z] 5f621e34cdf4: Download complete [2021-01-05T02:44:25.637Z] 5f621e34cdf4: Pull complete [2021-01-05T02:44:26.434Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-05T02:44:26.434Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-05T02:44:26.434Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-05T02:44:26.434Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.097s coverage: 19.4% of statements [2021-01-05T02:44:26.626Z] a4357932f1b6: Pull complete [2021-01-05T02:44:26.898Z] 18c013af1878: Pull complete [2021-01-05T02:44:27.492Z] 745a02a5169b: Verifying Checksum [2021-01-05T02:44:28.381Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.458s coverage: 97.1% of statements [2021-01-05T02:44:28.928Z] 00ac8860ef70: Verifying Checksum [2021-01-05T02:44:28.928Z] 00ac8860ef70: Download complete [2021-01-05T02:44:39.117Z] 00ac8860ef70: Pull complete [2021-01-05T02:44:39.117Z] 63d7cb157983: Pull complete [2021-01-05T02:44:39.117Z] b116817d02f9: Pull complete [2021-01-05T02:44:43.426Z] 745a02a5169b: Pull complete [2021-01-05T02:44:43.426Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-05T02:44:43.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-05T02:44:43.426Z] ---> b7e6874047d6 [2021-01-05T02:44:43.426Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T02:44:46.040Z] ---> Running in 8dff00d0398c [2021-01-05T02:44:46.311Z] Removing intermediate container 8dff00d0398c [2021-01-05T02:44:46.311Z] ---> 48918e50d739 [2021-01-05T02:44:46.311Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-05T02:44:46.311Z] ---> Running in 7e35a466b7b7 [2021-01-05T02:44:48.956Z] Removing intermediate container 7e35a466b7b7 [2021-01-05T02:44:48.956Z] ---> 0d4b9904653d [2021-01-05T02:44:48.956Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-05T02:44:48.956Z] ---> Running in d253bf95eaca [2021-01-05T02:44:49.940Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-05T02:44:50.918Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-05T02:44:51.910Z] OK: 142 MiB in 39 packages [2021-01-05T02:44:52.891Z] Removing intermediate container d253bf95eaca [2021-01-05T02:44:52.891Z] ---> 70a80286d40c [2021-01-05T02:44:52.891Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-05T02:44:52.891Z] ---> Running in 74f85719edb4 [2021-01-05T02:44:53.488Z] Removing intermediate container 74f85719edb4 [2021-01-05T02:44:53.488Z] ---> a7fcc8a9244b [2021-01-05T02:44:53.488Z] Step 7/8 : COPY . . [2021-01-05T02:44:54.926Z] ---> 3fdd3be0ccd6 [2021-01-05T02:44:54.926Z] Step 8/8 : RUN go mod download [2021-01-05T02:44:54.926Z] ---> Running in 1c02b17269c9 [2021-01-05T02:45:00.562Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements [2021-01-05T02:45:00.562Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.061s coverage: 21.9% of statements [2021-01-05T02:45:00.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-05T02:45:00.562Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.221s coverage: 42.5% of statements [2021-01-05T02:45:00.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-05T02:45:00.562Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.555s coverage: 68.9% of statements [2021-01-05T02:45:00.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-05T02:45:00.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-05T02:45:00.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-05T02:45:00.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-05T02:45:00.562Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.075s coverage: 53.8% of statements [2021-01-05T02:45:00.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-05T02:45:00.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-05T02:45:00.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-05T02:45:00.562Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.332s coverage: 68.9% of statements [2021-01-05T02:45:00.562Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.2% of statements [2021-01-05T02:45:00.562Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-05T02:45:00.562Z] GO111MODULE=on go vet ./... [2021-01-05T02:45:07.324Z] gofmt -l . [2021-01-05T02:45:07.324Z] [ "`gofmt -l .`" = "" ] [2021-01-05T02:45:07.324Z] ./bin/test-attribution-txt.sh [2021-01-05T02:45:07.324Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-05T02:45:07.605Z] $ docker stop --time=1 239bf0cf01425cdb9d61917b483a4c53dc8705bc620251affb3c273d1bd0d7b5 [2021-01-05T02:45:09.599Z] $ docker rm -f 239bf0cf01425cdb9d61917b483a4c53dc8705bc620251affb3c273d1bd0d7b5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-05T02:45:10.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-05T02:45:10.713Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-05T02:45:13.358Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-05T02:45:13.661Z] + ls -al . [2021-01-05T02:45:13.662Z] total 208 [2021-01-05T02:45:13.662Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 5 02:45 . [2021-01-05T02:45:13.662Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 5 02:43 .. [2021-01-05T02:45:13.662Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 5 02:43 bin [2021-01-05T02:45:13.662Z] -rw-r--r--. 1 jenkins jenkins 130526 Jan 5 02:44 coverage.out [2021-01-05T02:45:13.662Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 5 02:43 Dockerfile.build [2021-01-05T02:45:13.662Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 5 02:43 .dockerignore [2021-01-05T02:45:13.662Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 5 02:43 example [2021-01-05T02:45:13.662Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 5 02:43 .git [2021-01-05T02:45:13.662Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 5 02:43 .github [2021-01-05T02:45:13.662Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 5 02:43 .gitignore [2021-01-05T02:45:13.662Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 5 02:45 go.mod [2021-01-05T02:45:13.662Z] -rw-r--r--. 1 jenkins jenkins 13716 Jan 5 02:45 go.sum [2021-01-05T02:45:13.662Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 5 02:43 internal [2021-01-05T02:45:13.662Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 5 02:43 Jenkinsfile [2021-01-05T02:45:13.662Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 5 02:43 LICENSE [2021-01-05T02:45:13.662Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 5 02:43 Makefile [2021-01-05T02:45:13.662Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 5 02:43 openapi [2021-01-05T02:45:13.662Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 5 02:43 pkg [2021-01-05T02:45:13.662Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 5 02:43 README.md [2021-01-05T02:45:13.662Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 5 02:43 RELEASE-NOTES.txt [2021-01-05T02:45:13.662Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 5 02:43 snap [2021-01-05T02:45:13.662Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 5 02:41 VERSION [2021-01-05T02:45:13.662Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 5 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:45:13.976Z] + 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=5ede2b1052833eb3e44b9ca7152bcf693a4e9993 --label arch=amd64 --label version=0.0.0 . [2021-01-05T02:45:14.238Z] Sending build context to Docker daemon 2.565MB [2021-01-05T02:45:14.238Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-05T02:45:14.238Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-05T02:45:14.238Z] ---> 0281aaf639ee [2021-01-05T02:45:14.238Z] Step 3/24 : ARG MAKE='make build' [2021-01-05T02:45:14.814Z] ---> Running in a5c97f0d8449 [2021-01-05T02:45:15.077Z] Removing intermediate container a5c97f0d8449 [2021-01-05T02:45:15.077Z] ---> 40bdefc7954f [2021-01-05T02:45:15.077Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-05T02:45:15.077Z] ---> Running in ac94c9685132 [2021-01-05T02:45:15.339Z] Removing intermediate container ac94c9685132 [2021-01-05T02:45:15.339Z] ---> 5e7393ea4d96 [2021-01-05T02:45:15.339Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T02:45:15.339Z] ---> Running in 126d13530030 [2021-01-05T02:45:15.603Z] Removing intermediate container 126d13530030 [2021-01-05T02:45:15.603Z] ---> 2df2f6db09c3 [2021-01-05T02:45:15.603Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-05T02:45:15.603Z] ---> Running in 0637200adec9 [2021-01-05T02:45:16.555Z] Removing intermediate container 0637200adec9 [2021-01-05T02:45:16.555Z] ---> 1a05cc604f7b [2021-01-05T02:45:16.555Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-05T02:45:16.555Z] ---> Running in e11b057febe0 [2021-01-05T02:45:17.134Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-05T02:45:17.148Z] Removing intermediate container 1c02b17269c9 [2021-01-05T02:45:17.148Z] ---> b186f7954a31 [2021-01-05T02:45:17.148Z] Successfully built b186f7954a31 [2021-01-05T02:45:17.148Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:45:17.488Z] + docker inspect -f . ci-base-image-arm64 [2021-01-05T02:45:17.488Z] . [Pipeline] withDockerContainer [2021-01-05T02:45:17.788Z] prd-ubuntu18.04-docker-arm64-4c-16g-18406 does not seem to be running inside a container [2021-01-05T02:45:17.882Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-05T02:45:18.082Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-05T02:45:19.031Z] OK: 166 MiB in 39 packages [2021-01-05T02:45:19.300Z] $ docker top 2134f08218513406acdec19ac29efce1ceaddb82bd33c8d24369eeb29cb19243 -eo pid,comm [2021-01-05T02:45:19.616Z] Removing intermediate container e11b057febe0 [2021-01-05T02:45:19.616Z] ---> c6be9ebe6ac0 [2021-01-05T02:45:19.616Z] Step 8/24 : COPY . . [Pipeline] { [Pipeline] sh [2021-01-05T02:45:20.313Z] + go version [2021-01-05T02:45:20.313Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-05T02:45:20.342Z] $ docker stop --time=1 2134f08218513406acdec19ac29efce1ceaddb82bd33c8d24369eeb29cb19243 [2021-01-05T02:45:20.573Z] ---> c8ff642495eb [2021-01-05T02:45:20.573Z] Step 9/24 : RUN ${MAKE} [2021-01-05T02:45:20.573Z] ---> Running in 885326a38541 [2021-01-05T02:45:21.168Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-05T02:45:22.236Z] $ docker rm -f 2134f08218513406acdec19ac29efce1ceaddb82bd33c8d24369eeb29cb19243 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:45:23.257Z] + docker inspect -f . ci-base-image-arm64 [2021-01-05T02:45:23.257Z] . [Pipeline] withDockerContainer [2021-01-05T02:45:23.515Z] prd-ubuntu18.04-docker-arm64-4c-16g-18406 does not seem to be running inside a container [2021-01-05T02:45:23.597Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-05T02:45:26.101Z] $ docker top 0154077ff225d61034c6720bc95a7a8784f15223adeb3836c4aa1d171bd1f9ad -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T02:45:27.162Z] + make test [2021-01-05T02:45:27.162Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-05T02:45:29.476Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-05T02:45:32.033Z] Removing intermediate container 885326a38541 [2021-01-05T02:45:32.034Z] ---> be727184b04a [2021-01-05T02:45:32.034Z] Step 10/24 : FROM scratch [2021-01-05T02:45:32.034Z] ---> [2021-01-05T02:45:32.034Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T02:45:32.034Z] ---> Running in da2166e2774c [2021-01-05T02:45:32.034Z] Removing intermediate container da2166e2774c [2021-01-05T02:45:32.034Z] ---> 119fd48cd559 [2021-01-05T02:45:32.034Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-05T02:45:32.034Z] ---> Running in 891c4f7d3aed [2021-01-05T02:45:32.297Z] Removing intermediate container 891c4f7d3aed [2021-01-05T02:45:32.297Z] ---> cf2f8e443e43 [2021-01-05T02:45:32.297Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-05T02:45:32.297Z] ---> Running in 2f0d0c9aec33 [2021-01-05T02:45:32.297Z] Removing intermediate container 2f0d0c9aec33 [2021-01-05T02:45:32.297Z] ---> 6bc4fa34383b [2021-01-05T02:45:32.297Z] Step 14/24 : WORKDIR / [2021-01-05T02:45:32.560Z] ---> Running in b3b2cc096f95 [2021-01-05T02:45:32.561Z] Removing intermediate container b3b2cc096f95 [2021-01-05T02:45:32.561Z] ---> 005e24946326 [2021-01-05T02:45:32.561Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-05T02:45:33.136Z] ---> c85188465261 [2021-01-05T02:45:33.136Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-05T02:45:33.398Z] ---> a8669ce61df4 [2021-01-05T02:45:33.398Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-05T02:45:33.661Z] ---> a50b5c9ee0fa [2021-01-05T02:45:33.661Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-05T02:45:33.924Z] ---> 83ce0e8973d6 [2021-01-05T02:45:33.924Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-05T02:45:33.924Z] ---> ce19547c6d6b [2021-01-05T02:45:33.924Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-05T02:45:34.186Z] ---> Running in eb4fb7d12bbe [2021-01-05T02:45:34.186Z] Removing intermediate container eb4fb7d12bbe [2021-01-05T02:45:34.186Z] ---> 30abe9229c5a [2021-01-05T02:45:34.186Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-05T02:45:34.450Z] ---> Running in 16b27a08e211 [2021-01-05T02:45:34.450Z] Removing intermediate container 16b27a08e211 [2021-01-05T02:45:34.450Z] ---> e3abef28eaaf [2021-01-05T02:45:34.450Z] Step 22/24 : LABEL arch=amd64 [2021-01-05T02:45:34.450Z] ---> Running in 8e0666ca5d30 [2021-01-05T02:45:34.718Z] Removing intermediate container 8e0666ca5d30 [2021-01-05T02:45:34.718Z] ---> 466145ac7eb2 [2021-01-05T02:45:34.718Z] Step 23/24 : LABEL git_sha=5ede2b1052833eb3e44b9ca7152bcf693a4e9993 [2021-01-05T02:45:34.718Z] ---> Running in db8a9de32373 [2021-01-05T02:45:34.984Z] Removing intermediate container db8a9de32373 [2021-01-05T02:45:34.984Z] ---> 81eb84ca6699 [2021-01-05T02:45:34.984Z] Step 24/24 : LABEL version=0.0.0 [2021-01-05T02:45:34.984Z] ---> Running in f6ec277cc152 [2021-01-05T02:45:35.246Z] Removing intermediate container f6ec277cc152 [2021-01-05T02:45:35.246Z] ---> 35daae111da3 [2021-01-05T02:45:35.246Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-05T02:45:35.246Z] Successfully built 35daae111da3 [2021-01-05T02:45:35.246Z] 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] } [2021-01-05T02:45:49.357Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-05T02:46:28.415Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-05T02:46:28.415Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-05T02:46:28.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-05T02:46:29.023Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.143s coverage: 19.4% of statements [2021-01-05T02:46:35.772Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.279s coverage: 97.1% of statements [2021-01-05T02:47:02.680Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.121s coverage: 9.4% of statements [2021-01-05T02:47:02.680Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.130s coverage: 21.9% of statements [2021-01-05T02:47:02.680Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-05T02:47:02.680Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.646s coverage: 42.5% of statements [2021-01-05T02:47:02.680Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-05T02:47:02.680Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.784s coverage: 68.9% of statements [2021-01-05T02:47:02.680Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-05T02:47:02.680Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-05T02:47:02.680Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-05T02:47:02.680Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-05T02:47:02.680Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.214s coverage: 53.8% of statements [2021-01-05T02:47:02.680Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-05T02:47:02.680Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-05T02:47:02.680Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-05T02:47:02.680Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.012s coverage: 68.9% of statements [2021-01-05T02:47:02.680Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.139s coverage: 4.2% of statements [2021-01-05T02:47:02.680Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-05T02:47:02.680Z] GO111MODULE=on go vet ./... [2021-01-05T02:47:35.344Z] gofmt -l . [2021-01-05T02:47:35.344Z] [ "`gofmt -l .`" = "" ] [2021-01-05T02:47:35.344Z] ./bin/test-attribution-txt.sh [2021-01-05T02:47:36.332Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-05T02:47:36.648Z] $ docker stop --time=1 0154077ff225d61034c6720bc95a7a8784f15223adeb3836c4aa1d171bd1f9ad [2021-01-05T02:47:38.989Z] $ docker rm -f 0154077ff225d61034c6720bc95a7a8784f15223adeb3836c4aa1d171bd1f9ad [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-05T02:47:40.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-05T02:47:40.158Z] Warning: overwriting stash ‘coverage-report’ [2021-01-05T02:47:41.028Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-05T02:47:41.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-05T02:47:42.058Z] + ls -al . [2021-01-05T02:47:42.058Z] total 244 [2021-01-05T02:47:42.058Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 02:47 . [2021-01-05T02:47:42.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 02:44 .. [2021-01-05T02:47:42.058Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 5 02:44 .dockerignore [2021-01-05T02:47:42.058Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 02:44 .git [2021-01-05T02:47:42.058Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 02:44 .github [2021-01-05T02:47:42.058Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 5 02:44 .gitignore [2021-01-05T02:47:42.058Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 5 02:44 Dockerfile.build [2021-01-05T02:47:42.058Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 5 02:44 Jenkinsfile [2021-01-05T02:47:42.058Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 5 02:44 LICENSE [2021-01-05T02:47:42.058Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 5 02:44 Makefile [2021-01-05T02:47:42.058Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 5 02:44 README.md [2021-01-05T02:47:42.058Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 5 02:44 RELEASE-NOTES.txt [2021-01-05T02:47:42.058Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 02:41 VERSION [2021-01-05T02:47:42.058Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 02:44 bin [2021-01-05T02:47:42.058Z] -rw-r--r-- 1 jenkins jenkins 130526 Jan 5 02:47 coverage.out [2021-01-05T02:47:42.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 02:44 example [2021-01-05T02:47:42.058Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 5 02:47 go.mod [2021-01-05T02:47:42.058Z] -rw-r--r-- 1 jenkins jenkins 13716 Jan 5 02:47 go.sum [2021-01-05T02:47:42.058Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 5 02:44 internal [2021-01-05T02:47:42.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 02:44 openapi [2021-01-05T02:47:42.058Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 02:44 pkg [2021-01-05T02:47:42.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 02:44 snap [2021-01-05T02:47:42.058Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 5 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:47:42.446Z] + 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=5ede2b1052833eb3e44b9ca7152bcf693a4e9993 --label arch=arm64 --label version=0.0.0 . [2021-01-05T02:47:43.039Z] Sending build context to Docker daemon 2.563MB [2021-01-05T02:47:43.039Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-05T02:47:43.039Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-05T02:47:43.039Z] ---> b186f7954a31 [2021-01-05T02:47:43.039Z] Step 3/24 : ARG MAKE='make build' [2021-01-05T02:47:43.311Z] ---> Running in dd4298b980c5 [2021-01-05T02:47:43.908Z] Removing intermediate container dd4298b980c5 [2021-01-05T02:47:43.908Z] ---> e9d20cbff426 [2021-01-05T02:47:43.908Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-05T02:47:43.908Z] ---> Running in 57b19ad44daf [2021-01-05T02:47:44.506Z] Removing intermediate container 57b19ad44daf [2021-01-05T02:47:44.506Z] ---> 6586a8ea7e87 [2021-01-05T02:47:44.506Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T02:47:44.506Z] ---> Running in ed4bab6e80b3 [2021-01-05T02:47:45.116Z] Removing intermediate container ed4bab6e80b3 [2021-01-05T02:47:45.116Z] ---> 16a648c6c3d0 [2021-01-05T02:47:45.116Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-05T02:47:45.116Z] ---> Running in 466170f8d705 [2021-01-05T02:47:47.108Z] Removing intermediate container 466170f8d705 [2021-01-05T02:47:47.108Z] ---> 3802f5934a0c [2021-01-05T02:47:47.108Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-05T02:47:47.108Z] ---> Running in 29b82204eb5e [2021-01-05T02:47:48.546Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-05T02:47:49.521Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-05T02:47:50.966Z] OK: 142 MiB in 39 packages [2021-01-05T02:47:51.945Z] Removing intermediate container 29b82204eb5e [2021-01-05T02:47:51.945Z] ---> 2562e1154ec7 [2021-01-05T02:47:51.945Z] Step 8/24 : COPY . . [2021-01-05T02:47:53.375Z] ---> eb8bac8f6904 [2021-01-05T02:47:53.375Z] Step 9/24 : RUN ${MAKE} [2021-01-05T02:47:54.014Z] ---> Running in 900a5db9bfcc [2021-01-05T02:47:54.995Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-05T02:48:21.836Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-05T02:48:23.276Z] Removing intermediate container 900a5db9bfcc [2021-01-05T02:48:23.276Z] ---> ef79802e16ba [2021-01-05T02:48:23.276Z] Step 10/24 : FROM scratch [2021-01-05T02:48:23.276Z] ---> [2021-01-05T02:48:23.276Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T02:48:23.549Z] ---> Running in 9fdd23ca0500 [2021-01-05T02:48:23.822Z] Removing intermediate container 9fdd23ca0500 [2021-01-05T02:48:23.822Z] ---> 69032d56143b [2021-01-05T02:48:23.822Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-05T02:48:24.094Z] ---> Running in 2bdcbe3530fc [2021-01-05T02:48:24.370Z] Removing intermediate container 2bdcbe3530fc [2021-01-05T02:48:24.370Z] ---> c417dab46c39 [2021-01-05T02:48:24.370Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-05T02:48:24.643Z] ---> Running in a4217112defc [2021-01-05T02:48:24.915Z] Removing intermediate container a4217112defc [2021-01-05T02:48:24.915Z] ---> 3f4cdafa2025 [2021-01-05T02:48:24.915Z] Step 14/24 : WORKDIR / [2021-01-05T02:48:25.188Z] ---> Running in e2588a36a35f [2021-01-05T02:48:25.467Z] Removing intermediate container e2588a36a35f [2021-01-05T02:48:25.467Z] ---> b33eb34e864c [2021-01-05T02:48:25.467Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-05T02:48:26.905Z] ---> 2834a54b4ef0 [2021-01-05T02:48:26.905Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-05T02:48:27.498Z] ---> 183f192f0abe [2021-01-05T02:48:27.498Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-05T02:48:28.097Z] ---> 64e8632c4d38 [2021-01-05T02:48:28.097Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-05T02:48:29.072Z] ---> 6a263a4dccbc [2021-01-05T02:48:29.072Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-05T02:48:29.667Z] ---> b21607019349 [2021-01-05T02:48:29.667Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-05T02:48:29.940Z] ---> Running in 074487923c01 [2021-01-05T02:48:30.211Z] Removing intermediate container 074487923c01 [2021-01-05T02:48:30.211Z] ---> 07d3ca9c4be0 [2021-01-05T02:48:30.211Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-05T02:48:30.482Z] ---> Running in d044deded656 [2021-01-05T02:48:30.754Z] Removing intermediate container d044deded656 [2021-01-05T02:48:30.754Z] ---> 6d771edea8c9 [2021-01-05T02:48:30.754Z] Step 22/24 : LABEL arch=arm64 [2021-01-05T02:48:31.032Z] ---> Running in 1c7c4f921676 [2021-01-05T02:48:31.630Z] Removing intermediate container 1c7c4f921676 [2021-01-05T02:48:31.630Z] ---> dd4dcb77f02d [2021-01-05T02:48:31.630Z] Step 23/24 : LABEL git_sha=5ede2b1052833eb3e44b9ca7152bcf693a4e9993 [2021-01-05T02:48:31.630Z] ---> Running in 1d245452cb7f [2021-01-05T02:48:32.227Z] Removing intermediate container 1d245452cb7f [2021-01-05T02:48:32.227Z] ---> cb3e3cb24300 [2021-01-05T02:48:32.227Z] Step 24/24 : LABEL version=0.0.0 [2021-01-05T02:48:32.227Z] ---> Running in d0b016269602 [2021-01-05T02:48:32.821Z] Removing intermediate container d0b016269602 [2021-01-05T02:48:32.821Z] ---> b6c41899022d [2021-01-05T02:48:32.821Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-05T02:48:32.821Z] Successfully built b6c41899022d [2021-01-05T02:48:32.821Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-05T02:48:34.662Z] provisioning config files... [2021-01-05T02:48:34.673Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/config3589134809390994728tmp [Pipeline] { [Pipeline] sh [2021-01-05T02:48:35.055Z] + set +x [2021-01-05T02:48:35.055Z] + curl -s https://codecov.io/bash [2021-01-05T02:48:35.055Z] + bash -s -- [2021-01-05T02:48:35.318Z] [2021-01-05T02:48:35.318Z] _____ _ [2021-01-05T02:48:35.318Z] / ____| | | [2021-01-05T02:48:35.318Z] | | ___ __| | ___ ___ _____ __ [2021-01-05T02:48:35.318Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-05T02:48:35.318Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-05T02:48:35.318Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-05T02:48:35.318Z] Bash-20201231-23d4836 [2021-01-05T02:48:35.318Z] [2021-01-05T02:48:35.318Z] [2021-01-05T02:48:35.318Z] ==> git version 2.24.3 found [2021-01-05T02:48:35.318Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-05T02:48:35.318Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-05T02:48:35.318Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-05T02:48:35.318Z] ==> Jenkins CI detected. [2021-01-05T02:48:35.318Z] project root: . [2021-01-05T02:48:35.318Z] --> token set from env [2021-01-05T02:48:35.318Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-05T02:48:35.318Z] ==> Running gcov in . (disable via -X gcov) [2021-01-05T02:48:35.318Z] ==> Python coveragepy not found [2021-01-05T02:48:35.318Z] ==> Searching for coverage reports in: [2021-01-05T02:48:35.318Z] + . [2021-01-05T02:48:35.318Z] -> Found 1 reports [2021-01-05T02:48:35.318Z] ==> Detecting git/mercurial file structure [2021-01-05T02:48:35.581Z] ==> Reading reports [2021-01-05T02:48:35.581Z] + ./coverage.out bytes=130526 [2021-01-05T02:48:35.581Z] ==> Appending adjustments [2021-01-05T02:48:35.581Z] https://docs.codecov.io/docs/fixing-reports [2021-01-05T02:48:35.842Z] + Found adjustments [2021-01-05T02:48:35.842Z] ==> Gzipping contents [2021-01-05T02:48:35.842Z] 24K /tmp/codecov.PtSRg2.gz [2021-01-05T02:48:35.842Z] ==> Uploading reports [2021-01-05T02:48:35.842Z] url: https://codecov.io [2021-01-05T02:48:35.842Z] query: branch=PR-710&commit=5ede2b1052833eb3e44b9ca7152bcf693a4e9993&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-710%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=710&job=&cmd_args= [2021-01-05T02:48:35.842Z] -> Pinging Codecov [2021-01-05T02:48:35.842Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-710&commit=5ede2b1052833eb3e44b9ca7152bcf693a4e9993&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-710%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=710&job=&cmd_args= [2021-01-05T02:48:36.418Z] -> Uploading to [2021-01-05T02:48:36.418Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-05/7E55EF52A471D76F132DFD9A03CDDE97/5ede2b1052833eb3e44b9ca7152bcf693a4e9993/43d47c37-4fcc-4b3f-b603-068358978a63.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210105T024836Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d1faa5e1cc89b54b38d32c460af036ad75189f241193d6f314aeb944bf990f0 [2021-01-05T02:48:36.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-05T02:48:36.418Z] Dload Upload Total Spent Left Speed [2021-01-05T02:48:36.944Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21255 0 0 100 21255 0 38633 --:--:-- --:--:-- --:--:-- 38645 [2021-01-05T02:48:36.944Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5ede2b1052833eb3e44b9ca7152bcf693a4e9993 [Pipeline] } [2021-01-05T02:48:36.953Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:48:39.357Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:48:39.669Z] ---> package-listing.sh [2021-01-05T02:48:39.669Z] ++ facter osfamily [2021-01-05T02:48:39.669Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-05T02:48:39.669Z] + OS_FAMILY=redhat [2021-01-05T02:48:39.669Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-710 [2021-01-05T02:48:39.669Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-05T02:48:39.669Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-05T02:48:39.669Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-05T02:48:39.669Z] + PACKAGES=/tmp/packages_start.txt [2021-01-05T02:48:39.669Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-710 ']' [2021-01-05T02:48:39.669Z] + PACKAGES=/tmp/packages_end.txt [2021-01-05T02:48:39.669Z] + case "${OS_FAMILY}" in [2021-01-05T02:48:39.669Z] + rpm -qa [2021-01-05T02:48:39.669Z] + sort [2021-01-05T02:48:44.979Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-05T02:48:44.979Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-05T02:48:44.979Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-05T02:48:44.979Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-710 ']' [2021-01-05T02:48:44.979Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-710/archives/ [2021-01-05T02:48:44.979Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-710/archives/ [Pipeline] echo [2021-01-05T02:48:44.993Z] 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-710/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-05T02:48:45.283Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:48:45.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-05T02:48:45.590Z] [2021-01-05T02:48:45.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:48:45.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-05T02:48:45.949Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-05T02:48:45.949Z] df20fa9351a1: Pulling fs layer [2021-01-05T02:48:45.949Z] 36b3adc4ff6f: Pulling fs layer [2021-01-05T02:48:45.949Z] 8ad3a11d3b57: Pulling fs layer [2021-01-05T02:48:45.949Z] 46f8f816bc3b: Pulling fs layer [2021-01-05T02:48:45.949Z] 93b61091891f: Pulling fs layer [2021-01-05T02:48:45.949Z] 93b9cdb0e59b: Pulling fs layer [2021-01-05T02:48:45.949Z] 5e14af77c1be: Pulling fs layer [2021-01-05T02:48:45.949Z] 01666e4c0597: Pulling fs layer [2021-01-05T02:48:45.949Z] aa168da1d23b: Pulling fs layer [2021-01-05T02:48:45.949Z] 46f8f816bc3b: Waiting [2021-01-05T02:48:45.949Z] 93b61091891f: Waiting [2021-01-05T02:48:45.949Z] 93b9cdb0e59b: Waiting [2021-01-05T02:48:45.949Z] 5e14af77c1be: Waiting [2021-01-05T02:48:45.949Z] 01666e4c0597: Waiting [2021-01-05T02:48:45.949Z] aa168da1d23b: Waiting [2021-01-05T02:48:45.949Z] 36b3adc4ff6f: Verifying Checksum [2021-01-05T02:48:45.949Z] 36b3adc4ff6f: Download complete [2021-01-05T02:48:45.949Z] 46f8f816bc3b: Verifying Checksum [2021-01-05T02:48:45.949Z] 46f8f816bc3b: Download complete [2021-01-05T02:48:46.212Z] df20fa9351a1: Verifying Checksum [2021-01-05T02:48:46.212Z] df20fa9351a1: Download complete [2021-01-05T02:48:46.212Z] 93b9cdb0e59b: Verifying Checksum [2021-01-05T02:48:46.212Z] 93b9cdb0e59b: Download complete [2021-01-05T02:48:46.212Z] 93b61091891f: Download complete [2021-01-05T02:48:46.212Z] 5e14af77c1be: Verifying Checksum [2021-01-05T02:48:46.212Z] 5e14af77c1be: Download complete [2021-01-05T02:48:46.212Z] 01666e4c0597: Verifying Checksum [2021-01-05T02:48:46.212Z] 01666e4c0597: Download complete [2021-01-05T02:48:46.480Z] df20fa9351a1: Pull complete [2021-01-05T02:48:46.744Z] 8ad3a11d3b57: Verifying Checksum [2021-01-05T02:48:46.744Z] 8ad3a11d3b57: Download complete [2021-01-05T02:48:46.744Z] 36b3adc4ff6f: Pull complete [2021-01-05T02:48:47.709Z] 8ad3a11d3b57: Pull complete [2021-01-05T02:48:47.709Z] 46f8f816bc3b: Pull complete [2021-01-05T02:48:47.979Z] 93b61091891f: Pull complete [2021-01-05T02:48:48.557Z] aa168da1d23b: Download complete [2021-01-05T02:48:48.557Z] 93b9cdb0e59b: Pull complete [2021-01-05T02:48:48.820Z] 5e14af77c1be: Pull complete [2021-01-05T02:48:48.820Z] 01666e4c0597: Pull complete [2021-01-05T02:48:55.460Z] aa168da1d23b: Pull complete [2021-01-05T02:48:55.460Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-05T02:48:55.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-05T02:48:55.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-05T02:48:55.640Z] prd-centos7-docker-4c-2g-18400 does not seem to be running inside a container [2021-01-05T02:48:55.691Z] $ 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-710/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-710 -v /w/workspace/dgexfoundry_device-sdk-go_PR-710:/w/workspace/dgexfoundry_device-sdk-go_PR-710:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-710@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-05T02:48:59.757Z] $ docker top d432d9462f25c8c51b0b9650c1eaceebfa8850dbfb553442eb989c6e83b5539d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T02:49:00.290Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-05T02:49:00.595Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-05T02:49:00.896Z] + ls /var/log/sa-host [2021-01-05T02:49:00.896Z] + sadf -c /var/log/sa-host/sa05 [2021-01-05T02:49:00.896Z] file_magic: OK [2021-01-05T02:49:00.896Z] HZ: Using current value: 100 [2021-01-05T02:49:00.896Z] file_header: OK [2021-01-05T02:49:00.896Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-05T02:49:00.896Z] Statistics: [2021-01-05T02:49:00.896Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-05T02:49:00.896Z] File successfully converted to sysstat format version 12.2.1 [2021-01-05T02:49:00.896Z] + sadf -c /var/log/sa-host/sa23 [2021-01-05T02:49:00.896Z] file_magic: OK [2021-01-05T02:49:00.896Z] HZ: Using current value: 100 [2021-01-05T02:49:00.896Z] file_header: OK [2021-01-05T02:49:00.896Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-05T02:49:00.896Z] Statistics: [2021-01-05T02:49:00.896Z] Hnuu...uuuununununu... [2021-01-05T02:49:00.896Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-05T02:49:01.106Z] provisioning config files... [2021-01-05T02:49:01.123Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/config8195636287882382973tmp [Pipeline] { [Pipeline] echo [2021-01-05T02:49:01.203Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:49:01.535Z] ---> create-netrc.sh [Pipeline] } [2021-01-05T02:49:01.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-05T02:49:01.636Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:49:01.940Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-05T02:49:01.953Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:49:02.255Z] ---> sudo-logs.sh [2021-01-05T02:49:02.255Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-05T02:49:02.266Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:49:02.570Z] ---> job-cost.sh [2021-01-05T02:49:02.571Z] lf-activate-venv: SKIPPING [2021-01-05T02:49:02.571Z] INFO: No Stack... [2021-01-05T02:49:03.527Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-05T02:49:04.103Z] INFO: Archiving Costs [Pipeline] echo [2021-01-05T02:49:04.118Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:49:04.418Z] ---> logs-deploy.sh [2021-01-05T02:49:04.418Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-710/2 [2021-01-05T02:49:04.418Z] INFO: archiving workspace using pattern(s): [2021-01-05T02:49:06.346Z] Archives upload complete. [2021-01-05T02:49:06.346Z] INFO: archiving logs to Nexus