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+a1de66810b8e114107e849a310222ed3c1b44bf0 (c6165609dcd3390bf40d73342b655ae499caa171) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1485 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 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 Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 02adb78950723d59fdd745462f627754dd55f7e4 Checking out Revision 02adb78950723d59fdd745462f627754dd55f7e4 (PR-725) > 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 a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02adb78950723d59fdd745462f627754dd55f7e4 # timeout=10 Commit message: "Merge commit 'a1de66810b8e114107e849a310222ed3c1b44bf0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-22T22:41:57.290Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-22T22:41:57.419Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-22T22:41:57.450Z] ========================================================= [2021-04-22T22:41:57.450Z] EdgeX Global Pipelines Version Info [2021-04-22T22:41:57.450Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6ba1e8316bda7d82bc746bfd473e272027fb7a4a # timeout=10 [2021-04-22T22:41:59.057Z] ------------------- [2021-04-22T22:41:59.057Z] stable info: [2021-04-22T22:41:59.057Z] ------------------- [2021-04-22T22:41:59.057Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-22T22:41:59.057Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-22T22:41:59.057Z] Message: update stable to v1.0.186 [2021-04-22T22:42:00.005Z] ------------------- [2021-04-22T22:42:00.005Z] experimental info: [2021-04-22T22:42:00.005Z] ------------------- [2021-04-22T22:42:00.006Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-22T22:42:00.006Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-22T22:42:00.006Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-22T22:42:00.176Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-22T22:42:00.202Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-22T22:42:00.230Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-22T22:42:00.255Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-22T22:42:00.279Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-22T22:42:00.302Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-22T22:42:00.326Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-22T22:42:00.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-22T22:42:00.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-22T22:42:00.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-22T22:42:00.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-22T22:42:00.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-04-22T22:42:00.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-22T22:42:00.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-22T22:42:00.530Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-22T22:42:00.556Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T22:42:00.581Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T22:42:00.606Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T22:42:00.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-22T22:42:00.661Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-22T22:42:00.687Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-22T22:42:00.713Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-22T22:42:00.738Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-22T22:42:00.762Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-22T22:42:00.789Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-22T22:42:00.814Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-22T22:42:00.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-04-22T22:42:00.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-04-22T22:42:00.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-04-22T22:42:00.920Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02adb78950723d59fdd745462f627754dd55f7e4 [Pipeline] echo [2021-04-22T22:42:00.946Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02adb78 [Pipeline] echo [2021-04-22T22:42:00.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-22T22:42:01.065Z] provisioning config files... [2021-04-22T22:42:01.104Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7250295631489975422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-22T22:42:01.432Z] ---> docker-login.sh [2021-04-22T22:42:01.432Z] nexus3.edgexfoundry.org:10001 [2021-04-22T22:42:02.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:42:02.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:42:02.008Z] Configure a credential helper to remove this warning. See [2021-04-22T22:42:02.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:42:02.008Z] [2021-04-22T22:42:02.008Z] Login Succeeded [2021-04-22T22:42:02.008Z] nexus3.edgexfoundry.org:10002 [2021-04-22T22:42:02.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:42:02.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:42:02.271Z] Configure a credential helper to remove this warning. See [2021-04-22T22:42:02.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:42:02.271Z] [2021-04-22T22:42:02.271Z] Login Succeeded [2021-04-22T22:42:02.271Z] nexus3.edgexfoundry.org:10003 [2021-04-22T22:42:02.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:42:02.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:42:02.534Z] Configure a credential helper to remove this warning. See [2021-04-22T22:42:02.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:42:02.535Z] [2021-04-22T22:42:02.535Z] Login Succeeded [2021-04-22T22:42:02.535Z] nexus3.edgexfoundry.org:10004 [2021-04-22T22:42:02.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:42:02.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:42:02.799Z] Configure a credential helper to remove this warning. See [2021-04-22T22:42:02.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:42:02.799Z] [2021-04-22T22:42:02.799Z] Login Succeeded [2021-04-22T22:42:02.799Z] docker.io [2021-04-22T22:42:02.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:42:03.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:42:03.061Z] Configure a credential helper to remove this warning. See [2021-04-22T22:42:03.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:42:03.061Z] [2021-04-22T22:42:03.061Z] Login Succeeded [2021-04-22T22:42:03.061Z] ---> docker-login.sh ends [Pipeline] } [2021-04-22T22:42:03.070Z] 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-04-22T22:42:03.548Z] + git log --format=format:%s -1 02adb78950723d59fdd745462f627754dd55f7e4 [Pipeline] echo [2021-04-22T22:42:03.643Z] GIT_COMMIT: 02adb78950723d59fdd745462f627754dd55f7e4, Commit Message: Merge commit 'a1de66810b8e114107e849a310222ed3c1b44bf0' into HEAD [Pipeline] echo [2021-04-22T22:42:03.659Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:42:04.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T22:42:04.635Z] [2021-04-22T22:42:04.635Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:42:04.987Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T22:42:04.987Z] latest: Pulling from edgex-devops/git-semver [2021-04-22T22:42:04.987Z] 31603596830f: Pulling fs layer [2021-04-22T22:42:04.987Z] 2a8b12db71e7: Pulling fs layer [2021-04-22T22:42:04.987Z] 6ca5941a6612: Pulling fs layer [2021-04-22T22:42:04.987Z] ecc8261a40a4: Pulling fs layer [2021-04-22T22:42:04.987Z] ecc8261a40a4: Waiting [2021-04-22T22:42:04.987Z] 2a8b12db71e7: Verifying Checksum [2021-04-22T22:42:04.987Z] 2a8b12db71e7: Download complete [2021-04-22T22:42:04.987Z] 31603596830f: Verifying Checksum [2021-04-22T22:42:04.987Z] 31603596830f: Download complete [2021-04-22T22:42:05.253Z] ecc8261a40a4: Verifying Checksum [2021-04-22T22:42:05.253Z] ecc8261a40a4: Download complete [2021-04-22T22:42:05.253Z] 6ca5941a6612: Verifying Checksum [2021-04-22T22:42:05.253Z] 6ca5941a6612: Download complete [2021-04-22T22:42:05.524Z] 31603596830f: Pull complete [2021-04-22T22:42:05.790Z] 2a8b12db71e7: Pull complete [2021-04-22T22:42:06.756Z] 6ca5941a6612: Pull complete [2021-04-22T22:42:07.357Z] ecc8261a40a4: Pull complete [2021-04-22T22:42:07.357Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-22T22:42:07.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T22:42:07.358Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-22T22:42:07.494Z] prd-centos7-docker-4c-2g-1485 does not seem to be running inside a container [2021-04-22T22:42:07.558Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-22T22:42:09.766Z] $ docker top e37088cc3c6d2693a21ed9c8b199c54dd49715491501cd182fef82c732a1c56b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-22T22:42:09.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T22:42:09.946Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T22:42:10.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T22:42:10.213Z] $ docker exec e37088cc3c6d2693a21ed9c8b199c54dd49715491501cd182fef82c732a1c56b ssh-agent [2021-04-22T22:42:10.414Z] SSH_AUTH_SOCK=/tmp/ssh-WeCZpIvdvVPe/agent.11 [2021-04-22T22:42:10.414Z] SSH_AGENT_PID=17 [2021-04-22T22:42:10.429Z] Running ssh-add (command line suppressed) [2021-04-22T22:42:10.570Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_8057703613789200414.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_8057703613789200414.key) [2021-04-22T22:42:10.636Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T22:42:10.949Z] + git tag --points-at HEAD [Pipeline] } [2021-04-22T22:42:10.976Z] $ docker exec --env ******** --env ******** e37088cc3c6d2693a21ed9c8b199c54dd49715491501cd182fef82c732a1c56b ssh-agent -k [2021-04-22T22:42:11.099Z] unset SSH_AUTH_SOCK; [2021-04-22T22:42:11.100Z] unset SSH_AGENT_PID; [2021-04-22T22:42:11.100Z] echo Agent pid 17 killed; [2021-04-22T22:42:11.148Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-22T22:42:11.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T22:42:11.193Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T22:42:11.397Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T22:42:11.404Z] $ docker exec e37088cc3c6d2693a21ed9c8b199c54dd49715491501cd182fef82c732a1c56b ssh-agent [2021-04-22T22:42:11.598Z] SSH_AUTH_SOCK=/tmp/ssh-Hkmoj51NEkOO/agent.46 [2021-04-22T22:42:11.598Z] SSH_AGENT_PID=51 [2021-04-22T22:42:11.606Z] Running ssh-add (command line suppressed) [2021-04-22T22:42:11.755Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_2390662988350226475.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_2390662988350226475.key) [2021-04-22T22:42:11.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T22:42:12.124Z] + git semver init [2021-04-22T22:42:12.124Z] # -> Open(): unable to determine branch for HEAD [2021-04-22T22:42:12.124Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-04-22T22:42:12.124Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-22T22:42:12.124Z] # $SEMVER_REMOTE_NAME = origin [2021-04-22T22:42:12.124Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-22T22:42:12.124Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-22T22:42:12.124Z] # $SEMVER_BRANCH = PR-725 [2021-04-22T22:42:12.124Z] # $SEMVER_TEMP = /tmp/semver-489227947 [2021-04-22T22:42:12.124Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-22T22:42:13.078Z] # '/tmp/semver-489227947' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-04-22T22:42:13.078Z] # -> Force: false [2021-04-22T22:42:13.078Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-04-22T22:42:13.094Z] $ docker exec --env ******** --env ******** e37088cc3c6d2693a21ed9c8b199c54dd49715491501cd182fef82c732a1c56b ssh-agent -k [2021-04-22T22:42:13.227Z] unset SSH_AUTH_SOCK; [2021-04-22T22:42:13.228Z] unset SSH_AGENT_PID; [2021-04-22T22:42:13.228Z] echo Agent pid 51 killed; [2021-04-22T22:42:13.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-22T22:42:13.626Z] + git semver [Pipeline] } [2021-04-22T22:42:13.658Z] $ docker stop --time=1 e37088cc3c6d2693a21ed9c8b199c54dd49715491501cd182fef82c732a1c56b [2021-04-22T22:42:15.053Z] $ docker rm -f e37088cc3c6d2693a21ed9c8b199c54dd49715491501cd182fef82c732a1c56b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T22:42:15.457Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-22T22:42:15.872Z] Stashed 1 file(s) [Pipeline] echo [2021-04-22T22:42:15.875Z] [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-04-22T22:42:31.066Z] Still waiting to schedule task [2021-04-22T22:42:31.066Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1485’ [2021-04-22T22:42:31.069Z] Still waiting to schedule task [2021-04-22T22:42:31.069Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-22T22:44:17.638Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1486 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-22T22:44:17.660Z] Running in /w/workspace/device-sdk-go/38 [Pipeline] { [Pipeline] checkout [2021-04-22T22:44:23.809Z] using credential edgex-jenkins-ssh [2021-04-22T22:44:23.839Z] Cloning the remote Git repository [2021-04-22T22:44:23.907Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T22:44:24.016Z] > git init /w/workspace/device-sdk-go/38 # timeout=10 [2021-04-22T22:44:24.091Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T22:44:24.092Z] > git --version # timeout=10 [2021-04-22T22:44:24.118Z] > git --version # 'git version 2.17.1' [2021-04-22T22:44:24.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T22:44:24.201Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T22:44:26.278Z] Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-22T22:44:25.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T22:44:25.538Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T22:44:25.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T22:44:25.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T22:44:25.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T22:44:25.618Z] > 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-04-22T22:44:26.299Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T22:44:26.319Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-22T22:44:26.431Z] > git remote # timeout=10 [2021-04-22T22:44:26.448Z] > git config --get remote.origin.url # timeout=10 [2021-04-22T22:44:26.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T22:44:26.475Z] > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 [2021-04-22T22:44:26.684Z] Merge succeeded, producing 4de8ddb87df266dffb4019011c6a1bea301f8292 [2021-04-22T22:44:26.684Z] Checking out Revision 4de8ddb87df266dffb4019011c6a1bea301f8292 (PR-725) [2021-04-22T22:44:26.670Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-22T22:44:26.691Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T22:44:26.706Z] > git checkout -f 4de8ddb87df266dffb4019011c6a1bea301f8292 # timeout=10 [2021-04-22T22:44:30.952Z] Commit message: "Merge commit 'a1de66810b8e114107e849a310222ed3c1b44bf0' into HEAD" [2021-04-22T22:44:30.978Z] First time build. Skipping changelog. [2021-04-22T22:44:30.960Z] > git rev-list --no-walk 6ba1e8316bda7d82bc746bfd473e272027fb7a4a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T22:44:32.516Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-22T22:44:32.950Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-22T22:44:33.298Z] + sudo service docker restart [2021-04-22T22:44:33.298Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-22T22:44:35.325Z] provisioning config files... [2021-04-22T22:44:35.379Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/38@tmp/config549498536175227596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-22T22:44:35.754Z] ---> docker-login.sh [2021-04-22T22:44:35.754Z] nexus3.edgexfoundry.org:10001 [2021-04-22T22:44:36.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:44:37.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:44:37.013Z] Configure a credential helper to remove this warning. See [2021-04-22T22:44:37.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:44:37.013Z] [2021-04-22T22:44:37.013Z] Login Succeeded [2021-04-22T22:44:37.288Z] nexus3.edgexfoundry.org:10002 [2021-04-22T22:44:37.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:44:37.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:44:37.561Z] Configure a credential helper to remove this warning. See [2021-04-22T22:44:37.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:44:37.561Z] [2021-04-22T22:44:37.561Z] Login Succeeded [2021-04-22T22:44:37.836Z] nexus3.edgexfoundry.org:10003 [2021-04-22T22:44:38.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:44:38.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:44:38.109Z] Configure a credential helper to remove this warning. See [2021-04-22T22:44:38.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:44:38.109Z] [2021-04-22T22:44:38.109Z] Login Succeeded [2021-04-22T22:44:38.384Z] nexus3.edgexfoundry.org:10004 [2021-04-22T22:44:38.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:44:38.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:44:38.934Z] Configure a credential helper to remove this warning. See [2021-04-22T22:44:38.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:44:38.934Z] [2021-04-22T22:44:38.934Z] Login Succeeded [2021-04-22T22:44:38.934Z] docker.io [2021-04-22T22:44:39.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:44:39.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:44:39.482Z] Configure a credential helper to remove this warning. See [2021-04-22T22:44:39.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:44:39.482Z] [2021-04-22T22:44:39.482Z] Login Succeeded [2021-04-22T22:44:39.482Z] ---> docker-login.sh ends [Pipeline] } [2021-04-22T22:44:39.501Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-22T22:44:39.844Z] ========================================================= [2021-04-22T22:44:39.844Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-22T22:44:39.844Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:44:40.200Z] + 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-04-22T22:44:40.809Z] Sending build context to Docker daemon 2.463MB [2021-04-22T22:44:40.809Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T22:44:40.809Z] Step 2/8 : FROM ${BASE} [2021-04-22T22:44:40.809Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-22T22:44:40.809Z] 5f621e34cdf4: Pulling fs layer [2021-04-22T22:44:40.809Z] a4357932f1b6: Pulling fs layer [2021-04-22T22:44:40.809Z] 18c013af1878: Pulling fs layer [2021-04-22T22:44:40.809Z] 00ac8860ef70: Pulling fs layer [2021-04-22T22:44:40.809Z] 63d7cb157983: Pulling fs layer [2021-04-22T22:44:40.809Z] b116817d02f9: Pulling fs layer [2021-04-22T22:44:40.809Z] 745a02a5169b: Pulling fs layer [2021-04-22T22:44:40.809Z] 00ac8860ef70: Waiting [2021-04-22T22:44:40.809Z] 63d7cb157983: Waiting [2021-04-22T22:44:40.809Z] b116817d02f9: Waiting [2021-04-22T22:44:40.809Z] 745a02a5169b: Waiting [2021-04-22T22:44:40.809Z] 18c013af1878: Verifying Checksum [2021-04-22T22:44:40.809Z] 18c013af1878: Download complete [2021-04-22T22:44:40.809Z] a4357932f1b6: Download complete [2021-04-22T22:44:40.809Z] 63d7cb157983: Verifying Checksum [2021-04-22T22:44:40.809Z] 63d7cb157983: Download complete [2021-04-22T22:44:40.809Z] b116817d02f9: Verifying Checksum [2021-04-22T22:44:40.809Z] b116817d02f9: Download complete [2021-04-22T22:44:40.809Z] 5f621e34cdf4: Verifying Checksum [2021-04-22T22:44:40.809Z] 5f621e34cdf4: Download complete [2021-04-22T22:44:41.422Z] 5f621e34cdf4: Pull complete [2021-04-22T22:44:42.027Z] a4357932f1b6: Pull complete [2021-04-22T22:44:42.629Z] 18c013af1878: Pull complete [2021-04-22T22:44:43.615Z] 745a02a5169b: Verifying Checksum [2021-04-22T22:44:44.610Z] 00ac8860ef70: Verifying Checksum [2021-04-22T22:44:44.610Z] 00ac8860ef70: Download complete [2021-04-22T22:44:54.811Z] 00ac8860ef70: Pull complete [2021-04-22T22:44:55.084Z] 63d7cb157983: Pull complete [2021-04-22T22:44:55.358Z] b116817d02f9: Pull complete [2021-04-22T22:44:58.138Z] Running on prd-centos7-docker-4c-2g-1487 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-22T22:44:58.157Z] Running in /w/workspace/device-sdk-go/38 [Pipeline] { [Pipeline] checkout [2021-04-22T22:44:59.684Z] 745a02a5169b: Pull complete [2021-04-22T22:44:59.685Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-22T22:44:59.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-22T22:44:59.685Z] ---> b7e6874047d6 [2021-04-22T22:44:59.685Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T22:45:01.281Z] using credential edgex-jenkins-ssh [2021-04-22T22:45:01.299Z] Cloning the remote Git repository [2021-04-22T22:45:01.331Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T22:45:01.404Z] > git init /w/workspace/device-sdk-go/38 # timeout=10 [2021-04-22T22:45:01.471Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T22:45:01.471Z] > git --version # timeout=10 [2021-04-22T22:45:01.480Z] > git --version # 'git version 2.24.3' [2021-04-22T22:45:01.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T22:45:01.518Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T22:45:02.347Z] ---> Running in caf00d81da3b [2021-04-22T22:45:02.629Z] Removing intermediate container caf00d81da3b [2021-04-22T22:45:02.629Z] ---> f396728a186d [2021-04-22T22:45:02.629Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T22:45:02.903Z] ---> Running in 4c3b75556924 [2021-04-22T22:45:03.884Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T22:45:03.898Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T22:45:03.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T22:45:03.924Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T22:45:03.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T22:45:03.930Z] > 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-04-22T22:45:05.539Z] Removing intermediate container 4c3b75556924 [2021-04-22T22:45:05.539Z] ---> 75669e806983 [2021-04-22T22:45:05.539Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-22T22:45:05.539Z] ---> Running in 55bf8d0d01be [2021-04-22T22:45:05.686Z] Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-22T22:45:05.895Z] Merge succeeded, producing 7c984f9c42c157786a6ebc2424d6fe2648b95d6e [2021-04-22T22:45:05.895Z] Checking out Revision 7c984f9c42c157786a6ebc2424d6fe2648b95d6e (PR-725) [2021-04-22T22:45:06.519Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-22T22:45:05.697Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T22:45:05.703Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-22T22:45:05.759Z] > git remote # timeout=10 [2021-04-22T22:45:05.770Z] > git config --get remote.origin.url # timeout=10 [2021-04-22T22:45:05.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T22:45:05.779Z] > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 [2021-04-22T22:45:05.888Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-22T22:45:05.904Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T22:45:05.916Z] > git checkout -f 7c984f9c42c157786a6ebc2424d6fe2648b95d6e # timeout=10 [2021-04-22T22:45:07.111Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-22T22:45:08.539Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-22T22:45:08.539Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-22T22:45:08.812Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-22T22:45:08.812Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-22T22:45:08.812Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-22T22:45:09.085Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-22T22:45:09.085Z] Executing busybox-1.31.1-r19.trigger [2021-04-22T22:45:09.085Z] OK: 144 MiB in 45 packages [2021-04-22T22:45:09.577Z] Commit message: "Merge commit 'a1de66810b8e114107e849a310222ed3c1b44bf0' into HEAD" [2021-04-22T22:45:09.590Z] First time build. Skipping changelog. [2021-04-22T22:45:09.584Z] > git rev-list --no-walk 6ba1e8316bda7d82bc746bfd473e272027fb7a4a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T22:45:10.516Z] Removing intermediate container 55bf8d0d01be [2021-04-22T22:45:10.516Z] ---> 6b3d317f2c9c [2021-04-22T22:45:10.516Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-22T22:45:10.752Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-04-22T22:45:10.788Z] ---> Running in 561fe15b525c [Pipeline] sh [2021-04-22T22:45:11.100Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-22T22:45:11.386Z] Removing intermediate container 561fe15b525c [2021-04-22T22:45:11.386Z] ---> 5f4603172e24 [2021-04-22T22:45:11.386Z] Step 7/8 : COPY . . [2021-04-22T22:45:11.408Z] + true [2021-04-22T22:45:11.408Z] + sudo service docker restart [2021-04-22T22:45:11.408Z] Redirecting to /bin/systemctl restart docker.service [2021-04-22T22:45:12.393Z] ---> 78577e0d6f70 [2021-04-22T22:45:12.393Z] Step 8/8 : RUN go mod download [2021-04-22T22:45:12.668Z] ---> Running in b238fff92259 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-22T22:45:12.864Z] provisioning config files... [2021-04-22T22:45:12.905Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/38@tmp/config8324170813599830435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-22T22:45:13.284Z] ---> docker-login.sh [2021-04-22T22:45:13.284Z] nexus3.edgexfoundry.org:10001 [2021-04-22T22:45:13.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:45:13.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:45:13.819Z] Configure a credential helper to remove this warning. See [2021-04-22T22:45:13.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:45:13.819Z] [2021-04-22T22:45:13.819Z] Login Succeeded [2021-04-22T22:45:13.819Z] nexus3.edgexfoundry.org:10002 [2021-04-22T22:45:13.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:45:13.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:45:13.819Z] Configure a credential helper to remove this warning. See [2021-04-22T22:45:13.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:45:13.819Z] [2021-04-22T22:45:13.819Z] Login Succeeded [2021-04-22T22:45:14.087Z] nexus3.edgexfoundry.org:10003 [2021-04-22T22:45:14.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:45:14.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:45:14.087Z] Configure a credential helper to remove this warning. See [2021-04-22T22:45:14.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:45:14.087Z] [2021-04-22T22:45:14.087Z] Login Succeeded [2021-04-22T22:45:14.087Z] nexus3.edgexfoundry.org:10004 [2021-04-22T22:45:14.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:45:14.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:45:14.361Z] Configure a credential helper to remove this warning. See [2021-04-22T22:45:14.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:45:14.361Z] [2021-04-22T22:45:14.361Z] Login Succeeded [2021-04-22T22:45:14.361Z] docker.io [2021-04-22T22:45:14.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T22:45:14.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T22:45:14.625Z] Configure a credential helper to remove this warning. See [2021-04-22T22:45:14.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T22:45:14.625Z] [2021-04-22T22:45:14.625Z] Login Succeeded [2021-04-22T22:45:14.890Z] ---> docker-login.sh ends [Pipeline] } [2021-04-22T22:45:14.902Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-22T22:45:15.130Z] ========================================================= [2021-04-22T22:45:15.130Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-22T22:45:15.130Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:45:15.462Z] + 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-04-22T22:45:15.734Z] Sending build context to Docker daemon 2.474MB [2021-04-22T22:45:15.734Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T22:45:15.734Z] Step 2/8 : FROM ${BASE} [2021-04-22T22:45:15.734Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-22T22:45:15.734Z] 188c0c94c7c5: Pulling fs layer [2021-04-22T22:45:15.734Z] 0ef7d3d256c8: Pulling fs layer [2021-04-22T22:45:15.734Z] de9db76c5a1d: Pulling fs layer [2021-04-22T22:45:15.734Z] bca2f99d35d6: Pulling fs layer [2021-04-22T22:45:15.734Z] 93359f2a8cfa: Pulling fs layer [2021-04-22T22:45:15.734Z] 7c6f9722023f: Pulling fs layer [2021-04-22T22:45:15.734Z] a35cf1a2eb13: Pulling fs layer [2021-04-22T22:45:15.734Z] bca2f99d35d6: Waiting [2021-04-22T22:45:15.734Z] 7c6f9722023f: Waiting [2021-04-22T22:45:15.734Z] 93359f2a8cfa: Waiting [2021-04-22T22:45:15.734Z] a35cf1a2eb13: Waiting [2021-04-22T22:45:15.734Z] de9db76c5a1d: Verifying Checksum [2021-04-22T22:45:15.734Z] de9db76c5a1d: Download complete [2021-04-22T22:45:15.734Z] 0ef7d3d256c8: Verifying Checksum [2021-04-22T22:45:15.734Z] 0ef7d3d256c8: Download complete [2021-04-22T22:45:15.734Z] 93359f2a8cfa: Download complete [2021-04-22T22:45:15.734Z] 188c0c94c7c5: Verifying Checksum [2021-04-22T22:45:15.734Z] 188c0c94c7c5: Download complete [2021-04-22T22:45:15.734Z] 7c6f9722023f: Verifying Checksum [2021-04-22T22:45:15.734Z] 7c6f9722023f: Download complete [2021-04-22T22:45:16.005Z] 188c0c94c7c5: Pull complete [2021-04-22T22:45:16.278Z] 0ef7d3d256c8: Pull complete [2021-04-22T22:45:16.547Z] de9db76c5a1d: Pull complete [2021-04-22T22:45:17.513Z] a35cf1a2eb13: Verifying Checksum [2021-04-22T22:45:17.513Z] a35cf1a2eb13: Download complete [2021-04-22T22:45:18.471Z] bca2f99d35d6: Verifying Checksum [2021-04-22T22:45:18.471Z] bca2f99d35d6: Download complete [2021-04-22T22:45:25.153Z] bca2f99d35d6: Pull complete [2021-04-22T22:45:25.153Z] 93359f2a8cfa: Pull complete [2021-04-22T22:45:25.153Z] 7c6f9722023f: Pull complete [2021-04-22T22:45:31.834Z] a35cf1a2eb13: Pull complete [2021-04-22T22:45:31.834Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-22T22:45:31.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-22T22:45:31.834Z] ---> a62c8e92a672 [2021-04-22T22:45:31.834Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T22:45:31.834Z] ---> Running in b81c26efb751 [2021-04-22T22:45:31.834Z] Removing intermediate container b81c26efb751 [2021-04-22T22:45:31.834Z] ---> 155c23c54d3b [2021-04-22T22:45:31.834Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T22:45:31.834Z] ---> Running in ae8e0451ddb1 [2021-04-22T22:45:33.237Z] Removing intermediate container ae8e0451ddb1 [2021-04-22T22:45:33.237Z] ---> 6ceee8517259 [2021-04-22T22:45:33.237Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-22T22:45:33.504Z] ---> Running in 16f7d4c76558 [2021-04-22T22:45:34.910Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-22T22:45:35.172Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-22T22:45:35.750Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-22T22:45:35.750Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-22T22:45:36.013Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-22T22:45:36.013Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-22T22:45:36.013Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-22T22:45:36.293Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-22T22:45:36.293Z] Executing busybox-1.31.1-r19.trigger [2021-04-22T22:45:36.293Z] OK: 167 MiB in 45 packages [2021-04-22T22:45:37.245Z] Removing intermediate container 16f7d4c76558 [2021-04-22T22:45:37.245Z] ---> 9f7845ea7366 [2021-04-22T22:45:37.245Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-22T22:45:37.245Z] ---> Running in 74551c548a28 [2021-04-22T22:45:37.245Z] Removing intermediate container 74551c548a28 [2021-04-22T22:45:37.245Z] ---> 13b00d3ded0e [2021-04-22T22:45:37.245Z] Step 7/8 : COPY . . [2021-04-22T22:45:38.659Z] ---> 9aa318f5c242 [2021-04-22T22:45:38.660Z] Step 8/8 : RUN go mod download [2021-04-22T22:45:38.660Z] ---> Running in b3f1aa14b788 [2021-04-22T22:45:39.517Z] Removing intermediate container b238fff92259 [2021-04-22T22:45:39.517Z] ---> 4927bd375bc1 [2021-04-22T22:45:39.517Z] Successfully built 4927bd375bc1 [2021-04-22T22:45:39.517Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:45:39.863Z] + docker inspect -f . ci-base-image-arm64 [2021-04-22T22:45:39.863Z] . [Pipeline] withDockerContainer [2021-04-22T22:45:40.145Z] prd-ubuntu18.04-docker-arm64-4c-16g-1486 does not seem to be running inside a container [2021-04-22T22:45:40.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/38 -v /w/workspace/device-sdk-go/38:/w/workspace/device-sdk-go/38:rw,z -v /w/workspace/device-sdk-go/38@tmp:/w/workspace/device-sdk-go/38@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-04-22T22:45:41.748Z] $ docker top 6bd954648d6aa0b87b96bdd69cd9e1679d9749b10bf0246295de071357f43882 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T22:45:42.726Z] + go version [2021-04-22T22:45:42.726Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-22T22:45:42.748Z] $ docker stop --time=1 6bd954648d6aa0b87b96bdd69cd9e1679d9749b10bf0246295de071357f43882 [2021-04-22T22:45:44.668Z] $ docker rm -f 6bd954648d6aa0b87b96bdd69cd9e1679d9749b10bf0246295de071357f43882 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:45:45.420Z] + docker inspect -f . ci-base-image-arm64 [2021-04-22T22:45:45.420Z] . [Pipeline] withDockerContainer [2021-04-22T22:45:45.688Z] prd-ubuntu18.04-docker-arm64-4c-16g-1486 does not seem to be running inside a container [2021-04-22T22:45:45.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/38 -v /w/workspace/device-sdk-go/38:/w/workspace/device-sdk-go/38:rw,z -v /w/workspace/device-sdk-go/38@tmp:/w/workspace/device-sdk-go/38@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-04-22T22:45:47.282Z] $ docker top 6726c1670b58e6faf1aedc74166a1a2abc006116f2996994773b5defdff745b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T22:45:48.243Z] + make test [2021-04-22T22:45:48.243Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-22T22:46:05.366Z] Removing intermediate container b3f1aa14b788 [2021-04-22T22:46:05.366Z] ---> 4529db8578d4 [2021-04-22T22:46:05.366Z] Successfully built 4529db8578d4 [2021-04-22T22:46:05.366Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:46:05.702Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-22T22:46:05.702Z] . [Pipeline] withDockerContainer [2021-04-22T22:46:06.108Z] prd-centos7-docker-4c-2g-1487 does not seem to be running inside a container [2021-04-22T22:46:06.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/38 -v /w/workspace/device-sdk-go/38:/w/workspace/device-sdk-go/38:rw,z -v /w/workspace/device-sdk-go/38@tmp:/w/workspace/device-sdk-go/38@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-04-22T22:46:07.227Z] $ docker top 5e7f7611a87e5fe52d7c1c27e4555d12e409c15d8b6a01efeeb9fc203795946d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T22:46:07.807Z] + go version [2021-04-22T22:46:07.807Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-22T22:46:07.833Z] $ docker stop --time=1 5e7f7611a87e5fe52d7c1c27e4555d12e409c15d8b6a01efeeb9fc203795946d [2021-04-22T22:46:09.260Z] $ docker rm -f 5e7f7611a87e5fe52d7c1c27e4555d12e409c15d8b6a01efeeb9fc203795946d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:46:09.841Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-22T22:46:09.841Z] . [Pipeline] withDockerContainer [2021-04-22T22:46:09.969Z] prd-centos7-docker-4c-2g-1487 does not seem to be running inside a container [2021-04-22T22:46:10.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/38 -v /w/workspace/device-sdk-go/38:/w/workspace/device-sdk-go/38:rw,z -v /w/workspace/device-sdk-go/38@tmp:/w/workspace/device-sdk-go/38@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-04-22T22:46:10.447Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-22T22:46:11.024Z] $ docker top fbed35108bfce45c9d7e9ec0e155164a72e6312b18ef9d16648b4e6a69b82a2c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T22:46:11.507Z] + make test [2021-04-22T22:46:11.507Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-22T22:46:19.754Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-22T22:46:46.541Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-22T22:46:46.541Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-22T22:46:46.541Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-22T22:46:46.541Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-22T22:46:46.541Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-22T22:46:48.511Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 28.1% of statements [2021-04-22T22:46:48.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.106s coverage: 78.9% of statements [2021-04-22T22:46:49.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.116s coverage: 7.8% of statements [2021-04-22T22:46:49.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-22T22:46:49.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-22T22:46:49.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-22T22:46:49.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.146s coverage: 32.0% of statements [2021-04-22T22:46:49.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-22T22:46:49.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-22T22:46:49.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-22T22:46:50.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.116s coverage: 57.2% of statements [2021-04-22T22:46:50.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.454s coverage: 6.6% of statements [2021-04-22T22:46:51.406Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.087s coverage: 5.0% of statements [2021-04-22T22:46:51.406Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-22T22:46:51.406Z] GO111MODULE=on go vet ./... [2021-04-22T22:47:07.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-22T22:47:07.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-22T22:47:07.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-22T22:47:07.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-22T22:47:07.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-22T22:47:09.658Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 28.1% of statements [2021-04-22T22:47:09.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.197s coverage: 78.9% of statements [2021-04-22T22:47:09.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.125s coverage: 7.8% of statements [2021-04-22T22:47:09.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-22T22:47:09.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-22T22:47:09.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-22T22:47:11.384Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.238s coverage: 32.0% of statements [2021-04-22T22:47:11.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-22T22:47:11.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-22T22:47:11.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-22T22:47:14.280Z] gofmt -l . [2021-04-22T22:47:14.280Z] [ "`gofmt -l .`" = "" ] [2021-04-22T22:47:14.280Z] ./bin/test-attribution-txt.sh [2021-04-22T22:47:15.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.308s coverage: 57.2% of statements [2021-04-22T22:47:15.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.123s coverage: 6.6% of statements [2021-04-22T22:47:15.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements [2021-04-22T22:47:15.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-22T22:47:15.720Z] ./bin/test-go-mod-tidy.sh [2021-04-22T22:47:16.310Z] GO111MODULE=on go vet ./... [Pipeline] } [2021-04-22T22:47:16.340Z] $ docker stop --time=1 fbed35108bfce45c9d7e9ec0e155164a72e6312b18ef9d16648b4e6a69b82a2c [2021-04-22T22:47:18.141Z] $ docker rm -f fbed35108bfce45c9d7e9ec0e155164a72e6312b18ef9d16648b4e6a69b82a2c [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T22:47:18.818Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-22T22:47:19.321Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-22T22:47:22.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-22T22:47:22.405Z] + ls -al . [2021-04-22T22:47:22.405Z] total 188 [2021-04-22T22:47:22.405Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 22 22:47 . [2021-04-22T22:47:22.405Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 22 22:45 .. [2021-04-22T22:47:22.405Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 22:45 bin [2021-04-22T22:47:22.405Z] -rw-r--r--. 1 jenkins jenkins 100024 Apr 22 22:46 coverage.out [2021-04-22T22:47:22.405Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 22 22:45 Dockerfile.build [2021-04-22T22:47:22.405Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 22:45 .dockerignore [2021-04-22T22:47:22.405Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 22 22:45 example [2021-04-22T22:47:22.405Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 22:45 .git [2021-04-22T22:47:22.405Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 22 22:45 .github [2021-04-22T22:47:22.405Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 22:45 .gitignore [2021-04-22T22:47:22.405Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 22 22:47 go.mod [2021-04-22T22:47:22.405Z] -rw-r--r--. 1 jenkins jenkins 20737 Apr 22 22:47 go.sum [2021-04-22T22:47:22.405Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 22 22:45 internal [2021-04-22T22:47:22.405Z] -rw-rw-r--. 1 jenkins jenkins 894 Apr 22 22:45 Jenkinsfile [2021-04-22T22:47:22.405Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 22:45 LICENSE [2021-04-22T22:47:22.405Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 22 22:45 Makefile [2021-04-22T22:47:22.405Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 22 22:45 openapi [2021-04-22T22:47:22.406Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 22:45 pkg [2021-04-22T22:47:22.406Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 22 22:45 README.md [2021-04-22T22:47:22.406Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 22 22:45 RELEASE-NOTES.txt [2021-04-22T22:47:22.406Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 22:45 snap [2021-04-22T22:47:22.406Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 22:42 VERSION [2021-04-22T22:47:22.406Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:47:22.755Z] + 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=02adb78950723d59fdd745462f627754dd55f7e4 --label arch=amd64 --label version=0.0.0 . [2021-04-22T22:47:23.341Z] Sending build context to Docker daemon 2.575MB [2021-04-22T22:47:23.342Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T22:47:23.342Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-22T22:47:23.342Z] ---> 4529db8578d4 [2021-04-22T22:47:23.342Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-22T22:47:23.606Z] ---> Running in 6f91fc865b75 [2021-04-22T22:47:23.867Z] Removing intermediate container 6f91fc865b75 [2021-04-22T22:47:23.867Z] ---> c2c16714e5a7 [2021-04-22T22:47:23.867Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T22:47:23.867Z] ---> Running in 9f2cd2c89652 [2021-04-22T22:47:24.130Z] Removing intermediate container 9f2cd2c89652 [2021-04-22T22:47:24.130Z] ---> cf28fab407f3 [2021-04-22T22:47:24.130Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T22:47:24.130Z] ---> Running in 77655b799ea8 [2021-04-22T22:47:25.543Z] Removing intermediate container 77655b799ea8 [2021-04-22T22:47:25.543Z] ---> 95d8070238fb [2021-04-22T22:47:25.543Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-22T22:47:25.543Z] ---> Running in 7cab7da78c5e [2021-04-22T22:47:26.126Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-22T22:47:26.713Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-22T22:47:27.320Z] OK: 167 MiB in 45 packages [2021-04-22T22:47:27.910Z] Removing intermediate container 7cab7da78c5e [2021-04-22T22:47:27.910Z] ---> 6fa5b664df80 [2021-04-22T22:47:27.910Z] Step 7/23 : COPY . . [2021-04-22T22:47:28.857Z] ---> 93bf0851c5df [2021-04-22T22:47:28.857Z] Step 8/23 : RUN go mod download [2021-04-22T22:47:29.121Z] ---> Running in a09e2e22745a [2021-04-22T22:47:30.089Z] Removing intermediate container a09e2e22745a [2021-04-22T22:47:30.089Z] ---> 708cce2b15ed [2021-04-22T22:47:30.089Z] Step 9/23 : RUN make build [2021-04-22T22:47:30.089Z] ---> Running in 4fff746bcab3 [2021-04-22T22:47:30.692Z] CGO_ENABLED=1 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-04-22T22:47:43.143Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-22T22:47:45.725Z] Removing intermediate container 4fff746bcab3 [2021-04-22T22:47:45.725Z] ---> 4f7ccc637220 [2021-04-22T22:47:45.725Z] Step 10/23 : FROM alpine:3.12 [2021-04-22T22:47:45.725Z] 3.12: Pulling from library/alpine [2021-04-22T22:47:45.991Z] 339de151aab4: Pulling fs layer [2021-04-22T22:47:45.991Z] 339de151aab4: Verifying Checksum [2021-04-22T22:47:45.991Z] 339de151aab4: Download complete [2021-04-22T22:47:46.257Z] 339de151aab4: Pull complete [2021-04-22T22:47:46.536Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-22T22:47:46.536Z] Status: Downloaded newer image for alpine:3.12 [2021-04-22T22:47:46.536Z] ---> 13621d1b12d4 [2021-04-22T22:47:46.536Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T22:47:46.536Z] ---> Running in 3c02ad47058f [2021-04-22T22:47:46.806Z] Removing intermediate container 3c02ad47058f [2021-04-22T22:47:46.806Z] ---> eab51c6e2ef7 [2021-04-22T22:47:46.806Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T22:47:46.806Z] ---> Running in 20eb6d789a61 [2021-04-22T22:47:48.238Z] Removing intermediate container 20eb6d789a61 [2021-04-22T22:47:48.238Z] ---> c4ea64d5ea93 [2021-04-22T22:47:48.238Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-22T22:47:48.238Z] ---> Running in 820ecd9b34e9 [2021-04-22T22:47:48.843Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-22T22:47:49.424Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-22T22:47:49.690Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-22T22:47:49.956Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-22T22:47:49.956Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-22T22:47:50.538Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-22T22:47:50.808Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-22T22:47:50.808Z] Executing busybox-1.31.1-r20.trigger [2021-04-22T22:47:50.808Z] OK: 8 MiB in 19 packages [2021-04-22T22:47:52.227Z] Removing intermediate container 820ecd9b34e9 [2021-04-22T22:47:52.227Z] ---> d23d8a6920fc [2021-04-22T22:47:52.227Z] Step 14/23 : WORKDIR / [2021-04-22T22:47:52.524Z] ---> Running in 226fa25eb4c7 [2021-04-22T22:47:52.524Z] Removing intermediate container 226fa25eb4c7 [2021-04-22T22:47:52.524Z] ---> c018e399e663 [2021-04-22T22:47:52.524Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-22T22:47:52.809Z] ---> d7d974763ff8 [2021-04-22T22:47:52.809Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-22T22:47:53.779Z] ---> 7db6991598f1 [2021-04-22T22:47:53.779Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-22T22:47:53.779Z] ---> 47d0ee2c1a82 [2021-04-22T22:47:53.779Z] Step 18/23 : EXPOSE 49990 [2021-04-22T22:47:54.044Z] ---> Running in 6d3911d08182 [2021-04-22T22:47:54.044Z] Removing intermediate container 6d3911d08182 [2021-04-22T22:47:54.044Z] ---> da326799a66b [2021-04-22T22:47:54.044Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-22T22:47:54.308Z] ---> Running in c511d8a3455c [2021-04-22T22:47:54.308Z] Removing intermediate container c511d8a3455c [2021-04-22T22:47:54.308Z] ---> a364ceb2735f [2021-04-22T22:47:54.308Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-22T22:47:54.574Z] ---> Running in 00a412b31232 [2021-04-22T22:47:54.574Z] Removing intermediate container 00a412b31232 [2021-04-22T22:47:54.574Z] ---> 4dd272ff7cf1 [2021-04-22T22:47:54.574Z] Step 21/23 : LABEL arch=amd64 [2021-04-22T22:47:54.850Z] ---> Running in 35c87483e945 [2021-04-22T22:47:54.850Z] Removing intermediate container 35c87483e945 [2021-04-22T22:47:54.850Z] ---> f8fd650ca9e7 [2021-04-22T22:47:54.850Z] Step 22/23 : LABEL git_sha=02adb78950723d59fdd745462f627754dd55f7e4 [2021-04-22T22:47:55.116Z] ---> Running in 40be0b84e805 [2021-04-22T22:47:55.116Z] Removing intermediate container 40be0b84e805 [2021-04-22T22:47:55.116Z] ---> 7fd7502c8c7e [2021-04-22T22:47:55.116Z] Step 23/23 : LABEL version=0.0.0 [2021-04-22T22:47:55.380Z] ---> Running in 6d42976189a5 [2021-04-22T22:47:55.380Z] Removing intermediate container 6d42976189a5 [2021-04-22T22:47:55.380Z] ---> 69a8d8eaf882 [2021-04-22T22:47:55.380Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-22T22:47:55.380Z] Successfully built 69a8d8eaf882 [2021-04-22T22:47:55.380Z] 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-04-22T22:47:56.362Z] ---> job-cost.sh [2021-04-22T22:47:56.363Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GJ9C [2021-04-22T22:48:03.382Z] gofmt -l . [2021-04-22T22:48:03.382Z] [ "`gofmt -l .`" = "" ] [2021-04-22T22:48:03.382Z] ./bin/test-attribution-txt.sh [2021-04-22T22:48:03.382Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-22T22:48:03.402Z] $ docker stop --time=1 6726c1670b58e6faf1aedc74166a1a2abc006116f2996994773b5defdff745b5 [2021-04-22T22:48:05.820Z] $ docker rm -f 6726c1670b58e6faf1aedc74166a1a2abc006116f2996994773b5defdff745b5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T22:48:06.915Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-22T22:48:06.948Z] Warning: overwriting stash ‘coverage-report’ [2021-04-22T22:48:07.953Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T22:48:08.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-22T22:48:08.819Z] + ls -al . [2021-04-22T22:48:08.819Z] total 224 [2021-04-22T22:48:08.819Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 22:48 . [2021-04-22T22:48:08.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 22:44 .. [2021-04-22T22:48:08.819Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 22:44 .dockerignore [2021-04-22T22:48:08.819Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 22:44 .git [2021-04-22T22:48:08.819Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 22:44 .github [2021-04-22T22:48:08.819Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 22:44 .gitignore [2021-04-22T22:48:08.819Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 22 22:44 Dockerfile.build [2021-04-22T22:48:08.819Z] -rw-rw-r-- 1 jenkins jenkins 894 Apr 22 22:44 Jenkinsfile [2021-04-22T22:48:08.819Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 22:44 LICENSE [2021-04-22T22:48:08.819Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 22 22:44 Makefile [2021-04-22T22:48:08.819Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 22 22:44 README.md [2021-04-22T22:48:08.819Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 22 22:44 RELEASE-NOTES.txt [2021-04-22T22:48:08.819Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 22:42 VERSION [2021-04-22T22:48:08.819Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 22:44 bin [2021-04-22T22:48:08.819Z] -rw-r--r-- 1 jenkins jenkins 100024 Apr 22 22:47 coverage.out [2021-04-22T22:48:08.819Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 22:44 example [2021-04-22T22:48:08.819Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 22 22:48 go.mod [2021-04-22T22:48:08.819Z] -rw-r--r-- 1 jenkins jenkins 20737 Apr 22 22:48 go.sum [2021-04-22T22:48:08.819Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 22 22:44 internal [2021-04-22T22:48:08.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 22:44 openapi [2021-04-22T22:48:08.819Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 22:44 pkg [2021-04-22T22:48:08.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 22:44 snap [2021-04-22T22:48:08.819Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 22:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:48:09.199Z] + 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=02adb78950723d59fdd745462f627754dd55f7e4 --label arch=arm64 --label version=0.0.0 . [2021-04-22T22:48:09.823Z] Sending build context to Docker daemon 2.564MB [2021-04-22T22:48:09.823Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T22:48:09.823Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-22T22:48:09.823Z] ---> 4927bd375bc1 [2021-04-22T22:48:09.823Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-22T22:48:10.113Z] ---> Running in 58fff3e24c9f [2021-04-22T22:48:10.720Z] Removing intermediate container 58fff3e24c9f [2021-04-22T22:48:10.720Z] ---> b2443974cc3b [2021-04-22T22:48:10.720Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T22:48:10.720Z] ---> Running in 536dcf44ba01 [2021-04-22T22:48:11.318Z] Removing intermediate container 536dcf44ba01 [2021-04-22T22:48:11.318Z] ---> 5c75d7ff5248 [2021-04-22T22:48:11.318Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T22:48:11.318Z] ---> Running in 542a9902c5f0 [2021-04-22T22:48:13.949Z] Removing intermediate container 542a9902c5f0 [2021-04-22T22:48:13.949Z] ---> b3cd718b3f01 [2021-04-22T22:48:13.949Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-22T22:48:13.949Z] ---> Running in 8d01fb708780 [2021-04-22T22:48:14.544Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-22T22:48:14.547Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-22T22:48:15.519Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-22T22:48:16.116Z] OK: 144 MiB in 45 packages [2021-04-22T22:48:17.553Z] Removing intermediate container 8d01fb708780 [2021-04-22T22:48:17.553Z] ---> 2660ad2a8a0a [2021-04-22T22:48:17.553Z] Step 7/23 : COPY . . [2021-04-22T22:48:18.537Z] ---> 3170319685e2 [2021-04-22T22:48:18.537Z] Step 8/23 : RUN go mod download [2021-04-22T22:48:18.811Z] ---> Running in 90044c98fc4f [2021-04-22T22:48:21.442Z] Removing intermediate container 90044c98fc4f [2021-04-22T22:48:21.442Z] ---> 89a2a40f16a5 [2021-04-22T22:48:21.442Z] Step 9/23 : RUN make build [2021-04-22T22:48:21.442Z] ---> Running in 0bb3330dc006 [2021-04-22T22:48:22.417Z] CGO_ENABLED=1 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-04-22T22:48:53.455Z] lf-activate-venv(): INFO: Adding /tmp/venv-GJ9C/bin to PATH [2021-04-22T22:48:53.455Z] INFO: No Stack... [2021-04-22T22:48:53.455Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-22T22:48:53.455Z] INFO: Archiving Costs [Pipeline] sh [2021-04-22T22:48:53.796Z] + cat /w/workspace/device-sdk-go/38/archives/cost.csv [2021-04-22T22:48:53.796Z] + cut -d, -f6 [Pipeline] lock [2021-04-22T22:48:53.915Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-38-stack-cost] [2021-04-22T22:48:53.926Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-38-stack-cost] did not exist. Created. [2021-04-22T22:48:53.926Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-22T22:48:54.279Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-22T22:48:54.456Z] Stashed 1 file(s) [Pipeline] } [2021-04-22T22:48:54.472Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-38-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-22T22:48:54.771Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-22T22:48:57.391Z] Removing intermediate container 0bb3330dc006 [2021-04-22T22:48:57.392Z] ---> 35a1e8329caf [2021-04-22T22:48:57.392Z] Step 10/23 : FROM alpine:3.12 [2021-04-22T22:48:57.984Z] 3.12: Pulling from library/alpine [2021-04-22T22:48:57.984Z] d2f70382dc9a: Pulling fs layer [2021-04-22T22:48:58.256Z] d2f70382dc9a: Verifying Checksum [2021-04-22T22:48:58.256Z] d2f70382dc9a: Download complete [2021-04-22T22:48:58.853Z] d2f70382dc9a: Pull complete [2021-04-22T22:48:58.853Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-22T22:48:58.853Z] Status: Downloaded newer image for alpine:3.12 [2021-04-22T22:48:58.853Z] ---> 9852663dfa18 [2021-04-22T22:48:58.853Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T22:48:59.126Z] ---> Running in 247c567afadd [2021-04-22T22:48:59.398Z] Removing intermediate container 247c567afadd [2021-04-22T22:48:59.398Z] ---> 0ef1a9091243 [2021-04-22T22:48:59.398Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T22:48:59.672Z] ---> Running in 03c35692eb55 [2021-04-22T22:49:01.646Z] Removing intermediate container 03c35692eb55 [2021-04-22T22:49:01.646Z] ---> 16d0485d1d68 [2021-04-22T22:49:01.646Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-22T22:49:01.920Z] ---> Running in 79bc8bde8aff [2021-04-22T22:49:02.895Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-22T22:49:03.498Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-22T22:49:04.092Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-22T22:49:04.364Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-22T22:49:04.364Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-22T22:49:04.634Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-22T22:49:04.634Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-22T22:49:04.906Z] Executing busybox-1.31.1-r20.trigger [2021-04-22T22:49:04.906Z] OK: 8 MiB in 19 packages [2021-04-22T22:49:05.887Z] Removing intermediate container 79bc8bde8aff [2021-04-22T22:49:05.887Z] ---> 111bef000868 [2021-04-22T22:49:05.887Z] Step 14/23 : WORKDIR / [2021-04-22T22:49:06.157Z] ---> Running in a6813bd54922 [2021-04-22T22:49:06.434Z] Removing intermediate container a6813bd54922 [2021-04-22T22:49:06.434Z] ---> e6b40cf6fc7b [2021-04-22T22:49:06.434Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-22T22:49:07.028Z] ---> 29845e7d2767 [2021-04-22T22:49:07.028Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-22T22:49:08.462Z] ---> cddcd5a2229d [2021-04-22T22:49:08.462Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-22T22:49:09.057Z] ---> 0caa6aa99cf4 [2021-04-22T22:49:09.057Z] Step 18/23 : EXPOSE 49990 [2021-04-22T22:49:09.340Z] ---> Running in 9effa0b74954 [2021-04-22T22:49:09.936Z] Removing intermediate container 9effa0b74954 [2021-04-22T22:49:09.936Z] ---> f760a1e64f55 [2021-04-22T22:49:09.936Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-22T22:49:09.936Z] ---> Running in 752394dec27a [2021-04-22T22:49:10.533Z] Removing intermediate container 752394dec27a [2021-04-22T22:49:10.533Z] ---> eaf2ef160485 [2021-04-22T22:49:10.533Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-22T22:49:10.533Z] ---> Running in 291b19733076 [2021-04-22T22:49:11.129Z] Removing intermediate container 291b19733076 [2021-04-22T22:49:11.129Z] ---> 7024eff66644 [2021-04-22T22:49:11.129Z] Step 21/23 : LABEL arch=arm64 [2021-04-22T22:49:11.129Z] ---> Running in 69c26afbb13a [2021-04-22T22:49:11.728Z] Removing intermediate container 69c26afbb13a [2021-04-22T22:49:11.728Z] ---> fa8f409669f0 [2021-04-22T22:49:11.728Z] Step 22/23 : LABEL git_sha=02adb78950723d59fdd745462f627754dd55f7e4 [2021-04-22T22:49:11.728Z] ---> Running in fd16d0a359ac [2021-04-22T22:49:12.328Z] Removing intermediate container fd16d0a359ac [2021-04-22T22:49:12.328Z] ---> d304e19d7360 [2021-04-22T22:49:12.328Z] Step 23/23 : LABEL version=0.0.0 [2021-04-22T22:49:12.328Z] ---> Running in 16c08de3919c [2021-04-22T22:49:12.927Z] Removing intermediate container 16c08de3919c [2021-04-22T22:49:12.927Z] ---> 2a83ab9d68d8 [2021-04-22T22:49:12.927Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-22T22:49:12.927Z] Successfully built 2a83ab9d68d8 [2021-04-22T22:49:12.927Z] 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-04-22T22:49:13.415Z] ---> job-cost.sh [2021-04-22T22:49:13.415Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jTlw [2021-04-22T22:49:52.366Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-22T22:51:29.123Z] lf-activate-venv(): INFO: Adding /tmp/venv-jTlw/bin to PATH [2021-04-22T22:51:29.123Z] INFO: No Stack... [2021-04-22T22:51:29.123Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-22T22:51:29.123Z] INFO: Archiving Costs [Pipeline] sh [2021-04-22T22:51:29.469Z] + cut -d, -f6 [2021-04-22T22:51:29.469Z] + cat /w/workspace/device-sdk-go/38/archives/cost.csv [Pipeline] lock [2021-04-22T22:51:29.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-38-stack-cost] [2021-04-22T22:51:29.645Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-38-stack-cost] did not exist. Created. [2021-04-22T22:51:29.645Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-22T22:51:30.033Z] /w/workspace/device-sdk-go/38@tmp/durable-e4824773/script.sh: 1: /w/workspace/device-sdk-go/38@tmp/durable-e4824773/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-22T22:51:30.399Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-22T22:51:30.419Z] Warning: overwriting stash ‘stack-cost’ [2021-04-22T22:51:30.570Z] Stashed 1 file(s) [Pipeline] } [2021-04-22T22:51:30.583Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-38-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-04-22T22:51:31.332Z] provisioning config files... [2021-04-22T22:51:31.345Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2179969670963138738tmp [Pipeline] { [Pipeline] sh [2021-04-22T22:51:31.691Z] + set +x [2021-04-22T22:51:31.692Z] + curl -s https://codecov.io/bash [2021-04-22T22:51:31.692Z] + bash -s -- [2021-04-22T22:51:31.956Z] [2021-04-22T22:51:31.956Z] _____ _ [2021-04-22T22:51:31.956Z] / ____| | | [2021-04-22T22:51:31.956Z] | | ___ __| | ___ ___ _____ __ [2021-04-22T22:51:31.956Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-22T22:51:31.956Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-22T22:51:31.956Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-22T22:51:31.956Z] Bash-1.0.2 [2021-04-22T22:51:31.956Z] [2021-04-22T22:51:31.956Z] [2021-04-22T22:51:31.956Z] ==> git version 2.24.3 found [2021-04-22T22:51:31.956Z] ==> 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-04-22T22:51:31.956Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-22T22:51:31.956Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-22T22:51:31.956Z] ==> Jenkins CI detected. [2021-04-22T22:51:31.956Z] project root: . [2021-04-22T22:51:31.956Z] --> token set from env [2021-04-22T22:51:31.956Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-22T22:51:31.956Z] ==> Running gcov in . (disable via -X gcov) [2021-04-22T22:51:31.956Z] ==> Python coveragepy not found [2021-04-22T22:51:31.956Z] ==> Searching for coverage reports in: [2021-04-22T22:51:31.956Z] + . [2021-04-22T22:51:31.956Z] -> Found 1 reports [2021-04-22T22:51:31.956Z] ==> Detecting git/mercurial file structure [2021-04-22T22:51:31.956Z] ==> Reading reports [2021-04-22T22:51:31.956Z] + ./coverage.out bytes=100024 [2021-04-22T22:51:31.956Z] ==> Appending adjustments [2021-04-22T22:51:31.956Z] https://docs.codecov.io/docs/fixing-reports [2021-04-22T22:51:32.544Z] + Found adjustments [2021-04-22T22:51:32.544Z] ==> Gzipping contents [2021-04-22T22:51:32.544Z] 16K /tmp/codecov.Kgcijn.gz [2021-04-22T22:51:32.544Z] ==> Uploading reports [2021-04-22T22:51:32.544Z] url: https://codecov.io [2021-04-22T22:51:32.544Z] query: branch=PR-725&commit=02adb78950723d59fdd745462f627754dd55f7e4&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-22T22:51:32.544Z] -> Pinging Codecov [2021-04-22T22:51:32.544Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-725&commit=02adb78950723d59fdd745462f627754dd55f7e4&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-22T22:51:33.125Z] -> Uploading to [2021-04-22T22:51:33.125Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-22/7E55EF52A471D76F132DFD9A03CDDE97/02adb78950723d59fdd745462f627754dd55f7e4/9a9b5467-30da-4300-9c53-f71b9338db22.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210422T225132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4aa714dcc8f9bd2e57a86f169bdfc005d96b2d575e6ae7e3069af91c4f35a84f [2021-04-22T22:51:33.125Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-22T22:51:33.125Z] Dload Upload Total Spent Left Speed [2021-04-22T22:51:33.705Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13515 0 0 100 13515 0 27972 --:--:-- --:--:-- --:--:-- 28039 [2021-04-22T22:51:33.705Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/02adb78950723d59fdd745462f627754dd55f7e4 [Pipeline] } [2021-04-22T22:51:33.718Z] 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-04-22T22:51:34.992Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T22:51:35.580Z] ---> package-listing.sh [2021-04-22T22:51:35.580Z] ++ facter osfamily [2021-04-22T22:51:35.580Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-22T22:51:35.580Z] + OS_FAMILY=redhat [2021-04-22T22:51:35.580Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-22T22:51:35.580Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-22T22:51:35.580Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-22T22:51:35.580Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-22T22:51:35.580Z] + PACKAGES=/tmp/packages_start.txt [2021-04-22T22:51:35.580Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-22T22:51:35.580Z] + PACKAGES=/tmp/packages_end.txt [2021-04-22T22:51:35.580Z] + case "${OS_FAMILY}" in [2021-04-22T22:51:35.580Z] + rpm -qa [2021-04-22T22:51:35.580Z] + sort [2021-04-22T22:51:40.927Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-22T22:51:40.927Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-22T22:51:40.927Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-22T22:51:40.927Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-22T22:51:40.927Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-04-22T22:51:40.927Z] + 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-04-22T22:51:40.954Z] 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-04-22T22:51:41.263Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:51:41.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T22:51:41.859Z] [2021-04-22T22:51:41.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-22T22:51:42.191Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T22:51:42.192Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-22T22:51:42.192Z] df20fa9351a1: Pulling fs layer [2021-04-22T22:51:42.192Z] 36b3adc4ff6f: Pulling fs layer [2021-04-22T22:51:42.192Z] 8ad3a11d3b57: Pulling fs layer [2021-04-22T22:51:42.192Z] 46f8f816bc3b: Pulling fs layer [2021-04-22T22:51:42.192Z] 93b61091891f: Pulling fs layer [2021-04-22T22:51:42.192Z] 93b9cdb0e59b: Pulling fs layer [2021-04-22T22:51:42.192Z] 5e14af77c1be: Pulling fs layer [2021-04-22T22:51:42.192Z] 01666e4c0597: Pulling fs layer [2021-04-22T22:51:42.192Z] aa168da1d23b: Pulling fs layer [2021-04-22T22:51:42.192Z] 93b9cdb0e59b: Waiting [2021-04-22T22:51:42.192Z] 5e14af77c1be: Waiting [2021-04-22T22:51:42.192Z] 01666e4c0597: Waiting [2021-04-22T22:51:42.192Z] aa168da1d23b: Waiting [2021-04-22T22:51:42.192Z] 46f8f816bc3b: Waiting [2021-04-22T22:51:42.192Z] 93b61091891f: Waiting [2021-04-22T22:51:42.192Z] 36b3adc4ff6f: Verifying Checksum [2021-04-22T22:51:42.192Z] 36b3adc4ff6f: Download complete [2021-04-22T22:51:42.192Z] 46f8f816bc3b: Verifying Checksum [2021-04-22T22:51:42.192Z] 46f8f816bc3b: Download complete [2021-04-22T22:51:42.461Z] df20fa9351a1: Verifying Checksum [2021-04-22T22:51:42.461Z] df20fa9351a1: Download complete [2021-04-22T22:51:42.461Z] 93b9cdb0e59b: Verifying Checksum [2021-04-22T22:51:42.461Z] 5e14af77c1be: Download complete [2021-04-22T22:51:42.461Z] 01666e4c0597: Verifying Checksum [2021-04-22T22:51:42.461Z] 01666e4c0597: Download complete [2021-04-22T22:51:42.461Z] 93b61091891f: Verifying Checksum [2021-04-22T22:51:42.461Z] 93b61091891f: Download complete [2021-04-22T22:51:42.730Z] 8ad3a11d3b57: Verifying Checksum [2021-04-22T22:51:42.730Z] 8ad3a11d3b57: Download complete [2021-04-22T22:51:42.730Z] df20fa9351a1: Pull complete [2021-04-22T22:51:43.003Z] 36b3adc4ff6f: Pull complete [2021-04-22T22:51:43.993Z] 8ad3a11d3b57: Pull complete [2021-04-22T22:51:44.275Z] 46f8f816bc3b: Pull complete [2021-04-22T22:51:45.311Z] 93b61091891f: Pull complete [2021-04-22T22:51:45.913Z] aa168da1d23b: Verifying Checksum [2021-04-22T22:51:45.914Z] aa168da1d23b: Download complete [2021-04-22T22:51:45.914Z] 93b9cdb0e59b: Pull complete [2021-04-22T22:51:46.179Z] 5e14af77c1be: Pull complete [2021-04-22T22:51:46.451Z] 01666e4c0597: Pull complete [2021-04-22T22:51:56.654Z] aa168da1d23b: Pull complete [2021-04-22T22:51:56.654Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-22T22:51:56.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T22:51:56.654Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-22T22:51:56.842Z] prd-centos7-docker-4c-2g-1485 does not seem to be running inside a container [2021-04-22T22:51:56.914Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-22T22:52:00.043Z] $ docker top 0dffc613d899a49a3342526ba8d7880e8b0efeeaf2d0727d6652b8717f779822 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T22:52:00.648Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-22T22:52:01.013Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-22T22:52:01.340Z] + ls /var/log/sa-host [2021-04-22T22:52:01.340Z] + sadf -c /var/log/sa-host/sa22 [2021-04-22T22:52:01.340Z] file_magic: OK [2021-04-22T22:52:01.340Z] HZ: Using current value: 100 [2021-04-22T22:52:01.340Z] file_header: OK [2021-04-22T22:52:01.340Z] 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-04-22T22:52:01.341Z] Statistics: [2021-04-22T22:52:01.341Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-22T22:52:01.341Z] File successfully converted to sysstat format version 12.2.1 [2021-04-22T22:52:01.341Z] + sadf -c /var/log/sa-host/sa23 [2021-04-22T22:52:01.341Z] file_magic: OK [2021-04-22T22:52:01.341Z] HZ: Using current value: 100 [2021-04-22T22:52:01.341Z] file_header: OK [2021-04-22T22:52:01.341Z] 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-04-22T22:52:01.341Z] Statistics: [2021-04-22T22:52:01.341Z] Hnuu...uuuununununu... [2021-04-22T22:52:01.341Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-22T22:52:01.957Z] provisioning config files... [2021-04-22T22:52:01.978Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4797401836823919659tmp [Pipeline] { [Pipeline] echo [2021-04-22T22:52:02.007Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T22:52:02.335Z] ---> create-netrc.sh [Pipeline] } [2021-04-22T22:52:02.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-22T22:52:02.398Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T22:52:02.717Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-22T22:52:02.729Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T22:52:03.033Z] ---> sudo-logs.sh [2021-04-22T22:52:03.033Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-22T22:52:03.071Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T22:52:03.379Z] ---> job-cost.sh [2021-04-22T22:52:03.643Z] lf-activate-venv: SKIPPING [2021-04-22T22:52:03.643Z] DEBUG: total: 0.20999999344348907 [2021-04-22T22:52:03.643Z] INFO: Retrieving Stack Cost... [2021-04-22T22:52:05.570Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-22T22:52:06.148Z] INFO: Archiving Costs [Pipeline] echo [2021-04-22T22:52:06.164Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T22:52:06.471Z] ---> logs-deploy.sh [2021-04-22T22:52:06.471Z] lf-activate-venv: SKIPPING [2021-04-22T22:52:06.471Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/38 [2021-04-22T22:52:06.471Z] INFO: archiving workspace using pattern(s): [2021-04-22T22:52:09.080Z] Archives upload complete. [2021-04-22T22:52:09.080Z] INFO: archiving logs to Nexus