Pull request #907 updated 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from cb6fa8ff5505f69547bc7ca25572ee35c6ef96ce+70dff52b8df9807f5114cad14836e8310fd11d9c (483bfa922b5ea4d07cbcef6c5653b86071038868) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3587 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [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-907 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit cb6fa8ff5505f69547bc7ca25572ee35c6ef96ce > 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/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb6fa8ff5505f69547bc7ca25572ee35c6ef96ce # timeout=10 Merge succeeded, producing fab7bfa0e562e5f6869b5ce389e9f8430796c4cc Checking out Revision fab7bfa0e562e5f6869b5ce389e9f8430796c4cc (PR-907) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fab7bfa0e562e5f6869b5ce389e9f8430796c4cc # timeout=10 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T18:01:02.736Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T18:01:02.870Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T18:01:02.899Z] ========================================================= [2021-05-07T18:01:02.899Z] EdgeX Global Pipelines Version Info [2021-05-07T18:01:02.899Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d902ff135b29c50d26badbca021a1e0c23445975 # timeout=10 [2021-05-07T18:01:05.224Z] ------------------- [2021-05-07T18:01:05.224Z] stable info: [2021-05-07T18:01:05.224Z] ------------------- [2021-05-07T18:01:05.224Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T18:01:05.224Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T18:01:05.224Z] Message: update stable to v1.0.191 [2021-05-07T18:01:05.814Z] ------------------- [2021-05-07T18:01:05.814Z] experimental info: [2021-05-07T18:01:05.814Z] ------------------- [2021-05-07T18:01:05.814Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T18:01:05.814Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T18:01:05.815Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T18:01:05.992Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-07T18:01:06.019Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-07T18:01:06.043Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T18:01:06.077Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T18:01:06.104Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T18:01:06.130Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T18:01:06.156Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T18:01:06.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T18:01:06.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-07T18:01:06.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T18:01:06.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T18:01:06.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-07T18:01:06.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T18:01:06.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T18:01:06.359Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-07T18:01:06.384Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:01:06.408Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:01:06.433Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:01:06.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T18:01:06.485Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T18:01:06.517Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-07T18:01:06.543Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-07T18:01:06.575Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T18:01:06.598Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T18:01:06.651Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-07T18:01:06.675Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T18:01:06.697Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-907 [Pipeline] echo [2021-05-07T18:01:06.722Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-907 [Pipeline] echo [2021-05-07T18:01:06.745Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-907 [Pipeline] echo [2021-05-07T18:01:06.774Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fab7bfa0e562e5f6869b5ce389e9f8430796c4cc [Pipeline] echo [2021-05-07T18:01:06.800Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fab7bfa [Pipeline] echo [2021-05-07T18:01:06.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T18:01:06.933Z] provisioning config files... [2021-05-07T18:01:06.971Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config8971670879182179052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:01:07.326Z] ---> docker-login.sh [2021-05-07T18:01:07.327Z] nexus3.edgexfoundry.org:10001 [2021-05-07T18:01:07.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:01:07.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:01:07.995Z] Configure a credential helper to remove this warning. See [2021-05-07T18:01:07.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:01:07.995Z] [2021-05-07T18:01:07.995Z] Login Succeeded [2021-05-07T18:01:07.995Z] nexus3.edgexfoundry.org:10002 [2021-05-07T18:01:08.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:01:08.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:01:08.574Z] Configure a credential helper to remove this warning. See [2021-05-07T18:01:08.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:01:08.575Z] [2021-05-07T18:01:08.575Z] Login Succeeded [2021-05-07T18:01:08.575Z] nexus3.edgexfoundry.org:10003 [2021-05-07T18:01:08.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:01:08.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:01:08.853Z] Configure a credential helper to remove this warning. See [2021-05-07T18:01:08.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:01:08.853Z] [2021-05-07T18:01:08.853Z] Login Succeeded [2021-05-07T18:01:08.853Z] nexus3.edgexfoundry.org:10004 [2021-05-07T18:01:09.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:01:09.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:01:09.139Z] Configure a credential helper to remove this warning. See [2021-05-07T18:01:09.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:01:09.139Z] [2021-05-07T18:01:09.139Z] Login Succeeded [2021-05-07T18:01:09.139Z] docker.io [2021-05-07T18:01:09.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:01:09.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:01:09.676Z] Configure a credential helper to remove this warning. See [2021-05-07T18:01:09.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:01:09.676Z] [2021-05-07T18:01:09.676Z] Login Succeeded [2021-05-07T18:01:09.676Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T18:01:09.698Z] 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-05-07T18:01:10.258Z] + git log --format=format:%s -1 fab7bfa0e562e5f6869b5ce389e9f8430796c4cc [Pipeline] echo [2021-05-07T18:01:10.431Z] GIT_COMMIT: fab7bfa0e562e5f6869b5ce389e9f8430796c4cc, Commit Message: Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD [Pipeline] echo [2021-05-07T18:01:10.444Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:01:11.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:01:11.482Z] [2021-05-07T18:01:11.482Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:01:11.933Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:01:11.933Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T18:01:11.933Z] 31603596830f: Pulling fs layer [2021-05-07T18:01:11.933Z] 54011a49482f: Pulling fs layer [2021-05-07T18:01:11.933Z] a6820b24f6d8: Pulling fs layer [2021-05-07T18:01:11.933Z] f581987b2513: Pulling fs layer [2021-05-07T18:01:11.933Z] f581987b2513: Waiting [2021-05-07T18:01:11.933Z] 54011a49482f: Verifying Checksum [2021-05-07T18:01:11.933Z] 54011a49482f: Download complete [2021-05-07T18:01:12.283Z] 31603596830f: Verifying Checksum [2021-05-07T18:01:12.283Z] 31603596830f: Download complete [2021-05-07T18:01:12.607Z] f581987b2513: Verifying Checksum [2021-05-07T18:01:12.607Z] f581987b2513: Download complete [2021-05-07T18:01:12.923Z] a6820b24f6d8: Verifying Checksum [2021-05-07T18:01:12.923Z] a6820b24f6d8: Download complete [2021-05-07T18:01:13.260Z] 31603596830f: Pull complete [2021-05-07T18:01:14.065Z] 54011a49482f: Pull complete [2021-05-07T18:01:16.297Z] a6820b24f6d8: Pull complete [2021-05-07T18:01:16.925Z] f581987b2513: Pull complete [2021-05-07T18:01:16.925Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T18:01:16.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:01:16.925Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T18:01:17.230Z] prd-centos7-docker-4c-2g-3587 does not seem to be running inside a container [2021-05-07T18:01:17.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-907 -v /w/workspace/dgexfoundry_device-sdk-go_PR-907:/w/workspace/dgexfoundry_device-sdk-go_PR-907:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-07T18:01:20.247Z] $ docker top 958e2a81a09f07a24a5afecab619d6391f4e4a5df0b91f5ff57dcd200d509a5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T18:01:20.619Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T18:01:20.619Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T18:01:21.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T18:01:21.049Z] $ docker exec 958e2a81a09f07a24a5afecab619d6391f4e4a5df0b91f5ff57dcd200d509a5e ssh-agent [2021-05-07T18:01:21.672Z] SSH_AUTH_SOCK=/tmp/ssh-FwqSTSb8UNct/agent.11 [2021-05-07T18:01:21.672Z] SSH_AGENT_PID=16 [2021-05-07T18:01:21.695Z] Running ssh-add (command line suppressed) [2021-05-07T18:01:22.014Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_1663905898908805618.key (/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_1663905898908805618.key) [2021-05-07T18:01:22.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T18:01:22.583Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T18:01:22.653Z] $ docker exec --env ******** --env ******** 958e2a81a09f07a24a5afecab619d6391f4e4a5df0b91f5ff57dcd200d509a5e ssh-agent -k [2021-05-07T18:01:23.135Z] unset SSH_AUTH_SOCK; [2021-05-07T18:01:23.136Z] unset SSH_AGENT_PID; [2021-05-07T18:01:23.136Z] echo Agent pid 16 killed; [2021-05-07T18:01:23.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T18:01:23.326Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T18:01:23.326Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T18:01:23.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T18:01:23.723Z] $ docker exec 958e2a81a09f07a24a5afecab619d6391f4e4a5df0b91f5ff57dcd200d509a5e ssh-agent [2021-05-07T18:01:24.129Z] SSH_AUTH_SOCK=/tmp/ssh-6mdeMvBvn1h8/agent.44 [2021-05-07T18:01:24.129Z] SSH_AGENT_PID=49 [2021-05-07T18:01:24.139Z] Running ssh-add (command line suppressed) [2021-05-07T18:01:24.396Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_3490466116942377801.key (/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_3490466116942377801.key) [2021-05-07T18:01:24.582Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T18:01:24.913Z] + git semver init [2021-05-07T18:01:24.913Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T18:01:24.913Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-907/.git [2021-05-07T18:01:24.913Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-907 [2021-05-07T18:01:24.914Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T18:01:24.914Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T18:01:24.914Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T18:01:24.914Z] # $SEMVER_BRANCH = PR-907 [2021-05-07T18:01:24.914Z] # $SEMVER_TEMP = /tmp/semver-188917804 [2021-05-07T18:01:24.914Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-07T18:01:26.365Z] # '/tmp/semver-188917804' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-907/.semver' [2021-05-07T18:01:26.365Z] # -> Force: false [2021-05-07T18:01:26.365Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-907/.semver [Pipeline] } [2021-05-07T18:01:26.403Z] $ docker exec --env ******** --env ******** 958e2a81a09f07a24a5afecab619d6391f4e4a5df0b91f5ff57dcd200d509a5e ssh-agent -k [2021-05-07T18:01:26.734Z] unset SSH_AUTH_SOCK; [2021-05-07T18:01:26.734Z] unset SSH_AGENT_PID; [2021-05-07T18:01:26.735Z] echo Agent pid 49 killed; [2021-05-07T18:01:26.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T18:01:27.307Z] + git semver [Pipeline] } [2021-05-07T18:01:27.708Z] $ docker stop --time=1 958e2a81a09f07a24a5afecab619d6391f4e4a5df0b91f5ff57dcd200d509a5e [2021-05-07T18:01:29.941Z] $ docker rm -f 958e2a81a09f07a24a5afecab619d6391f4e4a5df0b91f5ff57dcd200d509a5e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T18:01:30.532Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T18:01:31.502Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T18:01:31.506Z] [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-05-07T18:01:46.695Z] Still waiting to schedule task [2021-05-07T18:01:46.695Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-07T18:01:46.698Z] Still waiting to schedule task [2021-05-07T18:01:46.698Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3585’ [2021-05-07T18:04:19.434Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3590 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [Pipeline] { [Pipeline] ws [2021-05-07T18:04:19.457Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-05-07T18:04:24.762Z] using credential edgex-jenkins-ssh [2021-05-07T18:04:24.781Z] Cloning the remote Git repository [2021-05-07T18:04:24.911Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T18:04:25.057Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-05-07T18:04:25.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T18:04:25.176Z] > git --version # timeout=10 [2021-05-07T18:04:25.196Z] > git --version # 'git version 2.17.1' [2021-05-07T18:04:25.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:04:25.252Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:04:26.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T18:04:26.559Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:04:26.583Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T18:04:26.614Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T18:04:26.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:04:26.627Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T18:04:27.264Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit cb6fa8ff5505f69547bc7ca25572ee35c6ef96ce [2021-05-07T18:04:27.563Z] Merge succeeded, producing cea2d1faccae7ae024d6c72428b836c7e7be3f41 [2021-05-07T18:04:27.564Z] Checking out Revision cea2d1faccae7ae024d6c72428b836c7e7be3f41 (PR-907) [2021-05-07T18:04:27.284Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T18:04:27.304Z] > git checkout -f cb6fa8ff5505f69547bc7ca25572ee35c6ef96ce # timeout=10 [2021-05-07T18:04:27.441Z] > git remote # timeout=10 [2021-05-07T18:04:27.457Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T18:04:27.467Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:04:27.477Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T18:04:27.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T18:04:27.572Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T18:04:27.584Z] > git checkout -f cea2d1faccae7ae024d6c72428b836c7e7be3f41 # timeout=10 [2021-05-07T18:04:32.572Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-07T18:04:32.595Z] First time build. Skipping changelog. [2021-05-07T18:04:32.583Z] > git rev-list --no-walk d902ff135b29c50d26badbca021a1e0c23445975 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T18:04:33.951Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:04:34.375Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:04:34.718Z] + true [2021-05-07T18:04:34.718Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T18:04:37.396Z] provisioning config files... [2021-05-07T18:04:37.441Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1954115154215011720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:04:37.814Z] ---> docker-login.sh [2021-05-07T18:04:37.814Z] nexus3.edgexfoundry.org:10001 [2021-05-07T18:04:38.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:04:39.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:04:39.083Z] Configure a credential helper to remove this warning. See [2021-05-07T18:04:39.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:04:39.083Z] [2021-05-07T18:04:39.083Z] Login Succeeded [2021-05-07T18:04:39.083Z] nexus3.edgexfoundry.org:10002 [2021-05-07T18:04:39.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:04:39.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:04:39.684Z] Configure a credential helper to remove this warning. See [2021-05-07T18:04:39.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:04:39.684Z] [2021-05-07T18:04:39.684Z] Login Succeeded [2021-05-07T18:04:39.684Z] nexus3.edgexfoundry.org:10003 [2021-05-07T18:04:40.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:04:40.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:04:40.283Z] Configure a credential helper to remove this warning. See [2021-05-07T18:04:40.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:04:40.283Z] [2021-05-07T18:04:40.283Z] Login Succeeded [2021-05-07T18:04:40.283Z] nexus3.edgexfoundry.org:10004 [2021-05-07T18:04:40.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:04:40.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:04:40.835Z] Configure a credential helper to remove this warning. See [2021-05-07T18:04:40.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:04:40.835Z] [2021-05-07T18:04:40.835Z] Login Succeeded [2021-05-07T18:04:40.835Z] docker.io [2021-05-07T18:04:41.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:04:41.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:04:41.713Z] Configure a credential helper to remove this warning. See [2021-05-07T18:04:41.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:04:41.713Z] [2021-05-07T18:04:41.713Z] Login Succeeded [2021-05-07T18:04:41.713Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T18:04:41.731Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T18:04:42.062Z] ========================================================= [2021-05-07T18:04:42.062Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T18:04:42.062Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:04:42.423Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-07T18:04:43.021Z] Sending build context to Docker daemon 2.553MB [2021-05-07T18:04:43.021Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T18:04:43.021Z] Step 2/8 : FROM ${BASE} [2021-05-07T18:04:43.021Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T18:04:43.021Z] 595b0fe564bb: Pulling fs layer [2021-05-07T18:04:43.021Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T18:04:43.021Z] 316046926c0a: Pulling fs layer [2021-05-07T18:04:43.021Z] 4ebd0625c992: Pulling fs layer [2021-05-07T18:04:43.021Z] 207e8628e3a3: Pulling fs layer [2021-05-07T18:04:43.021Z] c791037a9be2: Pulling fs layer [2021-05-07T18:04:43.021Z] ffd874e62e21: Pulling fs layer [2021-05-07T18:04:43.021Z] 4ebd0625c992: Waiting [2021-05-07T18:04:43.021Z] 207e8628e3a3: Waiting [2021-05-07T18:04:43.021Z] ffd874e62e21: Waiting [2021-05-07T18:04:43.021Z] c791037a9be2: Waiting [2021-05-07T18:04:43.021Z] 316046926c0a: Download complete [2021-05-07T18:04:43.021Z] 7186ed65a4f7: Download complete [2021-05-07T18:04:43.021Z] 207e8628e3a3: Verifying Checksum [2021-05-07T18:04:43.021Z] 207e8628e3a3: Download complete [2021-05-07T18:04:43.021Z] c791037a9be2: Verifying Checksum [2021-05-07T18:04:43.021Z] c791037a9be2: Download complete [2021-05-07T18:04:43.297Z] 595b0fe564bb: Verifying Checksum [2021-05-07T18:04:43.297Z] 595b0fe564bb: Download complete [2021-05-07T18:04:43.896Z] 595b0fe564bb: Pull complete [2021-05-07T18:04:44.508Z] 7186ed65a4f7: Pull complete [2021-05-07T18:04:44.784Z] 316046926c0a: Pull complete [2021-05-07T18:04:45.769Z] ffd874e62e21: Verifying Checksum [2021-05-07T18:04:45.769Z] ffd874e62e21: Download complete [2021-05-07T18:04:47.754Z] 4ebd0625c992: Verifying Checksum [2021-05-07T18:04:47.754Z] 4ebd0625c992: Download complete [2021-05-07T18:04:57.919Z] 4ebd0625c992: Pull complete [2021-05-07T18:04:57.919Z] 207e8628e3a3: Pull complete [2021-05-07T18:04:58.535Z] c791037a9be2: Pull complete [2021-05-07T18:05:01.140Z] Running on prd-centos7-docker-4c-2g-3592 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [Pipeline] { [Pipeline] ws [2021-05-07T18:05:01.159Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-05-07T18:05:02.869Z] ffd874e62e21: Pull complete [2021-05-07T18:05:02.869Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T18:05:02.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T18:05:02.869Z] ---> cfc18b08335c [2021-05-07T18:05:02.869Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T18:05:04.844Z] ---> Running in 43bc768a5328 [2021-05-07T18:05:05.450Z] Removing intermediate container 43bc768a5328 [2021-05-07T18:05:05.450Z] ---> 95947cd326e2 [2021-05-07T18:05:05.450Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T18:05:05.450Z] ---> Running in cffdf15644b1 [2021-05-07T18:05:05.604Z] using credential edgex-jenkins-ssh [2021-05-07T18:05:05.622Z] Cloning the remote Git repository [2021-05-07T18:05:05.652Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T18:05:05.806Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-05-07T18:05:05.874Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T18:05:05.875Z] > git --version # timeout=10 [2021-05-07T18:05:05.881Z] > git --version # 'git version 2.24.3' [2021-05-07T18:05:05.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:05:05.911Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:05:07.343Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit cb6fa8ff5505f69547bc7ca25572ee35c6ef96ce [2021-05-07T18:05:07.430Z] Removing intermediate container cffdf15644b1 [2021-05-07T18:05:07.430Z] ---> 16a60924e850 [2021-05-07T18:05:07.431Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T18:05:07.470Z] Merge succeeded, producing 91b806eb05ad211122b00826fa51c645cd20ab6f [2021-05-07T18:05:07.471Z] Checking out Revision 91b806eb05ad211122b00826fa51c645cd20ab6f (PR-907) [2021-05-07T18:05:06.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T18:05:06.759Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:05:06.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T18:05:06.793Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T18:05:06.793Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:05:06.799Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T18:05:07.354Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T18:05:07.364Z] > git checkout -f cb6fa8ff5505f69547bc7ca25572ee35c6ef96ce # timeout=10 [2021-05-07T18:05:07.415Z] > git remote # timeout=10 [2021-05-07T18:05:07.422Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T18:05:07.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:05:07.432Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T18:05:07.463Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T18:05:07.476Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T18:05:07.486Z] > git checkout -f 91b806eb05ad211122b00826fa51c645cd20ab6f # timeout=10 [2021-05-07T18:05:07.722Z] ---> Running in 76e1667953b8 [2021-05-07T18:05:08.705Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T18:05:09.684Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T18:05:10.276Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T18:05:10.546Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T18:05:10.546Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T18:05:10.546Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T18:05:10.816Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T18:05:10.816Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T18:05:11.085Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T18:05:11.085Z] OK: 139 MiB in 46 packages [2021-05-07T18:05:11.276Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-07T18:05:11.292Z] First time build. Skipping changelog. [2021-05-07T18:05:11.283Z] > git rev-list --no-walk d902ff135b29c50d26badbca021a1e0c23445975 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T18:05:12.065Z] Removing intermediate container 76e1667953b8 [2021-05-07T18:05:12.065Z] ---> 1614a2046ea8 [2021-05-07T18:05:12.065Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T18:05:12.337Z] ---> Running in 4e70a92390d9 [2021-05-07T18:05:12.425Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:05:12.764Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:05:12.932Z] Removing intermediate container 4e70a92390d9 [2021-05-07T18:05:12.932Z] ---> a910a1b1dd2b [2021-05-07T18:05:12.932Z] Step 7/8 : COPY . . [2021-05-07T18:05:13.067Z] + sudo service docker restart [2021-05-07T18:05:13.067Z] + true [2021-05-07T18:05:13.067Z] Redirecting to /bin/systemctl restart docker.service [2021-05-07T18:05:14.368Z] ---> 1b7e8cd0e971 [2021-05-07T18:05:14.368Z] Step 8/8 : RUN go mod download [2021-05-07T18:05:14.368Z] ---> Running in 69d2a512d197 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T18:05:14.495Z] provisioning config files... [2021-05-07T18:05:14.546Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config2779301034051466005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:05:14.939Z] ---> docker-login.sh [2021-05-07T18:05:14.939Z] nexus3.edgexfoundry.org:10001 [2021-05-07T18:05:15.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:05:15.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:05:15.465Z] Configure a credential helper to remove this warning. See [2021-05-07T18:05:15.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:05:15.465Z] [2021-05-07T18:05:15.465Z] Login Succeeded [2021-05-07T18:05:15.465Z] nexus3.edgexfoundry.org:10002 [2021-05-07T18:05:15.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:05:15.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:05:15.728Z] Configure a credential helper to remove this warning. See [2021-05-07T18:05:15.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:05:15.728Z] [2021-05-07T18:05:15.728Z] Login Succeeded [2021-05-07T18:05:15.728Z] nexus3.edgexfoundry.org:10003 [2021-05-07T18:05:15.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:05:15.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:05:15.728Z] Configure a credential helper to remove this warning. See [2021-05-07T18:05:15.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:05:15.728Z] [2021-05-07T18:05:15.728Z] Login Succeeded [2021-05-07T18:05:15.728Z] nexus3.edgexfoundry.org:10004 [2021-05-07T18:05:15.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:05:15.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:05:15.995Z] Configure a credential helper to remove this warning. See [2021-05-07T18:05:15.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:05:15.995Z] [2021-05-07T18:05:15.995Z] Login Succeeded [2021-05-07T18:05:15.995Z] docker.io [2021-05-07T18:05:16.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T18:05:16.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T18:05:16.520Z] Configure a credential helper to remove this warning. See [2021-05-07T18:05:16.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T18:05:16.520Z] [2021-05-07T18:05:16.520Z] Login Succeeded [2021-05-07T18:05:16.520Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T18:05:16.530Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T18:05:16.734Z] ========================================================= [2021-05-07T18:05:16.734Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T18:05:16.734Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:05:17.049Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-07T18:05:17.049Z] Sending build context to Docker daemon 2.554MB [2021-05-07T18:05:17.314Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T18:05:17.314Z] Step 2/8 : FROM ${BASE} [2021-05-07T18:05:17.314Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T18:05:17.314Z] 540db60ca938: Pulling fs layer [2021-05-07T18:05:17.314Z] adcc1eea9eea: Pulling fs layer [2021-05-07T18:05:17.314Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T18:05:17.314Z] 0510c868ecb4: Pulling fs layer [2021-05-07T18:05:17.314Z] afea3b2eda06: Pulling fs layer [2021-05-07T18:05:17.314Z] 7809a108b3ef: Pulling fs layer [2021-05-07T18:05:17.314Z] f706445af74f: Pulling fs layer [2021-05-07T18:05:17.314Z] afea3b2eda06: Waiting [2021-05-07T18:05:17.314Z] 7809a108b3ef: Waiting [2021-05-07T18:05:17.314Z] f706445af74f: Waiting [2021-05-07T18:05:17.314Z] 0510c868ecb4: Waiting [2021-05-07T18:05:17.314Z] 4c4ab2625f07: Download complete [2021-05-07T18:05:17.314Z] adcc1eea9eea: Verifying Checksum [2021-05-07T18:05:17.314Z] adcc1eea9eea: Download complete [2021-05-07T18:05:17.314Z] afea3b2eda06: Verifying Checksum [2021-05-07T18:05:17.314Z] afea3b2eda06: Download complete [2021-05-07T18:05:17.314Z] 7809a108b3ef: Verifying Checksum [2021-05-07T18:05:17.314Z] 7809a108b3ef: Download complete [2021-05-07T18:05:17.314Z] 540db60ca938: Verifying Checksum [2021-05-07T18:05:17.314Z] 540db60ca938: Download complete [2021-05-07T18:05:17.578Z] 540db60ca938: Pull complete [2021-05-07T18:05:18.164Z] adcc1eea9eea: Pull complete [2021-05-07T18:05:18.433Z] 4c4ab2625f07: Pull complete [2021-05-07T18:05:19.853Z] f706445af74f: Verifying Checksum [2021-05-07T18:05:19.853Z] f706445af74f: Download complete [2021-05-07T18:05:20.437Z] 0510c868ecb4: Verifying Checksum [2021-05-07T18:05:20.437Z] 0510c868ecb4: Download complete [2021-05-07T18:05:27.112Z] 0510c868ecb4: Pull complete [2021-05-07T18:05:27.112Z] afea3b2eda06: Pull complete [2021-05-07T18:05:27.112Z] 7809a108b3ef: Pull complete [2021-05-07T18:05:33.752Z] f706445af74f: Pull complete [2021-05-07T18:05:33.752Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T18:05:33.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T18:05:33.752Z] ---> b068be0155e3 [2021-05-07T18:05:33.752Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T18:05:34.729Z] ---> Running in 3fb1289685d5 [2021-05-07T18:05:34.999Z] Removing intermediate container 3fb1289685d5 [2021-05-07T18:05:34.999Z] ---> a07b0ef04d8d [2021-05-07T18:05:34.999Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T18:05:34.999Z] ---> Running in 2486c857ae0c [2021-05-07T18:05:36.407Z] Removing intermediate container 2486c857ae0c [2021-05-07T18:05:36.407Z] ---> 8f2c6b66e24d [2021-05-07T18:05:36.407Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T18:05:36.683Z] ---> Running in fe3f83cd297f [2021-05-07T18:05:38.078Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T18:05:38.655Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T18:05:39.231Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T18:05:39.231Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T18:05:39.495Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T18:05:39.495Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T18:05:39.758Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T18:05:39.758Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T18:05:39.758Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T18:05:39.758Z] OK: 150 MiB in 46 packages [2021-05-07T18:05:40.706Z] Removing intermediate container fe3f83cd297f [2021-05-07T18:05:40.706Z] ---> e153816a7c75 [2021-05-07T18:05:40.706Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T18:05:40.706Z] ---> Running in 66f9797b91ae [2021-05-07T18:05:40.706Z] Removing intermediate container 66f9797b91ae [2021-05-07T18:05:40.706Z] ---> 1df6dbfa1ce6 [2021-05-07T18:05:40.706Z] Step 7/8 : COPY . . [2021-05-07T18:05:41.159Z] Removing intermediate container 69d2a512d197 [2021-05-07T18:05:41.159Z] ---> 93f2aedda077 [2021-05-07T18:05:41.159Z] Successfully built 93f2aedda077 [2021-05-07T18:05:41.159Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:05:41.511Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T18:05:41.511Z] . [Pipeline] withDockerContainer [2021-05-07T18:05:41.752Z] prd-ubuntu18.04-docker-arm64-4c-16g-3590 does not seem to be running inside a container [2021-05-07T18:05:41.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-07T18:05:42.117Z] ---> 634f7f470fec [2021-05-07T18:05:42.118Z] Step 8/8 : RUN go mod download [2021-05-07T18:05:42.118Z] ---> Running in ae299ef15696 [2021-05-07T18:05:43.264Z] $ docker top 856d90595a599919db67239d307d1aed0bf702da4a43c472b594961fb46fd651 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:05:44.162Z] + go version [2021-05-07T18:05:44.162Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T18:05:44.188Z] $ docker stop --time=1 856d90595a599919db67239d307d1aed0bf702da4a43c472b594961fb46fd651 [2021-05-07T18:05:46.109Z] $ docker rm -f 856d90595a599919db67239d307d1aed0bf702da4a43c472b594961fb46fd651 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:05:46.841Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T18:05:46.841Z] . [Pipeline] withDockerContainer [2021-05-07T18:05:47.111Z] prd-ubuntu18.04-docker-arm64-4c-16g-3590 does not seem to be running inside a container [2021-05-07T18:05:47.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-07T18:05:48.716Z] $ docker top d2180fb25b60d35bb1a671577b9f0258c8e2fbbf31e3d26ded1f3f19ef4fe8a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:05:49.681Z] + go mod tidy [Pipeline] sh [2021-05-07T18:05:50.953Z] + make test [2021-05-07T18:05:50.953Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T18:06:08.880Z] Removing intermediate container ae299ef15696 [2021-05-07T18:06:08.881Z] ---> 6094ac79e1ef [2021-05-07T18:06:08.881Z] Successfully built 6094ac79e1ef [2021-05-07T18:06:08.881Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:06:09.252Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T18:06:09.252Z] . [Pipeline] withDockerContainer [2021-05-07T18:06:09.453Z] prd-centos7-docker-4c-2g-3592 does not seem to be running inside a container [2021-05-07T18:06:09.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-07T18:06:10.753Z] $ docker top 3a4acde800ddc39fb31f9e678db7ec0704e67d2e5e26eeada8c8be1d47a67cbf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:06:11.255Z] + go version [2021-05-07T18:06:11.255Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T18:06:11.274Z] $ docker stop --time=1 3a4acde800ddc39fb31f9e678db7ec0704e67d2e5e26eeada8c8be1d47a67cbf [2021-05-07T18:06:12.801Z] $ docker rm -f 3a4acde800ddc39fb31f9e678db7ec0704e67d2e5e26eeada8c8be1d47a67cbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:06:13.163Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T18:06:13.467Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T18:06:13.467Z] . [Pipeline] withDockerContainer [2021-05-07T18:06:13.587Z] prd-centos7-docker-4c-2g-3592 does not seem to be running inside a container [2021-05-07T18:06:13.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-07T18:06:14.680Z] $ docker top a74d6e1328f71a0c8e771c10a9457e3f9650c1e6a713e25e36c0f58af08049ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:06:15.203Z] + go mod tidy [Pipeline] sh [2021-05-07T18:06:16.574Z] + make test [2021-05-07T18:06:16.574Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T18:06:26.851Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T18:06:59.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.125s coverage: 28.1% of statements [2021-05-07T18:06:59.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.118s coverage: 78.9% of statements [2021-05-07T18:06:59.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.083s coverage: 10.7% of statements [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T18:06:59.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.137s coverage: 30.2% of statements [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T18:06:59.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T18:07:00.206Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.187s coverage: 57.2% of statements [2021-05-07T18:07:00.804Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.799s coverage: 6.6% of statements [2021-05-07T18:07:00.804Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.092s coverage: 5.0% of statements [2021-05-07T18:07:00.804Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T18:07:01.073Z] GO111MODULE=on go vet ./... [2021-05-07T18:07:21.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T18:07:21.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T18:07:21.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T18:07:21.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T18:07:21.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T18:07:25.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.139s coverage: 28.1% of statements [2021-05-07T18:07:25.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.255s coverage: 78.9% of statements [2021-05-07T18:07:25.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.167s coverage: 10.7% of statements [2021-05-07T18:07:25.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T18:07:25.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T18:07:25.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T18:07:27.815Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.279s coverage: 30.2% of statements [2021-05-07T18:07:27.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T18:07:27.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-07T18:07:27.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T18:07:27.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T18:07:28.061Z] gofmt -l . [2021-05-07T18:07:28.061Z] [ "`gofmt -l .`" = "" ] [2021-05-07T18:07:28.061Z] ./bin/test-attribution-txt.sh [2021-05-07T18:07:28.061Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T18:07:28.089Z] $ docker stop --time=1 a74d6e1328f71a0c8e771c10a9457e3f9650c1e6a713e25e36c0f58af08049ed [2021-05-07T18:07:29.826Z] $ docker rm -f a74d6e1328f71a0c8e771c10a9457e3f9650c1e6a713e25e36c0f58af08049ed [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T18:07:30.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.323s coverage: 57.2% of statements [2021-05-07T18:07:30.548Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T18:07:30.976Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-07T18:07:31.464Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.040s coverage: 6.6% of statements [2021-05-07T18:07:31.464Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.160s coverage: 5.0% of statements [2021-05-07T18:07:31.464Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T18:07:32.071Z] GO111MODULE=on go vet ./... [Pipeline] sh [2021-05-07T18:07:34.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T18:07:34.739Z] + ls -al . [2021-05-07T18:07:34.739Z] total 188 [2021-05-07T18:07:34.739Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 7 18:07 . [2021-05-07T18:07:34.739Z] drwxrwxr-x. 4 jenkins jenkins 28 May 7 18:05 .. [2021-05-07T18:07:34.739Z] drwxrwxr-x. 2 jenkins jenkins 64 May 7 18:05 bin [2021-05-07T18:07:34.739Z] -rw-r--r--. 1 jenkins jenkins 98899 May 7 18:07 coverage.out [2021-05-07T18:07:34.739Z] -rw-rw-r--. 1 jenkins jenkins 987 May 7 18:05 Dockerfile.build [2021-05-07T18:07:34.739Z] -rw-rw-r--. 1 jenkins jenkins 140 May 7 18:05 .dockerignore [2021-05-07T18:07:34.739Z] drwxrwxr-x. 5 jenkins jenkins 62 May 7 18:05 example [2021-05-07T18:07:34.739Z] drwxrwxr-x. 8 jenkins jenkins 179 May 7 18:05 .git [2021-05-07T18:07:34.739Z] drwxrwxr-x. 2 jenkins jenkins 103 May 7 18:05 .github [2021-05-07T18:07:34.739Z] -rw-rw-r--. 1 jenkins jenkins 138 May 7 18:05 .gitignore [2021-05-07T18:07:34.739Z] -rw-r--r--. 1 jenkins jenkins 575 May 7 18:07 go.mod [2021-05-07T18:07:34.739Z] -rw-r--r--. 1 jenkins jenkins 20675 May 7 18:06 go.sum [2021-05-07T18:07:34.739Z] drwxrwxr-x. 15 jenkins jenkins 222 May 7 18:05 internal [2021-05-07T18:07:34.739Z] -rw-rw-r--. 1 jenkins jenkins 901 May 7 18:05 Jenkinsfile [2021-05-07T18:07:34.739Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 7 18:05 LICENSE [2021-05-07T18:07:34.739Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 7 18:05 Makefile [2021-05-07T18:07:34.739Z] drwxrwxr-x. 4 jenkins jenkins 26 May 7 18:05 openapi [2021-05-07T18:07:34.739Z] drwxrwxr-x. 5 jenkins jenkins 50 May 7 18:05 pkg [2021-05-07T18:07:34.739Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 7 18:05 README.md [2021-05-07T18:07:34.739Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 7 18:05 RELEASE-NOTES.txt [2021-05-07T18:07:34.739Z] drwxrwxr-x. 4 jenkins jenkins 54 May 7 18:05 snap [2021-05-07T18:07:34.739Z] -rw-rw-r--. 1 jenkins jenkins 5 May 7 18:01 VERSION [2021-05-07T18:07:34.739Z] -rw-rw-r--. 1 jenkins jenkins 222 May 7 18:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:07:35.075Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=fab7bfa0e562e5f6869b5ce389e9f8430796c4cc --label arch=amd64 --label version=0.0.0 . [2021-05-07T18:07:35.345Z] Sending build context to Docker daemon 2.654MB [2021-05-07T18:07:35.345Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T18:07:35.345Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T18:07:35.345Z] ---> 6094ac79e1ef [2021-05-07T18:07:35.345Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T18:07:35.930Z] ---> Running in 005f19c94e70 [2021-05-07T18:07:36.193Z] Removing intermediate container 005f19c94e70 [2021-05-07T18:07:36.193Z] ---> 6204deb49234 [2021-05-07T18:07:36.193Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T18:07:36.193Z] ---> Running in cd6fe885ee2c [2021-05-07T18:07:36.455Z] Removing intermediate container cd6fe885ee2c [2021-05-07T18:07:36.455Z] ---> bbf5ad4ee8f3 [2021-05-07T18:07:36.455Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T18:07:36.455Z] ---> Running in 55648336e08e [2021-05-07T18:07:37.423Z] Removing intermediate container 55648336e08e [2021-05-07T18:07:37.423Z] ---> eef80473d0fd [2021-05-07T18:07:37.423Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T18:07:37.687Z] ---> Running in 5efe5266b223 [2021-05-07T18:07:37.950Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T18:07:38.904Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T18:07:39.481Z] OK: 150 MiB in 46 packages [2021-05-07T18:07:40.065Z] Removing intermediate container 5efe5266b223 [2021-05-07T18:07:40.065Z] ---> c0c605b1979a [2021-05-07T18:07:40.065Z] Step 7/23 : COPY . . [2021-05-07T18:07:41.472Z] ---> 640ab088a64e [2021-05-07T18:07:41.472Z] Step 8/23 : RUN go mod download [2021-05-07T18:07:41.472Z] ---> Running in 0850d0a78691 [2021-05-07T18:07:42.430Z] Removing intermediate container 0850d0a78691 [2021-05-07T18:07:42.430Z] ---> b3def7d1840a [2021-05-07T18:07:42.430Z] Step 9/23 : RUN make build [2021-05-07T18:07:42.430Z] ---> Running in 6414d2cb39c4 [2021-05-07T18:07:43.019Z] 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-05-07T18:07:58.208Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T18:07:58.471Z] Removing intermediate container 6414d2cb39c4 [2021-05-07T18:07:58.471Z] ---> 4f18625f7740 [2021-05-07T18:07:58.471Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T18:07:59.051Z] 3.12: Pulling from library/alpine [2021-05-07T18:07:59.051Z] 339de151aab4: Pulling fs layer [2021-05-07T18:07:59.318Z] 339de151aab4: Verifying Checksum [2021-05-07T18:07:59.318Z] 339de151aab4: Download complete [2021-05-07T18:07:59.583Z] 339de151aab4: Pull complete [2021-05-07T18:07:59.583Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T18:07:59.583Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T18:07:59.583Z] ---> 13621d1b12d4 [2021-05-07T18:07:59.583Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T18:07:59.583Z] ---> Running in fe3be7ca7970 [2021-05-07T18:07:59.848Z] Removing intermediate container fe3be7ca7970 [2021-05-07T18:07:59.848Z] ---> 38981efc69a8 [2021-05-07T18:07:59.848Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T18:07:59.848Z] ---> Running in 06700fcfc711 [2021-05-07T18:08:00.799Z] Removing intermediate container 06700fcfc711 [2021-05-07T18:08:00.799Z] ---> 4f0c759b433e [2021-05-07T18:08:00.799Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T18:08:01.075Z] ---> Running in 64cdc15cfc78 [2021-05-07T18:08:01.666Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-07T18:08:02.283Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-07T18:08:02.864Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T18:08:02.864Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T18:08:03.135Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T18:08:04.104Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T18:08:04.104Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T18:08:04.104Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T18:08:04.104Z] OK: 8 MiB in 19 packages [2021-05-07T18:08:04.717Z] Removing intermediate container 64cdc15cfc78 [2021-05-07T18:08:04.717Z] ---> e08aeed939d4 [2021-05-07T18:08:04.717Z] Step 14/23 : WORKDIR / [2021-05-07T18:08:05.000Z] ---> Running in b01fed2ac666 [2021-05-07T18:08:05.289Z] Removing intermediate container b01fed2ac666 [2021-05-07T18:08:05.289Z] ---> 733dc96c1412 [2021-05-07T18:08:05.289Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T18:08:05.561Z] ---> 7a07dd70afda [2021-05-07T18:08:05.561Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T18:08:06.566Z] ---> b49457ad10f7 [2021-05-07T18:08:06.566Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T18:08:07.161Z] ---> e66e100c0cb6 [2021-05-07T18:08:07.161Z] Step 18/23 : EXPOSE 49990 [2021-05-07T18:08:07.161Z] ---> Running in b622721bdc54 [2021-05-07T18:08:07.446Z] Removing intermediate container b622721bdc54 [2021-05-07T18:08:07.446Z] ---> 3dd995f11aa2 [2021-05-07T18:08:07.446Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T18:08:07.446Z] ---> Running in 40cbb586a382 [2021-05-07T18:08:07.715Z] Removing intermediate container 40cbb586a382 [2021-05-07T18:08:07.715Z] ---> 7afdcee72025 [2021-05-07T18:08:07.715Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T18:08:07.983Z] ---> Running in 5882aca2b7f1 [2021-05-07T18:08:07.983Z] Removing intermediate container 5882aca2b7f1 [2021-05-07T18:08:07.983Z] ---> f7b7a99dda59 [2021-05-07T18:08:07.983Z] Step 21/23 : LABEL arch=amd64 [2021-05-07T18:08:08.251Z] ---> Running in f32644d21aba [2021-05-07T18:08:08.251Z] Removing intermediate container f32644d21aba [2021-05-07T18:08:08.251Z] ---> ebd7d3b003a9 [2021-05-07T18:08:08.251Z] Step 22/23 : LABEL git_sha=fab7bfa0e562e5f6869b5ce389e9f8430796c4cc [2021-05-07T18:08:08.251Z] ---> Running in 84e34737e8ec [2021-05-07T18:08:08.519Z] Removing intermediate container 84e34737e8ec [2021-05-07T18:08:08.519Z] ---> 70b491f69c9c [2021-05-07T18:08:08.519Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T18:08:08.519Z] ---> Running in fe5b0361b363 [2021-05-07T18:08:08.796Z] Removing intermediate container fe5b0361b363 [2021-05-07T18:08:08.796Z] ---> 83f43ad9db3a [2021-05-07T18:08:08.796Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-07T18:08:08.796Z] Successfully built 83f43ad9db3a [2021-05-07T18:08:08.796Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:08:09.530Z] ---> job-cost.sh [2021-05-07T18:08:09.530Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iAOF [2021-05-07T18:08:28.680Z] gofmt -l . [2021-05-07T18:08:28.681Z] [ "`gofmt -l .`" = "" ] [2021-05-07T18:08:28.681Z] ./bin/test-attribution-txt.sh [2021-05-07T18:08:28.681Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T18:08:28.702Z] $ docker stop --time=1 d2180fb25b60d35bb1a671577b9f0258c8e2fbbf31e3d26ded1f3f19ef4fe8a0 [2021-05-07T18:08:30.955Z] $ docker rm -f d2180fb25b60d35bb1a671577b9f0258c8e2fbbf31e3d26ded1f3f19ef4fe8a0 [2021-05-07T18:08:31.638Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T18:08:32.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T18:08:32.026Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T18:08:32.954Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T18:08:33.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T18:08:33.764Z] + ls -al . [2021-05-07T18:08:33.764Z] total 224 [2021-05-07T18:08:33.764Z] drwxrwxr-x 10 jenkins jenkins 4096 May 7 18:08 . [2021-05-07T18:08:33.764Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 18:04 .. [2021-05-07T18:08:33.764Z] -rw-rw-r-- 1 jenkins jenkins 140 May 7 18:04 .dockerignore [2021-05-07T18:08:33.764Z] drwxrwxr-x 8 jenkins jenkins 4096 May 7 18:04 .git [2021-05-07T18:08:33.764Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 18:04 .github [2021-05-07T18:08:33.764Z] -rw-rw-r-- 1 jenkins jenkins 138 May 7 18:04 .gitignore [2021-05-07T18:08:33.764Z] -rw-rw-r-- 1 jenkins jenkins 987 May 7 18:04 Dockerfile.build [2021-05-07T18:08:33.764Z] -rw-rw-r-- 1 jenkins jenkins 901 May 7 18:04 Jenkinsfile [2021-05-07T18:08:33.764Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 7 18:04 LICENSE [2021-05-07T18:08:33.764Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 7 18:04 Makefile [2021-05-07T18:08:33.764Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 7 18:04 README.md [2021-05-07T18:08:33.764Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 7 18:04 RELEASE-NOTES.txt [2021-05-07T18:08:33.764Z] -rw-rw-r-- 1 jenkins jenkins 5 May 7 18:01 VERSION [2021-05-07T18:08:33.764Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 18:04 bin [2021-05-07T18:08:33.764Z] -rw-r--r-- 1 jenkins jenkins 98899 May 7 18:07 coverage.out [2021-05-07T18:08:33.764Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 18:04 example [2021-05-07T18:08:33.764Z] -rw-r--r-- 1 jenkins jenkins 575 May 7 18:08 go.mod [2021-05-07T18:08:33.764Z] -rw-r--r-- 1 jenkins jenkins 20675 May 7 18:05 go.sum [2021-05-07T18:08:33.764Z] drwxrwxr-x 15 jenkins jenkins 4096 May 7 18:04 internal [2021-05-07T18:08:33.764Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 18:04 openapi [2021-05-07T18:08:33.764Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 18:04 pkg [2021-05-07T18:08:33.764Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 18:04 snap [2021-05-07T18:08:33.764Z] -rw-rw-r-- 1 jenkins jenkins 222 May 7 18:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:08:34.116Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=fab7bfa0e562e5f6869b5ce389e9f8430796c4cc --label arch=arm64 --label version=0.0.0 . [2021-05-07T18:08:34.719Z] Sending build context to Docker daemon 2.653MB [2021-05-07T18:08:34.719Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T18:08:34.719Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T18:08:34.719Z] ---> 93f2aedda077 [2021-05-07T18:08:34.719Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T18:08:34.994Z] ---> Running in e62037845e21 [2021-05-07T18:08:35.596Z] Removing intermediate container e62037845e21 [2021-05-07T18:08:35.596Z] ---> 9d97956e93aa [2021-05-07T18:08:35.596Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T18:08:35.596Z] ---> Running in a6b7ac64029f [2021-05-07T18:08:36.193Z] Removing intermediate container a6b7ac64029f [2021-05-07T18:08:36.193Z] ---> bb239ba14cdf [2021-05-07T18:08:36.193Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T18:08:36.193Z] ---> Running in 08918e13df18 [2021-05-07T18:08:38.813Z] Removing intermediate container 08918e13df18 [2021-05-07T18:08:38.813Z] ---> 2fed934b274b [2021-05-07T18:08:38.813Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T18:08:38.813Z] ---> Running in f260d09e4879 [2021-05-07T18:08:39.793Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T18:08:41.226Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T18:08:42.669Z] OK: 139 MiB in 46 packages [2021-05-07T18:08:43.644Z] Removing intermediate container f260d09e4879 [2021-05-07T18:08:43.644Z] ---> 0a36824fc0ff [2021-05-07T18:08:43.644Z] Step 7/23 : COPY . . [2021-05-07T18:08:45.090Z] ---> 623ef37c54bb [2021-05-07T18:08:45.090Z] Step 8/23 : RUN go mod download [2021-05-07T18:08:45.370Z] ---> Running in 8c41a93bc6c7 [2021-05-07T18:08:47.351Z] Removing intermediate container 8c41a93bc6c7 [2021-05-07T18:08:47.351Z] ---> 31d76ccf54b6 [2021-05-07T18:08:47.351Z] Step 9/23 : RUN make build [2021-05-07T18:08:47.627Z] ---> Running in db0b6fd812e5 [2021-05-07T18:08:48.612Z] 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-05-07T18:09:03.877Z] lf-activate-venv(): INFO: Adding /tmp/venv-iAOF/bin to PATH [2021-05-07T18:09:03.877Z] INFO: No Stack... [2021-05-07T18:09:04.465Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T18:09:05.442Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T18:09:05.783Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-05-07T18:09:05.783Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T18:09:05.905Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-907-4-stack-cost] [2021-05-07T18:09:05.945Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-907-4-stack-cost] did not exist. Created. [2021-05-07T18:09:05.946Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-907-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T18:09:06.367Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-07T18:09:06.585Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T18:09:06.605Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-907-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T18:09:21.012Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T18:09:24.403Z] Removing intermediate container db0b6fd812e5 [2021-05-07T18:09:24.403Z] ---> 4ae8997be691 [2021-05-07T18:09:24.403Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T18:09:24.403Z] 3.12: Pulling from library/alpine [2021-05-07T18:09:24.403Z] d2f70382dc9a: Pulling fs layer [2021-05-07T18:09:24.678Z] d2f70382dc9a: Verifying Checksum [2021-05-07T18:09:24.678Z] d2f70382dc9a: Download complete [2021-05-07T18:09:25.274Z] d2f70382dc9a: Pull complete [2021-05-07T18:09:25.274Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T18:09:25.274Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T18:09:25.274Z] ---> 9852663dfa18 [2021-05-07T18:09:25.274Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T18:09:25.548Z] ---> Running in b89ee0ec0e65 [2021-05-07T18:09:26.142Z] Removing intermediate container b89ee0ec0e65 [2021-05-07T18:09:26.142Z] ---> b6646d61a45b [2021-05-07T18:09:26.142Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T18:09:26.142Z] ---> Running in 08abb629e24c [2021-05-07T18:09:28.130Z] Removing intermediate container 08abb629e24c [2021-05-07T18:09:28.130Z] ---> 35eef76c4f5e [2021-05-07T18:09:28.130Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T18:09:28.403Z] ---> Running in fe2c8ec55624 [2021-05-07T18:09:29.377Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-07T18:09:30.352Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-07T18:09:30.942Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T18:09:30.942Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T18:09:31.214Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T18:09:31.214Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T18:09:31.487Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T18:09:31.487Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T18:09:31.487Z] OK: 8 MiB in 19 packages [2021-05-07T18:09:32.918Z] Removing intermediate container fe2c8ec55624 [2021-05-07T18:09:32.918Z] ---> 1209e0391287 [2021-05-07T18:09:32.918Z] Step 14/23 : WORKDIR / [2021-05-07T18:09:32.918Z] ---> Running in 69c3682e167e [2021-05-07T18:09:33.193Z] Removing intermediate container 69c3682e167e [2021-05-07T18:09:33.193Z] ---> 2f91cc001fb2 [2021-05-07T18:09:33.193Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T18:09:34.174Z] ---> 6aaa28bcef6a [2021-05-07T18:09:34.174Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T18:09:35.155Z] ---> 3e36349faa08 [2021-05-07T18:09:35.155Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T18:09:35.773Z] ---> e041f2511c14 [2021-05-07T18:09:35.773Z] Step 18/23 : EXPOSE 49990 [2021-05-07T18:09:36.045Z] ---> Running in 00ca23626e03 [2021-05-07T18:09:36.318Z] Removing intermediate container 00ca23626e03 [2021-05-07T18:09:36.318Z] ---> 80ace0e7137c [2021-05-07T18:09:36.318Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T18:09:36.590Z] ---> Running in ef31606a2bbc [2021-05-07T18:09:36.860Z] Removing intermediate container ef31606a2bbc [2021-05-07T18:09:36.860Z] ---> 92bdb407851e [2021-05-07T18:09:36.860Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T18:09:37.131Z] ---> Running in d5e194747bfc [2021-05-07T18:09:37.406Z] Removing intermediate container d5e194747bfc [2021-05-07T18:09:37.406Z] ---> e682cf3ee354 [2021-05-07T18:09:37.406Z] Step 21/23 : LABEL arch=arm64 [2021-05-07T18:09:37.680Z] ---> Running in 8cedf857663e [2021-05-07T18:09:37.955Z] Removing intermediate container 8cedf857663e [2021-05-07T18:09:37.955Z] ---> 2094a2557e0e [2021-05-07T18:09:37.955Z] Step 22/23 : LABEL git_sha=fab7bfa0e562e5f6869b5ce389e9f8430796c4cc [2021-05-07T18:09:38.233Z] ---> Running in 406143d34be1 [2021-05-07T18:09:38.830Z] Removing intermediate container 406143d34be1 [2021-05-07T18:09:38.830Z] ---> 3e4078c27c26 [2021-05-07T18:09:38.830Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T18:09:38.830Z] ---> Running in 789c2ca37e9f [2021-05-07T18:09:39.102Z] Removing intermediate container 789c2ca37e9f [2021-05-07T18:09:39.103Z] ---> a844d68ad640 [2021-05-07T18:09:39.103Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-07T18:09:39.374Z] Successfully built a844d68ad640 [2021-05-07T18:09:39.374Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:09:39.840Z] ---> job-cost.sh [2021-05-07T18:09:39.840Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-90Jv [2021-05-07T18:10:18.827Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T18:11:40.568Z] lf-activate-venv(): INFO: Adding /tmp/venv-90Jv/bin to PATH [2021-05-07T18:11:40.568Z] INFO: No Stack... [2021-05-07T18:11:40.568Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T18:11:40.838Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T18:11:41.181Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv+ cut -d, -f6 [2021-05-07T18:11:41.181Z] [Pipeline] lock [2021-05-07T18:11:41.290Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-907-4-stack-cost] [2021-05-07T18:11:41.310Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-907-4-stack-cost] did not exist. Created. [2021-05-07T18:11:41.310Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-907-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T18:11:41.682Z] /w/workspace/device-sdk-go/4@tmp/durable-3c939da7/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-3c939da7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-07T18:11:42.028Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T18:11:42.049Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T18:11:42.205Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T18:11:42.228Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-907-4-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-05-07T18:11:42.662Z] provisioning config files... [2021-05-07T18:11:42.679Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config5573077097831880401tmp [Pipeline] { [Pipeline] sh [2021-05-07T18:11:43.083Z] + set +x [2021-05-07T18:11:43.083Z] + curl -s https://codecov.io/bash [2021-05-07T18:11:43.083Z] + bash -s -- [2021-05-07T18:11:43.348Z] [2021-05-07T18:11:43.348Z] _____ _ [2021-05-07T18:11:43.348Z] / ____| | | [2021-05-07T18:11:43.348Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T18:11:43.348Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T18:11:43.348Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T18:11:43.348Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T18:11:43.348Z] Bash-1.0.2 [2021-05-07T18:11:43.348Z] [2021-05-07T18:11:43.348Z] [2021-05-07T18:11:43.348Z] ==> git version 2.24.3 found [2021-05-07T18:11:43.348Z] ==> 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-05-07T18:11:43.348Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-07T18:11:43.348Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T18:11:43.348Z] ==> Jenkins CI detected. [2021-05-07T18:11:43.348Z] project root: . [2021-05-07T18:11:43.348Z] --> token set from env [2021-05-07T18:11:43.348Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T18:11:43.348Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T18:11:43.348Z] ==> Python coveragepy not found [2021-05-07T18:11:43.348Z] ==> Searching for coverage reports in: [2021-05-07T18:11:43.348Z] + . [2021-05-07T18:11:43.348Z] -> Found 1 reports [2021-05-07T18:11:43.348Z] ==> Detecting git/mercurial file structure [2021-05-07T18:11:43.348Z] ==> Reading reports [2021-05-07T18:11:43.348Z] + ./coverage.out bytes=98899 [2021-05-07T18:11:43.348Z] ==> Appending adjustments [2021-05-07T18:11:43.348Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T18:11:44.053Z] + Found adjustments [2021-05-07T18:11:44.053Z] ==> Gzipping contents [2021-05-07T18:11:44.053Z] 16K /tmp/codecov.l3VgwA.gz [2021-05-07T18:11:44.053Z] ==> Uploading reports [2021-05-07T18:11:44.053Z] url: https://codecov.io [2021-05-07T18:11:44.053Z] query: branch=PR-907&commit=fab7bfa0e562e5f6869b5ce389e9f8430796c4cc&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-907%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=907&job=&cmd_args= [2021-05-07T18:11:44.053Z] -> Pinging Codecov [2021-05-07T18:11:44.053Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-907&commit=fab7bfa0e562e5f6869b5ce389e9f8430796c4cc&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-907%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=907&job=&cmd_args= [2021-05-07T18:11:44.715Z] -> Uploading to [2021-05-07T18:11:44.715Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/7E55EF52A471D76F132DFD9A03CDDE97/fab7bfa0e562e5f6869b5ce389e9f8430796c4cc/599851f4-3c84-4dc2-89be-fa731e1d6609.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T181144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79c26daf14ad6aa1762ab5fb508bd705a2820ed30805585b3df63679d87526db [2021-05-07T18:11:44.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T18:11:44.715Z] Dload Upload Total Spent Left Speed [2021-05-07T18:11:45.295Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13418 0 0 100 13418 0 24855 --:--:-- --:--:-- --:--:-- 24894 [2021-05-07T18:11:45.295Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fab7bfa0e562e5f6869b5ce389e9f8430796c4cc [Pipeline] } [2021-05-07T18:11:45.315Z] 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-05-07T18:11:46.264Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:11:46.881Z] ---> package-listing.sh [2021-05-07T18:11:46.881Z] ++ facter osfamily [2021-05-07T18:11:46.881Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T18:11:47.145Z] + OS_FAMILY=redhat [2021-05-07T18:11:47.145Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-907 [2021-05-07T18:11:47.145Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T18:11:47.145Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T18:11:47.145Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T18:11:47.145Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T18:11:47.145Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-907 ']' [2021-05-07T18:11:47.145Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T18:11:47.145Z] + case "${OS_FAMILY}" in [2021-05-07T18:11:47.145Z] + rpm -qa [2021-05-07T18:11:47.145Z] + sort [2021-05-07T18:11:52.473Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T18:11:52.473Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T18:11:52.473Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T18:11:52.473Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-907 ']' [2021-05-07T18:11:52.473Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-907/archives/ [2021-05-07T18:11:52.473Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-907/archives/ [Pipeline] echo [2021-05-07T18:11:52.499Z] 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-907/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-07T18:11:52.795Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:11:53.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T18:11:53.370Z] [2021-05-07T18:11:53.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:11:53.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T18:11:53.703Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T18:11:53.703Z] df20fa9351a1: Pulling fs layer [2021-05-07T18:11:53.703Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T18:11:53.703Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T18:11:53.703Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T18:11:53.703Z] 93b61091891f: Pulling fs layer [2021-05-07T18:11:53.703Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T18:11:53.703Z] 5e14af77c1be: Pulling fs layer [2021-05-07T18:11:53.703Z] 01666e4c0597: Pulling fs layer [2021-05-07T18:11:53.703Z] aa168da1d23b: Pulling fs layer [2021-05-07T18:11:53.703Z] 46f8f816bc3b: Waiting [2021-05-07T18:11:53.703Z] 93b9cdb0e59b: Waiting [2021-05-07T18:11:53.703Z] 93b61091891f: Waiting [2021-05-07T18:11:53.703Z] 5e14af77c1be: Waiting [2021-05-07T18:11:53.703Z] aa168da1d23b: Waiting [2021-05-07T18:11:53.703Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T18:11:53.703Z] 36b3adc4ff6f: Download complete [2021-05-07T18:11:53.703Z] 46f8f816bc3b: Verifying Checksum [2021-05-07T18:11:53.703Z] 46f8f816bc3b: Download complete [2021-05-07T18:11:53.970Z] df20fa9351a1: Verifying Checksum [2021-05-07T18:11:53.970Z] df20fa9351a1: Download complete [2021-05-07T18:11:53.970Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T18:11:53.970Z] 93b9cdb0e59b: Download complete [2021-05-07T18:11:53.970Z] 5e14af77c1be: Verifying Checksum [2021-05-07T18:11:53.970Z] 5e14af77c1be: Download complete [2021-05-07T18:11:53.970Z] 93b61091891f: Verifying Checksum [2021-05-07T18:11:53.970Z] 93b61091891f: Download complete [2021-05-07T18:11:53.970Z] 01666e4c0597: Verifying Checksum [2021-05-07T18:11:53.970Z] 01666e4c0597: Download complete [2021-05-07T18:11:54.554Z] df20fa9351a1: Pull complete [2021-05-07T18:11:54.554Z] 36b3adc4ff6f: Pull complete [2021-05-07T18:11:54.824Z] 8ad3a11d3b57: Download complete [2021-05-07T18:11:55.832Z] 8ad3a11d3b57: Pull complete [2021-05-07T18:11:55.832Z] 46f8f816bc3b: Pull complete [2021-05-07T18:11:56.818Z] 93b61091891f: Pull complete [2021-05-07T18:11:57.116Z] 93b9cdb0e59b: Pull complete [2021-05-07T18:11:57.388Z] aa168da1d23b: Verifying Checksum [2021-05-07T18:11:57.388Z] aa168da1d23b: Download complete [2021-05-07T18:11:57.651Z] 5e14af77c1be: Pull complete [2021-05-07T18:11:57.919Z] 01666e4c0597: Pull complete [2021-05-07T18:12:08.022Z] aa168da1d23b: Pull complete [2021-05-07T18:12:08.022Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T18:12:08.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T18:12:08.022Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T18:12:08.274Z] prd-centos7-docker-4c-2g-3587 does not seem to be running inside a container [2021-05-07T18:12:08.352Z] $ 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-907/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-907 -v /w/workspace/dgexfoundry_device-sdk-go_PR-907:/w/workspace/dgexfoundry_device-sdk-go_PR-907:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-07T18:12:11.080Z] $ docker top e94bebcb08913aea9634a8c4483336516f8c4ef4a8de259c05031acd3e1b8e53 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:12:11.551Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T18:12:11.874Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T18:12:12.201Z] + ls /var/log/sa-host [2021-05-07T18:12:12.201Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T18:12:12.201Z] file_magic: OK [2021-05-07T18:12:12.201Z] HZ: Using current value: 100 [2021-05-07T18:12:12.201Z] file_header: OK [2021-05-07T18:12:12.201Z] 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-05-07T18:12:12.201Z] Statistics: [2021-05-07T18:12:12.201Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T18:12:12.201Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T18:12:12.201Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T18:12:12.201Z] file_magic: OK [2021-05-07T18:12:12.201Z] HZ: Using current value: 100 [2021-05-07T18:12:12.201Z] file_header: OK [2021-05-07T18:12:12.201Z] 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-05-07T18:12:12.201Z] Statistics: [2021-05-07T18:12:12.201Z] Hnuu...uuuununununu... [2021-05-07T18:12:12.201Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T18:12:12.383Z] provisioning config files... [2021-05-07T18:12:12.403Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config2423763729653643239tmp [Pipeline] { [Pipeline] echo [2021-05-07T18:12:12.439Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:12:13.103Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T18:12:13.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T18:12:13.141Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:12:13.468Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T18:12:13.480Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:12:13.877Z] ---> sudo-logs.sh [2021-05-07T18:12:13.877Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T18:12:13.912Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:12:14.275Z] ---> job-cost.sh [2021-05-07T18:12:14.275Z] lf-activate-venv: SKIPPING [2021-05-07T18:12:14.540Z] DEBUG: total: 0.20999999344348907 [2021-05-07T18:12:14.540Z] INFO: Retrieving Stack Cost... [2021-05-07T18:12:15.494Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T18:12:16.073Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T18:12:16.088Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:12:16.417Z] ---> logs-deploy.sh [2021-05-07T18:12:16.417Z] lf-activate-venv: SKIPPING [2021-05-07T18:12:16.417Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-907/4 [2021-05-07T18:12:16.417Z] INFO: archiving workspace using pattern(s): [2021-05-07T18:12:18.368Z] Archives upload complete. [2021-05-07T18:12:18.632Z] INFO: archiving logs to Nexus