Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b+5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea (1d8e896f7202191ea8e308dcdca242be924b8a51) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5582330328710997567.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5944015469690870448.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6209629098315657159.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4056884328426550625.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh787843401936772436.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2076 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-971 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh632624909194314281.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea into PR head commit 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b Merge succeeded, producing ab6e98978cf0130f3b3b68bbaa55323995d84e98 Checking out Revision ab6e98978cf0130f3b3b68bbaa55323995d84e98 (PR-971) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh1658070515023639410.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh4920917396325120091.key > git merge 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab6e98978cf0130f3b3b68bbaa55323995d84e98 # timeout=10 Commit message: "Merge commit '5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-07T10:41:40.530Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-07T10:41:40.672Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-07T10:41:40.703Z] ========================================================= [2021-07-07T10:41:40.704Z] EdgeX Global Pipelines Version Info [2021-07-07T10:41:40.704Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5b3d0607a78a71127407f361b56755f1a086627b # timeout=10 [2021-07-07T10:41:42.186Z] ------------------- [2021-07-07T10:41:42.186Z] stable info: [2021-07-07T10:41:42.186Z] ------------------- [2021-07-07T10:41:42.186Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-07T10:41:42.186Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T10:41:42.186Z] Message: update stable to v1.0.196 [2021-07-07T10:41:42.762Z] ------------------- [2021-07-07T10:41:42.762Z] experimental info: [2021-07-07T10:41:42.762Z] ------------------- [2021-07-07T10:41:42.762Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-07T10:41:42.762Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T10:41:42.762Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-07T10:41:42.892Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-07-07T10:41:42.917Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-07-07T10:41:42.945Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-07T10:41:42.970Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-07T10:41:42.995Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-07T10:41:43.020Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-07T10:41:43.045Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-07T10:41:43.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-07T10:41:43.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-07-07T10:41:43.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-07T10:41:43.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-07T10:41:43.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-07-07T10:41:43.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-07T10:41:43.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-07T10:41:43.246Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-07T10:41:43.271Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T10:41:43.320Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T10:41:43.347Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T10:41:43.371Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-07T10:41:43.396Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-07T10:41:43.425Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-07T10:41:43.450Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-07T10:41:43.480Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-07T10:41:43.507Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-07T10:41:43.535Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-07T10:41:43.573Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-07T10:41:43.599Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-07-07T10:41:43.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-07-07T10:41:43.655Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-07-07T10:41:43.680Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab6e98978cf0130f3b3b68bbaa55323995d84e98 [Pipeline] echo [2021-07-07T10:41:43.706Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab6e989 [Pipeline] echo [2021-07-07T10:41:43.734Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T10:41:43.819Z] provisioning config files... [2021-07-07T10:41:43.837Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config6732623971428550091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:41:44.174Z] ---> docker-login.sh [2021-07-07T10:41:44.174Z] nexus3.edgexfoundry.org:10001 [2021-07-07T10:41:44.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:41:44.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:41:44.437Z] Configure a credential helper to remove this warning. See [2021-07-07T10:41:44.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:41:44.437Z] [2021-07-07T10:41:44.437Z] Login Succeeded [2021-07-07T10:41:44.437Z] nexus3.edgexfoundry.org:10002 [2021-07-07T10:41:44.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:41:44.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:41:44.437Z] Configure a credential helper to remove this warning. See [2021-07-07T10:41:44.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:41:44.437Z] [2021-07-07T10:41:44.437Z] Login Succeeded [2021-07-07T10:41:44.437Z] nexus3.edgexfoundry.org:10003 [2021-07-07T10:41:44.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:41:44.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:41:44.701Z] Configure a credential helper to remove this warning. See [2021-07-07T10:41:44.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:41:44.701Z] [2021-07-07T10:41:44.701Z] Login Succeeded [2021-07-07T10:41:44.701Z] nexus3.edgexfoundry.org:10004 [2021-07-07T10:41:44.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:41:44.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:41:44.701Z] Configure a credential helper to remove this warning. See [2021-07-07T10:41:44.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:41:44.701Z] [2021-07-07T10:41:44.701Z] Login Succeeded [2021-07-07T10:41:44.701Z] docker.io [2021-07-07T10:41:44.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:41:45.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:41:45.228Z] Configure a credential helper to remove this warning. See [2021-07-07T10:41:45.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:41:45.228Z] [2021-07-07T10:41:45.228Z] Login Succeeded [2021-07-07T10:41:45.228Z] ---> docker-login.sh ends [Pipeline] } [2021-07-07T10:41:45.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T10:41:45.752Z] + git log --format=format:%s -1 ab6e98978cf0130f3b3b68bbaa55323995d84e98 [Pipeline] echo [2021-07-07T10:41:45.791Z] GIT_COMMIT: ab6e98978cf0130f3b3b68bbaa55323995d84e98, Commit Message: Merge commit '5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea' into HEAD [Pipeline] echo [2021-07-07T10:41:45.805Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:41:46.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T10:41:46.809Z] [2021-07-07T10:41:46.809Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:41:47.123Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T10:41:47.123Z] latest: Pulling from edgex-devops/git-semver [2021-07-07T10:41:47.123Z] 31603596830f: Pulling fs layer [2021-07-07T10:41:47.123Z] b6dc333f4379: Pulling fs layer [2021-07-07T10:41:47.123Z] 3d9ef1400e77: Pulling fs layer [2021-07-07T10:41:47.123Z] fd332fbdc1db: Pulling fs layer [2021-07-07T10:41:47.123Z] fd332fbdc1db: Waiting [2021-07-07T10:41:47.123Z] b6dc333f4379: Verifying Checksum [2021-07-07T10:41:47.123Z] b6dc333f4379: Download complete [2021-07-07T10:41:47.385Z] 31603596830f: Verifying Checksum [2021-07-07T10:41:47.385Z] 31603596830f: Download complete [2021-07-07T10:41:47.385Z] fd332fbdc1db: Verifying Checksum [2021-07-07T10:41:47.385Z] fd332fbdc1db: Download complete [2021-07-07T10:41:47.385Z] 3d9ef1400e77: Verifying Checksum [2021-07-07T10:41:47.385Z] 3d9ef1400e77: Download complete [2021-07-07T10:41:47.385Z] 31603596830f: Pull complete [2021-07-07T10:41:47.651Z] b6dc333f4379: Pull complete [2021-07-07T10:41:48.225Z] 3d9ef1400e77: Pull complete [2021-07-07T10:41:48.225Z] fd332fbdc1db: Pull complete [2021-07-07T10:41:48.487Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-07T10:41:48.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T10:41:48.487Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-07T10:41:48.573Z] prd-centos7-docker-4c-2g-2076 does not seem to be running inside a container [2021-07-07T10:41:48.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-07T10:41:49.511Z] $ docker top caee6bf6685f10cf240425ee91c3424a6978b8d52b503cf9080e96319be45999 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-07T10:41:49.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T10:41:49.637Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T10:41:49.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T10:41:49.738Z] $ docker exec caee6bf6685f10cf240425ee91c3424a6978b8d52b503cf9080e96319be45999 ssh-agent [2021-07-07T10:41:49.847Z] SSH_AUTH_SOCK=/tmp/ssh-4l8sfcVgZd0P/agent.13 [2021-07-07T10:41:49.847Z] SSH_AGENT_PID=19 [2021-07-07T10:41:49.855Z] Running ssh-add (command line suppressed) [2021-07-07T10:41:49.943Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_2851931260228306213.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_2851931260228306213.key) [2021-07-07T10:41:49.960Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T10:41:50.263Z] + git tag --points-at HEAD [Pipeline] } [2021-07-07T10:41:50.275Z] $ docker exec --env ******** --env ******** caee6bf6685f10cf240425ee91c3424a6978b8d52b503cf9080e96319be45999 ssh-agent -k [2021-07-07T10:41:50.378Z] unset SSH_AUTH_SOCK; [2021-07-07T10:41:50.379Z] unset SSH_AGENT_PID; [2021-07-07T10:41:50.379Z] echo Agent pid 19 killed; [2021-07-07T10:41:50.393Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-07T10:41:50.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T10:41:50.446Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T10:41:50.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T10:41:50.573Z] $ docker exec caee6bf6685f10cf240425ee91c3424a6978b8d52b503cf9080e96319be45999 ssh-agent [2021-07-07T10:41:50.684Z] SSH_AUTH_SOCK=/tmp/ssh-cmrM5gvsP7Ns/agent.51 [2021-07-07T10:41:50.684Z] SSH_AGENT_PID=57 [2021-07-07T10:41:50.690Z] Running ssh-add (command line suppressed) [2021-07-07T10:41:50.791Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_82052470081126168.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_82052470081126168.key) [2021-07-07T10:41:50.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T10:41:51.120Z] + git semver init [2021-07-07T10:41:51.120Z] # -> Open(): unable to determine branch for HEAD [2021-07-07T10:41:51.120Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-07-07T10:41:51.120Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-07-07T10:41:51.120Z] # $SEMVER_REMOTE_NAME = origin [2021-07-07T10:41:51.120Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-07T10:41:51.120Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-07T10:41:51.120Z] # $SEMVER_BRANCH = PR-971 [2021-07-07T10:41:51.120Z] # $SEMVER_TEMP = /tmp/semver-766051378 [2021-07-07T10:41:51.120Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-07-07T10:41:51.697Z] # '/tmp/semver-766051378' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-07-07T10:41:51.697Z] # -> Force: false [2021-07-07T10:41:51.697Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-07-07T10:41:51.706Z] $ docker exec --env ******** --env ******** caee6bf6685f10cf240425ee91c3424a6978b8d52b503cf9080e96319be45999 ssh-agent -k [2021-07-07T10:41:51.799Z] unset SSH_AUTH_SOCK; [2021-07-07T10:41:51.799Z] unset SSH_AGENT_PID; [2021-07-07T10:41:51.799Z] echo Agent pid 57 killed; [2021-07-07T10:41:51.813Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-07T10:41:52.148Z] + git semver [Pipeline] } [2021-07-07T10:41:52.162Z] $ docker stop --time=1 caee6bf6685f10cf240425ee91c3424a6978b8d52b503cf9080e96319be45999 [2021-07-07T10:41:53.402Z] $ docker rm -f caee6bf6685f10cf240425ee91c3424a6978b8d52b503cf9080e96319be45999 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T10:41:53.782Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-07T10:41:54.067Z] Stashed 1 file(s) [Pipeline] echo [2021-07-07T10:41:54.070Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-07-07T10:42:09.310Z] Still waiting to schedule task [2021-07-07T10:42:09.310Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2076’ [2021-07-07T10:42:09.314Z] Still waiting to schedule task [2021-07-07T10:42:09.314Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-07T10:44:19.832Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2077 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-07-07T10:44:19.855Z] Running in /w/workspace/device-sdk-go/24 [Pipeline] { [Pipeline] checkout [2021-07-07T10:44:20.287Z] Selected Git installation does not exist. Using Default [2021-07-07T10:44:20.287Z] The recommended git tool is: NONE [2021-07-07T10:44:27.388Z] using credential edgex-jenkins-ssh [2021-07-07T10:44:27.410Z] Cloning the remote Git repository [2021-07-07T10:44:27.468Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-07T10:44:27.583Z] > git init /w/workspace/device-sdk-go/24 # timeout=10 [2021-07-07T10:44:27.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-07T10:44:27.680Z] > git --version # timeout=10 [2021-07-07T10:44:27.698Z] > git --version # 'git version 2.17.1' [2021-07-07T10:44:27.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:44:27.772Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T10:44:28.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-07T10:44:28.977Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T10:44:28.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-07T10:44:29.029Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-07T10:44:29.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:44:29.041Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T10:44:29.569Z] Merging remotes/origin/main commit 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea into PR head commit 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b [2021-07-07T10:44:29.842Z] Merge succeeded, producing 7b1b5c24346d1bb1e13471900396b5ae6421b300 [2021-07-07T10:44:29.843Z] Checking out Revision 7b1b5c24346d1bb1e13471900396b5ae6421b300 (PR-971) [2021-07-07T10:44:29.585Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T10:44:29.604Z] > git checkout -f 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 [2021-07-07T10:44:29.700Z] > git remote # timeout=10 [2021-07-07T10:44:29.717Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T10:44:29.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:44:29.748Z] > git merge 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea # timeout=10 [2021-07-07T10:44:29.828Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T10:44:29.849Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T10:44:29.865Z] > git checkout -f 7b1b5c24346d1bb1e13471900396b5ae6421b300 # timeout=10 [2021-07-07T10:44:34.081Z] Commit message: "Merge commit '5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea' into HEAD" [2021-07-07T10:44:34.110Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T10:44:34.088Z] > git rev-list --no-walk 5b3d0607a78a71127407f361b56755f1a086627b # timeout=10 [2021-07-07T10:44:35.568Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-07T10:44:35.982Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T10:44:36.320Z] + sudo service docker+ restart [2021-07-07T10:44:36.320Z] true [2021-07-07T10:44:38.757Z] Running on prd-centos7-docker-4c-2g-2078 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-07-07T10:44:38.786Z] Running in /w/workspace/device-sdk-go/24 [Pipeline] { [Pipeline] checkout [2021-07-07T10:44:38.889Z] Selected Git installation does not exist. Using Default [2021-07-07T10:44:38.889Z] The recommended git tool is: NONE [2021-07-07T10:44:41.109Z] using credential edgex-jenkins-ssh [2021-07-07T10:44:41.131Z] Cloning the remote Git repository [2021-07-07T10:44:40.611Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-07T10:44:40.731Z] > git init /w/workspace/device-sdk-go/24 # timeout=10 [2021-07-07T10:44:40.770Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-07T10:44:40.770Z] > git --version # timeout=10 [2021-07-07T10:44:40.784Z] > git --version # 'git version 2.24.4' [2021-07-07T10:44:40.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:44:40.813Z] [INFO] Currently running in a labeled security context [2021-07-07T10:44:40.813Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T10:44:40.813Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/24@tmp/jenkins-gitclient-ssh4338695545269209247.key [2021-07-07T10:44:40.845Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T10:44:41.464Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-07T10:44:41.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T10:44:41.487Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-07T10:44:41.502Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-07T10:44:41.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:44:41.504Z] [INFO] Currently running in a labeled security context [2021-07-07T10:44:41.504Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T10:44:41.504Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/24@tmp/jenkins-gitclient-ssh8240594769992964008.key [2021-07-07T10:44:41.512Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T10:44:42.408Z] Merging remotes/origin/main commit 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea into PR head commit 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b [2021-07-07T10:44:42.537Z] Merge succeeded, producing c0b6218e863cb5732610990ea73f48ec2500c2bd [2021-07-07T10:44:42.538Z] Checking out Revision c0b6218e863cb5732610990ea73f48ec2500c2bd (PR-971) [2021-07-07T10:44:41.872Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T10:44:41.883Z] > git checkout -f 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 [2021-07-07T10:44:41.918Z] > git remote # timeout=10 [2021-07-07T10:44:41.934Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T10:44:41.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:44:41.944Z] [INFO] Currently running in a labeled security context [2021-07-07T10:44:41.944Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T10:44:41.944Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/24@tmp/jenkins-gitclient-ssh2507800422643279678.key [2021-07-07T10:44:41.952Z] > git merge 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea # timeout=10 [2021-07-07T10:44:41.978Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T10:44:41.996Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T10:44:42.002Z] > git checkout -f c0b6218e863cb5732610990ea73f48ec2500c2bd # timeout=10 [2021-07-07T10:44:45.881Z] Commit message: "Merge commit '5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea' into HEAD" [2021-07-07T10:44:45.889Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T10:44:46.898Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-07T10:44:45.587Z] > git rev-list --no-walk 5b3d0607a78a71127407f361b56755f1a086627b # timeout=10 [2021-07-07T10:44:47.225Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T10:44:47.522Z] + sudo service docker restart [2021-07-07T10:44:47.522Z] + true [2021-07-07T10:44:47.522Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T10:44:54.690Z] provisioning config files... [2021-07-07T10:44:54.717Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/24@tmp/config3016652607058004696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:44:55.098Z] ---> docker-login.sh [2021-07-07T10:44:55.098Z] nexus3.edgexfoundry.org:10001 [2021-07-07T10:44:56.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:44:56.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:44:56.354Z] Configure a credential helper to remove this warning. See [2021-07-07T10:44:56.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:44:56.354Z] [2021-07-07T10:44:56.354Z] Login Succeeded [2021-07-07T10:44:56.354Z] nexus3.edgexfoundry.org:10002 [2021-07-07T10:44:56.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:44:56.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:44:56.913Z] Configure a credential helper to remove this warning. See [2021-07-07T10:44:56.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:44:56.913Z] [2021-07-07T10:44:56.913Z] Login Succeeded [2021-07-07T10:44:56.913Z] nexus3.edgexfoundry.org:10003 [2021-07-07T10:44:57.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:44:57.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:44:57.468Z] Configure a credential helper to remove this warning. See [2021-07-07T10:44:57.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:44:57.468Z] [2021-07-07T10:44:57.468Z] Login Succeeded [2021-07-07T10:44:57.468Z] nexus3.edgexfoundry.org:10004 [2021-07-07T10:44:57.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:44:58.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:44:58.016Z] Configure a credential helper to remove this warning. See [2021-07-07T10:44:58.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:44:58.016Z] [2021-07-07T10:44:58.016Z] Login Succeeded [2021-07-07T10:44:58.016Z] docker.io [2021-07-07T10:44:58.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:44:58.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:44:58.562Z] Configure a credential helper to remove this warning. See [2021-07-07T10:44:58.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:44:58.562Z] [2021-07-07T10:44:58.562Z] Login Succeeded [2021-07-07T10:44:58.562Z] ---> docker-login.sh ends [Pipeline] } [2021-07-07T10:44:58.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-07T10:44:58.895Z] ========================================================= [2021-07-07T10:44:58.896Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-07T10:44:58.896Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:44:59.245Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-07T10:44:59.855Z] Sending build context to Docker daemon 2.565MB [2021-07-07T10:44:59.855Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-07T10:44:59.855Z] Step 2/8 : FROM ${BASE} [2021-07-07T10:44:59.855Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-07T10:44:59.855Z] 595b0fe564bb: Pulling fs layer [2021-07-07T10:44:59.855Z] 3088b5b3c5c0: Pulling fs layer [2021-07-07T10:44:59.855Z] 5b7225fbf94c: Pulling fs layer [2021-07-07T10:44:59.855Z] ba82ee9f976e: Pulling fs layer [2021-07-07T10:44:59.855Z] 506bd15cee9f: Pulling fs layer [2021-07-07T10:44:59.855Z] 75a0a4a0db45: Pulling fs layer [2021-07-07T10:44:59.855Z] 618dc40b7e24: Pulling fs layer [2021-07-07T10:44:59.855Z] 75a0a4a0db45: Waiting [2021-07-07T10:44:59.855Z] ba82ee9f976e: Waiting [2021-07-07T10:44:59.855Z] 618dc40b7e24: Waiting [2021-07-07T10:44:59.855Z] 506bd15cee9f: Waiting [2021-07-07T10:45:00.135Z] 5b7225fbf94c: Verifying Checksum [2021-07-07T10:45:00.135Z] 5b7225fbf94c: Download complete [2021-07-07T10:45:00.135Z] 3088b5b3c5c0: Verifying Checksum [2021-07-07T10:45:00.135Z] 506bd15cee9f: Download complete [2021-07-07T10:45:00.135Z] 75a0a4a0db45: Verifying Checksum [2021-07-07T10:45:00.135Z] 75a0a4a0db45: Download complete [2021-07-07T10:45:00.135Z] 595b0fe564bb: Verifying Checksum [2021-07-07T10:45:00.135Z] 595b0fe564bb: Download complete [2021-07-07T10:45:00.735Z] 595b0fe564bb: Pull complete [2021-07-07T10:45:01.349Z] 3088b5b3c5c0: Pull complete [2021-07-07T10:45:01.954Z] 5b7225fbf94c: Pull complete [2021-07-07T10:45:02.564Z] 618dc40b7e24: Verifying Checksum [2021-07-07T10:45:02.564Z] 618dc40b7e24: Download complete [2021-07-07T10:45:03.999Z] ba82ee9f976e: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T10:45:05.721Z] provisioning config files... [2021-07-07T10:45:05.738Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/24@tmp/config3988600118358799528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:45:06.088Z] ---> docker-login.sh [2021-07-07T10:45:06.088Z] nexus3.edgexfoundry.org:10001 [2021-07-07T10:45:06.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:45:06.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:45:06.088Z] Configure a credential helper to remove this warning. See [2021-07-07T10:45:06.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:45:06.088Z] [2021-07-07T10:45:06.088Z] Login Succeeded [2021-07-07T10:45:06.088Z] nexus3.edgexfoundry.org:10002 [2021-07-07T10:45:06.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:45:06.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:45:06.349Z] Configure a credential helper to remove this warning. See [2021-07-07T10:45:06.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:45:06.349Z] [2021-07-07T10:45:06.349Z] Login Succeeded [2021-07-07T10:45:06.349Z] nexus3.edgexfoundry.org:10003 [2021-07-07T10:45:06.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:45:06.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:45:06.612Z] Configure a credential helper to remove this warning. See [2021-07-07T10:45:06.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:45:06.612Z] [2021-07-07T10:45:06.612Z] Login Succeeded [2021-07-07T10:45:06.612Z] nexus3.edgexfoundry.org:10004 [2021-07-07T10:45:06.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:45:06.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:45:06.612Z] Configure a credential helper to remove this warning. See [2021-07-07T10:45:06.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:45:06.612Z] [2021-07-07T10:45:06.612Z] Login Succeeded [2021-07-07T10:45:06.612Z] docker.io [2021-07-07T10:45:06.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T10:45:06.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T10:45:06.876Z] Configure a credential helper to remove this warning. See [2021-07-07T10:45:06.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T10:45:06.876Z] [2021-07-07T10:45:06.876Z] Login Succeeded [2021-07-07T10:45:06.876Z] ---> docker-login.sh ends [Pipeline] } [2021-07-07T10:45:06.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-07T10:45:07.063Z] ========================================================= [2021-07-07T10:45:07.063Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-07T10:45:07.063Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:45:07.390Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-07T10:45:07.390Z] Sending build context to Docker daemon 2.566MB [2021-07-07T10:45:07.390Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-07T10:45:07.390Z] Step 2/8 : FROM ${BASE} [2021-07-07T10:45:07.390Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-07T10:45:07.390Z] 540db60ca938: Pulling fs layer [2021-07-07T10:45:07.390Z] adcc1eea9eea: Pulling fs layer [2021-07-07T10:45:07.390Z] 4c4ab2625f07: Pulling fs layer [2021-07-07T10:45:07.390Z] 0510c868ecb4: Pulling fs layer [2021-07-07T10:45:07.390Z] afea3b2eda06: Pulling fs layer [2021-07-07T10:45:07.390Z] 7809a108b3ef: Pulling fs layer [2021-07-07T10:45:07.390Z] f706445af74f: Pulling fs layer [2021-07-07T10:45:07.390Z] afea3b2eda06: Waiting [2021-07-07T10:45:07.390Z] 7809a108b3ef: Waiting [2021-07-07T10:45:07.390Z] f706445af74f: Waiting [2021-07-07T10:45:07.390Z] 0510c868ecb4: Waiting [2021-07-07T10:45:07.669Z] 4c4ab2625f07: Verifying Checksum [2021-07-07T10:45:07.669Z] 4c4ab2625f07: Download complete [2021-07-07T10:45:07.669Z] adcc1eea9eea: Download complete [2021-07-07T10:45:07.669Z] afea3b2eda06: Download complete [2021-07-07T10:45:07.669Z] 540db60ca938: Verifying Checksum [2021-07-07T10:45:07.669Z] 540db60ca938: Download complete [2021-07-07T10:45:07.669Z] 7809a108b3ef: Verifying Checksum [2021-07-07T10:45:07.669Z] 7809a108b3ef: Download complete [2021-07-07T10:45:07.933Z] 540db60ca938: Pull complete [2021-07-07T10:45:07.934Z] adcc1eea9eea: Pull complete [2021-07-07T10:45:08.195Z] 4c4ab2625f07: Pull complete [2021-07-07T10:45:08.768Z] f706445af74f: Verifying Checksum [2021-07-07T10:45:08.768Z] f706445af74f: Download complete [2021-07-07T10:45:09.722Z] 0510c868ecb4: Verifying Checksum [2021-07-07T10:45:09.722Z] 0510c868ecb4: Download complete [2021-07-07T10:45:13.055Z] 0510c868ecb4: Pull complete [2021-07-07T10:45:13.055Z] afea3b2eda06: Pull complete [2021-07-07T10:45:13.055Z] 7809a108b3ef: Pull complete [2021-07-07T10:45:14.158Z] ba82ee9f976e: Pull complete [2021-07-07T10:45:14.159Z] 506bd15cee9f: Pull complete [2021-07-07T10:45:14.159Z] 75a0a4a0db45: Pull complete [2021-07-07T10:45:14.451Z] f706445af74f: Pull complete [2021-07-07T10:45:14.451Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-07T10:45:14.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-07T10:45:14.451Z] ---> b068be0155e3 [2021-07-07T10:45:14.451Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T10:45:17.570Z] 618dc40b7e24: Pull complete [2021-07-07T10:45:17.570Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-07T10:45:17.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-07T10:45:17.570Z] ---> a36622ca3599 [2021-07-07T10:45:17.570Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T10:45:17.767Z] ---> Running in b94f8d68e2a5 [2021-07-07T10:45:18.034Z] Removing intermediate container b94f8d68e2a5 [2021-07-07T10:45:18.034Z] ---> 39b3780d13d5 [2021-07-07T10:45:18.034Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-07T10:45:18.034Z] ---> Running in a359c7e0284a [2021-07-07T10:45:18.611Z] Removing intermediate container a359c7e0284a [2021-07-07T10:45:18.611Z] ---> 20652853b691 [2021-07-07T10:45:18.611Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-07T10:45:18.611Z] ---> Running in c4f6542b8a8d [2021-07-07T10:45:18.873Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-07T10:45:19.266Z] ---> Running in 0636f1ec81d0 [2021-07-07T10:45:19.536Z] Removing intermediate container 0636f1ec81d0 [2021-07-07T10:45:19.536Z] ---> 33ffc3e97112 [2021-07-07T10:45:19.536Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-07T10:45:19.810Z] ---> Running in 7a83e6e5422e [2021-07-07T10:45:19.816Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-07T10:45:20.077Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-07T10:45:20.337Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-07T10:45:20.337Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-07T10:45:20.337Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-07T10:45:20.601Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-07T10:45:20.601Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-07T10:45:20.601Z] Executing busybox-1.32.1-r6.trigger [2021-07-07T10:45:20.601Z] OK: 150 MiB in 46 packages [2021-07-07T10:45:20.862Z] Removing intermediate container c4f6542b8a8d [2021-07-07T10:45:20.862Z] ---> 0531715997f6 [2021-07-07T10:45:20.862Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-07T10:45:21.124Z] ---> Running in ac0fc40a2136 [2021-07-07T10:45:21.124Z] Removing intermediate container ac0fc40a2136 [2021-07-07T10:45:21.124Z] ---> 25ec210fcd76 [2021-07-07T10:45:21.124Z] Step 7/8 : COPY . . [2021-07-07T10:45:21.385Z] ---> e777d839aecf [2021-07-07T10:45:21.385Z] Step 8/8 : RUN go mod download [2021-07-07T10:45:21.647Z] ---> Running in 59d50312b4fc [2021-07-07T10:45:22.428Z] Removing intermediate container 7a83e6e5422e [2021-07-07T10:45:22.428Z] ---> e3996805e03b [2021-07-07T10:45:22.428Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-07T10:45:22.428Z] ---> Running in 051c8a09019c [2021-07-07T10:45:23.401Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-07T10:45:23.993Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-07T10:45:24.965Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-07T10:45:24.965Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-07T10:45:24.965Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-07T10:45:25.235Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-07T10:45:25.235Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-07T10:45:25.510Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-07T10:45:25.510Z] Executing busybox-1.32.1-r6.trigger [2021-07-07T10:45:25.510Z] OK: 139 MiB in 46 packages [2021-07-07T10:45:26.943Z] Removing intermediate container 051c8a09019c [2021-07-07T10:45:26.943Z] ---> c9f51509e3d9 [2021-07-07T10:45:26.943Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-07T10:45:26.943Z] ---> Running in f1fc6c74abf7 [2021-07-07T10:45:27.216Z] Removing intermediate container f1fc6c74abf7 [2021-07-07T10:45:27.217Z] ---> 3a4c16c3635a [2021-07-07T10:45:27.217Z] Step 7/8 : COPY . . [2021-07-07T10:45:28.650Z] ---> 5ecc3f661def [2021-07-07T10:45:28.650Z] Step 8/8 : RUN go mod download [2021-07-07T10:45:28.650Z] ---> Running in 3ee3ee08de8e [2021-07-07T10:45:36.593Z] Removing intermediate container 59d50312b4fc [2021-07-07T10:45:36.593Z] ---> 35ee5144fadd [2021-07-07T10:45:36.593Z] Successfully built 35ee5144fadd [2021-07-07T10:45:36.593Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:45:36.908Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T10:45:36.908Z] . [Pipeline] withDockerContainer [2021-07-07T10:45:36.987Z] prd-centos7-docker-4c-2g-2078 does not seem to be running inside a container [2021-07-07T10:45:37.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-07T10:45:37.418Z] $ docker top e3fa606be19a00fc6247d5696eaedb894ac4a9632f907ce7f76ed0aadf27422c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T10:45:37.811Z] + go version [2021-07-07T10:45:37.811Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-07T10:45:37.821Z] $ docker stop --time=1 e3fa606be19a00fc6247d5696eaedb894ac4a9632f907ce7f76ed0aadf27422c [2021-07-07T10:45:39.011Z] $ docker rm -f e3fa606be19a00fc6247d5696eaedb894ac4a9632f907ce7f76ed0aadf27422c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:45:39.555Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T10:45:39.555Z] . [Pipeline] withDockerContainer [2021-07-07T10:45:39.638Z] prd-centos7-docker-4c-2g-2078 does not seem to be running inside a container [2021-07-07T10:45:39.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-07T10:45:40.074Z] $ docker top 6df58d9805be0a9547112907149386d8501157d20c76863014613b3a2e9f0fb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T10:45:40.498Z] + go mod tidy [Pipeline] sh [2021-07-07T10:45:41.063Z] + make test [2021-07-07T10:45:41.063Z] go mod tidy [2021-07-07T10:45:41.344Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-07T10:45:46.724Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-07T10:45:55.477Z] Removing intermediate container 3ee3ee08de8e [2021-07-07T10:45:55.477Z] ---> 11ac1ee36140 [2021-07-07T10:45:55.477Z] Successfully built 11ac1ee36140 [2021-07-07T10:45:55.477Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:45:55.842Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T10:45:55.842Z] . [Pipeline] withDockerContainer [2021-07-07T10:45:56.256Z] prd-ubuntu18.04-docker-arm64-4c-16g-2077 does not seem to be running inside a container [2021-07-07T10:45:56.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-07T10:45:57.993Z] $ docker top 18e4b0899f27352d1bfad32bdf824f5bc8c0b86b9f04c4307e076459b328268d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T10:45:59.008Z] + go version [2021-07-07T10:45:59.009Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-07T10:45:59.030Z] $ docker stop --time=1 18e4b0899f27352d1bfad32bdf824f5bc8c0b86b9f04c4307e076459b328268d [2021-07-07T10:46:00.882Z] $ docker rm -f 18e4b0899f27352d1bfad32bdf824f5bc8c0b86b9f04c4307e076459b328268d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:46:01.684Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T10:46:01.684Z] . [Pipeline] withDockerContainer [2021-07-07T10:46:01.954Z] prd-ubuntu18.04-docker-arm64-4c-16g-2077 does not seem to be running inside a container [2021-07-07T10:46:02.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-07T10:46:03.547Z] $ docker top 198e68096789577af695eb2458bc7a2f2f3db7c1745b68374d1ce886c416d67c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T10:46:04.499Z] + go mod tidy [Pipeline] sh [2021-07-07T10:46:05.771Z] + make test [2021-07-07T10:46:05.771Z] go mod tidy [2021-07-07T10:46:06.047Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-07T10:46:08.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-07T10:46:08.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-07T10:46:08.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-07T10:46:10.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.057s coverage: 24.2% of statements [2021-07-07T10:46:10.705Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-07T10:46:10.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 28.1% of statements [2021-07-07T10:46:10.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.057s coverage: 78.9% of statements [2021-07-07T10:46:10.969Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 9.0% of statements [2021-07-07T10:46:10.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-07T10:46:10.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-07T10:46:10.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-07T10:46:11.574Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.059s coverage: 28.7% of statements [2021-07-07T10:46:11.574Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-07T10:46:12.973Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 83.3% of statements [2021-07-07T10:46:12.973Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-07T10:46:12.973Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-07T10:46:12.973Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 58.0% of statements [2021-07-07T10:46:13.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.841s coverage: 89.2% of statements [2021-07-07T10:46:13.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-07T10:46:13.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 4.9% of statements [2021-07-07T10:46:13.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-07T10:46:13.923Z] GO111MODULE=on go vet ./... [2021-07-07T10:46:32.167Z] gofmt -l . [2021-07-07T10:46:32.167Z] [ "`gofmt -l .`" = "" ] [2021-07-07T10:46:32.167Z] ./bin/test-attribution-txt.sh [2021-07-07T10:46:32.167Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-07T10:46:32.184Z] $ docker stop --time=1 6df58d9805be0a9547112907149386d8501157d20c76863014613b3a2e9f0fb6 [2021-07-07T10:46:32.872Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-07T10:46:33.626Z] $ docker rm -f 6df58d9805be0a9547112907149386d8501157d20c76863014613b3a2e9f0fb6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T10:46:34.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T10:46:34.313Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-07T10:46:37.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-07T10:46:37.452Z] + ls -al . [2021-07-07T10:46:37.452Z] total 228 [2021-07-07T10:46:37.452Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jul 7 10:46 . [2021-07-07T10:46:37.452Z] drwxrwxr-x. 4 jenkins jenkins 30 Jul 7 10:44 .. [2021-07-07T10:46:37.452Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 7 10:44 bin [2021-07-07T10:46:37.452Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jul 7 10:44 CHANGELOG.md [2021-07-07T10:46:37.452Z] -rw-r--r--. 1 jenkins jenkins 125634 Jul 7 10:46 coverage.out [2021-07-07T10:46:37.452Z] -rw-rw-r--. 1 jenkins jenkins 987 Jul 7 10:44 Dockerfile.build [2021-07-07T10:46:37.452Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 7 10:44 .dockerignore [2021-07-07T10:46:37.452Z] drwxrwxr-x. 5 jenkins jenkins 62 Jul 7 10:44 example [2021-07-07T10:46:37.452Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 7 10:44 .git [2021-07-07T10:46:37.452Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 7 10:44 .github [2021-07-07T10:46:37.452Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 7 10:44 .gitignore [2021-07-07T10:46:37.452Z] -rw-r--r--. 1 jenkins jenkins 548 Jul 7 10:46 go.mod [2021-07-07T10:46:37.452Z] -rw-r--r--. 1 jenkins jenkins 20301 Jul 7 10:45 go.sum [2021-07-07T10:46:37.452Z] drwxrwxr-x. 15 jenkins jenkins 224 Jul 7 10:44 internal [2021-07-07T10:46:37.452Z] -rw-rw-r--. 1 jenkins jenkins 880 Jul 7 10:44 Jenkinsfile [2021-07-07T10:46:37.452Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 7 10:44 LICENSE [2021-07-07T10:46:37.452Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jul 7 10:44 Makefile [2021-07-07T10:46:37.452Z] drwxrwxr-x. 3 jenkins jenkins 16 Jul 7 10:44 openapi [2021-07-07T10:46:37.452Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 7 10:44 pkg [2021-07-07T10:46:37.452Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jul 7 10:44 README.md [2021-07-07T10:46:37.452Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 7 10:44 snap [2021-07-07T10:46:37.452Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 7 10:41 VERSION [2021-07-07T10:46:37.452Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 7 10:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:46:37.760Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c0b6218e863cb5732610990ea73f48ec2500c2bd --label arch=amd64 --label version=0.0.0 . [2021-07-07T10:46:37.760Z] Sending build context to Docker daemon 2.692MB [2021-07-07T10:46:37.760Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-07T10:46:37.760Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-07T10:46:37.760Z] ---> 35ee5144fadd [2021-07-07T10:46:37.760Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-07T10:46:37.760Z] ---> Running in b8cb78ed418a [2021-07-07T10:46:37.760Z] Removing intermediate container b8cb78ed418a [2021-07-07T10:46:37.760Z] ---> fced5f5d5abc [2021-07-07T10:46:37.760Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T10:46:38.023Z] ---> Running in e169c92fd54b [2021-07-07T10:46:38.023Z] Removing intermediate container e169c92fd54b [2021-07-07T10:46:38.023Z] ---> 971b2170f203 [2021-07-07T10:46:38.023Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-07T10:46:38.023Z] ---> Running in 1605d67cc61e [2021-07-07T10:46:38.295Z] Removing intermediate container 1605d67cc61e [2021-07-07T10:46:38.295Z] ---> d4015427ffe2 [2021-07-07T10:46:38.295Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-07T10:46:38.295Z] ---> Running in e3f8b4ca26ae [2021-07-07T10:46:38.558Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-07T10:46:39.501Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-07T10:46:39.765Z] OK: 150 MiB in 46 packages [2021-07-07T10:46:40.029Z] Removing intermediate container e3f8b4ca26ae [2021-07-07T10:46:40.029Z] ---> f6405583e546 [2021-07-07T10:46:40.029Z] Step 7/23 : COPY . . [2021-07-07T10:46:40.290Z] ---> c6126a191711 [2021-07-07T10:46:40.290Z] Step 8/23 : RUN go mod download [2021-07-07T10:46:40.290Z] ---> Running in b10bb1811760 [2021-07-07T10:46:40.868Z] Removing intermediate container b10bb1811760 [2021-07-07T10:46:40.868Z] ---> 3125b320be69 [2021-07-07T10:46:40.868Z] Step 9/23 : RUN make build [2021-07-07T10:46:40.868Z] ---> Running in 1cbc6c55c154 [2021-07-07T10:46:41.131Z] go mod tidy [2021-07-07T10:46:41.397Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-07-07T10:46:51.504Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-07T10:46:52.078Z] Removing intermediate container 1cbc6c55c154 [2021-07-07T10:46:52.078Z] ---> 6c95434a7b01 [2021-07-07T10:46:52.078Z] Step 10/23 : FROM alpine:3.12 [2021-07-07T10:46:52.651Z] 3.12: Pulling from library/alpine [2021-07-07T10:46:52.651Z] 339de151aab4: Pulling fs layer [2021-07-07T10:46:52.912Z] 339de151aab4: Download complete [2021-07-07T10:46:53.172Z] 339de151aab4: Pull complete [2021-07-07T10:46:53.172Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-07T10:46:53.172Z] Status: Downloaded newer image for alpine:3.12 [2021-07-07T10:46:53.172Z] ---> 13621d1b12d4 [2021-07-07T10:46:53.172Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T10:46:53.172Z] ---> Running in a6082f469fcd [2021-07-07T10:46:53.172Z] Removing intermediate container a6082f469fcd [2021-07-07T10:46:53.172Z] ---> c14c56b64f8e [2021-07-07T10:46:53.172Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-07T10:46:53.172Z] ---> Running in 36fc025c6c24 [2021-07-07T10:46:53.749Z] Removing intermediate container 36fc025c6c24 [2021-07-07T10:46:53.749Z] ---> 405f43c951c8 [2021-07-07T10:46:53.749Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-07T10:46:53.749Z] ---> Running in 5be0ba6db37c [2021-07-07T10:46:53.749Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-07T10:46:54.691Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-07T10:46:55.265Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-07T10:46:55.265Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-07T10:46:55.265Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-07T10:46:56.209Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-07T10:46:56.209Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-07T10:46:56.209Z] Executing busybox-1.31.1-r20.trigger [2021-07-07T10:46:56.209Z] OK: 8 MiB in 19 packages [2021-07-07T10:46:56.470Z] Removing intermediate container 5be0ba6db37c [2021-07-07T10:46:56.470Z] ---> 9e33f8bdd3e4 [2021-07-07T10:46:56.470Z] Step 14/23 : WORKDIR / [2021-07-07T10:46:56.470Z] ---> Running in 1a1b2e981ee2 [2021-07-07T10:46:56.731Z] Removing intermediate container 1a1b2e981ee2 [2021-07-07T10:46:56.731Z] ---> 8c304ad69974 [2021-07-07T10:46:56.731Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-07T10:46:56.731Z] ---> 31d8ed51bf39 [2021-07-07T10:46:56.731Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-07T10:46:56.990Z] ---> 682fbbc52144 [2021-07-07T10:46:56.990Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-07T10:46:57.253Z] ---> dcc358b86de7 [2021-07-07T10:46:57.253Z] Step 18/23 : EXPOSE 59999 [2021-07-07T10:46:57.253Z] ---> Running in 57d9901ec121 [2021-07-07T10:46:57.253Z] Removing intermediate container 57d9901ec121 [2021-07-07T10:46:57.253Z] ---> c9efb1327283 [2021-07-07T10:46:57.253Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-07T10:46:57.253Z] ---> Running in b26d941fa0c1 [2021-07-07T10:46:57.518Z] Removing intermediate container b26d941fa0c1 [2021-07-07T10:46:57.518Z] ---> 5bb480536784 [2021-07-07T10:46:57.518Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-07T10:46:57.518Z] ---> Running in fca7674ba466 [2021-07-07T10:46:57.518Z] Removing intermediate container fca7674ba466 [2021-07-07T10:46:57.518Z] ---> 6fd2d118a2c8 [2021-07-07T10:46:57.518Z] Step 21/23 : LABEL arch=amd64 [2021-07-07T10:46:57.518Z] ---> Running in b80c8f23287c [2021-07-07T10:46:57.518Z] Removing intermediate container b80c8f23287c [2021-07-07T10:46:57.518Z] ---> 63472ccdfd0d [2021-07-07T10:46:57.518Z] Step 22/23 : LABEL git_sha=c0b6218e863cb5732610990ea73f48ec2500c2bd [2021-07-07T10:46:57.779Z] ---> Running in 45c0ef1908e5 [2021-07-07T10:46:57.779Z] Removing intermediate container 45c0ef1908e5 [2021-07-07T10:46:57.779Z] ---> fbc11b811708 [2021-07-07T10:46:57.779Z] Step 23/23 : LABEL version=0.0.0 [2021-07-07T10:46:57.779Z] ---> Running in cbb6a7f249fa [2021-07-07T10:46:57.779Z] Removing intermediate container cbb6a7f249fa [2021-07-07T10:46:57.779Z] ---> 5532615518f7 [2021-07-07T10:46:57.779Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-07T10:46:57.779Z] Successfully built 5532615518f7 [2021-07-07T10:46:57.779Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:46:58.718Z] ---> job-cost.sh [2021-07-07T10:46:58.718Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-V8pi [2021-07-07T10:47:06.908Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T10:47:21.869Z] lf-activate-venv(): INFO: Adding /tmp/venv-V8pi/bin to PATH [2021-07-07T10:47:21.869Z] INFO: No Stack... [2021-07-07T10:47:21.869Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T10:47:21.869Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T10:47:22.170Z] + cat /w/workspace/device-sdk-go/24/archives/cost.csv [2021-07-07T10:47:22.170Z] + cut -d, -f6 [Pipeline] lock [2021-07-07T10:47:22.203Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-24-stack-cost] [2021-07-07T10:47:22.224Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-24-stack-cost] did not exist. Created. [2021-07-07T10:47:22.224Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T10:47:22.554Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-07T10:47:22.632Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T10:47:22.644Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-24-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-07T10:47:40.974Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-07T10:47:40.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-07T10:47:40.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-07T10:47:47.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.394s coverage: 24.2% of statements [2021-07-07T10:47:47.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-07T10:47:47.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.191s coverage: 28.1% of statements [2021-07-07T10:47:47.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.243s coverage: 78.9% of statements [2021-07-07T10:47:47.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.238s coverage: 9.0% of statements [2021-07-07T10:47:47.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-07T10:47:47.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-07T10:47:47.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-07T10:47:48.017Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.347s coverage: 28.7% of statements [2021-07-07T10:47:48.017Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-07T10:47:50.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.252s coverage: 83.3% of statements [2021-07-07T10:47:50.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-07T10:47:50.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-07T10:47:50.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.321s coverage: 58.0% of statements [2021-07-07T10:47:54.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.034s coverage: 89.2% of statements [2021-07-07T10:47:54.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-07T10:47:54.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.179s coverage: 4.9% of statements [2021-07-07T10:47:54.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-07T10:47:54.352Z] GO111MODULE=on go vet ./... [2021-07-07T10:48:50.949Z] gofmt -l . [2021-07-07T10:48:50.949Z] [ "`gofmt -l .`" = "" ] [2021-07-07T10:48:50.949Z] ./bin/test-attribution-txt.sh [2021-07-07T10:48:51.547Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-07T10:48:52.165Z] $ docker stop --time=1 198e68096789577af695eb2458bc7a2f2f3db7c1745b68374d1ce886c416d67c [2021-07-07T10:48:54.344Z] $ docker rm -f 198e68096789577af695eb2458bc7a2f2f3db7c1745b68374d1ce886c416d67c [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T10:48:55.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T10:48:55.481Z] Warning: overwriting stash ‘coverage-report’ [2021-07-07T10:48:56.057Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T10:48:56.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-07T10:48:57.002Z] + ls -al . [2021-07-07T10:48:57.002Z] total 264 [2021-07-07T10:48:57.002Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:48 . [2021-07-07T10:48:57.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:44 .. [2021-07-07T10:48:57.002Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 7 10:44 .dockerignore [2021-07-07T10:48:57.002Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:44 .git [2021-07-07T10:48:57.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:44 .github [2021-07-07T10:48:57.002Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 7 10:44 .gitignore [2021-07-07T10:48:57.002Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jul 7 10:44 CHANGELOG.md [2021-07-07T10:48:57.002Z] -rw-rw-r-- 1 jenkins jenkins 987 Jul 7 10:44 Dockerfile.build [2021-07-07T10:48:57.002Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 7 10:44 Jenkinsfile [2021-07-07T10:48:57.002Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 7 10:44 LICENSE [2021-07-07T10:48:57.002Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jul 7 10:44 Makefile [2021-07-07T10:48:57.002Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jul 7 10:44 README.md [2021-07-07T10:48:57.002Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:41 VERSION [2021-07-07T10:48:57.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:44 bin [2021-07-07T10:48:57.002Z] -rw-r--r-- 1 jenkins jenkins 125634 Jul 7 10:47 coverage.out [2021-07-07T10:48:57.002Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 7 10:44 example [2021-07-07T10:48:57.002Z] -rw-r--r-- 1 jenkins jenkins 548 Jul 7 10:48 go.mod [2021-07-07T10:48:57.002Z] -rw-r--r-- 1 jenkins jenkins 20301 Jul 7 10:46 go.sum [2021-07-07T10:48:57.002Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 7 10:44 internal [2021-07-07T10:48:57.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:44 openapi [2021-07-07T10:48:57.002Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 7 10:44 pkg [2021-07-07T10:48:57.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:44 snap [2021-07-07T10:48:57.002Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 7 10:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:48:57.361Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7b1b5c24346d1bb1e13471900396b5ae6421b300 --label arch=arm64 --label version=0.0.0 . [2021-07-07T10:48:57.969Z] Sending build context to Docker daemon 2.691MB [2021-07-07T10:48:57.969Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-07T10:48:57.969Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-07T10:48:57.969Z] ---> 11ac1ee36140 [2021-07-07T10:48:57.969Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-07T10:48:58.243Z] ---> Running in e38c6122d666 [2021-07-07T10:48:58.842Z] Removing intermediate container e38c6122d666 [2021-07-07T10:48:58.842Z] ---> 82ca7e1a8097 [2021-07-07T10:48:58.842Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T10:48:58.842Z] ---> Running in ce60a67bb087 [2021-07-07T10:48:59.445Z] Removing intermediate container ce60a67bb087 [2021-07-07T10:48:59.445Z] ---> 774b695c4929 [2021-07-07T10:48:59.446Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-07T10:48:59.446Z] ---> Running in 3a6af4c9f9fa [2021-07-07T10:49:01.433Z] Removing intermediate container 3a6af4c9f9fa [2021-07-07T10:49:01.434Z] ---> e43ad66ef3b4 [2021-07-07T10:49:01.434Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-07T10:49:01.706Z] ---> Running in aeefb7e78652 [2021-07-07T10:49:02.681Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-07T10:49:03.709Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-07T10:49:04.337Z] OK: 139 MiB in 46 packages [2021-07-07T10:49:05.786Z] Removing intermediate container aeefb7e78652 [2021-07-07T10:49:05.786Z] ---> 7e7d68cf18df [2021-07-07T10:49:05.786Z] Step 7/23 : COPY . . [2021-07-07T10:49:06.772Z] ---> 3e7b64ab511c [2021-07-07T10:49:06.772Z] Step 8/23 : RUN go mod download [2021-07-07T10:49:06.772Z] ---> Running in f4653605910f [2021-07-07T10:49:09.402Z] Removing intermediate container f4653605910f [2021-07-07T10:49:09.402Z] ---> 5262402c1f2d [2021-07-07T10:49:09.402Z] Step 9/23 : RUN make build [2021-07-07T10:49:09.402Z] ---> Running in adafa84c786b [2021-07-07T10:49:10.836Z] go mod tidy [2021-07-07T10:49:11.112Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-07-07T10:49:43.487Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-07T10:49:45.457Z] Removing intermediate container adafa84c786b [2021-07-07T10:49:45.457Z] ---> d678782b5dc2 [2021-07-07T10:49:45.457Z] Step 10/23 : FROM alpine:3.12 [2021-07-07T10:49:46.432Z] 3.12: Pulling from library/alpine [2021-07-07T10:49:46.432Z] d2f70382dc9a: Pulling fs layer [2021-07-07T10:49:46.706Z] d2f70382dc9a: Verifying Checksum [2021-07-07T10:49:46.706Z] d2f70382dc9a: Download complete [2021-07-07T10:49:47.303Z] d2f70382dc9a: Pull complete [2021-07-07T10:49:47.303Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-07T10:49:47.303Z] Status: Downloaded newer image for alpine:3.12 [2021-07-07T10:49:47.303Z] ---> c4fd0aeabfcf [2021-07-07T10:49:47.303Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T10:49:47.577Z] ---> Running in 2499c0de5a2f [2021-07-07T10:49:48.182Z] Removing intermediate container 2499c0de5a2f [2021-07-07T10:49:48.182Z] ---> bed876b1f57a [2021-07-07T10:49:48.182Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-07T10:49:48.182Z] ---> Running in 8df1e78b0569 [2021-07-07T10:49:50.190Z] Removing intermediate container 8df1e78b0569 [2021-07-07T10:49:50.190Z] ---> 68a3946f3cb0 [2021-07-07T10:49:50.190Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-07T10:49:50.465Z] ---> Running in 4931f93740d7 [2021-07-07T10:49:51.900Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-07T10:49:52.881Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-07T10:49:54.845Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-07T10:49:55.115Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-07T10:49:55.115Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-07T10:49:56.083Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-07T10:49:56.354Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-07T10:49:56.354Z] Executing busybox-1.31.1-r20.trigger [2021-07-07T10:49:56.354Z] OK: 8 MiB in 19 packages [2021-07-07T10:49:57.789Z] Removing intermediate container 4931f93740d7 [2021-07-07T10:49:57.789Z] ---> 1c0fe05c09b0 [2021-07-07T10:49:57.789Z] Step 14/23 : WORKDIR / [2021-07-07T10:49:57.789Z] ---> Running in fa825d3f0170 [2021-07-07T10:49:58.384Z] Removing intermediate container fa825d3f0170 [2021-07-07T10:49:58.384Z] ---> 93bda9d3d810 [2021-07-07T10:49:58.384Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-07T10:49:58.980Z] ---> b26869b80c41 [2021-07-07T10:49:58.980Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-07T10:50:00.416Z] ---> 5e52e1f84394 [2021-07-07T10:50:00.417Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-07T10:50:01.014Z] ---> 6cce76938024 [2021-07-07T10:50:01.014Z] Step 18/23 : EXPOSE 59999 [2021-07-07T10:50:01.286Z] ---> Running in afba7465e9f0 [2021-07-07T10:50:01.559Z] Removing intermediate container afba7465e9f0 [2021-07-07T10:50:01.559Z] ---> 2c396466bbaa [2021-07-07T10:50:01.559Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-07T10:50:01.838Z] ---> Running in 2113ee596dc5 [2021-07-07T10:50:02.432Z] Removing intermediate container 2113ee596dc5 [2021-07-07T10:50:02.432Z] ---> 18953dcef6ec [2021-07-07T10:50:02.432Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-07T10:50:02.432Z] ---> Running in 8a45896b6a81 [2021-07-07T10:50:03.030Z] Removing intermediate container 8a45896b6a81 [2021-07-07T10:50:03.030Z] ---> a239bd17686c [2021-07-07T10:50:03.030Z] Step 21/23 : LABEL arch=arm64 [2021-07-07T10:50:03.030Z] ---> Running in 029aee302616 [2021-07-07T10:50:03.628Z] Removing intermediate container 029aee302616 [2021-07-07T10:50:03.628Z] ---> 81f165d02e44 [2021-07-07T10:50:03.629Z] Step 22/23 : LABEL git_sha=7b1b5c24346d1bb1e13471900396b5ae6421b300 [2021-07-07T10:50:05.053Z] ---> Running in 57e19bc189a2 [2021-07-07T10:50:05.325Z] Removing intermediate container 57e19bc189a2 [2021-07-07T10:50:05.325Z] ---> 4a02698aa9e0 [2021-07-07T10:50:05.325Z] Step 23/23 : LABEL version=0.0.0 [2021-07-07T10:50:05.598Z] ---> Running in 2905f9480285 [2021-07-07T10:50:05.868Z] Removing intermediate container 2905f9480285 [2021-07-07T10:50:05.868Z] ---> d1d2b020923f [2021-07-07T10:50:05.868Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-07T10:50:05.868Z] Successfully built d1d2b020923f [2021-07-07T10:50:05.868Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:50:06.537Z] ---> job-cost.sh [2021-07-07T10:50:06.537Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9bc3 [2021-07-07T10:50:45.529Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T10:52:22.555Z] lf-activate-venv(): INFO: Adding /tmp/venv-9bc3/bin to PATH [2021-07-07T10:52:22.556Z] INFO: No Stack... [2021-07-07T10:52:22.556Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-07T10:52:22.556Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T10:52:23.026Z] + + cutcat -d, /w/workspace/device-sdk-go/24/archives/cost.csv -f6 [2021-07-07T10:52:23.027Z] [Pipeline] lock [2021-07-07T10:52:23.106Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-24-stack-cost] [2021-07-07T10:52:23.115Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-24-stack-cost] did not exist. Created. [2021-07-07T10:52:23.116Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T10:52:23.553Z] /w/workspace/device-sdk-go/24@tmp/durable-896f7343/script.sh: 1: /w/workspace/device-sdk-go/24@tmp/durable-896f7343/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-07T10:52:24.028Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-07T10:52:24.087Z] Warning: overwriting stash ‘stack-cost’ [2021-07-07T10:52:24.245Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T10:52:24.261Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-24-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-07-07T10:52:25.254Z] provisioning config files... [2021-07-07T10:52:25.288Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config7375963089629651420tmp [Pipeline] { [Pipeline] sh [2021-07-07T10:52:25.677Z] + set +x [2021-07-07T10:52:25.677Z] + curl -s https://codecov.io/bash [2021-07-07T10:52:25.677Z] + bash -s -- [2021-07-07T10:52:25.677Z] [2021-07-07T10:52:25.677Z] _____ _ [2021-07-07T10:52:25.677Z] / ____| | | [2021-07-07T10:52:25.677Z] | | ___ __| | ___ ___ _____ __ [2021-07-07T10:52:25.677Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-07T10:52:25.677Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-07T10:52:25.677Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-07T10:52:25.677Z] Bash-1.0.3 [2021-07-07T10:52:25.677Z] [2021-07-07T10:52:25.677Z] [2021-07-07T10:52:25.677Z] ==> git version 2.24.4 found [2021-07-07T10:52:25.677Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-07-07T10:52:25.677Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-07T10:52:25.677Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-07T10:52:25.677Z] ==> Jenkins CI detected. [2021-07-07T10:52:25.677Z] project root: . [2021-07-07T10:52:25.677Z] --> token set from env [2021-07-07T10:52:25.677Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-07T10:52:25.969Z] ==> Running gcov in . (disable via -X gcov) [2021-07-07T10:52:25.969Z] ==> Python coveragepy not found [2021-07-07T10:52:25.969Z] ==> Searching for coverage reports in: [2021-07-07T10:52:25.969Z] + . [2021-07-07T10:52:25.969Z] -> Found 1 reports [2021-07-07T10:52:25.969Z] ==> Detecting git/mercurial file structure [2021-07-07T10:52:25.969Z] ==> Reading reports [2021-07-07T10:52:25.969Z] + ./coverage.out bytes=125634 [2021-07-07T10:52:25.969Z] ==> Appending adjustments [2021-07-07T10:52:25.969Z] https://docs.codecov.io/docs/fixing-reports [2021-07-07T10:52:25.969Z] + Found adjustments [2021-07-07T10:52:25.969Z] ==> Gzipping contents [2021-07-07T10:52:26.249Z] 16K /tmp/codecov.d5Cyko.gz [2021-07-07T10:52:26.249Z] ==> Uploading reports [2021-07-07T10:52:26.249Z] url: https://codecov.io [2021-07-07T10:52:26.249Z] query: branch=PR-971&commit=ab6e98978cf0130f3b3b68bbaa55323995d84e98&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-07-07T10:52:26.249Z] -> Pinging Codecov [2021-07-07T10:52:26.249Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=ab6e98978cf0130f3b3b68bbaa55323995d84e98&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-07-07T10:52:26.574Z] -> Uploading to [2021-07-07T10:52:26.574Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-07/7E55EF52A471D76F132DFD9A03CDDE97/ab6e98978cf0130f3b3b68bbaa55323995d84e98/5694e296-b3bc-49eb-8482-33b579118cd7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210707T105226Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ee01c3453b51a9f38e6f68a4dc046cc738ef5480c5a187cea38fd8285c49549 [2021-07-07T10:52:26.574Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-07T10:52:26.574Z] Dload Upload Total Spent Left Speed [2021-07-07T10:52:26.855Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16313 0 0 100 16313 0 37811 --:--:-- --:--:-- --:--:-- 37761 [2021-07-07T10:52:26.855Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ab6e98978cf0130f3b3b68bbaa55323995d84e98 [Pipeline] } [2021-07-07T10:52:26.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:52:29.057Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:52:29.712Z] ---> package-listing.sh [2021-07-07T10:52:29.712Z] ++ facter osfamily [2021-07-07T10:52:29.712Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-07T10:52:29.712Z] + OS_FAMILY=redhat [2021-07-07T10:52:29.712Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-07-07T10:52:29.712Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-07T10:52:29.712Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-07T10:52:29.712Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-07T10:52:29.712Z] + PACKAGES=/tmp/packages_start.txt [2021-07-07T10:52:29.712Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-07-07T10:52:29.712Z] + PACKAGES=/tmp/packages_end.txt [2021-07-07T10:52:29.712Z] + case "${OS_FAMILY}" in [2021-07-07T10:52:29.712Z] + sort [2021-07-07T10:52:29.712Z] + rpm -qa [2021-07-07T10:52:30.686Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-07T10:52:30.686Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-07T10:52:30.686Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-07T10:52:30.686Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-07-07T10:52:30.686Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-07-07T10:52:30.686Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-07-07T10:52:30.705Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-07T10:52:31.067Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:52:31.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T10:52:31.455Z] [2021-07-07T10:52:31.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:52:31.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T10:52:31.831Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-07T10:52:31.831Z] df20fa9351a1: Pulling fs layer [2021-07-07T10:52:31.831Z] 36b3adc4ff6f: Pulling fs layer [2021-07-07T10:52:31.831Z] 8ad3a11d3b57: Pulling fs layer [2021-07-07T10:52:31.831Z] 46f8f816bc3b: Pulling fs layer [2021-07-07T10:52:31.831Z] 93b61091891f: Pulling fs layer [2021-07-07T10:52:31.831Z] 93b9cdb0e59b: Pulling fs layer [2021-07-07T10:52:31.831Z] 5e14af77c1be: Pulling fs layer [2021-07-07T10:52:31.831Z] 01666e4c0597: Pulling fs layer [2021-07-07T10:52:31.831Z] aa168da1d23b: Pulling fs layer [2021-07-07T10:52:31.831Z] 93b9cdb0e59b: Waiting [2021-07-07T10:52:31.831Z] 5e14af77c1be: Waiting [2021-07-07T10:52:31.831Z] 01666e4c0597: Waiting [2021-07-07T10:52:31.831Z] aa168da1d23b: Waiting [2021-07-07T10:52:31.831Z] 46f8f816bc3b: Waiting [2021-07-07T10:52:31.831Z] 93b61091891f: Waiting [2021-07-07T10:52:31.831Z] 36b3adc4ff6f: Download complete [2021-07-07T10:52:31.831Z] 46f8f816bc3b: Verifying Checksum [2021-07-07T10:52:31.831Z] 46f8f816bc3b: Download complete [2021-07-07T10:52:32.115Z] df20fa9351a1: Verifying Checksum [2021-07-07T10:52:32.115Z] df20fa9351a1: Download complete [2021-07-07T10:52:32.115Z] 93b9cdb0e59b: Verifying Checksum [2021-07-07T10:52:32.115Z] 93b9cdb0e59b: Download complete [2021-07-07T10:52:32.115Z] 5e14af77c1be: Verifying Checksum [2021-07-07T10:52:32.115Z] 5e14af77c1be: Download complete [2021-07-07T10:52:32.115Z] 01666e4c0597: Verifying Checksum [2021-07-07T10:52:32.115Z] 01666e4c0597: Download complete [2021-07-07T10:52:32.115Z] 93b61091891f: Verifying Checksum [2021-07-07T10:52:32.115Z] 93b61091891f: Download complete [2021-07-07T10:52:32.115Z] df20fa9351a1: Pull complete [2021-07-07T10:52:32.380Z] 36b3adc4ff6f: Pull complete [2021-07-07T10:52:32.706Z] 8ad3a11d3b57: Verifying Checksum [2021-07-07T10:52:32.706Z] 8ad3a11d3b57: Download complete [2021-07-07T10:52:32.977Z] 8ad3a11d3b57: Pull complete [2021-07-07T10:52:33.265Z] 46f8f816bc3b: Pull complete [2021-07-07T10:52:33.605Z] 93b61091891f: Pull complete [2021-07-07T10:52:33.605Z] 93b9cdb0e59b: Pull complete [2021-07-07T10:52:33.605Z] 5e14af77c1be: Pull complete [2021-07-07T10:52:33.605Z] 01666e4c0597: Pull complete [2021-07-07T10:52:35.065Z] aa168da1d23b: Verifying Checksum [2021-07-07T10:52:35.065Z] aa168da1d23b: Download complete [2021-07-07T10:52:39.441Z] aa168da1d23b: Pull complete [2021-07-07T10:52:39.441Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-07T10:52:39.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T10:52:39.441Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-07T10:52:39.541Z] prd-centos7-docker-4c-2g-2076 does not seem to be running inside a container [2021-07-07T10:52:39.583Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-07T10:52:41.708Z] $ docker top 385cdd082b7c00d4616a082873e0a4d4400e3def064419b0dcfff1060f629280 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T10:52:42.099Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-07T10:52:42.446Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-07T10:52:42.754Z] + ls /var/log/sa-host [2021-07-07T10:52:42.754Z] + sadf -c /var/log/sa-host/sa05 [2021-07-07T10:52:42.754Z] file_magic: OK [2021-07-07T10:52:42.754Z] HZ: Using current value: 100 [2021-07-07T10:52:42.754Z] file_header: OK [2021-07-07T10:52:42.754Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-07T10:52:42.754Z] Statistics: [2021-07-07T10:52:42.754Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T10:52:42.754Z] File successfully converted to sysstat format version 12.2.1 [2021-07-07T10:52:42.754Z] + sadf -c /var/log/sa-host/sa07 [2021-07-07T10:52:42.754Z] file_magic: OK [2021-07-07T10:52:42.754Z] HZ: Using current value: 100 [2021-07-07T10:52:42.754Z] file_header: OK [2021-07-07T10:52:42.754Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-07T10:52:42.754Z] Statistics: [2021-07-07T10:52:42.754Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T10:52:42.754Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T10:52:43.467Z] provisioning config files... [2021-07-07T10:52:43.512Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config5515402332925623231tmp [Pipeline] { [Pipeline] echo [2021-07-07T10:52:43.541Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:52:43.860Z] ---> create-netrc.sh [Pipeline] } [2021-07-07T10:52:43.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:52:44.294Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-07T10:52:44.315Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:52:44.631Z] ---> sudo-logs.sh [2021-07-07T10:52:44.631Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-07T10:52:44.681Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:52:45.025Z] ---> job-cost.sh [2021-07-07T10:52:45.026Z] lf-activate-venv: SKIPPING [2021-07-07T10:52:45.026Z] DEBUG: total: 0.18000000715255737 [2021-07-07T10:52:45.026Z] INFO: Retrieving Stack Cost... [2021-07-07T10:52:45.988Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T10:52:46.562Z] INFO: Archiving Costs [Pipeline] echo [2021-07-07T10:52:46.578Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:52:46.877Z] ---> logs-deploy.sh [2021-07-07T10:52:46.877Z] lf-activate-venv: SKIPPING [2021-07-07T10:52:46.877Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/24 [2021-07-07T10:52:46.877Z] INFO: archiving workspace using pattern(s): [2021-07-07T10:52:47.819Z] Archives upload complete. [2021-07-07T10:52:47.819Z] INFO: archiving logs to Nexus