Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+859d05bb29d195830a2bef80ceacb337f49ed4c7 (76b5a23c966e6a7f8d5ac20f5113b839f074f694) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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: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: 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27471 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # 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 Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 4617e9eaabedc8cc24114567cc27a326d596fddc Checking out Revision 4617e9eaabedc8cc24114567cc27a326d596fddc (PR-725) 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4617e9eaabedc8cc24114567cc27a326d596fddc # timeout=10 Commit message: "Merge commit '859d05bb29d195830a2bef80ceacb337f49ed4c7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 45407d4645e594665b1339c307ea798f96f80dc7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-24T02:44:11.468Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-24T02:44:11.779Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-24T02:44:11.875Z] ========================================================= [2021-02-24T02:44:11.875Z] EdgeX Global Pipelines Version Info [2021-02-24T02:44:11.875Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:44:13.577Z] ------------------- [2021-02-24T02:44:13.577Z] stable info: [2021-02-24T02:44:13.577Z] ------------------- [2021-02-24T02:44:13.577Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-24T02:44:13.577Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-24T02:44:13.577Z] Message: update stable to v1.0.181 [2021-02-24T02:44:14.526Z] ------------------- [2021-02-24T02:44:14.526Z] experimental info: [2021-02-24T02:44:14.526Z] ------------------- [2021-02-24T02:44:14.526Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-24T02:44:14.526Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-24T02:44:14.526Z] Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-24T02:44:14.814Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-24T02:44:14.925Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-24T02:44:15.014Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-24T02:44:15.102Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-24T02:44:15.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-24T02:44:15.286Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-24T02:44:15.380Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-24T02:44:15.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-24T02:44:15.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-24T02:44:15.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-24T02:44:15.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-24T02:44:15.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-02-24T02:44:15.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-24T02:44:16.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-24T02:44:16.160Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-24T02:44:16.245Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-24T02:44:16.334Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-24T02:44:16.426Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-24T02:44:16.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-24T02:44:16.622Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-24T02:44:16.723Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-24T02:44:16.824Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-24T02:44:16.913Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-24T02:44:17.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-24T02:44:17.091Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-24T02:44:17.179Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-02-24T02:44:17.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-02-24T02:44:17.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-02-24T02:44:17.454Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4617e9eaabedc8cc24114567cc27a326d596fddc [Pipeline] echo [2021-02-24T02:44:17.540Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4617e9e [Pipeline] echo [2021-02-24T02:44:17.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-24T02:44:17.878Z] provisioning config files... [2021-02-24T02:44:17.909Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5404942569197572838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:44:18.263Z] ---> docker-login.sh [2021-02-24T02:44:18.263Z] nexus3.edgexfoundry.org:10001 [2021-02-24T02:44:18.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:44:18.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:44:18.525Z] Configure a credential helper to remove this warning. See [2021-02-24T02:44:18.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:44:18.525Z] [2021-02-24T02:44:18.525Z] Login Succeeded [2021-02-24T02:44:18.525Z] nexus3.edgexfoundry.org:10002 [2021-02-24T02:44:18.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:44:18.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:44:18.789Z] Configure a credential helper to remove this warning. See [2021-02-24T02:44:18.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:44:18.789Z] [2021-02-24T02:44:18.789Z] Login Succeeded [2021-02-24T02:44:18.789Z] nexus3.edgexfoundry.org:10003 [2021-02-24T02:44:19.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:44:19.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:44:19.052Z] Configure a credential helper to remove this warning. See [2021-02-24T02:44:19.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:44:19.052Z] [2021-02-24T02:44:19.052Z] Login Succeeded [2021-02-24T02:44:19.052Z] nexus3.edgexfoundry.org:10004 [2021-02-24T02:44:19.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:44:19.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:44:19.315Z] Configure a credential helper to remove this warning. See [2021-02-24T02:44:19.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:44:19.315Z] [2021-02-24T02:44:19.315Z] Login Succeeded [2021-02-24T02:44:19.315Z] docker.io [2021-02-24T02:44:19.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:44:19.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:44:19.578Z] Configure a credential helper to remove this warning. See [2021-02-24T02:44:19.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:44:19.578Z] [2021-02-24T02:44:19.578Z] Login Succeeded [2021-02-24T02:44:19.578Z] ---> docker-login.sh ends [Pipeline] } [2021-02-24T02:44:19.590Z] 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-24T02:44:20.424Z] + git log --format=format:%s -1 4617e9eaabedc8cc24114567cc27a326d596fddc [Pipeline] echo [2021-02-24T02:44:20.505Z] GIT_COMMIT: 4617e9eaabedc8cc24114567cc27a326d596fddc, Commit Message: Merge commit '859d05bb29d195830a2bef80ceacb337f49ed4c7' into HEAD [Pipeline] echo [2021-02-24T02:44:20.550Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:44:21.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-24T02:44:21.580Z] [2021-02-24T02:44:21.580Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:44:21.929Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-24T02:44:21.929Z] latest: Pulling from edgex-devops/git-semver [2021-02-24T02:44:21.929Z] 31603596830f: Pulling fs layer [2021-02-24T02:44:21.929Z] 2a8b12db71e7: Pulling fs layer [2021-02-24T02:44:21.929Z] 6ca5941a6612: Pulling fs layer [2021-02-24T02:44:21.929Z] ecc8261a40a4: Pulling fs layer [2021-02-24T02:44:21.929Z] ecc8261a40a4: Waiting [2021-02-24T02:44:21.929Z] 2a8b12db71e7: Verifying Checksum [2021-02-24T02:44:21.929Z] 2a8b12db71e7: Download complete [2021-02-24T02:44:22.194Z] 31603596830f: Verifying Checksum [2021-02-24T02:44:22.194Z] 31603596830f: Download complete [2021-02-24T02:44:22.194Z] ecc8261a40a4: Verifying Checksum [2021-02-24T02:44:22.194Z] ecc8261a40a4: Download complete [2021-02-24T02:44:22.194Z] 6ca5941a6612: Verifying Checksum [2021-02-24T02:44:22.194Z] 6ca5941a6612: Download complete [2021-02-24T02:44:22.476Z] 31603596830f: Pull complete [2021-02-24T02:44:22.476Z] 2a8b12db71e7: Pull complete [2021-02-24T02:44:23.446Z] 6ca5941a6612: Pull complete [2021-02-24T02:44:23.708Z] ecc8261a40a4: Pull complete [2021-02-24T02:44:23.708Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-24T02:44:23.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-24T02:44:23.708Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-24T02:44:23.821Z] prd-centos7-docker-4c-2g-27471 does not seem to be running inside a container [2021-02-24T02:44:23.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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-24T02:44:25.920Z] $ docker top afa5b9aa363014d581367f1e9663ce7353917ba9172696574ecd4368ae5a130f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-24T02:44:26.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-24T02:44:26.223Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-24T02:44:26.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-24T02:44:26.430Z] $ docker exec afa5b9aa363014d581367f1e9663ce7353917ba9172696574ecd4368ae5a130f ssh-agent [2021-02-24T02:44:26.595Z] SSH_AUTH_SOCK=/tmp/ssh-N7xAoadbUzVs/agent.11 [2021-02-24T02:44:26.595Z] SSH_AGENT_PID=17 [2021-02-24T02:44:26.604Z] Running ssh-add (command line suppressed) [2021-02-24T02:44:26.717Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5682505737505837248.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5682505737505837248.key) [2021-02-24T02:44:26.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-24T02:44:27.104Z] + git tag --points-at HEAD [Pipeline] } [2021-02-24T02:44:27.126Z] $ docker exec --env ******** --env ******** afa5b9aa363014d581367f1e9663ce7353917ba9172696574ecd4368ae5a130f ssh-agent -k [2021-02-24T02:44:27.250Z] unset SSH_AUTH_SOCK; [2021-02-24T02:44:27.250Z] unset SSH_AGENT_PID; [2021-02-24T02:44:27.250Z] echo Agent pid 17 killed; [2021-02-24T02:44:27.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-24T02:44:27.433Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-24T02:44:27.433Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-24T02:44:27.602Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-24T02:44:27.606Z] $ docker exec afa5b9aa363014d581367f1e9663ce7353917ba9172696574ecd4368ae5a130f ssh-agent [2021-02-24T02:44:27.769Z] SSH_AUTH_SOCK=/tmp/ssh-sQPbtJTYs0SL/agent.47 [2021-02-24T02:44:27.769Z] SSH_AGENT_PID=52 [2021-02-24T02:44:27.776Z] Running ssh-add (command line suppressed) [2021-02-24T02:44:27.899Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1542149687586433793.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1542149687586433793.key) [2021-02-24T02:44:27.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-24T02:44:28.288Z] + git semver init [2021-02-24T02:44:28.288Z] # -> Open(): unable to determine branch for HEAD [2021-02-24T02:44:28.288Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-02-24T02:44:28.288Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-02-24T02:44:28.288Z] # $SEMVER_REMOTE_NAME = origin [2021-02-24T02:44:28.288Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-24T02:44:28.288Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-24T02:44:28.288Z] # $SEMVER_BRANCH = PR-725 [2021-02-24T02:44:28.288Z] # $SEMVER_TEMP = /tmp/semver-174066670 [2021-02-24T02:44:28.288Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-24T02:44:28.863Z] # '/tmp/semver-174066670' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-02-24T02:44:28.863Z] # -> Force: false [2021-02-24T02:44:28.863Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-02-24T02:44:28.875Z] $ docker exec --env ******** --env ******** afa5b9aa363014d581367f1e9663ce7353917ba9172696574ecd4368ae5a130f ssh-agent -k [2021-02-24T02:44:28.989Z] unset SSH_AUTH_SOCK; [2021-02-24T02:44:28.989Z] unset SSH_AGENT_PID; [2021-02-24T02:44:28.989Z] echo Agent pid 52 killed; [2021-02-24T02:44:29.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-24T02:44:29.591Z] + git semver [Pipeline] } [2021-02-24T02:44:29.608Z] $ docker stop --time=1 afa5b9aa363014d581367f1e9663ce7353917ba9172696574ecd4368ae5a130f [2021-02-24T02:44:31.010Z] $ docker rm -f afa5b9aa363014d581367f1e9663ce7353917ba9172696574ecd4368ae5a130f [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-24T02:44:31.488Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-24T02:44:32.054Z] Stashed 1 file(s) [Pipeline] echo [2021-02-24T02:44:32.057Z] [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-24T02:44:47.639Z] Still waiting to schedule task [2021-02-24T02:44:47.639Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-24T02:44:47.647Z] Still waiting to schedule task [2021-02-24T02:44:47.647Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-24T02:47:33.058Z] Running on prd-centos7-docker-4c-2g-27472 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-02-24T02:47:33.146Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2021-02-24T02:47:35.429Z] using credential edgex-jenkins-ssh [2021-02-24T02:47:35.485Z] Cloning the remote Git repository [2021-02-24T02:47:35.515Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-24T02:47:35.587Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2021-02-24T02:47:35.639Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-24T02:47:35.640Z] > git --version # timeout=10 [2021-02-24T02:47:35.648Z] > git --version # 'git version 2.24.3' [2021-02-24T02:47:35.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-24T02:47:35.675Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-24T02:47:36.415Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-24T02:47:36.423Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-24T02:47:36.436Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-24T02:47:36.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-24T02:47:36.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-24T02:47:36.456Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-24T02:47:36.906Z] Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-02-24T02:47:37.089Z] Merge succeeded, producing 2e955d5105536a465a4ee9712e771f02530c6ce8 [2021-02-24T02:47:37.090Z] Checking out Revision 2e955d5105536a465a4ee9712e771f02530c6ce8 (PR-725) [2021-02-24T02:47:36.919Z] > git config core.sparsecheckout # timeout=10 [2021-02-24T02:47:36.926Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-02-24T02:47:36.975Z] > git remote # timeout=10 [2021-02-24T02:47:36.983Z] > git config --get remote.origin.url # timeout=10 [2021-02-24T02:47:36.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-24T02:47:36.996Z] > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 [2021-02-24T02:47:37.087Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-24T02:47:37.096Z] > git config core.sparsecheckout # timeout=10 [2021-02-24T02:47:37.101Z] > git checkout -f 2e955d5105536a465a4ee9712e771f02530c6ce8 # timeout=10 [2021-02-24T02:47:40.705Z] Commit message: "Merge commit '859d05bb29d195830a2bef80ceacb337f49ed4c7' into HEAD" [2021-02-24T02:47:40.720Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-24T02:47:40.714Z] > git rev-list --no-walk 45407d4645e594665b1339c307ea798f96f80dc7 # timeout=10 [2021-02-24T02:47:42.103Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-24T02:47:42.434Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-24T02:47:42.736Z] + sudo service docker restart [2021-02-24T02:47:42.736Z] + true [2021-02-24T02:47:42.736Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-24T02:47:44.226Z] provisioning config files... [2021-02-24T02:47:44.253Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/15@tmp/config7151175799930533139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:47:44.630Z] ---> docker-login.sh [2021-02-24T02:47:44.630Z] nexus3.edgexfoundry.org:10001 [2021-02-24T02:47:44.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:47:44.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:47:44.893Z] Configure a credential helper to remove this warning. See [2021-02-24T02:47:44.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:47:44.893Z] [2021-02-24T02:47:44.893Z] Login Succeeded [2021-02-24T02:47:44.893Z] nexus3.edgexfoundry.org:10002 [2021-02-24T02:47:45.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:47:45.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:47:45.155Z] Configure a credential helper to remove this warning. See [2021-02-24T02:47:45.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:47:45.155Z] [2021-02-24T02:47:45.155Z] Login Succeeded [2021-02-24T02:47:45.155Z] nexus3.edgexfoundry.org:10003 [2021-02-24T02:47:45.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:47:45.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:47:45.419Z] Configure a credential helper to remove this warning. See [2021-02-24T02:47:45.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:47:45.419Z] [2021-02-24T02:47:45.419Z] Login Succeeded [2021-02-24T02:47:45.419Z] nexus3.edgexfoundry.org:10004 [2021-02-24T02:47:45.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:47:45.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:47:45.684Z] Configure a credential helper to remove this warning. See [2021-02-24T02:47:45.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:47:45.684Z] [2021-02-24T02:47:45.684Z] Login Succeeded [2021-02-24T02:47:45.684Z] docker.io [2021-02-24T02:47:45.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:47:45.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:47:45.947Z] Configure a credential helper to remove this warning. See [2021-02-24T02:47:45.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:47:45.947Z] [2021-02-24T02:47:45.947Z] Login Succeeded [2021-02-24T02:47:45.947Z] ---> docker-login.sh ends [Pipeline] } [2021-02-24T02:47:45.958Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-24T02:47:46.313Z] ========================================================= [2021-02-24T02:47:46.313Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-24T02:47:46.313Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:47:46.662Z] + 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-24T02:47:46.936Z] Sending build context to Docker daemon 2.41MB [2021-02-24T02:47:46.936Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-24T02:47:46.936Z] Step 2/8 : FROM ${BASE} [2021-02-24T02:47:46.936Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-24T02:47:46.936Z] 188c0c94c7c5: Pulling fs layer [2021-02-24T02:47:46.936Z] 0ef7d3d256c8: Pulling fs layer [2021-02-24T02:47:46.936Z] de9db76c5a1d: Pulling fs layer [2021-02-24T02:47:46.936Z] bca2f99d35d6: Pulling fs layer [2021-02-24T02:47:46.936Z] 93359f2a8cfa: Pulling fs layer [2021-02-24T02:47:46.936Z] 7c6f9722023f: Pulling fs layer [2021-02-24T02:47:46.936Z] a35cf1a2eb13: Pulling fs layer [2021-02-24T02:47:46.936Z] 93359f2a8cfa: Waiting [2021-02-24T02:47:46.936Z] 7c6f9722023f: Waiting [2021-02-24T02:47:46.936Z] a35cf1a2eb13: Waiting [2021-02-24T02:47:46.936Z] bca2f99d35d6: Waiting [2021-02-24T02:47:46.936Z] de9db76c5a1d: Verifying Checksum [2021-02-24T02:47:46.936Z] de9db76c5a1d: Download complete [2021-02-24T02:47:46.936Z] 0ef7d3d256c8: Verifying Checksum [2021-02-24T02:47:46.936Z] 0ef7d3d256c8: Download complete [2021-02-24T02:47:46.936Z] 93359f2a8cfa: Verifying Checksum [2021-02-24T02:47:46.936Z] 93359f2a8cfa: Download complete [2021-02-24T02:47:46.936Z] 188c0c94c7c5: Verifying Checksum [2021-02-24T02:47:46.936Z] 188c0c94c7c5: Download complete [2021-02-24T02:47:46.936Z] 7c6f9722023f: Verifying Checksum [2021-02-24T02:47:46.936Z] 7c6f9722023f: Download complete [2021-02-24T02:47:47.200Z] 188c0c94c7c5: Pull complete [2021-02-24T02:47:47.463Z] 0ef7d3d256c8: Pull complete [2021-02-24T02:47:47.724Z] de9db76c5a1d: Pull complete [2021-02-24T02:47:49.124Z] a35cf1a2eb13: Verifying Checksum [2021-02-24T02:47:49.124Z] a35cf1a2eb13: Download complete [2021-02-24T02:47:50.090Z] bca2f99d35d6: Verifying Checksum [2021-02-24T02:47:50.090Z] bca2f99d35d6: Download complete [2021-02-24T02:47:55.402Z] bca2f99d35d6: Pull complete [2021-02-24T02:47:55.402Z] 93359f2a8cfa: Pull complete [2021-02-24T02:47:55.402Z] 7c6f9722023f: Pull complete [2021-02-24T02:48:00.707Z] a35cf1a2eb13: Pull complete [2021-02-24T02:48:00.707Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-24T02:48:00.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-24T02:48:00.707Z] ---> a62c8e92a672 [2021-02-24T02:48:00.707Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-24T02:48:00.707Z] ---> Running in 5f6ef97a64fa [2021-02-24T02:48:00.972Z] Removing intermediate container 5f6ef97a64fa [2021-02-24T02:48:00.972Z] ---> 0ea2322f7463 [2021-02-24T02:48:00.972Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-24T02:48:00.972Z] ---> Running in bd26d5cc64c6 [2021-02-24T02:48:01.949Z] Removing intermediate container bd26d5cc64c6 [2021-02-24T02:48:01.949Z] ---> c38caf2c2da7 [2021-02-24T02:48:01.949Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-24T02:48:02.212Z] ---> Running in bae3e3814d53 [2021-02-24T02:48:02.474Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-24T02:48:03.423Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-24T02:48:04.012Z] OK: 166 MiB in 39 packages [2021-02-24T02:48:04.276Z] Removing intermediate container bae3e3814d53 [2021-02-24T02:48:04.276Z] ---> 4b5b772ecf8c [2021-02-24T02:48:04.276Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-24T02:48:04.276Z] ---> Running in a27071ed3075 [2021-02-24T02:48:04.538Z] Removing intermediate container a27071ed3075 [2021-02-24T02:48:04.538Z] ---> 21934f6dc36f [2021-02-24T02:48:04.538Z] Step 7/8 : COPY . . [2021-02-24T02:48:05.932Z] ---> 8f0772c7e208 [2021-02-24T02:48:05.932Z] Step 8/8 : RUN go mod download [2021-02-24T02:48:05.932Z] ---> Running in a7f96ebc1517 [2021-02-24T02:48:24.093Z] Removing intermediate container a7f96ebc1517 [2021-02-24T02:48:24.093Z] ---> a22be051cead [2021-02-24T02:48:24.093Z] Successfully built a22be051cead [2021-02-24T02:48:24.093Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:48:24.418Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-24T02:48:24.418Z] . [Pipeline] withDockerContainer [2021-02-24T02:48:24.537Z] prd-centos7-docker-4c-2g-27472 does not seem to be running inside a container [2021-02-24T02:48:24.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-24T02:48:25.371Z] $ docker top 67dfbd44ee3d0424ea90c50db639f1d19fc9700b108e8bb83c0c79e9a6717030 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-24T02:48:25.843Z] + go version [2021-02-24T02:48:25.843Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-24T02:48:25.900Z] $ docker stop --time=1 67dfbd44ee3d0424ea90c50db639f1d19fc9700b108e8bb83c0c79e9a6717030 [2021-02-24T02:48:27.238Z] $ docker rm -f 67dfbd44ee3d0424ea90c50db639f1d19fc9700b108e8bb83c0c79e9a6717030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:48:28.039Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-24T02:48:28.039Z] . [Pipeline] withDockerContainer [2021-02-24T02:48:28.137Z] prd-centos7-docker-4c-2g-27472 does not seem to be running inside a container [2021-02-24T02:48:28.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-24T02:48:28.280Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27473 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-02-24T02:48:28.798Z] $ docker top de5e82f4c3c32aa5e5ef4420e482a583fe35e5fc0a23e01d8f0c2b12cc5a05bc -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-02-24T02:48:29.072Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2021-02-24T02:48:29.327Z] + make test [2021-02-24T02:48:29.327Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-24T02:48:34.054Z] using credential edgex-jenkins-ssh [2021-02-24T02:48:34.111Z] Cloning the remote Git repository [2021-02-24T02:48:34.175Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-24T02:48:34.285Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2021-02-24T02:48:34.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-24T02:48:34.381Z] > git --version # timeout=10 [2021-02-24T02:48:34.404Z] > git --version # 'git version 2.17.1' [2021-02-24T02:48:34.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-24T02:48:34.457Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-24T02:48:36.244Z] Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-02-24T02:48:36.599Z] Merge succeeded, producing 6a2bc555c8e00fb9dbe230e021580e59e567766f [2021-02-24T02:48:36.600Z] Checking out Revision 6a2bc555c8e00fb9dbe230e021580e59e567766f (PR-725) [2021-02-24T02:48:35.563Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-24T02:48:35.589Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-24T02:48:35.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-24T02:48:35.650Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-24T02:48:35.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-24T02:48:35.663Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-24T02:48:36.261Z] > git config core.sparsecheckout # timeout=10 [2021-02-24T02:48:36.275Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-02-24T02:48:36.386Z] > git remote # timeout=10 [2021-02-24T02:48:36.401Z] > git config --get remote.origin.url # timeout=10 [2021-02-24T02:48:36.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-24T02:48:36.427Z] > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 [2021-02-24T02:48:36.584Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-24T02:48:36.607Z] > git config core.sparsecheckout # timeout=10 [2021-02-24T02:48:36.621Z] > git checkout -f 6a2bc555c8e00fb9dbe230e021580e59e567766f # timeout=10 [2021-02-24T02:48:37.721Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-24T02:48:41.023Z] Commit message: "Merge commit '859d05bb29d195830a2bef80ceacb337f49ed4c7' into HEAD" [2021-02-24T02:48:41.045Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-24T02:48:41.032Z] > git rev-list --no-walk 45407d4645e594665b1339c307ea798f96f80dc7 # timeout=10 [2021-02-24T02:48:42.490Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-24T02:48:42.893Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-24T02:48:43.307Z] + sudo service docker restart [2021-02-24T02:48:43.307Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-24T02:48:46.024Z] provisioning config files... [2021-02-24T02:48:46.066Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/15@tmp/config3950847246562776720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:48:46.500Z] ---> docker-login.sh [2021-02-24T02:48:46.501Z] nexus3.edgexfoundry.org:10001 [2021-02-24T02:48:47.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:48:47.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:48:47.765Z] Configure a credential helper to remove this warning. See [2021-02-24T02:48:47.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:48:47.765Z] [2021-02-24T02:48:47.765Z] Login Succeeded [2021-02-24T02:48:47.765Z] nexus3.edgexfoundry.org:10002 [2021-02-24T02:48:48.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:48:48.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:48:48.315Z] Configure a credential helper to remove this warning. See [2021-02-24T02:48:48.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:48:48.315Z] [2021-02-24T02:48:48.315Z] Login Succeeded [2021-02-24T02:48:48.315Z] nexus3.edgexfoundry.org:10003 [2021-02-24T02:48:48.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:48:48.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:48:48.863Z] Configure a credential helper to remove this warning. See [2021-02-24T02:48:48.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:48:48.863Z] [2021-02-24T02:48:48.863Z] Login Succeeded [2021-02-24T02:48:48.863Z] nexus3.edgexfoundry.org:10004 [2021-02-24T02:48:49.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:48:49.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:48:49.137Z] Configure a credential helper to remove this warning. See [2021-02-24T02:48:49.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:48:49.137Z] [2021-02-24T02:48:49.137Z] Login Succeeded [2021-02-24T02:48:49.413Z] docker.io [2021-02-24T02:48:49.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-24T02:48:49.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-24T02:48:49.955Z] Configure a credential helper to remove this warning. See [2021-02-24T02:48:49.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-24T02:48:49.955Z] [2021-02-24T02:48:49.955Z] Login Succeeded [2021-02-24T02:48:49.955Z] ---> docker-login.sh ends [Pipeline] } [2021-02-24T02:48:49.973Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-24T02:48:50.405Z] ========================================================= [2021-02-24T02:48:50.405Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-24T02:48:50.405Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:48:50.779Z] + 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-24T02:48:51.054Z] Sending build context to Docker daemon 2.418MB [2021-02-24T02:48:51.329Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-24T02:48:51.329Z] Step 2/8 : FROM ${BASE} [2021-02-24T02:48:51.329Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-24T02:48:51.329Z] 5f621e34cdf4: Pulling fs layer [2021-02-24T02:48:51.329Z] a4357932f1b6: Pulling fs layer [2021-02-24T02:48:51.329Z] 18c013af1878: Pulling fs layer [2021-02-24T02:48:51.329Z] 00ac8860ef70: Pulling fs layer [2021-02-24T02:48:51.329Z] 63d7cb157983: Pulling fs layer [2021-02-24T02:48:51.329Z] b116817d02f9: Pulling fs layer [2021-02-24T02:48:51.329Z] 745a02a5169b: Pulling fs layer [2021-02-24T02:48:51.329Z] 63d7cb157983: Waiting [2021-02-24T02:48:51.329Z] b116817d02f9: Waiting [2021-02-24T02:48:51.329Z] 745a02a5169b: Waiting [2021-02-24T02:48:51.329Z] 00ac8860ef70: Waiting [2021-02-24T02:48:51.329Z] 18c013af1878: Verifying Checksum [2021-02-24T02:48:51.329Z] 18c013af1878: Download complete [2021-02-24T02:48:51.329Z] a4357932f1b6: Verifying Checksum [2021-02-24T02:48:51.329Z] a4357932f1b6: Download complete [2021-02-24T02:48:51.329Z] 63d7cb157983: Verifying Checksum [2021-02-24T02:48:51.329Z] 63d7cb157983: Download complete [2021-02-24T02:48:51.329Z] b116817d02f9: Verifying Checksum [2021-02-24T02:48:51.329Z] b116817d02f9: Download complete [2021-02-24T02:48:51.606Z] 5f621e34cdf4: Download complete [2021-02-24T02:48:52.211Z] 5f621e34cdf4: Pull complete [2021-02-24T02:48:52.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-24T02:48:52.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-24T02:48:52.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-24T02:48:52.816Z] a4357932f1b6: Pull complete [2021-02-24T02:48:53.092Z] 18c013af1878: Pull complete [2021-02-24T02:48:53.697Z] 745a02a5169b: Verifying Checksum [2021-02-24T02:48:53.697Z] 745a02a5169b: Download complete [2021-02-24T02:48:54.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 25.5% of statements [2021-02-24T02:48:55.145Z] 00ac8860ef70: Verifying Checksum [2021-02-24T02:48:55.145Z] 00ac8860ef70: Download complete [2021-02-24T02:49:05.344Z] 00ac8860ef70: Pull complete [2021-02-24T02:49:05.344Z] 63d7cb157983: Pull complete [2021-02-24T02:49:05.344Z] b116817d02f9: Pull complete [2021-02-24T02:49:08.750Z] 745a02a5169b: Pull complete [2021-02-24T02:49:08.750Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-24T02:49:08.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-24T02:49:08.750Z] ---> b7e6874047d6 [2021-02-24T02:49:08.750Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-24T02:49:11.392Z] ---> Running in 455621fdaf5c [2021-02-24T02:49:11.666Z] Removing intermediate container 455621fdaf5c [2021-02-24T02:49:11.666Z] ---> 619a52fcae16 [2021-02-24T02:49:11.666Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-24T02:49:11.941Z] ---> Running in ce3f8651c089 [2021-02-24T02:49:13.932Z] Removing intermediate container ce3f8651c089 [2021-02-24T02:49:13.932Z] ---> acd35a7c95a4 [2021-02-24T02:49:13.932Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-24T02:49:14.208Z] ---> Running in de8005d78f1a [2021-02-24T02:49:15.190Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-24T02:49:16.166Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-24T02:49:16.769Z] OK: 142 MiB in 39 packages [2021-02-24T02:49:17.761Z] Removing intermediate container de8005d78f1a [2021-02-24T02:49:17.762Z] ---> 109f7426ae92 [2021-02-24T02:49:17.762Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-24T02:49:18.034Z] ---> Running in 144370b0db3d [2021-02-24T02:49:18.632Z] Removing intermediate container 144370b0db3d [2021-02-24T02:49:18.632Z] ---> 8c808e88cf68 [2021-02-24T02:49:18.632Z] Step 7/8 : COPY . . [2021-02-24T02:49:19.607Z] ---> 4e457386da69 [2021-02-24T02:49:19.607Z] Step 8/8 : RUN go mod download [2021-02-24T02:49:19.882Z] ---> Running in 4b1d907f3243 [2021-02-24T02:49:26.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.057s coverage: 10.1% of statements [2021-02-24T02:49:26.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.069s coverage: 12.5% of statements [2021-02-24T02:49:26.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-24T02:49:26.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.061s coverage: 84.8% of statements [2021-02-24T02:49:26.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-24T02:49:26.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-24T02:49:26.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-24T02:49:26.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-24T02:49:26.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 49.2% of statements [2021-02-24T02:49:26.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-24T02:49:26.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.068s coverage: 81.3% of statements [2021-02-24T02:49:26.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.072s coverage: 24.8% of statements [2021-02-24T02:49:26.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.290s coverage: 83.5% of statements [2021-02-24T02:49:26.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.079s coverage: 5.3% of statements [2021-02-24T02:49:26.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-24T02:49:26.912Z] GO111MODULE=on go vet ./... [2021-02-24T02:49:33.585Z] gofmt -l . [2021-02-24T02:49:33.585Z] [ "`gofmt -l .`" = "" ] [2021-02-24T02:49:33.585Z] ./bin/test-attribution-txt.sh [2021-02-24T02:49:33.849Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-24T02:49:34.136Z] $ docker stop --time=1 de5e82f4c3c32aa5e5ef4420e482a583fe35e5fc0a23e01d8f0c2b12cc5a05bc [2021-02-24T02:49:36.090Z] $ docker rm -f de5e82f4c3c32aa5e5ef4420e482a583fe35e5fc0a23e01d8f0c2b12cc5a05bc [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-24T02:49:36.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-24T02:49:37.189Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-24T02:49:40.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-24T02:49:40.324Z] + ls -al . [2021-02-24T02:49:40.324Z] total 184 [2021-02-24T02:49:40.324Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 24 02:49 . [2021-02-24T02:49:40.324Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 24 02:47 .. [2021-02-24T02:49:40.324Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 24 02:47 bin [2021-02-24T02:49:40.324Z] -rw-r--r--. 1 jenkins jenkins 101757 Feb 24 02:49 coverage.out [2021-02-24T02:49:40.324Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 24 02:47 Dockerfile.build [2021-02-24T02:49:40.324Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 24 02:47 .dockerignore [2021-02-24T02:49:40.324Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 24 02:47 example [2021-02-24T02:49:40.324Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 24 02:47 .git [2021-02-24T02:49:40.324Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 24 02:47 .github [2021-02-24T02:49:40.324Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 24 02:47 .gitignore [2021-02-24T02:49:40.324Z] -rw-r--r--. 1 jenkins jenkins 516 Feb 24 02:49 go.mod [2021-02-24T02:49:40.324Z] -rw-r--r--. 1 jenkins jenkins 17254 Feb 24 02:49 go.sum [2021-02-24T02:49:40.324Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 24 02:47 internal [2021-02-24T02:49:40.324Z] -rw-rw-r--. 1 jenkins jenkins 894 Feb 24 02:47 Jenkinsfile [2021-02-24T02:49:40.324Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 24 02:47 LICENSE [2021-02-24T02:49:40.324Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 24 02:47 Makefile [2021-02-24T02:49:40.324Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 24 02:47 openapi [2021-02-24T02:49:40.324Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 24 02:47 pkg [2021-02-24T02:49:40.324Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 24 02:47 README.md [2021-02-24T02:49:40.324Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 24 02:47 RELEASE-NOTES.txt [2021-02-24T02:49:40.324Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 24 02:47 snap [2021-02-24T02:49:40.324Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 24 02:44 VERSION [2021-02-24T02:49:40.324Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 24 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:49:40.636Z] + docker build -t 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=4617e9eaabedc8cc24114567cc27a326d596fddc --label arch=amd64 --label version=0.0.0 . [2021-02-24T02:49:40.903Z] Sending build context to Docker daemon 2.512MB [2021-02-24T02:49:40.903Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-24T02:49:40.903Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-24T02:49:40.903Z] ---> a22be051cead [2021-02-24T02:49:40.903Z] Step 3/24 : ARG MAKE='make build' [2021-02-24T02:49:41.525Z] ---> Running in 15e56c6be326 [2021-02-24T02:49:41.525Z] Removing intermediate container 15e56c6be326 [2021-02-24T02:49:41.525Z] ---> 40674a9e9017 [2021-02-24T02:49:41.525Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-24T02:49:41.799Z] ---> Running in dbbee8e572b2 [2021-02-24T02:49:41.799Z] Removing intermediate container dbbee8e572b2 [2021-02-24T02:49:41.799Z] ---> 35afa7104059 [2021-02-24T02:49:41.799Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-24T02:49:42.083Z] ---> Running in a1a8d3bec251 [2021-02-24T02:49:42.083Z] Removing intermediate container a1a8d3bec251 [2021-02-24T02:49:42.083Z] ---> 1e0f6e17b7f9 [2021-02-24T02:49:42.083Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-24T02:49:42.083Z] ---> Running in 4a2b19e6f461 [2021-02-24T02:49:43.493Z] Removing intermediate container 4a2b19e6f461 [2021-02-24T02:49:43.493Z] ---> f6212badd8ca [2021-02-24T02:49:43.493Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-24T02:49:43.493Z] ---> Running in d4b2aae0446c [2021-02-24T02:49:43.756Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-24T02:49:44.331Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-24T02:49:44.910Z] OK: 166 MiB in 39 packages [2021-02-24T02:49:45.484Z] Removing intermediate container d4b2aae0446c [2021-02-24T02:49:45.484Z] ---> be20a84c13ba [2021-02-24T02:49:45.484Z] Step 8/24 : COPY . . [2021-02-24T02:49:46.433Z] ---> 9a574bbc4b88 [2021-02-24T02:49:46.433Z] Step 9/24 : RUN ${MAKE} [2021-02-24T02:49:46.433Z] ---> Running in 43a2ddd252c8 [2021-02-24T02:49:46.715Z] Removing intermediate container 4b1d907f3243 [2021-02-24T02:49:46.715Z] ---> df8c9fd49555 [2021-02-24T02:49:46.715Z] Successfully built df8c9fd49555 [2021-02-24T02:49:46.715Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:49:47.023Z] 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-24T02:49:47.058Z] + docker inspect -f . ci-base-image-arm64 [2021-02-24T02:49:47.058Z] . [Pipeline] withDockerContainer [2021-02-24T02:49:47.329Z] prd-ubuntu18.04-docker-arm64-4c-16g-27473 does not seem to be running inside a container [2021-02-24T02:49:47.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-24T02:49:48.964Z] $ docker top 02da1cc3c8fe8ab6f39b8a3ec5e978e6131dad4829a658a5183bcc8274dff61f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-24T02:49:49.993Z] + go version [2021-02-24T02:49:49.993Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-24T02:49:50.018Z] $ docker stop --time=1 02da1cc3c8fe8ab6f39b8a3ec5e978e6131dad4829a658a5183bcc8274dff61f [2021-02-24T02:49:51.964Z] $ docker rm -f 02da1cc3c8fe8ab6f39b8a3ec5e978e6131dad4829a658a5183bcc8274dff61f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:49:52.908Z] + docker inspect -f . ci-base-image-arm64 [2021-02-24T02:49:52.908Z] . [Pipeline] withDockerContainer [2021-02-24T02:49:53.136Z] prd-ubuntu18.04-docker-arm64-4c-16g-27473 does not seem to be running inside a container [2021-02-24T02:49:53.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-24T02:49:54.700Z] $ docker top 98ff29b968edf67a6cee15990d7ce28fbb7e496d38a275bd355ca98029bf480f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-24T02:49:55.336Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-24T02:49:55.720Z] + make test [2021-02-24T02:49:55.720Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-24T02:49:57.899Z] Removing intermediate container 43a2ddd252c8 [2021-02-24T02:49:57.899Z] ---> c241ccb02b6b [2021-02-24T02:49:57.899Z] Step 10/24 : FROM scratch [2021-02-24T02:49:57.899Z] ---> [2021-02-24T02:49:57.899Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-24T02:49:57.899Z] ---> Running in bc71b4d777fa [2021-02-24T02:49:57.899Z] Removing intermediate container bc71b4d777fa [2021-02-24T02:49:57.899Z] ---> 8d6a6f516d60 [2021-02-24T02:49:57.899Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-24T02:49:57.899Z] ---> Running in 10f456631fd1 [2021-02-24T02:49:57.899Z] Removing intermediate container 10f456631fd1 [2021-02-24T02:49:57.899Z] ---> 33f7dd9be925 [2021-02-24T02:49:57.899Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-24T02:49:57.899Z] ---> Running in 89e76fc43634 [2021-02-24T02:49:58.170Z] Removing intermediate container 89e76fc43634 [2021-02-24T02:49:58.170Z] ---> 7a75d33a80f4 [2021-02-24T02:49:58.170Z] Step 14/24 : WORKDIR / [2021-02-24T02:49:58.170Z] ---> Running in b9b83fd5de2f [2021-02-24T02:49:58.170Z] Removing intermediate container b9b83fd5de2f [2021-02-24T02:49:58.170Z] ---> b2578613eb7a [2021-02-24T02:49:58.170Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-24T02:49:58.745Z] ---> 527d49f35367 [2021-02-24T02:49:58.745Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-24T02:49:59.010Z] ---> ee1fdba8c6a4 [2021-02-24T02:49:59.010Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-24T02:49:59.272Z] ---> d1f12e164102 [2021-02-24T02:49:59.272Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-24T02:49:59.535Z] ---> 9d1f9a06df6b [2021-02-24T02:49:59.535Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-24T02:49:59.798Z] ---> 6365acfef01c [2021-02-24T02:49:59.798Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-24T02:49:59.798Z] ---> Running in c70d54b94ce6 [2021-02-24T02:50:00.063Z] Removing intermediate container c70d54b94ce6 [2021-02-24T02:50:00.063Z] ---> 28812022f223 [2021-02-24T02:50:00.063Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-24T02:50:00.063Z] ---> Running in c072de17d138 [2021-02-24T02:50:01.011Z] Removing intermediate container c072de17d138 [2021-02-24T02:50:01.011Z] ---> 084c379f1081 [2021-02-24T02:50:01.011Z] Step 22/24 : LABEL arch=amd64 [2021-02-24T02:50:01.011Z] ---> Running in f583c242c800 [2021-02-24T02:50:01.011Z] Removing intermediate container f583c242c800 [2021-02-24T02:50:01.011Z] ---> 70f576d31ca0 [2021-02-24T02:50:01.011Z] Step 23/24 : LABEL git_sha=4617e9eaabedc8cc24114567cc27a326d596fddc [2021-02-24T02:50:01.277Z] ---> Running in 590ccbd89766 [2021-02-24T02:50:01.277Z] Removing intermediate container 590ccbd89766 [2021-02-24T02:50:01.277Z] ---> 21cc60265aab [2021-02-24T02:50:01.277Z] Step 24/24 : LABEL version=0.0.0 [2021-02-24T02:50:01.541Z] ---> Running in 383e7d873516 [2021-02-24T02:50:01.541Z] Removing intermediate container 383e7d873516 [2021-02-24T02:50:01.541Z] ---> 014c9188adc4 [2021-02-24T02:50:01.541Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-24T02:50:01.541Z] Successfully built 014c9188adc4 [2021-02-24T02:50:01.541Z] Successfully tagged 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:50:02.587Z] ---> job-cost.sh [2021-02-24T02:50:02.587Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-j1aj [2021-02-24T02:50:17.537Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-24T02:50:17.894Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-24T02:50:49.736Z] lf-activate-venv(): INFO: Adding /tmp/venv-j1aj/bin to PATH [2021-02-24T02:50:49.736Z] INFO: No Stack... [2021-02-24T02:50:49.736Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-24T02:50:49.736Z] INFO: Archiving Costs [Pipeline] sh [2021-02-24T02:50:50.048Z] + cat /w/workspace/device-sdk-go/15/archives/cost.csv [2021-02-24T02:50:50.048Z] + cut -d, -f6 [Pipeline] lock [2021-02-24T02:50:50.129Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-15-stack-cost] [2021-02-24T02:50:50.142Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-15-stack-cost] did not exist. Created. [2021-02-24T02:50:50.142Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-24T02:50:50.590Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-02-24T02:50:50.735Z] Stashed 1 file(s) [Pipeline] } [2021-02-24T02:50:50.757Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-15-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-24T02:50:56.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-24T02:50:56.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-24T02:50:56.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-24T02:51:01.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.145s coverage: 25.5% of statements [2021-02-24T02:51:33.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.117s coverage: 10.1% of statements [2021-02-24T02:51:33.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.107s coverage: 12.5% of statements [2021-02-24T02:51:33.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-24T02:51:33.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.168s coverage: 84.8% of statements [2021-02-24T02:51:33.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-24T02:51:33.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-24T02:51:33.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-24T02:51:33.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-24T02:51:33.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.204s coverage: 49.2% of statements [2021-02-24T02:51:33.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-24T02:51:33.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.156s coverage: 81.3% of statements [2021-02-24T02:51:33.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.174s coverage: 24.8% of statements [2021-02-24T02:51:33.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.905s coverage: 83.5% of statements [2021-02-24T02:51:33.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 5.3% of statements [2021-02-24T02:51:33.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-24T02:51:33.642Z] GO111MODULE=on go vet ./... [2021-02-24T02:52:06.249Z] gofmt -l . [2021-02-24T02:52:06.249Z] [ "`gofmt -l .`" = "" ] [2021-02-24T02:52:06.249Z] ./bin/test-attribution-txt.sh [2021-02-24T02:52:06.249Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-24T02:52:06.278Z] $ docker stop --time=1 98ff29b968edf67a6cee15990d7ce28fbb7e496d38a275bd355ca98029bf480f [2021-02-24T02:52:08.615Z] $ docker rm -f 98ff29b968edf67a6cee15990d7ce28fbb7e496d38a275bd355ca98029bf480f [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-24T02:52:09.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-24T02:52:09.758Z] Warning: overwriting stash ‘coverage-report’ [2021-02-24T02:52:10.536Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-24T02:52:11.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-24T02:52:11.660Z] + ls -al . [2021-02-24T02:52:11.660Z] total 220 [2021-02-24T02:52:11.660Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 02:52 . [2021-02-24T02:52:11.660Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 02:48 .. [2021-02-24T02:52:11.660Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 02:48 .dockerignore [2021-02-24T02:52:11.660Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 02:48 .git [2021-02-24T02:52:11.660Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 02:48 .github [2021-02-24T02:52:11.660Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 24 02:48 .gitignore [2021-02-24T02:52:11.660Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 24 02:48 Dockerfile.build [2021-02-24T02:52:11.660Z] -rw-rw-r-- 1 jenkins jenkins 894 Feb 24 02:48 Jenkinsfile [2021-02-24T02:52:11.660Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 02:48 LICENSE [2021-02-24T02:52:11.660Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 24 02:48 Makefile [2021-02-24T02:52:11.660Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 24 02:48 README.md [2021-02-24T02:52:11.660Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 24 02:48 RELEASE-NOTES.txt [2021-02-24T02:52:11.660Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 02:44 VERSION [2021-02-24T02:52:11.660Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 02:48 bin [2021-02-24T02:52:11.660Z] -rw-r--r-- 1 jenkins jenkins 101758 Feb 24 02:51 coverage.out [2021-02-24T02:52:11.660Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 02:48 example [2021-02-24T02:52:11.660Z] -rw-r--r-- 1 jenkins jenkins 516 Feb 24 02:52 go.mod [2021-02-24T02:52:11.660Z] -rw-r--r-- 1 jenkins jenkins 17254 Feb 24 02:52 go.sum [2021-02-24T02:52:11.660Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 24 02:48 internal [2021-02-24T02:52:11.660Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 02:48 openapi [2021-02-24T02:52:11.660Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 02:48 pkg [2021-02-24T02:52:11.660Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 02:48 snap [2021-02-24T02:52:11.660Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 02:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:52:12.008Z] + docker build -t 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=4617e9eaabedc8cc24114567cc27a326d596fddc --label arch=arm64 --label version=0.0.0 . [2021-02-24T02:52:12.285Z] Sending build context to Docker daemon 2.52MB [2021-02-24T02:52:12.285Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-24T02:52:12.285Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-24T02:52:12.286Z] ---> df8c9fd49555 [2021-02-24T02:52:12.286Z] Step 3/24 : ARG MAKE='make build' [2021-02-24T02:52:12.567Z] ---> Running in cb7f7a6660d0 [2021-02-24T02:52:13.158Z] Removing intermediate container cb7f7a6660d0 [2021-02-24T02:52:13.158Z] ---> 38f35de646f5 [2021-02-24T02:52:13.158Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-24T02:52:13.158Z] ---> Running in 76e8f82a281d [2021-02-24T02:52:13.755Z] Removing intermediate container 76e8f82a281d [2021-02-24T02:52:13.755Z] ---> a3481fee4778 [2021-02-24T02:52:13.755Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-24T02:52:13.755Z] ---> Running in e7403525a2d5 [2021-02-24T02:52:14.353Z] Removing intermediate container e7403525a2d5 [2021-02-24T02:52:14.353Z] ---> be9238b0901b [2021-02-24T02:52:14.353Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-24T02:52:14.353Z] ---> Running in 19feb74567a3 [2021-02-24T02:52:16.333Z] Removing intermediate container 19feb74567a3 [2021-02-24T02:52:16.333Z] ---> 60e380dae811 [2021-02-24T02:52:16.333Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-24T02:52:16.333Z] ---> Running in 3fcb47502722 [2021-02-24T02:52:17.312Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-24T02:52:18.285Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-24T02:52:18.880Z] OK: 142 MiB in 39 packages [2021-02-24T02:52:20.328Z] Removing intermediate container 3fcb47502722 [2021-02-24T02:52:20.328Z] ---> 908cd6281b96 [2021-02-24T02:52:20.328Z] Step 8/24 : COPY . . [2021-02-24T02:52:21.302Z] ---> cd7fc1413dbe [2021-02-24T02:52:21.302Z] Step 9/24 : RUN ${MAKE} [2021-02-24T02:52:21.575Z] ---> Running in f49cded313c2 [2021-02-24T02:52:22.552Z] 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-24T02:52:49.343Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-24T02:52:49.684Z] Removing intermediate container f49cded313c2 [2021-02-24T02:52:49.684Z] ---> e44172b33db3 [2021-02-24T02:52:49.684Z] Step 10/24 : FROM scratch [2021-02-24T02:52:49.684Z] ---> [2021-02-24T02:52:49.684Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-24T02:52:49.958Z] ---> Running in 124742817ff9 [2021-02-24T02:52:50.231Z] Removing intermediate container 124742817ff9 [2021-02-24T02:52:50.231Z] ---> 6b6b2986bb0b [2021-02-24T02:52:50.231Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-24T02:52:50.505Z] ---> Running in be3c05fa5f9c [2021-02-24T02:52:51.098Z] Removing intermediate container be3c05fa5f9c [2021-02-24T02:52:51.098Z] ---> 2bc30fa8ee25 [2021-02-24T02:52:51.098Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-24T02:52:51.098Z] ---> Running in 8c5e64cab442 [2021-02-24T02:52:51.374Z] Removing intermediate container 8c5e64cab442 [2021-02-24T02:52:51.374Z] ---> d9f30933d006 [2021-02-24T02:52:51.374Z] Step 14/24 : WORKDIR / [2021-02-24T02:52:51.650Z] ---> Running in 282abd9b7aa5 [2021-02-24T02:52:51.923Z] Removing intermediate container 282abd9b7aa5 [2021-02-24T02:52:51.923Z] ---> f95a974deff6 [2021-02-24T02:52:51.923Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-24T02:52:53.365Z] ---> 1129f4edf0b9 [2021-02-24T02:52:53.365Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-24T02:52:53.959Z] ---> 5e797673754a [2021-02-24T02:52:53.959Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-24T02:52:54.555Z] ---> 9ad6a4650897 [2021-02-24T02:52:54.555Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-24T02:52:55.151Z] ---> 785111cfae95 [2021-02-24T02:52:55.151Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-24T02:52:56.128Z] ---> 89880f44d270 [2021-02-24T02:52:56.128Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-24T02:52:56.128Z] ---> Running in f3a2d8075748 [2021-02-24T02:52:56.401Z] Removing intermediate container f3a2d8075748 [2021-02-24T02:52:56.401Z] ---> 6002c9f755cc [2021-02-24T02:52:56.401Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-24T02:52:56.674Z] ---> Running in 5a621a2cbf65 [2021-02-24T02:52:56.946Z] Removing intermediate container 5a621a2cbf65 [2021-02-24T02:52:56.946Z] ---> 8146ba086be4 [2021-02-24T02:52:56.946Z] Step 22/24 : LABEL arch=arm64 [2021-02-24T02:52:57.218Z] ---> Running in 8ad685e79f73 [2021-02-24T02:52:57.812Z] Removing intermediate container 8ad685e79f73 [2021-02-24T02:52:57.812Z] ---> 0315d1cb2e92 [2021-02-24T02:52:57.812Z] Step 23/24 : LABEL git_sha=4617e9eaabedc8cc24114567cc27a326d596fddc [2021-02-24T02:52:57.812Z] ---> Running in bcc401ddb5b3 [2021-02-24T02:52:58.406Z] Removing intermediate container bcc401ddb5b3 [2021-02-24T02:52:58.406Z] ---> 208d8a51f00b [2021-02-24T02:52:58.406Z] Step 24/24 : LABEL version=0.0.0 [2021-02-24T02:52:58.406Z] ---> Running in 2dbe03cdd3a4 [2021-02-24T02:52:59.002Z] Removing intermediate container 2dbe03cdd3a4 [2021-02-24T02:52:59.002Z] ---> 6d43f1d5bdf6 [2021-02-24T02:52:59.002Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-24T02:52:59.002Z] Successfully built 6d43f1d5bdf6 [2021-02-24T02:52:59.002Z] Successfully tagged 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:52:59.853Z] ---> job-cost.sh [2021-02-24T02:52:59.853Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WN8d [2021-02-24T02:53:38.819Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-24T02:56:00.651Z] lf-activate-venv(): INFO: Adding /tmp/venv-WN8d/bin to PATH [2021-02-24T02:56:00.651Z] INFO: No Stack... [2021-02-24T02:56:00.651Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-02-24T02:56:00.651Z] INFO: Archiving Costs [Pipeline] sh [2021-02-24T02:56:00.991Z] + cut -d, -f6 [2021-02-24T02:56:00.991Z] + cat /w/workspace/device-sdk-go/15/archives/cost.csv [Pipeline] lock [2021-02-24T02:56:01.108Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-15-stack-cost] [2021-02-24T02:56:01.117Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-15-stack-cost] did not exist. Created. [2021-02-24T02:56:01.117Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-24T02:56:01.594Z] /w/workspace/device-sdk-go/15@tmp/durable-43f31472/script.sh: 1: /w/workspace/device-sdk-go/15@tmp/durable-43f31472/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-02-24T02:56:01.950Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-02-24T02:56:01.971Z] Warning: overwriting stash ‘stack-cost’ [2021-02-24T02:56:02.130Z] Stashed 1 file(s) [Pipeline] } [2021-02-24T02:56:02.138Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-15-stack-cost] [Pipeline] // lock [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-24T02:56:03.892Z] provisioning config files... [2021-02-24T02:56:03.904Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7445345684657464616tmp [Pipeline] { [Pipeline] sh [2021-02-24T02:56:04.315Z] + set +x [2021-02-24T02:56:04.315Z] + bash -s -- [2021-02-24T02:56:04.315Z] + curl -s https://codecov.io/bash [2021-02-24T02:56:04.584Z] [2021-02-24T02:56:04.584Z] _____ _ [2021-02-24T02:56:04.584Z] / ____| | | [2021-02-24T02:56:04.584Z] | | ___ __| | ___ ___ _____ __ [2021-02-24T02:56:04.584Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-24T02:56:04.584Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-24T02:56:04.584Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-24T02:56:04.584Z] Bash-20210129-7c25fce [2021-02-24T02:56:04.584Z] [2021-02-24T02:56:04.584Z] [2021-02-24T02:56:04.584Z] ==> git version 2.24.3 found [2021-02-24T02:56:04.584Z] ==> 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-24T02:56:04.584Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-24T02:56:04.584Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-24T02:56:04.584Z] ==> Jenkins CI detected. [2021-02-24T02:56:04.584Z] project root: . [2021-02-24T02:56:04.584Z] --> token set from env [2021-02-24T02:56:04.584Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-24T02:56:04.584Z] ==> Running gcov in . (disable via -X gcov) [2021-02-24T02:56:04.584Z] ==> Python coveragepy not found [2021-02-24T02:56:04.584Z] ==> Searching for coverage reports in: [2021-02-24T02:56:04.584Z] + . [2021-02-24T02:56:04.584Z] -> Found 1 reports [2021-02-24T02:56:04.584Z] ==> Detecting git/mercurial file structure [2021-02-24T02:56:04.584Z] ==> Reading reports [2021-02-24T02:56:04.584Z] + ./coverage.out bytes=101758 [2021-02-24T02:56:04.584Z] ==> Appending adjustments [2021-02-24T02:56:04.584Z] https://docs.codecov.io/docs/fixing-reports [2021-02-24T02:56:05.165Z] + Found adjustments [2021-02-24T02:56:05.165Z] ==> Gzipping contents [2021-02-24T02:56:05.165Z] 20K /tmp/codecov.PDPwqD.gz [2021-02-24T02:56:05.165Z] ==> Uploading reports [2021-02-24T02:56:05.165Z] url: https://codecov.io [2021-02-24T02:56:05.165Z] query: branch=PR-725&commit=4617e9eaabedc8cc24114567cc27a326d596fddc&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-02-24T02:56:05.165Z] -> Pinging Codecov [2021-02-24T02:56:05.165Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-725&commit=4617e9eaabedc8cc24114567cc27a326d596fddc&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-02-24T02:56:05.747Z] -> Uploading to [2021-02-24T02:56:05.747Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-24/7E55EF52A471D76F132DFD9A03CDDE97/4617e9eaabedc8cc24114567cc27a326d596fddc/d057e12d-05d1-442e-b511-c76d3157e8e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210224T025605Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2cd7dfed166d818ed755dcec5d97574b87a3c783bba0c0412013955fa7b07a39 [2021-02-24T02:56:05.747Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-24T02:56:05.747Z] Dload Upload Total Spent Left Speed [2021-02-24T02:56:06.010Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16501 0 0 100 16501 0 34957 --:--:-- --:--:-- --:--:-- 34959 100 16501 0 0 100 16501 0 34943 --:--:-- --:--:-- --:--:-- 34885 [2021-02-24T02:56:06.011Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4617e9eaabedc8cc24114567cc27a326d596fddc [Pipeline] } [2021-02-24T02:56:06.024Z] 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] { (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-24T02:56:08.549Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:56:08.861Z] ---> package-listing.sh [2021-02-24T02:56:08.861Z] ++ facter osfamily [2021-02-24T02:56:08.861Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-24T02:56:08.861Z] + OS_FAMILY=redhat [2021-02-24T02:56:08.861Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-02-24T02:56:08.861Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-24T02:56:08.861Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-24T02:56:08.861Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-24T02:56:08.861Z] + PACKAGES=/tmp/packages_start.txt [2021-02-24T02:56:08.861Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-02-24T02:56:08.861Z] + PACKAGES=/tmp/packages_end.txt [2021-02-24T02:56:08.861Z] + case "${OS_FAMILY}" in [2021-02-24T02:56:08.861Z] + rpm -qa [2021-02-24T02:56:08.861Z] + sort [2021-02-24T02:56:14.177Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-24T02:56:14.177Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-24T02:56:14.177Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-24T02:56:14.177Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-02-24T02:56:14.177Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-02-24T02:56:14.177Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-02-24T02:56:14.189Z] 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-24T02:56:14.481Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:56:14.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-24T02:56:14.791Z] [2021-02-24T02:56:14.791Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-24T02:56:15.141Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-24T02:56:15.141Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-24T02:56:15.141Z] df20fa9351a1: Pulling fs layer [2021-02-24T02:56:15.141Z] 36b3adc4ff6f: Pulling fs layer [2021-02-24T02:56:15.141Z] 8ad3a11d3b57: Pulling fs layer [2021-02-24T02:56:15.141Z] 46f8f816bc3b: Pulling fs layer [2021-02-24T02:56:15.141Z] 93b61091891f: Pulling fs layer [2021-02-24T02:56:15.141Z] 93b9cdb0e59b: Pulling fs layer [2021-02-24T02:56:15.141Z] 5e14af77c1be: Pulling fs layer [2021-02-24T02:56:15.141Z] 01666e4c0597: Pulling fs layer [2021-02-24T02:56:15.141Z] aa168da1d23b: Pulling fs layer [2021-02-24T02:56:15.141Z] 93b9cdb0e59b: Waiting [2021-02-24T02:56:15.141Z] 5e14af77c1be: Waiting [2021-02-24T02:56:15.141Z] 01666e4c0597: Waiting [2021-02-24T02:56:15.141Z] aa168da1d23b: Waiting [2021-02-24T02:56:15.141Z] 46f8f816bc3b: Waiting [2021-02-24T02:56:15.141Z] 93b61091891f: Waiting [2021-02-24T02:56:15.141Z] 36b3adc4ff6f: Verifying Checksum [2021-02-24T02:56:15.141Z] 36b3adc4ff6f: Download complete [2021-02-24T02:56:15.402Z] 46f8f816bc3b: Download complete [2021-02-24T02:56:15.402Z] df20fa9351a1: Verifying Checksum [2021-02-24T02:56:15.402Z] df20fa9351a1: Download complete [2021-02-24T02:56:15.402Z] 93b9cdb0e59b: Verifying Checksum [2021-02-24T02:56:15.402Z] 93b9cdb0e59b: Download complete [2021-02-24T02:56:15.402Z] 93b61091891f: Verifying Checksum [2021-02-24T02:56:15.402Z] 93b61091891f: Download complete [2021-02-24T02:56:15.402Z] 5e14af77c1be: Verifying Checksum [2021-02-24T02:56:15.402Z] 5e14af77c1be: Download complete [2021-02-24T02:56:15.402Z] 01666e4c0597: Verifying Checksum [2021-02-24T02:56:15.402Z] 01666e4c0597: Download complete [2021-02-24T02:56:15.402Z] 8ad3a11d3b57: Verifying Checksum [2021-02-24T02:56:15.402Z] 8ad3a11d3b57: Download complete [2021-02-24T02:56:15.667Z] df20fa9351a1: Pull complete [2021-02-24T02:56:15.930Z] 36b3adc4ff6f: Pull complete [2021-02-24T02:56:16.896Z] 8ad3a11d3b57: Pull complete [2021-02-24T02:56:16.896Z] 46f8f816bc3b: Pull complete [2021-02-24T02:56:17.487Z] 93b61091891f: Pull complete [2021-02-24T02:56:17.487Z] aa168da1d23b: Verifying Checksum [2021-02-24T02:56:17.487Z] aa168da1d23b: Download complete [2021-02-24T02:56:17.487Z] 93b9cdb0e59b: Pull complete [2021-02-24T02:56:17.750Z] 5e14af77c1be: Pull complete [2021-02-24T02:56:17.750Z] 01666e4c0597: Pull complete [2021-02-24T02:56:24.385Z] aa168da1d23b: Pull complete [2021-02-24T02:56:24.385Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-24T02:56:24.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-24T02:56:24.385Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-24T02:56:24.596Z] prd-centos7-docker-4c-2g-27471 does not seem to be running inside a container [2021-02-24T02:56:24.647Z] $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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-24T02:56:27.913Z] $ docker top b544ec95012dbe872be03d659812bbffa7943f93aa4f3830a091e9058541a1a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-24T02:56:28.412Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-24T02:56:28.708Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-24T02:56:29.007Z] + ls /var/log/sa-host [2021-02-24T02:56:29.007Z] + sadf -c /var/log/sa-host/sa23 [2021-02-24T02:56:29.007Z] file_magic: OK [2021-02-24T02:56:29.007Z] HZ: Using current value: 100 [2021-02-24T02:56:29.007Z] file_header: OK [2021-02-24T02:56:29.007Z] 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-24T02:56:29.007Z] Statistics: [2021-02-24T02:56:29.007Z] Hnuu...uuuununununu... [2021-02-24T02:56:29.007Z] File successfully converted to sysstat format version 12.2.1 [2021-02-24T02:56:29.007Z] + sadf -c /var/log/sa-host/sa24 [2021-02-24T02:56:29.007Z] file_magic: OK [2021-02-24T02:56:29.007Z] HZ: Using current value: 100 [2021-02-24T02:56:29.007Z] file_header: OK [2021-02-24T02:56:29.007Z] 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-24T02:56:29.007Z] Statistics: [2021-02-24T02:56:29.007Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-24T02:56:29.007Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-24T02:56:29.228Z] provisioning config files... [2021-02-24T02:56:29.243Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4446019187735328598tmp [Pipeline] { [Pipeline] echo [2021-02-24T02:56:29.320Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:56:29.617Z] ---> create-netrc.sh [Pipeline] } [2021-02-24T02:56:29.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-24T02:56:29.747Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:56:30.052Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-24T02:56:30.067Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:56:30.367Z] ---> sudo-logs.sh [2021-02-24T02:56:30.367Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-24T02:56:30.451Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:56:30.822Z] ---> job-cost.sh [2021-02-24T02:56:30.822Z] lf-activate-venv: SKIPPING [2021-02-24T02:56:30.822Z] DEBUG: total: 0.20999999344348907 [2021-02-24T02:56:30.822Z] INFO: Retrieving Stack Cost... [2021-02-24T02:56:32.214Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-24T02:56:32.476Z] INFO: Archiving Costs [Pipeline] echo [2021-02-24T02:56:32.489Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-24T02:56:32.786Z] ---> logs-deploy.sh [2021-02-24T02:56:32.786Z] lf-activate-venv: SKIPPING [2021-02-24T02:56:32.786Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/15 [2021-02-24T02:56:32.786Z] INFO: archiving workspace using pattern(s): [2021-02-24T02:56:34.706Z] Archives upload complete. [2021-02-24T02:56:34.706Z] INFO: archiving logs to Nexus