Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 177901c0c2e2fd4e232d0c5d67b34206db6cc66d+a3df5a9219cebd743c534ea7ba05fe82cddb65a8 (0eb3eb16a177a3a469b81bb23ae6f8056ee7e9d3) 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-ssh121099923180161379.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8274743182823111181.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-934/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-934/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7227317888331786107.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1735082434472255624.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-934/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-934/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6016459482042857830.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15247 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [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-934 # 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-934@tmp/jenkins-gitclient-ssh7076159228305408778.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/jenkins-gitclient-ssh8025212893963100156.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a3df5a9219cebd743c534ea7ba05fe82cddb65a8 into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d Merge succeeded, producing 08a71c5fbf79fa01eb9cf4b2ebc25eea023d88b7 Checking out Revision 08a71c5fbf79fa01eb9cf4b2ebc25eea023d88b7 (PR-934) > git config core.sparsecheckout # timeout=10 > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # 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-934@tmp/jenkins-gitclient-ssh7190642327620857616.key > git merge a3df5a9219cebd743c534ea7ba05fe82cddb65a8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08a71c5fbf79fa01eb9cf4b2ebc25eea023d88b7 # timeout=10 Commit message: "Merge commit 'a3df5a9219cebd743c534ea7ba05fe82cddb65a8' into HEAD" > git rev-list --no-walk 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-20T02:44:15.834Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-20T02:44:15.918Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-20T02:44:15.946Z] ========================================================= [2021-05-20T02:44:15.947Z] EdgeX Global Pipelines Version Info [2021-05-20T02:44:15.947Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:44:17.320Z] ------------------- [2021-05-20T02:44:17.321Z] stable info: [2021-05-20T02:44:17.321Z] ------------------- [2021-05-20T02:44:17.321Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-20T02:44:17.321Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T02:44:17.321Z] Message: update stable to v1.0.192 [2021-05-20T02:44:17.893Z] ------------------- [2021-05-20T02:44:17.893Z] experimental info: [2021-05-20T02:44:17.893Z] ------------------- [2021-05-20T02:44:17.893Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-20T02:44:17.893Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T02:44:17.893Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-20T02:44:18.028Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-20T02:44:18.056Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-20T02:44:18.081Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-20T02:44:18.106Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-20T02:44:18.130Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-20T02:44:18.154Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-20T02:44:18.177Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-20T02:44:18.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-20T02:44:18.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-20T02:44:18.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-20T02:44:18.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-20T02:44:18.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-20T02:44:18.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-20T02:44:18.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-20T02:44:18.379Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T02:44:18.405Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T02:44:18.429Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T02:44:18.454Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T02:44:18.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-20T02:44:18.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-20T02:44:18.528Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-20T02:44:18.554Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-20T02:44:18.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-20T02:44:18.601Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-20T02:44:18.626Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-20T02:44:18.649Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-20T02:44:18.672Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-934 [Pipeline] echo [2021-05-20T02:44:18.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-934 [Pipeline] echo [2021-05-20T02:44:18.719Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-934 [Pipeline] echo [2021-05-20T02:44:18.743Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08a71c5fbf79fa01eb9cf4b2ebc25eea023d88b7 [Pipeline] echo [2021-05-20T02:44:18.772Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08a71c5 [Pipeline] echo [2021-05-20T02:44:18.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T02:44:18.880Z] provisioning config files... [2021-05-20T02:44:18.898Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config1749307145586628865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:44:19.229Z] ---> docker-login.sh [2021-05-20T02:44:19.229Z] nexus3.edgexfoundry.org:10001 [2021-05-20T02:44:19.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:44:19.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:44:19.761Z] Configure a credential helper to remove this warning. See [2021-05-20T02:44:19.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:44:19.761Z] [2021-05-20T02:44:19.761Z] Login Succeeded [2021-05-20T02:44:19.761Z] nexus3.edgexfoundry.org:10002 [2021-05-20T02:44:19.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:44:19.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:44:19.761Z] Configure a credential helper to remove this warning. See [2021-05-20T02:44:19.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:44:19.761Z] [2021-05-20T02:44:19.761Z] Login Succeeded [2021-05-20T02:44:19.761Z] nexus3.edgexfoundry.org:10003 [2021-05-20T02:44:20.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:44:20.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:44:20.039Z] Configure a credential helper to remove this warning. See [2021-05-20T02:44:20.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:44:20.039Z] [2021-05-20T02:44:20.039Z] Login Succeeded [2021-05-20T02:44:20.039Z] nexus3.edgexfoundry.org:10004 [2021-05-20T02:44:20.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:44:20.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:44:20.039Z] Configure a credential helper to remove this warning. See [2021-05-20T02:44:20.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:44:20.039Z] [2021-05-20T02:44:20.039Z] Login Succeeded [2021-05-20T02:44:20.039Z] docker.io [2021-05-20T02:44:20.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:44:20.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:44:20.600Z] Configure a credential helper to remove this warning. See [2021-05-20T02:44:20.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:44:20.600Z] [2021-05-20T02:44:20.600Z] Login Succeeded [2021-05-20T02:44:20.600Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T02:44:20.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T02:44:21.253Z] + git log --format=format:%s -1 08a71c5fbf79fa01eb9cf4b2ebc25eea023d88b7 [Pipeline] echo [2021-05-20T02:44:21.336Z] GIT_COMMIT: 08a71c5fbf79fa01eb9cf4b2ebc25eea023d88b7, Commit Message: Merge commit 'a3df5a9219cebd743c534ea7ba05fe82cddb65a8' into HEAD [Pipeline] echo [2021-05-20T02:44:21.350Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:44:22.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T02:44:22.345Z] [2021-05-20T02:44:22.345Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:44:22.680Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T02:44:22.680Z] latest: Pulling from edgex-devops/git-semver [2021-05-20T02:44:22.680Z] 31603596830f: Pulling fs layer [2021-05-20T02:44:22.680Z] 54011a49482f: Pulling fs layer [2021-05-20T02:44:22.680Z] a6820b24f6d8: Pulling fs layer [2021-05-20T02:44:22.680Z] f581987b2513: Pulling fs layer [2021-05-20T02:44:22.680Z] f581987b2513: Waiting [2021-05-20T02:44:22.680Z] 54011a49482f: Download complete [2021-05-20T02:44:22.946Z] 31603596830f: Verifying Checksum [2021-05-20T02:44:22.946Z] 31603596830f: Download complete [2021-05-20T02:44:22.946Z] f581987b2513: Verifying Checksum [2021-05-20T02:44:22.946Z] f581987b2513: Download complete [2021-05-20T02:44:22.946Z] a6820b24f6d8: Verifying Checksum [2021-05-20T02:44:22.946Z] a6820b24f6d8: Download complete [2021-05-20T02:44:23.212Z] 31603596830f: Pull complete [2021-05-20T02:44:23.212Z] 54011a49482f: Pull complete [2021-05-20T02:44:23.792Z] a6820b24f6d8: Pull complete [2021-05-20T02:44:24.054Z] f581987b2513: Pull complete [2021-05-20T02:44:24.055Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-20T02:44:24.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T02:44:24.055Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-20T02:44:24.136Z] prd-centos7-docker-4c-2g-15247 does not seem to be running inside a container [2021-05-20T02:44:24.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-934 -v /w/workspace/dgexfoundry_device-sdk-go_PR-934:/w/workspace/dgexfoundry_device-sdk-go_PR-934:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-934@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T02:44:25.334Z] $ docker top 5d50d0a3901826cb8944410322961679c0187e48fd36d469d65e68f36b1a45b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T02:44:25.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T02:44:25.471Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T02:44:25.562Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T02:44:25.565Z] $ docker exec 5d50d0a3901826cb8944410322961679c0187e48fd36d469d65e68f36b1a45b7 ssh-agent [2021-05-20T02:44:25.666Z] SSH_AUTH_SOCK=/tmp/ssh-BFJ7e55a3YXi/agent.14 [2021-05-20T02:44:25.666Z] SSH_AGENT_PID=21 [2021-05-20T02:44:25.680Z] Running ssh-add (command line suppressed) [2021-05-20T02:44:25.770Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_4407940737748261861.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_4407940737748261861.key) [2021-05-20T02:44:25.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T02:44:26.081Z] + git tag --points-at HEAD [Pipeline] } [2021-05-20T02:44:26.097Z] $ docker exec --env ******** --env ******** 5d50d0a3901826cb8944410322961679c0187e48fd36d469d65e68f36b1a45b7 ssh-agent -k [2021-05-20T02:44:26.196Z] unset SSH_AUTH_SOCK; [2021-05-20T02:44:26.196Z] unset SSH_AGENT_PID; [2021-05-20T02:44:26.196Z] echo Agent pid 21 killed; [2021-05-20T02:44:26.208Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-20T02:44:26.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T02:44:26.251Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T02:44:26.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T02:44:26.362Z] $ docker exec 5d50d0a3901826cb8944410322961679c0187e48fd36d469d65e68f36b1a45b7 ssh-agent [2021-05-20T02:44:26.470Z] SSH_AUTH_SOCK=/tmp/ssh-GQxZgughJUBl/agent.55 [2021-05-20T02:44:26.470Z] SSH_AGENT_PID=62 [2021-05-20T02:44:26.475Z] Running ssh-add (command line suppressed) [2021-05-20T02:44:26.571Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_8987436851378766708.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_8987436851378766708.key) [2021-05-20T02:44:26.588Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T02:44:26.895Z] + git semver init [2021-05-20T02:44:26.895Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T02:44:26.895Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.git [2021-05-20T02:44:26.895Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-20T02:44:26.895Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T02:44:26.895Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T02:44:26.895Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T02:44:26.895Z] # $SEMVER_BRANCH = PR-934 [2021-05-20T02:44:26.895Z] # $SEMVER_TEMP = /tmp/semver-834489194 [2021-05-20T02:44:26.895Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-20T02:44:27.482Z] # '/tmp/semver-834489194' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver' [2021-05-20T02:44:27.482Z] # -> Force: false [2021-05-20T02:44:27.482Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver [Pipeline] } [2021-05-20T02:44:27.493Z] $ docker exec --env ******** --env ******** 5d50d0a3901826cb8944410322961679c0187e48fd36d469d65e68f36b1a45b7 ssh-agent -k [2021-05-20T02:44:27.594Z] unset SSH_AUTH_SOCK; [2021-05-20T02:44:27.594Z] unset SSH_AGENT_PID; [2021-05-20T02:44:27.594Z] echo Agent pid 62 killed; [2021-05-20T02:44:27.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T02:44:27.934Z] + git semver [Pipeline] } [2021-05-20T02:44:27.949Z] $ docker stop --time=1 5d50d0a3901826cb8944410322961679c0187e48fd36d469d65e68f36b1a45b7 [2021-05-20T02:44:29.238Z] $ docker rm -f 5d50d0a3901826cb8944410322961679c0187e48fd36d469d65e68f36b1a45b7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T02:44:29.602Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-20T02:44:29.862Z] Stashed 1 file(s) [Pipeline] echo [2021-05-20T02:44:29.866Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-20T02:44:45.172Z] Still waiting to schedule task [2021-05-20T02:44:45.173Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-20T02:44:45.175Z] Still waiting to schedule task [2021-05-20T02:44:45.176Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-20T02:46:53.456Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15248 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-20T02:46:53.477Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-05-20T02:46:53.690Z] Selected Git installation does not exist. Using Default [2021-05-20T02:46:53.690Z] The recommended git tool is: NONE [2021-05-20T02:46:56.899Z] Running on prd-centos7-docker-4c-2g-15249 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-20T02:46:56.919Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-05-20T02:46:57.022Z] Selected Git installation does not exist. Using Default [2021-05-20T02:46:57.022Z] The recommended git tool is: NONE [2021-05-20T02:46:59.374Z] using credential edgex-jenkins-ssh [2021-05-20T02:46:59.393Z] Cloning the remote Git repository [2021-05-20T02:46:59.589Z] using credential edgex-jenkins-ssh [2021-05-20T02:46:59.602Z] Cloning the remote Git repository [2021-05-20T02:46:59.480Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T02:46:59.613Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-05-20T02:46:59.734Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T02:46:59.734Z] > git --version # timeout=10 [2021-05-20T02:46:59.755Z] > git --version # 'git version 2.17.1' [2021-05-20T02:46:59.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T02:46:59.851Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T02:46:59.620Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T02:46:59.685Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-05-20T02:46:59.709Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T02:46:59.710Z] > git --version # timeout=10 [2021-05-20T02:46:59.716Z] > git --version # 'git version 2.24.4' [2021-05-20T02:46:59.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T02:46:59.748Z] [INFO] Currently running in a labeled security context [2021-05-20T02:46:59.748Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T02:46:59.748Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh52479827269697696.key [2021-05-20T02:46:59.781Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T02:47:01.260Z] Merging remotes/origin/master commit a3df5a9219cebd743c534ea7ba05fe82cddb65a8 into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [2021-05-20T02:47:01.368Z] Merge succeeded, producing 482d33d7ac057caafd0387d45c1b9ed660ad79a6 [2021-05-20T02:47:01.369Z] Checking out Revision 482d33d7ac057caafd0387d45c1b9ed660ad79a6 (PR-934) [2021-05-20T02:47:01.111Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-20T02:47:01.150Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T02:47:01.177Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-20T02:47:01.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T02:47:01.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T02:47:01.236Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T02:47:00.578Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-20T02:47:00.591Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T02:47:00.603Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-20T02:47:00.616Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T02:47:00.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T02:47:00.617Z] [INFO] Currently running in a labeled security context [2021-05-20T02:47:00.617Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T02:47:00.617Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8171728884408049799.key [2021-05-20T02:47:00.624Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T02:47:01.270Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T02:47:01.278Z] > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [2021-05-20T02:47:01.312Z] > git remote # timeout=10 [2021-05-20T02:47:01.319Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T02:47:01.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T02:47:01.328Z] [INFO] Currently running in a labeled security context [2021-05-20T02:47:01.328Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T02:47:01.328Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh603467690421445867.key [2021-05-20T02:47:01.335Z] > git merge a3df5a9219cebd743c534ea7ba05fe82cddb65a8 # timeout=10 [2021-05-20T02:47:01.357Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T02:47:01.374Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T02:47:01.392Z] > git checkout -f 482d33d7ac057caafd0387d45c1b9ed660ad79a6 # timeout=10 [2021-05-20T02:47:02.507Z] Merging remotes/origin/master commit a3df5a9219cebd743c534ea7ba05fe82cddb65a8 into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [2021-05-20T02:47:02.782Z] Merge succeeded, producing 29b7ac85919d660d2d3a0656b7fa39e6daad8d1a [2021-05-20T02:47:02.783Z] Checking out Revision 29b7ac85919d660d2d3a0656b7fa39e6daad8d1a (PR-934) [2021-05-20T02:47:02.547Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T02:47:02.564Z] > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [2021-05-20T02:47:02.668Z] > git remote # timeout=10 [2021-05-20T02:47:02.685Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T02:47:02.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T02:47:02.712Z] > git merge a3df5a9219cebd743c534ea7ba05fe82cddb65a8 # timeout=10 [2021-05-20T02:47:02.787Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T02:47:02.808Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T02:47:02.821Z] > git checkout -f 29b7ac85919d660d2d3a0656b7fa39e6daad8d1a # timeout=10 [2021-05-20T02:47:04.923Z] Commit message: "Merge commit 'a3df5a9219cebd743c534ea7ba05fe82cddb65a8' into HEAD" [2021-05-20T02:47:04.927Z] > git rev-list --no-walk 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T02:47:06.191Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-20T02:47:06.549Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T02:47:06.852Z] + true [2021-05-20T02:47:06.852Z] + sudo service docker restart [2021-05-20T02:47:06.852Z] Redirecting to /bin/systemctl restart docker.service [2021-05-20T02:47:07.001Z] Commit message: "Merge commit 'a3df5a9219cebd743c534ea7ba05fe82cddb65a8' into HEAD" [2021-05-20T02:47:07.024Z] > git rev-list --no-walk 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T02:47:08.452Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-20T02:47:08.877Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T02:47:09.222Z] + true [2021-05-20T02:47:09.222Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T02:47:25.040Z] provisioning config files... [2021-05-20T02:47:25.060Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config316891688333177425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:47:25.401Z] ---> docker-login.sh [2021-05-20T02:47:25.401Z] nexus3.edgexfoundry.org:10001 [2021-05-20T02:47:25.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:47:25.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:47:25.667Z] Configure a credential helper to remove this warning. See [2021-05-20T02:47:25.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:47:25.667Z] [2021-05-20T02:47:25.667Z] Login Succeeded [2021-05-20T02:47:25.667Z] nexus3.edgexfoundry.org:10002 [2021-05-20T02:47:25.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:47:25.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:47:25.667Z] Configure a credential helper to remove this warning. See [2021-05-20T02:47:25.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:47:25.667Z] [2021-05-20T02:47:25.667Z] Login Succeeded [2021-05-20T02:47:25.667Z] nexus3.edgexfoundry.org:10003 [2021-05-20T02:47:25.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:47:25.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:47:25.931Z] Configure a credential helper to remove this warning. See [2021-05-20T02:47:25.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:47:25.931Z] [2021-05-20T02:47:25.931Z] Login Succeeded [2021-05-20T02:47:25.931Z] nexus3.edgexfoundry.org:10004 [2021-05-20T02:47:25.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:47:25.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:47:25.931Z] Configure a credential helper to remove this warning. See [2021-05-20T02:47:25.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:47:25.931Z] [2021-05-20T02:47:25.931Z] Login Succeeded [2021-05-20T02:47:25.931Z] docker.io [2021-05-20T02:47:25.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:47:26.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:47:26.512Z] Configure a credential helper to remove this warning. See [2021-05-20T02:47:26.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:47:26.512Z] [2021-05-20T02:47:26.512Z] Login Succeeded [2021-05-20T02:47:26.512Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T02:47:26.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T02:47:26.688Z] ========================================================= [2021-05-20T02:47:26.688Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-20T02:47:26.688Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:47:26.997Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-20T02:47:26.997Z] Sending build context to Docker daemon 2.592MB [2021-05-20T02:47:26.997Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T02:47:26.997Z] Step 2/8 : FROM ${BASE} [2021-05-20T02:47:27.260Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-20T02:47:27.260Z] 540db60ca938: Pulling fs layer [2021-05-20T02:47:27.260Z] adcc1eea9eea: Pulling fs layer [2021-05-20T02:47:27.260Z] 4c4ab2625f07: Pulling fs layer [2021-05-20T02:47:27.260Z] 0510c868ecb4: Pulling fs layer [2021-05-20T02:47:27.260Z] afea3b2eda06: Pulling fs layer [2021-05-20T02:47:27.260Z] 7809a108b3ef: Pulling fs layer [2021-05-20T02:47:27.260Z] f706445af74f: Pulling fs layer [2021-05-20T02:47:27.260Z] afea3b2eda06: Waiting [2021-05-20T02:47:27.260Z] 7809a108b3ef: Waiting [2021-05-20T02:47:27.260Z] f706445af74f: Waiting [2021-05-20T02:47:27.260Z] 0510c868ecb4: Waiting [2021-05-20T02:47:27.260Z] 4c4ab2625f07: Verifying Checksum [2021-05-20T02:47:27.260Z] 4c4ab2625f07: Download complete [2021-05-20T02:47:27.260Z] adcc1eea9eea: Verifying Checksum [2021-05-20T02:47:27.260Z] adcc1eea9eea: Download complete [2021-05-20T02:47:27.260Z] afea3b2eda06: Verifying Checksum [2021-05-20T02:47:27.260Z] afea3b2eda06: Download complete [2021-05-20T02:47:27.260Z] 540db60ca938: Verifying Checksum [2021-05-20T02:47:27.260Z] 540db60ca938: Download complete [2021-05-20T02:47:27.260Z] 7809a108b3ef: Verifying Checksum [2021-05-20T02:47:27.260Z] 7809a108b3ef: Download complete [2021-05-20T02:47:27.521Z] 540db60ca938: Pull complete [2021-05-20T02:47:27.521Z] adcc1eea9eea: Pull complete [2021-05-20T02:47:27.521Z] 4c4ab2625f07: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T02:47:27.568Z] provisioning config files... [2021-05-20T02:47:27.593Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8149535080396276266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:47:27.971Z] ---> docker-login.sh [2021-05-20T02:47:27.972Z] nexus3.edgexfoundry.org:10001 [2021-05-20T02:47:28.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:47:29.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:47:29.228Z] Configure a credential helper to remove this warning. See [2021-05-20T02:47:29.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:47:29.228Z] [2021-05-20T02:47:29.228Z] Login Succeeded [2021-05-20T02:47:29.228Z] nexus3.edgexfoundry.org:10002 [2021-05-20T02:47:29.439Z] f706445af74f: Verifying Checksum [2021-05-20T02:47:29.439Z] f706445af74f: Download complete [2021-05-20T02:47:29.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:47:29.703Z] 0510c868ecb4: Verifying Checksum [2021-05-20T02:47:29.703Z] 0510c868ecb4: Download complete [2021-05-20T02:47:29.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:47:29.784Z] Configure a credential helper to remove this warning. See [2021-05-20T02:47:29.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:47:29.784Z] [2021-05-20T02:47:29.784Z] Login Succeeded [2021-05-20T02:47:29.784Z] nexus3.edgexfoundry.org:10003 [2021-05-20T02:47:30.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:47:30.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:47:30.388Z] Configure a credential helper to remove this warning. See [2021-05-20T02:47:30.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:47:30.388Z] [2021-05-20T02:47:30.388Z] Login Succeeded [2021-05-20T02:47:30.388Z] nexus3.edgexfoundry.org:10004 [2021-05-20T02:47:30.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:47:30.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:47:30.941Z] Configure a credential helper to remove this warning. See [2021-05-20T02:47:30.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:47:30.941Z] [2021-05-20T02:47:30.941Z] Login Succeeded [2021-05-20T02:47:30.941Z] docker.io [2021-05-20T02:47:31.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T02:47:31.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T02:47:31.815Z] Configure a credential helper to remove this warning. See [2021-05-20T02:47:31.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T02:47:31.815Z] [2021-05-20T02:47:31.815Z] Login Succeeded [2021-05-20T02:47:31.815Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T02:47:31.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T02:47:32.390Z] ========================================================= [2021-05-20T02:47:32.390Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-20T02:47:32.390Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:47:32.814Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-20T02:47:33.032Z] 0510c868ecb4: Pull complete [2021-05-20T02:47:33.032Z] afea3b2eda06: Pull complete [2021-05-20T02:47:33.298Z] 7809a108b3ef: Pull complete [2021-05-20T02:47:33.444Z] Sending build context to Docker daemon 2.591MB [2021-05-20T02:47:33.444Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T02:47:33.444Z] Step 2/8 : FROM ${BASE} [2021-05-20T02:47:33.444Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-20T02:47:33.444Z] 595b0fe564bb: Pulling fs layer [2021-05-20T02:47:33.444Z] 7186ed65a4f7: Pulling fs layer [2021-05-20T02:47:33.444Z] 316046926c0a: Pulling fs layer [2021-05-20T02:47:33.444Z] 4ebd0625c992: Pulling fs layer [2021-05-20T02:47:33.444Z] 207e8628e3a3: Pulling fs layer [2021-05-20T02:47:33.444Z] c791037a9be2: Pulling fs layer [2021-05-20T02:47:33.444Z] ffd874e62e21: Pulling fs layer [2021-05-20T02:47:33.444Z] 4ebd0625c992: Waiting [2021-05-20T02:47:33.444Z] 207e8628e3a3: Waiting [2021-05-20T02:47:33.444Z] c791037a9be2: Waiting [2021-05-20T02:47:33.444Z] ffd874e62e21: Waiting [2021-05-20T02:47:33.444Z] 316046926c0a: Verifying Checksum [2021-05-20T02:47:33.444Z] 316046926c0a: Download complete [2021-05-20T02:47:33.444Z] 7186ed65a4f7: Verifying Checksum [2021-05-20T02:47:33.444Z] 7186ed65a4f7: Download complete [2021-05-20T02:47:33.723Z] 207e8628e3a3: Verifying Checksum [2021-05-20T02:47:33.723Z] 207e8628e3a3: Download complete [2021-05-20T02:47:33.723Z] 595b0fe564bb: Download complete [2021-05-20T02:47:33.723Z] c791037a9be2: Download complete [2021-05-20T02:47:34.340Z] 595b0fe564bb: Pull complete [2021-05-20T02:47:34.687Z] f706445af74f: Pull complete [2021-05-20T02:47:34.687Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-20T02:47:34.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-20T02:47:34.687Z] ---> b068be0155e3 [2021-05-20T02:47:34.687Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T02:47:34.944Z] 7186ed65a4f7: Pull complete [2021-05-20T02:47:35.216Z] 316046926c0a: Pull complete [2021-05-20T02:47:35.491Z] ffd874e62e21: Verifying Checksum [2021-05-20T02:47:35.491Z] ffd874e62e21: Download complete [2021-05-20T02:47:36.951Z] 4ebd0625c992: Verifying Checksum [2021-05-20T02:47:36.951Z] 4ebd0625c992: Download complete [2021-05-20T02:47:39.981Z] ---> Running in ac81e14ade3d [2021-05-20T02:47:39.981Z] Removing intermediate container ac81e14ade3d [2021-05-20T02:47:39.981Z] ---> b2c9a10c39f2 [2021-05-20T02:47:39.981Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T02:47:39.981Z] ---> Running in 4e23cdd5f34c [2021-05-20T02:47:39.981Z] Removing intermediate container 4e23cdd5f34c [2021-05-20T02:47:39.981Z] ---> 943902bd5058 [2021-05-20T02:47:39.981Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-20T02:47:39.981Z] ---> Running in 72d9ceb59050 [2021-05-20T02:47:40.244Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T02:47:41.195Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T02:47:41.772Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-20T02:47:41.772Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-20T02:47:41.772Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-20T02:47:42.033Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-20T02:47:42.034Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-20T02:47:42.034Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-20T02:47:42.302Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T02:47:42.303Z] OK: 150 MiB in 46 packages [2021-05-20T02:47:42.567Z] Removing intermediate container 72d9ceb59050 [2021-05-20T02:47:42.567Z] ---> 6619f1ac3d51 [2021-05-20T02:47:42.567Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-20T02:47:42.567Z] ---> Running in 3a8df1bcd005 [2021-05-20T02:47:42.567Z] Removing intermediate container 3a8df1bcd005 [2021-05-20T02:47:42.567Z] ---> 1c8cdafe27ff [2021-05-20T02:47:42.567Z] Step 7/8 : COPY . . [2021-05-20T02:47:43.141Z] ---> 8f0bddbbd506 [2021-05-20T02:47:43.141Z] Step 8/8 : RUN go mod download [2021-05-20T02:47:43.141Z] ---> Running in c7e33dc60bed [2021-05-20T02:47:47.111Z] 4ebd0625c992: Pull complete [2021-05-20T02:47:47.111Z] 207e8628e3a3: Pull complete [2021-05-20T02:47:47.111Z] c791037a9be2: Pull complete [2021-05-20T02:47:50.490Z] ffd874e62e21: Pull complete [2021-05-20T02:47:50.490Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-20T02:47:50.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-20T02:47:50.490Z] ---> cfc18b08335c [2021-05-20T02:47:50.491Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T02:47:52.477Z] ---> Running in a220c3d59e1d [2021-05-20T02:47:53.075Z] Removing intermediate container a220c3d59e1d [2021-05-20T02:47:53.075Z] ---> a1b75fd74a94 [2021-05-20T02:47:53.075Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T02:47:53.075Z] ---> Running in 824905df8cd8 [2021-05-20T02:47:55.050Z] Removing intermediate container 824905df8cd8 [2021-05-20T02:47:55.050Z] ---> 87a97f7cb312 [2021-05-20T02:47:55.323Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-20T02:47:55.323Z] ---> Running in af8be06ee80d [2021-05-20T02:47:56.761Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T02:47:57.357Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T02:47:58.076Z] Removing intermediate container c7e33dc60bed [2021-05-20T02:47:58.077Z] ---> bbf77a7a895f [2021-05-20T02:47:58.077Z] Successfully built bbf77a7a895f [2021-05-20T02:47:58.077Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:47:58.334Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-20T02:47:58.334Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-20T02:47:58.334Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-20T02:47:58.334Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-20T02:47:58.383Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T02:47:58.383Z] . [Pipeline] withDockerContainer [2021-05-20T02:47:58.458Z] prd-centos7-docker-4c-2g-15249 does not seem to be running inside a container [2021-05-20T02:47:58.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T02:47:58.610Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-20T02:47:58.610Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-20T02:47:58.610Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T02:47:58.610Z] OK: 139 MiB in 46 packages [2021-05-20T02:47:58.921Z] $ docker top eea9bb4ffb83ee763739269e3c0359c47ca281b33f863ae35df01b397003d794 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T02:47:59.302Z] + go version [2021-05-20T02:47:59.302Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-20T02:47:59.315Z] $ docker stop --time=1 eea9bb4ffb83ee763739269e3c0359c47ca281b33f863ae35df01b397003d794 [2021-05-20T02:48:00.050Z] Removing intermediate container af8be06ee80d [2021-05-20T02:48:00.050Z] ---> 0bd95bc4dec8 [2021-05-20T02:48:00.050Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-20T02:48:00.323Z] ---> Running in 86bf8a6644ca [2021-05-20T02:48:00.492Z] $ docker rm -f eea9bb4ffb83ee763739269e3c0359c47ca281b33f863ae35df01b397003d794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:48:00.925Z] Removing intermediate container 86bf8a6644ca [2021-05-20T02:48:00.926Z] ---> 30d47d51c8d9 [2021-05-20T02:48:00.926Z] Step 7/8 : COPY . . [2021-05-20T02:48:01.151Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T02:48:01.151Z] . [Pipeline] withDockerContainer [2021-05-20T02:48:01.235Z] prd-centos7-docker-4c-2g-15249 does not seem to be running inside a container [2021-05-20T02:48:01.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T02:48:01.678Z] $ docker top ee7aef9d3659227d247f450dc0d40b222f8357ebc1489057daa2cbb1886a8b19 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T02:48:02.071Z] + go mod tidy [Pipeline] sh [2021-05-20T02:48:02.368Z] ---> 2b7fbb054bd2 [2021-05-20T02:48:02.368Z] Step 8/8 : RUN go mod download [2021-05-20T02:48:02.368Z] ---> Running in 030f2117a40c [2021-05-20T02:48:02.657Z] + make test [2021-05-20T02:48:02.657Z] go mod tidy [2021-05-20T02:48:02.657Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-20T02:48:07.991Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-20T02:48:29.181Z] Removing intermediate container 030f2117a40c [2021-05-20T02:48:29.181Z] ---> 2d5897875ada [2021-05-20T02:48:29.181Z] Successfully built 2d5897875ada [2021-05-20T02:48:29.181Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:48:29.529Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T02:48:29.530Z] . [Pipeline] withDockerContainer [2021-05-20T02:48:29.819Z] prd-ubuntu18.04-docker-arm64-4c-16g-15248 does not seem to be running inside a container [2021-05-20T02:48:29.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T02:48:30.037Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-20T02:48:30.037Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-20T02:48:30.037Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-20T02:48:31.587Z] $ docker top bc8d3d12abde5da90c3f1ae5c04d9f7ad8d4e3c9b29179ff3e5c9af4a4dee289 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T02:48:32.570Z] + go version [2021-05-20T02:48:32.570Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-20T02:48:32.599Z] $ docker stop --time=1 bc8d3d12abde5da90c3f1ae5c04d9f7ad8d4e3c9b29179ff3e5c9af4a4dee289 [2021-05-20T02:48:32.600Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.059s coverage: 25.4% of statements [2021-05-20T02:48:32.600Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-20T02:48:32.600Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.045s coverage: 28.1% of statements [2021-05-20T02:48:32.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements [2021-05-20T02:48:34.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.047s coverage: 10.7% of statements [2021-05-20T02:48:34.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-20T02:48:34.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-20T02:48:34.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-20T02:48:34.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 30.2% of statements [2021-05-20T02:48:34.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-20T02:48:34.480Z] $ docker rm -f bc8d3d12abde5da90c3f1ae5c04d9f7ad8d4e3c9b29179ff3e5c9af4a4dee289 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:48:35.317Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T02:48:35.317Z] . [Pipeline] withDockerContainer [2021-05-20T02:48:35.579Z] prd-ubuntu18.04-docker-arm64-4c-16g-15248 does not seem to be running inside a container [2021-05-20T02:48:35.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 83.3% of statements [2021-05-20T02:48:35.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-20T02:48:35.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-20T02:48:35.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 58.0% of statements [2021-05-20T02:48:35.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T02:48:36.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.832s coverage: 89.2% of statements [2021-05-20T02:48:36.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-20T02:48:36.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 5.0% of statements [2021-05-20T02:48:36.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-20T02:48:36.505Z] GO111MODULE=on go vet ./... [2021-05-20T02:48:37.314Z] $ docker top 5acffe3cf6497579c777c24fb7dd6b263b6a760bb22cf08f75f8ba855372b8e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T02:48:38.282Z] + go mod tidy [Pipeline] sh [2021-05-20T02:48:39.547Z] + make test [2021-05-20T02:48:39.547Z] go mod tidy [2021-05-20T02:48:40.148Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-20T02:48:54.737Z] gofmt -l . [2021-05-20T02:48:54.737Z] [ "`gofmt -l .`" = "" ] [2021-05-20T02:48:54.737Z] ./bin/test-attribution-txt.sh [2021-05-20T02:48:54.737Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-20T02:48:54.748Z] $ docker stop --time=1 ee7aef9d3659227d247f450dc0d40b222f8357ebc1489057daa2cbb1886a8b19 [2021-05-20T02:48:57.399Z] $ docker rm -f ee7aef9d3659227d247f450dc0d40b222f8357ebc1489057daa2cbb1886a8b19 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T02:48:57.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T02:48:58.093Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-20T02:49:00.860Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T02:49:01.156Z] + ls -al . [2021-05-20T02:49:01.156Z] total 212 [2021-05-20T02:49:01.156Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 20 02:48 . [2021-05-20T02:49:01.156Z] drwxrwxr-x. 4 jenkins jenkins 28 May 20 02:46 .. [2021-05-20T02:49:01.156Z] drwxrwxr-x. 2 jenkins jenkins 64 May 20 02:47 bin [2021-05-20T02:49:01.156Z] -rw-r--r--. 1 jenkins jenkins 126187 May 20 02:48 coverage.out [2021-05-20T02:49:01.156Z] -rw-rw-r--. 1 jenkins jenkins 987 May 20 02:47 Dockerfile.build [2021-05-20T02:49:01.156Z] -rw-rw-r--. 1 jenkins jenkins 140 May 20 02:47 .dockerignore [2021-05-20T02:49:01.156Z] drwxrwxr-x. 5 jenkins jenkins 62 May 20 02:47 example [2021-05-20T02:49:01.156Z] drwxrwxr-x. 8 jenkins jenkins 179 May 20 02:47 .git [2021-05-20T02:49:01.156Z] drwxrwxr-x. 2 jenkins jenkins 103 May 20 02:47 .github [2021-05-20T02:49:01.156Z] -rw-rw-r--. 1 jenkins jenkins 138 May 20 02:47 .gitignore [2021-05-20T02:49:01.156Z] -rw-r--r--. 1 jenkins jenkins 575 May 20 02:48 go.mod [2021-05-20T02:49:01.156Z] -rw-r--r--. 1 jenkins jenkins 20803 May 20 02:48 go.sum [2021-05-20T02:49:01.156Z] drwxrwxr-x. 15 jenkins jenkins 224 May 20 02:47 internal [2021-05-20T02:49:01.156Z] -rw-rw-r--. 1 jenkins jenkins 894 May 20 02:47 Jenkinsfile [2021-05-20T02:49:01.156Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 20 02:47 LICENSE [2021-05-20T02:49:01.156Z] -rw-rw-r--. 1 jenkins jenkins 997 May 20 02:47 Makefile [2021-05-20T02:49:01.156Z] drwxrwxr-x. 4 jenkins jenkins 26 May 20 02:47 openapi [2021-05-20T02:49:01.156Z] drwxrwxr-x. 5 jenkins jenkins 50 May 20 02:47 pkg [2021-05-20T02:49:01.156Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 20 02:47 README.md [2021-05-20T02:49:01.156Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 20 02:47 RELEASE-NOTES.txt [2021-05-20T02:49:01.156Z] drwxrwxr-x. 4 jenkins jenkins 54 May 20 02:47 snap [2021-05-20T02:49:01.156Z] -rw-rw-r--. 1 jenkins jenkins 5 May 20 02:44 VERSION [2021-05-20T02:49:01.156Z] -rw-rw-r--. 1 jenkins jenkins 222 May 20 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:49:01.470Z] + 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=29b7ac85919d660d2d3a0656b7fa39e6daad8d1a --label arch=amd64 --label version=0.0.0 . [2021-05-20T02:49:01.470Z] Sending build context to Docker daemon 2.719MB [2021-05-20T02:49:01.470Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T02:49:01.470Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-20T02:49:01.470Z] ---> bbf77a7a895f [2021-05-20T02:49:01.470Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-20T02:49:01.470Z] ---> Running in d86e4e3a4f57 [2021-05-20T02:49:01.733Z] Removing intermediate container d86e4e3a4f57 [2021-05-20T02:49:01.733Z] ---> 72ddd5bed259 [2021-05-20T02:49:01.733Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T02:49:01.733Z] ---> Running in 1668eb323996 [2021-05-20T02:49:01.733Z] Removing intermediate container 1668eb323996 [2021-05-20T02:49:01.733Z] ---> b4e9e1642647 [2021-05-20T02:49:01.733Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T02:49:01.733Z] ---> Running in 5d024fa9c30c [2021-05-20T02:49:02.311Z] Removing intermediate container 5d024fa9c30c [2021-05-20T02:49:02.311Z] ---> 08fb84bd130d [2021-05-20T02:49:02.311Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-20T02:49:02.311Z] ---> Running in b35243498370 [2021-05-20T02:49:02.577Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T02:49:03.150Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T02:49:03.737Z] OK: 150 MiB in 46 packages [2021-05-20T02:49:03.998Z] Removing intermediate container b35243498370 [2021-05-20T02:49:03.998Z] ---> a1cc739c433f [2021-05-20T02:49:03.998Z] Step 7/23 : COPY . . [2021-05-20T02:49:04.259Z] ---> cc1540f05f16 [2021-05-20T02:49:04.259Z] Step 8/23 : RUN go mod download [2021-05-20T02:49:04.259Z] ---> Running in fbbb663baead [2021-05-20T02:49:04.836Z] Removing intermediate container fbbb663baead [2021-05-20T02:49:04.836Z] ---> 4aaa4ed6a1ac [2021-05-20T02:49:04.836Z] Step 9/23 : RUN make build [2021-05-20T02:49:04.836Z] ---> Running in fa09084c44e0 [2021-05-20T02:49:05.102Z] go mod tidy [2021-05-20T02:49:05.102Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-20T02:49:06.989Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-20T02:49:17.422Z] Removing intermediate container fa09084c44e0 [2021-05-20T02:49:17.422Z] ---> bd6d6f1ffc28 [2021-05-20T02:49:17.422Z] Step 10/23 : FROM alpine:3.12 [2021-05-20T02:49:17.422Z] 3.12: Pulling from library/alpine [2021-05-20T02:49:17.422Z] 339de151aab4: Pulling fs layer [2021-05-20T02:49:17.422Z] 339de151aab4: Verifying Checksum [2021-05-20T02:49:17.422Z] 339de151aab4: Download complete [2021-05-20T02:49:17.422Z] 339de151aab4: Pull complete [2021-05-20T02:49:17.422Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T02:49:17.422Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T02:49:17.422Z] ---> 13621d1b12d4 [2021-05-20T02:49:17.422Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T02:49:17.422Z] ---> Running in 106106ddcedf [2021-05-20T02:49:17.422Z] Removing intermediate container 106106ddcedf [2021-05-20T02:49:17.422Z] ---> 4cdf52e2ae99 [2021-05-20T02:49:17.422Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T02:49:17.422Z] ---> Running in c6f23127b023 [2021-05-20T02:49:17.689Z] Removing intermediate container c6f23127b023 [2021-05-20T02:49:17.689Z] ---> 28ccefbea19b [2021-05-20T02:49:17.689Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-20T02:49:17.689Z] ---> Running in f627f71a2751 [2021-05-20T02:49:17.949Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-20T02:49:18.520Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-20T02:49:19.090Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-20T02:49:19.090Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-20T02:49:19.090Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-20T02:49:20.473Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-20T02:49:20.473Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-20T02:49:20.473Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T02:49:20.473Z] OK: 8 MiB in 19 packages [2021-05-20T02:49:20.735Z] Removing intermediate container f627f71a2751 [2021-05-20T02:49:20.735Z] ---> 3c96feb550fa [2021-05-20T02:49:20.735Z] Step 14/23 : WORKDIR / [2021-05-20T02:49:20.735Z] ---> Running in d44e438b4108 [2021-05-20T02:49:20.735Z] Removing intermediate container d44e438b4108 [2021-05-20T02:49:20.735Z] ---> 7e8fbd547187 [2021-05-20T02:49:20.735Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-20T02:49:20.998Z] ---> 58fe4c0778d2 [2021-05-20T02:49:20.998Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-20T02:49:21.571Z] ---> df67cd9af0b8 [2021-05-20T02:49:21.571Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-20T02:49:21.571Z] ---> 90e2a8446e85 [2021-05-20T02:49:21.571Z] Step 18/23 : EXPOSE 49990 [2021-05-20T02:49:21.571Z] ---> Running in ea95dd0a7c05 [2021-05-20T02:49:21.834Z] Removing intermediate container ea95dd0a7c05 [2021-05-20T02:49:21.834Z] ---> ab45565f1551 [2021-05-20T02:49:21.834Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-20T02:49:21.834Z] ---> Running in 8764783082a7 [2021-05-20T02:49:21.834Z] Removing intermediate container 8764783082a7 [2021-05-20T02:49:21.834Z] ---> 00aefcef9f4f [2021-05-20T02:49:21.834Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-20T02:49:21.834Z] ---> Running in 58eed9e0f8b2 [2021-05-20T02:49:21.834Z] Removing intermediate container 58eed9e0f8b2 [2021-05-20T02:49:21.834Z] ---> 28f06af05fd2 [2021-05-20T02:49:21.834Z] Step 21/23 : LABEL arch=amd64 [2021-05-20T02:49:22.095Z] ---> Running in 5588b55a42f6 [2021-05-20T02:49:22.095Z] Removing intermediate container 5588b55a42f6 [2021-05-20T02:49:22.095Z] ---> 3d5ffa037c15 [2021-05-20T02:49:22.095Z] Step 22/23 : LABEL git_sha=29b7ac85919d660d2d3a0656b7fa39e6daad8d1a [2021-05-20T02:49:22.095Z] ---> Running in 84a771235708 [2021-05-20T02:49:22.095Z] Removing intermediate container 84a771235708 [2021-05-20T02:49:22.095Z] ---> 6c2abbba56da [2021-05-20T02:49:22.095Z] Step 23/23 : LABEL version=0.0.0 [2021-05-20T02:49:22.095Z] ---> Running in 5bd45a983b98 [2021-05-20T02:49:22.357Z] Removing intermediate container 5bd45a983b98 [2021-05-20T02:49:22.357Z] ---> 4ff77084e732 [2021-05-20T02:49:22.357Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-20T02:49:22.357Z] Successfully built 4ff77084e732 [2021-05-20T02:49:22.357Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:49:23.236Z] ---> job-cost.sh [2021-05-20T02:49:23.236Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gNxE [2021-05-20T02:49:33.291Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T02:49:48.247Z] lf-activate-venv(): INFO: Adding /tmp/venv-gNxE/bin to PATH [2021-05-20T02:49:48.247Z] INFO: No Stack... [2021-05-20T02:49:48.508Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T02:49:49.081Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T02:49:49.380Z] + cut -d, -f6 [2021-05-20T02:49:49.380Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-05-20T02:49:49.409Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-3-stack-cost] [2021-05-20T02:49:49.418Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-3-stack-cost] did not exist. Created. [2021-05-20T02:49:49.418Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T02:49:49.741Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-20T02:49:49.798Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T02:49:49.813Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-20T02:50:03.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-20T02:50:03.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-20T02:50:03.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-20T02:50:18.815Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.361s coverage: 25.4% of statements [2021-05-20T02:50:18.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-20T02:50:18.815Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.195s coverage: 28.1% of statements [2021-05-20T02:50:18.815Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.234s coverage: 78.9% of statements [2021-05-20T02:50:18.815Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.252s coverage: 10.7% of statements [2021-05-20T02:50:18.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-20T02:50:18.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-20T02:50:18.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-20T02:50:20.276Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.297s coverage: 30.2% of statements [2021-05-20T02:50:20.276Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-20T02:50:20.551Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.229s coverage: 83.3% of statements [2021-05-20T02:50:20.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-20T02:50:20.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-20T02:50:20.551Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.362s coverage: 58.0% of statements [2021-05-20T02:50:24.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.050s coverage: 89.2% of statements [2021-05-20T02:50:24.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-20T02:50:24.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.184s coverage: 5.0% of statements [2021-05-20T02:50:24.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-20T02:50:25.146Z] GO111MODULE=on go vet ./... [2021-05-20T02:51:21.744Z] gofmt -l . [2021-05-20T02:51:21.745Z] [ "`gofmt -l .`" = "" ] [2021-05-20T02:51:21.745Z] ./bin/test-attribution-txt.sh [2021-05-20T02:51:22.022Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-20T02:51:22.646Z] $ docker stop --time=1 5acffe3cf6497579c777c24fb7dd6b263b6a760bb22cf08f75f8ba855372b8e9 [2021-05-20T02:51:24.649Z] $ docker rm -f 5acffe3cf6497579c777c24fb7dd6b263b6a760bb22cf08f75f8ba855372b8e9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T02:51:25.752Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T02:51:25.786Z] Warning: overwriting stash ‘coverage-report’ [2021-05-20T02:51:26.372Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T02:51:26.966Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T02:51:27.320Z] + ls -al . [2021-05-20T02:51:27.320Z] total 248 [2021-05-20T02:51:27.320Z] drwxrwxr-x 10 jenkins jenkins 4096 May 20 02:51 . [2021-05-20T02:51:27.320Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 02:46 .. [2021-05-20T02:51:27.320Z] -rw-rw-r-- 1 jenkins jenkins 140 May 20 02:47 .dockerignore [2021-05-20T02:51:27.320Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 02:47 .git [2021-05-20T02:51:27.320Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 02:47 .github [2021-05-20T02:51:27.320Z] -rw-rw-r-- 1 jenkins jenkins 138 May 20 02:47 .gitignore [2021-05-20T02:51:27.320Z] -rw-rw-r-- 1 jenkins jenkins 987 May 20 02:47 Dockerfile.build [2021-05-20T02:51:27.320Z] -rw-rw-r-- 1 jenkins jenkins 894 May 20 02:47 Jenkinsfile [2021-05-20T02:51:27.320Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 20 02:47 LICENSE [2021-05-20T02:51:27.320Z] -rw-rw-r-- 1 jenkins jenkins 997 May 20 02:47 Makefile [2021-05-20T02:51:27.320Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 20 02:47 README.md [2021-05-20T02:51:27.320Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 20 02:47 RELEASE-NOTES.txt [2021-05-20T02:51:27.320Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 02:44 VERSION [2021-05-20T02:51:27.320Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 02:47 bin [2021-05-20T02:51:27.320Z] -rw-r--r-- 1 jenkins jenkins 126188 May 20 02:50 coverage.out [2021-05-20T02:51:27.320Z] drwxrwxr-x 5 jenkins jenkins 4096 May 20 02:47 example [2021-05-20T02:51:27.320Z] -rw-r--r-- 1 jenkins jenkins 575 May 20 02:51 go.mod [2021-05-20T02:51:27.320Z] -rw-r--r-- 1 jenkins jenkins 20803 May 20 02:48 go.sum [2021-05-20T02:51:27.320Z] drwxrwxr-x 15 jenkins jenkins 4096 May 20 02:47 internal [2021-05-20T02:51:27.320Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 02:47 openapi [2021-05-20T02:51:27.320Z] drwxrwxr-x 5 jenkins jenkins 4096 May 20 02:47 pkg [2021-05-20T02:51:27.320Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 02:47 snap [2021-05-20T02:51:27.320Z] -rw-rw-r-- 1 jenkins jenkins 222 May 20 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:51:27.671Z] + 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=29b7ac85919d660d2d3a0656b7fa39e6daad8d1a --label arch=arm64 --label version=0.0.0 . [2021-05-20T02:51:28.274Z] Sending build context to Docker daemon 2.718MB [2021-05-20T02:51:28.274Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T02:51:28.274Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-20T02:51:28.274Z] ---> 2d5897875ada [2021-05-20T02:51:28.274Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-20T02:51:28.552Z] ---> Running in 4978d351e92a [2021-05-20T02:51:29.155Z] Removing intermediate container 4978d351e92a [2021-05-20T02:51:29.156Z] ---> 7c4769d2c63c [2021-05-20T02:51:29.156Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T02:51:29.156Z] ---> Running in 11d684417f7d [2021-05-20T02:51:29.753Z] Removing intermediate container 11d684417f7d [2021-05-20T02:51:29.753Z] ---> f689bb16956e [2021-05-20T02:51:29.753Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T02:51:29.753Z] ---> Running in e4a227cbd517 [2021-05-20T02:51:32.378Z] Removing intermediate container e4a227cbd517 [2021-05-20T02:51:32.378Z] ---> 85d12c6a63a1 [2021-05-20T02:51:32.378Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-20T02:51:32.378Z] ---> Running in 61fa97af1b3b [2021-05-20T02:51:33.359Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T02:51:34.335Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T02:51:34.929Z] OK: 139 MiB in 46 packages [2021-05-20T02:51:36.375Z] Removing intermediate container 61fa97af1b3b [2021-05-20T02:51:36.375Z] ---> 8360bf843eff [2021-05-20T02:51:36.375Z] Step 7/23 : COPY . . [2021-05-20T02:51:37.355Z] ---> 6e528d0ecb8c [2021-05-20T02:51:37.355Z] Step 8/23 : RUN go mod download [2021-05-20T02:51:37.627Z] ---> Running in bfc0fee64f8c [2021-05-20T02:51:40.250Z] Removing intermediate container bfc0fee64f8c [2021-05-20T02:51:40.250Z] ---> 767138640080 [2021-05-20T02:51:40.250Z] Step 9/23 : RUN make build [2021-05-20T02:51:40.250Z] ---> Running in 40557304e2a6 [2021-05-20T02:51:41.232Z] go mod tidy [2021-05-20T02:51:41.838Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-20T02:52:20.891Z] Removing intermediate container 40557304e2a6 [2021-05-20T02:52:20.891Z] ---> 1b102cb7342f [2021-05-20T02:52:20.891Z] Step 10/23 : FROM alpine:3.12 [2021-05-20T02:52:20.891Z] 3.12: Pulling from library/alpine [2021-05-20T02:52:20.891Z] d2f70382dc9a: Pulling fs layer [2021-05-20T02:52:20.891Z] d2f70382dc9a: Verifying Checksum [2021-05-20T02:52:20.891Z] d2f70382dc9a: Download complete [2021-05-20T02:52:20.891Z] d2f70382dc9a: Pull complete [2021-05-20T02:52:20.891Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T02:52:20.891Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T02:52:20.891Z] ---> 9852663dfa18 [2021-05-20T02:52:20.891Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T02:52:20.891Z] ---> Running in 16ded3b7448b [2021-05-20T02:52:20.891Z] Removing intermediate container 16ded3b7448b [2021-05-20T02:52:20.891Z] ---> d0c97180a45b [2021-05-20T02:52:20.891Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T02:52:20.891Z] ---> Running in ec24a3e1b3c0 [2021-05-20T02:52:21.490Z] Removing intermediate container ec24a3e1b3c0 [2021-05-20T02:52:21.490Z] ---> 7286bcc53202 [2021-05-20T02:52:21.490Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-20T02:52:21.490Z] ---> Running in 8b930e36a77c [2021-05-20T02:52:22.924Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-20T02:52:23.520Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-20T02:52:24.494Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-20T02:52:24.767Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-20T02:52:24.767Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-20T02:52:25.037Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-20T02:52:25.631Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-20T02:52:25.902Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T02:52:25.902Z] OK: 8 MiB in 19 packages [2021-05-20T02:52:26.883Z] Removing intermediate container 8b930e36a77c [2021-05-20T02:52:26.883Z] ---> fead06e35513 [2021-05-20T02:52:26.883Z] Step 14/23 : WORKDIR / [2021-05-20T02:52:27.155Z] ---> Running in caf671a79e52 [2021-05-20T02:52:27.753Z] Removing intermediate container caf671a79e52 [2021-05-20T02:52:27.753Z] ---> e27da4ba66e4 [2021-05-20T02:52:27.753Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-20T02:52:28.351Z] ---> 1b0e5eb21422 [2021-05-20T02:52:28.351Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-20T02:52:29.786Z] ---> 10dfcaf7eb57 [2021-05-20T02:52:29.786Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-20T02:52:30.384Z] ---> c58de8486e69 [2021-05-20T02:52:30.384Z] Step 18/23 : EXPOSE 49990 [2021-05-20T02:52:30.658Z] ---> Running in 31cffa30a593 [2021-05-20T02:52:30.934Z] Removing intermediate container 31cffa30a593 [2021-05-20T02:52:30.934Z] ---> 7e4685a93ace [2021-05-20T02:52:30.934Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-20T02:52:31.209Z] ---> Running in db2da8fcf28b [2021-05-20T02:52:31.485Z] Removing intermediate container db2da8fcf28b [2021-05-20T02:52:31.485Z] ---> f57de08a3948 [2021-05-20T02:52:31.485Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-20T02:52:31.759Z] ---> Running in 73b817c3387e [2021-05-20T02:52:32.354Z] Removing intermediate container 73b817c3387e [2021-05-20T02:52:32.354Z] ---> ba0ef4e6caf7 [2021-05-20T02:52:32.354Z] Step 21/23 : LABEL arch=arm64 [2021-05-20T02:52:32.354Z] ---> Running in 35271e519f2a [2021-05-20T02:52:32.953Z] Removing intermediate container 35271e519f2a [2021-05-20T02:52:32.953Z] ---> 70892519f83d [2021-05-20T02:52:32.953Z] Step 22/23 : LABEL git_sha=29b7ac85919d660d2d3a0656b7fa39e6daad8d1a [2021-05-20T02:52:32.953Z] ---> Running in e8a4eef5385c [2021-05-20T02:52:33.551Z] Removing intermediate container e8a4eef5385c [2021-05-20T02:52:33.551Z] ---> 581508d87b27 [2021-05-20T02:52:33.551Z] Step 23/23 : LABEL version=0.0.0 [2021-05-20T02:52:33.551Z] ---> Running in 96d2bf856fca [2021-05-20T02:52:34.148Z] Removing intermediate container 96d2bf856fca [2021-05-20T02:52:34.148Z] ---> 15c952d790f7 [2021-05-20T02:52:34.148Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-20T02:52:34.148Z] Successfully built 15c952d790f7 [2021-05-20T02:52:34.148Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:52:34.771Z] ---> job-cost.sh [2021-05-20T02:52:34.771Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2i1o [2021-05-20T02:53:13.749Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T02:54:35.505Z] lf-activate-venv(): INFO: Adding /tmp/venv-2i1o/bin to PATH [2021-05-20T02:54:35.505Z] INFO: No Stack... [2021-05-20T02:54:35.505Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-20T02:54:36.098Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T02:54:36.451Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-05-20T02:54:36.451Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T02:54:36.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-3-stack-cost] [2021-05-20T02:54:36.528Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-3-stack-cost] did not exist. Created. [2021-05-20T02:54:36.528Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T02:54:36.903Z] /w/workspace/device-sdk-go/3@tmp/durable-27cb48e3/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-27cb48e3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-20T02:54:37.248Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-20T02:54:37.270Z] Warning: overwriting stash ‘stack-cost’ [2021-05-20T02:54:37.428Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T02:54:37.444Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-20T02:54:38.371Z] provisioning config files... [2021-05-20T02:54:38.420Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config1859482119484320568tmp [Pipeline] { [Pipeline] sh [2021-05-20T02:54:38.743Z] + set +x [2021-05-20T02:54:38.743Z] + curl -s https://codecov.io/bash [2021-05-20T02:54:38.743Z] + bash -s -- [2021-05-20T02:54:38.743Z] [2021-05-20T02:54:38.743Z] _____ _ [2021-05-20T02:54:38.743Z] / ____| | | [2021-05-20T02:54:38.743Z] | | ___ __| | ___ ___ _____ __ [2021-05-20T02:54:38.743Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-20T02:54:38.743Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-20T02:54:38.743Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-20T02:54:38.743Z] Bash-1.0.2 [2021-05-20T02:54:38.743Z] [2021-05-20T02:54:38.743Z] [2021-05-20T02:54:38.743Z] ==> git version 2.24.4 found [2021-05-20T02:54:38.743Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-20T02:54:38.743Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-20T02:54:38.743Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-20T02:54:38.743Z] ==> Jenkins CI detected. [2021-05-20T02:54:38.743Z] project root: . [2021-05-20T02:54:38.743Z] --> token set from env [2021-05-20T02:54:39.006Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-20T02:54:39.006Z] ==> Running gcov in . (disable via -X gcov) [2021-05-20T02:54:39.006Z] ==> Python coveragepy not found [2021-05-20T02:54:39.006Z] ==> Searching for coverage reports in: [2021-05-20T02:54:39.006Z] + . [2021-05-20T02:54:39.006Z] -> Found 1 reports [2021-05-20T02:54:39.006Z] ==> Detecting git/mercurial file structure [2021-05-20T02:54:39.006Z] ==> Reading reports [2021-05-20T02:54:39.006Z] + ./coverage.out bytes=126188 [2021-05-20T02:54:39.006Z] ==> Appending adjustments [2021-05-20T02:54:39.006Z] https://docs.codecov.io/docs/fixing-reports [2021-05-20T02:54:39.268Z] + Found adjustments [2021-05-20T02:54:39.268Z] ==> Gzipping contents [2021-05-20T02:54:39.268Z] 20K /tmp/codecov.V5ix52.gz [2021-05-20T02:54:39.268Z] ==> Uploading reports [2021-05-20T02:54:39.268Z] url: https://codecov.io [2021-05-20T02:54:39.268Z] query: branch=PR-934&commit=08a71c5fbf79fa01eb9cf4b2ebc25eea023d88b7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-20T02:54:39.268Z] -> Pinging Codecov [2021-05-20T02:54:39.268Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-934&commit=08a71c5fbf79fa01eb9cf4b2ebc25eea023d88b7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-20T02:54:39.529Z] -> Uploading to [2021-05-20T02:54:39.529Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-20/7E55EF52A471D76F132DFD9A03CDDE97/08a71c5fbf79fa01eb9cf4b2ebc25eea023d88b7/5df8a998-5cfc-4137-a053-b54ac59b2240.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T025439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17dbc776d57c1527273b5d2a3d63435c67559c2f4506fef55cc4e844693d0b4e [2021-05-20T02:54:39.529Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-20T02:54:39.529Z] Dload Upload Total Spent Left Speed [2021-05-20T02:54:40.104Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16480 0 0 100 16480 0 40254 --:--:-- --:--:-- --:--:-- 40293 [2021-05-20T02:54:40.104Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/08a71c5fbf79fa01eb9cf4b2ebc25eea023d88b7 [Pipeline] } [2021-05-20T02:54:40.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:54:41.968Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:54:42.539Z] ---> package-listing.sh [2021-05-20T02:54:42.539Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-20T02:54:42.539Z] ++ facter osfamily [2021-05-20T02:54:42.812Z] + OS_FAMILY=redhat [2021-05-20T02:54:42.812Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-20T02:54:42.812Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-20T02:54:42.812Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-20T02:54:42.812Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-20T02:54:42.812Z] + PACKAGES=/tmp/packages_start.txt [2021-05-20T02:54:42.812Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-20T02:54:42.812Z] + PACKAGES=/tmp/packages_end.txt [2021-05-20T02:54:42.812Z] + case "${OS_FAMILY}" in [2021-05-20T02:54:42.812Z] + rpm -qa [2021-05-20T02:54:42.812Z] + sort [2021-05-20T02:54:43.384Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-20T02:54:43.384Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-20T02:54:43.384Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-20T02:54:43.384Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-20T02:54:43.384Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [2021-05-20T02:54:43.384Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [Pipeline] echo [2021-05-20T02:54:43.396Z] 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-934/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-20T02:54:43.682Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:54:44.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T02:54:44.244Z] [2021-05-20T02:54:44.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-20T02:54:44.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T02:54:44.555Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-20T02:54:44.555Z] df20fa9351a1: Pulling fs layer [2021-05-20T02:54:44.555Z] 36b3adc4ff6f: Pulling fs layer [2021-05-20T02:54:44.555Z] 8ad3a11d3b57: Pulling fs layer [2021-05-20T02:54:44.555Z] 46f8f816bc3b: Pulling fs layer [2021-05-20T02:54:44.555Z] 93b61091891f: Pulling fs layer [2021-05-20T02:54:44.555Z] 93b9cdb0e59b: Pulling fs layer [2021-05-20T02:54:44.555Z] 5e14af77c1be: Pulling fs layer [2021-05-20T02:54:44.555Z] 01666e4c0597: Pulling fs layer [2021-05-20T02:54:44.555Z] aa168da1d23b: Pulling fs layer [2021-05-20T02:54:44.555Z] 93b61091891f: Waiting [2021-05-20T02:54:44.555Z] 93b9cdb0e59b: Waiting [2021-05-20T02:54:44.555Z] 5e14af77c1be: Waiting [2021-05-20T02:54:44.555Z] 01666e4c0597: Waiting [2021-05-20T02:54:44.555Z] aa168da1d23b: Waiting [2021-05-20T02:54:44.555Z] 46f8f816bc3b: Waiting [2021-05-20T02:54:44.555Z] 36b3adc4ff6f: Verifying Checksum [2021-05-20T02:54:44.555Z] 36b3adc4ff6f: Download complete [2021-05-20T02:54:44.555Z] 46f8f816bc3b: Verifying Checksum [2021-05-20T02:54:44.555Z] 46f8f816bc3b: Download complete [2021-05-20T02:54:44.816Z] df20fa9351a1: Verifying Checksum [2021-05-20T02:54:44.816Z] df20fa9351a1: Download complete [2021-05-20T02:54:44.816Z] 93b61091891f: Verifying Checksum [2021-05-20T02:54:44.816Z] 93b61091891f: Download complete [2021-05-20T02:54:44.816Z] 93b9cdb0e59b: Verifying Checksum [2021-05-20T02:54:44.816Z] 93b9cdb0e59b: Download complete [2021-05-20T02:54:44.816Z] 01666e4c0597: Verifying Checksum [2021-05-20T02:54:44.816Z] 01666e4c0597: Download complete [2021-05-20T02:54:44.816Z] 5e14af77c1be: Verifying Checksum [2021-05-20T02:54:44.816Z] 5e14af77c1be: Download complete [2021-05-20T02:54:44.816Z] df20fa9351a1: Pull complete [2021-05-20T02:54:45.076Z] 36b3adc4ff6f: Pull complete [2021-05-20T02:54:45.339Z] 8ad3a11d3b57: Verifying Checksum [2021-05-20T02:54:45.339Z] 8ad3a11d3b57: Download complete [2021-05-20T02:54:45.912Z] 8ad3a11d3b57: Pull complete [2021-05-20T02:54:45.912Z] 46f8f816bc3b: Pull complete [2021-05-20T02:54:46.175Z] 93b61091891f: Pull complete [2021-05-20T02:54:46.175Z] 93b9cdb0e59b: Pull complete [2021-05-20T02:54:46.436Z] 5e14af77c1be: Pull complete [2021-05-20T02:54:46.436Z] 01666e4c0597: Pull complete [2021-05-20T02:54:47.009Z] aa168da1d23b: Verifying Checksum [2021-05-20T02:54:47.009Z] aa168da1d23b: Download complete [2021-05-20T02:54:51.244Z] aa168da1d23b: Pull complete [2021-05-20T02:54:51.244Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-20T02:54:51.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T02:54:51.244Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-20T02:54:51.322Z] prd-centos7-docker-4c-2g-15247 does not seem to be running inside a container [2021-05-20T02:54:51.376Z] $ 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-934/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-934 -v /w/workspace/dgexfoundry_device-sdk-go_PR-934:/w/workspace/dgexfoundry_device-sdk-go_PR-934:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-20T02:54:54.083Z] $ docker top 1bd60a5ccbea5c617b84b33c2728313a2c2d179822ed9b1c3f06e43c87220547 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T02:54:54.461Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-20T02:54:54.763Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-20T02:54:55.057Z] + ls /var/log/sa-host [2021-05-20T02:54:55.057Z] + sadf -c /var/log/sa-host/sa05 [2021-05-20T02:54:55.057Z] file_magic: OK [2021-05-20T02:54:55.057Z] HZ: Using current value: 100 [2021-05-20T02:54:55.057Z] file_header: OK [2021-05-20T02:54:55.057Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-20T02:54:55.057Z] Statistics: [2021-05-20T02:54:55.057Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T02:54:55.057Z] File successfully converted to sysstat format version 12.2.1 [2021-05-20T02:54:55.057Z] + sadf -c /var/log/sa-host/sa20 [2021-05-20T02:54:55.057Z] file_magic: OK [2021-05-20T02:54:55.057Z] HZ: Using current value: 100 [2021-05-20T02:54:55.057Z] file_header: OK [2021-05-20T02:54:55.057Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-20T02:54:55.057Z] Statistics: [2021-05-20T02:54:55.057Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T02:54:55.057Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T02:54:55.677Z] provisioning config files... [2021-05-20T02:54:55.689Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config1366274386344673077tmp [Pipeline] { [Pipeline] echo [2021-05-20T02:54:55.711Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:54:56.043Z] ---> create-netrc.sh [Pipeline] } [2021-05-20T02:54:56.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-20T02:54:56.078Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:54:56.387Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-20T02:54:56.400Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:54:56.695Z] ---> sudo-logs.sh [2021-05-20T02:54:56.695Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-20T02:54:56.722Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:54:57.020Z] ---> job-cost.sh [2021-05-20T02:54:57.021Z] lf-activate-venv: SKIPPING [2021-05-20T02:54:57.021Z] DEBUG: total: 0.18000000715255737 [2021-05-20T02:54:57.021Z] INFO: Retrieving Stack Cost... [2021-05-20T02:54:57.967Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T02:54:58.541Z] INFO: Archiving Costs [Pipeline] echo [2021-05-20T02:54:58.556Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T02:54:58.851Z] ---> logs-deploy.sh [2021-05-20T02:54:58.851Z] lf-activate-venv: SKIPPING [2021-05-20T02:54:58.851Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-934/3 [2021-05-20T02:54:58.851Z] INFO: archiving workspace using pattern(s): [2021-05-20T02:54:59.797Z] Archives upload complete. [2021-05-20T02:54:59.797Z] INFO: archiving logs to Nexus