Pull request #793 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d+90f0e220c38dfa765b59e93e9c62ca721e898d74 (02e56e9b60496341a92341add9ee802a9b9d8c93) Running in Durability level: MAX_SURVIVABILITY 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-793/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-793/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27129 in /w/workspace/dgexfoundry_device-sdk-go_PR-793 [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-793 # 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/793/head:refs/remotes/origin/PR-793 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 90f0e220c38dfa765b59e93e9c62ca721e898d74 into PR head commit 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d > git config core.sparsecheckout # timeout=10 > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d Checking out Revision 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d (PR-793) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 Commit message: "refactor: replace PUT command wording to SET command" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-22T06:56:10.011Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-22T06:56:10.385Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-22T06:56:10.624Z] ========================================================= [2021-02-22T06:56:10.624Z] EdgeX Global Pipelines Version Info [2021-02-22T06:56:10.624Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:56:18.453Z] ------------------- [2021-02-22T06:56:18.453Z] stable info: [2021-02-22T06:56:18.453Z] ------------------- [2021-02-22T06:56:18.453Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-22T06:56:18.453Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T06:56:18.453Z] Message: update stable to v1.0.179 [2021-02-22T06:56:21.064Z] ------------------- [2021-02-22T06:56:21.064Z] experimental info: [2021-02-22T06:56:21.064Z] ------------------- [2021-02-22T06:56:21.064Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-22T06:56:21.064Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T06:56:21.064Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-22T06:56:21.626Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-22T06:56:21.766Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-22T06:56:21.892Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-22T06:56:22.012Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-22T06:56:22.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-22T06:56:22.244Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-22T06:56:22.376Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-22T06:56:22.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-22T06:56:22.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-22T06:56:22.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-22T06:56:22.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-22T06:56:22.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-22T06:56:23.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-22T06:56:23.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-22T06:56:23.370Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-22T06:56:23.490Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T06:56:23.635Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T06:56:23.745Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T06:56:23.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-22T06:56:23.992Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-22T06:56:24.112Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-22T06:56:24.235Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-22T06:56:24.360Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-22T06:56:24.485Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-22T06:56:24.609Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-22T06:56:24.728Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-22T06:56:24.848Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-22T06:56:24.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-793 [Pipeline] echo [2021-02-22T06:56:25.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-793 [Pipeline] echo [2021-02-22T06:56:25.228Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-793 [Pipeline] echo [2021-02-22T06:56:25.365Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [Pipeline] echo [2021-02-22T06:56:25.477Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6059ff5 [Pipeline] echo [2021-02-22T06:56:25.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-22T06:56:25.830Z] provisioning config files... [2021-02-22T06:56:25.892Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/config4065657040730288808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:56:26.363Z] ---> docker-login.sh [2021-02-22T06:56:26.364Z] nexus3.edgexfoundry.org:10001 [2021-02-22T06:56:28.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:56:29.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:56:29.270Z] Configure a credential helper to remove this warning. See [2021-02-22T06:56:29.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:56:29.270Z] [2021-02-22T06:56:29.270Z] Login Succeeded [2021-02-22T06:56:29.270Z] nexus3.edgexfoundry.org:10002 [2021-02-22T06:56:30.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:56:31.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:56:31.426Z] Configure a credential helper to remove this warning. See [2021-02-22T06:56:31.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:56:31.426Z] [2021-02-22T06:56:31.426Z] Login Succeeded [2021-02-22T06:56:31.426Z] nexus3.edgexfoundry.org:10003 [2021-02-22T06:56:31.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:56:32.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:56:32.006Z] Configure a credential helper to remove this warning. See [2021-02-22T06:56:32.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:56:32.006Z] [2021-02-22T06:56:32.006Z] Login Succeeded [2021-02-22T06:56:32.006Z] nexus3.edgexfoundry.org:10004 [2021-02-22T06:56:33.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:56:33.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:56:33.196Z] Configure a credential helper to remove this warning. See [2021-02-22T06:56:33.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:56:33.196Z] [2021-02-22T06:56:33.196Z] Login Succeeded [2021-02-22T06:56:33.196Z] docker.io [2021-02-22T06:56:34.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:56:35.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:56:35.056Z] Configure a credential helper to remove this warning. See [2021-02-22T06:56:35.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:56:35.056Z] [2021-02-22T06:56:35.056Z] Login Succeeded [2021-02-22T06:56:35.056Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T06:56:35.122Z] 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-02-22T06:56:37.348Z] + git log --format=format:%s -1 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [Pipeline] echo [2021-02-22T06:56:37.742Z] GIT_COMMIT: 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d, Commit Message: refactor: replace PUT command wording to SET command [Pipeline] echo [2021-02-22T06:56:37.815Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:56:39.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:56:39.199Z] [2021-02-22T06:56:39.199Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:56:40.007Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:56:40.319Z] latest: Pulling from edgex-devops/git-semver [2021-02-22T06:56:40.319Z] 31603596830f: Pulling fs layer [2021-02-22T06:56:40.319Z] 2a8b12db71e7: Pulling fs layer [2021-02-22T06:56:40.319Z] 6ca5941a6612: Pulling fs layer [2021-02-22T06:56:40.319Z] ecc8261a40a4: Pulling fs layer [2021-02-22T06:56:40.319Z] ecc8261a40a4: Waiting [2021-02-22T06:56:40.319Z] 2a8b12db71e7: Verifying Checksum [2021-02-22T06:56:40.319Z] 2a8b12db71e7: Download complete [2021-02-22T06:56:40.964Z] 31603596830f: Verifying Checksum [2021-02-22T06:56:40.964Z] 31603596830f: Download complete [2021-02-22T06:56:41.718Z] ecc8261a40a4: Verifying Checksum [2021-02-22T06:56:41.718Z] ecc8261a40a4: Download complete [2021-02-22T06:56:41.718Z] 6ca5941a6612: Verifying Checksum [2021-02-22T06:56:41.718Z] 6ca5941a6612: Download complete [2021-02-22T06:56:42.402Z] 31603596830f: Pull complete [2021-02-22T06:56:42.402Z] 2a8b12db71e7: Pull complete [2021-02-22T06:56:43.569Z] 6ca5941a6612: Pull complete [2021-02-22T06:56:43.918Z] ecc8261a40a4: Pull complete [2021-02-22T06:56:43.918Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-22T06:56:43.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:56:43.918Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-22T06:56:44.586Z] prd-centos7-docker-4c-2g-27129 does not seem to be running inside a container [2021-02-22T06:56:44.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-793 -v /w/workspace/dgexfoundry_device-sdk-go_PR-793:/w/workspace/dgexfoundry_device-sdk-go_PR-793:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-22T06:56:48.519Z] $ docker top c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-22T06:56:49.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T06:56:49.140Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T06:56:49.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T06:56:49.646Z] $ docker exec c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 ssh-agent [2021-02-22T06:56:49.991Z] SSH_AUTH_SOCK=/tmp/ssh-fLwknXvCbbqx/agent.12 [2021-02-22T06:56:49.991Z] SSH_AGENT_PID=18 [2021-02-22T06:56:50.188Z] Running ssh-add (command line suppressed) [2021-02-22T06:56:50.931Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/private_key_6055769057762964611.key (/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/private_key_6055769057762964611.key) [2021-02-22T06:56:51.240Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T06:56:52.103Z] + git tag --points-at HEAD [Pipeline] } [2021-02-22T06:56:52.193Z] $ docker exec --env ******** --env ******** c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 ssh-agent -k [2021-02-22T06:56:52.875Z] unset SSH_AUTH_SOCK; [2021-02-22T06:56:52.876Z] unset SSH_AGENT_PID; [2021-02-22T06:56:52.876Z] echo Agent pid 18 killed; [2021-02-22T06:56:53.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-22T06:56:53.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T06:56:53.232Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T06:56:53.713Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T06:56:53.650Z] $ docker exec c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 ssh-agent [2021-02-22T06:56:53.989Z] SSH_AUTH_SOCK=/tmp/ssh-14A3oMesujFp/agent.47 [2021-02-22T06:56:53.989Z] SSH_AGENT_PID=52 [2021-02-22T06:56:54.121Z] Running ssh-add (command line suppressed) [2021-02-22T06:56:55.537Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/private_key_3952505256254615487.key (/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/private_key_3952505256254615487.key) [2021-02-22T06:56:55.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T06:56:57.069Z] + git semver init [2021-02-22T06:56:57.436Z] # -> Open(): unable to determine branch for HEAD [2021-02-22T06:56:57.436Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-793/.git [2021-02-22T06:56:57.436Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-793 [2021-02-22T06:56:57.436Z] # $SEMVER_REMOTE_NAME = origin [2021-02-22T06:56:57.436Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-22T06:56:57.436Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-22T06:56:57.436Z] # $SEMVER_BRANCH = PR-793 [2021-02-22T06:56:57.436Z] # $SEMVER_TEMP = /tmp/semver-625778215 [2021-02-22T06:56:57.436Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-22T06:56:59.278Z] # '/tmp/semver-625778215' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-793/.semver' [2021-02-22T06:56:59.278Z] # -> Force: false [2021-02-22T06:56:59.278Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-793/.semver [Pipeline] } [2021-02-22T06:56:59.262Z] $ docker exec --env ******** --env ******** c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 ssh-agent -k [2021-02-22T06:57:00.027Z] unset SSH_AUTH_SOCK; [2021-02-22T06:57:00.029Z] unset SSH_AGENT_PID; [2021-02-22T06:57:00.030Z] echo Agent pid 52 killed; [2021-02-22T06:57:00.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-22T06:57:01.333Z] + git semver [Pipeline] } [2021-02-22T06:57:01.343Z] $ docker stop --time=1 c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 [2021-02-22T06:57:04.099Z] $ docker rm -f c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T06:57:05.516Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-22T06:57:06.972Z] Stashed 1 file(s) [Pipeline] echo [2021-02-22T06:57:06.999Z] [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-02-22T06:57:22.836Z] Still waiting to schedule task [2021-02-22T06:57:22.836Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-22T06:57:22.868Z] Still waiting to schedule task [2021-02-22T06:57:22.868Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-22T06:59:03.197Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27130 in /w/workspace/dgexfoundry_device-sdk-go_PR-793 [Pipeline] { [Pipeline] ws [2021-02-22T06:59:03.303Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-22T06:59:08.359Z] using credential edgex-jenkins-ssh [2021-02-22T06:59:08.421Z] Cloning the remote Git repository [2021-02-22T06:59:08.470Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:59:08.580Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-22T06:59:08.657Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:59:08.657Z] > git --version # timeout=10 [2021-02-22T06:59:08.680Z] > git --version # 'git version 2.17.1' [2021-02-22T06:59:08.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:59:08.750Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:59:10.470Z] Merging remotes/origin/master commit 90f0e220c38dfa765b59e93e9c62ca721e898d74 into PR head commit 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [2021-02-22T06:59:10.808Z] Merge succeeded, producing 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [2021-02-22T06:59:10.808Z] Checking out Revision 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d (PR-793) [2021-02-22T06:59:09.810Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:59:09.827Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:59:09.856Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:59:09.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:59:09.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:59:09.909Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/793/head:refs/remotes/origin/PR-793 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-22T06:59:10.486Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T06:59:10.503Z] > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 [2021-02-22T06:59:10.656Z] > git remote # timeout=10 [2021-02-22T06:59:10.713Z] > git config --get remote.origin.url # timeout=10 [2021-02-22T06:59:10.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:59:10.761Z] > git merge 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 [2021-02-22T06:59:10.788Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-22T06:59:10.812Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T06:59:10.832Z] > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 [2021-02-22T06:59:14.980Z] Commit message: "refactor: replace PUT command wording to SET command" [2021-02-22T06:59:15.031Z] > git --version # timeout=10 [2021-02-22T06:59:15.039Z] > git --version # 'git version 2.17.1' [2021-02-22T06:59:15.051Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T06:59:16.931Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:59:17.368Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:59:17.728Z] + sudo+ service docker restart [2021-02-22T06:59:17.728Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-22T06:59:20.497Z] provisioning config files... [2021-02-22T06:59:20.558Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6686937446476540603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:59:21.057Z] ---> docker-login.sh [2021-02-22T06:59:21.057Z] nexus3.edgexfoundry.org:10001 [2021-02-22T06:59:22.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:59:22.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:59:22.324Z] Configure a credential helper to remove this warning. See [2021-02-22T06:59:22.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:59:22.324Z] [2021-02-22T06:59:22.324Z] Login Succeeded [2021-02-22T06:59:22.324Z] nexus3.edgexfoundry.org:10002 [2021-02-22T06:59:22.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:59:22.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:59:22.877Z] Configure a credential helper to remove this warning. See [2021-02-22T06:59:22.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:59:22.877Z] [2021-02-22T06:59:22.877Z] Login Succeeded [2021-02-22T06:59:22.877Z] nexus3.edgexfoundry.org:10003 [2021-02-22T06:59:23.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:59:23.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:59:23.440Z] Configure a credential helper to remove this warning. See [2021-02-22T06:59:23.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:59:23.440Z] [2021-02-22T06:59:23.440Z] Login Succeeded [2021-02-22T06:59:23.440Z] nexus3.edgexfoundry.org:10004 [2021-02-22T06:59:23.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:59:23.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:59:23.988Z] Configure a credential helper to remove this warning. See [2021-02-22T06:59:23.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:59:23.988Z] [2021-02-22T06:59:23.988Z] Login Succeeded [2021-02-22T06:59:23.988Z] docker.io [2021-02-22T06:59:24.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:59:24.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:59:24.532Z] Configure a credential helper to remove this warning. See [2021-02-22T06:59:24.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:59:24.532Z] [2021-02-22T06:59:24.532Z] Login Succeeded [2021-02-22T06:59:24.532Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T06:59:24.576Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-22T06:59:25.180Z] ========================================================= [2021-02-22T06:59:25.181Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-22T06:59:25.181Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:59:25.595Z] + 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-02-22T06:59:25.885Z] Sending build context to Docker daemon 2.408MB [2021-02-22T06:59:26.160Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T06:59:26.160Z] Step 2/8 : FROM ${BASE} [2021-02-22T06:59:26.160Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-22T06:59:26.160Z] 5f621e34cdf4: Pulling fs layer [2021-02-22T06:59:26.160Z] a4357932f1b6: Pulling fs layer [2021-02-22T06:59:26.160Z] 18c013af1878: Pulling fs layer [2021-02-22T06:59:26.160Z] 00ac8860ef70: Pulling fs layer [2021-02-22T06:59:26.160Z] 63d7cb157983: Pulling fs layer [2021-02-22T06:59:26.160Z] b116817d02f9: Pulling fs layer [2021-02-22T06:59:26.160Z] 745a02a5169b: Pulling fs layer [2021-02-22T06:59:26.160Z] 00ac8860ef70: Waiting [2021-02-22T06:59:26.160Z] 63d7cb157983: Waiting [2021-02-22T06:59:26.160Z] b116817d02f9: Waiting [2021-02-22T06:59:26.160Z] 745a02a5169b: Waiting [2021-02-22T06:59:26.160Z] 18c013af1878: Verifying Checksum [2021-02-22T06:59:26.160Z] 18c013af1878: Download complete [2021-02-22T06:59:26.160Z] a4357932f1b6: Download complete [2021-02-22T06:59:26.767Z] 63d7cb157983: Verifying Checksum [2021-02-22T06:59:26.767Z] 63d7cb157983: Download complete [2021-02-22T06:59:26.767Z] b116817d02f9: Download complete [2021-02-22T06:59:26.767Z] 5f621e34cdf4: Download complete [2021-02-22T06:59:27.375Z] 5f621e34cdf4: Pull complete [2021-02-22T06:59:27.979Z] a4357932f1b6: Pull complete [2021-02-22T06:59:28.579Z] 18c013af1878: Pull complete [2021-02-22T06:59:28.853Z] 745a02a5169b: Verifying Checksum [2021-02-22T06:59:28.853Z] 745a02a5169b: Download complete [2021-02-22T06:59:29.826Z] 00ac8860ef70: Download complete [2021-02-22T06:59:39.997Z] 00ac8860ef70: Pull complete [2021-02-22T06:59:39.997Z] 63d7cb157983: Pull complete [2021-02-22T06:59:40.597Z] b116817d02f9: Pull complete [2021-02-22T06:59:42.677Z] Running on prd-centos7-docker-4c-2g-27131 in /w/workspace/dgexfoundry_device-sdk-go_PR-793 [Pipeline] { [Pipeline] ws [2021-02-22T06:59:42.788Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-22T06:59:43.999Z] 745a02a5169b: Pull complete [2021-02-22T06:59:44.272Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-22T06:59:44.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-22T06:59:44.272Z] ---> b7e6874047d6 [2021-02-22T06:59:44.272Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:59:45.144Z] using credential edgex-jenkins-ssh [2021-02-22T06:59:45.201Z] Cloning the remote Git repository [2021-02-22T06:59:45.220Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:59:45.282Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-22T06:59:45.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:59:45.336Z] > git --version # timeout=10 [2021-02-22T06:59:45.342Z] > git --version # 'git version 2.24.3' [2021-02-22T06:59:45.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:59:45.364Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:59:46.017Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:59:46.022Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:59:46.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:59:46.044Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:59:46.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:59:46.049Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/793/head:refs/remotes/origin/PR-793 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-22T06:59:46.511Z] Merging remotes/origin/master commit 90f0e220c38dfa765b59e93e9c62ca721e898d74 into PR head commit 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [2021-02-22T06:59:46.603Z] Merge succeeded, producing 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [2021-02-22T06:59:46.603Z] Checking out Revision 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d (PR-793) [2021-02-22T06:59:46.945Z] ---> Running in 3cb187cfa86c [2021-02-22T06:59:47.220Z] Removing intermediate container 3cb187cfa86c [2021-02-22T06:59:47.220Z] ---> d2232e004ed6 [2021-02-22T06:59:47.220Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T06:59:47.493Z] ---> Running in d0d8196a4cd8 [2021-02-22T06:59:46.517Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T06:59:46.522Z] > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 [2021-02-22T06:59:46.567Z] > git remote # timeout=10 [2021-02-22T06:59:46.572Z] > git config --get remote.origin.url # timeout=10 [2021-02-22T06:59:46.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:59:46.587Z] > git merge 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 [2021-02-22T06:59:46.596Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-22T06:59:46.605Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T06:59:46.610Z] > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 [2021-02-22T06:59:50.135Z] Removing intermediate container d0d8196a4cd8 [2021-02-22T06:59:50.135Z] ---> ff44b32ace28 [2021-02-22T06:59:50.135Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-22T06:59:50.135Z] ---> Running in ed4ade33a4f9 [2021-02-22T06:59:50.157Z] Commit message: "refactor: replace PUT command wording to SET command" [2021-02-22T06:59:50.186Z] > git --version # timeout=10 [2021-02-22T06:59:50.193Z] > git --version # 'git version 2.24.3' [2021-02-22T06:59:50.199Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T06:59:51.144Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-22T06:59:51.687Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:59:51.740Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-22T06:59:52.026Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:59:52.334Z] OK: 142 MiB in 39 packages [2021-02-22T06:59:52.342Z] + sudo service docker restart [2021-02-22T06:59:52.342Z] + true [2021-02-22T06:59:52.342Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [2021-02-22T06:59:53.777Z] Removing intermediate container ed4ade33a4f9 [2021-02-22T06:59:53.777Z] ---> f0203ae734a4 [2021-02-22T06:59:53.777Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-22T06:59:53.777Z] ---> Running in 771ab20d1648 [Pipeline] wrap [2021-02-22T06:59:53.888Z] provisioning config files... [2021-02-22T06:59:53.942Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7613474293027141460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:59:54.374Z] ---> docker-login.sh [2021-02-22T06:59:54.374Z] nexus3.edgexfoundry.org:10001 [2021-02-22T06:59:54.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:59:54.379Z] Removing intermediate container 771ab20d1648 [2021-02-22T06:59:54.379Z] ---> c708ce74aaa7 [2021-02-22T06:59:54.379Z] Step 7/8 : COPY . . [2021-02-22T06:59:54.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:59:54.635Z] Configure a credential helper to remove this warning. See [2021-02-22T06:59:54.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:59:54.635Z] [2021-02-22T06:59:54.635Z] Login Succeeded [2021-02-22T06:59:54.635Z] nexus3.edgexfoundry.org:10002 [2021-02-22T06:59:54.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:59:54.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:59:54.897Z] Configure a credential helper to remove this warning. See [2021-02-22T06:59:54.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:59:54.897Z] [2021-02-22T06:59:54.897Z] Login Succeeded [2021-02-22T06:59:54.897Z] nexus3.edgexfoundry.org:10003 [2021-02-22T06:59:54.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:59:54.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:59:54.897Z] Configure a credential helper to remove this warning. See [2021-02-22T06:59:54.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:59:54.897Z] [2021-02-22T06:59:54.897Z] Login Succeeded [2021-02-22T06:59:54.897Z] nexus3.edgexfoundry.org:10004 [2021-02-22T06:59:55.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:59:55.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:59:55.160Z] Configure a credential helper to remove this warning. See [2021-02-22T06:59:55.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:59:55.160Z] [2021-02-22T06:59:55.160Z] Login Succeeded [2021-02-22T06:59:55.160Z] docker.io [2021-02-22T06:59:55.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:59:55.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:59:55.430Z] Configure a credential helper to remove this warning. See [2021-02-22T06:59:55.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:59:55.430Z] [2021-02-22T06:59:55.430Z] Login Succeeded [2021-02-22T06:59:55.430Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T06:59:55.454Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-02-22T06:59:55.812Z] ---> d4c791f2a2f3 [2021-02-22T06:59:55.812Z] Step 8/8 : RUN go mod download [2021-02-22T06:59:55.812Z] ---> Running in cd9cf476de3b [Pipeline] echo [2021-02-22T06:59:55.968Z] ========================================================= [2021-02-22T06:59:55.968Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-22T06:59:55.968Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:59:56.355Z] + 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-02-22T06:59:56.355Z] Sending build context to Docker daemon 2.409MB [2021-02-22T06:59:56.355Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T06:59:56.355Z] Step 2/8 : FROM ${BASE} [2021-02-22T06:59:56.355Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-22T06:59:56.355Z] 188c0c94c7c5: Pulling fs layer [2021-02-22T06:59:56.355Z] 0ef7d3d256c8: Pulling fs layer [2021-02-22T06:59:56.355Z] de9db76c5a1d: Pulling fs layer [2021-02-22T06:59:56.355Z] bca2f99d35d6: Pulling fs layer [2021-02-22T06:59:56.355Z] 93359f2a8cfa: Pulling fs layer [2021-02-22T06:59:56.355Z] 7c6f9722023f: Pulling fs layer [2021-02-22T06:59:56.355Z] a35cf1a2eb13: Pulling fs layer [2021-02-22T06:59:56.355Z] 93359f2a8cfa: Waiting [2021-02-22T06:59:56.355Z] 7c6f9722023f: Waiting [2021-02-22T06:59:56.355Z] a35cf1a2eb13: Waiting [2021-02-22T06:59:56.355Z] bca2f99d35d6: Waiting [2021-02-22T06:59:56.355Z] de9db76c5a1d: Verifying Checksum [2021-02-22T06:59:56.355Z] de9db76c5a1d: Download complete [2021-02-22T06:59:56.616Z] 0ef7d3d256c8: Verifying Checksum [2021-02-22T06:59:56.616Z] 0ef7d3d256c8: Download complete [2021-02-22T06:59:56.616Z] 93359f2a8cfa: Verifying Checksum [2021-02-22T06:59:56.617Z] 93359f2a8cfa: Download complete [2021-02-22T06:59:56.617Z] 188c0c94c7c5: Verifying Checksum [2021-02-22T06:59:56.617Z] 188c0c94c7c5: Download complete [2021-02-22T06:59:56.617Z] 7c6f9722023f: Verifying Checksum [2021-02-22T06:59:56.617Z] 7c6f9722023f: Download complete [2021-02-22T06:59:56.877Z] 188c0c94c7c5: Pull complete [2021-02-22T06:59:57.140Z] 0ef7d3d256c8: Pull complete [2021-02-22T06:59:57.140Z] de9db76c5a1d: Pull complete [2021-02-22T06:59:58.536Z] a35cf1a2eb13: Verifying Checksum [2021-02-22T06:59:58.536Z] a35cf1a2eb13: Download complete [2021-02-22T06:59:58.800Z] bca2f99d35d6: Verifying Checksum [2021-02-22T06:59:58.800Z] bca2f99d35d6: Download complete [2021-02-22T07:00:04.155Z] bca2f99d35d6: Pull complete [2021-02-22T07:00:04.155Z] 93359f2a8cfa: Pull complete [2021-02-22T07:00:04.155Z] 7c6f9722023f: Pull complete [2021-02-22T07:00:10.799Z] a35cf1a2eb13: Pull complete [2021-02-22T07:00:10.799Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-22T07:00:10.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-22T07:00:10.799Z] ---> a62c8e92a672 [2021-02-22T07:00:10.799Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T07:00:10.799Z] ---> Running in 58071ceef1b1 [2021-02-22T07:00:10.799Z] Removing intermediate container 58071ceef1b1 [2021-02-22T07:00:10.799Z] ---> ce750e86df01 [2021-02-22T07:00:10.799Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T07:00:10.799Z] ---> Running in 213aae0079dc [2021-02-22T07:00:11.379Z] Removing intermediate container 213aae0079dc [2021-02-22T07:00:11.380Z] ---> 6d7abe8bd1e6 [2021-02-22T07:00:11.380Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-22T07:00:11.380Z] ---> Running in 2e0316e2e14a [2021-02-22T07:00:11.956Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-22T07:00:12.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-22T07:00:13.105Z] OK: 166 MiB in 39 packages [2021-02-22T07:00:13.679Z] Removing intermediate container 2e0316e2e14a [2021-02-22T07:00:13.679Z] ---> 9a5d8024a826 [2021-02-22T07:00:13.679Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-22T07:00:13.679Z] ---> Running in 03a690b2a1c0 [2021-02-22T07:00:13.679Z] Removing intermediate container 03a690b2a1c0 [2021-02-22T07:00:13.679Z] ---> e83180a6992f [2021-02-22T07:00:13.679Z] Step 7/8 : COPY . . [2021-02-22T07:00:15.069Z] ---> b54bebf2772d [2021-02-22T07:00:15.069Z] Step 8/8 : RUN go mod download [2021-02-22T07:00:15.069Z] ---> Running in ab6c797cdee4 [2021-02-22T07:00:22.605Z] Removing intermediate container cd9cf476de3b [2021-02-22T07:00:22.605Z] ---> 9e0e2322fda2 [2021-02-22T07:00:22.605Z] Successfully built 9e0e2322fda2 [2021-02-22T07:00:22.605Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:00:23.006Z] + docker inspect -f . ci-base-image-arm64 [2021-02-22T07:00:23.006Z] . [Pipeline] withDockerContainer [2021-02-22T07:00:23.314Z] prd-ubuntu18.04-docker-arm64-4c-16g-27130 does not seem to be running inside a container [2021-02-22T07:00:23.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-22T07:00:24.802Z] $ docker top dfda3220cc624908972e3d35dad4f11eb91d3f236e07bbac01a540bd4ac97bfe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T07:00:25.860Z] + go version [2021-02-22T07:00:25.860Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-22T07:00:25.913Z] $ docker stop --time=1 dfda3220cc624908972e3d35dad4f11eb91d3f236e07bbac01a540bd4ac97bfe [2021-02-22T07:00:27.806Z] $ docker rm -f dfda3220cc624908972e3d35dad4f11eb91d3f236e07bbac01a540bd4ac97bfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:00:29.067Z] + docker inspect -f . ci-base-image-arm64 [2021-02-22T07:00:29.068Z] . [Pipeline] withDockerContainer [2021-02-22T07:00:29.312Z] prd-ubuntu18.04-docker-arm64-4c-16g-27130 does not seem to be running inside a container [2021-02-22T07:00:29.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-22T07:00:30.811Z] $ docker top b89b53172b932fe467c2171224174d39817dc3aa254ab387884d1dc408a45666 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T07:00:31.896Z] + make test [2021-02-22T07:00:31.896Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-22T07:00:33.215Z] Removing intermediate container ab6c797cdee4 [2021-02-22T07:00:33.215Z] ---> c05fc6f90cf9 [2021-02-22T07:00:33.215Z] Successfully built c05fc6f90cf9 [2021-02-22T07:00:33.477Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:00:33.817Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-22T07:00:33.818Z] . [Pipeline] withDockerContainer [2021-02-22T07:00:33.940Z] prd-centos7-docker-4c-2g-27131 does not seem to be running inside a container [2021-02-22T07:00:33.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-02-22T07:00:34.558Z] $ docker top 01599dafa93b125bb26c3fd047ebce7eb2597bc05e6665ab63583f31fce6b17b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T07:00:35.090Z] + go version [2021-02-22T07:00:35.090Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-22T07:00:35.122Z] $ docker stop --time=1 01599dafa93b125bb26c3fd047ebce7eb2597bc05e6665ab63583f31fce6b17b [2021-02-22T07:00:36.443Z] $ docker rm -f 01599dafa93b125bb26c3fd047ebce7eb2597bc05e6665ab63583f31fce6b17b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:00:37.600Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-22T07:00:37.600Z] . [Pipeline] withDockerContainer [2021-02-22T07:00:37.716Z] prd-centos7-docker-4c-2g-27131 does not seem to be running inside a container [2021-02-22T07:00:37.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-02-22T07:00:38.297Z] $ docker top d4ba084c2dc70c01df98dee16b0283eb3cbe3cab93ea004b3620b255e8faa672 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T07:00:38.839Z] + make test [2021-02-22T07:00:38.839Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-22T07:00:45.471Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-22T07:00:54.121Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-22T07:01:00.513Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-22T07:01:00.513Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-22T07:01:00.513Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-22T07:01:03.113Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 25.5% of statements [2021-02-22T07:01:34.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-22T07:01:34.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-22T07:01:34.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-22T07:01:35.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.049s coverage: 10.1% of statements [2021-02-22T07:01:35.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.052s coverage: 12.5% of statements [2021-02-22T07:01:35.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-22T07:01:35.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.058s coverage: 84.8% of statements [2021-02-22T07:01:35.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-22T07:01:35.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-22T07:01:35.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-22T07:01:35.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-22T07:01:35.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.069s coverage: 49.2% of statements [2021-02-22T07:01:35.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-22T07:01:35.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.064s coverage: 81.3% of statements [2021-02-22T07:01:35.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.060s coverage: 24.8% of statements [2021-02-22T07:01:35.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.311s coverage: 83.5% of statements [2021-02-22T07:01:35.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 5.3% of statements [2021-02-22T07:01:35.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-22T07:01:35.282Z] GO111MODULE=on go vet ./... [2021-02-22T07:01:37.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.125s coverage: 25.5% of statements [2021-02-22T07:01:41.950Z] gofmt -l . [2021-02-22T07:01:41.950Z] [ "`gofmt -l .`" = "" ] [2021-02-22T07:01:41.950Z] ./bin/test-attribution-txt.sh [2021-02-22T07:01:41.950Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-22T07:01:41.991Z] $ docker stop --time=1 d4ba084c2dc70c01df98dee16b0283eb3cbe3cab93ea004b3620b255e8faa672 [2021-02-22T07:01:43.734Z] $ docker rm -f d4ba084c2dc70c01df98dee16b0283eb3cbe3cab93ea004b3620b255e8faa672 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T07:01:44.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-22T07:01:44.715Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-22T07:01:47.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-22T07:01:47.703Z] + ls -al . [2021-02-22T07:01:47.703Z] total 184 [2021-02-22T07:01:47.703Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 22 07:01 . [2021-02-22T07:01:47.703Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 22 06:59 .. [2021-02-22T07:01:47.703Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 22 06:59 bin [2021-02-22T07:01:47.703Z] -rw-r--r--. 1 jenkins jenkins 101757 Feb 22 07:01 coverage.out [2021-02-22T07:01:47.703Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 22 06:59 Dockerfile.build [2021-02-22T07:01:47.703Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 22 06:59 .dockerignore [2021-02-22T07:01:47.703Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 22 06:59 example [2021-02-22T07:01:47.703Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 22 06:59 .git [2021-02-22T07:01:47.703Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 22 06:59 .github [2021-02-22T07:01:47.703Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 22 06:59 .gitignore [2021-02-22T07:01:47.703Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 22 07:01 go.mod [2021-02-22T07:01:47.703Z] -rw-r--r--. 1 jenkins jenkins 19062 Feb 22 07:01 go.sum [2021-02-22T07:01:47.703Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 22 06:59 internal [2021-02-22T07:01:47.703Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 22 06:59 Jenkinsfile [2021-02-22T07:01:47.703Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 22 06:59 LICENSE [2021-02-22T07:01:47.703Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 22 06:59 Makefile [2021-02-22T07:01:47.703Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 22 06:59 openapi [2021-02-22T07:01:47.703Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 22 06:59 pkg [2021-02-22T07:01:47.703Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 22 06:59 README.md [2021-02-22T07:01:47.703Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 22 06:59 RELEASE-NOTES.txt [2021-02-22T07:01:47.703Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 22 06:59 snap [2021-02-22T07:01:47.703Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 22 06:57 VERSION [2021-02-22T07:01:47.703Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 22 06:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:01:48.060Z] + 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=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d --label arch=amd64 --label version=0.0.0 . [2021-02-22T07:01:48.060Z] Sending build context to Docker daemon 2.511MB [2021-02-22T07:01:48.060Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T07:01:48.060Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-22T07:01:48.060Z] ---> c05fc6f90cf9 [2021-02-22T07:01:48.060Z] Step 3/24 : ARG MAKE='make build' [2021-02-22T07:01:48.632Z] ---> Running in be38f5bedd31 [2021-02-22T07:01:48.632Z] Removing intermediate container be38f5bedd31 [2021-02-22T07:01:48.632Z] ---> a17734a6d52c [2021-02-22T07:01:48.632Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-22T07:01:48.632Z] ---> Running in c573f94342a0 [2021-02-22T07:01:48.903Z] Removing intermediate container c573f94342a0 [2021-02-22T07:01:48.903Z] ---> 213f47b99b58 [2021-02-22T07:01:48.903Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T07:01:48.903Z] ---> Running in 09bbad45322c [2021-02-22T07:01:48.903Z] Removing intermediate container 09bbad45322c [2021-02-22T07:01:48.903Z] ---> a88cebe72759 [2021-02-22T07:01:48.903Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T07:01:49.164Z] ---> Running in 922f0d1f317c [2021-02-22T07:01:49.740Z] Removing intermediate container 922f0d1f317c [2021-02-22T07:01:49.740Z] ---> e44103e3b35b [2021-02-22T07:01:49.740Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-22T07:01:50.004Z] ---> Running in aaba6fcb3374 [2021-02-22T07:01:50.267Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-22T07:01:50.842Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-22T07:01:51.426Z] OK: 166 MiB in 39 packages [2021-02-22T07:01:51.743Z] Removing intermediate container aaba6fcb3374 [2021-02-22T07:01:51.743Z] ---> e16ccb4d3c78 [2021-02-22T07:01:51.743Z] Step 8/24 : COPY . . [2021-02-22T07:01:52.694Z] ---> 047da52e43ce [2021-02-22T07:01:52.694Z] Step 9/24 : RUN ${MAKE} [2021-02-22T07:01:52.694Z] ---> Running in 5df2db899602 [2021-02-22T07:01:53.291Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-22T07:02:01.616Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-22T07:02:03.012Z] Removing intermediate container 5df2db899602 [2021-02-22T07:02:03.012Z] ---> f0cd5c40b2f5 [2021-02-22T07:02:03.012Z] Step 10/24 : FROM scratch [2021-02-22T07:02:03.012Z] ---> [2021-02-22T07:02:03.012Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T07:02:03.012Z] ---> Running in c868d2939d88 [2021-02-22T07:02:03.012Z] Removing intermediate container c868d2939d88 [2021-02-22T07:02:03.012Z] ---> e4d08026a7e9 [2021-02-22T07:02:03.012Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-22T07:02:03.012Z] ---> Running in 1981b71966d3 [2021-02-22T07:02:03.276Z] Removing intermediate container 1981b71966d3 [2021-02-22T07:02:03.276Z] ---> bdb1675b8557 [2021-02-22T07:02:03.276Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-22T07:02:03.276Z] ---> Running in b32d2ae1b824 [2021-02-22T07:02:03.276Z] Removing intermediate container b32d2ae1b824 [2021-02-22T07:02:03.276Z] ---> ae9f65ad1afa [2021-02-22T07:02:03.276Z] Step 14/24 : WORKDIR / [2021-02-22T07:02:03.276Z] ---> Running in 4c2a64aa857a [2021-02-22T07:02:03.538Z] Removing intermediate container 4c2a64aa857a [2021-02-22T07:02:03.538Z] ---> 2b0232608cec [2021-02-22T07:02:03.538Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-22T07:02:04.113Z] ---> f69c0efab834 [2021-02-22T07:02:04.113Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-22T07:02:04.113Z] ---> d31d3248861c [2021-02-22T07:02:04.113Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-22T07:02:04.375Z] ---> ec7748239e19 [2021-02-22T07:02:04.375Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-22T07:02:04.635Z] ---> 64c8974dc02d [2021-02-22T07:02:04.635Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-22T07:02:04.903Z] ---> ec10d09a9287 [2021-02-22T07:02:04.903Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-22T07:02:04.903Z] ---> Running in c643a3f4e2d8 [2021-02-22T07:02:05.174Z] Removing intermediate container c643a3f4e2d8 [2021-02-22T07:02:05.174Z] ---> 6623d9a02441 [2021-02-22T07:02:05.174Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-22T07:02:05.174Z] ---> Running in ad964cbfc474 [2021-02-22T07:02:05.435Z] Removing intermediate container ad964cbfc474 [2021-02-22T07:02:05.435Z] ---> d036946d6f96 [2021-02-22T07:02:05.435Z] Step 22/24 : LABEL arch=amd64 [2021-02-22T07:02:05.435Z] ---> Running in 147eb8a77a14 [2021-02-22T07:02:05.435Z] Removing intermediate container 147eb8a77a14 [2021-02-22T07:02:05.435Z] ---> be73125ffeaa [2021-02-22T07:02:05.435Z] Step 23/24 : LABEL git_sha=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [2021-02-22T07:02:05.699Z] ---> Running in 3deae8ddbec7 [2021-02-22T07:02:05.960Z] Removing intermediate container 3deae8ddbec7 [2021-02-22T07:02:05.960Z] ---> 119a83c89c2e [2021-02-22T07:02:05.960Z] Step 24/24 : LABEL version=0.0.0 [2021-02-22T07:02:05.960Z] ---> Running in f2fb044141fc [2021-02-22T07:02:06.221Z] Removing intermediate container f2fb044141fc [2021-02-22T07:02:06.221Z] ---> 8d73a4a51063 [2021-02-22T07:02:06.221Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-22T07:02:06.221Z] Successfully built 8d73a4a51063 [2021-02-22T07:02:06.221Z] 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-02-22T07:02:10.270Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.130s coverage: 10.1% of statements [2021-02-22T07:02:10.270Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.129s coverage: 12.5% of statements [2021-02-22T07:02:10.270Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-22T07:02:10.270Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.144s coverage: 84.8% of statements [2021-02-22T07:02:10.270Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-22T07:02:10.270Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-22T07:02:10.270Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-22T07:02:10.270Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-22T07:02:10.270Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.214s coverage: 49.2% of statements [2021-02-22T07:02:10.270Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-22T07:02:10.270Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.195s coverage: 81.3% of statements [2021-02-22T07:02:10.270Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.166s coverage: 24.8% of statements [2021-02-22T07:02:10.270Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.685s coverage: 83.5% of statements [2021-02-22T07:02:10.270Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements [2021-02-22T07:02:10.270Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-22T07:02:10.270Z] GO111MODULE=on go vet ./... [2021-02-22T07:02:42.651Z] gofmt -l . [2021-02-22T07:02:42.651Z] [ "`gofmt -l .`" = "" ] [2021-02-22T07:02:42.651Z] ./bin/test-attribution-txt.sh [2021-02-22T07:02:42.651Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-22T07:02:42.686Z] $ docker stop --time=1 b89b53172b932fe467c2171224174d39817dc3aa254ab387884d1dc408a45666 [2021-02-22T07:02:44.873Z] $ docker rm -f b89b53172b932fe467c2171224174d39817dc3aa254ab387884d1dc408a45666 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T07:02:46.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-22T07:02:46.078Z] Warning: overwriting stash ‘coverage-report’ [2021-02-22T07:02:46.841Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T07:02:47.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-22T07:02:48.081Z] + ls -al . [2021-02-22T07:02:48.081Z] total 220 [2021-02-22T07:02:48.081Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 07:02 . [2021-02-22T07:02:48.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:59 .. [2021-02-22T07:02:48.081Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 06:59 .dockerignore [2021-02-22T07:02:48.081Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 06:59 .git [2021-02-22T07:02:48.081Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 06:59 .github [2021-02-22T07:02:48.081Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 22 06:59 .gitignore [2021-02-22T07:02:48.081Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 22 06:59 Dockerfile.build [2021-02-22T07:02:48.081Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 22 06:59 Jenkinsfile [2021-02-22T07:02:48.081Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 06:59 LICENSE [2021-02-22T07:02:48.081Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 22 06:59 Makefile [2021-02-22T07:02:48.081Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 22 06:59 README.md [2021-02-22T07:02:48.081Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 22 06:59 RELEASE-NOTES.txt [2021-02-22T07:02:48.081Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 06:57 VERSION [2021-02-22T07:02:48.081Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 06:59 bin [2021-02-22T07:02:48.081Z] -rw-r--r-- 1 jenkins jenkins 101757 Feb 22 07:02 coverage.out [2021-02-22T07:02:48.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:59 example [2021-02-22T07:02:48.081Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 22 07:02 go.mod [2021-02-22T07:02:48.081Z] -rw-r--r-- 1 jenkins jenkins 19062 Feb 22 07:02 go.sum [2021-02-22T07:02:48.081Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 06:59 internal [2021-02-22T07:02:48.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:59 openapi [2021-02-22T07:02:48.081Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 06:59 pkg [2021-02-22T07:02:48.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:59 snap [2021-02-22T07:02:48.081Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 06:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:02:48.458Z] + 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=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d --label arch=arm64 --label version=0.0.0 . [2021-02-22T07:02:48.733Z] Sending build context to Docker daemon 2.51MB [2021-02-22T07:02:49.006Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T07:02:49.006Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-22T07:02:49.006Z] ---> 9e0e2322fda2 [2021-02-22T07:02:49.006Z] Step 3/24 : ARG MAKE='make build' [2021-02-22T07:02:49.288Z] ---> Running in b76a99841831 [2021-02-22T07:02:49.559Z] Removing intermediate container b76a99841831 [2021-02-22T07:02:49.559Z] ---> 83f810da0884 [2021-02-22T07:02:49.559Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-22T07:02:49.830Z] ---> Running in 3c6efbfa5499 [2021-02-22T07:02:50.424Z] Removing intermediate container 3c6efbfa5499 [2021-02-22T07:02:50.424Z] ---> 2b79592de1cc [2021-02-22T07:02:50.424Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T07:02:50.424Z] ---> Running in 5946f64011b7 [2021-02-22T07:02:51.018Z] Removing intermediate container 5946f64011b7 [2021-02-22T07:02:51.018Z] ---> b5af558834fe [2021-02-22T07:02:51.018Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T07:02:51.018Z] ---> Running in 20ca9cfd5427 [2021-02-22T07:02:53.035Z] Removing intermediate container 20ca9cfd5427 [2021-02-22T07:02:53.035Z] ---> 0f90159967c9 [2021-02-22T07:02:53.035Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-22T07:02:53.316Z] ---> Running in 127a46a26fbc [2021-02-22T07:02:54.296Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-22T07:02:54.888Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-22T07:02:55.479Z] OK: 142 MiB in 39 packages [2021-02-22T07:02:56.467Z] Removing intermediate container 127a46a26fbc [2021-02-22T07:02:56.467Z] ---> f16a77e8776e [2021-02-22T07:02:56.467Z] Step 8/24 : COPY . . [2021-02-22T07:02:57.905Z] ---> 06e448d269bf [2021-02-22T07:02:57.905Z] Step 9/24 : RUN ${MAKE} [2021-02-22T07:02:57.905Z] ---> Running in 2c367541bfef [2021-02-22T07:02:59.339Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-22T07:03:26.169Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-22T07:03:26.762Z] Removing intermediate container 2c367541bfef [2021-02-22T07:03:26.762Z] ---> 641b9fecffcb [2021-02-22T07:03:26.762Z] Step 10/24 : FROM scratch [2021-02-22T07:03:26.762Z] ---> [2021-02-22T07:03:26.762Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T07:03:27.037Z] ---> Running in d5d8e0437b2e [2021-02-22T07:03:27.307Z] Removing intermediate container d5d8e0437b2e [2021-02-22T07:03:27.307Z] ---> 9d862cbe0385 [2021-02-22T07:03:27.307Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-22T07:03:27.577Z] ---> Running in ba6131b3ebf8 [2021-02-22T07:03:27.848Z] Removing intermediate container ba6131b3ebf8 [2021-02-22T07:03:27.848Z] ---> eaa454e7dab4 [2021-02-22T07:03:27.848Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-22T07:03:27.848Z] ---> Running in f8011fd52687 [2021-02-22T07:03:28.441Z] Removing intermediate container f8011fd52687 [2021-02-22T07:03:28.441Z] ---> 8231dd23a637 [2021-02-22T07:03:28.441Z] Step 14/24 : WORKDIR / [2021-02-22T07:03:28.441Z] ---> Running in 756ccbbd4bd0 [2021-02-22T07:03:29.033Z] Removing intermediate container 756ccbbd4bd0 [2021-02-22T07:03:29.033Z] ---> addd64101e1e [2021-02-22T07:03:29.033Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-22T07:03:30.009Z] ---> cce4ac5f41fc [2021-02-22T07:03:30.009Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-22T07:03:30.607Z] ---> 42bcb9887600 [2021-02-22T07:03:30.607Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-22T07:03:31.587Z] ---> 86f173667d10 [2021-02-22T07:03:31.587Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-22T07:03:32.184Z] ---> d18373cef66b [2021-02-22T07:03:32.184Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-22T07:03:32.778Z] ---> 84bdea3530be [2021-02-22T07:03:32.778Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-22T07:03:33.048Z] ---> Running in 668f657862ff [2021-02-22T07:03:33.643Z] Removing intermediate container 668f657862ff [2021-02-22T07:03:33.643Z] ---> 2b2af5ad0fa6 [2021-02-22T07:03:33.643Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-22T07:03:33.643Z] ---> Running in 755f65cfe444 [2021-02-22T07:03:33.913Z] Removing intermediate container 755f65cfe444 [2021-02-22T07:03:33.913Z] ---> 622908154caf [2021-02-22T07:03:33.913Z] Step 22/24 : LABEL arch=arm64 [2021-02-22T07:03:34.183Z] ---> Running in 19a642d54f2e [2021-02-22T07:03:34.455Z] Removing intermediate container 19a642d54f2e [2021-02-22T07:03:34.455Z] ---> c468baa71fdc [2021-02-22T07:03:34.455Z] Step 23/24 : LABEL git_sha=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [2021-02-22T07:03:34.727Z] ---> Running in 97dd1373fa67 [2021-02-22T07:03:35.001Z] Removing intermediate container 97dd1373fa67 [2021-02-22T07:03:35.001Z] ---> a52b4aafe155 [2021-02-22T07:03:35.001Z] Step 24/24 : LABEL version=0.0.0 [2021-02-22T07:03:35.278Z] ---> Running in fa905c1b2b42 [2021-02-22T07:03:35.873Z] Removing intermediate container fa905c1b2b42 [2021-02-22T07:03:35.873Z] ---> 8484a0333849 [2021-02-22T07:03:35.873Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-22T07:03:35.873Z] Successfully built 8484a0333849 [2021-02-22T07:03:35.873Z] 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-02-22T07:03:38.914Z] provisioning config files... [2021-02-22T07:03:39.055Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/config72983417778309758tmp [Pipeline] { [Pipeline] sh [2021-02-22T07:03:39.641Z] + set +x [2021-02-22T07:03:39.641Z] + curl -s https://codecov.io/bash [2021-02-22T07:03:39.641Z] + bash -s -- [2021-02-22T07:03:40.449Z] [2021-02-22T07:03:40.449Z] _____ _ [2021-02-22T07:03:40.449Z] / ____| | | [2021-02-22T07:03:40.449Z] | | ___ __| | ___ ___ _____ __ [2021-02-22T07:03:40.449Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-22T07:03:40.449Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-22T07:03:40.449Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-22T07:03:40.449Z] Bash-20210129-7c25fce [2021-02-22T07:03:40.449Z] [2021-02-22T07:03:40.449Z] [2021-02-22T07:03:40.449Z] ==> git version 2.24.3 found [2021-02-22T07:03:40.449Z] ==> 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-02-22T07:03:40.449Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-22T07:03:40.449Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-22T07:03:40.449Z] ==> Jenkins CI detected. [2021-02-22T07:03:40.449Z] project root: . [2021-02-22T07:03:40.449Z] --> token set from env [2021-02-22T07:03:40.449Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-22T07:03:40.955Z] ==> Running gcov in . (disable via -X gcov) [2021-02-22T07:03:40.955Z] ==> Python coveragepy not found [2021-02-22T07:03:40.955Z] ==> Searching for coverage reports in: [2021-02-22T07:03:40.955Z] + . [2021-02-22T07:03:40.955Z] -> Found 1 reports [2021-02-22T07:03:40.955Z] ==> Detecting git/mercurial file structure [2021-02-22T07:03:41.290Z] ==> Reading reports [2021-02-22T07:03:41.290Z] + ./coverage.out bytes=101757 [2021-02-22T07:03:41.290Z] ==> Appending adjustments [2021-02-22T07:03:41.290Z] https://docs.codecov.io/docs/fixing-reports [2021-02-22T07:03:41.646Z] + Found adjustments [2021-02-22T07:03:41.646Z] ==> Gzipping contents [2021-02-22T07:03:41.646Z] 20K /tmp/codecov.LSFEr1.gz [2021-02-22T07:03:41.646Z] ==> Uploading reports [2021-02-22T07:03:41.646Z] url: https://codecov.io [2021-02-22T07:03:41.646Z] query: branch=PR-793&commit=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-793%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=793&job=&cmd_args= [2021-02-22T07:03:41.646Z] -> Pinging Codecov [2021-02-22T07:03:41.646Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-793&commit=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-793%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=793&job=&cmd_args= [2021-02-22T07:03:42.685Z] -> Uploading to [2021-02-22T07:03:42.685Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-22/7E55EF52A471D76F132DFD9A03CDDE97/6059ff5b2c4c5f79279fbe58ee7e75523ecba67d/4d28e23f-9cbb-4c5e-9a95-4dc986b9de95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210222T070342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=197391dced80885882c6971e3f1856a12cf8f449594d13c9fa888b373e95332c [2021-02-22T07:03:42.685Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-22T07:03:42.685Z] Dload Upload Total Spent Left Speed [2021-02-22T07:03:44.004Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16512 0 0 100 16512 0 15018 0:00:01 0:00:01 --:--:-- 15024 [2021-02-22T07:03:44.004Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [Pipeline] } [2021-02-22T07:03:44.044Z] 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-02-22T07:03:47.618Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:03:48.509Z] ---> package-listing.sh [2021-02-22T07:03:48.509Z] ++ facter osfamily [2021-02-22T07:03:48.509Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-22T07:03:48.977Z] + OS_FAMILY=redhat [2021-02-22T07:03:48.977Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-793 [2021-02-22T07:03:48.977Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-22T07:03:48.977Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-22T07:03:48.977Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-22T07:03:48.977Z] + PACKAGES=/tmp/packages_start.txt [2021-02-22T07:03:48.977Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-793 ']' [2021-02-22T07:03:48.977Z] + PACKAGES=/tmp/packages_end.txt [2021-02-22T07:03:48.977Z] + case "${OS_FAMILY}" in [2021-02-22T07:03:48.977Z] + sort [2021-02-22T07:03:48.977Z] + rpm -qa [2021-02-22T07:03:59.348Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-22T07:03:59.348Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-22T07:03:59.348Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-22T07:03:59.348Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-793 ']' [2021-02-22T07:03:59.348Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-793/archives/ [2021-02-22T07:03:59.348Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-793/archives/ [Pipeline] echo [2021-02-22T07:03:59.402Z] 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-793/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-22T07:03:59.829Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:04:00.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T07:04:01.233Z] [2021-02-22T07:04:01.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:04:01.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T07:04:03.420Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-22T07:04:03.420Z] df20fa9351a1: Pulling fs layer [2021-02-22T07:04:03.420Z] 36b3adc4ff6f: Pulling fs layer [2021-02-22T07:04:03.420Z] 8ad3a11d3b57: Pulling fs layer [2021-02-22T07:04:03.420Z] 46f8f816bc3b: Pulling fs layer [2021-02-22T07:04:03.420Z] 93b61091891f: Pulling fs layer [2021-02-22T07:04:03.420Z] 93b9cdb0e59b: Pulling fs layer [2021-02-22T07:04:03.420Z] 5e14af77c1be: Pulling fs layer [2021-02-22T07:04:03.420Z] 01666e4c0597: Pulling fs layer [2021-02-22T07:04:03.420Z] aa168da1d23b: Pulling fs layer [2021-02-22T07:04:03.420Z] 46f8f816bc3b: Waiting [2021-02-22T07:04:03.420Z] 93b61091891f: Waiting [2021-02-22T07:04:03.420Z] 93b9cdb0e59b: Waiting [2021-02-22T07:04:03.420Z] 5e14af77c1be: Waiting [2021-02-22T07:04:03.420Z] 01666e4c0597: Waiting [2021-02-22T07:04:03.420Z] aa168da1d23b: Waiting [2021-02-22T07:04:03.420Z] 36b3adc4ff6f: Verifying Checksum [2021-02-22T07:04:03.420Z] 36b3adc4ff6f: Download complete [2021-02-22T07:04:03.420Z] 46f8f816bc3b: Verifying Checksum [2021-02-22T07:04:03.420Z] 46f8f816bc3b: Download complete [2021-02-22T07:04:03.806Z] df20fa9351a1: Verifying Checksum [2021-02-22T07:04:03.806Z] df20fa9351a1: Download complete [2021-02-22T07:04:03.806Z] 93b9cdb0e59b: Verifying Checksum [2021-02-22T07:04:03.806Z] 93b9cdb0e59b: Download complete [2021-02-22T07:04:03.806Z] 5e14af77c1be: Verifying Checksum [2021-02-22T07:04:03.806Z] 5e14af77c1be: Download complete [2021-02-22T07:04:04.089Z] 01666e4c0597: Download complete [2021-02-22T07:04:04.090Z] 93b61091891f: Download complete [2021-02-22T07:04:05.717Z] 8ad3a11d3b57: Verifying Checksum [2021-02-22T07:04:05.717Z] 8ad3a11d3b57: Download complete [2021-02-22T07:04:06.037Z] df20fa9351a1: Pull complete [2021-02-22T07:04:06.753Z] 36b3adc4ff6f: Pull complete [2021-02-22T07:04:11.588Z] 8ad3a11d3b57: Pull complete [2021-02-22T07:04:11.588Z] 46f8f816bc3b: Pull complete [2021-02-22T07:04:12.223Z] 93b61091891f: Pull complete [2021-02-22T07:04:12.223Z] 93b9cdb0e59b: Pull complete [2021-02-22T07:04:12.783Z] 5e14af77c1be: Pull complete [2021-02-22T07:04:13.078Z] 01666e4c0597: Pull complete [2021-02-22T07:04:14.118Z] aa168da1d23b: Verifying Checksum [2021-02-22T07:04:14.118Z] aa168da1d23b: Download complete [2021-02-22T07:04:37.342Z] aa168da1d23b: Pull complete [2021-02-22T07:04:37.342Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-22T07:04:37.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T07:04:37.342Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-22T07:04:39.108Z] prd-centos7-docker-4c-2g-27129 does not seem to be running inside a container [2021-02-22T07:04:39.269Z] $ 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-793/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-793 -v /w/workspace/dgexfoundry_device-sdk-go_PR-793:/w/workspace/dgexfoundry_device-sdk-go_PR-793:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-22T07:04:42.499Z] $ docker top 59f59488fde6f516c99a56f6457e299cc24afafcc977dc3d6b4bf84426e18eb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T07:04:44.208Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-22T07:04:45.458Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-22T07:04:46.368Z] + ls /var/log/sa-host [2021-02-22T07:04:46.368Z] + sadf -c /var/log/sa-host/sa22 [2021-02-22T07:04:46.368Z] file_magic: OK [2021-02-22T07:04:46.369Z] HZ: Using current value: 100 [2021-02-22T07:04:46.369Z] file_header: OK [2021-02-22T07:04:46.369Z] 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-02-22T07:04:46.369Z] Statistics: [2021-02-22T07:04:46.369Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-22T07:04:46.369Z] File successfully converted to sysstat format version 12.2.1 [2021-02-22T07:04:46.369Z] + sadf -c /var/log/sa-host/sa23 [2021-02-22T07:04:46.369Z] file_magic: OK [2021-02-22T07:04:46.369Z] HZ: Using current value: 100 [2021-02-22T07:04:46.369Z] file_header: OK [2021-02-22T07:04:46.369Z] 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-02-22T07:04:46.369Z] Statistics: [2021-02-22T07:04:46.369Z] Hnuu...uuuununununu... [2021-02-22T07:04:46.369Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-22T07:04:46.653Z] provisioning config files... [2021-02-22T07:04:46.686Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/config196507352473915505tmp [Pipeline] { [Pipeline] echo [2021-02-22T07:04:46.805Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:04:47.671Z] ---> create-netrc.sh [Pipeline] } [2021-02-22T07:04:47.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-22T07:04:47.995Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:04:48.952Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-22T07:04:49.093Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:04:49.603Z] ---> sudo-logs.sh [2021-02-22T07:04:49.603Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-22T07:04:49.839Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:04:51.370Z] ---> job-cost.sh [2021-02-22T07:04:51.370Z] lf-activate-venv: SKIPPING [2021-02-22T07:04:51.370Z] INFO: No Stack... [2021-02-22T07:04:52.711Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-22T07:04:53.378Z] INFO: Archiving Costs [Pipeline] echo [2021-02-22T07:04:53.430Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:04:54.919Z] ---> logs-deploy.sh [2021-02-22T07:04:54.919Z] lf-activate-venv: SKIPPING [2021-02-22T07:04:54.919Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-793/1 [2021-02-22T07:04:54.919Z] INFO: archiving workspace using pattern(s): [2021-02-22T07:04:59.264Z] Archives upload complete. [2021-02-22T07:04:59.542Z] INFO: archiving logs to Nexus