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+92affc97e25621ac5a3617c0e5e42feb55191c77 (54ec02d9d099f43e1faa4732743e522190985c2c) 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-2098 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 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 2c4eb43e9d1b624285ed560293ea7378e1c86003 Checking out Revision 2c4eb43e9d1b624285ed560293ea7378e1c86003 (PR-725) > 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 > 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 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c4eb43e9d1b624285ed560293ea7378e1c86003 # timeout=10 Commit message: "Merge commit '92affc97e25621ac5a3617c0e5e42feb55191c77' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-27T22:41:38.644Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk aac70bba8a8cbe0961ac72a11d2de48656e10374 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-27T22:41:38.779Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-27T22:41:38.836Z] ========================================================= [2021-04-27T22:41:38.836Z] EdgeX Global Pipelines Version Info [2021-04-27T22:41:38.836Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-27T22:41:40.427Z] ------------------- [2021-04-27T22:41:40.427Z] stable info: [2021-04-27T22:41:40.427Z] ------------------- [2021-04-27T22:41:40.427Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-27T22:41:40.427Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-27T22:41:40.427Z] Message: update stable to v1.0.186 [2021-04-27T22:41:41.372Z] ------------------- [2021-04-27T22:41:41.372Z] experimental info: [2021-04-27T22:41:41.372Z] ------------------- [2021-04-27T22:41:41.372Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-27T22:41:41.372Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-27T22:41:41.372Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-27T22:41:41.509Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-27T22:41:41.534Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-27T22:41:41.557Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-27T22:41:41.581Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-27T22:41:41.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-27T22:41:41.627Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-27T22:41:41.650Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-27T22:41:41.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-27T22:41:41.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-27T22:41:41.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-27T22:41:41.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-27T22:41:41.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-04-27T22:41:41.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-27T22:41:41.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-27T22:41:41.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-27T22:41:41.860Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T22:41:41.884Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T22:41:41.907Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T22:41:41.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-27T22:41:41.953Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-27T22:41:41.977Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-27T22:41:42.001Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-27T22:41:42.027Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-27T22:41:42.052Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-27T22:41:42.075Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-27T22:41:42.099Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-27T22:41:42.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-04-27T22:41:42.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-04-27T22:41:42.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-04-27T22:41:42.195Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c4eb43e9d1b624285ed560293ea7378e1c86003 [Pipeline] echo [2021-04-27T22:41:42.219Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c4eb43 [Pipeline] echo [2021-04-27T22:41:42.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-27T22:41:42.322Z] provisioning config files... [2021-04-27T22:41:42.354Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5815544929229957730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-27T22:41:42.674Z] ---> docker-login.sh [2021-04-27T22:41:42.674Z] nexus3.edgexfoundry.org:10001 [2021-04-27T22:41:42.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:41:43.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:41:43.202Z] Configure a credential helper to remove this warning. See [2021-04-27T22:41:43.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:41:43.202Z] [2021-04-27T22:41:43.202Z] Login Succeeded [2021-04-27T22:41:43.202Z] nexus3.edgexfoundry.org:10002 [2021-04-27T22:41:43.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:41:43.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:41:43.464Z] Configure a credential helper to remove this warning. See [2021-04-27T22:41:43.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:41:43.464Z] [2021-04-27T22:41:43.464Z] Login Succeeded [2021-04-27T22:41:43.464Z] nexus3.edgexfoundry.org:10003 [2021-04-27T22:41:43.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:41:43.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:41:43.464Z] Configure a credential helper to remove this warning. See [2021-04-27T22:41:43.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:41:43.464Z] [2021-04-27T22:41:43.464Z] Login Succeeded [2021-04-27T22:41:43.464Z] nexus3.edgexfoundry.org:10004 [2021-04-27T22:41:43.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:41:43.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:41:43.727Z] Configure a credential helper to remove this warning. See [2021-04-27T22:41:43.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:41:43.727Z] [2021-04-27T22:41:43.727Z] Login Succeeded [2021-04-27T22:41:43.727Z] docker.io [2021-04-27T22:41:43.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:41:44.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:41:44.255Z] Configure a credential helper to remove this warning. See [2021-04-27T22:41:44.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:41:44.255Z] [2021-04-27T22:41:44.255Z] Login Succeeded [2021-04-27T22:41:44.255Z] ---> docker-login.sh ends [Pipeline] } [2021-04-27T22:41:44.266Z] 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-27T22:41:44.786Z] + git log --format=format:%s -1 2c4eb43e9d1b624285ed560293ea7378e1c86003 [Pipeline] echo [2021-04-27T22:41:44.858Z] GIT_COMMIT: 2c4eb43e9d1b624285ed560293ea7378e1c86003, Commit Message: Merge commit '92affc97e25621ac5a3617c0e5e42feb55191c77' into HEAD [Pipeline] echo [2021-04-27T22:41:44.872Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:41:45.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T22:41:45.783Z] [2021-04-27T22:41:45.783Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:41:46.104Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T22:41:46.104Z] latest: Pulling from edgex-devops/git-semver [2021-04-27T22:41:46.104Z] 31603596830f: Pulling fs layer [2021-04-27T22:41:46.104Z] ed72481023dd: Pulling fs layer [2021-04-27T22:41:46.104Z] c32a4479710f: Pulling fs layer [2021-04-27T22:41:46.104Z] c2876331c4ee: Pulling fs layer [2021-04-27T22:41:46.104Z] c2876331c4ee: Waiting [2021-04-27T22:41:46.104Z] ed72481023dd: Verifying Checksum [2021-04-27T22:41:46.104Z] ed72481023dd: Download complete [2021-04-27T22:41:46.104Z] 31603596830f: Verifying Checksum [2021-04-27T22:41:46.104Z] 31603596830f: Download complete [2021-04-27T22:41:46.367Z] c2876331c4ee: Verifying Checksum [2021-04-27T22:41:46.367Z] c2876331c4ee: Download complete [2021-04-27T22:41:46.367Z] c32a4479710f: Verifying Checksum [2021-04-27T22:41:46.367Z] c32a4479710f: Download complete [2021-04-27T22:41:46.633Z] 31603596830f: Pull complete [2021-04-27T22:41:46.633Z] ed72481023dd: Pull complete [2021-04-27T22:41:47.581Z] c32a4479710f: Pull complete [2021-04-27T22:41:47.850Z] c2876331c4ee: Pull complete [2021-04-27T22:41:47.850Z] Digest: sha256:847ffe7ce2e7ac62508696f65e6af8fb3845486e82f4c7d75a16a052f406db85 [2021-04-27T22:41:47.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T22:41:47.850Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-27T22:41:47.953Z] prd-centos7-docker-4c-2g-2098 does not seem to be running inside a container [2021-04-27T22:41:48.010Z] $ 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-27T22:41:50.078Z] $ docker top fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-27T22:41:50.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T22:41:50.318Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T22:41:50.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T22:41:50.608Z] $ docker exec fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 ssh-agent [2021-04-27T22:41:50.773Z] SSH_AUTH_SOCK=/tmp/ssh-jMcalVLyoTL3/agent.12 [2021-04-27T22:41:50.773Z] SSH_AGENT_PID=17 [2021-04-27T22:41:50.783Z] Running ssh-add (command line suppressed) [2021-04-27T22:41:50.908Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6617409610922219312.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6617409610922219312.key) [2021-04-27T22:41:50.966Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T22:41:51.270Z] + git tag --points-at HEAD [Pipeline] } [2021-04-27T22:41:51.287Z] $ docker exec --env ******** --env ******** fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 ssh-agent -k [2021-04-27T22:41:51.411Z] unset SSH_AUTH_SOCK; [2021-04-27T22:41:51.412Z] unset SSH_AGENT_PID; [2021-04-27T22:41:51.412Z] echo Agent pid 17 killed; [2021-04-27T22:41:51.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-27T22:41:51.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T22:41:51.503Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T22:41:51.665Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T22:41:51.669Z] $ docker exec fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 ssh-agent [2021-04-27T22:41:51.832Z] SSH_AUTH_SOCK=/tmp/ssh-q6OHJFkL2FQ4/agent.46 [2021-04-27T22:41:51.832Z] SSH_AGENT_PID=51 [2021-04-27T22:41:51.838Z] Running ssh-add (command line suppressed) [2021-04-27T22:41:51.971Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5721155499981610521.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5721155499981610521.key) [2021-04-27T22:41:52.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T22:41:52.327Z] + git semver init [2021-04-27T22:41:52.327Z] # -> Open(): unable to determine branch for HEAD [2021-04-27T22:41:52.327Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-04-27T22:41:52.327Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-27T22:41:52.327Z] # $SEMVER_REMOTE_NAME = origin [2021-04-27T22:41:52.327Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-27T22:41:52.327Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-27T22:41:52.327Z] # $SEMVER_BRANCH = PR-725 [2021-04-27T22:41:52.327Z] # $SEMVER_TEMP = /tmp/semver-512782502 [2021-04-27T22:41:52.327Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-27T22:41:53.275Z] # '/tmp/semver-512782502' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-04-27T22:41:53.275Z] # -> Force: false [2021-04-27T22:41:53.275Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-04-27T22:41:53.289Z] $ docker exec --env ******** --env ******** fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 ssh-agent -k [2021-04-27T22:41:53.412Z] unset SSH_AUTH_SOCK; [2021-04-27T22:41:53.412Z] unset SSH_AGENT_PID; [2021-04-27T22:41:53.412Z] echo Agent pid 51 killed; [2021-04-27T22:41:53.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-27T22:41:53.804Z] + git semver [Pipeline] } [2021-04-27T22:41:53.823Z] $ docker stop --time=1 fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 [2021-04-27T22:41:55.703Z] $ docker rm -f fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T22:41:56.127Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-27T22:41:56.443Z] Stashed 1 file(s) [Pipeline] echo [2021-04-27T22:41:56.447Z] [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-27T22:42:11.628Z] Still waiting to schedule task [2021-04-27T22:42:11.628Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2098’ [2021-04-27T22:42:11.631Z] Still waiting to schedule task [2021-04-27T22:42:11.631Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-27T22:44:00.866Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2099 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-27T22:44:00.884Z] Running in /w/workspace/device-sdk-go/40 [Pipeline] { [Pipeline] checkout [2021-04-27T22:44:06.633Z] using credential edgex-jenkins-ssh [2021-04-27T22:44:06.653Z] Cloning the remote Git repository [2021-04-27T22:44:06.704Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T22:44:06.841Z] > git init /w/workspace/device-sdk-go/40 # timeout=10 [2021-04-27T22:44:06.921Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T22:44:06.922Z] > git --version # timeout=10 [2021-04-27T22:44:06.936Z] > git --version # 'git version 2.17.1' [2021-04-27T22:44:06.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T22:44:07.032Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T22:44:08.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T22:44:08.287Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T22:44:08.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T22:44:08.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T22:44:08.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T22:44:08.376Z] > 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-27T22:44:08.969Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-27T22:44:09.366Z] Merge succeeded, producing 93e3b97c51b222bf9f95f066e8a398ce06bc86a4 [2021-04-27T22:44:09.366Z] Checking out Revision 93e3b97c51b222bf9f95f066e8a398ce06bc86a4 (PR-725) [2021-04-27T22:44:08.989Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T22:44:09.004Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-27T22:44:09.110Z] > git remote # timeout=10 [2021-04-27T22:44:09.133Z] > git config --get remote.origin.url # timeout=10 [2021-04-27T22:44:09.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T22:44:09.163Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-27T22:44:09.354Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-27T22:44:09.375Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T22:44:09.393Z] > git checkout -f 93e3b97c51b222bf9f95f066e8a398ce06bc86a4 # timeout=10 [2021-04-27T22:44:13.560Z] Commit message: "Merge commit '92affc97e25621ac5a3617c0e5e42feb55191c77' into HEAD" [2021-04-27T22:44:13.584Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T22:44:13.571Z] > git rev-list --no-walk aac70bba8a8cbe0961ac72a11d2de48656e10374 # timeout=10 [2021-04-27T22:44:15.140Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-27T22:44:15.549Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-27T22:44:15.884Z] + true [2021-04-27T22:44:15.884Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-27T22:44:18.570Z] provisioning config files... [2021-04-27T22:44:18.611Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/40@tmp/config7498341210624529625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-27T22:44:19.082Z] ---> docker-login.sh [2021-04-27T22:44:19.083Z] nexus3.edgexfoundry.org:10001 [2021-04-27T22:44:19.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:44:20.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:44:20.301Z] Configure a credential helper to remove this warning. See [2021-04-27T22:44:20.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:44:20.301Z] [2021-04-27T22:44:20.301Z] Login Succeeded [2021-04-27T22:44:20.301Z] nexus3.edgexfoundry.org:10002 [2021-04-27T22:44:20.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:44:20.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:44:20.574Z] Configure a credential helper to remove this warning. See [2021-04-27T22:44:20.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:44:20.574Z] [2021-04-27T22:44:20.574Z] Login Succeeded [2021-04-27T22:44:20.851Z] nexus3.edgexfoundry.org:10003 [2021-04-27T22:44:21.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:44:21.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:44:21.127Z] Configure a credential helper to remove this warning. See [2021-04-27T22:44:21.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:44:21.127Z] [2021-04-27T22:44:21.127Z] Login Succeeded [2021-04-27T22:44:21.127Z] nexus3.edgexfoundry.org:10004 [2021-04-27T22:44:21.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:44:21.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:44:21.726Z] Configure a credential helper to remove this warning. See [2021-04-27T22:44:21.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:44:21.726Z] [2021-04-27T22:44:21.726Z] Login Succeeded [2021-04-27T22:44:21.726Z] docker.io [2021-04-27T22:44:22.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:44:22.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:44:22.597Z] Configure a credential helper to remove this warning. See [2021-04-27T22:44:22.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:44:22.597Z] [2021-04-27T22:44:22.597Z] Login Succeeded [2021-04-27T22:44:22.597Z] ---> docker-login.sh ends [Pipeline] } [2021-04-27T22:44:22.616Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-27T22:44:22.919Z] ========================================================= [2021-04-27T22:44:22.919Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-27T22:44:22.919Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:44:23.266Z] + 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-27T22:44:23.868Z] Sending build context to Docker daemon 2.472MB [2021-04-27T22:44:23.868Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T22:44:23.868Z] Step 2/8 : FROM ${BASE} [2021-04-27T22:44:23.868Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-27T22:44:23.868Z] 5f621e34cdf4: Pulling fs layer [2021-04-27T22:44:23.868Z] a4357932f1b6: Pulling fs layer [2021-04-27T22:44:23.868Z] 18c013af1878: Pulling fs layer [2021-04-27T22:44:23.868Z] 00ac8860ef70: Pulling fs layer [2021-04-27T22:44:23.868Z] 63d7cb157983: Pulling fs layer [2021-04-27T22:44:23.868Z] b116817d02f9: Pulling fs layer [2021-04-27T22:44:23.868Z] 745a02a5169b: Pulling fs layer [2021-04-27T22:44:23.868Z] 00ac8860ef70: Waiting [2021-04-27T22:44:23.868Z] 63d7cb157983: Waiting [2021-04-27T22:44:23.868Z] b116817d02f9: Waiting [2021-04-27T22:44:23.868Z] 745a02a5169b: Waiting [2021-04-27T22:44:23.868Z] 18c013af1878: Verifying Checksum [2021-04-27T22:44:23.868Z] 18c013af1878: Download complete [2021-04-27T22:44:23.868Z] a4357932f1b6: Download complete [2021-04-27T22:44:23.868Z] 63d7cb157983: Verifying Checksum [2021-04-27T22:44:23.868Z] 63d7cb157983: Download complete [2021-04-27T22:44:23.868Z] b116817d02f9: Verifying Checksum [2021-04-27T22:44:23.868Z] b116817d02f9: Download complete [2021-04-27T22:44:23.868Z] 5f621e34cdf4: Verifying Checksum [2021-04-27T22:44:23.868Z] 5f621e34cdf4: Download complete [2021-04-27T22:44:24.879Z] 5f621e34cdf4: Pull complete [2021-04-27T22:44:25.156Z] a4357932f1b6: Pull complete [2021-04-27T22:44:25.757Z] 18c013af1878: Pull complete [2021-04-27T22:44:26.359Z] 745a02a5169b: Verifying Checksum [2021-04-27T22:44:26.360Z] 745a02a5169b: Download complete [2021-04-27T22:44:27.795Z] 00ac8860ef70: Verifying Checksum [2021-04-27T22:44:27.795Z] 00ac8860ef70: Download complete [2021-04-27T22:44:37.963Z] 00ac8860ef70: Pull complete [2021-04-27T22:44:38.236Z] 63d7cb157983: Pull complete [2021-04-27T22:44:38.509Z] b116817d02f9: Pull complete [2021-04-27T22:44:42.820Z] 745a02a5169b: Pull complete [2021-04-27T22:44:42.820Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-27T22:44:42.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-27T22:44:42.820Z] ---> b7e6874047d6 [2021-04-27T22:44:42.820Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T22:44:45.467Z] ---> Running in c6d1115cb94b [2021-04-27T22:44:45.740Z] Removing intermediate container c6d1115cb94b [2021-04-27T22:44:45.740Z] ---> cb6352787d53 [2021-04-27T22:44:45.740Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T22:44:45.740Z] ---> Running in 8d95de3a3ffd [2021-04-27T22:44:48.371Z] Removing intermediate container 8d95de3a3ffd [2021-04-27T22:44:48.371Z] ---> 73116d1d53c4 [2021-04-27T22:44:48.371Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-27T22:44:48.371Z] ---> Running in 7c8f7e764d53 [2021-04-27T22:44:49.359Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T22:44:50.338Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-27T22:44:50.936Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-27T22:44:50.936Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-27T22:44:50.936Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-27T22:44:51.206Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-27T22:44:51.206Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-27T22:44:51.479Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-27T22:44:51.479Z] Executing busybox-1.31.1-r19.trigger [2021-04-27T22:44:51.479Z] OK: 144 MiB in 45 packages [2021-04-27T22:44:52.918Z] Removing intermediate container 7c8f7e764d53 [2021-04-27T22:44:52.918Z] ---> 7d104f2b942a [2021-04-27T22:44:52.918Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-27T22:44:52.918Z] ---> Running in 19790e409ec9 [2021-04-27T22:44:53.511Z] Removing intermediate container 19790e409ec9 [2021-04-27T22:44:53.511Z] ---> 9524947422af [2021-04-27T22:44:53.511Z] Step 7/8 : COPY . . [2021-04-27T22:44:54.946Z] ---> 16df9771e42b [2021-04-27T22:44:54.946Z] Step 8/8 : RUN go mod download [2021-04-27T22:44:54.946Z] ---> Running in e1701f96e550 [2021-04-27T22:44:55.965Z] Running on prd-centos7-docker-4c-2g-2100 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-27T22:44:55.983Z] Running in /w/workspace/device-sdk-go/40 [Pipeline] { [Pipeline] checkout [2021-04-27T22:44:58.717Z] using credential edgex-jenkins-ssh [2021-04-27T22:44:58.730Z] Cloning the remote Git repository [2021-04-27T22:44:58.587Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T22:44:58.661Z] > git init /w/workspace/device-sdk-go/40 # timeout=10 [2021-04-27T22:44:58.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T22:44:58.758Z] > git --version # timeout=10 [2021-04-27T22:44:58.764Z] > git --version # 'git version 2.24.3' [2021-04-27T22:44:58.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T22:44:58.813Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T22:45:00.373Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-27T22:44:59.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T22:44:59.765Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T22:44:59.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-27T22:44:59.800Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-27T22:44:59.801Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T22:44:59.809Z] > 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-27T22:45:00.348Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T22:45:00.358Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-27T22:45:00.568Z] Merge succeeded, producing 3cf1a6ddaac2532d61c8d8448c94c278a89bf844 [2021-04-27T22:45:00.569Z] Checking out Revision 3cf1a6ddaac2532d61c8d8448c94c278a89bf844 (PR-725) [2021-04-27T22:45:00.414Z] > git remote # timeout=10 [2021-04-27T22:45:00.420Z] > git config --get remote.origin.url # timeout=10 [2021-04-27T22:45:00.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T22:45:00.429Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-27T22:45:00.543Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-27T22:45:00.554Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T22:45:00.560Z] > git checkout -f 3cf1a6ddaac2532d61c8d8448c94c278a89bf844 # timeout=10 [2021-04-27T22:45:04.250Z] Commit message: "Merge commit '92affc97e25621ac5a3617c0e5e42feb55191c77' into HEAD" [2021-04-27T22:45:04.263Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T22:45:05.445Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-27T22:45:04.255Z] > git rev-list --no-walk aac70bba8a8cbe0961ac72a11d2de48656e10374 # timeout=10 [2021-04-27T22:45:05.778Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-27T22:45:06.076Z] + sudo service docker restart [2021-04-27T22:45:06.076Z] + true [2021-04-27T22:45:06.076Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-27T22:45:07.502Z] provisioning config files... [2021-04-27T22:45:07.531Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/40@tmp/config1340681953970239478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-27T22:45:07.873Z] ---> docker-login.sh [2021-04-27T22:45:07.873Z] nexus3.edgexfoundry.org:10001 [2021-04-27T22:45:08.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:45:08.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:45:08.136Z] Configure a credential helper to remove this warning. See [2021-04-27T22:45:08.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:45:08.136Z] [2021-04-27T22:45:08.136Z] Login Succeeded [2021-04-27T22:45:08.136Z] nexus3.edgexfoundry.org:10002 [2021-04-27T22:45:08.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:45:08.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:45:08.401Z] Configure a credential helper to remove this warning. See [2021-04-27T22:45:08.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:45:08.401Z] [2021-04-27T22:45:08.401Z] Login Succeeded [2021-04-27T22:45:08.402Z] nexus3.edgexfoundry.org:10003 [2021-04-27T22:45:08.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:45:08.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:45:08.668Z] Configure a credential helper to remove this warning. See [2021-04-27T22:45:08.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:45:08.668Z] [2021-04-27T22:45:08.668Z] Login Succeeded [2021-04-27T22:45:08.668Z] nexus3.edgexfoundry.org:10004 [2021-04-27T22:45:08.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:45:08.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:45:08.932Z] Configure a credential helper to remove this warning. See [2021-04-27T22:45:08.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:45:08.932Z] [2021-04-27T22:45:08.932Z] Login Succeeded [2021-04-27T22:45:08.932Z] docker.io [2021-04-27T22:45:08.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-27T22:45:09.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-27T22:45:09.193Z] Configure a credential helper to remove this warning. See [2021-04-27T22:45:09.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-27T22:45:09.193Z] [2021-04-27T22:45:09.193Z] Login Succeeded [2021-04-27T22:45:09.193Z] ---> docker-login.sh ends [Pipeline] } [2021-04-27T22:45:09.202Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-27T22:45:09.376Z] ========================================================= [2021-04-27T22:45:09.376Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-27T22:45:09.376Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:45:09.686Z] + 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-27T22:45:09.686Z] Sending build context to Docker daemon 2.47MB [2021-04-27T22:45:09.686Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T22:45:09.686Z] Step 2/8 : FROM ${BASE} [2021-04-27T22:45:09.951Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-27T22:45:09.951Z] 188c0c94c7c5: Pulling fs layer [2021-04-27T22:45:09.951Z] 0ef7d3d256c8: Pulling fs layer [2021-04-27T22:45:09.951Z] de9db76c5a1d: Pulling fs layer [2021-04-27T22:45:09.951Z] bca2f99d35d6: Pulling fs layer [2021-04-27T22:45:09.951Z] 93359f2a8cfa: Pulling fs layer [2021-04-27T22:45:09.951Z] 7c6f9722023f: Pulling fs layer [2021-04-27T22:45:09.951Z] a35cf1a2eb13: Pulling fs layer [2021-04-27T22:45:09.951Z] 93359f2a8cfa: Waiting [2021-04-27T22:45:09.951Z] 7c6f9722023f: Waiting [2021-04-27T22:45:09.951Z] a35cf1a2eb13: Waiting [2021-04-27T22:45:09.951Z] bca2f99d35d6: Waiting [2021-04-27T22:45:09.951Z] de9db76c5a1d: Verifying Checksum [2021-04-27T22:45:09.951Z] de9db76c5a1d: Download complete [2021-04-27T22:45:09.951Z] 0ef7d3d256c8: Download complete [2021-04-27T22:45:09.951Z] 93359f2a8cfa: Verifying Checksum [2021-04-27T22:45:09.951Z] 93359f2a8cfa: Download complete [2021-04-27T22:45:09.951Z] 7c6f9722023f: Verifying Checksum [2021-04-27T22:45:09.951Z] 7c6f9722023f: Download complete [2021-04-27T22:45:09.951Z] 188c0c94c7c5: Verifying Checksum [2021-04-27T22:45:09.951Z] 188c0c94c7c5: Download complete [2021-04-27T22:45:10.218Z] 188c0c94c7c5: Pull complete [2021-04-27T22:45:10.485Z] 0ef7d3d256c8: Pull complete [2021-04-27T22:45:10.485Z] de9db76c5a1d: Pull complete [2021-04-27T22:45:11.439Z] a35cf1a2eb13: Verifying Checksum [2021-04-27T22:45:11.439Z] a35cf1a2eb13: Download complete [2021-04-27T22:45:12.397Z] bca2f99d35d6: Verifying Checksum [2021-04-27T22:45:12.397Z] bca2f99d35d6: Download complete [2021-04-27T22:45:17.767Z] bca2f99d35d6: Pull complete [2021-04-27T22:45:17.767Z] 93359f2a8cfa: Pull complete [2021-04-27T22:45:17.767Z] 7c6f9722023f: Pull complete [2021-04-27T22:45:21.752Z] Removing intermediate container e1701f96e550 [2021-04-27T22:45:21.753Z] ---> 8656e27a21d4 [2021-04-27T22:45:21.753Z] Successfully built 8656e27a21d4 [2021-04-27T22:45:21.753Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:45:22.092Z] + docker inspect -f . ci-base-image-arm64 [2021-04-27T22:45:22.092Z] . [Pipeline] withDockerContainer [2021-04-27T22:45:22.362Z] prd-ubuntu18.04-docker-arm64-4c-16g-2099 does not seem to be running inside a container [2021-04-27T22:45:22.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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-27T22:45:23.994Z] $ docker top eab71230d7c3a5194c8fdf8ca6f5c1757e8edaf6eac2d7eb5f35ac0a3b21e848 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T22:45:24.949Z] + go version [2021-04-27T22:45:24.949Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-27T22:45:24.974Z] $ docker stop --time=1 eab71230d7c3a5194c8fdf8ca6f5c1757e8edaf6eac2d7eb5f35ac0a3b21e848 [2021-04-27T22:45:26.933Z] $ docker rm -f eab71230d7c3a5194c8fdf8ca6f5c1757e8edaf6eac2d7eb5f35ac0a3b21e848 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:45:27.620Z] + docker inspect -f . ci-base-image-arm64 [2021-04-27T22:45:27.621Z] . [Pipeline] withDockerContainer [2021-04-27T22:45:27.826Z] a35cf1a2eb13: Pull complete [2021-04-27T22:45:27.826Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-27T22:45:27.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-27T22:45:27.826Z] ---> a62c8e92a672 [2021-04-27T22:45:27.826Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T22:45:27.826Z] ---> Running in edd0aa72b460 [2021-04-27T22:45:27.826Z] Removing intermediate container edd0aa72b460 [2021-04-27T22:45:27.826Z] ---> eaca8fb2f5f5 [2021-04-27T22:45:27.826Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T22:45:27.826Z] ---> Running in 798a97033140 [2021-04-27T22:45:27.890Z] prd-ubuntu18.04-docker-arm64-4c-16g-2099 does not seem to be running inside a container [2021-04-27T22:45:27.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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-27T22:45:28.410Z] Removing intermediate container 798a97033140 [2021-04-27T22:45:28.410Z] ---> cc78d642008d [2021-04-27T22:45:28.410Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-27T22:45:28.410Z] ---> Running in c691991c400c [2021-04-27T22:45:29.361Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-27T22:45:29.515Z] $ docker top a95f317487d1e8a10c98d7ca1dc63126e38b07c6de81937a516cce3f8b86a78b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T22:45:30.313Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-27T22:45:30.468Z] + make test [2021-04-27T22:45:30.468Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-27T22:45:30.576Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-27T22:45:30.576Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-27T22:45:30.576Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-27T22:45:30.839Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-27T22:45:30.839Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-27T22:45:30.839Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-27T22:45:31.105Z] Executing busybox-1.31.1-r19.trigger [2021-04-27T22:45:31.105Z] OK: 167 MiB in 45 packages [2021-04-27T22:45:31.683Z] Removing intermediate container c691991c400c [2021-04-27T22:45:31.683Z] ---> 9b2cb5e6186e [2021-04-27T22:45:31.683Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-27T22:45:31.946Z] ---> Running in ecbd00ba7c32 [2021-04-27T22:45:31.946Z] Removing intermediate container ecbd00ba7c32 [2021-04-27T22:45:31.946Z] ---> 66028b8bf14f [2021-04-27T22:45:31.946Z] Step 7/8 : COPY . . [2021-04-27T22:45:33.343Z] ---> e80f7a584b7e [2021-04-27T22:45:33.343Z] Step 8/8 : RUN go mod download [2021-04-27T22:45:33.343Z] ---> Running in bf2fa84b3a52 [2021-04-27T22:45:52.681Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-27T22:45:55.390Z] Removing intermediate container bf2fa84b3a52 [2021-04-27T22:45:55.391Z] ---> ae29f49eecea [2021-04-27T22:45:55.391Z] Successfully built ae29f49eecea [2021-04-27T22:45:55.391Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:45:55.713Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-27T22:45:55.713Z] . [Pipeline] withDockerContainer [2021-04-27T22:45:55.906Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2021-04-27T22:45:55.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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-27T22:45:56.976Z] $ docker top 98a6758f91a64e51ee4826a91aec8849f939761c85352620c1f9fdcd501ff751 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T22:45:57.466Z] + go version [2021-04-27T22:45:57.466Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-27T22:45:57.484Z] $ docker stop --time=1 98a6758f91a64e51ee4826a91aec8849f939761c85352620c1f9fdcd501ff751 [2021-04-27T22:45:58.859Z] $ docker rm -f 98a6758f91a64e51ee4826a91aec8849f939761c85352620c1f9fdcd501ff751 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:45:59.381Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-27T22:45:59.381Z] . [Pipeline] withDockerContainer [2021-04-27T22:45:59.489Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2021-04-27T22:45:59.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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-27T22:46:00.123Z] $ docker top 8e91d4fdc11500813a4ed2a3985e18ee205e9795b1c8986960e791f5e5090ac2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T22:46:00.537Z] + make test [2021-04-27T22:46:00.537Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-27T22:46:08.744Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-27T22:46:30.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-27T22:46:30.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-27T22:46:30.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-27T22:46:30.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-27T22:46:30.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-27T22:46:33.484Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.097s coverage: 28.1% of statements [2021-04-27T22:46:33.484Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.092s coverage: 78.9% of statements [2021-04-27T22:46:34.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.071s coverage: 7.8% of statements [2021-04-27T22:46:34.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-27T22:46:34.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-27T22:46:34.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-27T22:46:34.240Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 30.2% of statements [2021-04-27T22:46:34.240Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-27T22:46:34.240Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-27T22:46:34.240Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-27T22:46:35.052Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.159s coverage: 57.2% of statements [2021-04-27T22:46:35.342Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.347s coverage: 6.6% of statements [2021-04-27T22:46:35.627Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-27T22:46:35.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-27T22:46:35.896Z] GO111MODULE=on go vet ./... [2021-04-27T22:46:49.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-27T22:46:49.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-27T22:46:49.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-27T22:46:49.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-27T22:46:49.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-27T22:46:53.609Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.155s coverage: 28.1% of statements [2021-04-27T22:46:53.609Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.222s coverage: 78.9% of statements [2021-04-27T22:46:53.609Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.165s coverage: 7.8% of statements [2021-04-27T22:46:53.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-27T22:46:53.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-27T22:46:53.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-27T22:46:54.178Z] gofmt -l . [2021-04-27T22:46:54.178Z] [ "`gofmt -l .`" = "" ] [2021-04-27T22:46:54.178Z] ./bin/test-attribution-txt.sh [2021-04-27T22:46:54.178Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-27T22:46:54.197Z] $ docker stop --time=1 8e91d4fdc11500813a4ed2a3985e18ee205e9795b1c8986960e791f5e5090ac2 [2021-04-27T22:46:55.601Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.289s coverage: 30.2% of statements [2021-04-27T22:46:55.601Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-27T22:46:55.601Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-27T22:46:55.601Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-27T22:46:56.015Z] $ docker rm -f 8e91d4fdc11500813a4ed2a3985e18ee205e9795b1c8986960e791f5e5090ac2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T22:46:56.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-27T22:46:57.098Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-27T22:46:59.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.320s coverage: 57.2% of statements [2021-04-27T22:46:59.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.049s coverage: 6.6% of statements [Pipeline] sh [2021-04-27T22:46:59.293Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.0% of statements [2021-04-27T22:46:59.293Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-27T22:46:59.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-27T22:46:59.767Z] + ls -al . [2021-04-27T22:46:59.768Z] total 188 [2021-04-27T22:46:59.768Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 27 22:46 . [2021-04-27T22:46:59.768Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 27 22:44 .. [2021-04-27T22:46:59.768Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 22:45 bin [2021-04-27T22:46:59.768Z] -rw-r--r--. 1 jenkins jenkins 100320 Apr 27 22:46 coverage.out [2021-04-27T22:46:59.768Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 27 22:45 Dockerfile.build [2021-04-27T22:46:59.768Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 27 22:45 .dockerignore [2021-04-27T22:46:59.768Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 27 22:45 example [2021-04-27T22:46:59.768Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 27 22:45 .git [2021-04-27T22:46:59.768Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 27 22:45 .github [2021-04-27T22:46:59.768Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 27 22:45 .gitignore [2021-04-27T22:46:59.768Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 27 22:46 go.mod [2021-04-27T22:46:59.768Z] -rw-r--r--. 1 jenkins jenkins 20957 Apr 27 22:46 go.sum [2021-04-27T22:46:59.768Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 27 22:45 internal [2021-04-27T22:46:59.768Z] -rw-rw-r--. 1 jenkins jenkins 894 Apr 27 22:45 Jenkinsfile [2021-04-27T22:46:59.768Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 27 22:45 LICENSE [2021-04-27T22:46:59.768Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 27 22:45 Makefile [2021-04-27T22:46:59.768Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 27 22:45 openapi [2021-04-27T22:46:59.768Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 27 22:45 pkg [2021-04-27T22:46:59.768Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 27 22:45 README.md [2021-04-27T22:46:59.768Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 27 22:45 RELEASE-NOTES.txt [2021-04-27T22:46:59.768Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 27 22:45 snap [2021-04-27T22:46:59.768Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 27 22:41 VERSION [2021-04-27T22:46:59.768Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 27 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:46:59.889Z] GO111MODULE=on go vet ./... [2021-04-27T22:47:00.079Z] + 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=2c4eb43e9d1b624285ed560293ea7378e1c86003 --label arch=amd64 --label version=0.0.0 . [2021-04-27T22:47:00.345Z] Sending build context to Docker daemon 2.571MB [2021-04-27T22:47:00.345Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T22:47:00.345Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-27T22:47:00.345Z] ---> ae29f49eecea [2021-04-27T22:47:00.345Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-27T22:47:00.921Z] ---> Running in c4c9e5d9039c [2021-04-27T22:47:01.189Z] Removing intermediate container c4c9e5d9039c [2021-04-27T22:47:01.189Z] ---> a71745671f83 [2021-04-27T22:47:01.189Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T22:47:01.189Z] ---> Running in 0bb60c2734f1 [2021-04-27T22:47:01.458Z] Removing intermediate container 0bb60c2734f1 [2021-04-27T22:47:01.458Z] ---> 24e6220ffe24 [2021-04-27T22:47:01.458Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T22:47:01.458Z] ---> Running in 62ea92877e6a [2021-04-27T22:47:02.864Z] Removing intermediate container 62ea92877e6a [2021-04-27T22:47:02.864Z] ---> 840199f6b9e5 [2021-04-27T22:47:02.864Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-27T22:47:02.864Z] ---> Running in 79abfb5ee80f [2021-04-27T22:47:03.128Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-27T22:47:03.703Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-27T22:47:04.281Z] OK: 167 MiB in 45 packages [2021-04-27T22:47:04.859Z] Removing intermediate container 79abfb5ee80f [2021-04-27T22:47:04.859Z] ---> b3d8302e5456 [2021-04-27T22:47:04.859Z] Step 7/23 : COPY . . [2021-04-27T22:47:05.807Z] ---> 4bf14a52c718 [2021-04-27T22:47:05.807Z] Step 8/23 : RUN go mod download [2021-04-27T22:47:05.807Z] ---> Running in a3b3508acfd2 [2021-04-27T22:47:07.215Z] Removing intermediate container a3b3508acfd2 [2021-04-27T22:47:07.215Z] ---> efc387915574 [2021-04-27T22:47:07.215Z] Step 9/23 : RUN make build [2021-04-27T22:47:07.215Z] ---> Running in e3191fc5d579 [2021-04-27T22:47:07.487Z] 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-27T22:47:19.857Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-27T22:47:20.808Z] Removing intermediate container e3191fc5d579 [2021-04-27T22:47:20.808Z] ---> 8300183adbb9 [2021-04-27T22:47:20.808Z] Step 10/23 : FROM alpine:3.12 [2021-04-27T22:47:21.071Z] 3.12: Pulling from library/alpine [2021-04-27T22:47:21.334Z] 339de151aab4: Pulling fs layer [2021-04-27T22:47:21.597Z] 339de151aab4: Verifying Checksum [2021-04-27T22:47:21.597Z] 339de151aab4: Download complete [2021-04-27T22:47:21.861Z] 339de151aab4: Pull complete [2021-04-27T22:47:21.861Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-27T22:47:21.861Z] Status: Downloaded newer image for alpine:3.12 [2021-04-27T22:47:21.861Z] ---> 13621d1b12d4 [2021-04-27T22:47:21.861Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T22:47:22.124Z] ---> Running in 930fe1404bac [2021-04-27T22:47:23.079Z] Removing intermediate container 930fe1404bac [2021-04-27T22:47:23.079Z] ---> ba3b2e2f5590 [2021-04-27T22:47:23.079Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T22:47:23.079Z] ---> Running in e6c826bcba8f [2021-04-27T22:47:24.040Z] Removing intermediate container e6c826bcba8f [2021-04-27T22:47:24.040Z] ---> 88f117034e52 [2021-04-27T22:47:24.040Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-27T22:47:24.040Z] ---> Running in b6af8d468d88 [2021-04-27T22:47:24.618Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-27T22:47:25.205Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-27T22:47:25.783Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-27T22:47:25.783Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-27T22:47:25.783Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-27T22:47:27.177Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-27T22:47:27.177Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-27T22:47:27.177Z] Executing busybox-1.31.1-r20.trigger [2021-04-27T22:47:27.177Z] OK: 8 MiB in 19 packages [2021-04-27T22:47:27.763Z] Removing intermediate container b6af8d468d88 [2021-04-27T22:47:27.763Z] ---> 9615ea0d10fa [2021-04-27T22:47:27.763Z] Step 14/23 : WORKDIR / [2021-04-27T22:47:27.763Z] ---> Running in c80ab005403f [2021-04-27T22:47:28.039Z] Removing intermediate container c80ab005403f [2021-04-27T22:47:28.039Z] ---> 860a74fc9756 [2021-04-27T22:47:28.039Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-27T22:47:28.039Z] ---> 5406fea5fda4 [2021-04-27T22:47:28.039Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-27T22:47:28.996Z] ---> d8c8187e02c6 [2021-04-27T22:47:28.996Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-27T22:47:28.996Z] ---> 32594e62b338 [2021-04-27T22:47:28.996Z] Step 18/23 : EXPOSE 49990 [2021-04-27T22:47:28.996Z] ---> Running in 335af1007a49 [2021-04-27T22:47:29.260Z] Removing intermediate container 335af1007a49 [2021-04-27T22:47:29.260Z] ---> 3953308bf0be [2021-04-27T22:47:29.260Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-27T22:47:29.260Z] ---> Running in 736b703ba2ce [2021-04-27T22:47:29.538Z] Removing intermediate container 736b703ba2ce [2021-04-27T22:47:29.538Z] ---> 26e4a321dc19 [2021-04-27T22:47:29.538Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-27T22:47:29.538Z] ---> Running in a444e0457ffd [2021-04-27T22:47:29.802Z] Removing intermediate container a444e0457ffd [2021-04-27T22:47:29.802Z] ---> f1d8af4ba030 [2021-04-27T22:47:29.802Z] Step 21/23 : LABEL arch=amd64 [2021-04-27T22:47:29.802Z] ---> Running in c67a06194262 [2021-04-27T22:47:30.065Z] Removing intermediate container c67a06194262 [2021-04-27T22:47:30.065Z] ---> 09c58ce24419 [2021-04-27T22:47:30.065Z] Step 22/23 : LABEL git_sha=2c4eb43e9d1b624285ed560293ea7378e1c86003 [2021-04-27T22:47:30.065Z] ---> Running in be724b0a45db [2021-04-27T22:47:30.328Z] Removing intermediate container be724b0a45db [2021-04-27T22:47:30.328Z] ---> 8d8b39fb859c [2021-04-27T22:47:30.328Z] Step 23/23 : LABEL version=0.0.0 [2021-04-27T22:47:30.328Z] ---> Running in 3835248afef4 [2021-04-27T22:47:30.590Z] Removing intermediate container 3835248afef4 [2021-04-27T22:47:30.590Z] ---> 40953b997a99 [2021-04-27T22:47:30.590Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-27T22:47:30.590Z] Successfully built 40953b997a99 [2021-04-27T22:47:30.590Z] 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-27T22:47:31.286Z] ---> job-cost.sh [2021-04-27T22:47:31.286Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mwYy [2021-04-27T22:47:46.234Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-27T22:47:46.922Z] gofmt -l . [2021-04-27T22:47:46.922Z] [ "`gofmt -l .`" = "" ] [2021-04-27T22:47:46.922Z] ./bin/test-attribution-txt.sh [2021-04-27T22:47:46.922Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-27T22:47:46.946Z] $ docker stop --time=1 a95f317487d1e8a10c98d7ca1dc63126e38b07c6de81937a516cce3f8b86a78b [2021-04-27T22:47:49.311Z] $ docker rm -f a95f317487d1e8a10c98d7ca1dc63126e38b07c6de81937a516cce3f8b86a78b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T22:47:50.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-27T22:47:50.405Z] Warning: overwriting stash ‘coverage-report’ [2021-04-27T22:47:51.442Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T22:47:51.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-27T22:47:52.303Z] + ls -al . [2021-04-27T22:47:52.303Z] total 224 [2021-04-27T22:47:52.303Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 22:47 . [2021-04-27T22:47:52.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 22:44 .. [2021-04-27T22:47:52.303Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 22:44 .dockerignore [2021-04-27T22:47:52.303Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 22:44 .git [2021-04-27T22:47:52.303Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 22:44 .github [2021-04-27T22:47:52.303Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 27 22:44 .gitignore [2021-04-27T22:47:52.303Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 27 22:44 Dockerfile.build [2021-04-27T22:47:52.303Z] -rw-rw-r-- 1 jenkins jenkins 894 Apr 27 22:44 Jenkinsfile [2021-04-27T22:47:52.303Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 22:44 LICENSE [2021-04-27T22:47:52.303Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 27 22:44 Makefile [2021-04-27T22:47:52.303Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 27 22:44 README.md [2021-04-27T22:47:52.303Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 27 22:44 RELEASE-NOTES.txt [2021-04-27T22:47:52.303Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 22:41 VERSION [2021-04-27T22:47:52.303Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 22:44 bin [2021-04-27T22:47:52.303Z] -rw-r--r-- 1 jenkins jenkins 100320 Apr 27 22:46 coverage.out [2021-04-27T22:47:52.303Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 22:44 example [2021-04-27T22:47:52.303Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 27 22:47 go.mod [2021-04-27T22:47:52.303Z] -rw-r--r-- 1 jenkins jenkins 20957 Apr 27 22:47 go.sum [2021-04-27T22:47:52.303Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 27 22:44 internal [2021-04-27T22:47:52.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 22:44 openapi [2021-04-27T22:47:52.303Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 22:44 pkg [2021-04-27T22:47:52.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 22:44 snap [2021-04-27T22:47:52.303Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 22:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:47:52.732Z] + 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=2c4eb43e9d1b624285ed560293ea7378e1c86003 --label arch=arm64 --label version=0.0.0 . [2021-04-27T22:47:53.335Z] Sending build context to Docker daemon 2.573MB [2021-04-27T22:47:53.335Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-27T22:47:53.335Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-27T22:47:53.335Z] ---> 8656e27a21d4 [2021-04-27T22:47:53.335Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-27T22:47:53.625Z] ---> Running in 172d9a438f6e [2021-04-27T22:47:54.231Z] Removing intermediate container 172d9a438f6e [2021-04-27T22:47:54.231Z] ---> 57872fcf34c9 [2021-04-27T22:47:54.231Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T22:47:54.231Z] ---> Running in 7cd2b54aa9a1 [2021-04-27T22:47:54.831Z] Removing intermediate container 7cd2b54aa9a1 [2021-04-27T22:47:54.831Z] ---> 1ec336951ca8 [2021-04-27T22:47:54.831Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T22:47:55.108Z] ---> Running in 507368a2fdfd [2021-04-27T22:47:57.089Z] Removing intermediate container 507368a2fdfd [2021-04-27T22:47:57.089Z] ---> b0d6fdd48639 [2021-04-27T22:47:57.089Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-27T22:47:57.366Z] ---> Running in 65fd7cb64871 [2021-04-27T22:47:58.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T22:47:59.321Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-27T22:47:59.914Z] OK: 144 MiB in 45 packages [2021-04-27T22:48:00.892Z] Removing intermediate container 65fd7cb64871 [2021-04-27T22:48:00.892Z] ---> b277ebfba401 [2021-04-27T22:48:00.892Z] Step 7/23 : COPY . . [2021-04-27T22:48:02.325Z] ---> 460b7c6c675e [2021-04-27T22:48:02.325Z] Step 8/23 : RUN go mod download [2021-04-27T22:48:02.325Z] ---> Running in 1de02d6ce67c [2021-04-27T22:48:04.942Z] Removing intermediate container 1de02d6ce67c [2021-04-27T22:48:04.942Z] ---> 5ddcb9cb59cb [2021-04-27T22:48:04.942Z] Step 9/23 : RUN make build [2021-04-27T22:48:04.942Z] ---> Running in 328f095a8094 [2021-04-27T22:48:05.925Z] 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-27T22:48:18.430Z] lf-activate-venv(): INFO: Adding /tmp/venv-mwYy/bin to PATH [2021-04-27T22:48:18.431Z] INFO: No Stack... [2021-04-27T22:48:18.431Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-27T22:48:18.431Z] INFO: Archiving Costs [Pipeline] sh [2021-04-27T22:48:18.742Z] + cat /w/workspace/device-sdk-go/40/archives/cost.csv [2021-04-27T22:48:18.742Z] + cut -d, -f6 [Pipeline] lock [2021-04-27T22:48:18.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] [2021-04-27T22:48:18.863Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] did not exist. Created. [2021-04-27T22:48:18.863Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-27T22:48:19.194Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-27T22:48:19.349Z] Stashed 1 file(s) [Pipeline] } [2021-04-27T22:48:19.363Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-27T22:48:38.300Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-27T22:48:41.682Z] Removing intermediate container 328f095a8094 [2021-04-27T22:48:41.682Z] ---> 6983e3b9c0b7 [2021-04-27T22:48:41.682Z] Step 10/23 : FROM alpine:3.12 [2021-04-27T22:48:41.682Z] 3.12: Pulling from library/alpine [2021-04-27T22:48:41.952Z] d2f70382dc9a: Pulling fs layer [2021-04-27T22:48:42.230Z] d2f70382dc9a: Verifying Checksum [2021-04-27T22:48:42.230Z] d2f70382dc9a: Download complete [2021-04-27T22:48:42.822Z] d2f70382dc9a: Pull complete [2021-04-27T22:48:42.823Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-27T22:48:42.823Z] Status: Downloaded newer image for alpine:3.12 [2021-04-27T22:48:42.823Z] ---> 9852663dfa18 [2021-04-27T22:48:42.823Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-27T22:48:43.094Z] ---> Running in 82a1646b46f5 [2021-04-27T22:48:43.365Z] Removing intermediate container 82a1646b46f5 [2021-04-27T22:48:43.366Z] ---> 12bef7872ebb [2021-04-27T22:48:43.366Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T22:48:43.640Z] ---> Running in 8ca4fa9372d9 [2021-04-27T22:48:45.620Z] Removing intermediate container 8ca4fa9372d9 [2021-04-27T22:48:45.620Z] ---> 5bbaa03f3e2a [2021-04-27T22:48:45.620Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-27T22:48:45.620Z] ---> Running in e1fe1640058f [2021-04-27T22:48:46.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T22:48:47.564Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-27T22:48:48.150Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-27T22:48:48.150Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-27T22:48:48.150Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-27T22:48:48.418Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-27T22:48:48.418Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-27T22:48:48.688Z] Executing busybox-1.31.1-r20.trigger [2021-04-27T22:48:48.688Z] OK: 8 MiB in 19 packages [2021-04-27T22:48:49.656Z] Removing intermediate container e1fe1640058f [2021-04-27T22:48:49.656Z] ---> 3fc59d210ca0 [2021-04-27T22:48:49.656Z] Step 14/23 : WORKDIR / [2021-04-27T22:48:49.926Z] ---> Running in f35cc7d6abae [2021-04-27T22:48:50.196Z] Removing intermediate container f35cc7d6abae [2021-04-27T22:48:50.196Z] ---> 296472cfae17 [2021-04-27T22:48:50.196Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-27T22:48:50.786Z] ---> 33fb58ca4bdd [2021-04-27T22:48:50.786Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-27T22:48:52.212Z] ---> c9b72ead22a3 [2021-04-27T22:48:52.212Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-27T22:48:52.802Z] ---> 65ea55954773 [2021-04-27T22:48:52.802Z] Step 18/23 : EXPOSE 49990 [2021-04-27T22:48:52.802Z] ---> Running in 3edb8c3a04b9 [2021-04-27T22:48:53.075Z] Removing intermediate container 3edb8c3a04b9 [2021-04-27T22:48:53.075Z] ---> 636ff2f83a8f [2021-04-27T22:48:53.075Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-27T22:48:53.346Z] ---> Running in 9c6b1667a060 [2021-04-27T22:48:53.942Z] Removing intermediate container 9c6b1667a060 [2021-04-27T22:48:53.942Z] ---> 26dddf48c51e [2021-04-27T22:48:53.942Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-27T22:48:53.942Z] ---> Running in 696a44f7b5e1 [2021-04-27T22:48:54.538Z] Removing intermediate container 696a44f7b5e1 [2021-04-27T22:48:54.538Z] ---> cefdaf5300b7 [2021-04-27T22:48:54.538Z] Step 21/23 : LABEL arch=arm64 [2021-04-27T22:48:54.538Z] ---> Running in 97db615b0adc [2021-04-27T22:48:55.135Z] Removing intermediate container 97db615b0adc [2021-04-27T22:48:55.135Z] ---> 3c1445f838c0 [2021-04-27T22:48:55.135Z] Step 22/23 : LABEL git_sha=2c4eb43e9d1b624285ed560293ea7378e1c86003 [2021-04-27T22:48:55.135Z] ---> Running in b75f30e7922a [2021-04-27T22:48:55.408Z] Removing intermediate container b75f30e7922a [2021-04-27T22:48:55.408Z] ---> 45565af5124f [2021-04-27T22:48:55.408Z] Step 23/23 : LABEL version=0.0.0 [2021-04-27T22:48:55.681Z] ---> Running in 29402c4bedc4 [2021-04-27T22:48:56.276Z] Removing intermediate container 29402c4bedc4 [2021-04-27T22:48:56.276Z] ---> 97401a3f5948 [2021-04-27T22:48:56.276Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-27T22:48:56.276Z] Successfully built 97401a3f5948 [2021-04-27T22:48:56.276Z] 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-27T22:48:56.758Z] ---> job-cost.sh [2021-04-27T22:48:56.758Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-t9xK [2021-04-27T22:49:35.702Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-27T22:50:57.422Z] lf-activate-venv(): INFO: Adding /tmp/venv-t9xK/bin to PATH [2021-04-27T22:50:57.422Z] INFO: No Stack... [2021-04-27T22:50:57.693Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-27T22:50:58.289Z] INFO: Archiving Costs [Pipeline] sh [2021-04-27T22:50:58.631Z] + + cat /w/workspace/device-sdk-go/40/archives/cost.csvcut [2021-04-27T22:50:58.631Z] -d, -f6 [Pipeline] lock [2021-04-27T22:50:58.763Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] [2021-04-27T22:50:58.771Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] did not exist. Created. [2021-04-27T22:50:58.771Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-27T22:50:59.145Z] /w/workspace/device-sdk-go/40@tmp/durable-c491ba06/script.sh: 1: /w/workspace/device-sdk-go/40@tmp/durable-c491ba06/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-27T22:50:59.489Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-27T22:50:59.525Z] Warning: overwriting stash ‘stack-cost’ [2021-04-27T22:50:59.677Z] Stashed 1 file(s) [Pipeline] } [2021-04-27T22:50:59.691Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-40-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-27T22:51:00.412Z] provisioning config files... [2021-04-27T22:51:00.424Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4605467218832973081tmp [Pipeline] { [Pipeline] sh [2021-04-27T22:51:00.742Z] + set +x [2021-04-27T22:51:00.742Z] + curl -s https://codecov.io/bash [2021-04-27T22:51:00.742Z] + bash -s -- [2021-04-27T22:51:01.007Z] [2021-04-27T22:51:01.007Z] _____ _ [2021-04-27T22:51:01.007Z] / ____| | | [2021-04-27T22:51:01.007Z] | | ___ __| | ___ ___ _____ __ [2021-04-27T22:51:01.007Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-27T22:51:01.007Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-27T22:51:01.007Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-27T22:51:01.007Z] Bash-1.0.2 [2021-04-27T22:51:01.007Z] [2021-04-27T22:51:01.007Z] [2021-04-27T22:51:01.007Z] ==> git version 2.24.3 found [2021-04-27T22:51:01.007Z] ==> 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-27T22:51:01.007Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-27T22:51:01.007Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-27T22:51:01.007Z] ==> Jenkins CI detected. [2021-04-27T22:51:01.007Z] project root: . [2021-04-27T22:51:01.007Z] --> token set from env [2021-04-27T22:51:01.007Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-27T22:51:01.007Z] ==> Running gcov in . (disable via -X gcov) [2021-04-27T22:51:01.007Z] ==> Python coveragepy not found [2021-04-27T22:51:01.007Z] ==> Searching for coverage reports in: [2021-04-27T22:51:01.007Z] + . [2021-04-27T22:51:01.007Z] -> Found 1 reports [2021-04-27T22:51:01.007Z] ==> Detecting git/mercurial file structure [2021-04-27T22:51:01.007Z] ==> Reading reports [2021-04-27T22:51:01.007Z] + ./coverage.out bytes=100320 [2021-04-27T22:51:01.007Z] ==> Appending adjustments [2021-04-27T22:51:01.007Z] https://docs.codecov.io/docs/fixing-reports [2021-04-27T22:51:01.586Z] + Found adjustments [2021-04-27T22:51:01.586Z] ==> Gzipping contents [2021-04-27T22:51:01.586Z] 16K /tmp/codecov.n1Q298.gz [2021-04-27T22:51:01.586Z] ==> Uploading reports [2021-04-27T22:51:01.586Z] url: https://codecov.io [2021-04-27T22:51:01.586Z] query: branch=PR-725&commit=2c4eb43e9d1b624285ed560293ea7378e1c86003&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-27T22:51:01.586Z] -> Pinging Codecov [2021-04-27T22:51:01.586Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-725&commit=2c4eb43e9d1b624285ed560293ea7378e1c86003&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-27T22:51:02.539Z] -> Uploading to [2021-04-27T22:51:02.539Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-27/7E55EF52A471D76F132DFD9A03CDDE97/2c4eb43e9d1b624285ed560293ea7378e1c86003/0940065c-36de-4982-814f-c12035a0a3e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210427T225102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38b24be9ade1b63aa4aa533bf204ca45ba13f95ba93b9e79c0ac271d0a4e4d86 [2021-04-27T22:51:02.539Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-27T22:51:02.539Z] Dload Upload Total Spent Left Speed [2021-04-27T22:51:02.803Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13539 0 0 100 13539 0 32651 --:--:-- --:--:-- --:--:-- 32702 [2021-04-27T22:51:02.803Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2c4eb43e9d1b624285ed560293ea7378e1c86003 [Pipeline] } [2021-04-27T22:51:02.815Z] 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-27T22:51:03.947Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T22:51:04.520Z] ---> package-listing.sh [2021-04-27T22:51:04.520Z] ++ facter osfamily [2021-04-27T22:51:04.520Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-27T22:51:04.520Z] + OS_FAMILY=redhat [2021-04-27T22:51:04.520Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-27T22:51:04.520Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-27T22:51:04.520Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-27T22:51:04.520Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-27T22:51:04.520Z] + PACKAGES=/tmp/packages_start.txt [2021-04-27T22:51:04.520Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-27T22:51:04.520Z] + PACKAGES=/tmp/packages_end.txt [2021-04-27T22:51:04.520Z] + case "${OS_FAMILY}" in [2021-04-27T22:51:04.520Z] + rpm -qa [2021-04-27T22:51:04.520Z] + sort [2021-04-27T22:51:09.857Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-27T22:51:09.857Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-27T22:51:09.857Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-27T22:51:09.857Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-27T22:51:09.857Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-04-27T22:51:09.857Z] + 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-27T22:51:09.872Z] 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-27T22:51:10.169Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:51:10.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T22:51:10.492Z] [2021-04-27T22:51:10.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-27T22:51:10.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T22:51:10.817Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-27T22:51:10.817Z] df20fa9351a1: Pulling fs layer [2021-04-27T22:51:10.817Z] 36b3adc4ff6f: Pulling fs layer [2021-04-27T22:51:10.817Z] 8ad3a11d3b57: Pulling fs layer [2021-04-27T22:51:10.817Z] 46f8f816bc3b: Pulling fs layer [2021-04-27T22:51:10.817Z] 93b61091891f: Pulling fs layer [2021-04-27T22:51:10.817Z] 93b9cdb0e59b: Pulling fs layer [2021-04-27T22:51:10.817Z] 5e14af77c1be: Pulling fs layer [2021-04-27T22:51:10.817Z] 01666e4c0597: Pulling fs layer [2021-04-27T22:51:10.817Z] aa168da1d23b: Pulling fs layer [2021-04-27T22:51:10.817Z] 46f8f816bc3b: Waiting [2021-04-27T22:51:10.817Z] 93b61091891f: Waiting [2021-04-27T22:51:10.817Z] 93b9cdb0e59b: Waiting [2021-04-27T22:51:10.817Z] 01666e4c0597: Waiting [2021-04-27T22:51:10.817Z] aa168da1d23b: Waiting [2021-04-27T22:51:10.817Z] 5e14af77c1be: Waiting [2021-04-27T22:51:10.817Z] 36b3adc4ff6f: Verifying Checksum [2021-04-27T22:51:10.817Z] 36b3adc4ff6f: Download complete [2021-04-27T22:51:10.817Z] 46f8f816bc3b: Verifying Checksum [2021-04-27T22:51:10.817Z] 46f8f816bc3b: Download complete [2021-04-27T22:51:10.817Z] df20fa9351a1: Verifying Checksum [2021-04-27T22:51:10.817Z] 93b9cdb0e59b: Verifying Checksum [2021-04-27T22:51:11.083Z] 93b61091891f: Verifying Checksum [2021-04-27T22:51:11.083Z] 93b61091891f: Download complete [2021-04-27T22:51:11.083Z] 5e14af77c1be: Verifying Checksum [2021-04-27T22:51:11.083Z] 5e14af77c1be: Download complete [2021-04-27T22:51:11.083Z] 01666e4c0597: Verifying Checksum [2021-04-27T22:51:11.083Z] 01666e4c0597: Download complete [2021-04-27T22:51:11.347Z] df20fa9351a1: Pull complete [2021-04-27T22:51:11.611Z] 36b3adc4ff6f: Pull complete [2021-04-27T22:51:11.611Z] 8ad3a11d3b57: Verifying Checksum [2021-04-27T22:51:11.611Z] 8ad3a11d3b57: Download complete [2021-04-27T22:51:12.578Z] 8ad3a11d3b57: Pull complete [2021-04-27T22:51:12.578Z] 46f8f816bc3b: Pull complete [2021-04-27T22:51:13.529Z] aa168da1d23b: Verifying Checksum [2021-04-27T22:51:13.529Z] aa168da1d23b: Download complete [2021-04-27T22:51:13.795Z] 93b61091891f: Pull complete [2021-04-27T22:51:14.061Z] 93b9cdb0e59b: Pull complete [2021-04-27T22:51:14.061Z] 5e14af77c1be: Pull complete [2021-04-27T22:51:14.330Z] 01666e4c0597: Pull complete [2021-04-27T22:51:22.538Z] aa168da1d23b: Pull complete [2021-04-27T22:51:22.538Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-27T22:51:22.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T22:51:22.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-27T22:51:22.771Z] prd-centos7-docker-4c-2g-2098 does not seem to be running inside a container [2021-04-27T22:51:22.822Z] $ 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-27T22:51:27.009Z] $ docker top c0a5ab30e3a85ed6ac0a9603dc94e17150c79e1fd683c30f368dc7ee802f24a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T22:51:27.452Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-27T22:51:27.754Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-27T22:51:28.068Z] + ls /var/log/sa-host [2021-04-27T22:51:28.068Z] + sadf -c /var/log/sa-host/sa23 [2021-04-27T22:51:28.068Z] file_magic: OK [2021-04-27T22:51:28.068Z] HZ: Using current value: 100 [2021-04-27T22:51:28.068Z] file_header: OK [2021-04-27T22:51:28.068Z] 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-27T22:51:28.068Z] Statistics: [2021-04-27T22:51:28.068Z] Hnuu...uuuununununu... [2021-04-27T22:51:28.068Z] File successfully converted to sysstat format version 12.2.1 [2021-04-27T22:51:28.068Z] + sadf -c /var/log/sa-host/sa27 [2021-04-27T22:51:28.068Z] file_magic: OK [2021-04-27T22:51:28.068Z] HZ: Using current value: 100 [2021-04-27T22:51:28.068Z] file_header: OK [2021-04-27T22:51:28.068Z] 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-27T22:51:28.068Z] Statistics: [2021-04-27T22:51:28.068Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-27T22:51:28.068Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-27T22:51:28.637Z] provisioning config files... [2021-04-27T22:51:28.659Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config3046641522261355610tmp [Pipeline] { [Pipeline] echo [2021-04-27T22:51:28.684Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T22:51:28.994Z] ---> create-netrc.sh [Pipeline] } [2021-04-27T22:51:29.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-27T22:51:29.033Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T22:51:29.333Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-27T22:51:29.345Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T22:51:29.649Z] ---> sudo-logs.sh [2021-04-27T22:51:29.649Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-27T22:51:29.687Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T22:51:29.988Z] ---> job-cost.sh [2021-04-27T22:51:29.988Z] lf-activate-venv: SKIPPING [2021-04-27T22:51:29.988Z] DEBUG: total: 0.20999999344348907 [2021-04-27T22:51:29.988Z] INFO: Retrieving Stack Cost... [2021-04-27T22:51:30.940Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-27T22:51:31.516Z] INFO: Archiving Costs [Pipeline] echo [2021-04-27T22:51:31.531Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T22:51:31.833Z] ---> logs-deploy.sh [2021-04-27T22:51:31.833Z] lf-activate-venv: SKIPPING [2021-04-27T22:51:31.833Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/40 [2021-04-27T22:51:31.833Z] INFO: archiving workspace using pattern(s): [2021-04-27T22:51:33.761Z] Archives upload complete. [2021-04-27T22:51:33.761Z] INFO: archiving logs to Nexus