Pull request #997 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 76abb45c82471c7e42c229493c4518ba910c12b3+47e6572bf3f6e85c5b9bc91201383ea800e067cb (19c73bf0a4bf4f4c833d0d16e85877b490326248) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1150423715854605169.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh64209385981985443.key > 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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-997/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-997/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5401966306977352863.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5691539749419441119.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-997/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-997/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9137357950654054411.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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: 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/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-1165 in /w/workspace/dgexfoundry_device-sdk-go_PR-997 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-997 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp/jenkins-gitclient-ssh905917641894727325.key > 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 47e6572bf3f6e85c5b9bc91201383ea800e067cb into PR head commit 76abb45c82471c7e42c229493c4518ba910c12b3 Merge succeeded, producing 76abb45c82471c7e42c229493c4518ba910c12b3 Checking out Revision 76abb45c82471c7e42c229493c4518ba910c12b3 (PR-997) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp/jenkins-gitclient-ssh6344777497355758870.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/997/head:refs/remotes/origin/PR-997 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76abb45c82471c7e42c229493c4518ba910c12b3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp/jenkins-gitclient-ssh5756701071267309589.key > git merge 47e6572bf3f6e85c5b9bc91201383ea800e067cb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76abb45c82471c7e42c229493c4518ba910c12b3 # timeout=10 Commit message: "docs: update device-simple README and provisionwatcher example" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-01T07:50:15.414Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-01T07:50:15.532Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-01T07:50:15.576Z] ========================================================= [2021-07-01T07:50:15.576Z] EdgeX Global Pipelines Version Info [2021-07-01T07:50:15.576Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ae7fbf7e0ef8ddec8b198f06f5a0bfbd21493a74 # timeout=10 [2021-07-01T07:50:17.071Z] ------------------- [2021-07-01T07:50:17.071Z] stable info: [2021-07-01T07:50:17.071Z] ------------------- [2021-07-01T07:50:17.071Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-01T07:50:17.071Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-07-01T07:50:17.071Z] Message: update stable to v1.0.195 [2021-07-01T07:50:17.655Z] ------------------- [2021-07-01T07:50:17.655Z] experimental info: [2021-07-01T07:50:17.655Z] ------------------- [2021-07-01T07:50:17.655Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-01T07:50:17.655Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-07-01T07:50:17.655Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-01T07:50:17.792Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-07-01T07:50:17.818Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-07-01T07:50:17.842Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-01T07:50:17.867Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-01T07:50:17.891Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-01T07:50:17.915Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-01T07:50:17.939Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-01T07:50:17.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-01T07:50:17.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-07-01T07:50:18.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-01T07:50:18.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-01T07:50:18.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-07-01T07:50:18.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-01T07:50:18.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-01T07:50:18.119Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-01T07:50:18.183Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-01T07:50:18.208Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-01T07:50:18.231Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-01T07:50:18.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-01T07:50:18.279Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-01T07:50:18.302Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-01T07:50:18.326Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-01T07:50:18.351Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-01T07:50:18.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-01T07:50:18.401Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-01T07:50:18.427Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-01T07:50:18.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-997 [Pipeline] echo [2021-07-01T07:50:18.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-997 [Pipeline] echo [2021-07-01T07:50:18.505Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-997 [Pipeline] echo [2021-07-01T07:50:18.530Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76abb45c82471c7e42c229493c4518ba910c12b3 [Pipeline] echo [2021-07-01T07:50:18.555Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76abb45 [Pipeline] echo [2021-07-01T07:50:18.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T07:50:18.695Z] provisioning config files... [2021-07-01T07:50:18.718Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp/config4456972268153615088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-01T07:50:19.047Z] ---> docker-login.sh [2021-07-01T07:50:19.047Z] nexus3.edgexfoundry.org:10001 [2021-07-01T07:50:19.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:50:19.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:50:19.639Z] Configure a credential helper to remove this warning. See [2021-07-01T07:50:19.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:50:19.639Z] [2021-07-01T07:50:19.639Z] Login Succeeded [2021-07-01T07:50:19.639Z] nexus3.edgexfoundry.org:10002 [2021-07-01T07:50:19.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:50:19.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:50:19.906Z] Configure a credential helper to remove this warning. See [2021-07-01T07:50:19.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:50:19.906Z] [2021-07-01T07:50:19.906Z] Login Succeeded [2021-07-01T07:50:19.906Z] nexus3.edgexfoundry.org:10003 [2021-07-01T07:50:19.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:50:19.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:50:19.906Z] Configure a credential helper to remove this warning. See [2021-07-01T07:50:19.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:50:19.906Z] [2021-07-01T07:50:19.906Z] Login Succeeded [2021-07-01T07:50:19.906Z] nexus3.edgexfoundry.org:10004 [2021-07-01T07:50:20.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:50:20.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:50:20.169Z] Configure a credential helper to remove this warning. See [2021-07-01T07:50:20.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:50:20.169Z] [2021-07-01T07:50:20.169Z] Login Succeeded [2021-07-01T07:50:20.169Z] docker.io [2021-07-01T07:50:20.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:50:20.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:50:20.433Z] Configure a credential helper to remove this warning. See [2021-07-01T07:50:20.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:50:20.433Z] [2021-07-01T07:50:20.433Z] Login Succeeded [2021-07-01T07:50:20.433Z] ---> docker-login.sh ends [Pipeline] } [2021-07-01T07:50:20.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-01T07:50:21.076Z] + git log --format=format:%s -1 76abb45c82471c7e42c229493c4518ba910c12b3 [Pipeline] echo [2021-07-01T07:50:21.123Z] GIT_COMMIT: 76abb45c82471c7e42c229493c4518ba910c12b3, Commit Message: docs: update device-simple README and provisionwatcher example [Pipeline] echo [2021-07-01T07:50:21.139Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-01T07:50:24.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T07:50:24.524Z] [2021-07-01T07:50:24.524Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-01T07:50:24.852Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T07:50:24.852Z] latest: Pulling from edgex-devops/git-semver [2021-07-01T07:50:24.852Z] 31603596830f: Pulling fs layer [2021-07-01T07:50:24.852Z] 54011a49482f: Pulling fs layer [2021-07-01T07:50:24.852Z] a6820b24f6d8: Pulling fs layer [2021-07-01T07:50:24.852Z] f581987b2513: Pulling fs layer [2021-07-01T07:50:24.852Z] f581987b2513: Waiting [2021-07-01T07:50:25.124Z] 31603596830f: Verifying Checksum [2021-07-01T07:50:25.124Z] 31603596830f: Download complete [2021-07-01T07:50:25.124Z] f581987b2513: Verifying Checksum [2021-07-01T07:50:25.124Z] f581987b2513: Download complete [2021-07-01T07:50:25.124Z] a6820b24f6d8: Verifying Checksum [2021-07-01T07:50:25.124Z] a6820b24f6d8: Download complete [2021-07-01T07:50:25.124Z] 31603596830f: Pull complete [2021-07-01T07:50:25.391Z] 54011a49482f: Pull complete [2021-07-01T07:50:26.356Z] a6820b24f6d8: Pull complete [2021-07-01T07:50:26.618Z] f581987b2513: Pull complete [2021-07-01T07:50:26.618Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-07-01T07:50:26.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T07:50:26.618Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-01T07:50:26.706Z] prd-centos7-docker-4c-2g-1165 does not seem to be running inside a container [2021-07-01T07:50:26.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-997 -v /w/workspace/dgexfoundry_device-sdk-go_PR-997:/w/workspace/dgexfoundry_device-sdk-go_PR-997:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-01T07:50:29.812Z] $ docker top 0f9bf3ce062559ee8b85c869a4bab58f5922980d1aefe5b424dd3f56e329a5e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-01T07:50:29.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-01T07:50:29.979Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-01T07:50:30.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-01T07:50:30.088Z] $ docker exec 0f9bf3ce062559ee8b85c869a4bab58f5922980d1aefe5b424dd3f56e329a5e2 ssh-agent [2021-07-01T07:50:30.202Z] SSH_AUTH_SOCK=/tmp/ssh-svajycLHNzwU/agent.14 [2021-07-01T07:50:30.202Z] SSH_AGENT_PID=20 [2021-07-01T07:50:30.212Z] Running ssh-add (command line suppressed) [2021-07-01T07:50:30.314Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp/private_key_7327292752355190773.key (/w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp/private_key_7327292752355190773.key) [2021-07-01T07:50:30.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-01T07:50:30.639Z] + git tag --points-at HEAD [Pipeline] } [2021-07-01T07:50:30.651Z] $ docker exec --env ******** --env ******** 0f9bf3ce062559ee8b85c869a4bab58f5922980d1aefe5b424dd3f56e329a5e2 ssh-agent -k [2021-07-01T07:50:30.755Z] unset SSH_AUTH_SOCK; [2021-07-01T07:50:30.756Z] unset SSH_AGENT_PID; [2021-07-01T07:50:30.756Z] echo Agent pid 20 killed; [2021-07-01T07:50:30.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-01T07:50:30.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-01T07:50:30.815Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-01T07:50:30.926Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-01T07:50:30.926Z] $ docker exec 0f9bf3ce062559ee8b85c869a4bab58f5922980d1aefe5b424dd3f56e329a5e2 ssh-agent [2021-07-01T07:50:31.045Z] SSH_AUTH_SOCK=/tmp/ssh-oefG99UtXeIT/agent.54 [2021-07-01T07:50:31.045Z] SSH_AGENT_PID=61 [2021-07-01T07:50:31.051Z] Running ssh-add (command line suppressed) [2021-07-01T07:50:31.144Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp/private_key_3882113916780263135.key (/w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp/private_key_3882113916780263135.key) [2021-07-01T07:50:31.166Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-01T07:50:31.483Z] + git semver init [2021-07-01T07:50:31.484Z] # -> Open(): unable to determine branch for HEAD [2021-07-01T07:50:31.484Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-997/.git [2021-07-01T07:50:31.484Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-997 [2021-07-01T07:50:31.484Z] # $SEMVER_REMOTE_NAME = origin [2021-07-01T07:50:31.484Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-01T07:50:31.484Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-01T07:50:31.484Z] # $SEMVER_BRANCH = PR-997 [2021-07-01T07:50:31.484Z] # $SEMVER_TEMP = /tmp/semver-942516088 [2021-07-01T07:50:31.484Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-07-01T07:50:32.062Z] # '/tmp/semver-942516088' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-997/.semver' [2021-07-01T07:50:32.062Z] # -> Force: false [2021-07-01T07:50:32.062Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-997/.semver [Pipeline] } [2021-07-01T07:50:32.070Z] $ docker exec --env ******** --env ******** 0f9bf3ce062559ee8b85c869a4bab58f5922980d1aefe5b424dd3f56e329a5e2 ssh-agent -k [2021-07-01T07:50:32.174Z] unset SSH_AUTH_SOCK; [2021-07-01T07:50:32.174Z] unset SSH_AGENT_PID; [2021-07-01T07:50:32.175Z] echo Agent pid 61 killed; [2021-07-01T07:50:32.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-01T07:50:32.537Z] + git semver [Pipeline] } [2021-07-01T07:50:32.548Z] $ docker stop --time=1 0f9bf3ce062559ee8b85c869a4bab58f5922980d1aefe5b424dd3f56e329a5e2 [2021-07-01T07:50:34.456Z] $ docker rm -f 0f9bf3ce062559ee8b85c869a4bab58f5922980d1aefe5b424dd3f56e329a5e2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-01T07:50:34.853Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-01T07:50:35.158Z] Stashed 1 file(s) [Pipeline] echo [2021-07-01T07:50:35.162Z] [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-07-01T07:50:50.412Z] Still waiting to schedule task [2021-07-01T07:50:50.413Z] ‘prd-centos7-docker-4c-2g-1148’ is offline [2021-07-01T07:50:50.413Z] ‘prd-centos7-docker-4c-2g-1166’ is offline [2021-07-01T07:50:50.413Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1158’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-01T07:50:50.415Z] Still waiting to schedule task [2021-07-01T07:50:50.416Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-01T07:52:42.296Z] Running on prd-centos7-docker-4c-2g-1167 in /w/workspace/dgexfoundry_device-sdk-go_PR-997 [Pipeline] { [Pipeline] ws [2021-07-01T07:52:42.322Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-07-01T07:52:42.444Z] Selected Git installation does not exist. Using Default [2021-07-01T07:52:42.445Z] The recommended git tool is: NONE [2021-07-01T07:52:47.267Z] using credential edgex-jenkins-ssh [2021-07-01T07:52:47.281Z] Cloning the remote Git repository [2021-07-01T07:52:47.307Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-01T07:52:47.380Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-07-01T07:52:47.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-01T07:52:47.424Z] > git --version # timeout=10 [2021-07-01T07:52:47.431Z] > git --version # 'git version 2.24.4' [2021-07-01T07:52:47.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T07:52:47.460Z] [INFO] Currently running in a labeled security context [2021-07-01T07:52:47.461Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-01T07:52:47.461Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4937783061298797265.key [2021-07-01T07:52:47.483Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T07:52:48.933Z] Merging remotes/origin/master commit 47e6572bf3f6e85c5b9bc91201383ea800e067cb into PR head commit 76abb45c82471c7e42c229493c4518ba910c12b3 [2021-07-01T07:52:49.023Z] Merge succeeded, producing 76abb45c82471c7e42c229493c4518ba910c12b3 [2021-07-01T07:52:49.024Z] Checking out Revision 76abb45c82471c7e42c229493c4518ba910c12b3 (PR-997) [2021-07-01T07:52:48.334Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-01T07:52:48.347Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T07:52:48.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-01T07:52:48.369Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-01T07:52:48.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T07:52:48.370Z] [INFO] Currently running in a labeled security context [2021-07-01T07:52:48.370Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-01T07:52:48.370Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh9198545615301682301.key [2021-07-01T07:52:48.376Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/997/head:refs/remotes/origin/PR-997 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-07-01T07:52:48.938Z] > git config core.sparsecheckout # timeout=10 [2021-07-01T07:52:48.944Z] > git checkout -f 76abb45c82471c7e42c229493c4518ba910c12b3 # timeout=10 [2021-07-01T07:52:48.976Z] > git remote # timeout=10 [2021-07-01T07:52:48.984Z] > git config --get remote.origin.url # timeout=10 [2021-07-01T07:52:48.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T07:52:48.994Z] [INFO] Currently running in a labeled security context [2021-07-01T07:52:48.994Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-01T07:52:48.994Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1161313543535788719.key [2021-07-01T07:52:49.004Z] > git merge 47e6572bf3f6e85c5b9bc91201383ea800e067cb # timeout=10 [2021-07-01T07:52:49.014Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-01T07:52:49.026Z] > git config core.sparsecheckout # timeout=10 [2021-07-01T07:52:49.029Z] > git checkout -f 76abb45c82471c7e42c229493c4518ba910c12b3 # timeout=10 [2021-07-01T07:52:52.626Z] Commit message: "docs: update device-simple README and provisionwatcher example" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-01T07:52:53.715Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-01T07:52:54.048Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-01T07:52:54.350Z] + sudo service docker restart [2021-07-01T07:52:54.351Z] + true [2021-07-01T07:52:54.351Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T07:53:14.793Z] provisioning config files... [2021-07-01T07:53:14.832Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5745841178747547296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-01T07:53:15.169Z] ---> docker-login.sh [2021-07-01T07:53:15.169Z] nexus3.edgexfoundry.org:10001 [2021-07-01T07:53:15.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:53:15.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:53:15.747Z] Configure a credential helper to remove this warning. See [2021-07-01T07:53:15.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:53:15.747Z] [2021-07-01T07:53:15.747Z] Login Succeeded [2021-07-01T07:53:15.747Z] nexus3.edgexfoundry.org:10002 [2021-07-01T07:53:15.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:53:15.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:53:15.747Z] Configure a credential helper to remove this warning. See [2021-07-01T07:53:15.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:53:15.747Z] [2021-07-01T07:53:15.747Z] Login Succeeded [2021-07-01T07:53:16.008Z] nexus3.edgexfoundry.org:10003 [2021-07-01T07:53:16.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:53:16.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:53:16.008Z] Configure a credential helper to remove this warning. See [2021-07-01T07:53:16.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:53:16.008Z] [2021-07-01T07:53:16.008Z] Login Succeeded [2021-07-01T07:53:16.008Z] nexus3.edgexfoundry.org:10004 [2021-07-01T07:53:16.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:53:16.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:53:16.271Z] Configure a credential helper to remove this warning. See [2021-07-01T07:53:16.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:53:16.271Z] [2021-07-01T07:53:16.271Z] Login Succeeded [2021-07-01T07:53:16.271Z] docker.io [2021-07-01T07:53:16.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:53:16.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:53:16.533Z] Configure a credential helper to remove this warning. See [2021-07-01T07:53:16.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:53:16.533Z] [2021-07-01T07:53:16.533Z] Login Succeeded [2021-07-01T07:53:16.533Z] ---> docker-login.sh ends [Pipeline] } [2021-07-01T07:53:16.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-01T07:53:16.722Z] ========================================================= [2021-07-01T07:53:16.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-01T07:53:16.722Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-01T07:53:17.031Z] + 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-07-01T07:53:17.031Z] Sending build context to Docker daemon 2.716MB [2021-07-01T07:53:17.031Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-01T07:53:17.031Z] Step 2/8 : FROM ${BASE} [2021-07-01T07:53:17.292Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-01T07:53:17.292Z] 540db60ca938: Pulling fs layer [2021-07-01T07:53:17.292Z] adcc1eea9eea: Pulling fs layer [2021-07-01T07:53:17.292Z] 4c4ab2625f07: Pulling fs layer [2021-07-01T07:53:17.292Z] 0510c868ecb4: Pulling fs layer [2021-07-01T07:53:17.292Z] afea3b2eda06: Pulling fs layer [2021-07-01T07:53:17.292Z] 7809a108b3ef: Pulling fs layer [2021-07-01T07:53:17.292Z] f706445af74f: Pulling fs layer [2021-07-01T07:53:17.292Z] afea3b2eda06: Waiting [2021-07-01T07:53:17.292Z] 7809a108b3ef: Waiting [2021-07-01T07:53:17.292Z] f706445af74f: Waiting [2021-07-01T07:53:17.292Z] 0510c868ecb4: Waiting [2021-07-01T07:53:17.292Z] 4c4ab2625f07: Verifying Checksum [2021-07-01T07:53:17.292Z] 4c4ab2625f07: Download complete [2021-07-01T07:53:17.292Z] adcc1eea9eea: Verifying Checksum [2021-07-01T07:53:17.292Z] adcc1eea9eea: Download complete [2021-07-01T07:53:17.292Z] afea3b2eda06: Verifying Checksum [2021-07-01T07:53:17.292Z] afea3b2eda06: Download complete [2021-07-01T07:53:17.292Z] 540db60ca938: Verifying Checksum [2021-07-01T07:53:17.292Z] 7809a108b3ef: Verifying Checksum [2021-07-01T07:53:17.292Z] 7809a108b3ef: Download complete [2021-07-01T07:53:17.557Z] 540db60ca938: Pull complete [2021-07-01T07:53:17.557Z] adcc1eea9eea: Pull complete [2021-07-01T07:53:17.828Z] 4c4ab2625f07: Pull complete [2021-07-01T07:53:19.757Z] f706445af74f: Verifying Checksum [2021-07-01T07:53:19.757Z] f706445af74f: Download complete [2021-07-01T07:53:19.757Z] 0510c868ecb4: Verifying Checksum [2021-07-01T07:53:19.757Z] 0510c868ecb4: Download complete [2021-07-01T07:53:24.016Z] 0510c868ecb4: Pull complete [2021-07-01T07:53:24.016Z] afea3b2eda06: Pull complete [2021-07-01T07:53:24.016Z] 7809a108b3ef: Pull complete [2021-07-01T07:53:25.425Z] f706445af74f: Pull complete [2021-07-01T07:53:25.425Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-01T07:53:25.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-01T07:53:25.425Z] ---> b068be0155e3 [2021-07-01T07:53:25.425Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-01T07:53:33.581Z] ---> Running in 77e140dccd25 [2021-07-01T07:53:33.581Z] Removing intermediate container 77e140dccd25 [2021-07-01T07:53:33.581Z] ---> 227270c84b28 [2021-07-01T07:53:33.581Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-01T07:53:33.581Z] ---> Running in b7a301ae79b4 [2021-07-01T07:53:33.581Z] Removing intermediate container b7a301ae79b4 [2021-07-01T07:53:33.581Z] ---> 2cf16b9d4f33 [2021-07-01T07:53:33.581Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-01T07:53:33.581Z] ---> Running in 1da73e0249da [2021-07-01T07:53:33.581Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-01T07:53:34.526Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-01T07:53:34.787Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-01T07:53:34.787Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-01T07:53:35.049Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-01T07:53:35.049Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-01T07:53:35.049Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-01T07:53:35.309Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-01T07:53:35.310Z] Executing busybox-1.32.1-r6.trigger [2021-07-01T07:53:35.310Z] OK: 150 MiB in 46 packages [2021-07-01T07:53:35.572Z] Removing intermediate container 1da73e0249da [2021-07-01T07:53:35.572Z] ---> 088ece0c1e58 [2021-07-01T07:53:35.572Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-01T07:53:35.572Z] ---> Running in 0ff28343103c [2021-07-01T07:53:35.836Z] Removing intermediate container 0ff28343103c [2021-07-01T07:53:35.836Z] ---> 37e358278547 [2021-07-01T07:53:35.836Z] Step 7/8 : COPY . . [2021-07-01T07:53:36.100Z] ---> aca9f30d6448 [2021-07-01T07:53:36.100Z] Step 8/8 : RUN go mod download [2021-07-01T07:53:36.100Z] ---> Running in fb11d2f3a5ca [2021-07-01T07:53:51.538Z] Removing intermediate container fb11d2f3a5ca [2021-07-01T07:53:51.538Z] ---> 2452e6b45c1c [2021-07-01T07:53:51.538Z] Successfully built 2452e6b45c1c [2021-07-01T07:53:51.538Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-01T07:53:51.845Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-01T07:53:51.845Z] . [Pipeline] withDockerContainer [2021-07-01T07:53:51.920Z] prd-centos7-docker-4c-2g-1167 does not seem to be running inside a container [2021-07-01T07:53:51.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-01T07:53:52.372Z] $ docker top 574e0b3907d37a8430b80bac143dbecbb2b7ef8e9e6cec7c75e85715eacf76c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T07:53:52.760Z] + go version [2021-07-01T07:53:52.760Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-01T07:53:52.769Z] $ docker stop --time=1 574e0b3907d37a8430b80bac143dbecbb2b7ef8e9e6cec7c75e85715eacf76c1 [2021-07-01T07:53:53.956Z] $ docker rm -f 574e0b3907d37a8430b80bac143dbecbb2b7ef8e9e6cec7c75e85715eacf76c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-01T07:53:54.503Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-01T07:53:54.503Z] . [Pipeline] withDockerContainer [2021-07-01T07:53:54.577Z] prd-centos7-docker-4c-2g-1167 does not seem to be running inside a container [2021-07-01T07:53:54.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-01T07:53:54.975Z] $ docker top b7616fcd9fcfca8f78773e1b8d24c74b1acc1db768dabfc739f256da61832a7f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T07:53:55.399Z] + go mod tidy [Pipeline] sh [2021-07-01T07:53:56.120Z] + make test [2021-07-01T07:53:56.120Z] go mod tidy [2021-07-01T07:53:56.120Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-01T07:54:02.340Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-01T07:54:05.598Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1168 in /w/workspace/dgexfoundry_device-sdk-go_PR-997 [Pipeline] { [Pipeline] ws [2021-07-01T07:54:05.617Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-07-01T07:54:05.826Z] Selected Git installation does not exist. Using Default [2021-07-01T07:54:05.826Z] The recommended git tool is: NONE [2021-07-01T07:54:10.784Z] using credential edgex-jenkins-ssh [2021-07-01T07:54:10.804Z] Cloning the remote Git repository [2021-07-01T07:54:13.082Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-01T07:54:13.193Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-07-01T07:54:13.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-01T07:54:13.424Z] > git --version # timeout=10 [2021-07-01T07:54:13.446Z] > git --version # 'git version 2.17.1' [2021-07-01T07:54:13.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T07:54:13.516Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T07:54:15.446Z] Merging remotes/origin/master commit 47e6572bf3f6e85c5b9bc91201383ea800e067cb into PR head commit 76abb45c82471c7e42c229493c4518ba910c12b3 [2021-07-01T07:54:15.649Z] Merge succeeded, producing 76abb45c82471c7e42c229493c4518ba910c12b3 [2021-07-01T07:54:15.650Z] Checking out Revision 76abb45c82471c7e42c229493c4518ba910c12b3 (PR-997) [2021-07-01T07:54:14.690Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-01T07:54:14.713Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T07:54:14.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-01T07:54:14.779Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-01T07:54:14.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T07:54:14.792Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/997/head:refs/remotes/origin/PR-997 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-07-01T07:54:15.464Z] > git config core.sparsecheckout # timeout=10 [2021-07-01T07:54:15.477Z] > git checkout -f 76abb45c82471c7e42c229493c4518ba910c12b3 # timeout=10 [2021-07-01T07:54:15.575Z] > git remote # timeout=10 [2021-07-01T07:54:15.593Z] > git config --get remote.origin.url # timeout=10 [2021-07-01T07:54:15.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T07:54:15.615Z] > git merge 47e6572bf3f6e85c5b9bc91201383ea800e067cb # timeout=10 [2021-07-01T07:54:15.636Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-01T07:54:15.655Z] > git config core.sparsecheckout # timeout=10 [2021-07-01T07:54:15.666Z] > git checkout -f 76abb45c82471c7e42c229493c4518ba910c12b3 # timeout=10 [2021-07-01T07:54:19.893Z] Commit message: "docs: update device-simple README and provisionwatcher example" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-01T07:54:21.248Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-01T07:54:21.650Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-01T07:54:21.989Z] + true [2021-07-01T07:54:21.989Z] + sudo service docker restart [2021-07-01T07:54:25.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-01T07:54:25.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-01T07:54:25.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-01T07:54:28.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.059s coverage: 24.2% of statements [2021-07-01T07:54:28.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-01T07:54:28.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.042s coverage: 28.1% of statements [2021-07-01T07:54:28.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-07-01T07:54:28.920Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements [2021-07-01T07:54:28.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-01T07:54:28.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-01T07:54:28.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-01T07:54:29.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2021-07-01T07:54:29.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-01T07:54:30.905Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-07-01T07:54:30.905Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-01T07:54:30.905Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-01T07:54:30.905Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 58.0% of statements [2021-07-01T07:54:31.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.817s coverage: 89.2% of statements [2021-07-01T07:54:31.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-01T07:54:31.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.9% of statements [2021-07-01T07:54:31.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-01T07:54:32.131Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T07:54:40.326Z] provisioning config files... [2021-07-01T07:54:40.353Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7709236668769811510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-01T07:54:40.729Z] ---> docker-login.sh [2021-07-01T07:54:40.729Z] nexus3.edgexfoundry.org:10001 [2021-07-01T07:54:41.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:54:41.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:54:41.984Z] Configure a credential helper to remove this warning. See [2021-07-01T07:54:41.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:54:41.984Z] [2021-07-01T07:54:41.984Z] Login Succeeded [2021-07-01T07:54:41.984Z] nexus3.edgexfoundry.org:10002 [2021-07-01T07:54:42.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:54:42.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:54:42.597Z] Configure a credential helper to remove this warning. See [2021-07-01T07:54:42.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:54:42.597Z] [2021-07-01T07:54:42.597Z] Login Succeeded [2021-07-01T07:54:42.597Z] nexus3.edgexfoundry.org:10003 [2021-07-01T07:54:43.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:54:43.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:54:43.196Z] Configure a credential helper to remove this warning. See [2021-07-01T07:54:43.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:54:43.196Z] [2021-07-01T07:54:43.196Z] Login Succeeded [2021-07-01T07:54:43.196Z] nexus3.edgexfoundry.org:10004 [2021-07-01T07:54:43.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:54:43.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:54:43.746Z] Configure a credential helper to remove this warning. See [2021-07-01T07:54:43.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:54:43.746Z] [2021-07-01T07:54:43.746Z] Login Succeeded [2021-07-01T07:54:43.746Z] docker.io [2021-07-01T07:54:44.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T07:54:44.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T07:54:44.616Z] Configure a credential helper to remove this warning. See [2021-07-01T07:54:44.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T07:54:44.616Z] [2021-07-01T07:54:44.616Z] Login Succeeded [2021-07-01T07:54:44.616Z] ---> docker-login.sh ends [Pipeline] } [2021-07-01T07:54:44.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-01T07:54:44.937Z] ========================================================= [2021-07-01T07:54:44.937Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-01T07:54:44.937Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-01T07:54:45.289Z] + 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-07-01T07:54:45.888Z] Sending build context to Docker daemon 2.725MB [2021-07-01T07:54:45.888Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-01T07:54:45.888Z] Step 2/8 : FROM ${BASE} [2021-07-01T07:54:46.169Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-01T07:54:46.169Z] 595b0fe564bb: Pulling fs layer [2021-07-01T07:54:46.169Z] 3088b5b3c5c0: Pulling fs layer [2021-07-01T07:54:46.169Z] 5b7225fbf94c: Pulling fs layer [2021-07-01T07:54:46.169Z] ba82ee9f976e: Pulling fs layer [2021-07-01T07:54:46.169Z] 506bd15cee9f: Pulling fs layer [2021-07-01T07:54:46.169Z] 75a0a4a0db45: Pulling fs layer [2021-07-01T07:54:46.169Z] 618dc40b7e24: Pulling fs layer [2021-07-01T07:54:46.169Z] 506bd15cee9f: Waiting [2021-07-01T07:54:46.169Z] 75a0a4a0db45: Waiting [2021-07-01T07:54:46.169Z] ba82ee9f976e: Waiting [2021-07-01T07:54:46.169Z] 618dc40b7e24: Waiting [2021-07-01T07:54:46.169Z] 5b7225fbf94c: Verifying Checksum [2021-07-01T07:54:46.169Z] 5b7225fbf94c: Download complete [2021-07-01T07:54:46.169Z] 3088b5b3c5c0: Verifying Checksum [2021-07-01T07:54:46.169Z] 3088b5b3c5c0: Download complete [2021-07-01T07:54:46.169Z] 506bd15cee9f: Download complete [2021-07-01T07:54:46.169Z] 75a0a4a0db45: Verifying Checksum [2021-07-01T07:54:46.169Z] 75a0a4a0db45: Download complete [2021-07-01T07:54:46.169Z] 595b0fe564bb: Verifying Checksum [2021-07-01T07:54:46.169Z] 595b0fe564bb: Download complete [2021-07-01T07:54:46.774Z] 595b0fe564bb: Pull complete [2021-07-01T07:54:47.402Z] 3088b5b3c5c0: Pull complete [2021-07-01T07:54:48.010Z] 5b7225fbf94c: Pull complete [2021-07-01T07:54:50.615Z] gofmt -l . [2021-07-01T07:54:50.615Z] [ "`gofmt -l .`" = "" ] [2021-07-01T07:54:50.615Z] ./bin/test-attribution-txt.sh [2021-07-01T07:54:50.626Z] 618dc40b7e24: Verifying Checksum [2021-07-01T07:54:50.626Z] 618dc40b7e24: Download complete [2021-07-01T07:54:50.626Z] ba82ee9f976e: Verifying Checksum [2021-07-01T07:54:50.626Z] ba82ee9f976e: Download complete [2021-07-01T07:54:50.887Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-01T07:54:51.159Z] $ docker stop --time=1 b7616fcd9fcfca8f78773e1b8d24c74b1acc1db768dabfc739f256da61832a7f [2021-07-01T07:54:52.659Z] $ docker rm -f b7616fcd9fcfca8f78773e1b8d24c74b1acc1db768dabfc739f256da61832a7f [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-01T07:54:53.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-01T07:54:53.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-01T07:54:58.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-01T07:54:58.756Z] + ls -al . [2021-07-01T07:54:58.756Z] total 228 [2021-07-01T07:54:58.756Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jul 1 07:54 . [2021-07-01T07:54:58.756Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 1 07:52 .. [2021-07-01T07:54:58.756Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 1 07:52 bin [2021-07-01T07:54:58.756Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jul 1 07:52 CHANGELOG.md [2021-07-01T07:54:58.756Z] -rw-r--r--. 1 jenkins jenkins 125634 Jul 1 07:54 coverage.out [2021-07-01T07:54:58.756Z] -rw-rw-r--. 1 jenkins jenkins 987 Jul 1 07:52 Dockerfile.build [2021-07-01T07:54:58.756Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 1 07:52 .dockerignore [2021-07-01T07:54:58.756Z] drwxrwxr-x. 5 jenkins jenkins 62 Jul 1 07:52 example [2021-07-01T07:54:58.756Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 1 07:52 .git [2021-07-01T07:54:58.756Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 1 07:52 .github [2021-07-01T07:54:58.756Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 1 07:52 .gitignore [2021-07-01T07:54:58.756Z] -rw-r--r--. 1 jenkins jenkins 548 Jul 1 07:54 go.mod [2021-07-01T07:54:58.756Z] -rw-r--r--. 1 jenkins jenkins 20210 Jul 1 07:53 go.sum [2021-07-01T07:54:58.756Z] drwxrwxr-x. 15 jenkins jenkins 224 Jul 1 07:52 internal [2021-07-01T07:54:58.756Z] -rw-rw-r--. 1 jenkins jenkins 880 Jul 1 07:52 Jenkinsfile [2021-07-01T07:54:58.756Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 1 07:52 LICENSE [2021-07-01T07:54:58.756Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jul 1 07:52 Makefile [2021-07-01T07:54:58.756Z] drwxrwxr-x. 3 jenkins jenkins 16 Jul 1 07:52 openapi [2021-07-01T07:54:58.756Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 1 07:52 pkg [2021-07-01T07:54:58.756Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jul 1 07:52 README.md [2021-07-01T07:54:58.756Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 1 07:52 snap [2021-07-01T07:54:58.756Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 1 07:50 VERSION [2021-07-01T07:54:58.756Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 1 07:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-01T07:54:59.066Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=76abb45c82471c7e42c229493c4518ba910c12b3 --label arch=amd64 --label version=0.0.0 . [2021-07-01T07:54:59.067Z] Sending build context to Docker daemon 2.842MB [2021-07-01T07:54:59.067Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-01T07:54:59.067Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-01T07:54:59.067Z] ---> 2452e6b45c1c [2021-07-01T07:54:59.067Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-01T07:54:59.328Z] ---> Running in 6740b6b1da7b [2021-07-01T07:54:59.328Z] Removing intermediate container 6740b6b1da7b [2021-07-01T07:54:59.328Z] ---> f941ac81ec71 [2021-07-01T07:54:59.328Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-01T07:54:59.328Z] ---> Running in 2dac8328b14f [2021-07-01T07:54:59.328Z] Removing intermediate container 2dac8328b14f [2021-07-01T07:54:59.328Z] ---> eea38254db00 [2021-07-01T07:54:59.328Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-01T07:54:59.589Z] ---> Running in 1b40741a512f [2021-07-01T07:54:59.855Z] Removing intermediate container 1b40741a512f [2021-07-01T07:54:59.855Z] ---> 5c3cbd660ee6 [2021-07-01T07:54:59.855Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-01T07:55:00.119Z] ---> Running in 96c1b293e2f4 [2021-07-01T07:55:00.381Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-01T07:55:00.953Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-01T07:55:01.103Z] ba82ee9f976e: Pull complete [2021-07-01T07:55:01.103Z] 506bd15cee9f: Pull complete [2021-07-01T07:55:01.103Z] 75a0a4a0db45: Pull complete [2021-07-01T07:55:01.530Z] OK: 150 MiB in 46 packages [2021-07-01T07:55:01.793Z] Removing intermediate container 96c1b293e2f4 [2021-07-01T07:55:01.793Z] ---> f0262c6bd717 [2021-07-01T07:55:01.793Z] Step 7/23 : COPY . . [2021-07-01T07:55:02.056Z] ---> 528cae3002af [2021-07-01T07:55:02.056Z] Step 8/23 : RUN go mod download [2021-07-01T07:55:02.056Z] ---> Running in b671e7f14820 [2021-07-01T07:55:02.630Z] Removing intermediate container b671e7f14820 [2021-07-01T07:55:02.630Z] ---> 9506a06335c1 [2021-07-01T07:55:02.630Z] Step 9/23 : RUN make build [2021-07-01T07:55:02.630Z] ---> Running in 7a5beb692a44 [2021-07-01T07:55:02.893Z] go mod tidy [2021-07-01T07:55:02.893Z] 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-07-01T07:55:05.431Z] 618dc40b7e24: Pull complete [2021-07-01T07:55:05.431Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-01T07:55:05.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-01T07:55:05.431Z] ---> a36622ca3599 [2021-07-01T07:55:05.431Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-01T07:55:05.707Z] ---> Running in 9fb81aa6a07c [2021-07-01T07:55:05.979Z] Removing intermediate container 9fb81aa6a07c [2021-07-01T07:55:05.979Z] ---> 21ddcf25aef8 [2021-07-01T07:55:05.979Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-01T07:55:06.260Z] ---> Running in ced9f2b1bc22 [2021-07-01T07:55:08.241Z] Removing intermediate container ced9f2b1bc22 [2021-07-01T07:55:08.241Z] ---> e9a68cc95a2e [2021-07-01T07:55:08.241Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-01T07:55:08.512Z] ---> Running in 8200631e75d2 [2021-07-01T07:55:09.487Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-01T07:55:10.485Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-01T07:55:11.464Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-01T07:55:11.464Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-01T07:55:11.464Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-01T07:55:11.735Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-01T07:55:11.735Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-01T07:55:11.735Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-01T07:55:12.006Z] Executing busybox-1.32.1-r6.trigger [2021-07-01T07:55:12.006Z] OK: 139 MiB in 46 packages [2021-07-01T07:55:13.434Z] Removing intermediate container 8200631e75d2 [2021-07-01T07:55:13.434Z] ---> 858a2eff0030 [2021-07-01T07:55:13.434Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-01T07:55:13.434Z] ---> Running in 9312858da005 [2021-07-01T07:55:13.710Z] Removing intermediate container 9312858da005 [2021-07-01T07:55:13.710Z] ---> 1e293c40bbe0 [2021-07-01T07:55:13.710Z] Step 7/8 : COPY . . [2021-07-01T07:55:13.987Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-01T07:55:15.144Z] ---> fa16eb58d11d [2021-07-01T07:55:15.144Z] Step 8/8 : RUN go mod download [2021-07-01T07:55:15.144Z] ---> Running in 4751cb4a1c82 [2021-07-01T07:55:20.013Z] Removing intermediate container 7a5beb692a44 [2021-07-01T07:55:20.013Z] ---> 1b0fab186cb6 [2021-07-01T07:55:20.013Z] Step 10/23 : FROM alpine:3.12 [2021-07-01T07:55:20.013Z] 3.12: Pulling from library/alpine [2021-07-01T07:55:20.013Z] 339de151aab4: Pulling fs layer [2021-07-01T07:55:20.013Z] 339de151aab4: Verifying Checksum [2021-07-01T07:55:20.013Z] 339de151aab4: Download complete [2021-07-01T07:55:20.013Z] 339de151aab4: Pull complete [2021-07-01T07:55:20.013Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-01T07:55:20.013Z] Status: Downloaded newer image for alpine:3.12 [2021-07-01T07:55:20.013Z] ---> 13621d1b12d4 [2021-07-01T07:55:20.013Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-01T07:55:20.013Z] ---> Running in 60730c6cdc17 [2021-07-01T07:55:20.013Z] Removing intermediate container 60730c6cdc17 [2021-07-01T07:55:20.013Z] ---> 66d71ed70b5e [2021-07-01T07:55:20.013Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-01T07:55:20.013Z] ---> Running in 825a6a19f66e [2021-07-01T07:55:20.013Z] Removing intermediate container 825a6a19f66e [2021-07-01T07:55:20.013Z] ---> 44af128b056f [2021-07-01T07:55:20.013Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-01T07:55:20.013Z] ---> Running in 4d3cc4934b38 [2021-07-01T07:55:20.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-01T07:55:20.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-01T07:55:20.013Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-01T07:55:20.013Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-01T07:55:20.013Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-01T07:55:20.013Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-01T07:55:20.013Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-01T07:55:20.013Z] Executing busybox-1.31.1-r20.trigger [2021-07-01T07:55:20.013Z] OK: 8 MiB in 19 packages [2021-07-01T07:55:20.013Z] Removing intermediate container 4d3cc4934b38 [2021-07-01T07:55:20.013Z] ---> 66ab013fcb2d [2021-07-01T07:55:20.013Z] Step 14/23 : WORKDIR / [2021-07-01T07:55:20.013Z] ---> Running in 8f981ca34616 [2021-07-01T07:55:20.013Z] Removing intermediate container 8f981ca34616 [2021-07-01T07:55:20.013Z] ---> f8b631b8966b [2021-07-01T07:55:20.013Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-01T07:55:20.013Z] ---> 25f131255220 [2021-07-01T07:55:20.013Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-01T07:55:20.013Z] ---> 4c3e56950fe3 [2021-07-01T07:55:20.013Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-01T07:55:20.274Z] ---> 07cecaec011b [2021-07-01T07:55:20.274Z] Step 18/23 : EXPOSE 59999 [2021-07-01T07:55:20.274Z] ---> Running in 94311295c4e0 [2021-07-01T07:55:20.274Z] Removing intermediate container 94311295c4e0 [2021-07-01T07:55:20.274Z] ---> f2429ea13d7e [2021-07-01T07:55:20.274Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-01T07:55:20.544Z] ---> Running in df35a5e1a343 [2021-07-01T07:55:20.544Z] Removing intermediate container df35a5e1a343 [2021-07-01T07:55:20.544Z] ---> 3fb20f8429d6 [2021-07-01T07:55:20.544Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-01T07:55:20.544Z] ---> Running in 5590fd7310a8 [2021-07-01T07:55:20.544Z] Removing intermediate container 5590fd7310a8 [2021-07-01T07:55:20.544Z] ---> e4485648e1d0 [2021-07-01T07:55:20.544Z] Step 21/23 : LABEL arch=amd64 [2021-07-01T07:55:20.544Z] ---> Running in 8d60a428e962 [2021-07-01T07:55:20.808Z] Removing intermediate container 8d60a428e962 [2021-07-01T07:55:20.808Z] ---> 6640d6bffdea [2021-07-01T07:55:20.808Z] Step 22/23 : LABEL git_sha=76abb45c82471c7e42c229493c4518ba910c12b3 [2021-07-01T07:55:20.808Z] ---> Running in a07f34e7214b [2021-07-01T07:55:20.808Z] Removing intermediate container a07f34e7214b [2021-07-01T07:55:20.808Z] ---> 007f85265457 [2021-07-01T07:55:20.808Z] Step 23/23 : LABEL version=0.0.0 [2021-07-01T07:55:20.808Z] ---> Running in 96e585ea2b3c [2021-07-01T07:55:21.069Z] Removing intermediate container 96e585ea2b3c [2021-07-01T07:55:21.069Z] ---> 6d74c080d491 [2021-07-01T07:55:21.069Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-01T07:55:21.069Z] Successfully built 6d74c080d491 [2021-07-01T07:55:21.069Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-01T07:55:22.122Z] ---> job-cost.sh [2021-07-01T07:55:22.122Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-V8ul [2021-07-01T07:55:32.155Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-01T07:55:42.001Z] Removing intermediate container 4751cb4a1c82 [2021-07-01T07:55:42.001Z] ---> b7430ec07c0f [2021-07-01T07:55:42.001Z] Successfully built b7430ec07c0f [2021-07-01T07:55:42.001Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-01T07:55:42.346Z] + docker inspect -f . ci-base-image-arm64 [2021-07-01T07:55:42.346Z] . [Pipeline] withDockerContainer [2021-07-01T07:55:42.611Z] prd-ubuntu18.04-docker-arm64-4c-16g-1168 does not seem to be running inside a container [2021-07-01T07:55:42.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-01T07:55:44.311Z] $ docker top 7fe046d8c07a078c129059b2827660a758a908415d7fa088a5010f2508e8b9b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T07:55:45.280Z] + go version [2021-07-01T07:55:45.280Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-01T07:55:45.301Z] $ docker stop --time=1 7fe046d8c07a078c129059b2827660a758a908415d7fa088a5010f2508e8b9b7 [2021-07-01T07:55:47.065Z] $ docker rm -f 7fe046d8c07a078c129059b2827660a758a908415d7fa088a5010f2508e8b9b7 [2021-07-01T07:55:47.156Z] lf-activate-venv(): INFO: Adding /tmp/venv-V8ul/bin to PATH [2021-07-01T07:55:47.156Z] INFO: No Stack... [2021-07-01T07:55:47.156Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-01T07:55:47.156Z] INFO: Archiving Costs [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-01T07:55:47.574Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-07-01T07:55:47.574Z] + cut -d, -f6 [Pipeline] lock [2021-07-01T07:55:47.626Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-997-2-stack-cost] [2021-07-01T07:55:47.648Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-997-2-stack-cost] did not exist. Created. [2021-07-01T07:55:47.649Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-997-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-01T07:55:47.865Z] + docker inspect -f . ci-base-image-arm64 [2021-07-01T07:55:47.865Z] . [Pipeline] withDockerContainer [2021-07-01T07:55:47.974Z] + echo total: 0.05999999865889549 [2021-07-01T07:55:48.085Z] prd-ubuntu18.04-docker-arm64-4c-16g-1168 does not seem to be running inside a container [2021-07-01T07:55:48.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-01T07:55:49.714Z] $ docker top a5d88f5e4456e1897f54c9cd11c94542191089448b57747d3246a6a22a6dd25f -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2021-07-01T07:55:50.168Z] Stashed 1 file(s) [Pipeline] } [2021-07-01T07:55:50.179Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-997-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [2021-07-01T07:55:52.601Z] + go mod tidy [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-01T07:55:53.293Z] + make test [2021-07-01T07:55:53.293Z] go mod tidy [2021-07-01T07:55:53.566Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-01T07:56:15.771Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-01T07:57:25.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-01T07:57:25.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-01T07:57:25.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-01T07:57:30.867Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.287s coverage: 24.2% of statements [2021-07-01T07:57:30.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-01T07:57:30.867Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.202s coverage: 28.1% of statements [2021-07-01T07:57:30.867Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.274s coverage: 78.9% of statements [2021-07-01T07:57:30.867Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.272s coverage: 9.0% of statements [2021-07-01T07:57:30.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-01T07:57:30.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-01T07:57:30.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-01T07:57:31.871Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.311s coverage: 28.7% of statements [2021-07-01T07:57:31.871Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-01T07:57:34.518Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.201s coverage: 83.3% of statements [2021-07-01T07:57:34.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-01T07:57:34.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-01T07:57:34.518Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.355s coverage: 58.0% of statements [2021-07-01T07:57:35.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.071s coverage: 89.2% of statements [2021-07-01T07:57:35.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-01T07:57:35.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.190s coverage: 4.9% of statements [2021-07-01T07:57:35.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-01T07:57:36.560Z] GO111MODULE=on go vet ./... [2021-07-01T07:58:33.185Z] gofmt -l . [2021-07-01T07:58:33.185Z] [ "`gofmt -l .`" = "" ] [2021-07-01T07:58:33.185Z] ./bin/test-attribution-txt.sh [2021-07-01T07:58:33.185Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-01T07:58:33.200Z] $ docker stop --time=1 a5d88f5e4456e1897f54c9cd11c94542191089448b57747d3246a6a22a6dd25f [2021-07-01T07:58:35.353Z] $ docker rm -f a5d88f5e4456e1897f54c9cd11c94542191089448b57747d3246a6a22a6dd25f [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-01T07:58:36.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-01T07:58:36.497Z] Warning: overwriting stash ‘coverage-report’ [2021-07-01T07:58:37.074Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-01T07:58:37.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-01T07:58:40.194Z] + ls -al . [2021-07-01T07:58:40.195Z] total 264 [2021-07-01T07:58:40.195Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 07:58 . [2021-07-01T07:58:40.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 07:54 .. [2021-07-01T07:58:40.195Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 07:54 .dockerignore [2021-07-01T07:58:40.195Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 07:54 .git [2021-07-01T07:58:40.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 07:54 .github [2021-07-01T07:58:40.195Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 1 07:54 .gitignore [2021-07-01T07:58:40.195Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jul 1 07:54 CHANGELOG.md [2021-07-01T07:58:40.195Z] -rw-rw-r-- 1 jenkins jenkins 987 Jul 1 07:54 Dockerfile.build [2021-07-01T07:58:40.195Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 1 07:54 Jenkinsfile [2021-07-01T07:58:40.195Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 07:54 LICENSE [2021-07-01T07:58:40.195Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jul 1 07:54 Makefile [2021-07-01T07:58:40.195Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jul 1 07:54 README.md [2021-07-01T07:58:40.195Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 07:50 VERSION [2021-07-01T07:58:40.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 07:54 bin [2021-07-01T07:58:40.195Z] -rw-r--r-- 1 jenkins jenkins 125634 Jul 1 07:57 coverage.out [2021-07-01T07:58:40.195Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 07:54 example [2021-07-01T07:58:40.195Z] -rw-r--r-- 1 jenkins jenkins 548 Jul 1 07:58 go.mod [2021-07-01T07:58:40.195Z] -rw-r--r-- 1 jenkins jenkins 20210 Jul 1 07:55 go.sum [2021-07-01T07:58:40.195Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 1 07:54 internal [2021-07-01T07:58:40.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 07:54 openapi [2021-07-01T07:58:40.195Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 07:54 pkg [2021-07-01T07:58:40.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 07:54 snap [2021-07-01T07:58:40.195Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 07:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-01T07:58:40.579Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=76abb45c82471c7e42c229493c4518ba910c12b3 --label arch=arm64 --label version=0.0.0 . [2021-07-01T07:58:41.190Z] Sending build context to Docker daemon 2.852MB [2021-07-01T07:58:41.190Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-01T07:58:41.190Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-01T07:58:41.190Z] ---> b7430ec07c0f [2021-07-01T07:58:41.190Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-01T07:58:41.509Z] ---> Running in 233fd3e6f25f [2021-07-01T07:58:42.138Z] Removing intermediate container 233fd3e6f25f [2021-07-01T07:58:42.138Z] ---> a975827a1c67 [2021-07-01T07:58:42.138Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-01T07:58:42.138Z] ---> Running in 64e6ae443ca9 [2021-07-01T07:58:42.762Z] Removing intermediate container 64e6ae443ca9 [2021-07-01T07:58:42.762Z] ---> 65c35d28ec91 [2021-07-01T07:58:42.762Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-01T07:58:42.762Z] ---> Running in 548159c8b3f3 [2021-07-01T07:58:45.390Z] Removing intermediate container 548159c8b3f3 [2021-07-01T07:58:45.390Z] ---> f3207c8cd831 [2021-07-01T07:58:45.390Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-01T07:58:45.390Z] ---> Running in c4d7c58fdaa4 [2021-07-01T07:58:46.371Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-01T07:58:47.348Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-01T07:58:47.949Z] OK: 139 MiB in 46 packages [2021-07-01T07:58:48.934Z] Removing intermediate container c4d7c58fdaa4 [2021-07-01T07:58:48.934Z] ---> 809c5e628193 [2021-07-01T07:58:48.934Z] Step 7/23 : COPY . . [2021-07-01T07:58:50.377Z] ---> a5dc7e659abc [2021-07-01T07:58:50.377Z] Step 8/23 : RUN go mod download [2021-07-01T07:58:50.377Z] ---> Running in 6821990934cd [2021-07-01T07:58:53.009Z] Removing intermediate container 6821990934cd [2021-07-01T07:58:53.009Z] ---> c1950aaa59d6 [2021-07-01T07:58:53.009Z] Step 9/23 : RUN make build [2021-07-01T07:58:53.009Z] ---> Running in f9491c962e85 [2021-07-01T07:58:53.989Z] go mod tidy [2021-07-01T07:58:54.588Z] 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-07-01T07:59:26.994Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-01T07:59:28.426Z] Removing intermediate container f9491c962e85 [2021-07-01T07:59:28.426Z] ---> bc00a285181b [2021-07-01T07:59:28.426Z] Step 10/23 : FROM alpine:3.12 [2021-07-01T07:59:29.020Z] 3.12: Pulling from library/alpine [2021-07-01T07:59:29.021Z] d2f70382dc9a: Pulling fs layer [2021-07-01T07:59:29.295Z] d2f70382dc9a: Verifying Checksum [2021-07-01T07:59:29.295Z] d2f70382dc9a: Download complete [2021-07-01T07:59:29.892Z] d2f70382dc9a: Pull complete [2021-07-01T07:59:29.892Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-01T07:59:29.892Z] Status: Downloaded newer image for alpine:3.12 [2021-07-01T07:59:29.892Z] ---> c4fd0aeabfcf [2021-07-01T07:59:29.892Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-01T07:59:30.166Z] ---> Running in 5f5fada0fa45 [2021-07-01T07:59:30.762Z] Removing intermediate container 5f5fada0fa45 [2021-07-01T07:59:30.762Z] ---> 88e00467641a [2021-07-01T07:59:30.762Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-01T07:59:30.762Z] ---> Running in 786b78e59829 [2021-07-01T07:59:32.745Z] Removing intermediate container 786b78e59829 [2021-07-01T07:59:32.745Z] ---> 3199b2f94bda [2021-07-01T07:59:32.745Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-01T07:59:33.020Z] ---> Running in 8e55206a3f0c [2021-07-01T07:59:34.002Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-01T07:59:34.985Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-01T07:59:35.587Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-01T07:59:35.860Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-01T07:59:35.860Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-01T07:59:36.130Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-01T07:59:36.130Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-01T07:59:36.130Z] Executing busybox-1.31.1-r20.trigger [2021-07-01T07:59:36.130Z] OK: 8 MiB in 19 packages [2021-07-01T07:59:37.568Z] Removing intermediate container 8e55206a3f0c [2021-07-01T07:59:37.568Z] ---> 0d1036e32408 [2021-07-01T07:59:37.568Z] Step 14/23 : WORKDIR / [2021-07-01T07:59:37.568Z] ---> Running in 7fae37f6a657 [2021-07-01T07:59:37.841Z] Removing intermediate container 7fae37f6a657 [2021-07-01T07:59:37.841Z] ---> 2825aaa3f1d6 [2021-07-01T07:59:37.841Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-01T07:59:38.823Z] ---> 20d6d73cb2e7 [2021-07-01T07:59:38.823Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-01T07:59:39.802Z] ---> 2be450b51bb4 [2021-07-01T07:59:39.802Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-01T07:59:40.782Z] ---> 013baf5d771b [2021-07-01T07:59:40.782Z] Step 18/23 : EXPOSE 59999 [2021-07-01T07:59:40.782Z] ---> Running in 00c40621ef71 [2021-07-01T07:59:41.378Z] Removing intermediate container 00c40621ef71 [2021-07-01T07:59:41.378Z] ---> 61201cb6c5fb [2021-07-01T07:59:41.378Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-01T07:59:41.378Z] ---> Running in 0147f458fe53 [2021-07-01T07:59:41.979Z] Removing intermediate container 0147f458fe53 [2021-07-01T07:59:41.979Z] ---> e8db46856aeb [2021-07-01T07:59:41.979Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-01T07:59:41.979Z] ---> Running in d167c9110451 [2021-07-01T07:59:42.581Z] Removing intermediate container d167c9110451 [2021-07-01T07:59:42.581Z] ---> 130f73ffe677 [2021-07-01T07:59:42.581Z] Step 21/23 : LABEL arch=arm64 [2021-07-01T07:59:42.581Z] ---> Running in 4646aefb8d73 [2021-07-01T07:59:43.177Z] Removing intermediate container 4646aefb8d73 [2021-07-01T07:59:43.177Z] ---> eac93d6ec1da [2021-07-01T07:59:43.177Z] Step 22/23 : LABEL git_sha=76abb45c82471c7e42c229493c4518ba910c12b3 [2021-07-01T07:59:43.177Z] ---> Running in 861a8d54c896 [2021-07-01T07:59:43.774Z] Removing intermediate container 861a8d54c896 [2021-07-01T07:59:43.774Z] ---> 99212d3b0dd4 [2021-07-01T07:59:43.774Z] Step 23/23 : LABEL version=0.0.0 [2021-07-01T07:59:43.774Z] ---> Running in 5aad3fe31bf2 [2021-07-01T07:59:44.370Z] Removing intermediate container 5aad3fe31bf2 [2021-07-01T07:59:44.370Z] ---> 220b324796be [2021-07-01T07:59:44.370Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-01T07:59:44.370Z] Successfully built 220b324796be [2021-07-01T07:59:44.370Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-01T07:59:45.022Z] ---> job-cost.sh [2021-07-01T07:59:45.023Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-glZQ [2021-07-01T08:00:23.988Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-01T08:01:52.565Z] lf-activate-venv(): INFO: Adding /tmp/venv-glZQ/bin to PATH [2021-07-01T08:01:52.565Z] INFO: No Stack... [2021-07-01T08:01:52.565Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-01T08:01:52.565Z] INFO: Archiving Costs [Pipeline] sh [2021-07-01T08:01:52.905Z] + cat+ /w/workspace/device-sdk-go/2/archives/cost.csv [2021-07-01T08:01:52.905Z] cut -d, -f6 [Pipeline] lock [2021-07-01T08:01:52.969Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-997-2-stack-cost] [2021-07-01T08:01:52.978Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-997-2-stack-cost] did not exist. Created. [2021-07-01T08:01:52.978Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-997-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-01T08:01:53.354Z] /w/workspace/device-sdk-go/2@tmp/durable-49651455/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-49651455/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-01T08:01:53.703Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-01T08:01:53.736Z] Warning: overwriting stash ‘stack-cost’ [2021-07-01T08:01:53.884Z] Stashed 1 file(s) [Pipeline] } [2021-07-01T08:01:53.909Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-997-2-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] configFileProvider [2021-07-01T08:01:57.183Z] provisioning config files... [2021-07-01T08:01:57.196Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp/config5989724791805924160tmp [Pipeline] { [Pipeline] sh [2021-07-01T08:01:57.513Z] + set +x [2021-07-01T08:01:57.513Z] + curl -s https://codecov.io/bash [2021-07-01T08:01:57.513Z] + bash -s -- [2021-07-01T08:01:57.513Z] [2021-07-01T08:01:57.513Z] _____ _ [2021-07-01T08:01:57.513Z] / ____| | | [2021-07-01T08:01:57.513Z] | | ___ __| | ___ ___ _____ __ [2021-07-01T08:01:57.513Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-01T08:01:57.513Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-01T08:01:57.513Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-01T08:01:57.513Z] Bash-1.0.3 [2021-07-01T08:01:57.513Z] [2021-07-01T08:01:57.513Z] [2021-07-01T08:01:57.513Z] ==> git version 2.24.4 found [2021-07-01T08:01:57.513Z] ==> 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-07-01T08:01:57.513Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-01T08:01:57.513Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-01T08:01:57.513Z] ==> Jenkins CI detected. [2021-07-01T08:01:57.513Z] project root: . [2021-07-01T08:01:57.513Z] --> token set from env [2021-07-01T08:01:57.776Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-01T08:01:57.776Z] ==> Running gcov in . (disable via -X gcov) [2021-07-01T08:01:57.776Z] ==> Python coveragepy not found [2021-07-01T08:01:57.776Z] ==> Searching for coverage reports in: [2021-07-01T08:01:57.776Z] + . [2021-07-01T08:01:57.776Z] -> Found 1 reports [2021-07-01T08:01:57.776Z] ==> Detecting git/mercurial file structure [2021-07-01T08:01:57.776Z] ==> Reading reports [2021-07-01T08:01:57.776Z] + ./coverage.out bytes=125634 [2021-07-01T08:01:57.776Z] ==> Appending adjustments [2021-07-01T08:01:57.776Z] https://docs.codecov.io/docs/fixing-reports [2021-07-01T08:01:58.037Z] + Found adjustments [2021-07-01T08:01:58.037Z] ==> Gzipping contents [2021-07-01T08:01:58.037Z] 16K /tmp/codecov.Pf8YEn.gz [2021-07-01T08:01:58.037Z] ==> Uploading reports [2021-07-01T08:01:58.037Z] url: https://codecov.io [2021-07-01T08:01:58.038Z] query: branch=PR-997&commit=76abb45c82471c7e42c229493c4518ba910c12b3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-997%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=997&job=&cmd_args= [2021-07-01T08:01:58.038Z] -> Pinging Codecov [2021-07-01T08:01:58.038Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-997&commit=76abb45c82471c7e42c229493c4518ba910c12b3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-997%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=997&job=&cmd_args= [2021-07-01T08:01:58.304Z] -> Uploading to [2021-07-01T08:01:58.304Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-01/7E55EF52A471D76F132DFD9A03CDDE97/76abb45c82471c7e42c229493c4518ba910c12b3/f40a9921-cb55-44f6-9707-a5a7409a02d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210701%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210701T080158Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd24ab2b4aef42998f66e92a33816a75b37da4a28278708015db86b668adc7cc [2021-07-01T08:01:58.304Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-01T08:01:58.304Z] Dload Upload Total Spent Left Speed [2021-07-01T08:01:58.836Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16339 0 0 100 16339 0 45772 --:--:-- --:--:-- --:--:-- 45767 [2021-07-01T08:01:58.836Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/76abb45c82471c7e42c229493c4518ba910c12b3 [Pipeline] } [2021-07-01T08:01:58.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [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-07-01T08:02:00.606Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T08:02:01.182Z] ---> package-listing.sh [2021-07-01T08:02:01.182Z] ++ facter osfamily [2021-07-01T08:02:01.182Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-01T08:02:01.443Z] + OS_FAMILY=redhat [2021-07-01T08:02:01.443Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-997 [2021-07-01T08:02:01.443Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-01T08:02:01.443Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-01T08:02:01.443Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-01T08:02:01.443Z] + PACKAGES=/tmp/packages_start.txt [2021-07-01T08:02:01.443Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-997 ']' [2021-07-01T08:02:01.443Z] + PACKAGES=/tmp/packages_end.txt [2021-07-01T08:02:01.443Z] + case "${OS_FAMILY}" in [2021-07-01T08:02:01.443Z] + rpm -qa [2021-07-01T08:02:01.443Z] + sort [2021-07-01T08:02:02.016Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-01T08:02:02.016Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-01T08:02:02.016Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-01T08:02:02.016Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-997 ']' [2021-07-01T08:02:02.016Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-997/archives/ [2021-07-01T08:02:02.016Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-997/archives/ [Pipeline] echo [2021-07-01T08:02:02.031Z] 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-997/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-01T08:02:02.320Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-01T08:02:02.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-01T08:02:02.896Z] [2021-07-01T08:02:02.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-01T08:02:05.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-01T08:02:05.382Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-01T08:02:05.382Z] df20fa9351a1: Pulling fs layer [2021-07-01T08:02:05.382Z] 36b3adc4ff6f: Pulling fs layer [2021-07-01T08:02:05.382Z] 8ad3a11d3b57: Pulling fs layer [2021-07-01T08:02:05.382Z] 46f8f816bc3b: Pulling fs layer [2021-07-01T08:02:05.382Z] 93b61091891f: Pulling fs layer [2021-07-01T08:02:05.382Z] 93b9cdb0e59b: Pulling fs layer [2021-07-01T08:02:05.382Z] 5e14af77c1be: Pulling fs layer [2021-07-01T08:02:05.382Z] 01666e4c0597: Pulling fs layer [2021-07-01T08:02:05.382Z] aa168da1d23b: Pulling fs layer [2021-07-01T08:02:05.382Z] 93b9cdb0e59b: Waiting [2021-07-01T08:02:05.382Z] 5e14af77c1be: Waiting [2021-07-01T08:02:05.382Z] 01666e4c0597: Waiting [2021-07-01T08:02:05.382Z] aa168da1d23b: Waiting [2021-07-01T08:02:05.382Z] 46f8f816bc3b: Waiting [2021-07-01T08:02:05.382Z] 93b61091891f: Waiting [2021-07-01T08:02:05.382Z] 36b3adc4ff6f: Verifying Checksum [2021-07-01T08:02:05.382Z] 36b3adc4ff6f: Download complete [2021-07-01T08:02:05.382Z] 46f8f816bc3b: Verifying Checksum [2021-07-01T08:02:05.382Z] 46f8f816bc3b: Download complete [2021-07-01T08:02:05.382Z] 93b61091891f: Verifying Checksum [2021-07-01T08:02:05.382Z] 93b61091891f: Download complete [2021-07-01T08:02:05.382Z] 93b9cdb0e59b: Verifying Checksum [2021-07-01T08:02:05.382Z] 93b9cdb0e59b: Download complete [2021-07-01T08:02:05.382Z] df20fa9351a1: Verifying Checksum [2021-07-01T08:02:05.382Z] df20fa9351a1: Download complete [2021-07-01T08:02:05.382Z] 5e14af77c1be: Verifying Checksum [2021-07-01T08:02:05.382Z] 5e14af77c1be: Download complete [2021-07-01T08:02:05.382Z] 01666e4c0597: Verifying Checksum [2021-07-01T08:02:05.382Z] 01666e4c0597: Download complete [2021-07-01T08:02:05.382Z] df20fa9351a1: Pull complete [2021-07-01T08:02:05.382Z] 36b3adc4ff6f: Pull complete [2021-07-01T08:02:05.382Z] 8ad3a11d3b57: Verifying Checksum [2021-07-01T08:02:05.382Z] 8ad3a11d3b57: Download complete [2021-07-01T08:02:05.382Z] 8ad3a11d3b57: Pull complete [2021-07-01T08:02:05.382Z] 46f8f816bc3b: Pull complete [2021-07-01T08:02:05.962Z] 93b61091891f: Pull complete [2021-07-01T08:02:05.962Z] 93b9cdb0e59b: Pull complete [2021-07-01T08:02:05.962Z] 5e14af77c1be: Pull complete [2021-07-01T08:02:05.962Z] 01666e4c0597: Pull complete [2021-07-01T08:02:06.544Z] aa168da1d23b: Verifying Checksum [2021-07-01T08:02:06.544Z] aa168da1d23b: Download complete [2021-07-01T08:02:10.781Z] aa168da1d23b: Pull complete [2021-07-01T08:02:10.781Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-01T08:02:10.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-01T08:02:10.781Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-01T08:02:10.864Z] prd-centos7-docker-4c-2g-1165 does not seem to be running inside a container [2021-07-01T08:02:10.903Z] $ 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-997/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-997 -v /w/workspace/dgexfoundry_device-sdk-go_PR-997:/w/workspace/dgexfoundry_device-sdk-go_PR-997:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-01T08:02:13.258Z] $ docker top f9a50b3650e2c0f35cafbab874baa19db7f583a997a399464b838994cda95f27 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T08:02:13.631Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-01T08:02:13.936Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-01T08:02:14.235Z] + ls /var/log/sa-host [2021-07-01T08:02:14.236Z] + sadf -c /var/log/sa-host/sa01 [2021-07-01T08:02:14.236Z] file_magic: OK [2021-07-01T08:02:14.236Z] HZ: Using current value: 100 [2021-07-01T08:02:14.236Z] file_header: OK [2021-07-01T08:02:14.236Z] 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-07-01T08:02:14.236Z] Statistics: [2021-07-01T08:02:14.236Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-01T08:02:14.236Z] File successfully converted to sysstat format version 12.2.1 [2021-07-01T08:02:14.236Z] + sadf -c /var/log/sa-host/sa05 [2021-07-01T08:02:14.236Z] file_magic: OK [2021-07-01T08:02:14.236Z] HZ: Using current value: 100 [2021-07-01T08:02:14.236Z] file_header: OK [2021-07-01T08:02:14.236Z] 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-07-01T08:02:14.236Z] Statistics: [2021-07-01T08:02:14.236Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-01T08:02:14.236Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T08:02:14.911Z] provisioning config files... [2021-07-01T08:02:14.926Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-997@tmp/config2698844288945949268tmp [Pipeline] { [Pipeline] echo [2021-07-01T08:02:14.951Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T08:02:15.270Z] ---> create-netrc.sh [Pipeline] } [2021-07-01T08:02:15.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-01T08:02:15.706Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-01T08:02:15.716Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T08:02:16.014Z] ---> sudo-logs.sh [2021-07-01T08:02:16.014Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-01T08:02:16.050Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T08:02:16.354Z] ---> job-cost.sh [2021-07-01T08:02:16.354Z] lf-activate-venv: SKIPPING [2021-07-01T08:02:16.354Z] DEBUG: total: 0.18000000715255737 [2021-07-01T08:02:16.354Z] INFO: Retrieving Stack Cost... [2021-07-01T08:02:17.297Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-01T08:02:17.558Z] INFO: Archiving Costs [Pipeline] echo [2021-07-01T08:02:17.574Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T08:02:17.874Z] ---> logs-deploy.sh [2021-07-01T08:02:17.875Z] lf-activate-venv: SKIPPING [2021-07-01T08:02:17.875Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-997/2 [2021-07-01T08:02:17.875Z] INFO: archiving workspace using pattern(s): [2021-07-01T08:02:18.830Z] Archives upload complete. [2021-07-01T08:02:18.830Z] INFO: archiving logs to Nexus