Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-centos7-docker-4c-2g-29262 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 Commit message: "Merge pull request #811 from hahattan/v2-cv" > git rev-list --no-walk 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-10T06:41:39.617Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-10T06:41:39.893Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-10T06:41:40.002Z] ========================================================= [2021-03-10T06:41:40.002Z] EdgeX Global Pipelines Version Info [2021-03-10T06:41:40.002Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:41:41.552Z] ------------------- [2021-03-10T06:41:41.552Z] stable info: [2021-03-10T06:41:41.552Z] ------------------- [2021-03-10T06:41:41.552Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-10T06:41:41.552Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-10T06:41:41.552Z] Message: update stable to v1.0.184 [2021-03-10T06:41:42.501Z] ------------------- [2021-03-10T06:41:42.501Z] experimental info: [2021-03-10T06:41:42.501Z] ------------------- [2021-03-10T06:41:42.501Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-10T06:41:42.501Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-10T06:41:42.501Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-10T06:41:42.805Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-10T06:41:42.940Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-10T06:41:43.064Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-10T06:41:43.161Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-10T06:41:43.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-10T06:41:43.379Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-10T06:41:43.474Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-10T06:41:43.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-10T06:41:43.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-10T06:41:43.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-10T06:41:43.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-10T06:41:44.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-10T06:41:44.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-10T06:41:44.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-10T06:41:44.411Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-10T06:41:44.563Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-10T06:41:44.658Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-10T06:41:44.747Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-10T06:41:44.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-10T06:41:44.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-10T06:41:45.075Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-10T06:41:45.169Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-10T06:41:45.264Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-10T06:41:45.363Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-10T06:41:45.450Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-10T06:41:45.536Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-10T06:41:45.642Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-10T06:41:45.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-10T06:41:45.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-10T06:41:45.986Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 [Pipeline] echo [2021-03-10T06:41:46.074Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a78cb9 [Pipeline] echo [2021-03-10T06:41:46.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-10T06:41:46.343Z] provisioning config files... [2021-03-10T06:41:46.373Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1299586443509215924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:41:46.729Z] ---> docker-login.sh [2021-03-10T06:41:46.729Z] nexus3.edgexfoundry.org:10001 [2021-03-10T06:41:46.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:41:47.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:41:47.255Z] Configure a credential helper to remove this warning. See [2021-03-10T06:41:47.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:41:47.255Z] [2021-03-10T06:41:47.255Z] Login Succeeded [2021-03-10T06:41:47.255Z] nexus3.edgexfoundry.org:10002 [2021-03-10T06:41:47.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:41:47.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:41:47.255Z] Configure a credential helper to remove this warning. See [2021-03-10T06:41:47.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:41:47.255Z] [2021-03-10T06:41:47.255Z] Login Succeeded [2021-03-10T06:41:47.255Z] nexus3.edgexfoundry.org:10003 [2021-03-10T06:41:47.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:41:47.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:41:47.517Z] Configure a credential helper to remove this warning. See [2021-03-10T06:41:47.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:41:47.517Z] [2021-03-10T06:41:47.517Z] Login Succeeded [2021-03-10T06:41:47.517Z] nexus3.edgexfoundry.org:10004 [2021-03-10T06:41:47.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:41:47.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:41:47.783Z] Configure a credential helper to remove this warning. See [2021-03-10T06:41:47.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:41:47.783Z] [2021-03-10T06:41:47.783Z] Login Succeeded [2021-03-10T06:41:47.783Z] docker.io [2021-03-10T06:41:47.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:41:48.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:41:48.046Z] Configure a credential helper to remove this warning. See [2021-03-10T06:41:48.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:41:48.046Z] [2021-03-10T06:41:48.046Z] Login Succeeded [2021-03-10T06:41:48.046Z] ---> docker-login.sh ends [Pipeline] } [2021-03-10T06:41:48.056Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-10T06:41:48.956Z] + git log --format=format:%s -1 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 [Pipeline] echo [2021-03-10T06:41:49.024Z] GIT_COMMIT: 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828, Commit Message: Merge pull request #811 from hahattan/v2-cv [Pipeline] echo [2021-03-10T06:41:49.071Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:41:50.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T06:41:50.278Z] [2021-03-10T06:41:50.278Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:41:50.655Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T06:41:50.655Z] latest: Pulling from edgex-devops/git-semver [2021-03-10T06:41:50.655Z] 31603596830f: Pulling fs layer [2021-03-10T06:41:50.655Z] 2a8b12db71e7: Pulling fs layer [2021-03-10T06:41:50.655Z] 6ca5941a6612: Pulling fs layer [2021-03-10T06:41:50.655Z] ecc8261a40a4: Pulling fs layer [2021-03-10T06:41:50.655Z] ecc8261a40a4: Waiting [2021-03-10T06:41:50.655Z] 2a8b12db71e7: Verifying Checksum [2021-03-10T06:41:50.655Z] 2a8b12db71e7: Download complete [2021-03-10T06:41:50.921Z] 31603596830f: Verifying Checksum [2021-03-10T06:41:50.921Z] 31603596830f: Download complete [2021-03-10T06:41:50.921Z] ecc8261a40a4: Verifying Checksum [2021-03-10T06:41:50.921Z] ecc8261a40a4: Download complete [2021-03-10T06:41:50.921Z] 6ca5941a6612: Verifying Checksum [2021-03-10T06:41:50.921Z] 6ca5941a6612: Download complete [2021-03-10T06:41:51.185Z] 31603596830f: Pull complete [2021-03-10T06:41:51.185Z] 2a8b12db71e7: Pull complete [2021-03-10T06:41:52.131Z] 6ca5941a6612: Pull complete [2021-03-10T06:41:52.393Z] ecc8261a40a4: Pull complete [2021-03-10T06:41:52.393Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-10T06:41:52.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T06:41:52.393Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-10T06:41:52.493Z] prd-centos7-docker-4c-2g-29262 does not seem to be running inside a container [2021-03-10T06:41:52.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-10T06:41:54.652Z] $ docker top de344901a74ee0b7136b3ff0bd399714b78b5d82cf93d57c3f9d59841b80a340 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-10T06:41:54.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-10T06:41:54.933Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-10T06:41:55.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-10T06:41:55.142Z] $ docker exec de344901a74ee0b7136b3ff0bd399714b78b5d82cf93d57c3f9d59841b80a340 ssh-agent [2021-03-10T06:41:55.309Z] SSH_AUTH_SOCK=/tmp/ssh-A4pKn9e956sW/agent.12 [2021-03-10T06:41:55.309Z] SSH_AGENT_PID=17 [2021-03-10T06:41:55.318Z] Running ssh-add (command line suppressed) [2021-03-10T06:41:55.437Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4891490201481897993.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4891490201481897993.key) [2021-03-10T06:41:55.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-10T06:41:55.834Z] + git tag --points-at HEAD [Pipeline] } [2021-03-10T06:41:55.846Z] $ docker exec --env ******** --env ******** de344901a74ee0b7136b3ff0bd399714b78b5d82cf93d57c3f9d59841b80a340 ssh-agent -k [2021-03-10T06:41:55.958Z] unset SSH_AUTH_SOCK; [2021-03-10T06:41:55.958Z] unset SSH_AGENT_PID; [2021-03-10T06:41:55.958Z] echo Agent pid 17 killed; [2021-03-10T06:41:56.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-10T06:41:56.159Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-10T06:41:56.159Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-10T06:41:56.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-10T06:41:56.315Z] $ docker exec de344901a74ee0b7136b3ff0bd399714b78b5d82cf93d57c3f9d59841b80a340 ssh-agent [2021-03-10T06:41:56.479Z] SSH_AUTH_SOCK=/tmp/ssh-iL5qGpuT8Kw7/agent.45 [2021-03-10T06:41:56.479Z] SSH_AGENT_PID=50 [2021-03-10T06:41:56.485Z] Running ssh-add (command line suppressed) [2021-03-10T06:41:56.595Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4386045937030352176.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4386045937030352176.key) [2021-03-10T06:41:56.658Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-10T06:41:56.989Z] + git semver init [2021-03-10T06:41:56.989Z] # -> Open(): unable to determine branch for HEAD [2021-03-10T06:41:56.989Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-10T06:41:56.989Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-10T06:41:56.989Z] # $SEMVER_REMOTE_NAME = origin [2021-03-10T06:41:56.989Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-10T06:41:56.989Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-10T06:41:56.989Z] # $SEMVER_BRANCH = master [2021-03-10T06:41:56.989Z] # $SEMVER_TEMP = /tmp/semver-258211530 [2021-03-10T06:41:56.989Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-10T06:41:57.561Z] # '/tmp/semver-258211530' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-03-10T06:41:57.561Z] # -> Force: false [2021-03-10T06:41:57.561Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-10T06:41:57.566Z] $ docker exec --env ******** --env ******** de344901a74ee0b7136b3ff0bd399714b78b5d82cf93d57c3f9d59841b80a340 ssh-agent -k [2021-03-10T06:41:57.684Z] unset SSH_AUTH_SOCK; [2021-03-10T06:41:57.684Z] unset SSH_AGENT_PID; [2021-03-10T06:41:57.684Z] echo Agent pid 50 killed; [2021-03-10T06:41:57.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-10T06:41:58.215Z] + git semver [Pipeline] } [2021-03-10T06:41:58.232Z] $ docker stop --time=1 de344901a74ee0b7136b3ff0bd399714b78b5d82cf93d57c3f9d59841b80a340 [2021-03-10T06:41:59.717Z] $ docker rm -f de344901a74ee0b7136b3ff0bd399714b78b5d82cf93d57c3f9d59841b80a340 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-10T06:42:00.174Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-10T06:42:00.566Z] Stashed 1 file(s) [Pipeline] echo [2021-03-10T06:42:00.569Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.19 [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-03-10T06:42:16.083Z] Still waiting to schedule task [2021-03-10T06:42:16.084Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29262’ [2021-03-10T06:42:16.086Z] Still waiting to schedule task [2021-03-10T06:42:16.086Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-10T06:44:02.343Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29267 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-10T06:44:02.409Z] Running in /w/workspace/device-sdk-go/124 [Pipeline] { [Pipeline] checkout [2021-03-10T06:44:07.455Z] using credential edgex-jenkins-ssh [2021-03-10T06:44:07.535Z] Cloning the remote Git repository [2021-03-10T06:44:07.615Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:44:07.720Z] > git init /w/workspace/device-sdk-go/124 # timeout=10 [2021-03-10T06:44:07.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:44:07.786Z] > git --version # timeout=10 [2021-03-10T06:44:07.801Z] > git --version # 'git version 2.17.1' [2021-03-10T06:44:07.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T06:44:07.886Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T06:44:09.527Z] Checking out Revision 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (master) [2021-03-10T06:44:08.980Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T06:44:09.001Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T06:44:09.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T06:44:09.059Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:44:09.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T06:44:09.071Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-10T06:44:09.541Z] > git config core.sparsecheckout # timeout=10 [2021-03-10T06:44:09.556Z] > git checkout -f 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-10T06:44:13.934Z] Commit message: "Merge pull request #811 from hahattan/v2-cv" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-10T06:44:15.537Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-10T06:44:15.931Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-10T06:44:16.267Z] + sudo service+ docker restart [2021-03-10T06:44:16.267Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-10T06:44:18.981Z] provisioning config files... [2021-03-10T06:44:19.022Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/124@tmp/config1992385244010092043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:44:19.440Z] ---> docker-login.sh [2021-03-10T06:44:19.440Z] nexus3.edgexfoundry.org:10001 [2021-03-10T06:44:20.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:44:20.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:44:20.654Z] Configure a credential helper to remove this warning. See [2021-03-10T06:44:20.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:44:20.654Z] [2021-03-10T06:44:20.654Z] Login Succeeded [2021-03-10T06:44:20.654Z] nexus3.edgexfoundry.org:10002 [2021-03-10T06:44:20.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:44:21.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:44:21.216Z] Configure a credential helper to remove this warning. See [2021-03-10T06:44:21.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:44:21.216Z] [2021-03-10T06:44:21.216Z] Login Succeeded [2021-03-10T06:44:21.216Z] nexus3.edgexfoundry.org:10003 [2021-03-10T06:44:21.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:44:21.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:44:21.767Z] Configure a credential helper to remove this warning. See [2021-03-10T06:44:21.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:44:21.767Z] [2021-03-10T06:44:21.767Z] Login Succeeded [2021-03-10T06:44:21.767Z] nexus3.edgexfoundry.org:10004 [2021-03-10T06:44:22.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:44:22.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:44:22.040Z] Configure a credential helper to remove this warning. See [2021-03-10T06:44:22.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:44:22.040Z] [2021-03-10T06:44:22.040Z] Login Succeeded [2021-03-10T06:44:22.040Z] docker.io [2021-03-10T06:44:22.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:44:22.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:44:22.949Z] Configure a credential helper to remove this warning. See [2021-03-10T06:44:22.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:44:22.949Z] [2021-03-10T06:44:22.949Z] Login Succeeded [2021-03-10T06:44:22.949Z] ---> docker-login.sh ends [Pipeline] } [2021-03-10T06:44:22.967Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-10T06:44:23.413Z] ========================================================= [2021-03-10T06:44:23.413Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-10T06:44:23.413Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:44:23.784Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-10T06:44:24.062Z] Sending build context to Docker daemon 2.278MB [2021-03-10T06:44:24.062Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T06:44:24.062Z] Step 2/8 : FROM ${BASE} [2021-03-10T06:44:24.343Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-10T06:44:24.343Z] 5f621e34cdf4: Pulling fs layer [2021-03-10T06:44:24.343Z] a4357932f1b6: Pulling fs layer [2021-03-10T06:44:24.343Z] 18c013af1878: Pulling fs layer [2021-03-10T06:44:24.343Z] 00ac8860ef70: Pulling fs layer [2021-03-10T06:44:24.343Z] 63d7cb157983: Pulling fs layer [2021-03-10T06:44:24.343Z] b116817d02f9: Pulling fs layer [2021-03-10T06:44:24.343Z] 745a02a5169b: Pulling fs layer [2021-03-10T06:44:24.343Z] 63d7cb157983: Waiting [2021-03-10T06:44:24.343Z] b116817d02f9: Waiting [2021-03-10T06:44:24.343Z] 00ac8860ef70: Waiting [2021-03-10T06:44:24.343Z] 745a02a5169b: Waiting [2021-03-10T06:44:24.343Z] 18c013af1878: Download complete [2021-03-10T06:44:24.343Z] a4357932f1b6: Verifying Checksum [2021-03-10T06:44:24.343Z] 63d7cb157983: Download complete [2021-03-10T06:44:24.621Z] 5f621e34cdf4: Verifying Checksum [2021-03-10T06:44:24.621Z] b116817d02f9: Verifying Checksum [2021-03-10T06:44:24.621Z] b116817d02f9: Download complete [2021-03-10T06:44:25.216Z] 5f621e34cdf4: Pull complete [2021-03-10T06:44:25.824Z] a4357932f1b6: Pull complete [2021-03-10T06:44:26.098Z] 18c013af1878: Pull complete [2021-03-10T06:44:27.541Z] 745a02a5169b: Verifying Checksum [2021-03-10T06:44:27.541Z] 745a02a5169b: Download complete [2021-03-10T06:44:28.532Z] 00ac8860ef70: Verifying Checksum [2021-03-10T06:44:28.532Z] 00ac8860ef70: Download complete [2021-03-10T06:44:38.699Z] 00ac8860ef70: Pull complete [2021-03-10T06:44:38.699Z] 63d7cb157983: Pull complete [2021-03-10T06:44:39.298Z] b116817d02f9: Pull complete [2021-03-10T06:44:43.610Z] 745a02a5169b: Pull complete [2021-03-10T06:44:43.610Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-10T06:44:43.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-10T06:44:43.610Z] ---> b7e6874047d6 [2021-03-10T06:44:43.610Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:44:45.578Z] ---> Running in be0e8a184bc8 [2021-03-10T06:44:46.173Z] Removing intermediate container be0e8a184bc8 [2021-03-10T06:44:46.173Z] ---> 63538608b2d1 [2021-03-10T06:44:46.173Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T06:44:46.173Z] ---> Running in 62cd6113246b [2021-03-10T06:44:48.194Z] Removing intermediate container 62cd6113246b [2021-03-10T06:44:48.194Z] ---> ffc11212437c [2021-03-10T06:44:48.194Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-10T06:44:48.470Z] ---> Running in f740a825a6f7 [2021-03-10T06:44:49.452Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-10T06:44:50.423Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-10T06:44:51.019Z] OK: 142 MiB in 39 packages [2021-03-10T06:44:51.993Z] Removing intermediate container f740a825a6f7 [2021-03-10T06:44:51.993Z] ---> ce6c867c6c6e [2021-03-10T06:44:51.993Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-10T06:44:52.269Z] ---> Running in a848adf0edaa [2021-03-10T06:44:52.544Z] Removing intermediate container a848adf0edaa [2021-03-10T06:44:52.544Z] ---> 9124e5ea476f [2021-03-10T06:44:52.544Z] Step 7/8 : COPY . . [2021-03-10T06:44:53.983Z] ---> c202e743f70c [2021-03-10T06:44:53.983Z] Step 8/8 : RUN go mod download [2021-03-10T06:44:53.983Z] ---> Running in a874d979c755 [2021-03-10T06:45:20.793Z] Removing intermediate container a874d979c755 [2021-03-10T06:45:20.794Z] ---> d4909e6fa9b4 [2021-03-10T06:45:20.794Z] Successfully built d4909e6fa9b4 [2021-03-10T06:45:20.794Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:45:21.154Z] + docker inspect -f . ci-base-image-arm64 [2021-03-10T06:45:21.154Z] . [Pipeline] withDockerContainer [2021-03-10T06:45:21.401Z] prd-ubuntu18.04-docker-arm64-4c-16g-29267 does not seem to be running inside a container [2021-03-10T06:45:21.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/124 -v /w/workspace/device-sdk-go/124:/w/workspace/device-sdk-go/124:rw,z -v /w/workspace/device-sdk-go/124@tmp:/w/workspace/device-sdk-go/124@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 ******** ci-base-image-arm64 cat [2021-03-10T06:45:22.977Z] $ docker top f849881d46943c6e98a001cbc63b8bc67676d0df256b417446e694b0352c776c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T06:45:24.208Z] + go version [2021-03-10T06:45:24.208Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-10T06:45:24.228Z] $ docker stop --time=1 f849881d46943c6e98a001cbc63b8bc67676d0df256b417446e694b0352c776c [2021-03-10T06:45:26.144Z] $ docker rm -f f849881d46943c6e98a001cbc63b8bc67676d0df256b417446e694b0352c776c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:45:27.146Z] + docker inspect -f . ci-base-image-arm64 [2021-03-10T06:45:27.146Z] . [Pipeline] withDockerContainer [2021-03-10T06:45:27.416Z] prd-ubuntu18.04-docker-arm64-4c-16g-29267 does not seem to be running inside a container [2021-03-10T06:45:27.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/124 -v /w/workspace/device-sdk-go/124:/w/workspace/device-sdk-go/124:rw,z -v /w/workspace/device-sdk-go/124@tmp:/w/workspace/device-sdk-go/124@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 ******** ci-base-image-arm64 cat [2021-03-10T06:45:29.005Z] $ docker top bf56721700dd76d0607126ccbba001c886fc5df7b810c5cecea404615f30d583 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T06:45:30.049Z] + make test [2021-03-10T06:45:30.049Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-10T06:45:52.248Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-10T06:46:39.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-10T06:46:39.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-10T06:46:39.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-10T06:46:39.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 25.5% of statements [2021-03-10T06:47:06.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.109s coverage: 10.5% of statements [2021-03-10T06:47:06.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 12.5% of statements [2021-03-10T06:47:06.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-10T06:47:06.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.136s coverage: 84.8% of statements [2021-03-10T06:47:06.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-10T06:47:06.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-10T06:47:06.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-10T06:47:06.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 47.6% of statements [2021-03-10T06:47:06.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-10T06:47:06.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.157s coverage: 81.3% of statements [2021-03-10T06:47:06.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.175s coverage: 24.8% of statements [2021-03-10T06:47:06.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.903s coverage: 6.4% of statements [2021-03-10T06:47:06.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.2% of statements [2021-03-10T06:47:06.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-10T06:47:06.123Z] GO111MODULE=on go vet ./... [2021-03-10T06:47:15.762Z] Running on prd-centos7-docker-4c-2g-29268 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-10T06:47:15.831Z] Running in /w/workspace/device-sdk-go/124 [Pipeline] { [Pipeline] checkout [2021-03-10T06:47:21.021Z] using credential edgex-jenkins-ssh [2021-03-10T06:47:21.100Z] Cloning the remote Git repository [2021-03-10T06:47:21.150Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:47:21.250Z] > git init /w/workspace/device-sdk-go/124 # timeout=10 [2021-03-10T06:47:21.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:47:21.354Z] > git --version # timeout=10 [2021-03-10T06:47:21.368Z] > git --version # 'git version 2.24.3' [2021-03-10T06:47:21.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T06:47:21.411Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T06:47:22.264Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T06:47:22.274Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T06:47:22.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T06:47:22.307Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:47:22.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T06:47:22.314Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-10T06:47:22.709Z] Checking out Revision 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (master) [2021-03-10T06:47:22.720Z] > git config core.sparsecheckout # timeout=10 [2021-03-10T06:47:22.745Z] > git checkout -f 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-10T06:47:27.595Z] Commit message: "Merge pull request #811 from hahattan/v2-cv" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-10T06:47:29.369Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-10T06:47:30.005Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-10T06:47:30.361Z] + sudo service docker restart [2021-03-10T06:47:30.361Z] + true [2021-03-10T06:47:30.361Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-10T06:47:33.027Z] provisioning config files... [2021-03-10T06:47:33.068Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/124@tmp/config659372853374258049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:47:33.515Z] ---> docker-login.sh [2021-03-10T06:47:33.515Z] nexus3.edgexfoundry.org:10001 [2021-03-10T06:47:35.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:47:35.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:47:35.437Z] Configure a credential helper to remove this warning. See [2021-03-10T06:47:35.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:47:35.437Z] [2021-03-10T06:47:35.437Z] Login Succeeded [2021-03-10T06:47:35.437Z] nexus3.edgexfoundry.org:10002 [2021-03-10T06:47:36.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:47:36.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:47:36.603Z] Configure a credential helper to remove this warning. See [2021-03-10T06:47:36.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:47:36.603Z] [2021-03-10T06:47:36.603Z] Login Succeeded [2021-03-10T06:47:36.603Z] nexus3.edgexfoundry.org:10003 [2021-03-10T06:47:37.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:47:37.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:47:37.242Z] Configure a credential helper to remove this warning. See [2021-03-10T06:47:37.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:47:37.242Z] [2021-03-10T06:47:37.242Z] Login Succeeded [2021-03-10T06:47:37.242Z] nexus3.edgexfoundry.org:10004 [2021-03-10T06:47:37.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:47:37.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:47:37.509Z] Configure a credential helper to remove this warning. See [2021-03-10T06:47:37.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:47:37.509Z] [2021-03-10T06:47:37.509Z] Login Succeeded [2021-03-10T06:47:37.509Z] docker.io [2021-03-10T06:47:37.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:47:38.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:47:38.066Z] Configure a credential helper to remove this warning. See [2021-03-10T06:47:38.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:47:38.066Z] [2021-03-10T06:47:38.066Z] Login Succeeded [2021-03-10T06:47:38.066Z] ---> docker-login.sh ends [Pipeline] } [2021-03-10T06:47:38.085Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-10T06:47:38.481Z] ========================================================= [2021-03-10T06:47:38.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-10T06:47:38.481Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:47:38.569Z] gofmt -l . [2021-03-10T06:47:38.569Z] [ "`gofmt -l .`" = "" ] [2021-03-10T06:47:38.569Z] ./bin/test-attribution-txt.sh [2021-03-10T06:47:38.846Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-10T06:47:39.126Z] Sending build context to Docker daemon 2.277MB [2021-03-10T06:47:39.127Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T06:47:39.127Z] Step 2/8 : FROM ${BASE} [2021-03-10T06:47:39.127Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-10T06:47:39.127Z] 188c0c94c7c5: Pulling fs layer [2021-03-10T06:47:39.127Z] 0ef7d3d256c8: Pulling fs layer [2021-03-10T06:47:39.127Z] de9db76c5a1d: Pulling fs layer [2021-03-10T06:47:39.127Z] bca2f99d35d6: Pulling fs layer [2021-03-10T06:47:39.127Z] 93359f2a8cfa: Pulling fs layer [2021-03-10T06:47:39.127Z] 7c6f9722023f: Pulling fs layer [2021-03-10T06:47:39.127Z] a35cf1a2eb13: Pulling fs layer [2021-03-10T06:47:39.127Z] 93359f2a8cfa: Waiting [2021-03-10T06:47:39.127Z] 7c6f9722023f: Waiting [2021-03-10T06:47:39.127Z] a35cf1a2eb13: Waiting [2021-03-10T06:47:39.127Z] bca2f99d35d6: Waiting [2021-03-10T06:47:39.127Z] de9db76c5a1d: Verifying Checksum [2021-03-10T06:47:39.127Z] de9db76c5a1d: Download complete [2021-03-10T06:47:39.127Z] 0ef7d3d256c8: Download complete [2021-03-10T06:47:39.127Z] 93359f2a8cfa: Verifying Checksum [2021-03-10T06:47:39.127Z] 93359f2a8cfa: Download complete [2021-03-10T06:47:39.127Z] 7c6f9722023f: Verifying Checksum [2021-03-10T06:47:39.127Z] 7c6f9722023f: Download complete [2021-03-10T06:47:39.168Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-10T06:47:39.455Z] $ docker stop --time=1 bf56721700dd76d0607126ccbba001c886fc5df7b810c5cecea404615f30d583 [2021-03-10T06:47:39.735Z] 188c0c94c7c5: Verifying Checksum [2021-03-10T06:47:39.735Z] 188c0c94c7c5: Download complete [2021-03-10T06:47:40.019Z] 188c0c94c7c5: Pull complete [2021-03-10T06:47:40.293Z] 0ef7d3d256c8: Pull complete [2021-03-10T06:47:40.580Z] de9db76c5a1d: Pull complete [2021-03-10T06:47:41.828Z] $ docker rm -f bf56721700dd76d0607126ccbba001c886fc5df7b810c5cecea404615f30d583 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-10T06:47:42.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-10T06:47:43.339Z] a35cf1a2eb13: Verifying Checksum [2021-03-10T06:47:43.339Z] a35cf1a2eb13: Download complete [2021-03-10T06:47:43.604Z] bca2f99d35d6: Verifying Checksum [2021-03-10T06:47:43.604Z] bca2f99d35d6: Download complete [2021-03-10T06:47:43.922Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-10T06:47:46.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-10T06:47:47.079Z] + ls -al . [2021-03-10T06:47:47.079Z] total 220 [2021-03-10T06:47:47.079Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 06:47 . [2021-03-10T06:47:47.079Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:44 .. [2021-03-10T06:47:47.079Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 06:44 .dockerignore [2021-03-10T06:47:47.079Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 06:44 .git [2021-03-10T06:47:47.079Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 06:44 .github [2021-03-10T06:47:47.079Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 10 06:44 .gitignore [2021-03-10T06:47:47.079Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 10 06:44 Dockerfile.build [2021-03-10T06:47:47.079Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 10 06:44 Jenkinsfile [2021-03-10T06:47:47.079Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 10 06:44 LICENSE [2021-03-10T06:47:47.079Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 10 06:44 Makefile [2021-03-10T06:47:47.079Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 10 06:44 README.md [2021-03-10T06:47:47.079Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 10 06:44 RELEASE-NOTES.txt [2021-03-10T06:47:47.079Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 10 06:42 VERSION [2021-03-10T06:47:47.079Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 06:44 bin [2021-03-10T06:47:47.079Z] -rw-r--r-- 1 jenkins jenkins 102299 Mar 10 06:47 coverage.out [2021-03-10T06:47:47.079Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:44 example [2021-03-10T06:47:47.079Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 10 06:47 go.mod [2021-03-10T06:47:47.079Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 10 06:47 go.sum [2021-03-10T06:47:47.079Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 06:44 internal [2021-03-10T06:47:47.079Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:44 openapi [2021-03-10T06:47:47.079Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 10 06:44 pkg [2021-03-10T06:47:47.079Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:44 snap [2021-03-10T06:47:47.079Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 10 06:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:47:47.419Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 --label arch=arm64 --label version=2.0.0-dev.19 . [2021-03-10T06:47:47.691Z] Sending build context to Docker daemon 2.381MB [2021-03-10T06:47:47.962Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T06:47:47.962Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-10T06:47:47.962Z] ---> d4909e6fa9b4 [2021-03-10T06:47:47.963Z] Step 3/24 : ARG MAKE='make build' [2021-03-10T06:47:48.237Z] ---> Running in 302c8cbb51cd [2021-03-10T06:47:48.511Z] Removing intermediate container 302c8cbb51cd [2021-03-10T06:47:48.511Z] ---> b5ce7c2b85f2 [2021-03-10T06:47:48.511Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-10T06:47:48.785Z] ---> Running in b33a1124de32 [2021-03-10T06:47:49.381Z] Removing intermediate container b33a1124de32 [2021-03-10T06:47:49.381Z] ---> 037afa895b38 [2021-03-10T06:47:49.381Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:47:49.381Z] ---> Running in e0be324df537 [2021-03-10T06:47:49.981Z] Removing intermediate container e0be324df537 [2021-03-10T06:47:49.981Z] ---> 9771bf90015f [2021-03-10T06:47:49.981Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T06:47:49.981Z] ---> Running in 5ca729acedf2 [2021-03-10T06:47:51.958Z] Removing intermediate container 5ca729acedf2 [2021-03-10T06:47:51.958Z] ---> 3050c64870b1 [2021-03-10T06:47:51.958Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-10T06:47:52.229Z] ---> Running in 33382d16cf02 [2021-03-10T06:47:53.217Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-10T06:47:54.189Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-10T06:47:54.782Z] OK: 142 MiB in 39 packages [2021-03-10T06:47:56.214Z] Removing intermediate container 33382d16cf02 [2021-03-10T06:47:56.214Z] ---> 110d36733fd8 [2021-03-10T06:47:56.214Z] Step 8/24 : COPY . . [2021-03-10T06:47:57.192Z] ---> ee2f81127646 [2021-03-10T06:47:57.192Z] Step 9/24 : RUN ${MAKE} [2021-03-10T06:47:57.192Z] ---> Running in a1bed99dbdf7 [2021-03-10T06:47:58.187Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.19" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-10T06:47:59.025Z] bca2f99d35d6: Pull complete [2021-03-10T06:47:59.025Z] 93359f2a8cfa: Pull complete [2021-03-10T06:47:59.025Z] 7c6f9722023f: Pull complete [2021-03-10T06:48:04.470Z] a35cf1a2eb13: Pull complete [2021-03-10T06:48:04.740Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-10T06:48:04.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-10T06:48:04.740Z] ---> a62c8e92a672 [2021-03-10T06:48:04.740Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:48:05.071Z] ---> Running in ea36a7925dde [2021-03-10T06:48:05.708Z] Removing intermediate container ea36a7925dde [2021-03-10T06:48:05.708Z] ---> f254d58effdc [2021-03-10T06:48:05.708Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T06:48:05.708Z] ---> Running in 6d772aa7d150 [2021-03-10T06:48:08.330Z] Removing intermediate container 6d772aa7d150 [2021-03-10T06:48:08.330Z] ---> 1f054a097307 [2021-03-10T06:48:08.330Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-10T06:48:08.330Z] ---> Running in 9479edc2b068 [2021-03-10T06:48:09.308Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-10T06:48:09.917Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-10T06:48:10.616Z] OK: 166 MiB in 39 packages [2021-03-10T06:48:11.312Z] Removing intermediate container 9479edc2b068 [2021-03-10T06:48:11.312Z] ---> 76db40ee92b9 [2021-03-10T06:48:11.312Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-10T06:48:11.908Z] ---> Running in aad913232a12 [2021-03-10T06:48:12.201Z] Removing intermediate container aad913232a12 [2021-03-10T06:48:12.201Z] ---> c7c68df0dc9f [2021-03-10T06:48:12.201Z] Step 7/8 : COPY . . [2021-03-10T06:48:14.184Z] ---> 3ba50f0c685d [2021-03-10T06:48:14.184Z] Step 8/8 : RUN go mod download [2021-03-10T06:48:14.184Z] ---> Running in 5e80dada4a83 [2021-03-10T06:48:25.007Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-10T06:48:26.437Z] Removing intermediate container a1bed99dbdf7 [2021-03-10T06:48:26.437Z] ---> 6239edbaf9c1 [2021-03-10T06:48:26.437Z] Step 10/24 : FROM scratch [2021-03-10T06:48:26.437Z] ---> [2021-03-10T06:48:26.437Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:48:26.437Z] ---> Running in 1cd80d8cd333 [2021-03-10T06:48:26.710Z] Removing intermediate container 1cd80d8cd333 [2021-03-10T06:48:26.710Z] ---> ccdbb31c6232 [2021-03-10T06:48:26.710Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-10T06:48:26.710Z] ---> Running in be57bf669f4c [2021-03-10T06:48:27.305Z] Removing intermediate container be57bf669f4c [2021-03-10T06:48:27.305Z] ---> c4991cfbf8ed [2021-03-10T06:48:27.305Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-10T06:48:27.305Z] ---> Running in 4d0a433724e4 [2021-03-10T06:48:27.899Z] Removing intermediate container 4d0a433724e4 [2021-03-10T06:48:27.899Z] ---> 74739dbfe399 [2021-03-10T06:48:27.899Z] Step 14/24 : WORKDIR / [2021-03-10T06:48:27.899Z] ---> Running in e511beea0dfa [2021-03-10T06:48:28.175Z] Removing intermediate container e511beea0dfa [2021-03-10T06:48:28.175Z] ---> 3f7e3ef09c24 [2021-03-10T06:48:28.175Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-10T06:48:29.607Z] ---> 9aa37182a896 [2021-03-10T06:48:29.607Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-10T06:48:30.200Z] ---> d7126690d3fa [2021-03-10T06:48:30.200Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-10T06:48:30.793Z] ---> 9812bb0bc9cc [2021-03-10T06:48:30.793Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-10T06:48:31.764Z] ---> 075f290c5901 [2021-03-10T06:48:31.764Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-10T06:48:32.355Z] ---> 4944a4779ad3 [2021-03-10T06:48:32.355Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-10T06:48:32.630Z] ---> Running in 4bb59123bafe [2021-03-10T06:48:32.903Z] Removing intermediate container 4bb59123bafe [2021-03-10T06:48:32.903Z] ---> 9b9dcc4c0be7 [2021-03-10T06:48:32.903Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-10T06:48:33.177Z] ---> Running in 199689dfb044 [2021-03-10T06:48:33.449Z] Removing intermediate container 199689dfb044 [2021-03-10T06:48:33.449Z] ---> be25b00179e0 [2021-03-10T06:48:33.449Z] Step 22/24 : LABEL arch=arm64 [2021-03-10T06:48:33.721Z] ---> Running in fd720b6d1a18 [2021-03-10T06:48:34.315Z] Removing intermediate container fd720b6d1a18 [2021-03-10T06:48:34.315Z] ---> e9ea3ee323f0 [2021-03-10T06:48:34.315Z] Step 23/24 : LABEL git_sha=3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 [2021-03-10T06:48:34.315Z] ---> Running in c9606b558078 [2021-03-10T06:48:34.588Z] Removing intermediate container c9606b558078 [2021-03-10T06:48:34.588Z] ---> 5016cf9697d1 [2021-03-10T06:48:34.588Z] Step 24/24 : LABEL version=2.0.0-dev.19 [2021-03-10T06:48:34.861Z] ---> Running in 8b5ae97141a9 [2021-03-10T06:48:35.455Z] Removing intermediate container 8b5ae97141a9 [2021-03-10T06:48:35.455Z] ---> 44b08afe7cd3 [2021-03-10T06:48:35.455Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-10T06:48:35.455Z] Successfully built 44b08afe7cd3 [2021-03-10T06:48:35.455Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:48:36.520Z] ---> job-cost.sh [2021-03-10T06:48:36.520Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XQGA [2021-03-10T06:48:53.623Z] Removing intermediate container 5e80dada4a83 [2021-03-10T06:48:53.623Z] ---> 8b4bfcd37c5a [2021-03-10T06:48:53.623Z] Successfully built 8b4bfcd37c5a [2021-03-10T06:48:53.623Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:48:53.971Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-10T06:48:54.244Z] . [Pipeline] withDockerContainer [2021-03-10T06:48:54.591Z] prd-centos7-docker-4c-2g-29268 does not seem to be running inside a container [2021-03-10T06:48:54.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/124 -v /w/workspace/device-sdk-go/124:/w/workspace/device-sdk-go/124:rw,z -v /w/workspace/device-sdk-go/124@tmp:/w/workspace/device-sdk-go/124@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 ******** ci-base-image-x86_64 cat [2021-03-10T06:48:56.352Z] $ docker top bed93005f72563ee1b14a7af2b09ec0bb77ec34be93ba2af3654027424ba0818 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T06:48:56.951Z] + go version [2021-03-10T06:48:56.951Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-10T06:48:56.971Z] $ docker stop --time=1 bed93005f72563ee1b14a7af2b09ec0bb77ec34be93ba2af3654027424ba0818 [2021-03-10T06:48:58.664Z] $ docker rm -f bed93005f72563ee1b14a7af2b09ec0bb77ec34be93ba2af3654027424ba0818 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:48:59.743Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-10T06:48:59.743Z] . [Pipeline] withDockerContainer [2021-03-10T06:48:59.928Z] prd-centos7-docker-4c-2g-29268 does not seem to be running inside a container [2021-03-10T06:48:59.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/124 -v /w/workspace/device-sdk-go/124:/w/workspace/device-sdk-go/124:rw,z -v /w/workspace/device-sdk-go/124@tmp:/w/workspace/device-sdk-go/124@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 ******** ci-base-image-x86_64 cat [2021-03-10T06:49:02.093Z] $ docker top acad4bacec46124caaf2594e945a896dde07a26eeb6b1e8000ed859554b06fb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T06:49:02.750Z] + make test [2021-03-10T06:49:02.750Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-10T06:49:15.449Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-10T06:49:21.507Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-10T06:49:48.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-10T06:49:48.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-10T06:49:48.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-10T06:49:51.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.269s coverage: 25.5% of statements [2021-03-10T06:50:18.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.121s coverage: 10.5% of statements [2021-03-10T06:50:18.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.088s coverage: 12.5% of statements [2021-03-10T06:50:18.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-10T06:50:18.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.253s coverage: 84.8% of statements [2021-03-10T06:50:18.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-10T06:50:18.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-10T06:50:18.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-10T06:50:18.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.158s coverage: 47.6% of statements [2021-03-10T06:50:18.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-10T06:50:18.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.113s coverage: 81.3% of statements [2021-03-10T06:50:18.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.084s coverage: 24.8% of statements [2021-03-10T06:50:18.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.592s coverage: 6.4% of statements [2021-03-10T06:50:18.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 5.2% of statements [2021-03-10T06:50:18.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-10T06:50:18.459Z] GO111MODULE=on go vet ./... [2021-03-10T06:50:45.851Z] gofmt -l . [2021-03-10T06:50:45.851Z] [ "`gofmt -l .`" = "" ] [2021-03-10T06:50:45.851Z] ./bin/test-attribution-txt.sh [2021-03-10T06:50:46.460Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-10T06:50:47.085Z] $ docker stop --time=1 acad4bacec46124caaf2594e945a896dde07a26eeb6b1e8000ed859554b06fb0 [2021-03-10T06:50:49.722Z] $ docker rm -f acad4bacec46124caaf2594e945a896dde07a26eeb6b1e8000ed859554b06fb0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-10T06:50:51.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-10T06:50:51.220Z] Warning: overwriting stash ‘coverage-report’ [2021-03-10T06:50:52.177Z] lf-activate-venv(): INFO: Adding /tmp/venv-XQGA/bin to PATH [2021-03-10T06:50:52.177Z] INFO: No Stack... [2021-03-10T06:50:52.177Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-10T06:50:52.177Z] INFO: Archiving Costs [Pipeline] sh [2021-03-10T06:50:52.510Z] + + cutcat /w/workspace/device-sdk-go/124/archives/cost.csv -d, [2021-03-10T06:50:52.510Z] -f6 [2021-03-10T06:50:52.588Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] lock [2021-03-10T06:50:52.698Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-124-stack-cost] [2021-03-10T06:50:52.708Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-124-stack-cost] did not exist. Created. [2021-03-10T06:50:52.708Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-124-stack-cost] [Pipeline] { [Pipeline] } [Pipeline] unstash [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-10T06:50:53.258Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-10T06:50:53.542Z] + sudo chown -R jenkins:jenkins . [2021-03-10T06:50:53.568Z] Stashed 1 file(s) [Pipeline] sh [Pipeline] } [2021-03-10T06:50:53.733Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-124-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [2021-03-10T06:50:53.922Z] + ls -al . [2021-03-10T06:50:53.922Z] total 184 [2021-03-10T06:50:53.922Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 10 06:50 . [2021-03-10T06:50:53.922Z] drwxrwxr-x. 4 jenkins jenkins 32 Mar 10 06:47 .. [2021-03-10T06:50:53.922Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 10 06:47 bin [2021-03-10T06:50:53.922Z] -rw-r--r--. 1 jenkins jenkins 102298 Mar 10 06:50 coverage.out [2021-03-10T06:50:53.922Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 10 06:47 Dockerfile.build [2021-03-10T06:50:53.922Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 10 06:47 .dockerignore [2021-03-10T06:50:53.922Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 10 06:47 example [2021-03-10T06:50:53.922Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 10 06:47 .git [2021-03-10T06:50:53.922Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 10 06:47 .github [2021-03-10T06:50:53.922Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 10 06:47 .gitignore [2021-03-10T06:50:53.922Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 10 06:50 go.mod [2021-03-10T06:50:53.922Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 10 06:50 go.sum [2021-03-10T06:50:53.922Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 10 06:47 internal [2021-03-10T06:50:53.922Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 10 06:47 Jenkinsfile [2021-03-10T06:50:53.922Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 10 06:47 LICENSE [2021-03-10T06:50:53.922Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 10 06:47 Makefile [2021-03-10T06:50:53.922Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 10 06:47 openapi [2021-03-10T06:50:53.922Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 10 06:47 pkg [2021-03-10T06:50:53.922Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 10 06:47 README.md [2021-03-10T06:50:53.922Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 10 06:47 RELEASE-NOTES.txt [2021-03-10T06:50:53.922Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 10 06:47 snap [2021-03-10T06:50:53.922Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 10 06:42 VERSION [2021-03-10T06:50:53.922Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 10 06:47 version.go [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] } [2021-03-10T06:50:54.434Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 --label arch=amd64 --label version=2.0.0-dev.19 . [2021-03-10T06:50:55.042Z] Sending build context to Docker daemon 2.38MB [2021-03-10T06:50:55.042Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T06:50:55.042Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-10T06:50:55.042Z] ---> 8b4bfcd37c5a [2021-03-10T06:50:55.042Z] Step 3/24 : ARG MAKE='make build' [2021-03-10T06:50:55.042Z] ---> Running in a64423ba58a3 [2021-03-10T06:50:55.649Z] Removing intermediate container a64423ba58a3 [2021-03-10T06:50:55.649Z] ---> fe49ebf3b67a [2021-03-10T06:50:55.649Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-10T06:50:55.649Z] ---> Running in dd485f7458e0 [2021-03-10T06:50:55.928Z] Removing intermediate container dd485f7458e0 [2021-03-10T06:50:55.928Z] ---> ca0f8f16fef1 [2021-03-10T06:50:55.928Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:50:56.265Z] ---> Running in 8f3d8563238f [2021-03-10T06:50:57.135Z] Removing intermediate container 8f3d8563238f [2021-03-10T06:50:57.135Z] ---> 84ea6f766546 [2021-03-10T06:50:57.135Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T06:50:57.135Z] ---> Running in 37833a5a7956 [2021-03-10T06:50:59.156Z] Removing intermediate container 37833a5a7956 [2021-03-10T06:50:59.156Z] ---> 2cf30633b0e2 [2021-03-10T06:50:59.156Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-10T06:50:59.156Z] ---> Running in 24c7676a922d [2021-03-10T06:50:59.741Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-10T06:51:00.325Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-10T06:51:00.911Z] OK: 166 MiB in 39 packages [2021-03-10T06:51:02.376Z] Removing intermediate container 24c7676a922d [2021-03-10T06:51:02.376Z] ---> 853c47f1085f [2021-03-10T06:51:02.376Z] Step 8/24 : COPY . . [2021-03-10T06:51:04.225Z] ---> dad2468bcc22 [2021-03-10T06:51:04.225Z] Step 9/24 : RUN ${MAKE} [2021-03-10T06:51:04.225Z] ---> Running in 3fb2cf470d9c [2021-03-10T06:51:06.664Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.19" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-10T06:51:22.143Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-10T06:51:25.534Z] Removing intermediate container 3fb2cf470d9c [2021-03-10T06:51:25.534Z] ---> eebdc3633185 [2021-03-10T06:51:25.534Z] Step 10/24 : FROM scratch [2021-03-10T06:51:25.534Z] ---> [2021-03-10T06:51:25.534Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:51:25.534Z] ---> Running in 95ef022750e6 [2021-03-10T06:51:26.221Z] Removing intermediate container 95ef022750e6 [2021-03-10T06:51:26.221Z] ---> 3ea10b81976e [2021-03-10T06:51:26.221Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-10T06:51:26.221Z] ---> Running in be51e0bde049 [2021-03-10T06:51:26.597Z] Removing intermediate container be51e0bde049 [2021-03-10T06:51:26.597Z] ---> 130bbd8fb59c [2021-03-10T06:51:26.597Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-10T06:51:26.597Z] ---> Running in 9cdffb13b66c [2021-03-10T06:51:26.891Z] Removing intermediate container 9cdffb13b66c [2021-03-10T06:51:26.891Z] ---> 0d46a49b6623 [2021-03-10T06:51:26.891Z] Step 14/24 : WORKDIR / [2021-03-10T06:51:26.891Z] ---> Running in 65951ffab8ce [2021-03-10T06:51:27.540Z] Removing intermediate container 65951ffab8ce [2021-03-10T06:51:27.540Z] ---> 2f997b21cf31 [2021-03-10T06:51:27.540Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-10T06:51:28.525Z] ---> 64dfc9590ca6 [2021-03-10T06:51:28.525Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-10T06:51:29.113Z] ---> 6d5e5368e299 [2021-03-10T06:51:29.113Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-10T06:51:29.386Z] ---> f87892d910ad [2021-03-10T06:51:29.386Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-10T06:51:29.969Z] ---> 33f3750d9de3 [2021-03-10T06:51:29.969Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-10T06:51:30.249Z] ---> d5f4644cecb0 [2021-03-10T06:51:30.249Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-10T06:51:30.249Z] ---> Running in f24bcc340821 [2021-03-10T06:51:30.524Z] Removing intermediate container f24bcc340821 [2021-03-10T06:51:30.525Z] ---> 543084e0a1c7 [2021-03-10T06:51:30.525Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-10T06:51:30.525Z] ---> Running in a0df45de4db1 [2021-03-10T06:51:31.143Z] Removing intermediate container a0df45de4db1 [2021-03-10T06:51:31.143Z] ---> ce990dab58b3 [2021-03-10T06:51:31.143Z] Step 22/24 : LABEL arch=amd64 [2021-03-10T06:51:31.411Z] ---> Running in 231a7bd7dc1f [2021-03-10T06:51:32.068Z] Removing intermediate container 231a7bd7dc1f [2021-03-10T06:51:32.068Z] ---> 9c8440030c88 [2021-03-10T06:51:32.068Z] Step 23/24 : LABEL git_sha=3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 [2021-03-10T06:51:32.068Z] ---> Running in 0b7d1041eeec [2021-03-10T06:51:32.695Z] Removing intermediate container 0b7d1041eeec [2021-03-10T06:51:32.695Z] ---> 8fe9cf86e732 [2021-03-10T06:51:32.695Z] Step 24/24 : LABEL version=2.0.0-dev.19 [2021-03-10T06:51:32.983Z] ---> Running in 323caccdd98c [2021-03-10T06:51:33.597Z] Removing intermediate container 323caccdd98c [2021-03-10T06:51:33.597Z] ---> 1532252f2a53 [2021-03-10T06:51:33.597Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-10T06:51:33.597Z] Successfully built 1532252f2a53 [2021-03-10T06:51:33.597Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:51:34.588Z] ---> job-cost.sh [2021-03-10T06:51:34.588Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LpQ2 [2021-03-10T06:52:07.069Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-10T06:52:46.255Z] lf-activate-venv(): INFO: Adding /tmp/venv-LpQ2/bin to PATH [2021-03-10T06:52:46.255Z] INFO: No Stack... [2021-03-10T06:52:46.255Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-10T06:52:46.570Z] INFO: Archiving Costs [Pipeline] sh [2021-03-10T06:52:46.920Z] + cat /w/workspace/device-sdk-go/124/archives/cost.csv [2021-03-10T06:52:46.920Z] + cut -d, -f6 [Pipeline] lock [2021-03-10T06:52:47.062Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-124-stack-cost] [2021-03-10T06:52:47.073Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-124-stack-cost] did not exist. Created. [2021-03-10T06:52:47.073Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-10T06:52:47.543Z] /w/workspace/device-sdk-go/124@tmp/durable-8e513ebb/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-10T06:52:47.897Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-10T06:52:47.913Z] Warning: overwriting stash ‘stack-cost’ [2021-03-10T06:52:48.052Z] Stashed 1 file(s) [Pipeline] } [2021-03-10T06:52:48.063Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-124-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-10T06:52:49.630Z] provisioning config files... [2021-03-10T06:52:49.639Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3533321572549300984tmp [Pipeline] { [Pipeline] sh [2021-03-10T06:52:50.037Z] + set +x [2021-03-10T06:52:50.037Z] + curl -s https://codecov.io/bash [2021-03-10T06:52:50.037Z] + bash -s -- [2021-03-10T06:52:50.301Z] [2021-03-10T06:52:50.301Z] _____ _ [2021-03-10T06:52:50.301Z] / ____| | | [2021-03-10T06:52:50.301Z] | | ___ __| | ___ ___ _____ __ [2021-03-10T06:52:50.301Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-10T06:52:50.301Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-10T06:52:50.301Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-10T06:52:50.301Z] Bash-20210309-2b87ace [2021-03-10T06:52:50.301Z] [2021-03-10T06:52:50.301Z] [2021-03-10T06:52:50.301Z] ==> git version 2.24.3 found [2021-03-10T06:52:50.301Z] ==> 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-03-10T06:52:50.301Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-10T06:52:50.301Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-10T06:52:50.301Z] ==> Jenkins CI detected. [2021-03-10T06:52:50.301Z] project root: . [2021-03-10T06:52:50.301Z] --> token set from env [2021-03-10T06:52:50.301Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-10T06:52:50.301Z] ==> Running gcov in . (disable via -X gcov) [2021-03-10T06:52:50.301Z] ==> Python coveragepy not found [2021-03-10T06:52:50.301Z] ==> Searching for coverage reports in: [2021-03-10T06:52:50.301Z] + . [2021-03-10T06:52:50.301Z] -> Found 1 reports [2021-03-10T06:52:50.301Z] ==> Detecting git/mercurial file structure [2021-03-10T06:52:50.301Z] ==> Reading reports [2021-03-10T06:52:50.301Z] + ./coverage.out bytes=102298 [2021-03-10T06:52:50.301Z] ==> Appending adjustments [2021-03-10T06:52:50.301Z] https://docs.codecov.io/docs/fixing-reports [2021-03-10T06:52:50.893Z] + Found adjustments [2021-03-10T06:52:50.894Z] ==> Gzipping contents [2021-03-10T06:52:50.894Z] 16K /tmp/codecov.nZbbyy.gz [2021-03-10T06:52:50.894Z] ==> Uploading reports [2021-03-10T06:52:50.894Z] url: https://codecov.io [2021-03-10T06:52:50.894Z] query: branch=master&commit=3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-10T06:52:50.894Z] -> Pinging Codecov [2021-03-10T06:52:50.894Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-10T06:52:51.167Z] -> Uploading to [2021-03-10T06:52:51.167Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-10/7E55EF52A471D76F132DFD9A03CDDE97/3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828/3a0547e2-eed7-4254-b8df-8eb77c390edc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210310%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210310T065251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ecebfdbbcc8678db4d906ac6e3cb7eb48ef887095dc1b40dea4a29409b103da [2021-03-10T06:52:51.167Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-10T06:52:51.167Z] Dload Upload Total Spent Left Speed [2021-03-10T06:52:51.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15162 0 0 100 15162 0 29053 --:--:-- --:--:-- --:--:-- 29045 100 15162 0 0 100 15162 0 29037 --:--:-- --:--:-- --:--:-- 29045 [2021-03-10T06:52:51.761Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 [Pipeline] } [2021-03-10T06:52:51.776Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-10T06:52:52.630Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-10T06:52:52.685Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:52:53.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-10T06:52:53.029Z] [2021-03-10T06:52:53.029Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:52:53.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-10T06:52:53.377Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-10T06:52:53.377Z] 188c0c94c7c5: Pulling fs layer [2021-03-10T06:52:53.377Z] 0ef7d3d256c8: Pulling fs layer [2021-03-10T06:52:53.377Z] de9db76c5a1d: Pulling fs layer [2021-03-10T06:52:53.377Z] 0eba1c9be4d2: Pulling fs layer [2021-03-10T06:52:53.377Z] 0d57e429df01: Pulling fs layer [2021-03-10T06:52:53.377Z] 4e4be7b47b0d: Pulling fs layer [2021-03-10T06:52:53.377Z] e1f770b5df2f: Pulling fs layer [2021-03-10T06:52:53.377Z] 85a0685a4137: Pulling fs layer [2021-03-10T06:52:53.377Z] 4e4be7b47b0d: Waiting [2021-03-10T06:52:53.377Z] e1f770b5df2f: Waiting [2021-03-10T06:52:53.377Z] 85a0685a4137: Waiting [2021-03-10T06:52:53.377Z] 0eba1c9be4d2: Waiting [2021-03-10T06:52:53.377Z] 0d57e429df01: Waiting [2021-03-10T06:52:53.377Z] de9db76c5a1d: Verifying Checksum [2021-03-10T06:52:53.377Z] de9db76c5a1d: Download complete [2021-03-10T06:52:53.377Z] 0ef7d3d256c8: Verifying Checksum [2021-03-10T06:52:53.377Z] 0ef7d3d256c8: Download complete [2021-03-10T06:52:53.377Z] 0d57e429df01: Verifying Checksum [2021-03-10T06:52:53.377Z] 0d57e429df01: Download complete [2021-03-10T06:52:53.639Z] 4e4be7b47b0d: Verifying Checksum [2021-03-10T06:52:53.639Z] 4e4be7b47b0d: Download complete [2021-03-10T06:52:53.639Z] 188c0c94c7c5: Verifying Checksum [2021-03-10T06:52:53.639Z] 188c0c94c7c5: Download complete [2021-03-10T06:52:53.907Z] 188c0c94c7c5: Pull complete [2021-03-10T06:52:54.171Z] 0ef7d3d256c8: Pull complete [2021-03-10T06:52:54.434Z] de9db76c5a1d: Pull complete [2021-03-10T06:52:54.698Z] e1f770b5df2f: Verifying Checksum [2021-03-10T06:52:54.698Z] e1f770b5df2f: Download complete [2021-03-10T06:52:56.653Z] 0eba1c9be4d2: Verifying Checksum [2021-03-10T06:52:56.653Z] 0eba1c9be4d2: Download complete [2021-03-10T06:52:56.923Z] 85a0685a4137: Verifying Checksum [2021-03-10T06:52:56.923Z] 85a0685a4137: Download complete [2021-03-10T06:53:03.563Z] 0eba1c9be4d2: Pull complete [2021-03-10T06:53:03.563Z] 0d57e429df01: Pull complete [2021-03-10T06:53:03.563Z] 4e4be7b47b0d: Pull complete [2021-03-10T06:53:06.132Z] e1f770b5df2f: Pull complete [2021-03-10T06:53:12.761Z] 85a0685a4137: Pull complete [2021-03-10T06:53:12.761Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-10T06:53:12.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-10T06:53:12.761Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-10T06:53:12.978Z] prd-centos7-docker-4c-2g-29262 does not seem to be running inside a container [2021-03-10T06:53:13.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-10T06:53:13.988Z] $ docker top fbcf5044522374f49b175f6531d8d9b5881824b4f7fc648d07cd103b9bbd9eca -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-10T06:53:14.235Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-10T06:53:14.528Z] + set -o pipefail [2021-03-10T06:53:14.528Z] + snyk monitor '--org=edgex-jenkins' [2021-03-10T06:53:22.699Z] [2021-03-10T06:53:22.699Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-03-10T06:53:22.699Z] [2021-03-10T06:53:22.699Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/dbe1cda7-6f1d-494e-aabd-a13f309dfc4b [2021-03-10T06:53:22.699Z] [2021-03-10T06:53:22.699Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-10T06:53:22.699Z] [2021-03-10T06:53:22.699Z] [Pipeline] } [2021-03-10T06:53:22.709Z] $ docker stop --time=1 fbcf5044522374f49b175f6531d8d9b5881824b4f7fc648d07cd103b9bbd9eca [2021-03-10T06:53:25.513Z] $ docker rm -f fbcf5044522374f49b175f6531d8d9b5881824b4f7fc648d07cd103b9bbd9eca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-03-10T06:53:26.699Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-10T06:53:26.756Z] provisioning config files... [2021-03-10T06:53:26.767Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6664653319625782135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:53:27.150Z] --> edgex-publish-swagger.sh [2021-03-10T06:53:27.150Z] === Publish openapi/v1 API === [2021-03-10T06:53:27.150Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-03-10T06:53:27.150Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-03-10T06:53:27.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-10T06:53:27.150Z] Dload Upload Total Spent Left Speed [2021-03-10T06:53:27.724Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 27955 --:--:-- --:--:-- --:--:-- 27976 100 19947 0 0 100 19947 0 27949 --:--:-- --:--:-- --:--:-- 27976 [2021-03-10T06:53:27.724Z] [2021-03-10T06:53:27.724Z] [2021-03-10T06:53:27.724Z] === Publish openapi/v2 API === [2021-03-10T06:53:27.724Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-10T06:53:27.724Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-03-10T06:53:27.724Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-10T06:53:27.724Z] Dload Upload Total Spent Left Speed [2021-03-10T06:53:28.674Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 70504 --:--:-- --:--:-- --:--:-- 70616 [2021-03-10T06:53:28.674Z] [2021-03-10T06:53:28.674Z] [Pipeline] } [2021-03-10T06:53:28.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-10T06:53:29.692Z] + git log --format=format:%s -1 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:53:30.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T06:53:30.015Z] . [Pipeline] withDockerContainer [2021-03-10T06:53:30.123Z] prd-centos7-docker-4c-2g-29262 does not seem to be running inside a container [2021-03-10T06:53:30.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-10T06:53:31.021Z] $ docker top 6960351a9a232d2c312dc591c270640fd3ff757620d74dc201e0f0c0af52791b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-10T06:53:31.334Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-10T06:53:31.334Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-10T06:53:31.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-10T06:53:31.603Z] $ docker exec 6960351a9a232d2c312dc591c270640fd3ff757620d74dc201e0f0c0af52791b ssh-agent [2021-03-10T06:53:31.792Z] SSH_AUTH_SOCK=/tmp/ssh-agGcVtYas4fX/agent.12 [2021-03-10T06:53:31.792Z] SSH_AGENT_PID=17 [2021-03-10T06:53:31.799Z] Running ssh-add (command line suppressed) [2021-03-10T06:53:31.941Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5126031475172644183.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5126031475172644183.key) [2021-03-10T06:53:32.001Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-10T06:53:32.334Z] + git semver tag [2021-03-10T06:53:32.334Z] # -> Open(): unable to determine branch for HEAD [2021-03-10T06:53:32.334Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-10T06:53:32.334Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-10T06:53:32.334Z] # $SEMVER_REMOTE_NAME = origin [2021-03-10T06:53:32.334Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-10T06:53:32.334Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-10T06:53:32.334Z] # $SEMVER_BRANCH = master [2021-03-10T06:53:32.334Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-10T06:53:32.334Z] # 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 HEAD [2021-03-10T06:53:32.596Z] # -> Force: false [2021-03-10T06:53:32.596Z] # ea9ccc75dcb62ec4f31874e4c14d9430fa389ea0 refs/tags/v2.0.0-dev.19 [Pipeline] } [2021-03-10T06:53:32.602Z] $ docker exec --env ******** --env ******** 6960351a9a232d2c312dc591c270640fd3ff757620d74dc201e0f0c0af52791b ssh-agent -k [2021-03-10T06:53:32.728Z] unset SSH_AUTH_SOCK; [2021-03-10T06:53:32.729Z] unset SSH_AGENT_PID; [2021-03-10T06:53:32.729Z] echo Agent pid 17 killed; [2021-03-10T06:53:32.790Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-10T06:53:33.295Z] + git semver [Pipeline] } [2021-03-10T06:53:33.306Z] $ docker stop --time=1 6960351a9a232d2c312dc591c270640fd3ff757620d74dc201e0f0c0af52791b [2021-03-10T06:53:34.690Z] $ docker rm -f 6960351a9a232d2c312dc591c270640fd3ff757620d74dc201e0f0c0af52791b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:53:35.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-10T06:53:35.480Z] [2021-03-10T06:53:35.480Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:53:35.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-10T06:53:35.874Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-10T06:53:35.874Z] ab5ef0e58194: Pulling fs layer [2021-03-10T06:53:35.874Z] 9712f1f96733: Pulling fs layer [2021-03-10T06:53:35.874Z] 63f879dbbcfc: Pulling fs layer [2021-03-10T06:53:35.874Z] 0d9ebad4ef96: Pulling fs layer [2021-03-10T06:53:35.874Z] e9a5061849ea: Pulling fs layer [2021-03-10T06:53:35.874Z] d747dcd14b5f: Pulling fs layer [2021-03-10T06:53:35.874Z] 2de7ff778b66: Pulling fs layer [2021-03-10T06:53:35.874Z] e9a5061849ea: Waiting [2021-03-10T06:53:35.874Z] 0d9ebad4ef96: Waiting [2021-03-10T06:53:35.874Z] d747dcd14b5f: Waiting [2021-03-10T06:53:35.874Z] 2de7ff778b66: Waiting [2021-03-10T06:53:35.874Z] 9712f1f96733: Verifying Checksum [2021-03-10T06:53:35.874Z] 9712f1f96733: Download complete [2021-03-10T06:53:38.433Z] 63f879dbbcfc: Verifying Checksum [2021-03-10T06:53:38.433Z] 63f879dbbcfc: Download complete [2021-03-10T06:53:38.433Z] e9a5061849ea: Verifying Checksum [2021-03-10T06:53:38.433Z] e9a5061849ea: Download complete [2021-03-10T06:53:38.433Z] d747dcd14b5f: Verifying Checksum [2021-03-10T06:53:38.433Z] d747dcd14b5f: Download complete [2021-03-10T06:53:38.700Z] 0d9ebad4ef96: Verifying Checksum [2021-03-10T06:53:38.700Z] 0d9ebad4ef96: Download complete [2021-03-10T06:53:38.700Z] 2de7ff778b66: Verifying Checksum [2021-03-10T06:53:38.700Z] 2de7ff778b66: Download complete [2021-03-10T06:53:38.966Z] ab5ef0e58194: Verifying Checksum [2021-03-10T06:53:38.966Z] ab5ef0e58194: Download complete [2021-03-10T06:53:44.315Z] ab5ef0e58194: Pull complete [2021-03-10T06:53:44.315Z] 9712f1f96733: Pull complete [2021-03-10T06:53:46.870Z] 63f879dbbcfc: Pull complete [2021-03-10T06:53:53.493Z] 0d9ebad4ef96: Pull complete [2021-03-10T06:53:55.417Z] e9a5061849ea: Pull complete [2021-03-10T06:53:55.417Z] d747dcd14b5f: Pull complete [2021-03-10T06:53:57.971Z] 2de7ff778b66: Pull complete [2021-03-10T06:53:57.971Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-10T06:53:57.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-10T06:53:57.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-10T06:53:58.172Z] prd-centos7-docker-4c-2g-29262 does not seem to be running inside a container [2021-03-10T06:53:58.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-10T06:54:01.790Z] $ docker top c337d4ba1b2c023c2946c8c26827398bc8e3161810738037f8e2930d2d8478a5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-10T06:54:02.133Z] provisioning config files... [2021-03-10T06:54:02.145Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2722195164804809965tmp [2021-03-10T06:54:02.160Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4833278582184922996tmp [2021-03-10T06:54:02.174Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5122383884048689129tmp [Pipeline] { [Pipeline] echo [2021-03-10T06:54:02.229Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:54:02.531Z] ---> sigul-configuration.sh [2021-03-10T06:54:02.531Z] gpg: directory `/root/.gnupg' created [2021-03-10T06:54:02.531Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-10T06:54:02.531Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-10T06:54:02.531Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-10T06:54:02.531Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-10T06:54:02.531Z] gpg: CAST5 encrypted data [2021-03-10T06:54:02.794Z] gpg: encrypted with 1 passphrase [2021-03-10T06:54:02.794Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-10T06:54:03.098Z] + mkdir /home/jenkins [2021-03-10T06:54:03.098Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-10T06:54:03.405Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-03-10T06:54:03.417Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:54:03.725Z] ---> sigul-install.sh [2021-03-10T06:54:10.342Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-10T06:54:10.651Z] + git tag --list [2021-03-10T06:54:10.651Z] 0.7.1 [2021-03-10T06:54:10.651Z] delhi-tag [2021-03-10T06:54:10.651Z] v1.0.0 [2021-03-10T06:54:10.651Z] v1.1.0 [2021-03-10T06:54:10.651Z] v1.1.1 [2021-03-10T06:54:10.651Z] v1.1.2 [2021-03-10T06:54:10.651Z] v1.2.0 [2021-03-10T06:54:10.651Z] v1.2.1 [2021-03-10T06:54:10.651Z] v1.2.2 [2021-03-10T06:54:10.651Z] v1.2.3 [2021-03-10T06:54:10.651Z] v1.3.0 [2021-03-10T06:54:10.651Z] v1.4.0 [2021-03-10T06:54:10.651Z] v2.0.0-dev.1 [2021-03-10T06:54:10.651Z] v2.0.0-dev.10 [2021-03-10T06:54:10.651Z] v2.0.0-dev.11 [2021-03-10T06:54:10.651Z] v2.0.0-dev.12 [2021-03-10T06:54:10.651Z] v2.0.0-dev.13 [2021-03-10T06:54:10.651Z] v2.0.0-dev.14 [2021-03-10T06:54:10.651Z] v2.0.0-dev.15 [2021-03-10T06:54:10.651Z] v2.0.0-dev.16 [2021-03-10T06:54:10.651Z] v2.0.0-dev.17 [2021-03-10T06:54:10.651Z] v2.0.0-dev.18 [2021-03-10T06:54:10.651Z] v2.0.0-dev.19 [2021-03-10T06:54:10.651Z] v2.0.0-dev.2 [2021-03-10T06:54:10.651Z] v2.0.0-dev.3 [2021-03-10T06:54:10.651Z] v2.0.0-dev.4 [2021-03-10T06:54:10.651Z] v2.0.0-dev.5 [2021-03-10T06:54:10.651Z] v2.0.0-dev.6 [2021-03-10T06:54:10.651Z] v2.0.0-dev.7 [2021-03-10T06:54:10.651Z] v2.0.0-dev.8 [2021-03-10T06:54:10.651Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-10T06:54:10.957Z] + lftools sign git-tag v2.0.0-dev.19 [2021-03-10T06:54:12.349Z] Signing Git tag with Sigul... [2021-03-10T06:54:12.349Z] Signing v2.0.0-dev.19 [Pipeline] echo [2021-03-10T06:54:13.751Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:54:14.049Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-10T06:54:14.059Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-10T06:54:14.169Z] $ docker stop --time=1 c337d4ba1b2c023c2946c8c26827398bc8e3161810738037f8e2930d2d8478a5 [2021-03-10T06:54:16.341Z] $ docker rm -f c337d4ba1b2c023c2946c8c26827398bc8e3161810738037f8e2930d2d8478a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:54:17.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T06:54:17.264Z] . [Pipeline] withDockerContainer [2021-03-10T06:54:17.375Z] prd-centos7-docker-4c-2g-29262 does not seem to be running inside a container [2021-03-10T06:54:17.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-10T06:54:18.148Z] $ docker top 91173260deb973bc50f9faa8aca0ac647b6342716e7b8e52ef6c6412bac97aff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-10T06:54:18.481Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-10T06:54:18.481Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-10T06:54:18.699Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-10T06:54:18.697Z] $ docker exec 91173260deb973bc50f9faa8aca0ac647b6342716e7b8e52ef6c6412bac97aff ssh-agent [2021-03-10T06:54:18.929Z] SSH_AUTH_SOCK=/tmp/ssh-WM3QMQlzYruZ/agent.11 [2021-03-10T06:54:18.929Z] SSH_AGENT_PID=16 [2021-03-10T06:54:18.936Z] Running ssh-add (command line suppressed) [2021-03-10T06:54:19.083Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6791456657178120991.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6791456657178120991.key) [2021-03-10T06:54:19.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-10T06:54:19.499Z] + git semver bump pre [2021-03-10T06:54:19.499Z] # -> Open(): unable to determine branch for HEAD [2021-03-10T06:54:19.499Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-10T06:54:19.499Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-10T06:54:19.499Z] # $SEMVER_REMOTE_NAME = origin [2021-03-10T06:54:19.499Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-10T06:54:19.499Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-10T06:54:19.499Z] # $SEMVER_BRANCH = master [2021-03-10T06:54:19.499Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-10T06:54:19.499Z] 2.0.0-dev.20 [Pipeline] } [2021-03-10T06:54:19.506Z] $ docker exec --env ******** --env ******** 91173260deb973bc50f9faa8aca0ac647b6342716e7b8e52ef6c6412bac97aff ssh-agent -k [2021-03-10T06:54:19.640Z] unset SSH_AUTH_SOCK; [2021-03-10T06:54:19.641Z] unset SSH_AGENT_PID; [2021-03-10T06:54:19.641Z] echo Agent pid 16 killed; [2021-03-10T06:54:19.699Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-10T06:54:20.171Z] + git semver [Pipeline] } [2021-03-10T06:54:20.184Z] $ docker stop --time=1 91173260deb973bc50f9faa8aca0ac647b6342716e7b8e52ef6c6412bac97aff [2021-03-10T06:54:21.574Z] $ docker rm -f 91173260deb973bc50f9faa8aca0ac647b6342716e7b8e52ef6c6412bac97aff [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:54:22.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T06:54:22.182Z] . [Pipeline] withDockerContainer [2021-03-10T06:54:22.312Z] prd-centos7-docker-4c-2g-29262 does not seem to be running inside a container [2021-03-10T06:54:22.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-10T06:54:23.050Z] $ docker top 45c3fd15006bb156ab93c1e7efb28cadbc64e0beea64bd34dc3ecfdc5c287862 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-10T06:54:23.419Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-10T06:54:23.419Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-10T06:54:23.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-10T06:54:23.648Z] $ docker exec 45c3fd15006bb156ab93c1e7efb28cadbc64e0beea64bd34dc3ecfdc5c287862 ssh-agent [2021-03-10T06:54:23.864Z] SSH_AUTH_SOCK=/tmp/ssh-sb8Lq7XN3lfa/agent.11 [2021-03-10T06:54:23.864Z] SSH_AGENT_PID=16 [2021-03-10T06:54:23.871Z] Running ssh-add (command line suppressed) [2021-03-10T06:54:23.998Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2945803086176711433.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2945803086176711433.key) [2021-03-10T06:54:24.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-10T06:54:24.428Z] + git semver push [2021-03-10T06:54:24.428Z] # -> Open(): unable to determine branch for HEAD [2021-03-10T06:54:24.428Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-10T06:54:24.428Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-10T06:54:24.428Z] # $SEMVER_REMOTE_NAME = origin [2021-03-10T06:54:24.428Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-10T06:54:24.428Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-10T06:54:24.428Z] # $SEMVER_BRANCH = master [2021-03-10T06:54:24.428Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-10T06:54:28.660Z] $ docker exec --env ******** --env ******** 45c3fd15006bb156ab93c1e7efb28cadbc64e0beea64bd34dc3ecfdc5c287862 ssh-agent -k [2021-03-10T06:54:28.784Z] unset SSH_AUTH_SOCK; [2021-03-10T06:54:28.786Z] unset SSH_AGENT_PID; [2021-03-10T06:54:28.786Z] echo Agent pid 16 killed; [2021-03-10T06:54:28.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-10T06:54:29.356Z] + git semver [Pipeline] } [2021-03-10T06:54:29.391Z] $ docker stop --time=1 45c3fd15006bb156ab93c1e7efb28cadbc64e0beea64bd34dc3ecfdc5c287862 [2021-03-10T06:54:30.810Z] $ docker rm -f 45c3fd15006bb156ab93c1e7efb28cadbc64e0beea64bd34dc3ecfdc5c287862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-03-10T06:54:32.547Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:54:33.127Z] ---> package-listing.sh [2021-03-10T06:54:33.127Z] ++ facter osfamily [2021-03-10T06:54:33.127Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-10T06:54:33.127Z] + OS_FAMILY=redhat [2021-03-10T06:54:33.127Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-03-10T06:54:33.127Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-10T06:54:33.127Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-10T06:54:33.127Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-10T06:54:33.127Z] + PACKAGES=/tmp/packages_start.txt [2021-03-10T06:54:33.127Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-10T06:54:33.127Z] + PACKAGES=/tmp/packages_end.txt [2021-03-10T06:54:33.127Z] + case "${OS_FAMILY}" in [2021-03-10T06:54:33.127Z] + rpm -qa [2021-03-10T06:54:33.127Z] + sort [2021-03-10T06:54:38.442Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-10T06:54:38.443Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-10T06:54:38.443Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-10T06:54:38.443Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-10T06:54:38.443Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-03-10T06:54:38.443Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2021-03-10T06:54:38.457Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-10T06:54:38.746Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:54:39.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-10T06:54:39.052Z] [2021-03-10T06:54:39.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:54:39.401Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-10T06:54:39.401Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-10T06:54:39.401Z] df20fa9351a1: Pulling fs layer [2021-03-10T06:54:39.401Z] 36b3adc4ff6f: Pulling fs layer [2021-03-10T06:54:39.401Z] 8ad3a11d3b57: Pulling fs layer [2021-03-10T06:54:39.401Z] 46f8f816bc3b: Pulling fs layer [2021-03-10T06:54:39.401Z] 93b61091891f: Pulling fs layer [2021-03-10T06:54:39.401Z] 93b9cdb0e59b: Pulling fs layer [2021-03-10T06:54:39.401Z] 5e14af77c1be: Pulling fs layer [2021-03-10T06:54:39.401Z] 01666e4c0597: Pulling fs layer [2021-03-10T06:54:39.401Z] aa168da1d23b: Pulling fs layer [2021-03-10T06:54:39.401Z] 93b9cdb0e59b: Waiting [2021-03-10T06:54:39.401Z] 01666e4c0597: Waiting [2021-03-10T06:54:39.401Z] 5e14af77c1be: Waiting [2021-03-10T06:54:39.401Z] 46f8f816bc3b: Waiting [2021-03-10T06:54:39.401Z] 93b61091891f: Waiting [2021-03-10T06:54:39.401Z] aa168da1d23b: Waiting [2021-03-10T06:54:39.401Z] 36b3adc4ff6f: Verifying Checksum [2021-03-10T06:54:39.401Z] 36b3adc4ff6f: Download complete [2021-03-10T06:54:39.401Z] 46f8f816bc3b: Verifying Checksum [2021-03-10T06:54:39.401Z] 46f8f816bc3b: Download complete [2021-03-10T06:54:39.663Z] df20fa9351a1: Verifying Checksum [2021-03-10T06:54:39.663Z] df20fa9351a1: Download complete [2021-03-10T06:54:39.663Z] 93b9cdb0e59b: Download complete [2021-03-10T06:54:39.663Z] 93b61091891f: Verifying Checksum [2021-03-10T06:54:39.663Z] 93b61091891f: Download complete [2021-03-10T06:54:39.663Z] 5e14af77c1be: Verifying Checksum [2021-03-10T06:54:39.663Z] 5e14af77c1be: Download complete [2021-03-10T06:54:39.663Z] 01666e4c0597: Verifying Checksum [2021-03-10T06:54:39.663Z] 01666e4c0597: Download complete [2021-03-10T06:54:39.663Z] 8ad3a11d3b57: Verifying Checksum [2021-03-10T06:54:39.663Z] 8ad3a11d3b57: Download complete [2021-03-10T06:54:39.927Z] df20fa9351a1: Pull complete [2021-03-10T06:54:40.502Z] 36b3adc4ff6f: Pull complete [2021-03-10T06:54:41.906Z] 8ad3a11d3b57: Pull complete [2021-03-10T06:54:41.906Z] aa168da1d23b: Verifying Checksum [2021-03-10T06:54:41.906Z] aa168da1d23b: Download complete [2021-03-10T06:54:42.483Z] 46f8f816bc3b: Pull complete [2021-03-10T06:54:43.061Z] 93b61091891f: Pull complete [2021-03-10T06:54:43.061Z] 93b9cdb0e59b: Pull complete [2021-03-10T06:54:43.322Z] 5e14af77c1be: Pull complete [2021-03-10T06:54:43.322Z] 01666e4c0597: Pull complete [2021-03-10T06:54:51.530Z] aa168da1d23b: Pull complete [2021-03-10T06:54:51.530Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-10T06:54:51.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-10T06:54:51.530Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-10T06:54:51.719Z] prd-centos7-docker-4c-2g-29262 does not seem to be running inside a container [2021-03-10T06:54:51.764Z] $ 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_master/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_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-10T06:54:54.179Z] $ docker top f57d9b49bae05ba921ddf02ce3e49d4879882cade1da968577b410e6262d6f86 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T06:54:54.723Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-10T06:54:55.019Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-10T06:54:55.315Z] + ls /var/log/sa-host [2021-03-10T06:54:55.315Z] + sadf -c /var/log/sa-host/sa10 [2021-03-10T06:54:55.315Z] file_magic: OK [2021-03-10T06:54:55.315Z] HZ: Using current value: 100 [2021-03-10T06:54:55.315Z] file_header: OK [2021-03-10T06:54:55.315Z] 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-03-10T06:54:55.315Z] Statistics: [2021-03-10T06:54:55.315Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-10T06:54:55.315Z] File successfully converted to sysstat format version 12.2.1 [2021-03-10T06:54:55.315Z] + sadf -c /var/log/sa-host/sa23 [2021-03-10T06:54:55.315Z] file_magic: OK [2021-03-10T06:54:55.315Z] HZ: Using current value: 100 [2021-03-10T06:54:55.315Z] file_header: OK [2021-03-10T06:54:55.315Z] 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-03-10T06:54:55.315Z] Statistics: [2021-03-10T06:54:55.315Z] Hnuu...uuuununununu... [2021-03-10T06:54:55.315Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-10T06:54:56.002Z] provisioning config files... [2021-03-10T06:54:56.017Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7145882156270574699tmp [Pipeline] { [Pipeline] echo [2021-03-10T06:54:56.093Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:54:56.389Z] ---> create-netrc.sh [Pipeline] } [2021-03-10T06:54:56.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-10T06:54:56.489Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:54:56.786Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-10T06:54:56.797Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:54:57.093Z] ---> sudo-logs.sh [2021-03-10T06:54:57.093Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-10T06:54:57.184Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:54:57.478Z] ---> job-cost.sh [2021-03-10T06:54:57.478Z] lf-activate-venv: SKIPPING [2021-03-10T06:54:57.478Z] DEBUG: total: 0.029999999329447746 [2021-03-10T06:54:57.479Z] INFO: Retrieving Stack Cost... [2021-03-10T06:54:58.428Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-10T06:54:59.003Z] INFO: Archiving Costs [Pipeline] echo [2021-03-10T06:54:59.019Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:54:59.316Z] ---> logs-deploy.sh [2021-03-10T06:54:59.316Z] lf-activate-venv: SKIPPING [2021-03-10T06:54:59.316Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/124 [2021-03-10T06:54:59.316Z] INFO: archiving workspace using pattern(s): [2021-03-10T06:55:01.233Z] Archives upload complete. [2021-03-10T06:55:01.233Z] INFO: archiving logs to Nexus