Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e8c1cc2cdba4538cda83ea941797953b8910ef77+282de78a903b796f3af5fb18192a6c185f982102 (54074011721b971d07d5da724631e7ef90084610) 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-ssh2180834920600630295.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-ssh5107467835775972162.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-ssh3102562996717688903.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-ssh6077198894931087187.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-ssh4641161510735541103.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-15679 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-ssh8409098713267296257.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/master commit 282de78a903b796f3af5fb18192a6c185f982102 into PR head commit e8c1cc2cdba4538cda83ea941797953b8910ef77 Merge succeeded, producing 6f433b9b7f0649d8b050b33a5a6852c0330ed883 Checking out Revision 6f433b9b7f0649d8b050b33a5a6852c0330ed883 (PR-934) 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-ssh4210661659981009005.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 e8c1cc2cdba4538cda83ea941797953b8910ef77 # 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-ssh6676360088075607425.key > git merge 282de78a903b796f3af5fb18192a6c185f982102 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f433b9b7f0649d8b050b33a5a6852c0330ed883 # timeout=10 Commit message: "Merge commit '282de78a903b796f3af5fb18192a6c185f982102' into HEAD" > git rev-list --no-walk e8c1cc2cdba4538cda83ea941797953b8910ef77 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-23T02:42:09.130Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-23T02:42:09.244Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-23T02:42:09.275Z] ========================================================= [2021-05-23T02:42:09.275Z] EdgeX Global Pipelines Version Info [2021-05-23T02:42:09.275Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-23T02:42:12.617Z] ------------------- [2021-05-23T02:42:12.617Z] stable info: [2021-05-23T02:42:12.617Z] ------------------- [2021-05-23T02:42:12.617Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-23T02:42:12.617Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-23T02:42:12.617Z] Message: update stable to v1.0.192 [2021-05-23T02:42:12.617Z] ------------------- [2021-05-23T02:42:12.617Z] experimental info: [2021-05-23T02:42:12.617Z] ------------------- [2021-05-23T02:42:12.617Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-23T02:42:12.617Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-23T02:42:12.617Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-23T02:42:12.744Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-23T02:42:12.768Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-23T02:42:12.793Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-23T02:42:12.817Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-23T02:42:12.844Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-23T02:42:12.869Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-23T02:42:12.893Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-23T02:42:12.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-23T02:42:12.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-23T02:42:12.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-23T02:42:12.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-23T02:42:13.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-23T02:42:13.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-23T02:42:13.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-23T02:42:13.089Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-23T02:42:13.113Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-23T02:42:13.137Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-23T02:42:13.162Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-23T02:42:13.186Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-23T02:42:13.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-23T02:42:13.236Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-23T02:42:13.260Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-23T02:42:13.285Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-23T02:42:13.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-23T02:42:13.337Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-23T02:42:13.375Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-23T02:42:13.403Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-934 [Pipeline] echo [2021-05-23T02:42:13.430Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-934 [Pipeline] echo [2021-05-23T02:42:13.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-934 [Pipeline] echo [2021-05-23T02:42:13.481Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f433b9b7f0649d8b050b33a5a6852c0330ed883 [Pipeline] echo [2021-05-23T02:42:13.507Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f433b9 [Pipeline] echo [2021-05-23T02:42:13.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-23T02:42:13.669Z] provisioning config files... [2021-05-23T02:42:13.686Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config4130590494740733525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-23T02:42:14.008Z] ---> docker-login.sh [2021-05-23T02:42:14.008Z] nexus3.edgexfoundry.org:10001 [2021-05-23T02:42:14.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:42:14.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:42:14.537Z] Configure a credential helper to remove this warning. See [2021-05-23T02:42:14.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:42:14.537Z] [2021-05-23T02:42:14.537Z] Login Succeeded [2021-05-23T02:42:14.537Z] nexus3.edgexfoundry.org:10002 [2021-05-23T02:42:14.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:42:14.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:42:14.800Z] Configure a credential helper to remove this warning. See [2021-05-23T02:42:14.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:42:14.800Z] [2021-05-23T02:42:14.800Z] Login Succeeded [2021-05-23T02:42:14.800Z] nexus3.edgexfoundry.org:10003 [2021-05-23T02:42:14.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:42:14.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:42:14.800Z] Configure a credential helper to remove this warning. See [2021-05-23T02:42:14.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:42:14.800Z] [2021-05-23T02:42:14.800Z] Login Succeeded [2021-05-23T02:42:14.800Z] nexus3.edgexfoundry.org:10004 [2021-05-23T02:42:14.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:42:15.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:42:15.062Z] Configure a credential helper to remove this warning. See [2021-05-23T02:42:15.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:42:15.062Z] [2021-05-23T02:42:15.062Z] Login Succeeded [2021-05-23T02:42:15.062Z] docker.io [2021-05-23T02:42:15.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:42:15.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:42:15.323Z] Configure a credential helper to remove this warning. See [2021-05-23T02:42:15.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:42:15.323Z] [2021-05-23T02:42:15.323Z] Login Succeeded [2021-05-23T02:42:15.323Z] ---> docker-login.sh ends [Pipeline] } [2021-05-23T02:42:15.334Z] 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-23T02:42:15.870Z] + git log --format=format:%s -1 6f433b9b7f0649d8b050b33a5a6852c0330ed883 [Pipeline] echo [2021-05-23T02:42:15.908Z] GIT_COMMIT: 6f433b9b7f0649d8b050b33a5a6852c0330ed883, Commit Message: Merge commit '282de78a903b796f3af5fb18192a6c185f982102' into HEAD [Pipeline] echo [2021-05-23T02:42:15.924Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:42:18.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-23T02:42:18.921Z] [2021-05-23T02:42:18.921Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:42:19.234Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-23T02:42:19.234Z] latest: Pulling from edgex-devops/git-semver [2021-05-23T02:42:19.234Z] 31603596830f: Pulling fs layer [2021-05-23T02:42:19.234Z] 54011a49482f: Pulling fs layer [2021-05-23T02:42:19.234Z] a6820b24f6d8: Pulling fs layer [2021-05-23T02:42:19.234Z] f581987b2513: Pulling fs layer [2021-05-23T02:42:19.234Z] f581987b2513: Waiting [2021-05-23T02:42:19.234Z] 54011a49482f: Download complete [2021-05-23T02:42:19.234Z] 31603596830f: Verifying Checksum [2021-05-23T02:42:19.234Z] 31603596830f: Download complete [2021-05-23T02:42:19.497Z] a6820b24f6d8: Verifying Checksum [2021-05-23T02:42:19.497Z] a6820b24f6d8: Download complete [2021-05-23T02:42:19.497Z] f581987b2513: Verifying Checksum [2021-05-23T02:42:19.497Z] f581987b2513: Download complete [2021-05-23T02:42:19.497Z] 31603596830f: Pull complete [2021-05-23T02:42:19.758Z] 54011a49482f: Pull complete [2021-05-23T02:42:20.337Z] a6820b24f6d8: Pull complete [2021-05-23T02:42:20.599Z] f581987b2513: Pull complete [2021-05-23T02:42:20.599Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-23T02:42:20.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-23T02:42:20.599Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-23T02:42:20.680Z] prd-centos7-docker-4c-2g-15679 does not seem to be running inside a container [2021-05-23T02:42:20.726Z] $ 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-23T02:42:22.361Z] $ docker top 2d7a2e7e89b1c3bea1513fc98281b010371e9c957c7771bfda8872915041df5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-23T02:42:22.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-23T02:42:22.476Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-23T02:42:22.591Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-23T02:42:22.594Z] $ docker exec 2d7a2e7e89b1c3bea1513fc98281b010371e9c957c7771bfda8872915041df5d ssh-agent [2021-05-23T02:42:22.708Z] SSH_AUTH_SOCK=/tmp/ssh-h7EEGoYaKJ4O/agent.13 [2021-05-23T02:42:22.708Z] SSH_AGENT_PID=20 [2021-05-23T02:42:22.717Z] Running ssh-add (command line suppressed) [2021-05-23T02:42:22.814Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_5811098599896230747.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_5811098599896230747.key) [2021-05-23T02:42:22.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-23T02:42:23.137Z] + git tag --points-at HEAD [Pipeline] } [2021-05-23T02:42:23.150Z] $ docker exec --env ******** --env ******** 2d7a2e7e89b1c3bea1513fc98281b010371e9c957c7771bfda8872915041df5d ssh-agent -k [2021-05-23T02:42:23.240Z] unset SSH_AUTH_SOCK; [2021-05-23T02:42:23.240Z] unset SSH_AGENT_PID; [2021-05-23T02:42:23.240Z] echo Agent pid 20 killed; [2021-05-23T02:42:23.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-23T02:42:23.292Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-23T02:42:23.292Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-23T02:42:23.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-23T02:42:23.410Z] $ docker exec 2d7a2e7e89b1c3bea1513fc98281b010371e9c957c7771bfda8872915041df5d ssh-agent [2021-05-23T02:42:23.512Z] SSH_AUTH_SOCK=/tmp/ssh-NfyV3Aq3h4zq/agent.55 [2021-05-23T02:42:23.512Z] SSH_AGENT_PID=61 [2021-05-23T02:42:23.517Z] Running ssh-add (command line suppressed) [2021-05-23T02:42:23.625Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_9078391844144585316.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_9078391844144585316.key) [2021-05-23T02:42:23.639Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-23T02:42:23.950Z] + git semver init [2021-05-23T02:42:23.950Z] # -> Open(): unable to determine branch for HEAD [2021-05-23T02:42:23.950Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.git [2021-05-23T02:42:23.950Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-23T02:42:23.950Z] # $SEMVER_REMOTE_NAME = origin [2021-05-23T02:42:23.950Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-23T02:42:23.950Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-23T02:42:23.950Z] # $SEMVER_BRANCH = PR-934 [2021-05-23T02:42:23.950Z] # $SEMVER_TEMP = /tmp/semver-151083343 [2021-05-23T02:42:23.950Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-23T02:42:24.529Z] # '/tmp/semver-151083343' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver' [2021-05-23T02:42:24.529Z] # -> Force: false [2021-05-23T02:42:24.529Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver [Pipeline] } [2021-05-23T02:42:24.539Z] $ docker exec --env ******** --env ******** 2d7a2e7e89b1c3bea1513fc98281b010371e9c957c7771bfda8872915041df5d ssh-agent -k [2021-05-23T02:42:24.629Z] unset SSH_AUTH_SOCK; [2021-05-23T02:42:24.630Z] unset SSH_AGENT_PID; [2021-05-23T02:42:24.630Z] echo Agent pid 61 killed; [2021-05-23T02:42:24.640Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-23T02:42:24.982Z] + git semver [Pipeline] } [2021-05-23T02:42:24.996Z] $ docker stop --time=1 2d7a2e7e89b1c3bea1513fc98281b010371e9c957c7771bfda8872915041df5d [2021-05-23T02:42:26.293Z] $ docker rm -f 2d7a2e7e89b1c3bea1513fc98281b010371e9c957c7771bfda8872915041df5d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-23T02:42:26.657Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-23T02:42:26.925Z] Stashed 1 file(s) [Pipeline] echo [2021-05-23T02:42:26.929Z] [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-23T02:42:42.200Z] Still waiting to schedule task [2021-05-23T02:42:42.201Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-23T02:42:42.203Z] Still waiting to schedule task [2021-05-23T02:42:42.203Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-23T02:44:51.641Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15680 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-23T02:44:51.661Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-05-23T02:44:51.864Z] Selected Git installation does not exist. Using Default [2021-05-23T02:44:51.864Z] The recommended git tool is: NONE [2021-05-23T02:44:56.844Z] using credential edgex-jenkins-ssh [2021-05-23T02:44:56.867Z] Cloning the remote Git repository [2021-05-23T02:44:56.932Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-23T02:44:57.044Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-05-23T02:44:57.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-23T02:44:57.130Z] > git --version # timeout=10 [2021-05-23T02:44:57.146Z] > git --version # 'git version 2.17.1' [2021-05-23T02:44:57.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-23T02:44:57.224Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-23T02:44:59.186Z] Merging remotes/origin/master commit 282de78a903b796f3af5fb18192a6c185f982102 into PR head commit e8c1cc2cdba4538cda83ea941797953b8910ef77 [2021-05-23T02:44:58.486Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-23T02:44:58.513Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-23T02:44:58.537Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-23T02:44:58.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-23T02:44:58.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-23T02:44:58.583Z] > 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-23T02:44:59.199Z] > git config core.sparsecheckout # timeout=10 [2021-05-23T02:44:59.212Z] > git checkout -f e8c1cc2cdba4538cda83ea941797953b8910ef77 # timeout=10 [2021-05-23T02:44:59.431Z] Merge succeeded, producing 09920661a2fe1d89557432fe196c30a2da096e92 [2021-05-23T02:44:59.432Z] Checking out Revision 09920661a2fe1d89557432fe196c30a2da096e92 (PR-934) [2021-05-23T02:44:59.304Z] > git remote # timeout=10 [2021-05-23T02:44:59.318Z] > git config --get remote.origin.url # timeout=10 [2021-05-23T02:44:59.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-23T02:44:59.338Z] > git merge 282de78a903b796f3af5fb18192a6c185f982102 # timeout=10 [2021-05-23T02:44:59.415Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-23T02:44:59.435Z] > git config core.sparsecheckout # timeout=10 [2021-05-23T02:44:59.445Z] > git checkout -f 09920661a2fe1d89557432fe196c30a2da096e92 # timeout=10 [2021-05-23T02:45:05.787Z] Commit message: "Merge commit '282de78a903b796f3af5fb18192a6c185f982102' into HEAD" [2021-05-23T02:45:05.792Z] > git rev-list --no-walk e8c1cc2cdba4538cda83ea941797953b8910ef77 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-23T02:45:07.397Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-23T02:45:07.812Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-23T02:45:08.153Z] + true [2021-05-23T02:45:08.153Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-23T02:45:26.495Z] provisioning config files... [2021-05-23T02:45:26.523Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config3038679898239588310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-23T02:45:26.898Z] ---> docker-login.sh [2021-05-23T02:45:26.898Z] nexus3.edgexfoundry.org:10001 [2021-05-23T02:45:28.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:45:28.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:45:28.337Z] Configure a credential helper to remove this warning. See [2021-05-23T02:45:28.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:45:28.337Z] [2021-05-23T02:45:28.337Z] Login Succeeded [2021-05-23T02:45:28.337Z] nexus3.edgexfoundry.org:10002 [2021-05-23T02:45:28.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:45:28.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:45:28.937Z] Configure a credential helper to remove this warning. See [2021-05-23T02:45:28.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:45:28.937Z] [2021-05-23T02:45:28.937Z] Login Succeeded [2021-05-23T02:45:28.937Z] nexus3.edgexfoundry.org:10003 [2021-05-23T02:45:29.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:45:29.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:45:29.539Z] Configure a credential helper to remove this warning. See [2021-05-23T02:45:29.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:45:29.539Z] [2021-05-23T02:45:29.539Z] Login Succeeded [2021-05-23T02:45:29.539Z] nexus3.edgexfoundry.org:10004 [2021-05-23T02:45:29.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:45:30.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:45:30.092Z] Configure a credential helper to remove this warning. See [2021-05-23T02:45:30.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:45:30.092Z] [2021-05-23T02:45:30.092Z] Login Succeeded [2021-05-23T02:45:30.092Z] docker.io [2021-05-23T02:45:30.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:45:30.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:45:30.965Z] Configure a credential helper to remove this warning. See [2021-05-23T02:45:30.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:45:30.965Z] [2021-05-23T02:45:30.965Z] Login Succeeded [2021-05-23T02:45:30.965Z] ---> docker-login.sh ends [Pipeline] } [2021-05-23T02:45:30.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-23T02:45:31.504Z] ========================================================= [2021-05-23T02:45:31.505Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-23T02:45:31.505Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:45:31.888Z] + 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-23T02:45:32.493Z] Sending build context to Docker daemon 2.607MB [2021-05-23T02:45:32.493Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-23T02:45:32.493Z] Step 2/8 : FROM ${BASE} [2021-05-23T02:45:32.493Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-23T02:45:32.493Z] 595b0fe564bb: Pulling fs layer [2021-05-23T02:45:32.493Z] 7186ed65a4f7: Pulling fs layer [2021-05-23T02:45:32.493Z] 316046926c0a: Pulling fs layer [2021-05-23T02:45:32.493Z] 4ebd0625c992: Pulling fs layer [2021-05-23T02:45:32.493Z] 207e8628e3a3: Pulling fs layer [2021-05-23T02:45:32.493Z] c791037a9be2: Pulling fs layer [2021-05-23T02:45:32.493Z] ffd874e62e21: Pulling fs layer [2021-05-23T02:45:32.493Z] 207e8628e3a3: Waiting [2021-05-23T02:45:32.493Z] c791037a9be2: Waiting [2021-05-23T02:45:32.493Z] ffd874e62e21: Waiting [2021-05-23T02:45:32.493Z] 4ebd0625c992: Waiting [2021-05-23T02:45:32.768Z] 316046926c0a: Verifying Checksum [2021-05-23T02:45:32.768Z] 316046926c0a: Download complete [2021-05-23T02:45:32.768Z] 7186ed65a4f7: Verifying Checksum [2021-05-23T02:45:32.768Z] 7186ed65a4f7: Download complete [2021-05-23T02:45:32.768Z] 207e8628e3a3: Verifying Checksum [2021-05-23T02:45:32.768Z] 207e8628e3a3: Download complete [2021-05-23T02:45:32.768Z] c791037a9be2: Verifying Checksum [2021-05-23T02:45:32.768Z] c791037a9be2: Download complete [2021-05-23T02:45:32.768Z] 595b0fe564bb: Verifying Checksum [2021-05-23T02:45:32.768Z] 595b0fe564bb: Download complete [2021-05-23T02:45:33.375Z] 595b0fe564bb: Pull complete [2021-05-23T02:45:33.986Z] 7186ed65a4f7: Pull complete [2021-05-23T02:45:34.587Z] 316046926c0a: Pull complete [2021-05-23T02:45:34.863Z] ffd874e62e21: Download complete [2021-05-23T02:45:36.300Z] 4ebd0625c992: Verifying Checksum [2021-05-23T02:45:36.300Z] 4ebd0625c992: Download complete [2021-05-23T02:45:47.348Z] 4ebd0625c992: Pull complete [2021-05-23T02:45:47.348Z] 207e8628e3a3: Pull complete [2021-05-23T02:45:47.348Z] c791037a9be2: Pull complete [2021-05-23T02:45:50.748Z] ffd874e62e21: Pull complete [2021-05-23T02:45:50.748Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-23T02:45:50.748Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-23T02:45:50.748Z] ---> cfc18b08335c [2021-05-23T02:45:50.748Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-23T02:45:53.376Z] ---> Running in 2bfd8899d8ca [2021-05-23T02:45:53.376Z] Removing intermediate container 2bfd8899d8ca [2021-05-23T02:45:53.376Z] ---> d697a8cc8d2a [2021-05-23T02:45:53.376Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-23T02:45:53.648Z] ---> Running in 08537da68926 [2021-05-23T02:45:56.274Z] Removing intermediate container 08537da68926 [2021-05-23T02:45:56.274Z] ---> 119817672524 [2021-05-23T02:45:56.274Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-23T02:45:56.274Z] ---> Running in c054d4be67da [2021-05-23T02:45:57.258Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-23T02:45:58.241Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-23T02:45:59.219Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-23T02:45:59.219Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-23T02:45:59.219Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-23T02:45:59.490Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-23T02:45:59.490Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-23T02:45:59.490Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-23T02:45:59.763Z] Executing busybox-1.32.1-r6.trigger [2021-05-23T02:45:59.763Z] OK: 139 MiB in 46 packages [2021-05-23T02:46:01.207Z] Removing intermediate container c054d4be67da [2021-05-23T02:46:01.207Z] ---> 2482c9b6bb13 [2021-05-23T02:46:01.207Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-23T02:46:01.207Z] ---> Running in 92f8b4f80b00 [2021-05-23T02:46:01.486Z] Removing intermediate container 92f8b4f80b00 [2021-05-23T02:46:01.486Z] ---> 6cefa555f21e [2021-05-23T02:46:01.486Z] Step 7/8 : COPY . . [2021-05-23T02:46:02.931Z] ---> 2e11d8a8ee07 [2021-05-23T02:46:02.931Z] Step 8/8 : RUN go mod download [2021-05-23T02:46:02.931Z] ---> Running in 05e9f65ce34e [2021-05-23T02:46:35.322Z] Removing intermediate container 05e9f65ce34e [2021-05-23T02:46:35.322Z] ---> c3f2077c40c7 [2021-05-23T02:46:35.322Z] Successfully built c3f2077c40c7 [2021-05-23T02:46:35.322Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:46:35.673Z] + docker inspect -f . ci-base-image-arm64 [2021-05-23T02:46:35.673Z] . [Pipeline] withDockerContainer [2021-05-23T02:46:35.944Z] prd-ubuntu18.04-docker-arm64-4c-16g-15680 does not seem to be running inside a container [2021-05-23T02:46:36.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-23T02:46:37.601Z] $ docker top efde5c1e5ba989a3eb31b78b257194d2aa724c7262649b8c7dfdfe25a41a4dbb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-23T02:46:38.549Z] + go version [2021-05-23T02:46:38.550Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-23T02:46:38.571Z] $ docker stop --time=1 efde5c1e5ba989a3eb31b78b257194d2aa724c7262649b8c7dfdfe25a41a4dbb [2021-05-23T02:46:40.337Z] $ docker rm -f efde5c1e5ba989a3eb31b78b257194d2aa724c7262649b8c7dfdfe25a41a4dbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:46:41.247Z] + docker inspect -f . ci-base-image-arm64 [2021-05-23T02:46:41.247Z] . [Pipeline] withDockerContainer [2021-05-23T02:46:41.506Z] prd-ubuntu18.04-docker-arm64-4c-16g-15680 does not seem to be running inside a container [2021-05-23T02:46:41.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-23T02:46:43.223Z] $ docker top 1b47314df80c9cecb9a05b2eded9dd99cc114d35655c822b0e5ac2f63b9e85aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-23T02:46:44.172Z] + go mod tidy [Pipeline] sh [2021-05-23T02:46:45.442Z] + make test [2021-05-23T02:46:45.442Z] go mod tidy [2021-05-23T02:46:46.048Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-23T02:47:10.111Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-23T02:47:49.329Z] Running on prd-centos7-docker-4c-2g-15681 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-23T02:47:49.348Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-05-23T02:47:49.456Z] Selected Git installation does not exist. Using Default [2021-05-23T02:47:49.456Z] The recommended git tool is: NONE [2021-05-23T02:47:53.746Z] using credential edgex-jenkins-ssh [2021-05-23T02:47:53.773Z] Cloning the remote Git repository [2021-05-23T02:47:53.811Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-23T02:47:53.879Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-05-23T02:47:53.915Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-23T02:47:53.916Z] > git --version # timeout=10 [2021-05-23T02:47:53.923Z] > git --version # 'git version 2.24.4' [2021-05-23T02:47:53.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-23T02:47:53.960Z] [INFO] Currently running in a labeled security context [2021-05-23T02:47:53.960Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-23T02:47:53.960Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/6@tmp/jenkins-gitclient-ssh5237272853221825519.key [2021-05-23T02:47:53.991Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-23T02:47:54.797Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-23T02:47:54.805Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-23T02:47:54.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-23T02:47:54.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-23T02:47:54.827Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-23T02:47:54.828Z] [INFO] Currently running in a labeled security context [2021-05-23T02:47:54.828Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-23T02:47:54.828Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/6@tmp/jenkins-gitclient-ssh6880544664467785486.key [2021-05-23T02:47:54.849Z] > 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-23T02:47:55.332Z] Merging remotes/origin/master commit 282de78a903b796f3af5fb18192a6c185f982102 into PR head commit e8c1cc2cdba4538cda83ea941797953b8910ef77 [2021-05-23T02:47:55.432Z] Merge succeeded, producing dee0a5dbba48f9d9d8bbe9b40a427952e64b1b7b [2021-05-23T02:47:55.432Z] Checking out Revision dee0a5dbba48f9d9d8bbe9b40a427952e64b1b7b (PR-934) [2021-05-23T02:47:55.341Z] > git config core.sparsecheckout # timeout=10 [2021-05-23T02:47:55.348Z] > git checkout -f e8c1cc2cdba4538cda83ea941797953b8910ef77 # timeout=10 [2021-05-23T02:47:55.377Z] > git remote # timeout=10 [2021-05-23T02:47:55.385Z] > git config --get remote.origin.url # timeout=10 [2021-05-23T02:47:55.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-23T02:47:55.396Z] [INFO] Currently running in a labeled security context [2021-05-23T02:47:55.396Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-23T02:47:55.396Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/6@tmp/jenkins-gitclient-ssh6767099449334890213.key [2021-05-23T02:47:55.403Z] > git merge 282de78a903b796f3af5fb18192a6c185f982102 # timeout=10 [2021-05-23T02:47:55.424Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-23T02:47:55.434Z] > git config core.sparsecheckout # timeout=10 [2021-05-23T02:47:55.441Z] > git checkout -f dee0a5dbba48f9d9d8bbe9b40a427952e64b1b7b # timeout=10 [2021-05-23T02:47:58.988Z] Commit message: "Merge commit '282de78a903b796f3af5fb18192a6c185f982102' into HEAD" [2021-05-23T02:47:58.992Z] > git rev-list --no-walk e8c1cc2cdba4538cda83ea941797953b8910ef77 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-23T02:48:00.247Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-23T02:48:00.579Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-23T02:48:00.880Z] + sudo service docker restart [2021-05-23T02:48:00.880Z] + true [2021-05-23T02:48:00.880Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-23T02:48:19.073Z] provisioning config files... [2021-05-23T02:48:19.089Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config4371655548438741104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-23T02:48:19.498Z] ---> docker-login.sh [2021-05-23T02:48:19.498Z] nexus3.edgexfoundry.org:10001 [2021-05-23T02:48:19.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:48:20.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:48:20.022Z] Configure a credential helper to remove this warning. See [2021-05-23T02:48:20.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:48:20.022Z] [2021-05-23T02:48:20.022Z] Login Succeeded [2021-05-23T02:48:20.022Z] nexus3.edgexfoundry.org:10002 [2021-05-23T02:48:20.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:48:20.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:48:20.022Z] Configure a credential helper to remove this warning. See [2021-05-23T02:48:20.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:48:20.022Z] [2021-05-23T02:48:20.022Z] Login Succeeded [2021-05-23T02:48:20.022Z] nexus3.edgexfoundry.org:10003 [2021-05-23T02:48:20.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:48:20.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:48:20.286Z] Configure a credential helper to remove this warning. See [2021-05-23T02:48:20.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:48:20.286Z] [2021-05-23T02:48:20.286Z] Login Succeeded [2021-05-23T02:48:20.286Z] nexus3.edgexfoundry.org:10004 [2021-05-23T02:48:20.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:48:20.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:48:20.286Z] Configure a credential helper to remove this warning. See [2021-05-23T02:48:20.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:48:20.286Z] [2021-05-23T02:48:20.286Z] Login Succeeded [2021-05-23T02:48:20.286Z] docker.io [2021-05-23T02:48:20.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-23T02:48:20.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-23T02:48:20.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-23T02:48:20.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-23T02:48:20.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-23T02:48:20.811Z] Configure a credential helper to remove this warning. See [2021-05-23T02:48:20.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-23T02:48:20.811Z] [2021-05-23T02:48:20.811Z] Login Succeeded [2021-05-23T02:48:20.811Z] ---> docker-login.sh ends [Pipeline] } [2021-05-23T02:48:20.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-23T02:48:20.999Z] ========================================================= [2021-05-23T02:48:20.999Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-23T02:48:20.999Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:48:21.314Z] + 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-23T02:48:21.315Z] Sending build context to Docker daemon 2.608MB [2021-05-23T02:48:21.315Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-23T02:48:21.315Z] Step 2/8 : FROM ${BASE} [2021-05-23T02:48:21.578Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-23T02:48:21.578Z] 540db60ca938: Pulling fs layer [2021-05-23T02:48:21.578Z] adcc1eea9eea: Pulling fs layer [2021-05-23T02:48:21.578Z] 4c4ab2625f07: Pulling fs layer [2021-05-23T02:48:21.578Z] 0510c868ecb4: Pulling fs layer [2021-05-23T02:48:21.578Z] afea3b2eda06: Pulling fs layer [2021-05-23T02:48:21.578Z] 7809a108b3ef: Pulling fs layer [2021-05-23T02:48:21.578Z] f706445af74f: Pulling fs layer [2021-05-23T02:48:21.578Z] 0510c868ecb4: Waiting [2021-05-23T02:48:21.578Z] afea3b2eda06: Waiting [2021-05-23T02:48:21.578Z] 7809a108b3ef: Waiting [2021-05-23T02:48:21.578Z] f706445af74f: Waiting [2021-05-23T02:48:21.578Z] 4c4ab2625f07: Verifying Checksum [2021-05-23T02:48:21.578Z] 4c4ab2625f07: Download complete [2021-05-23T02:48:21.578Z] adcc1eea9eea: Verifying Checksum [2021-05-23T02:48:21.578Z] adcc1eea9eea: Download complete [2021-05-23T02:48:21.578Z] afea3b2eda06: Verifying Checksum [2021-05-23T02:48:21.578Z] afea3b2eda06: Download complete [2021-05-23T02:48:21.578Z] 540db60ca938: Verifying Checksum [2021-05-23T02:48:21.578Z] 540db60ca938: Download complete [2021-05-23T02:48:21.578Z] 7809a108b3ef: Verifying Checksum [2021-05-23T02:48:21.578Z] 7809a108b3ef: Download complete [2021-05-23T02:48:21.839Z] 540db60ca938: Pull complete [2021-05-23T02:48:21.839Z] adcc1eea9eea: Pull complete [2021-05-23T02:48:22.101Z] 4c4ab2625f07: Pull complete [2021-05-23T02:48:22.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.294s coverage: 25.4% of statements [2021-05-23T02:48:22.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-23T02:48:22.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.196s coverage: 28.1% of statements [2021-05-23T02:48:22.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.307s coverage: 78.9% of statements [2021-05-23T02:48:22.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.253s coverage: 9.0% of statements [2021-05-23T02:48:22.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-23T02:48:22.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-23T02:48:22.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-23T02:48:23.486Z] f706445af74f: Verifying Checksum [2021-05-23T02:48:23.486Z] f706445af74f: Download complete [2021-05-23T02:48:24.063Z] 0510c868ecb4: Verifying Checksum [2021-05-23T02:48:24.063Z] 0510c868ecb4: Download complete [2021-05-23T02:48:27.576Z] 0510c868ecb4: Pull complete [2021-05-23T02:48:27.576Z] afea3b2eda06: Pull complete [2021-05-23T02:48:27.576Z] 7809a108b3ef: Pull complete [2021-05-23T02:48:27.576Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.370s coverage: 30.2% of statements [2021-05-23T02:48:27.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-23T02:48:27.576Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.219s coverage: 83.3% of statements [2021-05-23T02:48:27.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-23T02:48:27.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-23T02:48:27.576Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.345s coverage: 58.0% of statements [2021-05-23T02:48:29.002Z] f706445af74f: Pull complete [2021-05-23T02:48:29.002Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-23T02:48:29.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-23T02:48:29.002Z] ---> b068be0155e3 [2021-05-23T02:48:29.002Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-23T02:48:30.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.001s coverage: 89.2% of statements [2021-05-23T02:48:30.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-23T02:48:30.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.190s coverage: 5.0% of statements [2021-05-23T02:48:30.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-23T02:48:30.481Z] GO111MODULE=on go vet ./... [2021-05-23T02:48:37.149Z] ---> Running in 5a2c0b5c378b [2021-05-23T02:48:37.149Z] Removing intermediate container 5a2c0b5c378b [2021-05-23T02:48:37.149Z] ---> cc8b10f7cedd [2021-05-23T02:48:37.149Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-23T02:48:37.413Z] ---> Running in 0514b7bc9d75 [2021-05-23T02:48:38.816Z] Removing intermediate container 0514b7bc9d75 [2021-05-23T02:48:38.816Z] ---> 06ae6d6b1c49 [2021-05-23T02:48:38.816Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-23T02:48:38.816Z] ---> Running in 4fe10651d6ed [2021-05-23T02:48:39.402Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-23T02:48:40.347Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-23T02:48:40.609Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-23T02:48:40.609Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-23T02:48:40.872Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-23T02:48:40.872Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-23T02:48:41.133Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-23T02:48:41.395Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-23T02:48:41.655Z] Executing busybox-1.32.1-r6.trigger [2021-05-23T02:48:41.655Z] OK: 150 MiB in 46 packages [2021-05-23T02:48:42.606Z] Removing intermediate container 4fe10651d6ed [2021-05-23T02:48:42.606Z] ---> 85bf5c9b5112 [2021-05-23T02:48:42.606Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-23T02:48:42.606Z] ---> Running in 5b9d9eaace16 [2021-05-23T02:48:42.606Z] Removing intermediate container 5b9d9eaace16 [2021-05-23T02:48:42.606Z] ---> 8a07148b9ef5 [2021-05-23T02:48:42.606Z] Step 7/8 : COPY . . [2021-05-23T02:48:43.565Z] ---> 97499a2c1576 [2021-05-23T02:48:43.565Z] Step 8/8 : RUN go mod download [2021-05-23T02:48:43.826Z] ---> Running in c31bc701e258 [2021-05-23T02:49:05.850Z] Removing intermediate container c31bc701e258 [2021-05-23T02:49:05.850Z] ---> cd4bac24d5df [2021-05-23T02:49:05.850Z] Successfully built cd4bac24d5df [2021-05-23T02:49:05.850Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:49:06.160Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-23T02:49:06.160Z] . [Pipeline] withDockerContainer [2021-05-23T02:49:06.235Z] prd-centos7-docker-4c-2g-15681 does not seem to be running inside a container [2021-05-23T02:49:06.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-23T02:49:07.136Z] $ docker top 023a397dab9323375e831f6aa2544a3feac98777d5beafed46684da9c323d717 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-23T02:49:07.512Z] + go version [2021-05-23T02:49:07.512Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-23T02:49:07.525Z] $ docker stop --time=1 023a397dab9323375e831f6aa2544a3feac98777d5beafed46684da9c323d717 [2021-05-23T02:49:08.707Z] $ docker rm -f 023a397dab9323375e831f6aa2544a3feac98777d5beafed46684da9c323d717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:49:09.305Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-23T02:49:09.305Z] . [Pipeline] withDockerContainer [2021-05-23T02:49:09.380Z] prd-centos7-docker-4c-2g-15681 does not seem to be running inside a container [2021-05-23T02:49:09.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-23T02:49:09.841Z] $ docker top 33295b07c2e145f71349f9ddf2b6e7ab2ddd482693c0f0c25f5788c5f2131d9b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-23T02:49:10.239Z] + go mod tidy [Pipeline] sh [2021-05-23T02:49:10.808Z] + make test [2021-05-23T02:49:10.808Z] go mod tidy [2021-05-23T02:49:10.808Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-23T02:49:16.110Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-23T02:49:30.130Z] gofmt -l . [2021-05-23T02:49:30.130Z] [ "`gofmt -l .`" = "" ] [2021-05-23T02:49:30.130Z] ./bin/test-attribution-txt.sh [2021-05-23T02:49:30.130Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-23T02:49:30.152Z] $ docker stop --time=1 1b47314df80c9cecb9a05b2eded9dd99cc114d35655c822b0e5ac2f63b9e85aa [2021-05-23T02:49:32.249Z] $ docker rm -f 1b47314df80c9cecb9a05b2eded9dd99cc114d35655c822b0e5ac2f63b9e85aa [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-23T02:49:33.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-23T02:49:33.927Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-23T02:49:40.354Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-23T02:49:40.686Z] + ls -al . [2021-05-23T02:49:40.686Z] total 248 [2021-05-23T02:49:40.686Z] drwxrwxr-x 10 jenkins jenkins 4096 May 23 02:49 . [2021-05-23T02:49:40.686Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:44 .. [2021-05-23T02:49:40.686Z] -rw-rw-r-- 1 jenkins jenkins 140 May 23 02:44 .dockerignore [2021-05-23T02:49:40.686Z] drwxrwxr-x 8 jenkins jenkins 4096 May 23 02:45 .git [2021-05-23T02:49:40.686Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:44 .github [2021-05-23T02:49:40.686Z] -rw-rw-r-- 1 jenkins jenkins 138 May 23 02:44 .gitignore [2021-05-23T02:49:40.686Z] -rw-rw-r-- 1 jenkins jenkins 987 May 23 02:44 Dockerfile.build [2021-05-23T02:49:40.686Z] -rw-rw-r-- 1 jenkins jenkins 894 May 23 02:44 Jenkinsfile [2021-05-23T02:49:40.686Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 23 02:44 LICENSE [2021-05-23T02:49:40.686Z] -rw-rw-r-- 1 jenkins jenkins 997 May 23 02:44 Makefile [2021-05-23T02:49:40.686Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 23 02:44 README.md [2021-05-23T02:49:40.686Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 23 02:44 RELEASE-NOTES.txt [2021-05-23T02:49:40.686Z] -rw-rw-r-- 1 jenkins jenkins 5 May 23 02:42 VERSION [2021-05-23T02:49:40.686Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:44 bin [2021-05-23T02:49:40.686Z] -rw-r--r-- 1 jenkins jenkins 126353 May 23 02:48 coverage.out [2021-05-23T02:49:40.686Z] drwxrwxr-x 5 jenkins jenkins 4096 May 23 02:44 example [2021-05-23T02:49:40.686Z] -rw-r--r-- 1 jenkins jenkins 575 May 23 02:49 go.mod [2021-05-23T02:49:40.686Z] -rw-r--r-- 1 jenkins jenkins 20803 May 23 02:46 go.sum [2021-05-23T02:49:40.686Z] drwxrwxr-x 15 jenkins jenkins 4096 May 23 02:44 internal [2021-05-23T02:49:40.686Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:44 openapi [2021-05-23T02:49:40.686Z] drwxrwxr-x 5 jenkins jenkins 4096 May 23 02:44 pkg [2021-05-23T02:49:40.686Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:44 snap [2021-05-23T02:49:40.686Z] -rw-rw-r-- 1 jenkins jenkins 222 May 23 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:49:40.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-23T02:49:40.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-23T02:49:40.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-23T02:49:41.036Z] + 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=09920661a2fe1d89557432fe196c30a2da096e92 --label arch=arm64 --label version=0.0.0 . [2021-05-23T02:49:41.059Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 25.4% of statements [2021-05-23T02:49:41.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-23T02:49:41.059Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 28.1% of statements [2021-05-23T02:49:41.642Z] Sending build context to Docker daemon 2.734MB [2021-05-23T02:49:41.642Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-23T02:49:41.642Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-23T02:49:41.642Z] ---> c3f2077c40c7 [2021-05-23T02:49:41.642Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-23T02:49:41.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-05-23T02:49:41.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2021-05-23T02:49:41.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-23T02:49:41.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-23T02:49:41.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-23T02:49:41.913Z] ---> Running in d536a63b7658 [2021-05-23T02:49:42.509Z] Removing intermediate container d536a63b7658 [2021-05-23T02:49:42.509Z] ---> 79bc7151e4e0 [2021-05-23T02:49:42.509Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-23T02:49:42.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 30.2% of statements [2021-05-23T02:49:42.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-23T02:49:42.783Z] ---> Running in 4b6f1c6d64ec [2021-05-23T02:49:43.389Z] Removing intermediate container 4b6f1c6d64ec [2021-05-23T02:49:43.389Z] ---> 7d7857b63898 [2021-05-23T02:49:43.389Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-23T02:49:43.389Z] ---> Running in 687443bc315e [2021-05-23T02:49:43.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 83.3% of statements [2021-05-23T02:49:43.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-23T02:49:43.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-23T02:49:43.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 58.0% of statements [2021-05-23T02:49:45.007Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.798s coverage: 89.2% of statements [2021-05-23T02:49:45.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-23T02:49:45.007Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 5.0% of statements [2021-05-23T02:49:45.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-23T02:49:45.273Z] GO111MODULE=on go vet ./... [2021-05-23T02:49:46.020Z] Removing intermediate container 687443bc315e [2021-05-23T02:49:46.020Z] ---> ff5c71e7c4d2 [2021-05-23T02:49:46.020Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-23T02:49:46.020Z] ---> Running in 94145f85900b [2021-05-23T02:49:46.998Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-23T02:49:47.969Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-23T02:49:48.560Z] OK: 139 MiB in 46 packages [2021-05-23T02:49:49.545Z] Removing intermediate container 94145f85900b [2021-05-23T02:49:49.545Z] ---> b33185e7297b [2021-05-23T02:49:49.545Z] Step 7/23 : COPY . . [2021-05-23T02:49:50.997Z] ---> 5150c473ebf4 [2021-05-23T02:49:50.997Z] Step 8/23 : RUN go mod download [2021-05-23T02:49:51.269Z] ---> Running in 205a13138d65 [2021-05-23T02:49:53.908Z] Removing intermediate container 205a13138d65 [2021-05-23T02:49:53.908Z] ---> e9739e374118 [2021-05-23T02:49:53.908Z] Step 9/23 : RUN make build [2021-05-23T02:49:53.908Z] ---> Running in a20a9b6034d3 [2021-05-23T02:49:54.897Z] go mod tidy [2021-05-23T02:49:55.500Z] 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-23T02:50:03.495Z] gofmt -l . [2021-05-23T02:50:03.495Z] [ "`gofmt -l .`" = "" ] [2021-05-23T02:50:03.495Z] ./bin/test-attribution-txt.sh [2021-05-23T02:50:03.495Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-23T02:50:03.508Z] $ docker stop --time=1 33295b07c2e145f71349f9ddf2b6e7ab2ddd482693c0f0c25f5788c5f2131d9b [2021-05-23T02:50:05.560Z] $ docker rm -f 33295b07c2e145f71349f9ddf2b6e7ab2ddd482693c0f0c25f5788c5f2131d9b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-23T02:50:06.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-23T02:50:06.098Z] Warning: overwriting stash ‘coverage-report’ [2021-05-23T02:50:06.291Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-23T02:50:08.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-23T02:50:09.075Z] + ls -al . [2021-05-23T02:50:09.075Z] total 212 [2021-05-23T02:50:09.075Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 23 02:50 . [2021-05-23T02:50:09.075Z] drwxrwxr-x. 4 jenkins jenkins 28 May 23 02:47 .. [2021-05-23T02:50:09.075Z] drwxrwxr-x. 2 jenkins jenkins 64 May 23 02:47 bin [2021-05-23T02:50:09.075Z] -rw-r--r--. 1 jenkins jenkins 126353 May 23 02:49 coverage.out [2021-05-23T02:50:09.075Z] -rw-rw-r--. 1 jenkins jenkins 987 May 23 02:47 Dockerfile.build [2021-05-23T02:50:09.075Z] -rw-rw-r--. 1 jenkins jenkins 140 May 23 02:47 .dockerignore [2021-05-23T02:50:09.075Z] drwxrwxr-x. 5 jenkins jenkins 62 May 23 02:47 example [2021-05-23T02:50:09.075Z] drwxrwxr-x. 8 jenkins jenkins 179 May 23 02:47 .git [2021-05-23T02:50:09.075Z] drwxrwxr-x. 2 jenkins jenkins 103 May 23 02:47 .github [2021-05-23T02:50:09.075Z] -rw-rw-r--. 1 jenkins jenkins 138 May 23 02:47 .gitignore [2021-05-23T02:50:09.075Z] -rw-r--r--. 1 jenkins jenkins 575 May 23 02:50 go.mod [2021-05-23T02:50:09.075Z] -rw-r--r--. 1 jenkins jenkins 20803 May 23 02:49 go.sum [2021-05-23T02:50:09.075Z] drwxrwxr-x. 15 jenkins jenkins 224 May 23 02:47 internal [2021-05-23T02:50:09.075Z] -rw-rw-r--. 1 jenkins jenkins 894 May 23 02:47 Jenkinsfile [2021-05-23T02:50:09.075Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 23 02:47 LICENSE [2021-05-23T02:50:09.075Z] -rw-rw-r--. 1 jenkins jenkins 997 May 23 02:47 Makefile [2021-05-23T02:50:09.075Z] drwxrwxr-x. 4 jenkins jenkins 26 May 23 02:47 openapi [2021-05-23T02:50:09.075Z] drwxrwxr-x. 5 jenkins jenkins 50 May 23 02:47 pkg [2021-05-23T02:50:09.075Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 23 02:47 README.md [2021-05-23T02:50:09.075Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 23 02:47 RELEASE-NOTES.txt [2021-05-23T02:50:09.075Z] drwxrwxr-x. 4 jenkins jenkins 54 May 23 02:47 snap [2021-05-23T02:50:09.075Z] -rw-rw-r--. 1 jenkins jenkins 5 May 23 02:42 VERSION [2021-05-23T02:50:09.075Z] -rw-rw-r--. 1 jenkins jenkins 222 May 23 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:50:09.386Z] + 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=dee0a5dbba48f9d9d8bbe9b40a427952e64b1b7b --label arch=amd64 --label version=0.0.0 . [2021-05-23T02:50:09.386Z] Sending build context to Docker daemon 2.735MB [2021-05-23T02:50:09.386Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-23T02:50:09.386Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-23T02:50:09.386Z] ---> cd4bac24d5df [2021-05-23T02:50:09.386Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-23T02:50:09.386Z] ---> Running in ff4e1efe3b45 [2021-05-23T02:50:09.646Z] Removing intermediate container ff4e1efe3b45 [2021-05-23T02:50:09.646Z] ---> f7b45c888c3a [2021-05-23T02:50:09.646Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-23T02:50:09.646Z] ---> Running in 42f41e49f92c [2021-05-23T02:50:09.646Z] Removing intermediate container 42f41e49f92c [2021-05-23T02:50:09.646Z] ---> ec193e629997 [2021-05-23T02:50:09.646Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-23T02:50:09.646Z] ---> Running in 4288abe778a4 [2021-05-23T02:50:10.228Z] Removing intermediate container 4288abe778a4 [2021-05-23T02:50:10.228Z] ---> 1cd579e538ce [2021-05-23T02:50:10.228Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-23T02:50:10.489Z] ---> Running in 90654c5d1d94 [2021-05-23T02:50:10.750Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-23T02:50:11.698Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-23T02:50:11.957Z] OK: 150 MiB in 46 packages [2021-05-23T02:50:12.220Z] Removing intermediate container 90654c5d1d94 [2021-05-23T02:50:12.220Z] ---> 431d63b0c8b5 [2021-05-23T02:50:12.220Z] Step 7/23 : COPY . . [2021-05-23T02:50:12.487Z] ---> e36c8ecdb12e [2021-05-23T02:50:12.487Z] Step 8/23 : RUN go mod download [2021-05-23T02:50:12.487Z] ---> Running in 831b7c88f446 [2021-05-23T02:50:13.065Z] Removing intermediate container 831b7c88f446 [2021-05-23T02:50:13.065Z] ---> a44f1ad386eb [2021-05-23T02:50:13.065Z] Step 9/23 : RUN make build [2021-05-23T02:50:13.065Z] ---> Running in 72edd9282e0d [2021-05-23T02:50:13.337Z] go mod tidy [2021-05-23T02:50:13.607Z] 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-23T02:50:25.998Z] Removing intermediate container 72edd9282e0d [2021-05-23T02:50:25.998Z] ---> 63ac867d11e1 [2021-05-23T02:50:25.998Z] Step 10/23 : FROM alpine:3.12 [2021-05-23T02:50:25.998Z] 3.12: Pulling from library/alpine [2021-05-23T02:50:25.998Z] 339de151aab4: Pulling fs layer [2021-05-23T02:50:25.998Z] 339de151aab4: Verifying Checksum [2021-05-23T02:50:25.998Z] 339de151aab4: Download complete [2021-05-23T02:50:25.998Z] 339de151aab4: Pull complete [2021-05-23T02:50:25.998Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-23T02:50:25.998Z] Status: Downloaded newer image for alpine:3.12 [2021-05-23T02:50:25.998Z] ---> 13621d1b12d4 [2021-05-23T02:50:25.998Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-23T02:50:25.998Z] ---> Running in 43a7616fd900 [2021-05-23T02:50:26.270Z] Removing intermediate container 43a7616fd900 [2021-05-23T02:50:26.270Z] ---> d90ed0516b0b [2021-05-23T02:50:26.270Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-23T02:50:26.270Z] ---> Running in 5f6329541c8f [2021-05-23T02:50:26.533Z] Removing intermediate container 5f6329541c8f [2021-05-23T02:50:26.533Z] ---> e87b863fedbf [2021-05-23T02:50:26.533Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-23T02:50:26.533Z] ---> Running in 006ea6f4019d [2021-05-23T02:50:26.795Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-23T02:50:27.740Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-23T02:50:28.002Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-23T02:50:28.002Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-23T02:50:28.002Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-23T02:50:29.392Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-23T02:50:29.392Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-23T02:50:29.392Z] Executing busybox-1.31.1-r20.trigger [2021-05-23T02:50:29.392Z] OK: 8 MiB in 19 packages [2021-05-23T02:50:29.654Z] Removing intermediate container 006ea6f4019d [2021-05-23T02:50:29.654Z] ---> 421631adc15c [2021-05-23T02:50:29.654Z] Step 14/23 : WORKDIR / [2021-05-23T02:50:29.654Z] ---> Running in 0b66ef156698 [2021-05-23T02:50:29.654Z] Removing intermediate container 0b66ef156698 [2021-05-23T02:50:29.654Z] ---> 55f2a48b3580 [2021-05-23T02:50:29.654Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-23T02:50:30.226Z] ---> 2524c214f078 [2021-05-23T02:50:30.226Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-23T02:50:31.168Z] ---> ec20cbb6714b [2021-05-23T02:50:31.168Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-23T02:50:31.168Z] ---> 6061daa774c9 [2021-05-23T02:50:31.168Z] Step 18/23 : EXPOSE 59999 [2021-05-23T02:50:31.434Z] ---> Running in 9e5cc4ad6012 [2021-05-23T02:50:31.434Z] Removing intermediate container 9e5cc4ad6012 [2021-05-23T02:50:31.434Z] ---> 4f49bc51753a [2021-05-23T02:50:31.434Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-23T02:50:31.434Z] ---> Running in ce239b72e074 [2021-05-23T02:50:31.699Z] Removing intermediate container ce239b72e074 [2021-05-23T02:50:31.699Z] ---> d08ee30fed9a [2021-05-23T02:50:31.699Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-23T02:50:31.699Z] ---> Running in 1bdd1b893f33 [2021-05-23T02:50:31.699Z] Removing intermediate container 1bdd1b893f33 [2021-05-23T02:50:31.699Z] ---> b717bff6910b [2021-05-23T02:50:31.699Z] Step 21/23 : LABEL arch=amd64 [2021-05-23T02:50:31.959Z] ---> Running in 1db016670e71 [2021-05-23T02:50:32.221Z] Removing intermediate container 1db016670e71 [2021-05-23T02:50:32.221Z] ---> 0dc5895417da [2021-05-23T02:50:32.221Z] Step 22/23 : LABEL git_sha=dee0a5dbba48f9d9d8bbe9b40a427952e64b1b7b [2021-05-23T02:50:32.221Z] ---> Running in 63dbf543ddd1 [2021-05-23T02:50:32.483Z] Removing intermediate container 63dbf543ddd1 [2021-05-23T02:50:32.483Z] ---> 2b4d22b06a87 [2021-05-23T02:50:32.483Z] Step 23/23 : LABEL version=0.0.0 [2021-05-23T02:50:32.483Z] ---> Running in 4b56e4fe538e [2021-05-23T02:50:32.744Z] Removing intermediate container 4b56e4fe538e [2021-05-23T02:50:32.744Z] ---> 3385ba476073 [2021-05-23T02:50:32.744Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-23T02:50:32.744Z] Successfully built 3385ba476073 [2021-05-23T02:50:32.744Z] 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-23T02:50:33.724Z] ---> job-cost.sh [2021-05-23T02:50:33.724Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XaWy [2021-05-23T02:50:35.111Z] Removing intermediate container a20a9b6034d3 [2021-05-23T02:50:35.111Z] ---> 897f653f5e86 [2021-05-23T02:50:35.111Z] Step 10/23 : FROM alpine:3.12 [2021-05-23T02:50:35.111Z] 3.12: Pulling from library/alpine [2021-05-23T02:50:35.111Z] d2f70382dc9a: Pulling fs layer [2021-05-23T02:50:35.111Z] d2f70382dc9a: Verifying Checksum [2021-05-23T02:50:35.111Z] d2f70382dc9a: Download complete [2021-05-23T02:50:35.111Z] d2f70382dc9a: Pull complete [2021-05-23T02:50:35.111Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-23T02:50:35.111Z] Status: Downloaded newer image for alpine:3.12 [2021-05-23T02:50:35.111Z] ---> 9852663dfa18 [2021-05-23T02:50:35.111Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-23T02:50:35.111Z] ---> Running in 4a9ef6ef112f [2021-05-23T02:50:35.111Z] Removing intermediate container 4a9ef6ef112f [2021-05-23T02:50:35.111Z] ---> 1ad219e40ae3 [2021-05-23T02:50:35.111Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-23T02:50:35.111Z] ---> Running in 58fb77efb714 [2021-05-23T02:50:35.111Z] Removing intermediate container 58fb77efb714 [2021-05-23T02:50:35.111Z] ---> b2f204c9f052 [2021-05-23T02:50:35.111Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-23T02:50:35.111Z] ---> Running in 86693973bfbd [2021-05-23T02:50:35.704Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-23T02:50:36.689Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-23T02:50:38.698Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-23T02:50:38.972Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-23T02:50:39.245Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-23T02:50:40.245Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-23T02:50:40.518Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-23T02:50:40.791Z] Executing busybox-1.31.1-r20.trigger [2021-05-23T02:50:40.791Z] OK: 8 MiB in 19 packages [2021-05-23T02:50:42.254Z] Removing intermediate container 86693973bfbd [2021-05-23T02:50:42.254Z] ---> 029df72ad7ba [2021-05-23T02:50:42.254Z] Step 14/23 : WORKDIR / [2021-05-23T02:50:42.254Z] ---> Running in 896389f396dc [2021-05-23T02:50:42.565Z] Removing intermediate container 896389f396dc [2021-05-23T02:50:42.565Z] ---> c52657a5e166 [2021-05-23T02:50:42.565Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-23T02:50:43.587Z] ---> 72ac44387c71 [2021-05-23T02:50:43.587Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-23T02:50:43.785Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-23T02:50:44.583Z] ---> 6a2e787532ad [2021-05-23T02:50:44.583Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-23T02:50:45.575Z] ---> 13f85cf3a0a6 [2021-05-23T02:50:45.575Z] Step 18/23 : EXPOSE 59999 [2021-05-23T02:50:45.575Z] ---> Running in f1b99acfd76b [2021-05-23T02:50:46.177Z] Removing intermediate container f1b99acfd76b [2021-05-23T02:50:46.177Z] ---> eb9c271e73e6 [2021-05-23T02:50:46.177Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-23T02:50:46.177Z] ---> Running in 99a49ad384ff [2021-05-23T02:50:46.781Z] Removing intermediate container 99a49ad384ff [2021-05-23T02:50:46.781Z] ---> f67c1afb9bcf [2021-05-23T02:50:46.781Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-23T02:50:46.781Z] ---> Running in 0640e84f0f3a [2021-05-23T02:50:47.400Z] Removing intermediate container 0640e84f0f3a [2021-05-23T02:50:47.400Z] ---> 8f794b665c0a [2021-05-23T02:50:47.400Z] Step 21/23 : LABEL arch=arm64 [2021-05-23T02:50:47.400Z] ---> Running in ed9224895a7d [2021-05-23T02:50:48.002Z] Removing intermediate container ed9224895a7d [2021-05-23T02:50:48.002Z] ---> aa493ca3667e [2021-05-23T02:50:48.002Z] Step 22/23 : LABEL git_sha=09920661a2fe1d89557432fe196c30a2da096e92 [2021-05-23T02:50:48.002Z] ---> Running in 3f0bc42ea1fe [2021-05-23T02:50:50.064Z] Removing intermediate container 3f0bc42ea1fe [2021-05-23T02:50:50.064Z] ---> 1b51778e096a [2021-05-23T02:50:50.064Z] Step 23/23 : LABEL version=0.0.0 [2021-05-23T02:50:50.064Z] ---> Running in 7aeda59124c9 [2021-05-23T02:50:50.064Z] Removing intermediate container 7aeda59124c9 [2021-05-23T02:50:50.064Z] ---> 94924e9c7379 [2021-05-23T02:50:50.064Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-23T02:50:50.064Z] Successfully built 94924e9c7379 [2021-05-23T02:50:50.064Z] 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-23T02:50:50.777Z] ---> job-cost.sh [2021-05-23T02:50:50.777Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-N2EB [2021-05-23T02:50:58.087Z] lf-activate-venv(): INFO: Adding /tmp/venv-XaWy/bin to PATH [2021-05-23T02:50:58.087Z] INFO: No Stack... [2021-05-23T02:50:58.087Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-23T02:50:58.087Z] INFO: Archiving Costs [Pipeline] sh [2021-05-23T02:50:58.393Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-05-23T02:50:58.393Z] + cut -d, -f6 [Pipeline] lock [2021-05-23T02:50:58.477Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-6-stack-cost] [2021-05-23T02:50:58.492Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-6-stack-cost] did not exist. Created. [2021-05-23T02:50:58.492Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-23T02:50:58.878Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-23T02:50:58.998Z] Stashed 1 file(s) [Pipeline] } [2021-05-23T02:50:59.015Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-23T02:51:30.001Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-23T02:53:06.821Z] lf-activate-venv(): INFO: Adding /tmp/venv-N2EB/bin to PATH [2021-05-23T02:53:06.821Z] INFO: No Stack... [2021-05-23T02:53:06.822Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-23T02:53:06.822Z] INFO: Archiving Costs [Pipeline] sh [2021-05-23T02:53:07.176Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-05-23T02:53:07.177Z] + cut -d, -f6 [Pipeline] lock [2021-05-23T02:53:07.241Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-6-stack-cost] [2021-05-23T02:53:07.249Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-6-stack-cost] did not exist. Created. [2021-05-23T02:53:07.249Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-23T02:53:07.636Z] /w/workspace/device-sdk-go/6@tmp/durable-7e5dda1b/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-7e5dda1b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-23T02:53:07.986Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-23T02:53:08.020Z] Warning: overwriting stash ‘stack-cost’ [2021-05-23T02:53:08.183Z] Stashed 1 file(s) [Pipeline] } [2021-05-23T02:53:08.207Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-6-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-23T02:53:14.461Z] provisioning config files... [2021-05-23T02:53:14.476Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config5836468159076747748tmp [Pipeline] { [Pipeline] sh [2021-05-23T02:53:14.801Z] + set +x [2021-05-23T02:53:14.802Z] + curl -s https://codecov.io/bash [2021-05-23T02:53:14.802Z] + bash -s -- [2021-05-23T02:53:14.802Z] [2021-05-23T02:53:14.802Z] _____ _ [2021-05-23T02:53:14.802Z] / ____| | | [2021-05-23T02:53:14.802Z] | | ___ __| | ___ ___ _____ __ [2021-05-23T02:53:14.802Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-23T02:53:14.802Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-23T02:53:14.802Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-23T02:53:14.802Z] Bash-1.0.2 [2021-05-23T02:53:14.802Z] [2021-05-23T02:53:14.802Z] [2021-05-23T02:53:14.802Z] ==> git version 2.24.4 found [2021-05-23T02:53:14.802Z] ==> 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-23T02:53:14.802Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-23T02:53:14.802Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-23T02:53:14.802Z] ==> Jenkins CI detected. [2021-05-23T02:53:15.066Z] project root: . [2021-05-23T02:53:15.066Z] --> token set from env [2021-05-23T02:53:15.066Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-23T02:53:15.066Z] ==> Running gcov in . (disable via -X gcov) [2021-05-23T02:53:15.066Z] ==> Python coveragepy not found [2021-05-23T02:53:15.066Z] ==> Searching for coverage reports in: [2021-05-23T02:53:15.066Z] + . [2021-05-23T02:53:15.066Z] -> Found 1 reports [2021-05-23T02:53:15.066Z] ==> Detecting git/mercurial file structure [2021-05-23T02:53:15.066Z] ==> Reading reports [2021-05-23T02:53:15.066Z] + ./coverage.out bytes=126353 [2021-05-23T02:53:15.066Z] ==> Appending adjustments [2021-05-23T02:53:15.066Z] https://docs.codecov.io/docs/fixing-reports [2021-05-23T02:53:15.329Z] + Found adjustments [2021-05-23T02:53:15.329Z] ==> Gzipping contents [2021-05-23T02:53:15.329Z] 20K /tmp/codecov.GnSYeC.gz [2021-05-23T02:53:15.329Z] ==> Uploading reports [2021-05-23T02:53:15.329Z] url: https://codecov.io [2021-05-23T02:53:15.329Z] query: branch=PR-934&commit=6f433b9b7f0649d8b050b33a5a6852c0330ed883&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-23T02:53:15.329Z] -> Pinging Codecov [2021-05-23T02:53:15.329Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-934&commit=6f433b9b7f0649d8b050b33a5a6852c0330ed883&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-23T02:53:15.902Z] -> Uploading to [2021-05-23T02:53:15.902Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-23/7E55EF52A471D76F132DFD9A03CDDE97/6f433b9b7f0649d8b050b33a5a6852c0330ed883/2847c2f1-a521-4656-8c97-461c534fc6b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210523T025315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2de769f758eccb428dab04d802b36659d13ee305b99e797443234e9c46336a17 [2021-05-23T02:53:15.902Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-23T02:53:15.902Z] Dload Upload Total Spent Left Speed [2021-05-23T02:53:16.163Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16469 0 0 100 16469 0 49003 --:--:-- --:--:-- --:--:-- 49161 [2021-05-23T02:53:16.163Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6f433b9b7f0649d8b050b33a5a6852c0330ed883 [Pipeline] } [2021-05-23T02:53:16.170Z] 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-23T02:53:17.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-23T02:53:18.388Z] ---> package-listing.sh [2021-05-23T02:53:18.388Z] ++ facter osfamily [2021-05-23T02:53:18.388Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-23T02:53:18.655Z] + OS_FAMILY=redhat [2021-05-23T02:53:18.655Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-23T02:53:18.656Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-23T02:53:18.656Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-23T02:53:18.656Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-23T02:53:18.656Z] + PACKAGES=/tmp/packages_start.txt [2021-05-23T02:53:18.656Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-23T02:53:18.656Z] + PACKAGES=/tmp/packages_end.txt [2021-05-23T02:53:18.656Z] + case "${OS_FAMILY}" in [2021-05-23T02:53:18.656Z] + rpm -qa [2021-05-23T02:53:18.656Z] + sort [2021-05-23T02:53:19.240Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-23T02:53:19.240Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-23T02:53:19.240Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-23T02:53:19.240Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-23T02:53:19.240Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [2021-05-23T02:53:19.240Z] + 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-23T02:53:19.254Z] 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-23T02:53:19.548Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:53:20.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-23T02:53:20.115Z] [2021-05-23T02:53:20.115Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-23T02:53:20.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-23T02:53:20.435Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-23T02:53:20.435Z] df20fa9351a1: Pulling fs layer [2021-05-23T02:53:20.435Z] 36b3adc4ff6f: Pulling fs layer [2021-05-23T02:53:20.435Z] 8ad3a11d3b57: Pulling fs layer [2021-05-23T02:53:20.435Z] 46f8f816bc3b: Pulling fs layer [2021-05-23T02:53:20.435Z] 93b61091891f: Pulling fs layer [2021-05-23T02:53:20.435Z] 93b9cdb0e59b: Pulling fs layer [2021-05-23T02:53:20.435Z] 5e14af77c1be: Pulling fs layer [2021-05-23T02:53:20.435Z] 01666e4c0597: Pulling fs layer [2021-05-23T02:53:20.435Z] aa168da1d23b: Pulling fs layer [2021-05-23T02:53:20.435Z] 46f8f816bc3b: Waiting [2021-05-23T02:53:20.435Z] 93b61091891f: Waiting [2021-05-23T02:53:20.435Z] 93b9cdb0e59b: Waiting [2021-05-23T02:53:20.435Z] 5e14af77c1be: Waiting [2021-05-23T02:53:20.435Z] 01666e4c0597: Waiting [2021-05-23T02:53:20.435Z] aa168da1d23b: Waiting [2021-05-23T02:53:20.435Z] 36b3adc4ff6f: Verifying Checksum [2021-05-23T02:53:20.435Z] 36b3adc4ff6f: Download complete [2021-05-23T02:53:20.435Z] 46f8f816bc3b: Verifying Checksum [2021-05-23T02:53:20.435Z] 46f8f816bc3b: Download complete [2021-05-23T02:53:20.698Z] df20fa9351a1: Verifying Checksum [2021-05-23T02:53:20.698Z] df20fa9351a1: Download complete [2021-05-23T02:53:20.698Z] 93b9cdb0e59b: Verifying Checksum [2021-05-23T02:53:20.698Z] 93b9cdb0e59b: Download complete [2021-05-23T02:53:20.698Z] 5e14af77c1be: Verifying Checksum [2021-05-23T02:53:20.698Z] 5e14af77c1be: Download complete [2021-05-23T02:53:20.698Z] 93b61091891f: Verifying Checksum [2021-05-23T02:53:20.698Z] 93b61091891f: Download complete [2021-05-23T02:53:20.698Z] 01666e4c0597: Verifying Checksum [2021-05-23T02:53:20.698Z] 01666e4c0597: Download complete [2021-05-23T02:53:20.698Z] df20fa9351a1: Pull complete [2021-05-23T02:53:20.960Z] 8ad3a11d3b57: Verifying Checksum [2021-05-23T02:53:20.960Z] 8ad3a11d3b57: Download complete [2021-05-23T02:53:20.960Z] 36b3adc4ff6f: Pull complete [2021-05-23T02:53:23.367Z] 8ad3a11d3b57: Pull complete [2021-05-23T02:53:23.367Z] 46f8f816bc3b: Pull complete [2021-05-23T02:53:23.367Z] 93b61091891f: Pull complete [2021-05-23T02:53:23.367Z] 93b9cdb0e59b: Pull complete [2021-05-23T02:53:23.367Z] 5e14af77c1be: Pull complete [2021-05-23T02:53:23.367Z] 01666e4c0597: Pull complete [2021-05-23T02:53:23.367Z] aa168da1d23b: Verifying Checksum [2021-05-23T02:53:23.367Z] aa168da1d23b: Download complete [2021-05-23T02:53:27.639Z] aa168da1d23b: Pull complete [2021-05-23T02:53:27.639Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-23T02:53:27.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-23T02:53:27.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-23T02:53:27.733Z] prd-centos7-docker-4c-2g-15679 does not seem to be running inside a container [2021-05-23T02:53:27.790Z] $ 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-23T02:53:30.076Z] $ docker top 5844596d018c561000f636f42bef33cf3909cc30162f953d54d038ad860ccc3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-23T02:53:30.493Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-23T02:53:30.805Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-23T02:53:31.106Z] + ls /var/log/sa-host [2021-05-23T02:53:31.107Z] + sadf -c /var/log/sa-host/sa05 [2021-05-23T02:53:31.107Z] file_magic: OK [2021-05-23T02:53:31.107Z] HZ: Using current value: 100 [2021-05-23T02:53:31.107Z] file_header: OK [2021-05-23T02:53:31.107Z] 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-23T02:53:31.107Z] Statistics: [2021-05-23T02:53:31.107Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-23T02:53:31.107Z] File successfully converted to sysstat format version 12.2.1 [2021-05-23T02:53:31.107Z] + sadf -c /var/log/sa-host/sa23 [2021-05-23T02:53:31.107Z] file_magic: OK [2021-05-23T02:53:31.107Z] HZ: Using current value: 100 [2021-05-23T02:53:31.107Z] file_header: OK [2021-05-23T02:53:31.107Z] 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-23T02:53:31.107Z] Statistics: [2021-05-23T02:53:31.107Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-23T02:53:31.107Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-23T02:53:31.708Z] provisioning config files... [2021-05-23T02:53:31.721Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config8549513373468237291tmp [Pipeline] { [Pipeline] echo [2021-05-23T02:53:31.744Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-23T02:53:32.045Z] ---> create-netrc.sh [Pipeline] } [2021-05-23T02:53:32.053Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-23T02:53:32.082Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-23T02:53:32.382Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-23T02:53:32.395Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-23T02:53:32.703Z] ---> sudo-logs.sh [2021-05-23T02:53:32.703Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-23T02:53:32.737Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-23T02:53:33.037Z] ---> job-cost.sh [2021-05-23T02:53:33.037Z] lf-activate-venv: SKIPPING [2021-05-23T02:53:33.037Z] DEBUG: total: 0.18000000715255737 [2021-05-23T02:53:33.037Z] INFO: Retrieving Stack Cost... [2021-05-23T02:53:33.980Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-23T02:53:34.247Z] INFO: Archiving Costs [Pipeline] echo [2021-05-23T02:53:34.267Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-23T02:53:34.587Z] ---> logs-deploy.sh [2021-05-23T02:53:34.587Z] lf-activate-venv: SKIPPING [2021-05-23T02:53:34.587Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-934/6 [2021-05-23T02:53:34.587Z] INFO: archiving workspace using pattern(s): [2021-05-23T02:53:35.537Z] Archives upload complete. [2021-05-23T02:53:35.537Z] INFO: archiving logs to Nexus