Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4807d63d74d416322c085e3e8b470655de571f17+e8c677d1df210277adef4aff331a8a81997773cd (d214b58da5def77cc7aff397534226804ecaf5e9) 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-ssh9137083267569175642.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh7515555076433867316.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 9d0281235b943b7ad605f650702698f9078b2862 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-937/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-937/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5958481173438078967.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh887748102693641078.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-937/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-937/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh990207297353991821.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-15447 in /w/workspace/dgexfoundry_device-sdk-go_PR-937 [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-937 # 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-937@tmp/jenkins-gitclient-ssh2041528913798696860.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-937@tmp/jenkins-gitclient-ssh3135767940315269777.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/937/head:refs/remotes/origin/PR-937 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit 4807d63d74d416322c085e3e8b470655de571f17 Merge succeeded, producing ab0198ba1847eb91fddbfff09f9fc233f4260888 Checking out Revision ab0198ba1847eb91fddbfff09f9fc233f4260888 (PR-937) > git config core.sparsecheckout # timeout=10 > git checkout -f 4807d63d74d416322c085e3e8b470655de571f17 # 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-937@tmp/jenkins-gitclient-ssh3347074477688830767.key > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab0198ba1847eb91fddbfff09f9fc233f4260888 # timeout=10 Commit message: "Merge commit 'e8c677d1df210277adef4aff331a8a81997773cd' into HEAD" > git rev-list --no-walk 4807d63d74d416322c085e3e8b470655de571f17 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-21T02:42:57.041Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-21T02:42:57.134Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-21T02:42:57.164Z] ========================================================= [2021-05-21T02:42:57.164Z] EdgeX Global Pipelines Version Info [2021-05-21T02:42:57.164Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:42:58.691Z] ------------------- [2021-05-21T02:42:58.691Z] stable info: [2021-05-21T02:42:58.691Z] ------------------- [2021-05-21T02:42:58.691Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-21T02:42:58.691Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T02:42:58.691Z] Message: update stable to v1.0.192 [2021-05-21T02:42:59.268Z] ------------------- [2021-05-21T02:42:59.268Z] experimental info: [2021-05-21T02:42:59.268Z] ------------------- [2021-05-21T02:42:59.268Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-21T02:42:59.268Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T02:42:59.268Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-21T02:42:59.394Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-21T02:42:59.417Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-21T02:42:59.442Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-21T02:42:59.466Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-21T02:42:59.490Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-21T02:42:59.516Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-21T02:42:59.540Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-21T02:42:59.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-21T02:42:59.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-21T02:42:59.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-21T02:42:59.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-21T02:42:59.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-21T02:42:59.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-21T02:42:59.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-21T02:42:59.747Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-21T02:42:59.777Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T02:42:59.806Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T02:42:59.829Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T02:42:59.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-21T02:42:59.875Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-21T02:42:59.898Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-21T02:42:59.921Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-21T02:42:59.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-21T02:42:59.969Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-21T02:42:59.996Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-21T02:43:00.021Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-21T02:43:00.046Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-937 [Pipeline] echo [2021-05-21T02:43:00.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-937 [Pipeline] echo [2021-05-21T02:43:00.094Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-937 [Pipeline] echo [2021-05-21T02:43:00.121Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab0198ba1847eb91fddbfff09f9fc233f4260888 [Pipeline] echo [2021-05-21T02:43:00.145Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab0198b [Pipeline] echo [2021-05-21T02:43:00.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T02:43:00.244Z] provisioning config files... [2021-05-21T02:43:00.261Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp/config2039967131262070804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:43:00.590Z] ---> docker-login.sh [2021-05-21T02:43:00.591Z] nexus3.edgexfoundry.org:10001 [2021-05-21T02:43:00.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:43:00.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:43:00.858Z] Configure a credential helper to remove this warning. See [2021-05-21T02:43:00.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:43:00.858Z] [2021-05-21T02:43:00.858Z] Login Succeeded [2021-05-21T02:43:00.858Z] nexus3.edgexfoundry.org:10002 [2021-05-21T02:43:01.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:43:01.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:43:01.121Z] Configure a credential helper to remove this warning. See [2021-05-21T02:43:01.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:43:01.121Z] [2021-05-21T02:43:01.121Z] Login Succeeded [2021-05-21T02:43:01.121Z] nexus3.edgexfoundry.org:10003 [2021-05-21T02:43:01.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:43:01.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:43:01.382Z] Configure a credential helper to remove this warning. See [2021-05-21T02:43:01.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:43:01.382Z] [2021-05-21T02:43:01.382Z] Login Succeeded [2021-05-21T02:43:01.382Z] nexus3.edgexfoundry.org:10004 [2021-05-21T02:43:01.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:43:01.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:43:01.382Z] Configure a credential helper to remove this warning. See [2021-05-21T02:43:01.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:43:01.382Z] [2021-05-21T02:43:01.382Z] Login Succeeded [2021-05-21T02:43:01.382Z] docker.io [2021-05-21T02:43:01.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:43:01.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:43:01.906Z] Configure a credential helper to remove this warning. See [2021-05-21T02:43:01.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:43:01.906Z] [2021-05-21T02:43:01.906Z] Login Succeeded [2021-05-21T02:43:01.906Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T02:43:01.915Z] 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-05-21T02:43:02.405Z] + git log --format=format:%s -1 ab0198ba1847eb91fddbfff09f9fc233f4260888 [Pipeline] echo [2021-05-21T02:43:02.442Z] GIT_COMMIT: ab0198ba1847eb91fddbfff09f9fc233f4260888, Commit Message: Merge commit 'e8c677d1df210277adef4aff331a8a81997773cd' into HEAD [Pipeline] echo [2021-05-21T02:43:02.455Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:43:03.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T02:43:03.037Z] [2021-05-21T02:43:03.037Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:43:03.362Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T02:43:03.362Z] latest: Pulling from edgex-devops/git-semver [2021-05-21T02:43:03.362Z] 31603596830f: Pulling fs layer [2021-05-21T02:43:03.362Z] 54011a49482f: Pulling fs layer [2021-05-21T02:43:03.362Z] a6820b24f6d8: Pulling fs layer [2021-05-21T02:43:03.362Z] f581987b2513: Pulling fs layer [2021-05-21T02:43:03.362Z] f581987b2513: Waiting [2021-05-21T02:43:03.362Z] 54011a49482f: Verifying Checksum [2021-05-21T02:43:03.362Z] 54011a49482f: Download complete [2021-05-21T02:43:03.362Z] 31603596830f: Verifying Checksum [2021-05-21T02:43:03.362Z] 31603596830f: Download complete [2021-05-21T02:43:03.625Z] a6820b24f6d8: Verifying Checksum [2021-05-21T02:43:03.625Z] a6820b24f6d8: Download complete [2021-05-21T02:43:03.625Z] f581987b2513: Verifying Checksum [2021-05-21T02:43:03.625Z] f581987b2513: Download complete [2021-05-21T02:43:03.625Z] 31603596830f: Pull complete [2021-05-21T02:43:03.896Z] 54011a49482f: Pull complete [2021-05-21T02:43:04.474Z] a6820b24f6d8: Pull complete [2021-05-21T02:43:04.735Z] f581987b2513: Pull complete [2021-05-21T02:43:04.735Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-21T02:43:04.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T02:43:04.735Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-21T02:43:04.814Z] prd-centos7-docker-4c-2g-15447 does not seem to be running inside a container [2021-05-21T02:43:04.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-937 -v /w/workspace/dgexfoundry_device-sdk-go_PR-937:/w/workspace/dgexfoundry_device-sdk-go_PR-937:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-21T02:43:05.950Z] $ docker top 77fcb11bb0a8a1767af49e07dcc4311cb6d96fba7eb28ecf614763a64551d7f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-21T02:43:06.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T02:43:06.069Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T02:43:06.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T02:43:06.176Z] $ docker exec 77fcb11bb0a8a1767af49e07dcc4311cb6d96fba7eb28ecf614763a64551d7f5 ssh-agent [2021-05-21T02:43:06.275Z] SSH_AUTH_SOCK=/tmp/ssh-LW29l1CYD7G7/agent.13 [2021-05-21T02:43:06.275Z] SSH_AGENT_PID=19 [2021-05-21T02:43:06.283Z] Running ssh-add (command line suppressed) [2021-05-21T02:43:06.390Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp/private_key_8452075071791975042.key (/w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp/private_key_8452075071791975042.key) [2021-05-21T02:43:06.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T02:43:06.703Z] + git tag --points-at HEAD [Pipeline] } [2021-05-21T02:43:06.718Z] $ docker exec --env ******** --env ******** 77fcb11bb0a8a1767af49e07dcc4311cb6d96fba7eb28ecf614763a64551d7f5 ssh-agent -k [2021-05-21T02:43:06.810Z] unset SSH_AUTH_SOCK; [2021-05-21T02:43:06.811Z] unset SSH_AGENT_PID; [2021-05-21T02:43:06.811Z] echo Agent pid 19 killed; [2021-05-21T02:43:06.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-21T02:43:06.929Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T02:43:06.929Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T02:43:07.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T02:43:07.039Z] $ docker exec 77fcb11bb0a8a1767af49e07dcc4311cb6d96fba7eb28ecf614763a64551d7f5 ssh-agent [2021-05-21T02:43:07.141Z] SSH_AUTH_SOCK=/tmp/ssh-984h4sndYUCd/agent.52 [2021-05-21T02:43:07.141Z] SSH_AGENT_PID=59 [2021-05-21T02:43:07.147Z] Running ssh-add (command line suppressed) [2021-05-21T02:43:07.238Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp/private_key_6829424958581056065.key (/w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp/private_key_6829424958581056065.key) [2021-05-21T02:43:07.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T02:43:07.555Z] + git semver init [2021-05-21T02:43:07.555Z] # -> Open(): unable to determine branch for HEAD [2021-05-21T02:43:07.555Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-937/.git [2021-05-21T02:43:07.555Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-937 [2021-05-21T02:43:07.555Z] # $SEMVER_REMOTE_NAME = origin [2021-05-21T02:43:07.555Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-21T02:43:07.555Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-21T02:43:07.555Z] # $SEMVER_BRANCH = PR-937 [2021-05-21T02:43:07.555Z] # $SEMVER_TEMP = /tmp/semver-743856057 [2021-05-21T02:43:07.555Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-21T02:43:08.500Z] # '/tmp/semver-743856057' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-937/.semver' [2021-05-21T02:43:08.500Z] # -> Force: false [2021-05-21T02:43:08.500Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-937/.semver [Pipeline] } [2021-05-21T02:43:08.510Z] $ docker exec --env ******** --env ******** 77fcb11bb0a8a1767af49e07dcc4311cb6d96fba7eb28ecf614763a64551d7f5 ssh-agent -k [2021-05-21T02:43:08.616Z] unset SSH_AUTH_SOCK; [2021-05-21T02:43:08.617Z] unset SSH_AGENT_PID; [2021-05-21T02:43:08.617Z] echo Agent pid 59 killed; [2021-05-21T02:43:08.626Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-21T02:43:08.975Z] + git semver [Pipeline] } [2021-05-21T02:43:08.989Z] $ docker stop --time=1 77fcb11bb0a8a1767af49e07dcc4311cb6d96fba7eb28ecf614763a64551d7f5 [2021-05-21T02:43:10.288Z] $ docker rm -f 77fcb11bb0a8a1767af49e07dcc4311cb6d96fba7eb28ecf614763a64551d7f5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T02:43:10.650Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-21T02:43:10.885Z] Stashed 1 file(s) [Pipeline] echo [2021-05-21T02:43:10.888Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-21T02:43:26.167Z] Still waiting to schedule task [2021-05-21T02:43:26.168Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-21T02:43:26.171Z] Still waiting to schedule task [2021-05-21T02:43:26.171Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-21T02:45:39.539Z] Running on prd-centos7-docker-4c-2g-15450 in /w/workspace/dgexfoundry_device-sdk-go_PR-937 [Pipeline] { [Pipeline] ws [2021-05-21T02:45:39.568Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-21T02:45:39.708Z] Selected Git installation does not exist. Using Default [2021-05-21T02:45:39.708Z] The recommended git tool is: NONE [2021-05-21T02:45:42.123Z] using credential edgex-jenkins-ssh [2021-05-21T02:45:42.136Z] Cloning the remote Git repository [2021-05-21T02:45:42.153Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:45:42.216Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-21T02:45:42.255Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:45:42.255Z] > git --version # timeout=10 [2021-05-21T02:45:42.270Z] > git --version # 'git version 2.24.4' [2021-05-21T02:45:42.271Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:45:42.295Z] [INFO] Currently running in a labeled security context [2021-05-21T02:45:42.295Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T02:45:42.295Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8287988833433756341.key [2021-05-21T02:45:42.323Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T02:45:43.075Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T02:45:43.081Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T02:45:43.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T02:45:43.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:45:43.112Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:45:43.113Z] [INFO] Currently running in a labeled security context [2021-05-21T02:45:43.113Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T02:45:43.113Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7933014196208461943.key [2021-05-21T02:45:43.120Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/937/head:refs/remotes/origin/PR-937 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-21T02:45:43.540Z] Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit 4807d63d74d416322c085e3e8b470655de571f17 [2021-05-21T02:45:43.646Z] Merge succeeded, producing 59c84a027cf6727bd7e651c07bee5b79b8a99df3 [2021-05-21T02:45:43.647Z] Checking out Revision 59c84a027cf6727bd7e651c07bee5b79b8a99df3 (PR-937) [2021-05-21T02:45:43.546Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T02:45:43.557Z] > git checkout -f 4807d63d74d416322c085e3e8b470655de571f17 # timeout=10 [2021-05-21T02:45:43.595Z] > git remote # timeout=10 [2021-05-21T02:45:43.603Z] > git config --get remote.origin.url # timeout=10 [2021-05-21T02:45:43.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:45:43.608Z] [INFO] Currently running in a labeled security context [2021-05-21T02:45:43.609Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T02:45:43.609Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3391514788243194072.key [2021-05-21T02:45:43.616Z] > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 [2021-05-21T02:45:43.638Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-21T02:45:43.648Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T02:45:43.653Z] > git checkout -f 59c84a027cf6727bd7e651c07bee5b79b8a99df3 # timeout=10 [2021-05-21T02:45:47.191Z] Commit message: "Merge commit 'e8c677d1df210277adef4aff331a8a81997773cd' into HEAD" [2021-05-21T02:45:47.192Z] > git rev-list --no-walk 4807d63d74d416322c085e3e8b470655de571f17 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T02:45:48.241Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-21T02:45:48.570Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T02:45:48.868Z] + sudo service docker restart [2021-05-21T02:45:48.869Z] + true [2021-05-21T02:45:48.869Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T02:46:07.044Z] provisioning config files... [2021-05-21T02:46:07.059Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1420555572985079843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:46:07.407Z] ---> docker-login.sh [2021-05-21T02:46:07.407Z] nexus3.edgexfoundry.org:10001 [2021-05-21T02:46:07.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:46:07.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:46:07.933Z] Configure a credential helper to remove this warning. See [2021-05-21T02:46:07.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:46:07.933Z] [2021-05-21T02:46:07.933Z] Login Succeeded [2021-05-21T02:46:07.933Z] nexus3.edgexfoundry.org:10002 [2021-05-21T02:46:07.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:46:07.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:46:07.933Z] Configure a credential helper to remove this warning. See [2021-05-21T02:46:07.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:46:07.933Z] [2021-05-21T02:46:07.933Z] Login Succeeded [2021-05-21T02:46:07.933Z] nexus3.edgexfoundry.org:10003 [2021-05-21T02:46:08.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:46:08.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:46:08.200Z] Configure a credential helper to remove this warning. See [2021-05-21T02:46:08.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:46:08.200Z] [2021-05-21T02:46:08.200Z] Login Succeeded [2021-05-21T02:46:08.200Z] nexus3.edgexfoundry.org:10004 [2021-05-21T02:46:08.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:46:08.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:46:08.200Z] Configure a credential helper to remove this warning. See [2021-05-21T02:46:08.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:46:08.200Z] [2021-05-21T02:46:08.200Z] Login Succeeded [2021-05-21T02:46:08.200Z] docker.io [2021-05-21T02:46:08.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:46:08.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:46:08.720Z] Configure a credential helper to remove this warning. See [2021-05-21T02:46:08.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:46:08.720Z] [2021-05-21T02:46:08.720Z] Login Succeeded [2021-05-21T02:46:08.720Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T02:46:08.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-21T02:46:08.898Z] ========================================================= [2021-05-21T02:46:08.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-21T02:46:08.898Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:46:09.219Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-21T02:46:09.219Z] Sending build context to Docker daemon 2.592MB [2021-05-21T02:46:09.219Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T02:46:09.219Z] Step 2/8 : FROM ${BASE} [2021-05-21T02:46:09.479Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-21T02:46:09.479Z] 540db60ca938: Pulling fs layer [2021-05-21T02:46:09.479Z] adcc1eea9eea: Pulling fs layer [2021-05-21T02:46:09.479Z] 4c4ab2625f07: Pulling fs layer [2021-05-21T02:46:09.479Z] 0510c868ecb4: Pulling fs layer [2021-05-21T02:46:09.479Z] afea3b2eda06: Pulling fs layer [2021-05-21T02:46:09.479Z] 7809a108b3ef: Pulling fs layer [2021-05-21T02:46:09.479Z] f706445af74f: Pulling fs layer [2021-05-21T02:46:09.479Z] afea3b2eda06: Waiting [2021-05-21T02:46:09.479Z] 7809a108b3ef: Waiting [2021-05-21T02:46:09.479Z] f706445af74f: Waiting [2021-05-21T02:46:09.479Z] 0510c868ecb4: Waiting [2021-05-21T02:46:09.479Z] 4c4ab2625f07: Verifying Checksum [2021-05-21T02:46:09.479Z] 4c4ab2625f07: Download complete [2021-05-21T02:46:09.479Z] adcc1eea9eea: Verifying Checksum [2021-05-21T02:46:09.480Z] adcc1eea9eea: Download complete [2021-05-21T02:46:09.480Z] afea3b2eda06: Verifying Checksum [2021-05-21T02:46:09.480Z] afea3b2eda06: Download complete [2021-05-21T02:46:09.480Z] 540db60ca938: Verifying Checksum [2021-05-21T02:46:09.480Z] 540db60ca938: Download complete [2021-05-21T02:46:09.480Z] 7809a108b3ef: Verifying Checksum [2021-05-21T02:46:09.480Z] 7809a108b3ef: Download complete [2021-05-21T02:46:09.744Z] 540db60ca938: Pull complete [2021-05-21T02:46:10.003Z] adcc1eea9eea: Pull complete [2021-05-21T02:46:10.004Z] 4c4ab2625f07: Pull complete [2021-05-21T02:46:10.948Z] f706445af74f: Verifying Checksum [2021-05-21T02:46:10.948Z] f706445af74f: Download complete [2021-05-21T02:46:11.524Z] 0510c868ecb4: Verifying Checksum [2021-05-21T02:46:11.524Z] 0510c868ecb4: Download complete [2021-05-21T02:46:15.774Z] 0510c868ecb4: Pull complete [2021-05-21T02:46:15.774Z] afea3b2eda06: Pull complete [2021-05-21T02:46:15.774Z] 7809a108b3ef: Pull complete [2021-05-21T02:46:16.795Z] f706445af74f: Pull complete [2021-05-21T02:46:17.056Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-21T02:46:17.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-21T02:46:17.056Z] ---> b068be0155e3 [2021-05-21T02:46:17.056Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:46:28.964Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15451 in /w/workspace/dgexfoundry_device-sdk-go_PR-937 [Pipeline] { [Pipeline] ws [2021-05-21T02:46:28.984Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-21T02:46:29.228Z] Selected Git installation does not exist. Using Default [2021-05-21T02:46:29.228Z] The recommended git tool is: NONE [2021-05-21T02:46:31.981Z] ---> Running in 2094361333cd [2021-05-21T02:46:31.981Z] Removing intermediate container 2094361333cd [2021-05-21T02:46:31.981Z] ---> 40e17bd86d45 [2021-05-21T02:46:31.981Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:46:31.981Z] ---> Running in d4a180edb297 [2021-05-21T02:46:31.981Z] Removing intermediate container d4a180edb297 [2021-05-21T02:46:31.981Z] ---> dbb774343d98 [2021-05-21T02:46:31.981Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-21T02:46:31.981Z] ---> Running in 4fc4c4859f5c [2021-05-21T02:46:32.245Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T02:46:33.191Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T02:46:33.454Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-21T02:46:33.454Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-21T02:46:33.715Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-21T02:46:33.716Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-21T02:46:33.716Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-21T02:46:33.980Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-21T02:46:33.980Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T02:46:33.980Z] OK: 150 MiB in 46 packages [2021-05-21T02:46:34.777Z] using credential edgex-jenkins-ssh [2021-05-21T02:46:34.852Z] Cloning the remote Git repository [2021-05-21T02:46:34.927Z] Removing intermediate container 4fc4c4859f5c [2021-05-21T02:46:34.927Z] ---> efe25afc6ebe [2021-05-21T02:46:34.927Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-21T02:46:34.927Z] ---> Running in d6b71f38c047 [2021-05-21T02:46:35.189Z] Removing intermediate container d6b71f38c047 [2021-05-21T02:46:35.189Z] ---> 5abd7463fd6f [2021-05-21T02:46:35.189Z] Step 7/8 : COPY . . [2021-05-21T02:46:34.932Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:46:35.088Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-21T02:46:35.166Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:46:35.167Z] > git --version # timeout=10 [2021-05-21T02:46:35.188Z] > git --version # 'git version 2.17.1' [2021-05-21T02:46:35.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:46:35.304Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T02:46:36.132Z] ---> de41436d748c [2021-05-21T02:46:36.132Z] Step 8/8 : RUN go mod download [2021-05-21T02:46:36.132Z] ---> Running in 7df0bb13995b [2021-05-21T02:46:36.491Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T02:46:36.514Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T02:46:36.541Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T02:46:36.579Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:46:36.580Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:46:36.595Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/937/head:refs/remotes/origin/PR-937 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-21T02:46:37.128Z] Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit 4807d63d74d416322c085e3e8b470655de571f17 [2021-05-21T02:46:37.446Z] Merge succeeded, producing 16d4750313436e9df6d9df98f5711d4a67bcf460 [2021-05-21T02:46:37.446Z] Checking out Revision 16d4750313436e9df6d9df98f5711d4a67bcf460 (PR-937) [2021-05-21T02:46:37.148Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T02:46:37.171Z] > git checkout -f 4807d63d74d416322c085e3e8b470655de571f17 # timeout=10 [2021-05-21T02:46:37.281Z] > git remote # timeout=10 [2021-05-21T02:46:37.300Z] > git config --get remote.origin.url # timeout=10 [2021-05-21T02:46:37.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:46:37.338Z] > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 [2021-05-21T02:46:37.426Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-21T02:46:37.452Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T02:46:37.465Z] > git checkout -f 16d4750313436e9df6d9df98f5711d4a67bcf460 # timeout=10 [2021-05-21T02:46:41.790Z] Commit message: "Merge commit 'e8c677d1df210277adef4aff331a8a81997773cd' into HEAD" [2021-05-21T02:46:41.800Z] > git rev-list --no-walk 4807d63d74d416322c085e3e8b470655de571f17 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T02:46:43.158Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-21T02:46:43.565Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T02:46:43.905Z] + sudo service docker restart [2021-05-21T02:46:43.905Z] + true [2021-05-21T02:46:54.267Z] Removing intermediate container 7df0bb13995b [2021-05-21T02:46:54.267Z] ---> 8e2a315d0464 [2021-05-21T02:46:54.267Z] Successfully built 8e2a315d0464 [2021-05-21T02:46:54.267Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:46:54.570Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T02:46:54.570Z] . [Pipeline] withDockerContainer [2021-05-21T02:46:54.659Z] prd-centos7-docker-4c-2g-15450 does not seem to be running inside a container [2021-05-21T02:46:54.698Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-21T02:46:55.289Z] $ docker top 653b8cc00f3d2c57f8e954b5736fd2cd545a4ceabe165a394fdafe38221ab292 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T02:46:55.700Z] + go version [2021-05-21T02:46:55.700Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-21T02:46:55.705Z] $ docker stop --time=1 653b8cc00f3d2c57f8e954b5736fd2cd545a4ceabe165a394fdafe38221ab292 [2021-05-21T02:46:57.123Z] $ docker rm -f 653b8cc00f3d2c57f8e954b5736fd2cd545a4ceabe165a394fdafe38221ab292 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:46:57.731Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T02:46:57.731Z] . [Pipeline] withDockerContainer [2021-05-21T02:46:57.815Z] prd-centos7-docker-4c-2g-15450 does not seem to be running inside a container [2021-05-21T02:46:57.859Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-21T02:46:58.427Z] $ docker top 0eb17789989abc1918f2ec771025ed5243418bc932c6c480241f14a38d207e1e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T02:46:58.852Z] + go mod tidy [Pipeline] sh [2021-05-21T02:46:59.416Z] + make test [2021-05-21T02:46:59.416Z] go mod tidy [2021-05-21T02:46:59.687Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T02:47:02.248Z] provisioning config files... [2021-05-21T02:47:02.276Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4757176349376596659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:47:02.655Z] ---> docker-login.sh [2021-05-21T02:47:02.655Z] nexus3.edgexfoundry.org:10001 [2021-05-21T02:47:03.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:47:03.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:47:03.907Z] Configure a credential helper to remove this warning. See [2021-05-21T02:47:03.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:47:03.907Z] [2021-05-21T02:47:03.907Z] Login Succeeded [2021-05-21T02:47:03.907Z] nexus3.edgexfoundry.org:10002 [2021-05-21T02:47:04.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:47:04.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:47:04.182Z] Configure a credential helper to remove this warning. See [2021-05-21T02:47:04.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:47:04.182Z] [2021-05-21T02:47:04.182Z] Login Succeeded [2021-05-21T02:47:04.182Z] nexus3.edgexfoundry.org:10003 [2021-05-21T02:47:04.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:47:04.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:47:04.782Z] Configure a credential helper to remove this warning. See [2021-05-21T02:47:04.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:47:04.782Z] [2021-05-21T02:47:04.782Z] Login Succeeded [2021-05-21T02:47:04.782Z] nexus3.edgexfoundry.org:10004 [2021-05-21T02:47:05.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:47:05.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:47:05.381Z] Configure a credential helper to remove this warning. See [2021-05-21T02:47:05.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:47:05.381Z] [2021-05-21T02:47:05.381Z] Login Succeeded [2021-05-21T02:47:05.381Z] docker.io [2021-05-21T02:47:05.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:47:06.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:47:06.251Z] Configure a credential helper to remove this warning. See [2021-05-21T02:47:06.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:47:06.251Z] [2021-05-21T02:47:06.251Z] Login Succeeded [2021-05-21T02:47:06.251Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T02:47:06.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2021-05-21T02:47:06.321Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] unstash [Pipeline] echo [2021-05-21T02:47:06.863Z] ========================================================= [2021-05-21T02:47:06.863Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-21T02:47:06.863Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:47:07.247Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-21T02:47:07.845Z] Sending build context to Docker daemon 2.591MB [2021-05-21T02:47:07.845Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T02:47:07.845Z] Step 2/8 : FROM ${BASE} [2021-05-21T02:47:08.121Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-21T02:47:08.121Z] 595b0fe564bb: Pulling fs layer [2021-05-21T02:47:08.121Z] 7186ed65a4f7: Pulling fs layer [2021-05-21T02:47:08.121Z] 316046926c0a: Pulling fs layer [2021-05-21T02:47:08.121Z] 4ebd0625c992: Pulling fs layer [2021-05-21T02:47:08.121Z] 207e8628e3a3: Pulling fs layer [2021-05-21T02:47:08.121Z] c791037a9be2: Pulling fs layer [2021-05-21T02:47:08.121Z] ffd874e62e21: Pulling fs layer [2021-05-21T02:47:08.121Z] 207e8628e3a3: Waiting [2021-05-21T02:47:08.121Z] c791037a9be2: Waiting [2021-05-21T02:47:08.121Z] ffd874e62e21: Waiting [2021-05-21T02:47:08.121Z] 4ebd0625c992: Waiting [2021-05-21T02:47:08.121Z] 316046926c0a: Verifying Checksum [2021-05-21T02:47:08.121Z] 316046926c0a: Download complete [2021-05-21T02:47:08.122Z] 7186ed65a4f7: Download complete [2021-05-21T02:47:08.122Z] 207e8628e3a3: Download complete [2021-05-21T02:47:08.122Z] c791037a9be2: Verifying Checksum [2021-05-21T02:47:08.122Z] c791037a9be2: Download complete [2021-05-21T02:47:08.122Z] 595b0fe564bb: Verifying Checksum [2021-05-21T02:47:08.122Z] 595b0fe564bb: Download complete [2021-05-21T02:47:08.724Z] 595b0fe564bb: Pull complete [2021-05-21T02:47:09.725Z] 7186ed65a4f7: Pull complete [2021-05-21T02:47:10.003Z] 316046926c0a: Pull complete [2021-05-21T02:47:10.277Z] ffd874e62e21: Verifying Checksum [2021-05-21T02:47:10.277Z] ffd874e62e21: Download complete [2021-05-21T02:47:11.723Z] 4ebd0625c992: Verifying Checksum [2021-05-21T02:47:11.723Z] 4ebd0625c992: Download complete [2021-05-21T02:47:21.902Z] 4ebd0625c992: Pull complete [2021-05-21T02:47:21.902Z] 207e8628e3a3: Pull complete [2021-05-21T02:47:22.505Z] c791037a9be2: Pull complete [2021-05-21T02:47:26.832Z] ffd874e62e21: Pull complete [2021-05-21T02:47:26.832Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-21T02:47:26.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-21T02:47:26.832Z] ---> cfc18b08335c [2021-05-21T02:47:26.832Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:47:28.322Z] ---> Running in 57cf42c5d4ed [2021-05-21T02:47:28.935Z] Removing intermediate container 57cf42c5d4ed [2021-05-21T02:47:28.935Z] ---> 2a1b56b68f48 [2021-05-21T02:47:28.935Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:47:28.935Z] ---> Running in 3a3a4a85f9a4 [2021-05-21T02:47:31.565Z] Removing intermediate container 3a3a4a85f9a4 [2021-05-21T02:47:31.565Z] ---> 83b0af75b833 [2021-05-21T02:47:31.565Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-21T02:47:31.565Z] ---> Running in e7cf0fbf291c [2021-05-21T02:47:33.005Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T02:47:33.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-21T02:47:33.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-21T02:47:33.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-21T02:47:33.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 25.4% of statements [2021-05-21T02:47:33.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-21T02:47:33.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 28.1% of statements [2021-05-21T02:47:33.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2021-05-21T02:47:33.597Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T02:47:34.413Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.044s coverage: 10.7% of statements [2021-05-21T02:47:34.413Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-21T02:47:34.413Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-21T02:47:34.413Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-21T02:47:34.413Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.074s coverage: 30.2% of statements [2021-05-21T02:47:34.413Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-21T02:47:34.578Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-21T02:47:34.578Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-21T02:47:34.849Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-21T02:47:34.850Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-21T02:47:34.850Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-21T02:47:35.123Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-21T02:47:35.123Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T02:47:35.123Z] OK: 139 MiB in 46 packages [2021-05-21T02:47:35.809Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.052s coverage: 83.3% of statements [2021-05-21T02:47:35.809Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-21T02:47:35.809Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-21T02:47:35.809Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 58.0% of statements [2021-05-21T02:47:36.570Z] Removing intermediate container e7cf0fbf291c [2021-05-21T02:47:36.570Z] ---> 9af790e3e99d [2021-05-21T02:47:36.570Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-21T02:47:36.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.882s coverage: 89.2% of statements [2021-05-21T02:47:36.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-21T02:47:36.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.0% of statements [2021-05-21T02:47:36.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-21T02:47:36.843Z] ---> Running in 4e76c1492e6e [2021-05-21T02:47:37.029Z] GO111MODULE=on go vet ./... [2021-05-21T02:47:37.441Z] Removing intermediate container 4e76c1492e6e [2021-05-21T02:47:37.441Z] ---> 3d04a4374cd9 [2021-05-21T02:47:37.441Z] Step 7/8 : COPY . . [2021-05-21T02:47:38.882Z] ---> 0ce684a36f9e [2021-05-21T02:47:38.882Z] Step 8/8 : RUN go mod download [2021-05-21T02:47:38.882Z] ---> Running in 824a0db49485 [2021-05-21T02:47:55.303Z] gofmt -l . [2021-05-21T02:47:55.303Z] [ "`gofmt -l .`" = "" ] [2021-05-21T02:47:55.303Z] ./bin/test-attribution-txt.sh [2021-05-21T02:47:55.884Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-21T02:47:55.889Z] $ docker stop --time=1 0eb17789989abc1918f2ec771025ed5243418bc932c6c480241f14a38d207e1e [2021-05-21T02:47:57.417Z] $ docker rm -f 0eb17789989abc1918f2ec771025ed5243418bc932c6c480241f14a38d207e1e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T02:47:57.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-21T02:47:58.165Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-21T02:47:59.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-21T02:47:59.753Z] + ls -al . [2021-05-21T02:47:59.753Z] total 212 [2021-05-21T02:47:59.754Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 21 02:47 . [2021-05-21T02:47:59.754Z] drwxrwxr-x. 4 jenkins jenkins 28 May 21 02:45 .. [2021-05-21T02:47:59.754Z] drwxrwxr-x. 2 jenkins jenkins 64 May 21 02:45 bin [2021-05-21T02:47:59.754Z] -rw-r--r--. 1 jenkins jenkins 126187 May 21 02:47 coverage.out [2021-05-21T02:47:59.754Z] -rw-rw-r--. 1 jenkins jenkins 987 May 21 02:45 Dockerfile.build [2021-05-21T02:47:59.754Z] -rw-rw-r--. 1 jenkins jenkins 140 May 21 02:45 .dockerignore [2021-05-21T02:47:59.754Z] drwxrwxr-x. 5 jenkins jenkins 62 May 21 02:45 example [2021-05-21T02:47:59.754Z] drwxrwxr-x. 8 jenkins jenkins 179 May 21 02:45 .git [2021-05-21T02:47:59.754Z] drwxrwxr-x. 2 jenkins jenkins 103 May 21 02:45 .github [2021-05-21T02:47:59.754Z] -rw-rw-r--. 1 jenkins jenkins 138 May 21 02:45 .gitignore [2021-05-21T02:47:59.754Z] -rw-r--r--. 1 jenkins jenkins 575 May 21 02:47 go.mod [2021-05-21T02:47:59.754Z] -rw-r--r--. 1 jenkins jenkins 20803 May 21 02:46 go.sum [2021-05-21T02:47:59.754Z] drwxrwxr-x. 15 jenkins jenkins 224 May 21 02:45 internal [2021-05-21T02:47:59.754Z] -rw-rw-r--. 1 jenkins jenkins 894 May 21 02:45 Jenkinsfile [2021-05-21T02:47:59.754Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 21 02:45 LICENSE [2021-05-21T02:47:59.754Z] -rw-rw-r--. 1 jenkins jenkins 1026 May 21 02:45 Makefile [2021-05-21T02:47:59.754Z] drwxrwxr-x. 4 jenkins jenkins 26 May 21 02:45 openapi [2021-05-21T02:47:59.754Z] drwxrwxr-x. 5 jenkins jenkins 50 May 21 02:45 pkg [2021-05-21T02:47:59.754Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 21 02:45 README.md [2021-05-21T02:47:59.754Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 21 02:45 RELEASE-NOTES.txt [2021-05-21T02:47:59.754Z] drwxrwxr-x. 4 jenkins jenkins 54 May 21 02:45 snap [2021-05-21T02:47:59.754Z] -rw-rw-r--. 1 jenkins jenkins 5 May 21 02:43 VERSION [2021-05-21T02:47:59.754Z] -rw-rw-r--. 1 jenkins jenkins 222 May 21 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:48:00.068Z] + 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=59c84a027cf6727bd7e651c07bee5b79b8a99df3 --label arch=amd64 --label version=0.0.0 . [2021-05-21T02:48:00.068Z] Sending build context to Docker daemon 2.719MB [2021-05-21T02:48:00.068Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T02:48:00.068Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-21T02:48:00.068Z] ---> 8e2a315d0464 [2021-05-21T02:48:00.068Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-21T02:48:00.068Z] ---> Running in 2af40539541c [2021-05-21T02:48:00.334Z] Removing intermediate container 2af40539541c [2021-05-21T02:48:00.334Z] ---> d0dbeaa767ff [2021-05-21T02:48:00.334Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:48:00.334Z] ---> Running in 16e5252078f0 [2021-05-21T02:48:00.334Z] Removing intermediate container 16e5252078f0 [2021-05-21T02:48:00.334Z] ---> 6323439c0435 [2021-05-21T02:48:00.334Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:48:00.334Z] ---> Running in 55c0eb88345a [2021-05-21T02:48:00.913Z] Removing intermediate container 55c0eb88345a [2021-05-21T02:48:00.913Z] ---> 683fd0a440b2 [2021-05-21T02:48:00.913Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-21T02:48:00.913Z] ---> Running in 0047559cc392 [2021-05-21T02:48:01.174Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T02:48:02.126Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T02:48:02.387Z] OK: 150 MiB in 46 packages [2021-05-21T02:48:02.649Z] Removing intermediate container 0047559cc392 [2021-05-21T02:48:02.649Z] ---> d0699874f113 [2021-05-21T02:48:02.649Z] Step 7/23 : COPY . . [2021-05-21T02:48:02.912Z] ---> 93944a1ad686 [2021-05-21T02:48:02.912Z] Step 8/23 : RUN go mod download [2021-05-21T02:48:02.912Z] ---> Running in 0b28817136c6 [2021-05-21T02:48:03.855Z] Removing intermediate container 0b28817136c6 [2021-05-21T02:48:03.855Z] ---> c83cfd592d62 [2021-05-21T02:48:03.855Z] Step 9/23 : RUN make build [2021-05-21T02:48:03.855Z] ---> Running in 6525b53c6f4d [2021-05-21T02:48:04.120Z] go mod tidy [2021-05-21T02:48:04.120Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-21T02:48:05.723Z] Removing intermediate container 824a0db49485 [2021-05-21T02:48:05.723Z] ---> 4784299006e1 [2021-05-21T02:48:05.723Z] Successfully built 4784299006e1 [2021-05-21T02:48:05.723Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:48:06.074Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T02:48:06.074Z] . [Pipeline] withDockerContainer [2021-05-21T02:48:06.315Z] prd-ubuntu18.04-docker-arm64-4c-16g-15451 does not seem to be running inside a container [2021-05-21T02:48:06.404Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-21T02:48:07.972Z] $ docker top 967785d4255d948ec7256c88e64ccaa08e89364776d2300c2fe7855e1a7bcf66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T02:48:08.992Z] + go version [2021-05-21T02:48:08.992Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-21T02:48:09.016Z] $ docker stop --time=1 967785d4255d948ec7256c88e64ccaa08e89364776d2300c2fe7855e1a7bcf66 [2021-05-21T02:48:11.008Z] $ docker rm -f 967785d4255d948ec7256c88e64ccaa08e89364776d2300c2fe7855e1a7bcf66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:48:11.906Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T02:48:11.907Z] . [Pipeline] withDockerContainer [2021-05-21T02:48:12.208Z] prd-ubuntu18.04-docker-arm64-4c-16g-15451 does not seem to be running inside a container [2021-05-21T02:48:12.299Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-21T02:48:14.147Z] $ docker top 4f5a4179e54a99298b8c72fa5dcb05c5a4071ba5adb8a96ba5d1f6a8b95e05ad -eo pid,comm [2021-05-21T02:48:14.218Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] { [Pipeline] sh [2021-05-21T02:48:15.163Z] + go mod tidy [2021-05-21T02:48:15.604Z] Removing intermediate container 6525b53c6f4d [2021-05-21T02:48:15.604Z] ---> 05dcc89afca8 [2021-05-21T02:48:15.604Z] Step 10/23 : FROM alpine:3.12 [2021-05-21T02:48:15.864Z] 3.12: Pulling from library/alpine [2021-05-21T02:48:16.127Z] 339de151aab4: Pulling fs layer [2021-05-21T02:48:16.127Z] 339de151aab4: Verifying Checksum [2021-05-21T02:48:16.127Z] 339de151aab4: Download complete [Pipeline] sh [2021-05-21T02:48:16.390Z] 339de151aab4: Pull complete [2021-05-21T02:48:16.390Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-21T02:48:16.390Z] Status: Downloaded newer image for alpine:3.12 [2021-05-21T02:48:16.390Z] ---> 13621d1b12d4 [2021-05-21T02:48:16.390Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:48:16.390Z] ---> Running in 80c7afee1905 [2021-05-21T02:48:16.652Z] Removing intermediate container 80c7afee1905 [2021-05-21T02:48:16.652Z] ---> b83c11595b15 [2021-05-21T02:48:16.652Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:48:16.839Z] + make test [2021-05-21T02:48:16.839Z] go mod tidy [2021-05-21T02:48:16.914Z] ---> Running in b89776e822e2 [2021-05-21T02:48:17.439Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-21T02:48:17.496Z] Removing intermediate container b89776e822e2 [2021-05-21T02:48:17.496Z] ---> 79bbd5ad12bf [2021-05-21T02:48:17.496Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-21T02:48:17.496Z] ---> Running in 4122858f538d [2021-05-21T02:48:18.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-21T02:48:18.644Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-21T02:48:18.905Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-21T02:48:19.167Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-21T02:48:19.167Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-21T02:48:20.108Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-21T02:48:20.368Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-21T02:48:20.368Z] Executing busybox-1.31.1-r20.trigger [2021-05-21T02:48:20.368Z] OK: 8 MiB in 19 packages [2021-05-21T02:48:20.630Z] Removing intermediate container 4122858f538d [2021-05-21T02:48:20.630Z] ---> 789ec6c8717c [2021-05-21T02:48:20.630Z] Step 14/23 : WORKDIR / [2021-05-21T02:48:20.630Z] ---> Running in 043a2ed64757 [2021-05-21T02:48:20.891Z] Removing intermediate container 043a2ed64757 [2021-05-21T02:48:20.891Z] ---> 2e0fba970412 [2021-05-21T02:48:20.891Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-21T02:48:21.153Z] ---> 194600f80d21 [2021-05-21T02:48:21.153Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-21T02:48:21.414Z] ---> 6217b719814e [2021-05-21T02:48:21.414Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-21T02:48:21.414Z] ---> e22815c2d5b1 [2021-05-21T02:48:21.414Z] Step 18/23 : EXPOSE 59999 [2021-05-21T02:48:21.677Z] ---> Running in 36836b07f7d0 [2021-05-21T02:48:21.677Z] Removing intermediate container 36836b07f7d0 [2021-05-21T02:48:21.677Z] ---> c281b1fc811b [2021-05-21T02:48:21.677Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-21T02:48:21.677Z] ---> Running in ad9a3f5d12c4 [2021-05-21T02:48:21.677Z] Removing intermediate container ad9a3f5d12c4 [2021-05-21T02:48:21.677Z] ---> 45cac870880c [2021-05-21T02:48:21.677Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-21T02:48:21.677Z] ---> Running in 8960ca7e6291 [2021-05-21T02:48:21.942Z] Removing intermediate container 8960ca7e6291 [2021-05-21T02:48:21.942Z] ---> 20c3ea3566da [2021-05-21T02:48:21.942Z] Step 21/23 : LABEL arch=amd64 [2021-05-21T02:48:21.942Z] ---> Running in 33b66011a673 [2021-05-21T02:48:21.942Z] Removing intermediate container 33b66011a673 [2021-05-21T02:48:21.942Z] ---> 585b41ac9ec8 [2021-05-21T02:48:21.942Z] Step 22/23 : LABEL git_sha=59c84a027cf6727bd7e651c07bee5b79b8a99df3 [2021-05-21T02:48:21.942Z] ---> Running in cf0465640fc9 [2021-05-21T02:48:22.204Z] Removing intermediate container cf0465640fc9 [2021-05-21T02:48:22.204Z] ---> 0118f79cbb9d [2021-05-21T02:48:22.204Z] Step 23/23 : LABEL version=0.0.0 [2021-05-21T02:48:22.204Z] ---> Running in a8f82da56f75 [2021-05-21T02:48:22.204Z] Removing intermediate container a8f82da56f75 [2021-05-21T02:48:22.204Z] ---> 09729b6292da [2021-05-21T02:48:22.204Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-21T02:48:22.204Z] Successfully built 09729b6292da [2021-05-21T02:48:22.204Z] 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-05-21T02:48:22.963Z] ---> job-cost.sh [2021-05-21T02:48:22.963Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oyfz [2021-05-21T02:48:32.987Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T02:48:44.286Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-21T02:48:48.005Z] lf-activate-venv(): INFO: Adding /tmp/venv-oyfz/bin to PATH [2021-05-21T02:48:48.006Z] INFO: No Stack... [2021-05-21T02:48:48.578Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T02:48:49.152Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T02:48:49.462Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-21T02:48:49.462Z] + cut -d, -f6 [Pipeline] lock [2021-05-21T02:48:49.501Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-937-2-stack-cost] [2021-05-21T02:48:49.518Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-937-2-stack-cost] did not exist. Created. [2021-05-21T02:48:49.518Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-937-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T02:48:49.857Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-21T02:48:49.923Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T02:48:49.951Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-937-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-21T02:49:52.442Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-21T02:49:52.442Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-21T02:49:52.442Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-21T02:50:07.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.296s coverage: 25.4% of statements [2021-05-21T02:50:07.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-21T02:50:07.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.228s coverage: 28.1% of statements [2021-05-21T02:50:07.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.211s coverage: 78.9% of statements [2021-05-21T02:50:07.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.208s coverage: 10.7% of statements [2021-05-21T02:50:07.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-21T02:50:07.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-21T02:50:07.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-21T02:50:09.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.322s coverage: 30.2% of statements [2021-05-21T02:50:09.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-21T02:50:11.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.211s coverage: 83.3% of statements [2021-05-21T02:50:11.656Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-21T02:50:11.656Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-21T02:50:11.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.502s coverage: 58.0% of statements [2021-05-21T02:50:13.097Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.259s coverage: 89.2% of statements [2021-05-21T02:50:13.097Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-21T02:50:13.373Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.190s coverage: 5.0% of statements [2021-05-21T02:50:13.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-21T02:50:13.968Z] GO111MODULE=on go vet ./... [2021-05-21T02:51:10.700Z] gofmt -l . [2021-05-21T02:51:10.700Z] [ "`gofmt -l .`" = "" ] [2021-05-21T02:51:10.700Z] ./bin/test-attribution-txt.sh [2021-05-21T02:51:11.306Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-21T02:51:11.600Z] $ docker stop --time=1 4f5a4179e54a99298b8c72fa5dcb05c5a4071ba5adb8a96ba5d1f6a8b95e05ad [2021-05-21T02:51:13.659Z] $ docker rm -f 4f5a4179e54a99298b8c72fa5dcb05c5a4071ba5adb8a96ba5d1f6a8b95e05ad [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T02:51:14.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-21T02:51:14.781Z] Warning: overwriting stash ‘coverage-report’ [2021-05-21T02:51:15.405Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T02:51:15.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-21T02:51:16.302Z] + ls -al . [2021-05-21T02:51:16.302Z] total 248 [2021-05-21T02:51:16.302Z] drwxrwxr-x 10 jenkins jenkins 4096 May 21 02:51 . [2021-05-21T02:51:16.302Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 02:46 .. [2021-05-21T02:51:16.302Z] -rw-rw-r-- 1 jenkins jenkins 140 May 21 02:46 .dockerignore [2021-05-21T02:51:16.302Z] drwxrwxr-x 8 jenkins jenkins 4096 May 21 02:46 .git [2021-05-21T02:51:16.302Z] drwxrwxr-x 2 jenkins jenkins 4096 May 21 02:46 .github [2021-05-21T02:51:16.302Z] -rw-rw-r-- 1 jenkins jenkins 138 May 21 02:46 .gitignore [2021-05-21T02:51:16.302Z] -rw-rw-r-- 1 jenkins jenkins 987 May 21 02:46 Dockerfile.build [2021-05-21T02:51:16.302Z] -rw-rw-r-- 1 jenkins jenkins 894 May 21 02:46 Jenkinsfile [2021-05-21T02:51:16.302Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 21 02:46 LICENSE [2021-05-21T02:51:16.302Z] -rw-rw-r-- 1 jenkins jenkins 1026 May 21 02:46 Makefile [2021-05-21T02:51:16.302Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 21 02:46 README.md [2021-05-21T02:51:16.302Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 21 02:46 RELEASE-NOTES.txt [2021-05-21T02:51:16.302Z] -rw-rw-r-- 1 jenkins jenkins 5 May 21 02:43 VERSION [2021-05-21T02:51:16.302Z] drwxrwxr-x 2 jenkins jenkins 4096 May 21 02:46 bin [2021-05-21T02:51:16.302Z] -rw-r--r-- 1 jenkins jenkins 126187 May 21 02:50 coverage.out [2021-05-21T02:51:16.302Z] drwxrwxr-x 5 jenkins jenkins 4096 May 21 02:46 example [2021-05-21T02:51:16.302Z] -rw-r--r-- 1 jenkins jenkins 575 May 21 02:51 go.mod [2021-05-21T02:51:16.302Z] -rw-r--r-- 1 jenkins jenkins 20803 May 21 02:48 go.sum [2021-05-21T02:51:16.302Z] drwxrwxr-x 15 jenkins jenkins 4096 May 21 02:46 internal [2021-05-21T02:51:16.302Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 02:46 openapi [2021-05-21T02:51:16.302Z] drwxrwxr-x 5 jenkins jenkins 4096 May 21 02:46 pkg [2021-05-21T02:51:16.302Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 02:46 snap [2021-05-21T02:51:16.302Z] -rw-rw-r-- 1 jenkins jenkins 222 May 21 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:51:16.649Z] + 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=16d4750313436e9df6d9df98f5711d4a67bcf460 --label arch=arm64 --label version=0.0.0 . [2021-05-21T02:51:17.252Z] Sending build context to Docker daemon 2.718MB [2021-05-21T02:51:17.252Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T02:51:17.252Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-21T02:51:17.252Z] ---> 4784299006e1 [2021-05-21T02:51:17.252Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-21T02:51:17.531Z] ---> Running in 61a1eee0f7d9 [2021-05-21T02:51:18.128Z] Removing intermediate container 61a1eee0f7d9 [2021-05-21T02:51:18.128Z] ---> 6563df24e632 [2021-05-21T02:51:18.128Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:51:18.128Z] ---> Running in cbcb17623344 [2021-05-21T02:51:18.724Z] Removing intermediate container cbcb17623344 [2021-05-21T02:51:18.724Z] ---> 965d9d8768e5 [2021-05-21T02:51:18.724Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:51:19.011Z] ---> Running in f68c2ba98cde [2021-05-21T02:51:20.988Z] Removing intermediate container f68c2ba98cde [2021-05-21T02:51:20.988Z] ---> 2a6b949fe94f [2021-05-21T02:51:20.988Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-21T02:51:21.261Z] ---> Running in 9f0fdfbeb999 [2021-05-21T02:51:22.698Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T02:51:23.308Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T02:51:24.748Z] OK: 139 MiB in 46 packages [2021-05-21T02:51:25.728Z] Removing intermediate container 9f0fdfbeb999 [2021-05-21T02:51:25.728Z] ---> 0dee131eebf1 [2021-05-21T02:51:25.728Z] Step 7/23 : COPY . . [2021-05-21T02:51:27.162Z] ---> 8ba032f62186 [2021-05-21T02:51:27.163Z] Step 8/23 : RUN go mod download [2021-05-21T02:51:27.435Z] ---> Running in bb6a4c95b482 [2021-05-21T02:51:30.061Z] Removing intermediate container bb6a4c95b482 [2021-05-21T02:51:30.061Z] ---> 3a42046f6ff9 [2021-05-21T02:51:30.061Z] Step 9/23 : RUN make build [2021-05-21T02:51:30.061Z] ---> Running in 6ccc8daeb978 [2021-05-21T02:51:31.043Z] go mod tidy [2021-05-21T02:51:31.643Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-21T02:52:04.023Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-21T02:52:06.627Z] Removing intermediate container 6ccc8daeb978 [2021-05-21T02:52:06.627Z] ---> d45c24407a90 [2021-05-21T02:52:06.627Z] Step 10/23 : FROM alpine:3.12 [2021-05-21T02:52:06.897Z] 3.12: Pulling from library/alpine [2021-05-21T02:52:07.170Z] d2f70382dc9a: Pulling fs layer [2021-05-21T02:52:07.445Z] d2f70382dc9a: Verifying Checksum [2021-05-21T02:52:07.445Z] d2f70382dc9a: Download complete [2021-05-21T02:52:08.039Z] d2f70382dc9a: Pull complete [2021-05-21T02:52:08.039Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-21T02:52:08.039Z] Status: Downloaded newer image for alpine:3.12 [2021-05-21T02:52:08.039Z] ---> 9852663dfa18 [2021-05-21T02:52:08.039Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:52:08.312Z] ---> Running in 4636d4a83e5e [2021-05-21T02:52:08.907Z] Removing intermediate container 4636d4a83e5e [2021-05-21T02:52:08.907Z] ---> 99292dc2b52c [2021-05-21T02:52:08.908Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:52:08.908Z] ---> Running in a95977d488de [2021-05-21T02:52:11.534Z] Removing intermediate container a95977d488de [2021-05-21T02:52:11.534Z] ---> d03713df048e [2021-05-21T02:52:11.534Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-21T02:52:11.534Z] ---> Running in c7ff05c96a50 [2021-05-21T02:52:12.512Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-21T02:52:13.106Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-21T02:52:14.084Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-21T02:52:14.084Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-21T02:52:14.084Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-21T02:52:14.354Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-21T02:52:14.354Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-21T02:52:14.631Z] Executing busybox-1.31.1-r20.trigger [2021-05-21T02:52:14.631Z] OK: 8 MiB in 19 packages [2021-05-21T02:52:15.669Z] Removing intermediate container c7ff05c96a50 [2021-05-21T02:52:15.669Z] ---> 5b60ef8626c9 [2021-05-21T02:52:15.669Z] Step 14/23 : WORKDIR / [2021-05-21T02:52:15.669Z] ---> Running in df11b6abe2fc [2021-05-21T02:52:16.268Z] Removing intermediate container df11b6abe2fc [2021-05-21T02:52:16.268Z] ---> 6f707170d9f2 [2021-05-21T02:52:16.268Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-21T02:52:16.865Z] ---> 4953a8d958b3 [2021-05-21T02:52:16.865Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-21T02:52:18.302Z] ---> 146241b0bcf9 [2021-05-21T02:52:18.302Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-21T02:52:18.899Z] ---> eae365b6275a [2021-05-21T02:52:18.899Z] Step 18/23 : EXPOSE 59999 [2021-05-21T02:52:19.172Z] ---> Running in 49a6da3ea521 [2021-05-21T02:52:19.448Z] Removing intermediate container 49a6da3ea521 [2021-05-21T02:52:19.448Z] ---> b8c6f9f3e61e [2021-05-21T02:52:19.448Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-21T02:52:19.724Z] ---> Running in ddbf3f8851ff [2021-05-21T02:52:20.319Z] Removing intermediate container ddbf3f8851ff [2021-05-21T02:52:20.319Z] ---> 85ab40ebe9d7 [2021-05-21T02:52:20.319Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-21T02:52:20.320Z] ---> Running in fe6d0b98609e [2021-05-21T02:52:20.918Z] Removing intermediate container fe6d0b98609e [2021-05-21T02:52:20.918Z] ---> f6a31aa5d067 [2021-05-21T02:52:20.918Z] Step 21/23 : LABEL arch=arm64 [2021-05-21T02:52:20.918Z] ---> Running in 06babe3732de [2021-05-21T02:52:21.515Z] Removing intermediate container 06babe3732de [2021-05-21T02:52:21.515Z] ---> f3068e756278 [2021-05-21T02:52:21.515Z] Step 22/23 : LABEL git_sha=16d4750313436e9df6d9df98f5711d4a67bcf460 [2021-05-21T02:52:21.515Z] ---> Running in 36c08b775431 [2021-05-21T02:52:22.112Z] Removing intermediate container 36c08b775431 [2021-05-21T02:52:22.112Z] ---> 4a8db127dc4c [2021-05-21T02:52:22.112Z] Step 23/23 : LABEL version=0.0.0 [2021-05-21T02:52:22.387Z] ---> Running in 4188a93fc09e [2021-05-21T02:52:22.658Z] Removing intermediate container 4188a93fc09e [2021-05-21T02:52:22.659Z] ---> fb139261d39e [2021-05-21T02:52:22.659Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-21T02:52:22.659Z] Successfully built fb139261d39e [2021-05-21T02:52:22.929Z] 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-05-21T02:52:23.542Z] ---> job-cost.sh [2021-05-21T02:52:23.542Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cASX [2021-05-21T02:53:02.632Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T02:54:39.400Z] lf-activate-venv(): INFO: Adding /tmp/venv-cASX/bin to PATH [2021-05-21T02:54:39.400Z] INFO: No Stack... [2021-05-21T02:54:39.401Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-21T02:54:39.401Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T02:54:39.748Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv+ [2021-05-21T02:54:39.748Z] cut -d, -f6 [Pipeline] lock [2021-05-21T02:54:39.813Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-937-2-stack-cost] [2021-05-21T02:54:39.826Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-937-2-stack-cost] did not exist. Created. [2021-05-21T02:54:39.826Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-937-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T02:54:40.205Z] /w/workspace/device-sdk-go/2@tmp/durable-14613c34/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-14613c34/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-21T02:54:40.545Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-21T02:54:40.566Z] Warning: overwriting stash ‘stack-cost’ [2021-05-21T02:54:40.719Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T02:54:40.739Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-937-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-05-21T02:54:41.286Z] provisioning config files... [2021-05-21T02:54:41.304Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp/config5501350367730989755tmp [Pipeline] { [Pipeline] sh [2021-05-21T02:54:41.636Z] + set +x [2021-05-21T02:54:41.636Z] + curl -s https://codecov.io/bash [2021-05-21T02:54:41.636Z] + bash -s -- [2021-05-21T02:54:41.636Z] [2021-05-21T02:54:41.636Z] _____ _ [2021-05-21T02:54:41.636Z] / ____| | | [2021-05-21T02:54:41.636Z] | | ___ __| | ___ ___ _____ __ [2021-05-21T02:54:41.636Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-21T02:54:41.636Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-21T02:54:41.636Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-21T02:54:41.636Z] Bash-1.0.2 [2021-05-21T02:54:41.636Z] [2021-05-21T02:54:41.636Z] [2021-05-21T02:54:41.636Z] ==> git version 2.24.4 found [2021-05-21T02:54:41.636Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-21T02:54:41.636Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-21T02:54:41.636Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-21T02:54:41.636Z] ==> Jenkins CI detected. [2021-05-21T02:54:41.636Z] project root: . [2021-05-21T02:54:41.636Z] --> token set from env [2021-05-21T02:54:41.636Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-21T02:54:41.636Z] ==> Running gcov in . (disable via -X gcov) [2021-05-21T02:54:41.636Z] ==> Python coveragepy not found [2021-05-21T02:54:41.636Z] ==> Searching for coverage reports in: [2021-05-21T02:54:41.636Z] + . [2021-05-21T02:54:41.636Z] -> Found 1 reports [2021-05-21T02:54:41.636Z] ==> Detecting git/mercurial file structure [2021-05-21T02:54:41.896Z] ==> Reading reports [2021-05-21T02:54:41.896Z] + ./coverage.out bytes=126187 [2021-05-21T02:54:41.896Z] ==> Appending adjustments [2021-05-21T02:54:41.896Z] https://docs.codecov.io/docs/fixing-reports [2021-05-21T02:54:41.897Z] + Found adjustments [2021-05-21T02:54:41.897Z] ==> Gzipping contents [2021-05-21T02:54:41.897Z] 20K /tmp/codecov.jBWRK1.gz [2021-05-21T02:54:41.897Z] ==> Uploading reports [2021-05-21T02:54:41.897Z] url: https://codecov.io [2021-05-21T02:54:41.897Z] query: branch=PR-937&commit=ab0198ba1847eb91fddbfff09f9fc233f4260888&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-937%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=937&job=&cmd_args= [2021-05-21T02:54:41.897Z] -> Pinging Codecov [2021-05-21T02:54:41.897Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-937&commit=ab0198ba1847eb91fddbfff09f9fc233f4260888&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-937%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=937&job=&cmd_args= [2021-05-21T02:54:43.285Z] -> Uploading to [2021-05-21T02:54:43.285Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-21/7E55EF52A471D76F132DFD9A03CDDE97/ab0198ba1847eb91fddbfff09f9fc233f4260888/b5d2e3aa-1b7a-4ca4-8093-fb4ee0040d64.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210521%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210521T025442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=91787730fc4bf0209b495bedffc5cca88b409b7c2303dff32ae64c7831b0d447 [2021-05-21T02:54:43.285Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-21T02:54:43.285Z] Dload Upload Total Spent Left Speed [2021-05-21T02:54:43.546Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16503 0 0 100 16503 0 50413 --:--:-- --:--:-- --:--:-- 50467 [2021-05-21T02:54:43.546Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ab0198ba1847eb91fddbfff09f9fc233f4260888 [Pipeline] } [2021-05-21T02:54:43.554Z] 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-05-21T02:54:45.124Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:54:45.718Z] ---> package-listing.sh [2021-05-21T02:54:45.718Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-21T02:54:45.718Z] ++ facter osfamily [2021-05-21T02:54:45.978Z] + OS_FAMILY=redhat [2021-05-21T02:54:45.978Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-937 [2021-05-21T02:54:45.978Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-21T02:54:45.978Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-21T02:54:45.978Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-21T02:54:45.978Z] + PACKAGES=/tmp/packages_start.txt [2021-05-21T02:54:45.978Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-937 ']' [2021-05-21T02:54:45.978Z] + PACKAGES=/tmp/packages_end.txt [2021-05-21T02:54:45.978Z] + case "${OS_FAMILY}" in [2021-05-21T02:54:45.978Z] + sort [2021-05-21T02:54:45.978Z] + rpm -qa [2021-05-21T02:54:46.549Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-21T02:54:46.549Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-21T02:54:46.549Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-21T02:54:46.549Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-937 ']' [2021-05-21T02:54:46.549Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-937/archives/ [2021-05-21T02:54:46.549Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-937/archives/ [Pipeline] echo [2021-05-21T02:54:46.564Z] 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-937/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-21T02:54:46.855Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:54:47.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T02:54:47.425Z] [2021-05-21T02:54:47.425Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:54:47.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T02:54:47.743Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-21T02:54:47.743Z] df20fa9351a1: Pulling fs layer [2021-05-21T02:54:47.743Z] 36b3adc4ff6f: Pulling fs layer [2021-05-21T02:54:47.743Z] 8ad3a11d3b57: Pulling fs layer [2021-05-21T02:54:47.743Z] 46f8f816bc3b: Pulling fs layer [2021-05-21T02:54:47.743Z] 93b61091891f: Pulling fs layer [2021-05-21T02:54:47.743Z] 93b9cdb0e59b: Pulling fs layer [2021-05-21T02:54:47.743Z] 5e14af77c1be: Pulling fs layer [2021-05-21T02:54:47.743Z] 01666e4c0597: Pulling fs layer [2021-05-21T02:54:47.743Z] aa168da1d23b: Pulling fs layer [2021-05-21T02:54:47.743Z] 46f8f816bc3b: Waiting [2021-05-21T02:54:47.743Z] 93b61091891f: Waiting [2021-05-21T02:54:47.743Z] 93b9cdb0e59b: Waiting [2021-05-21T02:54:47.743Z] 5e14af77c1be: Waiting [2021-05-21T02:54:47.743Z] 01666e4c0597: Waiting [2021-05-21T02:54:47.743Z] aa168da1d23b: Waiting [2021-05-21T02:54:47.743Z] 36b3adc4ff6f: Verifying Checksum [2021-05-21T02:54:47.743Z] 36b3adc4ff6f: Download complete [2021-05-21T02:54:47.743Z] 46f8f816bc3b: Verifying Checksum [2021-05-21T02:54:47.743Z] 46f8f816bc3b: Download complete [2021-05-21T02:54:47.743Z] df20fa9351a1: Verifying Checksum [2021-05-21T02:54:47.743Z] df20fa9351a1: Download complete [2021-05-21T02:54:47.743Z] 93b9cdb0e59b: Verifying Checksum [2021-05-21T02:54:47.743Z] 93b9cdb0e59b: Download complete [2021-05-21T02:54:47.743Z] 5e14af77c1be: Verifying Checksum [2021-05-21T02:54:47.743Z] 5e14af77c1be: Download complete [2021-05-21T02:54:48.006Z] 93b61091891f: Verifying Checksum [2021-05-21T02:54:48.006Z] 93b61091891f: Download complete [2021-05-21T02:54:48.006Z] 01666e4c0597: Verifying Checksum [2021-05-21T02:54:48.006Z] 01666e4c0597: Download complete [2021-05-21T02:54:48.006Z] df20fa9351a1: Pull complete [2021-05-21T02:54:48.267Z] 36b3adc4ff6f: Pull complete [2021-05-21T02:54:48.531Z] 8ad3a11d3b57: Verifying Checksum [2021-05-21T02:54:48.531Z] 8ad3a11d3b57: Download complete [2021-05-21T02:54:49.118Z] 8ad3a11d3b57: Pull complete [2021-05-21T02:54:49.118Z] 46f8f816bc3b: Pull complete [2021-05-21T02:54:49.691Z] 93b61091891f: Pull complete [2021-05-21T02:54:49.691Z] 93b9cdb0e59b: Pull complete [2021-05-21T02:54:49.691Z] 5e14af77c1be: Pull complete [2021-05-21T02:54:49.951Z] 01666e4c0597: Pull complete [2021-05-21T02:54:50.524Z] aa168da1d23b: Verifying Checksum [2021-05-21T02:54:50.524Z] aa168da1d23b: Download complete [2021-05-21T02:54:54.761Z] aa168da1d23b: Pull complete [2021-05-21T02:54:54.761Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-21T02:54:54.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T02:54:54.761Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-21T02:54:54.836Z] prd-centos7-docker-4c-2g-15447 does not seem to be running inside a container [2021-05-21T02:54:54.876Z] $ 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-937/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-937 -v /w/workspace/dgexfoundry_device-sdk-go_PR-937:/w/workspace/dgexfoundry_device-sdk-go_PR-937:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-21T02:54:57.127Z] $ docker top 786edcb3253119cb1fa22f41486281cb77a002276fc6b0f6e6d366cc43e981c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T02:54:57.526Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-21T02:54:57.836Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-21T02:54:58.139Z] + ls /var/log/sa-host [2021-05-21T02:54:58.139Z] + sadf -c /var/log/sa-host/sa05 [2021-05-21T02:54:58.139Z] file_magic: OK [2021-05-21T02:54:58.139Z] HZ: Using current value: 100 [2021-05-21T02:54:58.139Z] file_header: OK [2021-05-21T02:54:58.139Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-21T02:54:58.139Z] Statistics: [2021-05-21T02:54:58.139Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T02:54:58.139Z] File successfully converted to sysstat format version 12.2.1 [2021-05-21T02:54:58.139Z] + sadf -c /var/log/sa-host/sa21 [2021-05-21T02:54:58.139Z] file_magic: OK [2021-05-21T02:54:58.139Z] HZ: Using current value: 100 [2021-05-21T02:54:58.139Z] file_header: OK [2021-05-21T02:54:58.139Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-21T02:54:58.139Z] Statistics: [2021-05-21T02:54:58.139Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T02:54:58.139Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T02:54:58.327Z] provisioning config files... [2021-05-21T02:54:58.337Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-937@tmp/config3057155154885443488tmp [Pipeline] { [Pipeline] echo [2021-05-21T02:54:58.362Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:54:58.663Z] ---> create-netrc.sh [Pipeline] } [2021-05-21T02:54:58.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-21T02:54:58.700Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:54:59.011Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-21T02:54:59.021Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:54:59.365Z] ---> sudo-logs.sh [2021-05-21T02:54:59.365Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-21T02:54:59.404Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:54:59.710Z] ---> job-cost.sh [2021-05-21T02:54:59.710Z] lf-activate-venv: SKIPPING [2021-05-21T02:54:59.710Z] DEBUG: total: 0.18000000715255737 [2021-05-21T02:54:59.710Z] INFO: Retrieving Stack Cost... [2021-05-21T02:55:00.656Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T02:55:01.230Z] INFO: Archiving Costs [Pipeline] echo [2021-05-21T02:55:01.245Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:55:01.538Z] ---> logs-deploy.sh [2021-05-21T02:55:01.538Z] lf-activate-venv: SKIPPING [2021-05-21T02:55:01.538Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-937/2 [2021-05-21T02:55:01.538Z] INFO: archiving workspace using pattern(s): [2021-05-21T02:55:02.489Z] Archives upload complete. [2021-05-21T02:55:02.489Z] INFO: archiving logs to Nexus