Pull request #934 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c63e1bdba210095a262356401bcd17d9f19abb84+282de78a903b796f3af5fb18192a6c185f982102 (fbef004b406b964095180a085a73abec59144a77) 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-ssh6904516513766658442.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-ssh4670667996210105670.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-ssh7266316458819555968.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-ssh8357297536525486987.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-ssh8354257535250883689.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-15723 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-ssh2408457188211532999.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 282de78a903b796f3af5fb18192a6c185f982102 into PR head commit c63e1bdba210095a262356401bcd17d9f19abb84 Merge succeeded, producing 16f1a68bc602a3cefe4215ca69e4c82bf96ed8b0 Checking out Revision 16f1a68bc602a3cefe4215ca69e4c82bf96ed8b0 (PR-934) > 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-ssh4728423912165459631.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 > git config core.sparsecheckout # timeout=10 > git checkout -f c63e1bdba210095a262356401bcd17d9f19abb84 # 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-ssh2535474081115484976.key > git merge 282de78a903b796f3af5fb18192a6c185f982102 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16f1a68bc602a3cefe4215ca69e4c82bf96ed8b0 # timeout=10 Commit message: "Merge commit '282de78a903b796f3af5fb18192a6c185f982102' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-24T03:06:44.540Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-24T03:06:44.635Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-24T03:06:44.664Z] ========================================================= [2021-05-24T03:06:44.664Z] EdgeX Global Pipelines Version Info [2021-05-24T03:06:44.664Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dee0a5dbba48f9d9d8bbe9b40a427952e64b1b7b # timeout=10 [2021-05-24T03:06:46.069Z] ------------------- [2021-05-24T03:06:46.069Z] stable info: [2021-05-24T03:06:46.069Z] ------------------- [2021-05-24T03:06:46.069Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-24T03:06:46.069Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T03:06:46.069Z] Message: update stable to v1.0.192 [2021-05-24T03:06:46.643Z] ------------------- [2021-05-24T03:06:46.643Z] experimental info: [2021-05-24T03:06:46.643Z] ------------------- [2021-05-24T03:06:46.643Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-24T03:06:46.643Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T03:06:46.643Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-24T03:06:46.790Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-24T03:06:46.815Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-24T03:06:46.838Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-24T03:06:46.866Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-24T03:06:46.890Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-24T03:06:46.915Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-24T03:06:47.008Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-24T03:06:47.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-24T03:06:47.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-24T03:06:47.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-24T03:06:47.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-24T03:06:47.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-24T03:06:47.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-24T03:06:47.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-24T03:06:47.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-24T03:06:47.234Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-24T03:06:49.255Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-24T03:06:49.302Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-24T03:06:49.328Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-24T03:06:49.354Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-24T03:06:49.388Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-24T03:06:49.414Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-24T03:06:49.438Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-24T03:06:49.463Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-24T03:06:49.487Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-24T03:06:49.530Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-24T03:06:49.555Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-934 [Pipeline] echo [2021-05-24T03:06:49.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-934 [Pipeline] echo [2021-05-24T03:06:49.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-934 [Pipeline] echo [2021-05-24T03:06:49.626Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16f1a68bc602a3cefe4215ca69e4c82bf96ed8b0 [Pipeline] echo [2021-05-24T03:06:49.650Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16f1a68 [Pipeline] echo [2021-05-24T03:06:49.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T03:06:49.762Z] provisioning config files... [2021-05-24T03:06:49.780Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config8895259178575162470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T03:06:50.107Z] ---> docker-login.sh [2021-05-24T03:06:50.107Z] nexus3.edgexfoundry.org:10001 [2021-05-24T03:06:50.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:06:50.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:06:50.949Z] Configure a credential helper to remove this warning. See [2021-05-24T03:06:50.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:06:50.949Z] [2021-05-24T03:06:50.949Z] Login Succeeded [2021-05-24T03:06:50.949Z] nexus3.edgexfoundry.org:10002 [2021-05-24T03:06:50.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:06:50.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:06:50.949Z] Configure a credential helper to remove this warning. See [2021-05-24T03:06:50.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:06:50.949Z] [2021-05-24T03:06:50.949Z] Login Succeeded [2021-05-24T03:06:50.949Z] nexus3.edgexfoundry.org:10003 [2021-05-24T03:06:50.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:06:51.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:06:51.213Z] Configure a credential helper to remove this warning. See [2021-05-24T03:06:51.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:06:51.213Z] [2021-05-24T03:06:51.213Z] Login Succeeded [2021-05-24T03:06:51.213Z] nexus3.edgexfoundry.org:10004 [2021-05-24T03:06:51.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:06:51.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:06:51.213Z] Configure a credential helper to remove this warning. See [2021-05-24T03:06:51.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:06:51.213Z] [2021-05-24T03:06:51.213Z] Login Succeeded [2021-05-24T03:06:51.213Z] docker.io [2021-05-24T03:06:51.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:06:51.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:06:51.478Z] Configure a credential helper to remove this warning. See [2021-05-24T03:06:51.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:06:51.478Z] [2021-05-24T03:06:51.478Z] Login Succeeded [2021-05-24T03:06:51.478Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T03:06:51.487Z] 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-24T03:06:52.073Z] + git log --format=format:%s -1 16f1a68bc602a3cefe4215ca69e4c82bf96ed8b0 [Pipeline] echo [2021-05-24T03:06:52.125Z] GIT_COMMIT: 16f1a68bc602a3cefe4215ca69e4c82bf96ed8b0, Commit Message: Merge commit '282de78a903b796f3af5fb18192a6c185f982102' into HEAD [Pipeline] echo [2021-05-24T03:06:52.140Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:06:55.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T03:06:55.716Z] [2021-05-24T03:06:55.716Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:06:56.031Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T03:06:56.605Z] latest: Pulling from edgex-devops/git-semver [2021-05-24T03:06:56.605Z] 31603596830f: Pulling fs layer [2021-05-24T03:06:56.605Z] 54011a49482f: Pulling fs layer [2021-05-24T03:06:56.605Z] a6820b24f6d8: Pulling fs layer [2021-05-24T03:06:56.605Z] f581987b2513: Pulling fs layer [2021-05-24T03:06:56.605Z] f581987b2513: Waiting [2021-05-24T03:06:56.605Z] 54011a49482f: Verifying Checksum [2021-05-24T03:06:56.605Z] 54011a49482f: Download complete [2021-05-24T03:06:56.869Z] 31603596830f: Verifying Checksum [2021-05-24T03:06:56.869Z] 31603596830f: Download complete [2021-05-24T03:06:56.869Z] a6820b24f6d8: Verifying Checksum [2021-05-24T03:06:56.869Z] a6820b24f6d8: Download complete [2021-05-24T03:06:56.869Z] f581987b2513: Verifying Checksum [2021-05-24T03:06:56.869Z] f581987b2513: Download complete [2021-05-24T03:06:57.131Z] 31603596830f: Pull complete [2021-05-24T03:06:57.400Z] 54011a49482f: Pull complete [2021-05-24T03:06:58.362Z] a6820b24f6d8: Pull complete [2021-05-24T03:06:58.936Z] f581987b2513: Pull complete [2021-05-24T03:06:58.936Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-24T03:06:58.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T03:06:58.936Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-24T03:06:59.018Z] prd-centos7-docker-4c-2g-15723 does not seem to be running inside a container [2021-05-24T03:06:59.067Z] $ 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-24T03:07:05.139Z] $ docker top ab33fe1e0ed187e90a303a77da33602d7c7fc67b282f34a6498788fe2a8e4059 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-24T03:07:05.261Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-24T03:07:05.261Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-24T03:07:05.370Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-24T03:07:05.375Z] $ docker exec ab33fe1e0ed187e90a303a77da33602d7c7fc67b282f34a6498788fe2a8e4059 ssh-agent [2021-05-24T03:07:05.475Z] SSH_AUTH_SOCK=/tmp/ssh-tr23NhuCcGZz/agent.13 [2021-05-24T03:07:05.475Z] SSH_AGENT_PID=19 [2021-05-24T03:07:05.485Z] Running ssh-add (command line suppressed) [2021-05-24T03:07:05.587Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_5765919050475348225.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_5765919050475348225.key) [2021-05-24T03:07:05.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-24T03:07:05.907Z] + git tag --points-at HEAD [Pipeline] } [2021-05-24T03:07:05.924Z] $ docker exec --env ******** --env ******** ab33fe1e0ed187e90a303a77da33602d7c7fc67b282f34a6498788fe2a8e4059 ssh-agent -k [2021-05-24T03:07:06.016Z] unset SSH_AUTH_SOCK; [2021-05-24T03:07:06.017Z] unset SSH_AGENT_PID; [2021-05-24T03:07:06.017Z] echo Agent pid 19 killed; [2021-05-24T03:07:06.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-24T03:07:06.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-24T03:07:06.068Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-24T03:07:06.178Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-24T03:07:06.183Z] $ docker exec ab33fe1e0ed187e90a303a77da33602d7c7fc67b282f34a6498788fe2a8e4059 ssh-agent [2021-05-24T03:07:06.292Z] SSH_AUTH_SOCK=/tmp/ssh-X73qSsV4mhlF/agent.54 [2021-05-24T03:07:06.292Z] SSH_AGENT_PID=60 [2021-05-24T03:07:06.297Z] Running ssh-add (command line suppressed) [2021-05-24T03:07:06.392Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_5331271736762613042.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_5331271736762613042.key) [2021-05-24T03:07:06.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-24T03:07:06.718Z] + git semver init [2021-05-24T03:07:06.718Z] # -> Open(): unable to determine branch for HEAD [2021-05-24T03:07:06.718Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.git [2021-05-24T03:07:06.718Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-24T03:07:06.718Z] # $SEMVER_REMOTE_NAME = origin [2021-05-24T03:07:06.718Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-24T03:07:06.718Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-24T03:07:06.718Z] # $SEMVER_BRANCH = PR-934 [2021-05-24T03:07:06.718Z] # $SEMVER_TEMP = /tmp/semver-641169847 [2021-05-24T03:07:06.718Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-24T03:07:07.295Z] # '/tmp/semver-641169847' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver' [2021-05-24T03:07:07.295Z] # -> Force: false [2021-05-24T03:07:07.295Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver [Pipeline] } [2021-05-24T03:07:07.308Z] $ docker exec --env ******** --env ******** ab33fe1e0ed187e90a303a77da33602d7c7fc67b282f34a6498788fe2a8e4059 ssh-agent -k [2021-05-24T03:07:07.417Z] unset SSH_AUTH_SOCK; [2021-05-24T03:07:07.417Z] unset SSH_AGENT_PID; [2021-05-24T03:07:07.417Z] echo Agent pid 60 killed; [2021-05-24T03:07:07.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-24T03:07:07.772Z] + git semver [Pipeline] } [2021-05-24T03:07:07.789Z] $ docker stop --time=1 ab33fe1e0ed187e90a303a77da33602d7c7fc67b282f34a6498788fe2a8e4059 [2021-05-24T03:07:10.190Z] $ docker rm -f ab33fe1e0ed187e90a303a77da33602d7c7fc67b282f34a6498788fe2a8e4059 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T03:07:10.559Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-24T03:07:10.840Z] Stashed 1 file(s) [Pipeline] echo [2021-05-24T03:07:10.844Z] [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-24T03:07:26.188Z] Still waiting to schedule task [2021-05-24T03:07:26.188Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-24T03:07:26.191Z] Still waiting to schedule task [2021-05-24T03:07:26.192Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15719’ [2021-05-24T03:11:10.267Z] Running on prd-centos7-docker-4c-2g-15724 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-24T03:11:10.291Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-05-24T03:11:10.420Z] Selected Git installation does not exist. Using Default [2021-05-24T03:11:10.420Z] The recommended git tool is: NONE [2021-05-24T03:11:12.724Z] using credential edgex-jenkins-ssh [2021-05-24T03:11:12.737Z] Cloning the remote Git repository [2021-05-24T03:11:12.761Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-24T03:11:12.848Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-05-24T03:11:12.873Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-24T03:11:12.873Z] > git --version # timeout=10 [2021-05-24T03:11:12.885Z] > git --version # 'git version 2.24.4' [2021-05-24T03:11:12.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T03:11:12.907Z] [INFO] Currently running in a labeled security context [2021-05-24T03:11:12.907Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T03:11:12.907Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh7312860242262448317.key [2021-05-24T03:11:12.943Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T03:11:13.681Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-24T03:11:13.691Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T03:11:13.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-24T03:11:13.719Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-24T03:11:13.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T03:11:13.720Z] [INFO] Currently running in a labeled security context [2021-05-24T03:11:13.720Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T03:11:13.720Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh2648387944276639886.key [2021-05-24T03:11:13.732Z] > 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-24T03:11:14.204Z] Merging remotes/origin/master commit 282de78a903b796f3af5fb18192a6c185f982102 into PR head commit c63e1bdba210095a262356401bcd17d9f19abb84 [2021-05-24T03:11:16.358Z] Merge succeeded, producing 222fa608df223d166f0faabaaee2e815897c6735 [2021-05-24T03:11:16.359Z] Checking out Revision 222fa608df223d166f0faabaaee2e815897c6735 (PR-934) [2021-05-24T03:11:16.261Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T03:11:16.274Z] > git checkout -f c63e1bdba210095a262356401bcd17d9f19abb84 # timeout=10 [2021-05-24T03:11:16.312Z] > git remote # timeout=10 [2021-05-24T03:11:16.316Z] > git config --get remote.origin.url # timeout=10 [2021-05-24T03:11:16.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T03:11:16.321Z] [INFO] Currently running in a labeled security context [2021-05-24T03:11:16.321Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T03:11:16.322Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh5275856886960657955.key [2021-05-24T03:11:16.330Z] > git merge 282de78a903b796f3af5fb18192a6c185f982102 # timeout=10 [2021-05-24T03:11:16.349Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-24T03:11:16.362Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T03:11:16.368Z] > git checkout -f 222fa608df223d166f0faabaaee2e815897c6735 # timeout=10 [2021-05-24T03:11:19.981Z] Commit message: "Merge commit '282de78a903b796f3af5fb18192a6c185f982102' into HEAD" [2021-05-24T03:11:19.990Z] First time build. Skipping changelog. [2021-05-24T03:11:19.985Z] > git rev-list --no-walk dee0a5dbba48f9d9d8bbe9b40a427952e64b1b7b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T03:11:21.057Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-24T03:11:21.384Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-24T03:11:21.683Z] + true [2021-05-24T03:11:21.683Z] + sudo service docker restart [2021-05-24T03:11:21.683Z] Redirecting to /bin/systemctl restart docker.service [2021-05-24T03:11:32.626Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15725 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-24T03:11:32.646Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-05-24T03:11:32.896Z] Selected Git installation does not exist. Using Default [2021-05-24T03:11:32.896Z] The recommended git tool is: NONE [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T03:11:40.906Z] provisioning config files... [2021-05-24T03:11:40.922Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config5022996700735552568tmp [Pipeline] { [2021-05-24T03:11:40.936Z] using credential edgex-jenkins-ssh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T03:11:40.964Z] Cloning the remote Git repository [2021-05-24T03:11:41.247Z] ---> docker-login.sh [2021-05-24T03:11:41.247Z] nexus3.edgexfoundry.org:10001 [2021-05-24T03:11:41.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:11:41.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:11:41.509Z] Configure a credential helper to remove this warning. See [2021-05-24T03:11:41.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:11:41.509Z] [2021-05-24T03:11:41.509Z] Login Succeeded [2021-05-24T03:11:41.509Z] nexus3.edgexfoundry.org:10002 [2021-05-24T03:11:41.078Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-24T03:11:41.192Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-05-24T03:11:41.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-24T03:11:41.270Z] > git --version # timeout=10 [2021-05-24T03:11:41.296Z] > git --version # 'git version 2.17.1' [2021-05-24T03:11:41.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T03:11:41.390Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T03:11:41.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:11:41.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:11:41.772Z] Configure a credential helper to remove this warning. See [2021-05-24T03:11:41.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:11:41.772Z] [2021-05-24T03:11:41.772Z] Login Succeeded [2021-05-24T03:11:41.772Z] nexus3.edgexfoundry.org:10003 [2021-05-24T03:11:41.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:11:42.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:11:42.039Z] Configure a credential helper to remove this warning. See [2021-05-24T03:11:42.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:11:42.039Z] [2021-05-24T03:11:42.039Z] Login Succeeded [2021-05-24T03:11:42.039Z] nexus3.edgexfoundry.org:10004 [2021-05-24T03:11:42.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:11:42.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:11:42.039Z] Configure a credential helper to remove this warning. See [2021-05-24T03:11:42.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:11:42.039Z] [2021-05-24T03:11:42.039Z] Login Succeeded [2021-05-24T03:11:42.039Z] docker.io [2021-05-24T03:11:42.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:11:42.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:11:42.572Z] Configure a credential helper to remove this warning. See [2021-05-24T03:11:42.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:11:42.572Z] [2021-05-24T03:11:42.572Z] Login Succeeded [2021-05-24T03:11:42.572Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T03:11:42.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-24T03:11:42.776Z] ========================================================= [2021-05-24T03:11:42.776Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-24T03:11:42.776Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:11:42.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-24T03:11:42.639Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T03:11:42.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-24T03:11:42.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-24T03:11:42.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T03:11:42.733Z] > 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-24T03:11:43.090Z] + 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-24T03:11:43.090Z] Sending build context to Docker daemon 2.607MB [2021-05-24T03:11:43.090Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T03:11:43.090Z] Step 2/8 : FROM ${BASE} [2021-05-24T03:11:43.369Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-24T03:11:43.369Z] 540db60ca938: Pulling fs layer [2021-05-24T03:11:43.369Z] adcc1eea9eea: Pulling fs layer [2021-05-24T03:11:43.369Z] 4c4ab2625f07: Pulling fs layer [2021-05-24T03:11:43.369Z] 0510c868ecb4: Pulling fs layer [2021-05-24T03:11:43.369Z] afea3b2eda06: Pulling fs layer [2021-05-24T03:11:43.369Z] 7809a108b3ef: Pulling fs layer [2021-05-24T03:11:43.369Z] f706445af74f: Pulling fs layer [2021-05-24T03:11:43.369Z] 0510c868ecb4: Waiting [2021-05-24T03:11:43.369Z] afea3b2eda06: Waiting [2021-05-24T03:11:43.369Z] 7809a108b3ef: Waiting [2021-05-24T03:11:43.369Z] f706445af74f: Waiting [2021-05-24T03:11:43.369Z] 4c4ab2625f07: Verifying Checksum [2021-05-24T03:11:43.369Z] 4c4ab2625f07: Download complete [2021-05-24T03:11:43.369Z] adcc1eea9eea: Verifying Checksum [2021-05-24T03:11:43.369Z] adcc1eea9eea: Download complete [2021-05-24T03:11:43.369Z] afea3b2eda06: Verifying Checksum [2021-05-24T03:11:43.369Z] afea3b2eda06: Download complete [2021-05-24T03:11:43.369Z] 7809a108b3ef: Verifying Checksum [2021-05-24T03:11:43.369Z] 7809a108b3ef: Download complete [2021-05-24T03:11:43.369Z] 540db60ca938: Verifying Checksum [2021-05-24T03:11:43.369Z] 540db60ca938: Download complete [2021-05-24T03:11:43.378Z] Merging remotes/origin/master commit 282de78a903b796f3af5fb18192a6c185f982102 into PR head commit c63e1bdba210095a262356401bcd17d9f19abb84 [2021-05-24T03:11:43.635Z] 540db60ca938: Pull complete [2021-05-24T03:11:43.635Z] adcc1eea9eea: Pull complete [2021-05-24T03:11:43.658Z] Merge succeeded, producing 2e9676a4df056de5262d6604f2cb9d4a59ba4561 [2021-05-24T03:11:43.658Z] Checking out Revision 2e9676a4df056de5262d6604f2cb9d4a59ba4561 (PR-934) [2021-05-24T03:11:43.896Z] 4c4ab2625f07: Pull complete [2021-05-24T03:11:43.409Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T03:11:43.436Z] > git checkout -f c63e1bdba210095a262356401bcd17d9f19abb84 # timeout=10 [2021-05-24T03:11:43.532Z] > git remote # timeout=10 [2021-05-24T03:11:43.548Z] > git config --get remote.origin.url # timeout=10 [2021-05-24T03:11:43.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T03:11:43.571Z] > git merge 282de78a903b796f3af5fb18192a6c185f982102 # timeout=10 [2021-05-24T03:11:43.654Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-24T03:11:43.676Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T03:11:43.687Z] > git checkout -f 2e9676a4df056de5262d6604f2cb9d4a59ba4561 # timeout=10 [2021-05-24T03:11:45.816Z] f706445af74f: Verifying Checksum [2021-05-24T03:11:45.816Z] f706445af74f: Download complete [2021-05-24T03:11:46.088Z] 0510c868ecb4: Verifying Checksum [2021-05-24T03:11:46.088Z] 0510c868ecb4: Download complete [2021-05-24T03:11:47.854Z] Commit message: "Merge commit '282de78a903b796f3af5fb18192a6c185f982102' into HEAD" [2021-05-24T03:11:47.882Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T03:11:47.874Z] > git rev-list --no-walk dee0a5dbba48f9d9d8bbe9b40a427952e64b1b7b # timeout=10 [2021-05-24T03:11:50.390Z] 0510c868ecb4: Pull complete [2021-05-24T03:11:50.391Z] afea3b2eda06: Pull complete [2021-05-24T03:11:50.391Z] 7809a108b3ef: Pull complete [2021-05-24T03:11:50.983Z] f706445af74f: Pull complete [2021-05-24T03:11:50.983Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-24T03:11:51.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-24T03:11:51.244Z] ---> b068be0155e3 [2021-05-24T03:11:51.244Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-24T03:11:51.316Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-24T03:11:51.754Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-24T03:11:52.094Z] + true [2021-05-24T03:11:52.094Z] + sudo service docker restart [2021-05-24T03:12:03.687Z] ---> Running in 0e014827fadb [2021-05-24T03:12:03.687Z] Removing intermediate container 0e014827fadb [2021-05-24T03:12:03.687Z] ---> 1b1a6db33d88 [2021-05-24T03:12:03.687Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T03:12:03.687Z] ---> Running in d35c4cf14b0d [2021-05-24T03:12:03.687Z] Removing intermediate container d35c4cf14b0d [2021-05-24T03:12:03.687Z] ---> cacc6ec9276b [2021-05-24T03:12:03.687Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-24T03:12:03.687Z] ---> Running in ecf3c4b74554 [2021-05-24T03:12:03.687Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-24T03:12:03.687Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-24T03:12:04.260Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-24T03:12:04.260Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-24T03:12:04.260Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-24T03:12:04.521Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-24T03:12:04.521Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-24T03:12:04.521Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-24T03:12:04.783Z] Executing busybox-1.32.1-r6.trigger [2021-05-24T03:12:04.783Z] OK: 150 MiB in 46 packages [2021-05-24T03:12:05.046Z] Removing intermediate container ecf3c4b74554 [2021-05-24T03:12:05.046Z] ---> 998a02e7fad6 [2021-05-24T03:12:05.046Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-24T03:12:05.309Z] ---> Running in 45c98fed3e8d [2021-05-24T03:12:05.309Z] Removing intermediate container 45c98fed3e8d [2021-05-24T03:12:05.309Z] ---> 41f4f6427233 [2021-05-24T03:12:05.309Z] Step 7/8 : COPY . . [2021-05-24T03:12:06.254Z] ---> 5b891c7c284b [2021-05-24T03:12:06.254Z] Step 8/8 : RUN go mod download [2021-05-24T03:12:06.254Z] ---> Running in 37107e33d220 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T03:12:11.892Z] provisioning config files... [2021-05-24T03:12:11.917Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config2116745997596973262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T03:12:12.302Z] ---> docker-login.sh [2021-05-24T03:12:12.302Z] nexus3.edgexfoundry.org:10001 [2021-05-24T03:12:13.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:12:13.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:12:13.562Z] Configure a credential helper to remove this warning. See [2021-05-24T03:12:13.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:12:13.562Z] [2021-05-24T03:12:13.562Z] Login Succeeded [2021-05-24T03:12:13.562Z] nexus3.edgexfoundry.org:10002 [2021-05-24T03:12:13.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:12:14.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:12:14.120Z] Configure a credential helper to remove this warning. See [2021-05-24T03:12:14.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:12:14.120Z] [2021-05-24T03:12:14.120Z] Login Succeeded [2021-05-24T03:12:14.120Z] nexus3.edgexfoundry.org:10003 [2021-05-24T03:12:14.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:12:14.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:12:14.679Z] Configure a credential helper to remove this warning. See [2021-05-24T03:12:14.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:12:14.679Z] [2021-05-24T03:12:14.679Z] Login Succeeded [2021-05-24T03:12:14.679Z] nexus3.edgexfoundry.org:10004 [2021-05-24T03:12:14.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:12:15.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:12:15.232Z] Configure a credential helper to remove this warning. See [2021-05-24T03:12:15.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:12:15.232Z] [2021-05-24T03:12:15.232Z] Login Succeeded [2021-05-24T03:12:15.232Z] docker.io [2021-05-24T03:12:15.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T03:12:15.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T03:12:15.778Z] Configure a credential helper to remove this warning. See [2021-05-24T03:12:15.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T03:12:15.778Z] [2021-05-24T03:12:15.778Z] Login Succeeded [2021-05-24T03:12:15.778Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T03:12:15.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-24T03:12:16.103Z] ========================================================= [2021-05-24T03:12:16.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-24T03:12:16.103Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:12:16.445Z] + 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-24T03:12:17.045Z] Sending build context to Docker daemon 2.606MB [2021-05-24T03:12:17.045Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T03:12:17.045Z] Step 2/8 : FROM ${BASE} [2021-05-24T03:12:17.046Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-24T03:12:17.046Z] 595b0fe564bb: Pulling fs layer [2021-05-24T03:12:17.046Z] 7186ed65a4f7: Pulling fs layer [2021-05-24T03:12:17.046Z] 316046926c0a: Pulling fs layer [2021-05-24T03:12:17.046Z] 4ebd0625c992: Pulling fs layer [2021-05-24T03:12:17.046Z] 207e8628e3a3: Pulling fs layer [2021-05-24T03:12:17.046Z] c791037a9be2: Pulling fs layer [2021-05-24T03:12:17.046Z] ffd874e62e21: Pulling fs layer [2021-05-24T03:12:17.046Z] 207e8628e3a3: Waiting [2021-05-24T03:12:17.046Z] c791037a9be2: Waiting [2021-05-24T03:12:17.046Z] ffd874e62e21: Waiting [2021-05-24T03:12:17.046Z] 4ebd0625c992: Waiting [2021-05-24T03:12:17.046Z] 316046926c0a: Download complete [2021-05-24T03:12:17.318Z] 7186ed65a4f7: Verifying Checksum [2021-05-24T03:12:17.318Z] 7186ed65a4f7: Download complete [2021-05-24T03:12:17.318Z] 207e8628e3a3: Download complete [2021-05-24T03:12:17.318Z] 595b0fe564bb: Verifying Checksum [2021-05-24T03:12:17.318Z] c791037a9be2: Verifying Checksum [2021-05-24T03:12:17.318Z] c791037a9be2: Download complete [2021-05-24T03:12:17.935Z] 595b0fe564bb: Pull complete [2021-05-24T03:12:18.537Z] 7186ed65a4f7: Pull complete [2021-05-24T03:12:19.157Z] 316046926c0a: Pull complete [2021-05-24T03:12:19.435Z] ffd874e62e21: Verifying Checksum [2021-05-24T03:12:19.435Z] ffd874e62e21: Download complete [2021-05-24T03:12:20.877Z] 4ebd0625c992: Download complete [2021-05-24T03:12:28.232Z] Removing intermediate container 37107e33d220 [2021-05-24T03:12:28.232Z] ---> 2580d58362a6 [2021-05-24T03:12:28.232Z] Successfully built 2580d58362a6 [2021-05-24T03:12:28.232Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:12:28.542Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-24T03:12:28.542Z] . [Pipeline] withDockerContainer [2021-05-24T03:12:28.641Z] prd-centos7-docker-4c-2g-15724 does not seem to be running inside a container [2021-05-24T03:12:28.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-x86_64 cat [2021-05-24T03:12:29.861Z] $ docker top 61f15c8668d821c906503bf6ca8b85d30c3314d7d62dd5e2d3757926141a61be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T03:12:30.253Z] + go version [2021-05-24T03:12:30.253Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-24T03:12:30.265Z] $ docker stop --time=1 61f15c8668d821c906503bf6ca8b85d30c3314d7d62dd5e2d3757926141a61be [2021-05-24T03:12:31.057Z] 4ebd0625c992: Pull complete [2021-05-24T03:12:31.331Z] 207e8628e3a3: Pull complete [2021-05-24T03:12:31.596Z] $ docker rm -f 61f15c8668d821c906503bf6ca8b85d30c3314d7d62dd5e2d3757926141a61be [2021-05-24T03:12:31.607Z] c791037a9be2: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:12:32.226Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-24T03:12:32.227Z] . [Pipeline] withDockerContainer [2021-05-24T03:12:34.274Z] prd-centos7-docker-4c-2g-15724 does not seem to be running inside a container [2021-05-24T03:12:34.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-x86_64 cat [2021-05-24T03:12:34.808Z] $ docker top 6ee7cac4acc8b16418c4e381ca4bec50523d152e105bd7126aeeafa9396062ae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T03:12:35.209Z] + go mod tidy [2021-05-24T03:12:35.222Z] ffd874e62e21: Pull complete [2021-05-24T03:12:35.222Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-24T03:12:35.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-24T03:12:35.222Z] ---> cfc18b08335c [2021-05-24T03:12:35.222Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] sh [2021-05-24T03:12:35.773Z] + make test [2021-05-24T03:12:35.773Z] go mod tidy [2021-05-24T03:12:36.035Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-24T03:12:37.192Z] ---> Running in b9707a2d6291 [2021-05-24T03:12:37.792Z] Removing intermediate container b9707a2d6291 [2021-05-24T03:12:37.792Z] ---> 002ca7a335b1 [2021-05-24T03:12:37.792Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T03:12:37.792Z] ---> Running in b49af460a8c9 [2021-05-24T03:12:40.476Z] Removing intermediate container b49af460a8c9 [2021-05-24T03:12:40.476Z] ---> 35f47a941c75 [2021-05-24T03:12:40.476Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-24T03:12:40.476Z] ---> Running in d16590a21dc2 [2021-05-24T03:12:41.399Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-24T03:12:41.913Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-24T03:12:42.516Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-24T03:12:43.493Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-24T03:12:43.493Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-24T03:12:43.493Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-24T03:12:43.493Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-24T03:12:43.770Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-24T03:12:43.770Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-24T03:12:43.770Z] Executing busybox-1.32.1-r6.trigger [2021-05-24T03:12:43.770Z] OK: 139 MiB in 46 packages [2021-05-24T03:12:45.207Z] Removing intermediate container d16590a21dc2 [2021-05-24T03:12:45.207Z] ---> d5c6f1902813 [2021-05-24T03:12:45.207Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-24T03:12:45.207Z] ---> Running in 9ff4cf257d65 [2021-05-24T03:12:45.803Z] Removing intermediate container 9ff4cf257d65 [2021-05-24T03:12:45.803Z] ---> b62c510e628e [2021-05-24T03:12:45.803Z] Step 7/8 : COPY . . [2021-05-24T03:12:47.240Z] ---> 2912b8efc3aa [2021-05-24T03:12:47.240Z] Step 8/8 : RUN go mod download [2021-05-24T03:12:47.240Z] ---> Running in 43a246334370 [2021-05-24T03:13:03.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-24T03:13:03.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-24T03:13:03.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-24T03:13:06.840Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.050s coverage: 25.4% of statements [2021-05-24T03:13:06.840Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-24T03:13:06.840Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements [2021-05-24T03:13:07.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2021-05-24T03:13:07.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2021-05-24T03:13:07.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-24T03:13:07.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-24T03:13:07.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-24T03:13:07.732Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 30.2% of statements [2021-05-24T03:13:07.732Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-24T03:13:09.147Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 83.3% of statements [2021-05-24T03:13:09.147Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-24T03:13:09.147Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-24T03:13:09.147Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 58.0% of statements [2021-05-24T03:13:10.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.816s coverage: 89.2% of statements [2021-05-24T03:13:10.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-24T03:13:10.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements [2021-05-24T03:13:10.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-24T03:13:10.152Z] GO111MODULE=on go vet ./... [2021-05-24T03:13:14.043Z] Removing intermediate container 43a246334370 [2021-05-24T03:13:14.043Z] ---> 8ee994346221 [2021-05-24T03:13:14.043Z] Successfully built 8ee994346221 [2021-05-24T03:13:14.043Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:13:14.392Z] + docker inspect -f . ci-base-image-arm64 [2021-05-24T03:13:14.392Z] . [Pipeline] withDockerContainer [2021-05-24T03:13:14.643Z] prd-ubuntu18.04-docker-arm64-4c-16g-15725 does not seem to be running inside a container [2021-05-24T03:13:14.736Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-24T03:13:16.324Z] $ docker top 88ed8b6a7d4248116bbfbdff22dd84a1f05220d9cfd19222e757eb8fcaf19384 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T03:13:17.308Z] + go version [2021-05-24T03:13:17.308Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-24T03:13:17.335Z] $ docker stop --time=1 88ed8b6a7d4248116bbfbdff22dd84a1f05220d9cfd19222e757eb8fcaf19384 [2021-05-24T03:13:19.197Z] $ docker rm -f 88ed8b6a7d4248116bbfbdff22dd84a1f05220d9cfd19222e757eb8fcaf19384 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:13:19.950Z] + docker inspect -f . ci-base-image-arm64 [2021-05-24T03:13:19.950Z] . [Pipeline] withDockerContainer [2021-05-24T03:13:20.210Z] prd-ubuntu18.04-docker-arm64-4c-16g-15725 does not seem to be running inside a container [2021-05-24T03:13:20.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-24T03:13:21.926Z] $ docker top 727294a61d1b94b73d43e9998087a72b418165db81b5286d0ba74d2ef0ccdd24 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T03:13:22.898Z] + go mod tidy [Pipeline] sh [2021-05-24T03:13:24.162Z] + make test [2021-05-24T03:13:24.162Z] go mod tidy [2021-05-24T03:13:24.764Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-24T03:13:28.334Z] gofmt -l . [2021-05-24T03:13:28.334Z] [ "`gofmt -l .`" = "" ] [2021-05-24T03:13:28.334Z] ./bin/test-attribution-txt.sh [2021-05-24T03:13:28.594Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-24T03:13:28.872Z] $ docker stop --time=1 6ee7cac4acc8b16418c4e381ca4bec50523d152e105bd7126aeeafa9396062ae [2021-05-24T03:13:31.122Z] $ docker rm -f 6ee7cac4acc8b16418c4e381ca4bec50523d152e105bd7126aeeafa9396062ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T03:13:31.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-24T03:13:31.820Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-24T03:13:43.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-24T03:13:44.216Z] + ls -al . [2021-05-24T03:13:44.216Z] total 212 [2021-05-24T03:13:44.216Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 24 03:13 . [2021-05-24T03:13:44.216Z] drwxrwxr-x. 4 jenkins jenkins 28 May 24 03:11 .. [2021-05-24T03:13:44.216Z] drwxrwxr-x. 2 jenkins jenkins 64 May 24 03:11 bin [2021-05-24T03:13:44.216Z] -rw-r--r--. 1 jenkins jenkins 126353 May 24 03:13 coverage.out [2021-05-24T03:13:44.216Z] -rw-rw-r--. 1 jenkins jenkins 987 May 24 03:11 Dockerfile.build [2021-05-24T03:13:44.216Z] -rw-rw-r--. 1 jenkins jenkins 140 May 24 03:11 .dockerignore [2021-05-24T03:13:44.216Z] drwxrwxr-x. 5 jenkins jenkins 62 May 24 03:11 example [2021-05-24T03:13:44.216Z] drwxrwxr-x. 8 jenkins jenkins 179 May 24 03:11 .git [2021-05-24T03:13:44.216Z] drwxrwxr-x. 2 jenkins jenkins 103 May 24 03:11 .github [2021-05-24T03:13:44.216Z] -rw-rw-r--. 1 jenkins jenkins 138 May 24 03:11 .gitignore [2021-05-24T03:13:44.216Z] -rw-r--r--. 1 jenkins jenkins 575 May 24 03:13 go.mod [2021-05-24T03:13:44.216Z] -rw-r--r--. 1 jenkins jenkins 20803 May 24 03:12 go.sum [2021-05-24T03:13:44.216Z] drwxrwxr-x. 15 jenkins jenkins 224 May 24 03:11 internal [2021-05-24T03:13:44.216Z] -rw-rw-r--. 1 jenkins jenkins 894 May 24 03:11 Jenkinsfile [2021-05-24T03:13:44.216Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 24 03:11 LICENSE [2021-05-24T03:13:44.216Z] -rw-rw-r--. 1 jenkins jenkins 1026 May 24 03:11 Makefile [2021-05-24T03:13:44.216Z] drwxrwxr-x. 4 jenkins jenkins 26 May 24 03:11 openapi [2021-05-24T03:13:44.216Z] drwxrwxr-x. 5 jenkins jenkins 50 May 24 03:11 pkg [2021-05-24T03:13:44.216Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 24 03:11 README.md [2021-05-24T03:13:44.216Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 24 03:11 RELEASE-NOTES.txt [2021-05-24T03:13:44.216Z] drwxrwxr-x. 4 jenkins jenkins 54 May 24 03:11 snap [2021-05-24T03:13:44.216Z] -rw-rw-r--. 1 jenkins jenkins 5 May 24 03:07 VERSION [2021-05-24T03:13:44.216Z] -rw-rw-r--. 1 jenkins jenkins 222 May 24 03:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:13:44.517Z] + 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=222fa608df223d166f0faabaaee2e815897c6735 --label arch=amd64 --label version=0.0.0 . [2021-05-24T03:13:44.517Z] Sending build context to Docker daemon 2.734MB [2021-05-24T03:13:44.517Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T03:13:44.517Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-24T03:13:44.517Z] ---> 2580d58362a6 [2021-05-24T03:13:44.517Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-24T03:13:44.778Z] ---> Running in f78151b5e113 [2021-05-24T03:13:44.778Z] Removing intermediate container f78151b5e113 [2021-05-24T03:13:44.778Z] ---> b8829afb9aff [2021-05-24T03:13:44.778Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-24T03:13:44.778Z] ---> Running in fe3a4170a57b [2021-05-24T03:13:45.044Z] Removing intermediate container fe3a4170a57b [2021-05-24T03:13:45.044Z] ---> 869b0a79e331 [2021-05-24T03:13:45.044Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T03:13:45.044Z] ---> Running in 7449211ad11e [2021-05-24T03:13:45.618Z] Removing intermediate container 7449211ad11e [2021-05-24T03:13:45.618Z] ---> b3a2f95707f2 [2021-05-24T03:13:45.618Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-24T03:13:45.618Z] ---> Running in ef233d8ca8e2 [2021-05-24T03:13:45.880Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-24T03:13:46.824Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-24T03:13:47.401Z] OK: 150 MiB in 46 packages [2021-05-24T03:13:47.401Z] Removing intermediate container ef233d8ca8e2 [2021-05-24T03:13:47.401Z] ---> ac0f6453dd53 [2021-05-24T03:13:47.401Z] Step 7/23 : COPY . . [2021-05-24T03:13:47.662Z] ---> a41a406a16a0 [2021-05-24T03:13:47.662Z] Step 8/23 : RUN go mod download [2021-05-24T03:13:47.662Z] ---> Running in b29a721343e7 [2021-05-24T03:13:48.612Z] Removing intermediate container b29a721343e7 [2021-05-24T03:13:48.612Z] ---> 818b2b9db7ca [2021-05-24T03:13:48.612Z] Step 9/23 : RUN make build [2021-05-24T03:13:48.612Z] ---> Running in cfd2127f15ed [2021-05-24T03:13:48.877Z] go mod tidy [2021-05-24T03:13:49.148Z] 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-24T03:13:49.329Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-24T03:13:59.253Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-24T03:14:00.652Z] Removing intermediate container cfd2127f15ed [2021-05-24T03:14:00.652Z] ---> 2ce1e2a622d2 [2021-05-24T03:14:00.652Z] Step 10/23 : FROM alpine:3.12 [2021-05-24T03:14:01.226Z] 3.12: Pulling from library/alpine [2021-05-24T03:14:01.494Z] 339de151aab4: Pulling fs layer [2021-05-24T03:14:01.757Z] 339de151aab4: Verifying Checksum [2021-05-24T03:14:01.757Z] 339de151aab4: Download complete [2021-05-24T03:14:01.757Z] 339de151aab4: Pull complete [2021-05-24T03:14:02.020Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-24T03:14:02.020Z] Status: Downloaded newer image for alpine:3.12 [2021-05-24T03:14:02.021Z] ---> 13621d1b12d4 [2021-05-24T03:14:02.021Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-24T03:14:02.021Z] ---> Running in e4b8e58ad911 [2021-05-24T03:14:02.281Z] Removing intermediate container e4b8e58ad911 [2021-05-24T03:14:02.281Z] ---> 738f870227e5 [2021-05-24T03:14:02.281Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T03:14:02.281Z] ---> Running in 5fc6066f9567 [2021-05-24T03:14:02.857Z] Removing intermediate container 5fc6066f9567 [2021-05-24T03:14:02.857Z] ---> a24b641039f7 [2021-05-24T03:14:02.857Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-24T03:14:02.857Z] ---> Running in cfb674f593b8 [2021-05-24T03:14:03.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-24T03:14:03.691Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-24T03:14:04.266Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-24T03:14:04.266Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-24T03:14:04.266Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-24T03:14:05.214Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-24T03:14:05.214Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-24T03:14:05.478Z] Executing busybox-1.31.1-r20.trigger [2021-05-24T03:14:05.478Z] OK: 8 MiB in 19 packages [2021-05-24T03:14:05.740Z] Removing intermediate container cfb674f593b8 [2021-05-24T03:14:05.740Z] ---> 5319fed53be4 [2021-05-24T03:14:05.740Z] Step 14/23 : WORKDIR / [2021-05-24T03:14:05.740Z] ---> Running in 59fb48e5052c [2021-05-24T03:14:05.740Z] Removing intermediate container 59fb48e5052c [2021-05-24T03:14:05.740Z] ---> a37e0267bf28 [2021-05-24T03:14:05.740Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-24T03:14:06.008Z] ---> ec365b780089 [2021-05-24T03:14:06.008Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-24T03:14:06.585Z] ---> 4545db4fa337 [2021-05-24T03:14:06.585Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-24T03:14:06.585Z] ---> e8c192ec1d2d [2021-05-24T03:14:06.585Z] Step 18/23 : EXPOSE 59999 [2021-05-24T03:14:06.846Z] ---> Running in 9f8592f8dc8e [2021-05-24T03:14:06.846Z] Removing intermediate container 9f8592f8dc8e [2021-05-24T03:14:06.846Z] ---> ebce1d1dd123 [2021-05-24T03:14:06.846Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-24T03:14:06.846Z] ---> Running in 0626f16647bd [2021-05-24T03:14:06.846Z] Removing intermediate container 0626f16647bd [2021-05-24T03:14:06.846Z] ---> ea25ee5d4430 [2021-05-24T03:14:06.846Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-24T03:14:07.108Z] ---> Running in 0038a389a552 [2021-05-24T03:14:07.108Z] Removing intermediate container 0038a389a552 [2021-05-24T03:14:07.108Z] ---> fa0301f13087 [2021-05-24T03:14:07.108Z] Step 21/23 : LABEL arch=amd64 [2021-05-24T03:14:07.108Z] ---> Running in 3907929f1f1f [2021-05-24T03:14:07.371Z] Removing intermediate container 3907929f1f1f [2021-05-24T03:14:07.371Z] ---> d88016b829ff [2021-05-24T03:14:07.371Z] Step 22/23 : LABEL git_sha=222fa608df223d166f0faabaaee2e815897c6735 [2021-05-24T03:14:07.371Z] ---> Running in 1a44720cf1d2 [2021-05-24T03:14:07.371Z] Removing intermediate container 1a44720cf1d2 [2021-05-24T03:14:07.371Z] ---> b809458c971b [2021-05-24T03:14:07.371Z] Step 23/23 : LABEL version=0.0.0 [2021-05-24T03:14:07.371Z] ---> Running in 0e5def4fce87 [2021-05-24T03:14:07.632Z] Removing intermediate container 0e5def4fce87 [2021-05-24T03:14:07.632Z] ---> 6ea7b507b89b [2021-05-24T03:14:07.632Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-24T03:14:07.632Z] Successfully built 6ea7b507b89b [2021-05-24T03:14:07.632Z] 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-24T03:14:08.394Z] ---> job-cost.sh [2021-05-24T03:14:08.394Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AwuR [2021-05-24T03:14:18.414Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-24T03:14:33.376Z] lf-activate-venv(): INFO: Adding /tmp/venv-AwuR/bin to PATH [2021-05-24T03:14:33.376Z] INFO: No Stack... [2021-05-24T03:14:33.376Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-24T03:14:33.637Z] INFO: Archiving Costs [Pipeline] sh [2021-05-24T03:14:33.937Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2021-05-24T03:14:33.937Z] + cut -d, -f6 [Pipeline] lock [2021-05-24T03:14:33.970Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-7-stack-cost] [2021-05-24T03:14:33.979Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-7-stack-cost] did not exist. Created. [2021-05-24T03:14:33.979Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-24T03:14:34.322Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-24T03:14:34.400Z] Stashed 1 file(s) [Pipeline] } [2021-05-24T03:14:34.411Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-24T03:14:47.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-24T03:14:47.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-24T03:14:47.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-24T03:15:03.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.346s coverage: 25.4% of statements [2021-05-24T03:15:03.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-24T03:15:03.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.242s coverage: 28.1% of statements [2021-05-24T03:15:03.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.225s coverage: 78.9% of statements [2021-05-24T03:15:03.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.224s coverage: 9.0% of statements [2021-05-24T03:15:03.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-24T03:15:03.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-24T03:15:03.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-24T03:15:03.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.284s coverage: 30.2% of statements [2021-05-24T03:15:03.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-24T03:15:03.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.276s coverage: 83.3% of statements [2021-05-24T03:15:03.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-24T03:15:03.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-24T03:15:05.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.444s coverage: 58.0% of statements [2021-05-24T03:15:07.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.364s coverage: 89.2% of statements [2021-05-24T03:15:07.977Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-24T03:15:07.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.192s coverage: 5.0% of statements [2021-05-24T03:15:07.977Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-24T03:15:08.339Z] GO111MODULE=on go vet ./... [2021-05-24T03:16:04.995Z] gofmt -l . [2021-05-24T03:16:04.995Z] [ "`gofmt -l .`" = "" ] [2021-05-24T03:16:04.995Z] ./bin/test-attribution-txt.sh [2021-05-24T03:16:04.995Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-24T03:16:05.020Z] $ docker stop --time=1 727294a61d1b94b73d43e9998087a72b418165db81b5286d0ba74d2ef0ccdd24 [2021-05-24T03:16:07.155Z] $ docker rm -f 727294a61d1b94b73d43e9998087a72b418165db81b5286d0ba74d2ef0ccdd24 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T03:16:08.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-24T03:16:08.234Z] Warning: overwriting stash ‘coverage-report’ [2021-05-24T03:16:08.826Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T03:16:09.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-24T03:16:09.685Z] + ls -al . [2021-05-24T03:16:09.685Z] total 248 [2021-05-24T03:16:09.685Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 03:16 . [2021-05-24T03:16:09.685Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:11 .. [2021-05-24T03:16:09.685Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 03:11 .dockerignore [2021-05-24T03:16:09.685Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 03:11 .git [2021-05-24T03:16:09.685Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 03:11 .github [2021-05-24T03:16:09.685Z] -rw-rw-r-- 1 jenkins jenkins 138 May 24 03:11 .gitignore [2021-05-24T03:16:09.685Z] -rw-rw-r-- 1 jenkins jenkins 987 May 24 03:11 Dockerfile.build [2021-05-24T03:16:09.685Z] -rw-rw-r-- 1 jenkins jenkins 894 May 24 03:11 Jenkinsfile [2021-05-24T03:16:09.685Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 03:11 LICENSE [2021-05-24T03:16:09.685Z] -rw-rw-r-- 1 jenkins jenkins 1026 May 24 03:11 Makefile [2021-05-24T03:16:09.685Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 24 03:11 README.md [2021-05-24T03:16:09.685Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 24 03:11 RELEASE-NOTES.txt [2021-05-24T03:16:09.685Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 03:07 VERSION [2021-05-24T03:16:09.685Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 03:11 bin [2021-05-24T03:16:09.685Z] -rw-r--r-- 1 jenkins jenkins 126353 May 24 03:15 coverage.out [2021-05-24T03:16:09.685Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 03:11 example [2021-05-24T03:16:09.685Z] -rw-r--r-- 1 jenkins jenkins 575 May 24 03:16 go.mod [2021-05-24T03:16:09.685Z] -rw-r--r-- 1 jenkins jenkins 20803 May 24 03:13 go.sum [2021-05-24T03:16:09.685Z] drwxrwxr-x 15 jenkins jenkins 4096 May 24 03:11 internal [2021-05-24T03:16:09.685Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:11 openapi [2021-05-24T03:16:09.685Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 03:11 pkg [2021-05-24T03:16:09.685Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:11 snap [2021-05-24T03:16:09.685Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 03:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:16:10.200Z] + 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=2e9676a4df056de5262d6604f2cb9d4a59ba4561 --label arch=arm64 --label version=0.0.0 . [2021-05-24T03:16:14.952Z] Sending build context to Docker daemon 2.733MB [2021-05-24T03:16:14.952Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T03:16:14.952Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-24T03:16:14.952Z] ---> 8ee994346221 [2021-05-24T03:16:14.952Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-24T03:16:14.952Z] ---> Running in b6de997fcc2d [2021-05-24T03:16:14.952Z] Removing intermediate container b6de997fcc2d [2021-05-24T03:16:14.952Z] ---> 58a7e92dabbd [2021-05-24T03:16:14.952Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-24T03:16:14.952Z] ---> Running in 20041c44b226 [2021-05-24T03:16:14.952Z] Removing intermediate container 20041c44b226 [2021-05-24T03:16:14.952Z] ---> 514c0f5567d2 [2021-05-24T03:16:14.952Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T03:16:14.952Z] ---> Running in 00fd06c4a9ff [2021-05-24T03:16:14.952Z] Removing intermediate container 00fd06c4a9ff [2021-05-24T03:16:14.952Z] ---> 7c14d4f53896 [2021-05-24T03:16:14.952Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-24T03:16:14.952Z] ---> Running in 818800761d2c [2021-05-24T03:16:15.932Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-24T03:16:16.904Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-24T03:16:17.881Z] OK: 139 MiB in 46 packages [2021-05-24T03:16:19.312Z] Removing intermediate container 818800761d2c [2021-05-24T03:16:19.312Z] ---> 66da58fce666 [2021-05-24T03:16:19.312Z] Step 7/23 : COPY . . [2021-05-24T03:16:20.291Z] ---> b2d7b8e95439 [2021-05-24T03:16:20.291Z] Step 8/23 : RUN go mod download [2021-05-24T03:16:20.563Z] ---> Running in e8d5958d9d74 [2021-05-24T03:16:23.194Z] Removing intermediate container e8d5958d9d74 [2021-05-24T03:16:23.194Z] ---> c0881937eabd [2021-05-24T03:16:23.194Z] Step 9/23 : RUN make build [2021-05-24T03:16:23.194Z] ---> Running in 30ce976c9dfc [2021-05-24T03:16:24.174Z] go mod tidy [2021-05-24T03:16:24.774Z] 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-24T03:16:57.139Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-24T03:16:59.106Z] Removing intermediate container 30ce976c9dfc [2021-05-24T03:16:59.106Z] ---> 2f72e805ed77 [2021-05-24T03:16:59.106Z] Step 10/23 : FROM alpine:3.12 [2021-05-24T03:16:59.698Z] 3.12: Pulling from library/alpine [2021-05-24T03:16:59.698Z] d2f70382dc9a: Pulling fs layer [2021-05-24T03:16:59.977Z] d2f70382dc9a: Verifying Checksum [2021-05-24T03:16:59.977Z] d2f70382dc9a: Download complete [2021-05-24T03:17:00.575Z] d2f70382dc9a: Pull complete [2021-05-24T03:17:00.575Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-24T03:17:00.575Z] Status: Downloaded newer image for alpine:3.12 [2021-05-24T03:17:00.575Z] ---> 9852663dfa18 [2021-05-24T03:17:00.575Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-24T03:17:00.848Z] ---> Running in ed138a258df8 [2021-05-24T03:17:01.443Z] Removing intermediate container ed138a258df8 [2021-05-24T03:17:01.443Z] ---> a516a337838f [2021-05-24T03:17:01.443Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T03:17:01.443Z] ---> Running in 6e4206fbd743 [2021-05-24T03:17:03.414Z] Removing intermediate container 6e4206fbd743 [2021-05-24T03:17:03.414Z] ---> 49f3eac7e495 [2021-05-24T03:17:03.414Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-24T03:17:03.686Z] ---> Running in 71ef2532a076 [2021-05-24T03:17:04.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-24T03:17:05.640Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-24T03:17:06.234Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-24T03:17:06.234Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-24T03:17:06.234Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-24T03:17:06.504Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-24T03:17:06.775Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-24T03:17:06.775Z] Executing busybox-1.31.1-r20.trigger [2021-05-24T03:17:06.775Z] OK: 8 MiB in 19 packages [2021-05-24T03:17:08.206Z] Removing intermediate container 71ef2532a076 [2021-05-24T03:17:08.206Z] ---> 557bad0b255d [2021-05-24T03:17:08.206Z] Step 14/23 : WORKDIR / [2021-05-24T03:17:08.206Z] ---> Running in 2022f3f10d6a [2021-05-24T03:17:08.801Z] Removing intermediate container 2022f3f10d6a [2021-05-24T03:17:08.801Z] ---> 141c399d95e1 [2021-05-24T03:17:08.801Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-24T03:17:09.396Z] ---> e3438443c13e [2021-05-24T03:17:09.396Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-24T03:17:10.832Z] ---> 0f532c432111 [2021-05-24T03:17:10.832Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-24T03:17:11.810Z] ---> 2ed978af0c0c [2021-05-24T03:17:11.810Z] Step 18/23 : EXPOSE 59999 [2021-05-24T03:17:11.810Z] ---> Running in 57c6a8ea1d32 [2021-05-24T03:17:12.083Z] Removing intermediate container 57c6a8ea1d32 [2021-05-24T03:17:12.084Z] ---> 2c8b1e98528c [2021-05-24T03:17:12.084Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-24T03:17:12.359Z] ---> Running in 4201275ebfd2 [2021-05-24T03:17:12.954Z] Removing intermediate container 4201275ebfd2 [2021-05-24T03:17:12.954Z] ---> 255f06c1b9b9 [2021-05-24T03:17:12.954Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-24T03:17:12.954Z] ---> Running in dd50b8dceda4 [2021-05-24T03:17:13.548Z] Removing intermediate container dd50b8dceda4 [2021-05-24T03:17:13.548Z] ---> 63ddcc4be794 [2021-05-24T03:17:13.548Z] Step 21/23 : LABEL arch=arm64 [2021-05-24T03:17:13.548Z] ---> Running in 0d25d8e425a0 [2021-05-24T03:17:14.142Z] Removing intermediate container 0d25d8e425a0 [2021-05-24T03:17:14.142Z] ---> 1a3f16121062 [2021-05-24T03:17:14.142Z] Step 22/23 : LABEL git_sha=2e9676a4df056de5262d6604f2cb9d4a59ba4561 [2021-05-24T03:17:14.142Z] ---> Running in a337ed55f64f [2021-05-24T03:17:14.736Z] Removing intermediate container a337ed55f64f [2021-05-24T03:17:14.736Z] ---> b4e1beceb319 [2021-05-24T03:17:14.736Z] Step 23/23 : LABEL version=0.0.0 [2021-05-24T03:17:14.736Z] ---> Running in 9c6780b4fd94 [2021-05-24T03:17:15.329Z] Removing intermediate container 9c6780b4fd94 [2021-05-24T03:17:15.329Z] ---> 7dabe54e3281 [2021-05-24T03:17:15.329Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-24T03:17:15.329Z] Successfully built 7dabe54e3281 [2021-05-24T03:17:15.329Z] 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-24T03:17:15.898Z] ---> job-cost.sh [2021-05-24T03:17:15.898Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rdCF [2021-05-24T03:17:56.379Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-24T03:19:18.088Z] lf-activate-venv(): INFO: Adding /tmp/venv-rdCF/bin to PATH [2021-05-24T03:19:18.088Z] INFO: No Stack... [2021-05-24T03:19:18.088Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-24T03:19:18.088Z] INFO: Archiving Costs [Pipeline] sh [2021-05-24T03:19:18.434Z] + + catcut /w/workspace/device-sdk-go/7/archives/cost.csv -d, [2021-05-24T03:19:18.434Z] -f6 [Pipeline] lock [2021-05-24T03:19:18.497Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-7-stack-cost] [2021-05-24T03:19:18.504Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-7-stack-cost] did not exist. Created. [2021-05-24T03:19:18.504Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-24T03:19:18.876Z] /w/workspace/device-sdk-go/7@tmp/durable-4fe819a7/script.sh: 1: /w/workspace/device-sdk-go/7@tmp/durable-4fe819a7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-24T03:19:19.228Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-24T03:19:19.262Z] Warning: overwriting stash ‘stack-cost’ [2021-05-24T03:19:19.416Z] Stashed 1 file(s) [Pipeline] } [2021-05-24T03:19:19.429Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-7-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-24T03:19:22.583Z] provisioning config files... [2021-05-24T03:19:22.595Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config6161051780777242433tmp [Pipeline] { [Pipeline] sh [2021-05-24T03:19:22.910Z] + set +x [2021-05-24T03:19:22.910Z] + curl -s https://codecov.io/bash [2021-05-24T03:19:22.910Z] + bash -s -- [2021-05-24T03:19:22.910Z] [2021-05-24T03:19:22.910Z] _____ _ [2021-05-24T03:19:22.910Z] / ____| | | [2021-05-24T03:19:22.910Z] | | ___ __| | ___ ___ _____ __ [2021-05-24T03:19:22.910Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-24T03:19:22.910Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-24T03:19:22.910Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-24T03:19:22.910Z] Bash-1.0.2 [2021-05-24T03:19:22.910Z] [2021-05-24T03:19:22.910Z] [2021-05-24T03:19:22.910Z] ==> git version 2.24.4 found [2021-05-24T03:19:22.910Z] ==> 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-24T03:19:22.910Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-24T03:19:22.910Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-24T03:19:22.910Z] ==> Jenkins CI detected. [2021-05-24T03:19:22.910Z] project root: . [2021-05-24T03:19:22.910Z] --> token set from env [2021-05-24T03:19:23.175Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-24T03:19:23.175Z] ==> Running gcov in . (disable via -X gcov) [2021-05-24T03:19:23.175Z] ==> Python coveragepy not found [2021-05-24T03:19:23.175Z] ==> Searching for coverage reports in: [2021-05-24T03:19:23.175Z] + . [2021-05-24T03:19:23.175Z] -> Found 1 reports [2021-05-24T03:19:23.175Z] ==> Detecting git/mercurial file structure [2021-05-24T03:19:23.175Z] ==> Reading reports [2021-05-24T03:19:23.175Z] + ./coverage.out bytes=126353 [2021-05-24T03:19:23.175Z] ==> Appending adjustments [2021-05-24T03:19:23.175Z] https://docs.codecov.io/docs/fixing-reports [2021-05-24T03:19:23.436Z] + Found adjustments [2021-05-24T03:19:23.436Z] ==> Gzipping contents [2021-05-24T03:19:23.436Z] 20K /tmp/codecov.i7zPq7.gz [2021-05-24T03:19:23.436Z] ==> Uploading reports [2021-05-24T03:19:23.436Z] url: https://codecov.io [2021-05-24T03:19:23.436Z] query: branch=PR-934&commit=16f1a68bc602a3cefe4215ca69e4c82bf96ed8b0&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-24T03:19:23.436Z] -> Pinging Codecov [2021-05-24T03:19:23.436Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-934&commit=16f1a68bc602a3cefe4215ca69e4c82bf96ed8b0&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-24T03:19:24.008Z] -> Uploading to [2021-05-24T03:19:24.008Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-24/7E55EF52A471D76F132DFD9A03CDDE97/16f1a68bc602a3cefe4215ca69e4c82bf96ed8b0/e98ec3d8-69e8-4944-8521-4f49a4da808a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210524T031923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=004f016fc5de465a3fafaece8919c4c7f92a703855d813a596f2d2336237e9bf [2021-05-24T03:19:24.008Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-24T03:19:24.008Z] Dload Upload Total Spent Left Speed [2021-05-24T03:19:24.269Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16483 0 0 100 16483 0 43820 --:--:-- --:--:-- --:--:-- 43837 [2021-05-24T03:19:24.269Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/16f1a68bc602a3cefe4215ca69e4c82bf96ed8b0 [Pipeline] } [2021-05-24T03:19:24.278Z] 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-24T03:19:27.854Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T03:19:28.429Z] ---> package-listing.sh [2021-05-24T03:19:28.429Z] ++ facter osfamily [2021-05-24T03:19:28.429Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-24T03:19:28.690Z] + OS_FAMILY=redhat [2021-05-24T03:19:28.690Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-24T03:19:28.690Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-24T03:19:28.690Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-24T03:19:28.690Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-24T03:19:28.690Z] + PACKAGES=/tmp/packages_start.txt [2021-05-24T03:19:28.690Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-24T03:19:28.690Z] + PACKAGES=/tmp/packages_end.txt [2021-05-24T03:19:28.690Z] + case "${OS_FAMILY}" in [2021-05-24T03:19:28.690Z] + sort [2021-05-24T03:19:28.690Z] + rpm -qa [2021-05-24T03:19:29.288Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-24T03:19:29.288Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-24T03:19:29.288Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-24T03:19:29.288Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-24T03:19:29.288Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [2021-05-24T03:19:29.288Z] + 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-24T03:19:29.303Z] 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-24T03:19:29.595Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:19:30.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T03:19:30.164Z] [2021-05-24T03:19:30.164Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-24T03:19:30.492Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T03:19:30.754Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-24T03:19:30.754Z] df20fa9351a1: Pulling fs layer [2021-05-24T03:19:30.754Z] 36b3adc4ff6f: Pulling fs layer [2021-05-24T03:19:30.754Z] 8ad3a11d3b57: Pulling fs layer [2021-05-24T03:19:30.754Z] 46f8f816bc3b: Pulling fs layer [2021-05-24T03:19:30.754Z] 93b61091891f: Pulling fs layer [2021-05-24T03:19:30.754Z] 93b9cdb0e59b: Pulling fs layer [2021-05-24T03:19:30.754Z] 5e14af77c1be: Pulling fs layer [2021-05-24T03:19:30.754Z] 01666e4c0597: Pulling fs layer [2021-05-24T03:19:30.754Z] aa168da1d23b: Pulling fs layer [2021-05-24T03:19:30.754Z] 93b9cdb0e59b: Waiting [2021-05-24T03:19:30.754Z] 5e14af77c1be: Waiting [2021-05-24T03:19:30.754Z] 01666e4c0597: Waiting [2021-05-24T03:19:30.754Z] aa168da1d23b: Waiting [2021-05-24T03:19:30.754Z] 46f8f816bc3b: Waiting [2021-05-24T03:19:30.754Z] 93b61091891f: Waiting [2021-05-24T03:19:30.754Z] 36b3adc4ff6f: Verifying Checksum [2021-05-24T03:19:30.754Z] 36b3adc4ff6f: Download complete [2021-05-24T03:19:30.754Z] 46f8f816bc3b: Verifying Checksum [2021-05-24T03:19:30.754Z] 46f8f816bc3b: Download complete [2021-05-24T03:19:31.016Z] df20fa9351a1: Verifying Checksum [2021-05-24T03:19:31.016Z] df20fa9351a1: Download complete [2021-05-24T03:19:31.016Z] 93b9cdb0e59b: Verifying Checksum [2021-05-24T03:19:31.016Z] 93b9cdb0e59b: Download complete [2021-05-24T03:19:31.016Z] 5e14af77c1be: Verifying Checksum [2021-05-24T03:19:31.016Z] 5e14af77c1be: Download complete [2021-05-24T03:19:31.016Z] 93b61091891f: Verifying Checksum [2021-05-24T03:19:31.016Z] 93b61091891f: Download complete [2021-05-24T03:19:31.016Z] 01666e4c0597: Verifying Checksum [2021-05-24T03:19:31.016Z] 01666e4c0597: Download complete [2021-05-24T03:19:31.277Z] 8ad3a11d3b57: Verifying Checksum [2021-05-24T03:19:31.277Z] 8ad3a11d3b57: Download complete [2021-05-24T03:19:31.277Z] df20fa9351a1: Pull complete [2021-05-24T03:19:31.859Z] 36b3adc4ff6f: Pull complete [2021-05-24T03:19:32.811Z] 8ad3a11d3b57: Pull complete [2021-05-24T03:19:32.811Z] 46f8f816bc3b: Pull complete [2021-05-24T03:19:33.073Z] aa168da1d23b: Verifying Checksum [2021-05-24T03:19:33.073Z] aa168da1d23b: Download complete [2021-05-24T03:19:33.334Z] 93b61091891f: Pull complete [2021-05-24T03:19:33.596Z] 93b9cdb0e59b: Pull complete [2021-05-24T03:19:33.858Z] 5e14af77c1be: Pull complete [2021-05-24T03:19:34.126Z] 01666e4c0597: Pull complete [2021-05-24T03:19:39.440Z] aa168da1d23b: Pull complete [2021-05-24T03:19:39.702Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-24T03:19:39.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T03:19:39.702Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-24T03:19:39.781Z] prd-centos7-docker-4c-2g-15723 does not seem to be running inside a container [2021-05-24T03:19:39.818Z] $ 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-24T03:19:53.841Z] $ docker top fc17867281705cf91f202ad031425c01e17d5a89dcd5e0cbb111ea1918bddc21 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T03:19:58.200Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-24T03:19:58.524Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-24T03:19:58.851Z] + ls /var/log/sa-host [2021-05-24T03:19:58.851Z] + sadf -c /var/log/sa-host/sa05 [2021-05-24T03:19:58.851Z] file_magic: OK [2021-05-24T03:19:58.851Z] HZ: Using current value: 100 [2021-05-24T03:19:58.851Z] file_header: OK [2021-05-24T03:19:58.851Z] 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-24T03:19:58.851Z] Statistics: [2021-05-24T03:19:58.851Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-24T03:19:58.851Z] File successfully converted to sysstat format version 12.2.1 [2021-05-24T03:19:58.851Z] + sadf -c /var/log/sa-host/sa24 [2021-05-24T03:19:58.851Z] file_magic: OK [2021-05-24T03:19:58.851Z] HZ: Using current value: 100 [2021-05-24T03:19:58.851Z] file_header: OK [2021-05-24T03:19:58.851Z] 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-24T03:19:58.851Z] Statistics: [2021-05-24T03:19:58.851Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-24T03:19:58.851Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T03:19:59.061Z] provisioning config files... [2021-05-24T03:19:59.073Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config3200293016169258564tmp [Pipeline] { [Pipeline] echo [2021-05-24T03:19:59.094Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T03:19:59.390Z] ---> create-netrc.sh [Pipeline] } [2021-05-24T03:19:59.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-24T03:19:59.425Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T03:19:59.724Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-24T03:19:59.736Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T03:20:00.036Z] ---> sudo-logs.sh [2021-05-24T03:20:00.037Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-24T03:20:00.070Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T03:20:00.366Z] ---> job-cost.sh [2021-05-24T03:20:00.367Z] lf-activate-venv: SKIPPING [2021-05-24T03:20:00.367Z] DEBUG: total: 0.18000000715255737 [2021-05-24T03:20:00.367Z] INFO: Retrieving Stack Cost... [2021-05-24T03:20:00.957Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-24T03:20:01.533Z] INFO: Archiving Costs [Pipeline] echo [2021-05-24T03:20:01.554Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T03:20:01.858Z] ---> logs-deploy.sh [2021-05-24T03:20:01.858Z] lf-activate-venv: SKIPPING [2021-05-24T03:20:01.858Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-934/7 [2021-05-24T03:20:01.858Z] INFO: archiving workspace using pattern(s): [2021-05-24T03:20:02.802Z] Archives upload complete. [2021-05-24T03:20:02.802Z] INFO: archiving logs to Nexus