Pull request #914 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from cb99f86c6c9de52924b12c20769e25d8d75925cc+c59eaec4927ead084ac23e2dc62563ecf0e6da75 (14d585b37bf9efb44894f644bc5f29bea2c1eb4f) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-914/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-914/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-4022 in /w/workspace/dgexfoundry_device-sdk-go_PR-914 [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-914 # 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 c59eaec4927ead084ac23e2dc62563ecf0e6da75 into PR head commit cb99f86c6c9de52924b12c20769e25d8d75925cc Merge succeeded, producing cb99f86c6c9de52924b12c20769e25d8d75925cc Checking out Revision cb99f86c6c9de52924b12c20769e25d8d75925cc (PR-914) > 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/914/head:refs/remotes/origin/PR-914 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c59eaec4927ead084ac23e2dc62563ecf0e6da75 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 Commit message: "refactor: replace usage of io/ioutl package" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T06:28:33.979Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T06:28:34.179Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T06:28:34.296Z] ========================================================= [2021-05-10T06:28:34.296Z] EdgeX Global Pipelines Version Info [2021-05-10T06:28:34.296Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:28:35.942Z] ------------------- [2021-05-10T06:28:35.942Z] stable info: [2021-05-10T06:28:35.942Z] ------------------- [2021-05-10T06:28:35.942Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T06:28:35.942Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T06:28:35.942Z] Message: update stable to v1.0.191 [2021-05-10T06:28:36.892Z] ------------------- [2021-05-10T06:28:36.892Z] experimental info: [2021-05-10T06:28:36.892Z] ------------------- [2021-05-10T06:28:36.892Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T06:28:36.892Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T06:28:36.892Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T06:28:37.141Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-10T06:28:37.196Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-10T06:28:37.253Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T06:28:37.334Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T06:28:37.393Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T06:28:37.452Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T06:28:37.519Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T06:28:37.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T06:28:37.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-10T06:28:37.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T06:28:37.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T06:28:37.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-10T06:28:37.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T06:28:37.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T06:28:37.999Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T06:28:38.057Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T06:28:38.118Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T06:28:38.175Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T06:28:38.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T06:28:38.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T06:28:38.418Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-10T06:28:38.479Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-10T06:28:38.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T06:28:38.585Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T06:28:38.660Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T06:28:38.718Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T06:28:38.793Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-914 [Pipeline] echo [2021-05-10T06:28:38.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-914 [Pipeline] echo [2021-05-10T06:28:38.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-914 [Pipeline] echo [2021-05-10T06:28:38.964Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb99f86c6c9de52924b12c20769e25d8d75925cc [Pipeline] echo [2021-05-10T06:28:39.029Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb99f86 [Pipeline] echo [2021-05-10T06:28:39.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T06:28:39.225Z] provisioning config files... [2021-05-10T06:28:39.256Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/config5269558907567355236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:28:39.635Z] ---> docker-login.sh [2021-05-10T06:28:39.635Z] nexus3.edgexfoundry.org:10001 [2021-05-10T06:28:39.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:28:40.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:28:40.178Z] Configure a credential helper to remove this warning. See [2021-05-10T06:28:40.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:28:40.178Z] [2021-05-10T06:28:40.178Z] Login Succeeded [2021-05-10T06:28:40.178Z] nexus3.edgexfoundry.org:10002 [2021-05-10T06:28:40.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:28:40.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:28:40.178Z] Configure a credential helper to remove this warning. See [2021-05-10T06:28:40.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:28:40.178Z] [2021-05-10T06:28:40.178Z] Login Succeeded [2021-05-10T06:28:40.178Z] nexus3.edgexfoundry.org:10003 [2021-05-10T06:28:40.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:28:40.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:28:40.444Z] Configure a credential helper to remove this warning. See [2021-05-10T06:28:40.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:28:40.444Z] [2021-05-10T06:28:40.444Z] Login Succeeded [2021-05-10T06:28:40.714Z] nexus3.edgexfoundry.org:10004 [2021-05-10T06:28:40.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:28:40.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:28:40.714Z] Configure a credential helper to remove this warning. See [2021-05-10T06:28:40.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:28:40.714Z] [2021-05-10T06:28:40.714Z] Login Succeeded [2021-05-10T06:28:40.714Z] docker.io [2021-05-10T06:28:40.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:28:41.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:28:41.248Z] Configure a credential helper to remove this warning. See [2021-05-10T06:28:41.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:28:41.248Z] [2021-05-10T06:28:41.248Z] Login Succeeded [2021-05-10T06:28:41.248Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T06:28:41.280Z] 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-10T06:28:42.021Z] + git log --format=format:%s -1 cb99f86c6c9de52924b12c20769e25d8d75925cc [Pipeline] echo [2021-05-10T06:28:42.156Z] GIT_COMMIT: cb99f86c6c9de52924b12c20769e25d8d75925cc, Commit Message: refactor: replace usage of io/ioutl package [Pipeline] echo [2021-05-10T06:28:42.254Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:28:43.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T06:28:43.187Z] [2021-05-10T06:28:43.187Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:28:43.587Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T06:28:43.587Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T06:28:43.587Z] 31603596830f: Pulling fs layer [2021-05-10T06:28:43.587Z] 54011a49482f: Pulling fs layer [2021-05-10T06:28:43.587Z] a6820b24f6d8: Pulling fs layer [2021-05-10T06:28:43.587Z] f581987b2513: Pulling fs layer [2021-05-10T06:28:43.587Z] f581987b2513: Waiting [2021-05-10T06:28:43.587Z] 54011a49482f: Verifying Checksum [2021-05-10T06:28:43.587Z] 54011a49482f: Download complete [2021-05-10T06:28:43.854Z] 31603596830f: Download complete [2021-05-10T06:28:43.854Z] f581987b2513: Verifying Checksum [2021-05-10T06:28:43.854Z] f581987b2513: Download complete [2021-05-10T06:28:44.118Z] a6820b24f6d8: Verifying Checksum [2021-05-10T06:28:44.118Z] a6820b24f6d8: Download complete [2021-05-10T06:28:44.382Z] 31603596830f: Pull complete [2021-05-10T06:28:44.382Z] 54011a49482f: Pull complete [2021-05-10T06:28:45.794Z] a6820b24f6d8: Pull complete [2021-05-10T06:28:45.794Z] f581987b2513: Pull complete [2021-05-10T06:28:45.794Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T06:28:45.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T06:28:45.794Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T06:28:45.930Z] prd-centos7-docker-4c-2g-4022 does not seem to be running inside a container [2021-05-10T06:28:45.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-914 -v /w/workspace/dgexfoundry_device-sdk-go_PR-914:/w/workspace/dgexfoundry_device-sdk-go_PR-914:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-914@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T06:28:48.028Z] $ docker top a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T06:28:48.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T06:28:48.291Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T06:28:48.538Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T06:28:48.545Z] $ docker exec a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 ssh-agent [2021-05-10T06:28:48.766Z] SSH_AUTH_SOCK=/tmp/ssh-5Ebvpw0gtZPm/agent.13 [2021-05-10T06:28:48.766Z] SSH_AGENT_PID=18 [2021-05-10T06:28:48.778Z] Running ssh-add (command line suppressed) [2021-05-10T06:28:48.978Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/private_key_6050527064171916292.key (/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/private_key_6050527064171916292.key) [2021-05-10T06:28:49.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T06:28:49.402Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T06:28:49.441Z] $ docker exec --env ******** --env ******** a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 ssh-agent -k [2021-05-10T06:28:49.574Z] unset SSH_AUTH_SOCK; [2021-05-10T06:28:49.575Z] unset SSH_AGENT_PID; [2021-05-10T06:28:49.575Z] echo Agent pid 18 killed; [2021-05-10T06:28:49.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T06:28:49.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T06:28:49.724Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T06:28:49.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T06:28:49.922Z] $ docker exec a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 ssh-agent [2021-05-10T06:28:50.106Z] SSH_AUTH_SOCK=/tmp/ssh-i4LZFT4hkNxd/agent.47 [2021-05-10T06:28:50.106Z] SSH_AGENT_PID=52 [2021-05-10T06:28:50.114Z] Running ssh-add (command line suppressed) [2021-05-10T06:28:50.248Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/private_key_6541763681092501259.key (/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/private_key_6541763681092501259.key) [2021-05-10T06:28:50.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T06:28:50.660Z] + git semver init [2021-05-10T06:28:50.660Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T06:28:50.660Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-914/.git [2021-05-10T06:28:50.660Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-914 [2021-05-10T06:28:50.660Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T06:28:50.660Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T06:28:50.660Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T06:28:50.660Z] # $SEMVER_BRANCH = PR-914 [2021-05-10T06:28:50.660Z] # $SEMVER_TEMP = /tmp/semver-250051985 [2021-05-10T06:28:50.660Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-10T06:28:51.611Z] # '/tmp/semver-250051985' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-914/.semver' [2021-05-10T06:28:51.611Z] # -> Force: false [2021-05-10T06:28:51.611Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-914/.semver [Pipeline] } [2021-05-10T06:28:51.639Z] $ docker exec --env ******** --env ******** a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 ssh-agent -k [2021-05-10T06:28:51.778Z] unset SSH_AUTH_SOCK; [2021-05-10T06:28:51.779Z] unset SSH_AGENT_PID; [2021-05-10T06:28:51.779Z] echo Agent pid 52 killed; [2021-05-10T06:28:51.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T06:28:52.340Z] + git semver [Pipeline] } [2021-05-10T06:28:52.415Z] $ docker stop --time=1 a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 [2021-05-10T06:28:54.252Z] $ docker rm -f a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T06:28:54.761Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T06:28:55.226Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T06:28:55.250Z] [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-10T06:29:10.730Z] Still waiting to schedule task [2021-05-10T06:29:10.730Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T06:29:10.764Z] Still waiting to schedule task [2021-05-10T06:29:10.764Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T06:32:29.610Z] Running on prd-centos7-docker-4c-2g-4024 in /w/workspace/dgexfoundry_device-sdk-go_PR-914 [Pipeline] { [Pipeline] ws [2021-05-10T06:32:29.684Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T06:32:32.427Z] using credential edgex-jenkins-ssh [2021-05-10T06:32:32.443Z] Cloning the remote Git repository [2021-05-10T06:32:32.470Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T06:32:32.538Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-10T06:32:32.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T06:32:32.603Z] > git --version # timeout=10 [2021-05-10T06:32:32.609Z] > git --version # 'git version 2.24.3' [2021-05-10T06:32:32.610Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:32:32.666Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:32:34.007Z] Merging remotes/origin/master commit c59eaec4927ead084ac23e2dc62563ecf0e6da75 into PR head commit cb99f86c6c9de52924b12c20769e25d8d75925cc [2021-05-10T06:32:34.100Z] Merge succeeded, producing cb99f86c6c9de52924b12c20769e25d8d75925cc [2021-05-10T06:32:34.101Z] Checking out Revision cb99f86c6c9de52924b12c20769e25d8d75925cc (PR-914) [2021-05-10T06:32:33.451Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T06:32:33.461Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:32:33.474Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T06:32:33.488Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T06:32:33.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:32:33.494Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/914/head:refs/remotes/origin/PR-914 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T06:32:34.018Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:32:34.026Z] > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 [2021-05-10T06:32:34.070Z] > git remote # timeout=10 [2021-05-10T06:32:34.076Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T06:32:34.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:32:34.085Z] > git merge c59eaec4927ead084ac23e2dc62563ecf0e6da75 # timeout=10 [2021-05-10T06:32:34.095Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T06:32:34.106Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:32:34.111Z] > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 [2021-05-10T06:32:37.711Z] Commit message: "refactor: replace usage of io/ioutl package" [2021-05-10T06:32:37.748Z] > git --version # timeout=10 [2021-05-10T06:32:37.759Z] > git --version # 'git version 2.24.3' [2021-05-10T06:32:37.768Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:32:39.316Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:32:39.672Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:32:40.003Z] + sudo service docker restart [2021-05-10T06:32:40.003Z] + true [2021-05-10T06:32:40.003Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T06:32:41.110Z] provisioning config files... [2021-05-10T06:32:41.140Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1461648573917071142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:32:41.530Z] ---> docker-login.sh [2021-05-10T06:32:41.530Z] nexus3.edgexfoundry.org:10001 [2021-05-10T06:32:41.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:32:42.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:32:42.057Z] Configure a credential helper to remove this warning. See [2021-05-10T06:32:42.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:32:42.057Z] [2021-05-10T06:32:42.057Z] Login Succeeded [2021-05-10T06:32:42.057Z] nexus3.edgexfoundry.org:10002 [2021-05-10T06:32:42.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:32:42.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:32:42.057Z] Configure a credential helper to remove this warning. See [2021-05-10T06:32:42.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:32:42.057Z] [2021-05-10T06:32:42.057Z] Login Succeeded [2021-05-10T06:32:42.320Z] nexus3.edgexfoundry.org:10003 [2021-05-10T06:32:42.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:32:42.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:32:42.320Z] Configure a credential helper to remove this warning. See [2021-05-10T06:32:42.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:32:42.320Z] [2021-05-10T06:32:42.320Z] Login Succeeded [2021-05-10T06:32:42.320Z] nexus3.edgexfoundry.org:10004 [2021-05-10T06:32:42.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:32:42.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:32:42.586Z] Configure a credential helper to remove this warning. See [2021-05-10T06:32:42.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:32:42.586Z] [2021-05-10T06:32:42.586Z] Login Succeeded [2021-05-10T06:32:42.586Z] docker.io [2021-05-10T06:32:42.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:32:43.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:32:43.115Z] Configure a credential helper to remove this warning. See [2021-05-10T06:32:43.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:32:43.115Z] [2021-05-10T06:32:43.115Z] Login Succeeded [2021-05-10T06:32:43.115Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T06:32:43.159Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T06:32:43.480Z] ========================================================= [2021-05-10T06:32:43.480Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T06:32:43.480Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:32:43.838Z] + 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-10T06:32:44.104Z] Sending build context to Docker daemon 2.553MB [2021-05-10T06:32:44.104Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T06:32:44.104Z] Step 2/8 : FROM ${BASE} [2021-05-10T06:32:44.104Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T06:32:44.104Z] 540db60ca938: Pulling fs layer [2021-05-10T06:32:44.104Z] adcc1eea9eea: Pulling fs layer [2021-05-10T06:32:44.104Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T06:32:44.104Z] 0510c868ecb4: Pulling fs layer [2021-05-10T06:32:44.104Z] afea3b2eda06: Pulling fs layer [2021-05-10T06:32:44.104Z] 7809a108b3ef: Pulling fs layer [2021-05-10T06:32:44.104Z] f706445af74f: Pulling fs layer [2021-05-10T06:32:44.104Z] afea3b2eda06: Waiting [2021-05-10T06:32:44.104Z] f706445af74f: Waiting [2021-05-10T06:32:44.104Z] 7809a108b3ef: Waiting [2021-05-10T06:32:44.104Z] 0510c868ecb4: Waiting [2021-05-10T06:32:44.104Z] 4c4ab2625f07: Download complete [2021-05-10T06:32:44.104Z] adcc1eea9eea: Download complete [2021-05-10T06:32:44.104Z] afea3b2eda06: Download complete [2021-05-10T06:32:44.104Z] 7809a108b3ef: Verifying Checksum [2021-05-10T06:32:44.104Z] 7809a108b3ef: Download complete [2021-05-10T06:32:44.104Z] 540db60ca938: Verifying Checksum [2021-05-10T06:32:44.104Z] 540db60ca938: Download complete [2021-05-10T06:32:44.687Z] 540db60ca938: Pull complete [2021-05-10T06:32:44.687Z] adcc1eea9eea: Pull complete [2021-05-10T06:32:44.954Z] 4c4ab2625f07: Pull complete [2021-05-10T06:32:46.892Z] f706445af74f: Verifying Checksum [2021-05-10T06:32:46.892Z] f706445af74f: Download complete [2021-05-10T06:32:47.160Z] 0510c868ecb4: Download complete [2021-05-10T06:32:52.490Z] 0510c868ecb4: Pull complete [2021-05-10T06:32:52.490Z] afea3b2eda06: Pull complete [2021-05-10T06:32:52.490Z] 7809a108b3ef: Pull complete [2021-05-10T06:32:56.769Z] f706445af74f: Pull complete [2021-05-10T06:32:56.769Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T06:32:56.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T06:32:56.769Z] ---> b068be0155e3 [2021-05-10T06:32:56.769Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T06:32:56.769Z] ---> Running in 8762669adde7 [2021-05-10T06:32:57.353Z] Removing intermediate container 8762669adde7 [2021-05-10T06:32:57.353Z] ---> 7822aca48a16 [2021-05-10T06:32:57.353Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:32:57.353Z] ---> Running in 4bdda30d28dc [2021-05-10T06:32:58.320Z] Removing intermediate container 4bdda30d28dc [2021-05-10T06:32:58.320Z] ---> cfa7180157e2 [2021-05-10T06:32:58.320Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T06:32:58.583Z] ---> Running in 1b729d53833c [2021-05-10T06:32:59.167Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:33:00.565Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:33:01.434Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4023 in /w/workspace/dgexfoundry_device-sdk-go_PR-914 [Pipeline] { [Pipeline] ws [2021-05-10T06:33:01.490Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2021-05-10T06:33:01.514Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-10T06:33:01.514Z] (2/6) Installing libsodium (1.0.18-r0) [Pipeline] checkout [2021-05-10T06:33:01.778Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-10T06:33:02.041Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-10T06:33:02.041Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-10T06:33:02.306Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-10T06:33:02.570Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T06:33:02.570Z] OK: 150 MiB in 46 packages [2021-05-10T06:33:03.538Z] Removing intermediate container 1b729d53833c [2021-05-10T06:33:03.538Z] ---> 9b9d0b29992f [2021-05-10T06:33:03.538Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-10T06:33:03.538Z] ---> Running in 7a9a7ef38710 [2021-05-10T06:33:03.538Z] Removing intermediate container 7a9a7ef38710 [2021-05-10T06:33:03.538Z] ---> a9ab2a8d1883 [2021-05-10T06:33:03.538Z] Step 7/8 : COPY . . [2021-05-10T06:33:04.945Z] ---> 32edb1041ba0 [2021-05-10T06:33:04.945Z] Step 8/8 : RUN go mod download [2021-05-10T06:33:04.945Z] ---> Running in d22b95444cca [2021-05-10T06:33:07.512Z] using credential edgex-jenkins-ssh [2021-05-10T06:33:07.535Z] Cloning the remote Git repository [2021-05-10T06:33:07.617Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T06:33:07.757Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-10T06:33:07.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T06:33:07.850Z] > git --version # timeout=10 [2021-05-10T06:33:07.870Z] > git --version # 'git version 2.17.1' [2021-05-10T06:33:07.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:33:07.934Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:33:09.251Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T06:33:09.285Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:33:09.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T06:33:09.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T06:33:09.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:33:09.367Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/914/head:refs/remotes/origin/PR-914 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T06:33:10.979Z] Merging remotes/origin/master commit c59eaec4927ead084ac23e2dc62563ecf0e6da75 into PR head commit cb99f86c6c9de52924b12c20769e25d8d75925cc [2021-05-10T06:33:11.234Z] Merge succeeded, producing cb99f86c6c9de52924b12c20769e25d8d75925cc [2021-05-10T06:33:11.235Z] Checking out Revision cb99f86c6c9de52924b12c20769e25d8d75925cc (PR-914) [2021-05-10T06:33:11.013Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:33:11.031Z] > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 [2021-05-10T06:33:11.153Z] > git remote # timeout=10 [2021-05-10T06:33:11.172Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T06:33:11.190Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:33:11.202Z] > git merge c59eaec4927ead084ac23e2dc62563ecf0e6da75 # timeout=10 [2021-05-10T06:33:11.226Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T06:33:11.254Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:33:11.266Z] > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 [2021-05-10T06:33:15.687Z] Commit message: "refactor: replace usage of io/ioutl package" [2021-05-10T06:33:15.765Z] > git --version # timeout=10 [2021-05-10T06:33:15.792Z] > git --version # 'git version 2.17.1' [2021-05-10T06:33:15.809Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:33:17.481Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:33:17.928Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:33:18.285Z] + sudo service docker restart+ [2021-05-10T06:33:18.285Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T06:33:21.065Z] provisioning config files... [2021-05-10T06:33:21.105Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7540420010401917582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:33:21.564Z] ---> docker-login.sh [2021-05-10T06:33:21.564Z] nexus3.edgexfoundry.org:10001 [2021-05-10T06:33:22.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:33:22.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:33:22.824Z] Configure a credential helper to remove this warning. See [2021-05-10T06:33:22.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:33:22.824Z] [2021-05-10T06:33:22.824Z] Login Succeeded [2021-05-10T06:33:22.824Z] nexus3.edgexfoundry.org:10002 [2021-05-10T06:33:23.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:33:23.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:33:23.373Z] Configure a credential helper to remove this warning. See [2021-05-10T06:33:23.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:33:23.373Z] [2021-05-10T06:33:23.373Z] Login Succeeded [2021-05-10T06:33:23.373Z] nexus3.edgexfoundry.org:10003 [2021-05-10T06:33:23.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:33:23.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:33:23.971Z] Configure a credential helper to remove this warning. See [2021-05-10T06:33:23.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:33:23.971Z] [2021-05-10T06:33:23.971Z] Login Succeeded [2021-05-10T06:33:23.971Z] nexus3.edgexfoundry.org:10004 [2021-05-10T06:33:24.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:33:24.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:33:24.519Z] Configure a credential helper to remove this warning. See [2021-05-10T06:33:24.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:33:24.519Z] [2021-05-10T06:33:24.519Z] Login Succeeded [2021-05-10T06:33:24.519Z] docker.io [2021-05-10T06:33:24.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:33:25.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:33:25.390Z] Configure a credential helper to remove this warning. See [2021-05-10T06:33:25.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:33:25.390Z] [2021-05-10T06:33:25.390Z] Login Succeeded [2021-05-10T06:33:25.390Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T06:33:25.421Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T06:33:25.854Z] ========================================================= [2021-05-10T06:33:25.854Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T06:33:25.854Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:33:26.245Z] + 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-10T06:33:26.847Z] Sending build context to Docker daemon 2.557MB [2021-05-10T06:33:26.847Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T06:33:26.847Z] Step 2/8 : FROM ${BASE} [2021-05-10T06:33:26.847Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T06:33:26.847Z] 595b0fe564bb: Pulling fs layer [2021-05-10T06:33:26.847Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T06:33:26.847Z] 316046926c0a: Pulling fs layer [2021-05-10T06:33:26.847Z] 4ebd0625c992: Pulling fs layer [2021-05-10T06:33:26.847Z] 207e8628e3a3: Pulling fs layer [2021-05-10T06:33:26.847Z] c791037a9be2: Pulling fs layer [2021-05-10T06:33:26.847Z] ffd874e62e21: Pulling fs layer [2021-05-10T06:33:26.847Z] 4ebd0625c992: Waiting [2021-05-10T06:33:26.847Z] 207e8628e3a3: Waiting [2021-05-10T06:33:26.847Z] c791037a9be2: Waiting [2021-05-10T06:33:26.847Z] ffd874e62e21: Waiting [2021-05-10T06:33:26.847Z] 316046926c0a: Verifying Checksum [2021-05-10T06:33:26.847Z] 316046926c0a: Download complete [2021-05-10T06:33:26.847Z] 7186ed65a4f7: Download complete [2021-05-10T06:33:26.847Z] 207e8628e3a3: Verifying Checksum [2021-05-10T06:33:26.847Z] 207e8628e3a3: Download complete [2021-05-10T06:33:26.847Z] c791037a9be2: Verifying Checksum [2021-05-10T06:33:26.847Z] c791037a9be2: Download complete [2021-05-10T06:33:26.847Z] 595b0fe564bb: Verifying Checksum [2021-05-10T06:33:26.847Z] 595b0fe564bb: Download complete [2021-05-10T06:33:27.841Z] 595b0fe564bb: Pull complete [2021-05-10T06:33:28.442Z] 7186ed65a4f7: Pull complete [2021-05-10T06:33:28.727Z] 316046926c0a: Pull complete [2021-05-10T06:33:29.002Z] ffd874e62e21: Verifying Checksum [2021-05-10T06:33:29.002Z] ffd874e62e21: Download complete [2021-05-10T06:33:30.453Z] 4ebd0625c992: Verifying Checksum [2021-05-10T06:33:30.453Z] 4ebd0625c992: Download complete [2021-05-10T06:33:31.585Z] Removing intermediate container d22b95444cca [2021-05-10T06:33:31.585Z] ---> 88c21c3b24f9 [2021-05-10T06:33:31.585Z] Successfully built 88c21c3b24f9 [2021-05-10T06:33:31.585Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:33:31.961Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T06:33:31.961Z] . [Pipeline] withDockerContainer [2021-05-10T06:33:32.131Z] prd-centos7-docker-4c-2g-4024 does not seem to be running inside a container [2021-05-10T06:33:32.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T06:33:33.120Z] $ docker top f7161ef41945b136a1185052b8c668e666b08601969ac0b088f50df23b8c120a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:33:33.622Z] + go version [2021-05-10T06:33:33.622Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T06:33:33.655Z] $ docker stop --time=1 f7161ef41945b136a1185052b8c668e666b08601969ac0b088f50df23b8c120a [2021-05-10T06:33:35.038Z] $ docker rm -f f7161ef41945b136a1185052b8c668e666b08601969ac0b088f50df23b8c120a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:33:35.789Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T06:33:35.790Z] . [Pipeline] withDockerContainer [2021-05-10T06:33:35.913Z] prd-centos7-docker-4c-2g-4024 does not seem to be running inside a container [2021-05-10T06:33:35.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T06:33:36.579Z] $ docker top 61129eda4bb2ad8ea0560c7602af4624d16a580d91fc3fa93b9e07261b1431e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:33:37.099Z] + go mod tidy [Pipeline] sh [2021-05-10T06:33:37.995Z] + make test [2021-05-10T06:33:37.996Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T06:33:40.646Z] 4ebd0625c992: Pull complete [2021-05-10T06:33:40.646Z] 207e8628e3a3: Pull complete [2021-05-10T06:33:40.646Z] c791037a9be2: Pull complete [2021-05-10T06:33:44.037Z] ffd874e62e21: Pull complete [2021-05-10T06:33:44.037Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T06:33:44.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T06:33:44.037Z] ---> cfc18b08335c [2021-05-10T06:33:44.037Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T06:33:46.197Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-10T06:33:47.475Z] ---> Running in c96ba5f736e3 [2021-05-10T06:33:47.475Z] Removing intermediate container c96ba5f736e3 [2021-05-10T06:33:47.475Z] ---> 35fdd5f8131d [2021-05-10T06:33:47.475Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:33:47.752Z] ---> Running in 323e5bbf893d [2021-05-10T06:33:50.377Z] Removing intermediate container 323e5bbf893d [2021-05-10T06:33:50.377Z] ---> f3180eadcce7 [2021-05-10T06:33:50.377Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T06:33:50.378Z] ---> Running in 60161c1de2b3 [2021-05-10T06:33:51.815Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:33:53.783Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:33:54.763Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-10T06:33:54.763Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-10T06:33:55.035Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-10T06:33:55.035Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-10T06:33:55.307Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-10T06:33:55.579Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-10T06:33:55.852Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T06:33:55.852Z] OK: 139 MiB in 46 packages [2021-05-10T06:33:57.286Z] Removing intermediate container 60161c1de2b3 [2021-05-10T06:33:57.286Z] ---> 7e53a271e382 [2021-05-10T06:33:57.286Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-10T06:33:57.286Z] ---> Running in 31e81407520d [2021-05-10T06:33:57.880Z] Removing intermediate container 31e81407520d [2021-05-10T06:33:57.880Z] ---> 1628c37efd32 [2021-05-10T06:33:57.880Z] Step 7/8 : COPY . . [2021-05-10T06:33:59.322Z] ---> 6aba12d882ea [2021-05-10T06:33:59.322Z] Step 8/8 : RUN go mod download [2021-05-10T06:33:59.322Z] ---> Running in 568b48855f50 [2021-05-10T06:34:13.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-10T06:34:13.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-10T06:34:13.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-10T06:34:13.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.069s coverage: 25.4% of statements [2021-05-10T06:34:13.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-10T06:34:13.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.086s coverage: 28.1% of statements [2021-05-10T06:34:13.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.087s coverage: 78.9% of statements [2021-05-10T06:34:13.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.060s coverage: 10.7% of statements [2021-05-10T06:34:13.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-10T06:34:13.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-10T06:34:13.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-10T06:34:14.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 30.2% of statements [2021-05-10T06:34:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-10T06:34:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-10T06:34:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-10T06:34:14.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-10T06:34:14.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.137s coverage: 58.4% of statements [2021-05-10T06:34:16.292Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.218s coverage: 89.2% of statements [2021-05-10T06:34:16.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-10T06:34:16.292Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-05-10T06:34:16.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-10T06:34:16.559Z] GO111MODULE=on go vet ./... [2021-05-10T06:34:26.124Z] Removing intermediate container 568b48855f50 [2021-05-10T06:34:26.124Z] ---> b23477dc87a7 [2021-05-10T06:34:26.124Z] Successfully built b23477dc87a7 [2021-05-10T06:34:26.124Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:34:26.533Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T06:34:26.533Z] . [Pipeline] withDockerContainer [2021-05-10T06:34:26.793Z] prd-ubuntu18.04-docker-arm64-4c-16g-4023 does not seem to be running inside a container [2021-05-10T06:34:26.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T06:34:28.278Z] $ docker top 34623e12fc28412d24679c1d1b8d1616d1d4f207cb014cd977070dd02ba44234 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:34:29.254Z] + go version [2021-05-10T06:34:29.254Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T06:34:29.299Z] $ docker stop --time=1 34623e12fc28412d24679c1d1b8d1616d1d4f207cb014cd977070dd02ba44234 [2021-05-10T06:34:31.242Z] $ docker rm -f 34623e12fc28412d24679c1d1b8d1616d1d4f207cb014cd977070dd02ba44234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:34:32.228Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T06:34:32.228Z] . [Pipeline] withDockerContainer [2021-05-10T06:34:32.532Z] prd-ubuntu18.04-docker-arm64-4c-16g-4023 does not seem to be running inside a container [2021-05-10T06:34:32.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T06:34:34.234Z] $ docker top f5cd5d093cf38665739deb9c536a1d4d714c2d9845b9e042ed51e6a5d21bb29e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:34:35.286Z] + go mod tidy [Pipeline] sh [2021-05-10T06:34:36.579Z] + make test [2021-05-10T06:34:36.579Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T06:34:38.676Z] gofmt -l . [2021-05-10T06:34:38.676Z] [ "`gofmt -l .`" = "" ] [2021-05-10T06:34:38.676Z] ./bin/test-attribution-txt.sh [2021-05-10T06:34:38.676Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T06:34:38.712Z] $ docker stop --time=1 61129eda4bb2ad8ea0560c7602af4624d16a580d91fc3fa93b9e07261b1431e5 [2021-05-10T06:34:40.554Z] $ docker rm -f 61129eda4bb2ad8ea0560c7602af4624d16a580d91fc3fa93b9e07261b1431e5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T06:34:41.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T06:34:41.749Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-10T06:34:45.084Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T06:34:45.409Z] + ls -al . [2021-05-10T06:34:45.409Z] total 212 [2021-05-10T06:34:45.409Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 10 06:34 . [2021-05-10T06:34:45.409Z] drwxrwxr-x. 4 jenkins jenkins 28 May 10 06:32 .. [2021-05-10T06:34:45.409Z] drwxrwxr-x. 2 jenkins jenkins 64 May 10 06:32 bin [2021-05-10T06:34:45.409Z] -rw-r--r--. 1 jenkins jenkins 124140 May 10 06:34 coverage.out [2021-05-10T06:34:45.409Z] -rw-rw-r--. 1 jenkins jenkins 987 May 10 06:32 Dockerfile.build [2021-05-10T06:34:45.409Z] -rw-rw-r--. 1 jenkins jenkins 140 May 10 06:32 .dockerignore [2021-05-10T06:34:45.409Z] drwxrwxr-x. 5 jenkins jenkins 62 May 10 06:32 example [2021-05-10T06:34:45.409Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 06:32 .git [2021-05-10T06:34:45.409Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 06:32 .github [2021-05-10T06:34:45.409Z] -rw-rw-r--. 1 jenkins jenkins 138 May 10 06:32 .gitignore [2021-05-10T06:34:45.409Z] -rw-r--r--. 1 jenkins jenkins 575 May 10 06:34 go.mod [2021-05-10T06:34:45.409Z] -rw-r--r--. 1 jenkins jenkins 20637 May 10 06:33 go.sum [2021-05-10T06:34:45.409Z] drwxrwxr-x. 15 jenkins jenkins 222 May 10 06:32 internal [2021-05-10T06:34:45.409Z] -rw-rw-r--. 1 jenkins jenkins 901 May 10 06:32 Jenkinsfile [2021-05-10T06:34:45.409Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 10 06:32 LICENSE [2021-05-10T06:34:45.409Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 10 06:32 Makefile [2021-05-10T06:34:45.409Z] drwxrwxr-x. 4 jenkins jenkins 26 May 10 06:32 openapi [2021-05-10T06:34:45.409Z] drwxrwxr-x. 5 jenkins jenkins 50 May 10 06:32 pkg [2021-05-10T06:34:45.409Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 10 06:32 README.md [2021-05-10T06:34:45.409Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 10 06:32 RELEASE-NOTES.txt [2021-05-10T06:34:45.409Z] drwxrwxr-x. 4 jenkins jenkins 54 May 10 06:32 snap [2021-05-10T06:34:45.409Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 06:28 VERSION [2021-05-10T06:34:45.409Z] -rw-rw-r--. 1 jenkins jenkins 222 May 10 06:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:34:45.760Z] + 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=cb99f86c6c9de52924b12c20769e25d8d75925cc --label arch=amd64 --label version=0.0.0 . [2021-05-10T06:34:46.023Z] Sending build context to Docker daemon 2.678MB [2021-05-10T06:34:46.023Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T06:34:46.023Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-10T06:34:46.023Z] ---> 88c21c3b24f9 [2021-05-10T06:34:46.023Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-10T06:34:46.598Z] ---> Running in 38efb9d1bb66 [2021-05-10T06:34:46.861Z] Removing intermediate container 38efb9d1bb66 [2021-05-10T06:34:46.861Z] ---> 0934add3ca84 [2021-05-10T06:34:46.861Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T06:34:46.861Z] ---> Running in e173dc004aa1 [2021-05-10T06:34:47.130Z] Removing intermediate container e173dc004aa1 [2021-05-10T06:34:47.130Z] ---> adbd1026c40a [2021-05-10T06:34:47.130Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:34:47.130Z] ---> Running in 969f7b420b18 [2021-05-10T06:34:48.091Z] Removing intermediate container 969f7b420b18 [2021-05-10T06:34:48.091Z] ---> 27e33cc61636 [2021-05-10T06:34:48.091Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T06:34:48.091Z] ---> Running in e622b2f31c04 [2021-05-10T06:34:48.684Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:34:51.254Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:34:52.202Z] OK: 150 MiB in 46 packages [2021-05-10T06:34:52.777Z] Removing intermediate container e622b2f31c04 [2021-05-10T06:34:52.777Z] ---> 2f2226d65534 [2021-05-10T06:34:52.777Z] Step 7/23 : COPY . . [2021-05-10T06:34:54.167Z] ---> 5b40b11b6f29 [2021-05-10T06:34:54.167Z] Step 8/23 : RUN go mod download [2021-05-10T06:34:54.168Z] ---> Running in 19ea1a3a44f8 [2021-05-10T06:34:55.564Z] Removing intermediate container 19ea1a3a44f8 [2021-05-10T06:34:55.564Z] ---> e70f4e786103 [2021-05-10T06:34:55.564Z] Step 9/23 : RUN make build [2021-05-10T06:34:55.564Z] ---> Running in ac8867b85e6a [2021-05-10T06:34:55.831Z] 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-10T06:35:03.413Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-10T06:35:08.238Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-10T06:35:09.640Z] Removing intermediate container ac8867b85e6a [2021-05-10T06:35:09.640Z] ---> 39a4b1d30833 [2021-05-10T06:35:09.640Z] Step 10/23 : FROM alpine:3.12 [2021-05-10T06:35:09.902Z] 3.12: Pulling from library/alpine [2021-05-10T06:35:09.902Z] 339de151aab4: Pulling fs layer [2021-05-10T06:35:10.169Z] 339de151aab4: Verifying Checksum [2021-05-10T06:35:10.169Z] 339de151aab4: Download complete [2021-05-10T06:35:10.431Z] 339de151aab4: Pull complete [2021-05-10T06:35:10.431Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T06:35:10.431Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T06:35:10.431Z] ---> 13621d1b12d4 [2021-05-10T06:35:10.431Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T06:35:10.694Z] ---> Running in 3d17c9e59412 [2021-05-10T06:35:10.963Z] Removing intermediate container 3d17c9e59412 [2021-05-10T06:35:10.963Z] ---> 09442b50e488 [2021-05-10T06:35:10.963Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:35:10.963Z] ---> Running in 37c7f9fec7c1 [2021-05-10T06:35:11.933Z] Removing intermediate container 37c7f9fec7c1 [2021-05-10T06:35:11.933Z] ---> 1b7ce0d18e03 [2021-05-10T06:35:11.933Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-10T06:35:12.196Z] ---> Running in 8cb8f4b1e64b [2021-05-10T06:35:12.774Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:35:14.172Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:35:14.435Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-10T06:35:14.698Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-10T06:35:14.966Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-10T06:35:16.364Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-10T06:35:16.628Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-10T06:35:16.628Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T06:35:16.628Z] OK: 8 MiB in 19 packages [2021-05-10T06:35:17.581Z] Removing intermediate container 8cb8f4b1e64b [2021-05-10T06:35:17.581Z] ---> 23642398b565 [2021-05-10T06:35:17.581Z] Step 14/23 : WORKDIR / [2021-05-10T06:35:17.581Z] ---> Running in a26db36223e3 [2021-05-10T06:35:17.846Z] Removing intermediate container a26db36223e3 [2021-05-10T06:35:17.846Z] ---> 50e9b9d9a2fc [2021-05-10T06:35:17.846Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-10T06:35:18.109Z] ---> a93e24dbdd55 [2021-05-10T06:35:18.109Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-10T06:35:19.059Z] ---> fe59b0cb6cef [2021-05-10T06:35:19.059Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-10T06:35:19.323Z] ---> 7767382fff36 [2021-05-10T06:35:19.323Z] Step 18/23 : EXPOSE 49990 [2021-05-10T06:35:19.323Z] ---> Running in 13f3a23d610a [2021-05-10T06:35:19.587Z] Removing intermediate container 13f3a23d610a [2021-05-10T06:35:19.587Z] ---> df5875cad517 [2021-05-10T06:35:19.587Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-10T06:35:19.850Z] ---> Running in b2d3dbd20394 [2021-05-10T06:35:20.112Z] Removing intermediate container b2d3dbd20394 [2021-05-10T06:35:20.112Z] ---> d46a2711a24b [2021-05-10T06:35:20.112Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T06:35:20.112Z] ---> Running in 23231ac23c00 [2021-05-10T06:35:20.374Z] Removing intermediate container 23231ac23c00 [2021-05-10T06:35:20.374Z] ---> 4d70f8446640 [2021-05-10T06:35:20.374Z] Step 21/23 : LABEL arch=amd64 [2021-05-10T06:35:20.637Z] ---> Running in 2ce76cc36723 [2021-05-10T06:35:20.637Z] Removing intermediate container 2ce76cc36723 [2021-05-10T06:35:20.637Z] ---> 45e288e875db [2021-05-10T06:35:20.637Z] Step 22/23 : LABEL git_sha=cb99f86c6c9de52924b12c20769e25d8d75925cc [2021-05-10T06:35:20.900Z] ---> Running in 66356bc7f4a5 [2021-05-10T06:35:21.163Z] Removing intermediate container 66356bc7f4a5 [2021-05-10T06:35:21.163Z] ---> 42657267abd3 [2021-05-10T06:35:21.163Z] Step 23/23 : LABEL version=0.0.0 [2021-05-10T06:35:21.163Z] ---> Running in 8b7ee5c4e89e [2021-05-10T06:35:21.430Z] Removing intermediate container 8b7ee5c4e89e [2021-05-10T06:35:21.430Z] ---> e736217afb22 [2021-05-10T06:35:21.430Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-10T06:35:21.431Z] Successfully built e736217afb22 [2021-05-10T06:35:21.693Z] 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-10T06:35:22.609Z] ---> job-cost.sh [2021-05-10T06:35:22.609Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aaXy [2021-05-10T06:35:37.548Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T06:36:04.190Z] lf-activate-venv(): INFO: Adding /tmp/venv-aaXy/bin to PATH [2021-05-10T06:36:04.190Z] INFO: No Stack... [2021-05-10T06:36:06.116Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T06:36:06.693Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T06:36:07.035Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-10T06:36:07.035Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T06:36:07.163Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] [2021-05-10T06:36:07.169Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] did not exist. Created. [2021-05-10T06:36:07.169Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T06:36:07.603Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T06:36:07.746Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:36:07.766Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T06:36:11.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-10T06:36:11.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-10T06:36:11.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-10T06:36:14.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.227s coverage: 25.4% of statements [2021-05-10T06:36:14.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-10T06:36:14.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.149s coverage: 28.1% of statements [2021-05-10T06:36:14.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.271s coverage: 78.9% of statements [2021-05-10T06:36:14.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.144s coverage: 10.7% of statements [2021-05-10T06:36:14.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-10T06:36:14.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-10T06:36:14.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-10T06:36:17.613Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.253s coverage: 30.2% of statements [2021-05-10T06:36:17.613Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-10T06:36:17.613Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-10T06:36:17.613Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-10T06:36:17.613Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-10T06:36:18.227Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.371s coverage: 58.4% of statements [2021-05-10T06:36:20.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.218s coverage: 89.2% of statements [2021-05-10T06:36:20.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-10T06:36:20.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.0% of statements [2021-05-10T06:36:20.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-10T06:36:20.836Z] GO111MODULE=on go vet ./... [2021-05-10T06:37:17.490Z] gofmt -l . [2021-05-10T06:37:17.490Z] [ "`gofmt -l .`" = "" ] [2021-05-10T06:37:17.490Z] ./bin/test-attribution-txt.sh [2021-05-10T06:37:18.478Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T06:37:18.802Z] $ docker stop --time=1 f5cd5d093cf38665739deb9c536a1d4d714c2d9845b9e042ed51e6a5d21bb29e [2021-05-10T06:37:21.154Z] $ docker rm -f f5cd5d093cf38665739deb9c536a1d4d714c2d9845b9e042ed51e6a5d21bb29e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T06:37:22.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T06:37:22.418Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T06:37:23.448Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:37:24.091Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T06:37:24.461Z] + ls -al . [2021-05-10T06:37:24.461Z] total 248 [2021-05-10T06:37:24.461Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:37 . [2021-05-10T06:37:24.461Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:33 .. [2021-05-10T06:37:24.461Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:33 .dockerignore [2021-05-10T06:37:24.461Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:33 .git [2021-05-10T06:37:24.461Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:33 .github [2021-05-10T06:37:24.461Z] -rw-rw-r-- 1 jenkins jenkins 138 May 10 06:33 .gitignore [2021-05-10T06:37:24.461Z] -rw-rw-r-- 1 jenkins jenkins 987 May 10 06:33 Dockerfile.build [2021-05-10T06:37:24.461Z] -rw-rw-r-- 1 jenkins jenkins 901 May 10 06:33 Jenkinsfile [2021-05-10T06:37:24.461Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 06:33 LICENSE [2021-05-10T06:37:24.461Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 10 06:33 Makefile [2021-05-10T06:37:24.461Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 10 06:33 README.md [2021-05-10T06:37:24.461Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 10 06:33 RELEASE-NOTES.txt [2021-05-10T06:37:24.461Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:28 VERSION [2021-05-10T06:37:24.461Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:33 bin [2021-05-10T06:37:24.461Z] -rw-r--r-- 1 jenkins jenkins 124140 May 10 06:36 coverage.out [2021-05-10T06:37:24.461Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:33 example [2021-05-10T06:37:24.461Z] -rw-r--r-- 1 jenkins jenkins 575 May 10 06:37 go.mod [2021-05-10T06:37:24.461Z] -rw-r--r-- 1 jenkins jenkins 20637 May 10 06:34 go.sum [2021-05-10T06:37:24.461Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:33 internal [2021-05-10T06:37:24.461Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:33 openapi [2021-05-10T06:37:24.461Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:33 pkg [2021-05-10T06:37:24.461Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:33 snap [2021-05-10T06:37:24.461Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 06:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:37:24.928Z] + 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=cb99f86c6c9de52924b12c20769e25d8d75925cc --label arch=arm64 --label version=0.0.0 . [2021-05-10T06:37:25.227Z] Sending build context to Docker daemon 2.682MB [2021-05-10T06:37:25.522Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T06:37:25.522Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-10T06:37:25.522Z] ---> b23477dc87a7 [2021-05-10T06:37:25.522Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-10T06:37:25.806Z] ---> Running in 16d33c9e14a9 [2021-05-10T06:37:26.408Z] Removing intermediate container 16d33c9e14a9 [2021-05-10T06:37:26.408Z] ---> a86fe515bcdf [2021-05-10T06:37:26.408Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T06:37:26.408Z] ---> Running in 2a257dd7b236 [2021-05-10T06:37:27.019Z] Removing intermediate container 2a257dd7b236 [2021-05-10T06:37:27.019Z] ---> ac4b6ce045c1 [2021-05-10T06:37:27.019Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:37:27.019Z] ---> Running in 2830f7824de9 [2021-05-10T06:37:29.639Z] Removing intermediate container 2830f7824de9 [2021-05-10T06:37:29.639Z] ---> 2fa09eaa2622 [2021-05-10T06:37:29.639Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T06:37:29.639Z] ---> Running in 5e48fce5e879 [2021-05-10T06:37:30.618Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:37:32.588Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:37:33.195Z] OK: 139 MiB in 46 packages [2021-05-10T06:37:34.627Z] Removing intermediate container 5e48fce5e879 [2021-05-10T06:37:34.627Z] ---> d6bebebf0ef4 [2021-05-10T06:37:34.627Z] Step 7/23 : COPY . . [2021-05-10T06:37:36.058Z] ---> bfaca47f0618 [2021-05-10T06:37:36.058Z] Step 8/23 : RUN go mod download [2021-05-10T06:37:36.058Z] ---> Running in c1fade3a6d0f [2021-05-10T06:37:38.678Z] Removing intermediate container c1fade3a6d0f [2021-05-10T06:37:38.678Z] ---> a0dd88ed1113 [2021-05-10T06:37:38.678Z] Step 9/23 : RUN make build [2021-05-10T06:37:38.678Z] ---> Running in e49000ae547a [2021-05-10T06:37:39.659Z] 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-10T06:38:12.038Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-10T06:38:15.434Z] Removing intermediate container e49000ae547a [2021-05-10T06:38:15.434Z] ---> 40d396c448b0 [2021-05-10T06:38:15.434Z] Step 10/23 : FROM alpine:3.12 [2021-05-10T06:38:15.434Z] 3.12: Pulling from library/alpine [2021-05-10T06:38:15.434Z] d2f70382dc9a: Pulling fs layer [2021-05-10T06:38:15.711Z] d2f70382dc9a: Verifying Checksum [2021-05-10T06:38:15.711Z] d2f70382dc9a: Download complete [2021-05-10T06:38:16.318Z] d2f70382dc9a: Pull complete [2021-05-10T06:38:16.318Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T06:38:16.318Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T06:38:16.318Z] ---> 9852663dfa18 [2021-05-10T06:38:16.318Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T06:38:16.597Z] ---> Running in d677a7b73613 [2021-05-10T06:38:16.870Z] Removing intermediate container d677a7b73613 [2021-05-10T06:38:16.870Z] ---> 7cfbef80b717 [2021-05-10T06:38:16.870Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:38:17.144Z] ---> Running in eb4fc1351380 [2021-05-10T06:38:19.121Z] Removing intermediate container eb4fc1351380 [2021-05-10T06:38:19.121Z] ---> 3a373000ec38 [2021-05-10T06:38:19.121Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-10T06:38:19.409Z] ---> Running in 13d2341447c1 [2021-05-10T06:38:20.387Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:38:23.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:38:25.621Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-10T06:38:25.621Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-10T06:38:25.621Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-10T06:38:26.609Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-10T06:38:26.883Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-10T06:38:26.883Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T06:38:26.883Z] OK: 8 MiB in 19 packages [2021-05-10T06:38:28.322Z] Removing intermediate container 13d2341447c1 [2021-05-10T06:38:28.322Z] ---> d85208b1c282 [2021-05-10T06:38:28.322Z] Step 14/23 : WORKDIR / [2021-05-10T06:38:28.322Z] ---> Running in 3838f07f4c73 [2021-05-10T06:38:28.921Z] Removing intermediate container 3838f07f4c73 [2021-05-10T06:38:28.921Z] ---> 306bd65f9e97 [2021-05-10T06:38:28.921Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-10T06:38:29.513Z] ---> 73b957d9b28e [2021-05-10T06:38:29.514Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-10T06:38:30.942Z] ---> 8c08e0083bd5 [2021-05-10T06:38:30.942Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-10T06:38:31.539Z] ---> 09c45aa70781 [2021-05-10T06:38:31.539Z] Step 18/23 : EXPOSE 49990 [2021-05-10T06:38:31.539Z] ---> Running in 2c97a89e67b3 [2021-05-10T06:38:32.132Z] Removing intermediate container 2c97a89e67b3 [2021-05-10T06:38:32.132Z] ---> 2c9cb315cd92 [2021-05-10T06:38:32.132Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-10T06:38:32.132Z] ---> Running in 0dfcab27c4ae [2021-05-10T06:38:32.729Z] Removing intermediate container 0dfcab27c4ae [2021-05-10T06:38:32.729Z] ---> 39793779bed5 [2021-05-10T06:38:32.729Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T06:38:32.729Z] ---> Running in bba7a9f115d1 [2021-05-10T06:38:33.330Z] Removing intermediate container bba7a9f115d1 [2021-05-10T06:38:33.330Z] ---> 9cec9734fae7 [2021-05-10T06:38:33.330Z] Step 21/23 : LABEL arch=arm64 [2021-05-10T06:38:33.330Z] ---> Running in 7b7676d4fbb3 [2021-05-10T06:38:33.926Z] Removing intermediate container 7b7676d4fbb3 [2021-05-10T06:38:33.926Z] ---> e5964a90de34 [2021-05-10T06:38:33.926Z] Step 22/23 : LABEL git_sha=cb99f86c6c9de52924b12c20769e25d8d75925cc [2021-05-10T06:38:33.926Z] ---> Running in 7cc7a4fc2d02 [2021-05-10T06:38:34.516Z] Removing intermediate container 7cc7a4fc2d02 [2021-05-10T06:38:34.516Z] ---> aa6c84d13901 [2021-05-10T06:38:34.516Z] Step 23/23 : LABEL version=0.0.0 [2021-05-10T06:38:34.516Z] ---> Running in 741e3aba905c [2021-05-10T06:38:35.115Z] Removing intermediate container 741e3aba905c [2021-05-10T06:38:35.115Z] ---> c2eedeba8cf3 [2021-05-10T06:38:35.115Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-10T06:38:35.115Z] Successfully built c2eedeba8cf3 [2021-05-10T06:38:35.115Z] 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-10T06:38:35.781Z] ---> job-cost.sh [2021-05-10T06:38:35.781Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pfw1 [2021-05-10T06:39:14.759Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T06:40:51.521Z] lf-activate-venv(): INFO: Adding /tmp/venv-pfw1/bin to PATH [2021-05-10T06:40:51.521Z] INFO: No Stack... [2021-05-10T06:40:51.521Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T06:40:51.521Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T06:40:51.883Z] + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, [2021-05-10T06:40:51.883Z] -f6 [Pipeline] lock [2021-05-10T06:40:52.027Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] [2021-05-10T06:40:52.032Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] did not exist. Created. [2021-05-10T06:40:52.032Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T06:40:52.492Z] /w/workspace/device-sdk-go/1@tmp/durable-88d1b783/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-88d1b783/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T06:40:52.881Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T06:40:52.934Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T06:40:53.090Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:40:53.111Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-914-1-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-10T06:40:54.208Z] provisioning config files... [2021-05-10T06:40:54.224Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/config1104307936957511148tmp [Pipeline] { [Pipeline] sh [2021-05-10T06:40:54.591Z] + set +x [2021-05-10T06:40:54.591Z] + curl -s https://codecov.io/bash [2021-05-10T06:40:54.591Z] + bash -s -- [2021-05-10T06:40:54.858Z] [2021-05-10T06:40:54.858Z] _____ _ [2021-05-10T06:40:54.858Z] / ____| | | [2021-05-10T06:40:54.858Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T06:40:54.858Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T06:40:54.858Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T06:40:54.858Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T06:40:54.858Z] Bash-1.0.2 [2021-05-10T06:40:54.858Z] [2021-05-10T06:40:54.858Z] [2021-05-10T06:40:54.858Z] ==> git version 2.24.3 found [2021-05-10T06:40:54.858Z] ==> 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-10T06:40:54.858Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T06:40:54.858Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T06:40:54.858Z] ==> Jenkins CI detected. [2021-05-10T06:40:54.858Z] project root: . [2021-05-10T06:40:54.858Z] --> token set from env [2021-05-10T06:40:54.858Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T06:40:54.858Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T06:40:54.858Z] ==> Python coveragepy not found [2021-05-10T06:40:54.858Z] ==> Searching for coverage reports in: [2021-05-10T06:40:54.858Z] + . [2021-05-10T06:40:54.858Z] -> Found 1 reports [2021-05-10T06:40:54.858Z] ==> Detecting git/mercurial file structure [2021-05-10T06:40:54.858Z] ==> Reading reports [2021-05-10T06:40:54.858Z] + ./coverage.out bytes=124140 [2021-05-10T06:40:54.858Z] ==> Appending adjustments [2021-05-10T06:40:54.858Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T06:40:55.438Z] + Found adjustments [2021-05-10T06:40:55.438Z] ==> Gzipping contents [2021-05-10T06:40:55.438Z] 16K /tmp/codecov.yOEYb8.gz [2021-05-10T06:40:55.438Z] ==> Uploading reports [2021-05-10T06:40:55.438Z] url: https://codecov.io [2021-05-10T06:40:55.438Z] query: branch=PR-914&commit=cb99f86c6c9de52924b12c20769e25d8d75925cc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-914%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=914&job=&cmd_args= [2021-05-10T06:40:55.438Z] -> Pinging Codecov [2021-05-10T06:40:55.438Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-914&commit=cb99f86c6c9de52924b12c20769e25d8d75925cc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-914%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=914&job=&cmd_args= [2021-05-10T06:40:56.019Z] -> Uploading to [2021-05-10T06:40:56.019Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/7E55EF52A471D76F132DFD9A03CDDE97/cb99f86c6c9de52924b12c20769e25d8d75925cc/cf387b93-b612-4560-a667-fe308a9b184c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T064055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42c291a10594465b8a3f75fe96a856ee39c6a837ad98b1a7718feae660eb3f4d [2021-05-10T06:40:56.019Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T06:40:56.019Z] Dload Upload Total Spent Left Speed [2021-05-10T06:40:56.285Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16209 0 0 100 16209 0 32196 --:--:-- --:--:-- --:--:-- 32224 [2021-05-10T06:40:56.285Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cb99f86c6c9de52924b12c20769e25d8d75925cc [Pipeline] } [2021-05-10T06:40:56.319Z] 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-10T06:40:58.354Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:40:58.975Z] ---> package-listing.sh [2021-05-10T06:40:58.975Z] ++ facter osfamily [2021-05-10T06:40:58.975Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T06:40:58.975Z] + OS_FAMILY=redhat [2021-05-10T06:40:58.975Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-914 [2021-05-10T06:40:58.975Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T06:40:58.975Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T06:40:58.975Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T06:40:58.975Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T06:40:58.975Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-914 ']' [2021-05-10T06:40:58.975Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T06:40:58.975Z] + case "${OS_FAMILY}" in [2021-05-10T06:40:58.975Z] + rpm -qa [2021-05-10T06:40:58.975Z] + sort [2021-05-10T06:41:04.441Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T06:41:04.441Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T06:41:04.441Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T06:41:04.441Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-914 ']' [2021-05-10T06:41:04.441Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-914/archives/ [2021-05-10T06:41:04.441Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-914/archives/ [Pipeline] echo [2021-05-10T06:41:04.477Z] 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-914/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T06:41:04.808Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:41:05.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:41:05.730Z] [2021-05-10T06:41:05.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:41:06.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:41:06.106Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T06:41:06.106Z] df20fa9351a1: Pulling fs layer [2021-05-10T06:41:06.106Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T06:41:06.106Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T06:41:06.106Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T06:41:06.106Z] 93b61091891f: Pulling fs layer [2021-05-10T06:41:06.106Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T06:41:06.106Z] 5e14af77c1be: Pulling fs layer [2021-05-10T06:41:06.106Z] 01666e4c0597: Pulling fs layer [2021-05-10T06:41:06.106Z] aa168da1d23b: Pulling fs layer [2021-05-10T06:41:06.106Z] 93b9cdb0e59b: Waiting [2021-05-10T06:41:06.106Z] 01666e4c0597: Waiting [2021-05-10T06:41:06.106Z] 5e14af77c1be: Waiting [2021-05-10T06:41:06.106Z] 46f8f816bc3b: Waiting [2021-05-10T06:41:06.106Z] 93b61091891f: Waiting [2021-05-10T06:41:06.106Z] aa168da1d23b: Waiting [2021-05-10T06:41:06.106Z] 36b3adc4ff6f: Download complete [2021-05-10T06:41:06.106Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T06:41:06.106Z] 46f8f816bc3b: Download complete [2021-05-10T06:41:06.381Z] df20fa9351a1: Verifying Checksum [2021-05-10T06:41:06.381Z] df20fa9351a1: Download complete [2021-05-10T06:41:06.381Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T06:41:06.381Z] 93b9cdb0e59b: Download complete [2021-05-10T06:41:06.381Z] 5e14af77c1be: Verifying Checksum [2021-05-10T06:41:06.381Z] 5e14af77c1be: Download complete [2021-05-10T06:41:06.381Z] 93b61091891f: Download complete [2021-05-10T06:41:06.381Z] 01666e4c0597: Verifying Checksum [2021-05-10T06:41:06.381Z] 01666e4c0597: Download complete [2021-05-10T06:41:06.969Z] df20fa9351a1: Pull complete [2021-05-10T06:41:06.969Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T06:41:06.969Z] 8ad3a11d3b57: Download complete [2021-05-10T06:41:06.969Z] 36b3adc4ff6f: Pull complete [2021-05-10T06:41:08.389Z] 8ad3a11d3b57: Pull complete [2021-05-10T06:41:08.389Z] 46f8f816bc3b: Pull complete [2021-05-10T06:41:09.817Z] 93b61091891f: Pull complete [2021-05-10T06:41:09.817Z] 93b9cdb0e59b: Pull complete [2021-05-10T06:41:09.817Z] aa168da1d23b: Verifying Checksum [2021-05-10T06:41:09.817Z] aa168da1d23b: Download complete [2021-05-10T06:41:10.081Z] 5e14af77c1be: Pull complete [2021-05-10T06:41:10.345Z] 01666e4c0597: Pull complete [2021-05-10T06:41:22.751Z] aa168da1d23b: Pull complete [2021-05-10T06:41:22.751Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T06:41:22.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:41:22.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T06:41:23.233Z] prd-centos7-docker-4c-2g-4022 does not seem to be running inside a container [2021-05-10T06:41:23.382Z] $ 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-914/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-914 -v /w/workspace/dgexfoundry_device-sdk-go_PR-914:/w/workspace/dgexfoundry_device-sdk-go_PR-914:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T06:41:29.918Z] $ docker top 37a1ad8e2ff6451ffc3af39696d8308db6a23c0bc12bdcb1874c23f4dbebf804 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:41:30.480Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T06:41:31.288Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T06:41:31.972Z] + ls /var/log/sa-host [2021-05-10T06:41:31.972Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T06:41:31.972Z] file_magic: OK [2021-05-10T06:41:31.972Z] HZ: Using current value: 100 [2021-05-10T06:41:31.972Z] file_header: OK [2021-05-10T06:41:31.972Z] 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-10T06:41:31.972Z] Statistics: [2021-05-10T06:41:31.972Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T06:41:31.972Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T06:41:31.972Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T06:41:31.972Z] file_magic: OK [2021-05-10T06:41:31.972Z] HZ: Using current value: 100 [2021-05-10T06:41:31.972Z] file_header: OK [2021-05-10T06:41:31.972Z] 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-10T06:41:31.972Z] Statistics: [2021-05-10T06:41:31.972Z] Hnuu...uuuununununu... [2021-05-10T06:41:31.972Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T06:41:32.215Z] provisioning config files... [2021-05-10T06:41:32.237Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/config3321802040527774791tmp [Pipeline] { [Pipeline] echo [2021-05-10T06:41:32.299Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:41:32.690Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T06:41:32.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T06:41:32.813Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:41:33.185Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T06:41:33.235Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:41:33.611Z] ---> sudo-logs.sh [2021-05-10T06:41:33.611Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T06:41:33.705Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:41:34.209Z] ---> job-cost.sh [2021-05-10T06:41:34.489Z] lf-activate-venv: SKIPPING [2021-05-10T06:41:34.489Z] DEBUG: total: 0.20999999344348907 [2021-05-10T06:41:34.489Z] INFO: Retrieving Stack Cost... [2021-05-10T06:41:36.472Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T06:41:36.778Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T06:41:36.823Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:41:37.517Z] ---> logs-deploy.sh [2021-05-10T06:41:37.517Z] lf-activate-venv: SKIPPING [2021-05-10T06:41:37.517Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-914/1 [2021-05-10T06:41:37.517Z] INFO: archiving workspace using pattern(s): [2021-05-10T06:41:40.123Z] Archives upload complete. [2021-05-10T06:41:40.123Z] INFO: archiving logs to Nexus