Pull request #926 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 8132b7bf90af7980e7b45fdac955f17250c4ff64+c475c2f4568a77e7de241284990901c927f62505 (19d130c825906c8e3c0b3ab4f0262c55d134bd90) 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-ssh2724859738355253045.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-ssh2646115125358560352.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-926/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-926/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3654987775478261210.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-ssh7250505571951139642.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-926/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-926/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6436604961972719965.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-380 in /w/workspace/dgexfoundry_device-sdk-go_PR-926 [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-926 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub [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-926@tmp/jenkins-gitclient-ssh8577210893196581738.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c475c2f4568a77e7de241284990901c927f62505 into PR head commit 8132b7bf90af7980e7b45fdac955f17250c4ff64 Merge succeeded, producing 8132b7bf90af7980e7b45fdac955f17250c4ff64 Checking out Revision 8132b7bf90af7980e7b45fdac955f17250c4ff64 (PR-926) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/jenkins-gitclient-ssh4468370037670283112.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/926/head:refs/remotes/origin/PR-926 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8132b7bf90af7980e7b45fdac955f17250c4ff64 # 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-926@tmp/jenkins-gitclient-ssh3168806098357068949.key > git merge c475c2f4568a77e7de241284990901c927f62505 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8132b7bf90af7980e7b45fdac955f17250c4ff64 # timeout=10 Commit message: "refactor: Update for new service key names and overrides for hyphen to underscore" First time build. Skipping changelog. > git rev-list --no-walk b52e0f43678db63070086a6970ba1f05f3443929 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-17T15:58:35.843Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-17T15:58:35.975Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-17T15:58:36.005Z] ========================================================= [2021-05-17T15:58:36.005Z] EdgeX Global Pipelines Version Info [2021-05-17T15:58:36.006Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:58:37.480Z] ------------------- [2021-05-17T15:58:37.481Z] stable info: [2021-05-17T15:58:37.481Z] ------------------- [2021-05-17T15:58:37.481Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-17T15:58:37.481Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T15:58:37.481Z] Message: update stable to v1.0.192 [2021-05-17T15:58:38.873Z] ------------------- [2021-05-17T15:58:38.873Z] experimental info: [2021-05-17T15:58:38.873Z] ------------------- [2021-05-17T15:58:38.873Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-17T15:58:38.873Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T15:58:38.873Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-17T15:58:38.997Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-17T15:58:39.022Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-17T15:58:39.044Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-17T15:58:39.068Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-17T15:58:39.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-17T15:58:39.114Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-17T15:58:39.137Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-17T15:58:39.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-17T15:58:39.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-17T15:58:39.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-17T15:58:39.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-17T15:58:39.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-17T15:58:39.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-17T15:58:39.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-17T15:58:39.341Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T15:58:39.364Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T15:58:39.387Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T15:58:39.410Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T15:58:39.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-17T15:58:39.465Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-17T15:58:39.489Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-17T15:58:39.513Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-17T15:58:39.536Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-17T15:58:39.561Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-17T15:58:39.611Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-17T15:58:39.635Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-17T15:58:39.680Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-926 [Pipeline] echo [2021-05-17T15:58:39.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-926 [Pipeline] echo [2021-05-17T15:58:39.726Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-926 [Pipeline] echo [2021-05-17T15:58:39.749Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8132b7bf90af7980e7b45fdac955f17250c4ff64 [Pipeline] echo [2021-05-17T15:58:39.771Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8132b7b [Pipeline] echo [2021-05-17T15:58:39.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:58:39.871Z] provisioning config files... [2021-05-17T15:58:39.887Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/config2405727264566221527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:58:40.208Z] ---> docker-login.sh [2021-05-17T15:58:40.208Z] nexus3.edgexfoundry.org:10001 [2021-05-17T15:58:40.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:58:40.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:58:40.474Z] Configure a credential helper to remove this warning. See [2021-05-17T15:58:40.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:58:40.474Z] [2021-05-17T15:58:40.474Z] Login Succeeded [2021-05-17T15:58:40.474Z] nexus3.edgexfoundry.org:10002 [2021-05-17T15:58:40.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:58:40.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:58:40.737Z] Configure a credential helper to remove this warning. See [2021-05-17T15:58:40.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:58:40.737Z] [2021-05-17T15:58:40.737Z] Login Succeeded [2021-05-17T15:58:40.737Z] nexus3.edgexfoundry.org:10003 [2021-05-17T15:58:41.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:58:41.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:58:41.002Z] Configure a credential helper to remove this warning. See [2021-05-17T15:58:41.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:58:41.002Z] [2021-05-17T15:58:41.002Z] Login Succeeded [2021-05-17T15:58:41.002Z] nexus3.edgexfoundry.org:10004 [2021-05-17T15:58:41.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:58:41.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:58:41.265Z] Configure a credential helper to remove this warning. See [2021-05-17T15:58:41.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:58:41.265Z] [2021-05-17T15:58:41.265Z] Login Succeeded [2021-05-17T15:58:41.265Z] docker.io [2021-05-17T15:58:41.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:58:41.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:58:41.527Z] Configure a credential helper to remove this warning. See [2021-05-17T15:58:41.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:58:41.527Z] [2021-05-17T15:58:41.527Z] Login Succeeded [2021-05-17T15:58:41.527Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T15:58:41.537Z] 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-17T15:58:42.097Z] + git log --format=format:%s -1 8132b7bf90af7980e7b45fdac955f17250c4ff64 [Pipeline] echo [2021-05-17T15:58:42.141Z] GIT_COMMIT: 8132b7bf90af7980e7b45fdac955f17250c4ff64, Commit Message: refactor: Update for new service key names and overrides for hyphen to underscore [Pipeline] echo [2021-05-17T15:58:42.155Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:58:42.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:58:42.734Z] [2021-05-17T15:58:42.734Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:58:43.082Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:58:43.082Z] latest: Pulling from edgex-devops/git-semver [2021-05-17T15:58:43.082Z] 31603596830f: Pulling fs layer [2021-05-17T15:58:43.082Z] 54011a49482f: Pulling fs layer [2021-05-17T15:58:43.082Z] a6820b24f6d8: Pulling fs layer [2021-05-17T15:58:43.082Z] f581987b2513: Pulling fs layer [2021-05-17T15:58:43.082Z] f581987b2513: Waiting [2021-05-17T15:58:43.082Z] 54011a49482f: Verifying Checksum [2021-05-17T15:58:43.082Z] 54011a49482f: Download complete [2021-05-17T15:58:43.082Z] 31603596830f: Verifying Checksum [2021-05-17T15:58:43.082Z] 31603596830f: Download complete [2021-05-17T15:58:43.353Z] f581987b2513: Verifying Checksum [2021-05-17T15:58:43.353Z] f581987b2513: Download complete [2021-05-17T15:58:43.353Z] a6820b24f6d8: Verifying Checksum [2021-05-17T15:58:43.353Z] a6820b24f6d8: Download complete [2021-05-17T15:58:43.619Z] 31603596830f: Pull complete [2021-05-17T15:58:43.887Z] 54011a49482f: Pull complete [2021-05-17T15:58:44.842Z] a6820b24f6d8: Pull complete [2021-05-17T15:58:44.842Z] f581987b2513: Pull complete [2021-05-17T15:58:44.842Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-17T15:58:45.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:58:45.106Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-17T15:58:45.285Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2021-05-17T15:58:45.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-926 -v /w/workspace/dgexfoundry_device-sdk-go_PR-926:/w/workspace/dgexfoundry_device-sdk-go_PR-926:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-926@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-17T15:58:47.385Z] $ docker top f22a7a70241933658545dc89ad725089fdd66ed4a340e38f945dedd39ac2de9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-17T15:58:47.638Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T15:58:47.638Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T15:58:47.896Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T15:58:47.900Z] $ docker exec f22a7a70241933658545dc89ad725089fdd66ed4a340e38f945dedd39ac2de9e ssh-agent [2021-05-17T15:58:48.109Z] SSH_AUTH_SOCK=/tmp/ssh-FqvAhM9eUTC2/agent.11 [2021-05-17T15:58:48.109Z] SSH_AGENT_PID=16 [2021-05-17T15:58:48.130Z] Running ssh-add (command line suppressed) [2021-05-17T15:58:48.254Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/private_key_8544835514640392284.key (/w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/private_key_8544835514640392284.key) [2021-05-17T15:58:48.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T15:58:48.629Z] + git tag --points-at HEAD [Pipeline] } [2021-05-17T15:58:48.652Z] $ docker exec --env ******** --env ******** f22a7a70241933658545dc89ad725089fdd66ed4a340e38f945dedd39ac2de9e ssh-agent -k [2021-05-17T15:58:48.784Z] unset SSH_AUTH_SOCK; [2021-05-17T15:58:48.784Z] unset SSH_AGENT_PID; [2021-05-17T15:58:48.785Z] echo Agent pid 16 killed; [2021-05-17T15:58:48.841Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-17T15:58:48.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T15:58:48.897Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T15:58:49.069Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T15:58:49.072Z] $ docker exec f22a7a70241933658545dc89ad725089fdd66ed4a340e38f945dedd39ac2de9e ssh-agent [2021-05-17T15:58:49.248Z] SSH_AUTH_SOCK=/tmp/ssh-87EbzyRsP3ql/agent.45 [2021-05-17T15:58:49.248Z] SSH_AGENT_PID=50 [2021-05-17T15:58:49.257Z] Running ssh-add (command line suppressed) [2021-05-17T15:58:49.378Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/private_key_7914692841601903131.key (/w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/private_key_7914692841601903131.key) [2021-05-17T15:58:49.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T15:58:49.748Z] + git semver init [2021-05-17T15:58:49.748Z] # -> Open(): unable to determine branch for HEAD [2021-05-17T15:58:49.748Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-926/.git [2021-05-17T15:58:49.748Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-926 [2021-05-17T15:58:49.748Z] # $SEMVER_REMOTE_NAME = origin [2021-05-17T15:58:49.748Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-17T15:58:49.748Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-17T15:58:49.748Z] # $SEMVER_BRANCH = PR-926 [2021-05-17T15:58:49.748Z] # $SEMVER_TEMP = /tmp/semver-045179871 [2021-05-17T15:58:49.748Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-17T15:58:50.712Z] # '/tmp/semver-045179871' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-926/.semver' [2021-05-17T15:58:50.712Z] # -> Force: false [2021-05-17T15:58:50.712Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-926/.semver [Pipeline] } [2021-05-17T15:58:50.726Z] $ docker exec --env ******** --env ******** f22a7a70241933658545dc89ad725089fdd66ed4a340e38f945dedd39ac2de9e ssh-agent -k [2021-05-17T15:58:50.858Z] unset SSH_AUTH_SOCK; [2021-05-17T15:58:50.859Z] unset SSH_AGENT_PID; [2021-05-17T15:58:50.859Z] echo Agent pid 50 killed; [2021-05-17T15:58:50.909Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-17T15:58:51.250Z] + git semver [Pipeline] } [2021-05-17T15:58:51.268Z] $ docker stop --time=1 f22a7a70241933658545dc89ad725089fdd66ed4a340e38f945dedd39ac2de9e [2021-05-17T15:58:52.837Z] $ docker rm -f f22a7a70241933658545dc89ad725089fdd66ed4a340e38f945dedd39ac2de9e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T15:58:53.249Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-17T15:58:53.630Z] Stashed 1 file(s) [Pipeline] echo [2021-05-17T15:58:53.634Z] [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-17T15:59:08.857Z] Still waiting to schedule task [2021-05-17T15:59:08.858Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-17T15:59:08.860Z] Still waiting to schedule task [2021-05-17T15:59:08.861Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-17T16:02:18.043Z] Running on prd-centos7-docker-4c-2g-381 in /w/workspace/dgexfoundry_device-sdk-go_PR-926 [Pipeline] { [Pipeline] ws [2021-05-17T16:02:18.063Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-05-17T16:02:18.397Z] Selected Git installation does not exist. Using Default [2021-05-17T16:02:18.397Z] The recommended git tool is: NONE [2021-05-17T16:02:26.332Z] using credential edgex-jenkins-ssh [2021-05-17T16:02:26.346Z] Cloning the remote Git repository [2021-05-17T16:02:26.392Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-17T16:02:26.473Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-05-17T16:02:26.555Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-17T16:02:26.556Z] > git --version # timeout=10 [2021-05-17T16:02:26.572Z] > git --version # 'git version 2.24.3' [2021-05-17T16:02:26.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T16:02:26.653Z] [INFO] Currently running in a labeled security context [2021-05-17T16:02:26.653Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T16:02:26.654Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh481735185007451018.key [2021-05-17T16:02:26.712Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T16:02:27.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-17T16:02:27.635Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T16:02:28.521Z] Merging remotes/origin/master commit c475c2f4568a77e7de241284990901c927f62505 into PR head commit 8132b7bf90af7980e7b45fdac955f17250c4ff64 [2021-05-17T16:02:27.715Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-17T16:02:27.746Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-17T16:02:27.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T16:02:27.748Z] [INFO] Currently running in a labeled security context [2021-05-17T16:02:27.748Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T16:02:27.749Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh3961520966637754854.key [2021-05-17T16:02:27.868Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/926/head:refs/remotes/origin/PR-926 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-17T16:02:28.553Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T16:02:28.650Z] > git checkout -f 8132b7bf90af7980e7b45fdac955f17250c4ff64 # timeout=10 [2021-05-17T16:02:28.862Z] > git remote # timeout=10 [2021-05-17T16:02:28.902Z] > git config --get remote.origin.url # timeout=10 [2021-05-17T16:02:28.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T16:02:28.985Z] [INFO] Currently running in a labeled security context [2021-05-17T16:02:28.986Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T16:02:28.986Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh8273958872781503570.key [2021-05-17T16:02:29.066Z] > git merge c475c2f4568a77e7de241284990901c927f62505 # timeout=10 [2021-05-17T16:02:29.093Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-17T16:02:29.129Z] Merge succeeded, producing 8132b7bf90af7980e7b45fdac955f17250c4ff64 [2021-05-17T16:02:29.130Z] Checking out Revision 8132b7bf90af7980e7b45fdac955f17250c4ff64 (PR-926) [2021-05-17T16:02:29.133Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T16:02:29.139Z] > git checkout -f 8132b7bf90af7980e7b45fdac955f17250c4ff64 # timeout=10 [2021-05-17T16:02:33.214Z] Commit message: "refactor: Update for new service key names and overrides for hyphen to underscore" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T16:02:34.428Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-17T16:02:34.795Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T16:02:35.106Z] + sudo service docker restart [2021-05-17T16:02:35.106Z] + true [2021-05-17T16:02:35.106Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T16:02:36.586Z] provisioning config files... [2021-05-17T16:02:36.621Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3519759885173011384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T16:02:37.059Z] ---> docker-login.sh [2021-05-17T16:02:37.060Z] nexus3.edgexfoundry.org:10001 [2021-05-17T16:02:37.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T16:02:37.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T16:02:37.606Z] Configure a credential helper to remove this warning. See [2021-05-17T16:02:37.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T16:02:37.606Z] [2021-05-17T16:02:37.606Z] Login Succeeded [2021-05-17T16:02:37.606Z] nexus3.edgexfoundry.org:10002 [2021-05-17T16:02:37.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T16:02:37.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T16:02:37.886Z] Configure a credential helper to remove this warning. See [2021-05-17T16:02:37.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T16:02:37.886Z] [2021-05-17T16:02:37.886Z] Login Succeeded [2021-05-17T16:02:37.886Z] nexus3.edgexfoundry.org:10003 [2021-05-17T16:02:38.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T16:02:38.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T16:02:38.165Z] Configure a credential helper to remove this warning. See [2021-05-17T16:02:38.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T16:02:38.165Z] [2021-05-17T16:02:38.165Z] Login Succeeded [2021-05-17T16:02:38.165Z] nexus3.edgexfoundry.org:10004 [2021-05-17T16:02:38.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T16:02:38.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T16:02:38.436Z] Configure a credential helper to remove this warning. See [2021-05-17T16:02:38.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T16:02:38.436Z] [2021-05-17T16:02:38.436Z] Login Succeeded [2021-05-17T16:02:38.436Z] docker.io [2021-05-17T16:02:38.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T16:02:38.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T16:02:38.968Z] Configure a credential helper to remove this warning. See [2021-05-17T16:02:38.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T16:02:38.968Z] [2021-05-17T16:02:38.968Z] Login Succeeded [2021-05-17T16:02:38.968Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T16:02:38.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-17T16:02:39.257Z] ========================================================= [2021-05-17T16:02:39.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-17T16:02:39.257Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T16:02:39.581Z] + 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-17T16:02:39.857Z] Sending build context to Docker daemon 2.588MB [2021-05-17T16:02:39.857Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T16:02:39.857Z] Step 2/8 : FROM ${BASE} [2021-05-17T16:02:39.857Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-17T16:02:39.857Z] 540db60ca938: Pulling fs layer [2021-05-17T16:02:39.857Z] adcc1eea9eea: Pulling fs layer [2021-05-17T16:02:39.857Z] 4c4ab2625f07: Pulling fs layer [2021-05-17T16:02:39.857Z] 0510c868ecb4: Pulling fs layer [2021-05-17T16:02:39.857Z] afea3b2eda06: Pulling fs layer [2021-05-17T16:02:39.857Z] 7809a108b3ef: Pulling fs layer [2021-05-17T16:02:39.857Z] f706445af74f: Pulling fs layer [2021-05-17T16:02:39.857Z] afea3b2eda06: Waiting [2021-05-17T16:02:39.857Z] 7809a108b3ef: Waiting [2021-05-17T16:02:39.857Z] f706445af74f: Waiting [2021-05-17T16:02:39.857Z] 0510c868ecb4: Waiting [2021-05-17T16:02:39.857Z] 4c4ab2625f07: Verifying Checksum [2021-05-17T16:02:39.857Z] 4c4ab2625f07: Download complete [2021-05-17T16:02:39.857Z] adcc1eea9eea: Verifying Checksum [2021-05-17T16:02:39.857Z] adcc1eea9eea: Download complete [2021-05-17T16:02:39.857Z] afea3b2eda06: Verifying Checksum [2021-05-17T16:02:39.857Z] afea3b2eda06: Download complete [2021-05-17T16:02:39.857Z] 7809a108b3ef: Download complete [2021-05-17T16:02:39.857Z] 540db60ca938: Verifying Checksum [2021-05-17T16:02:39.857Z] 540db60ca938: Download complete [2021-05-17T16:02:40.477Z] 540db60ca938: Pull complete [2021-05-17T16:02:40.756Z] adcc1eea9eea: Pull complete [2021-05-17T16:02:41.046Z] 4c4ab2625f07: Pull complete [2021-05-17T16:02:42.514Z] f706445af74f: Download complete [2021-05-17T16:02:43.963Z] 0510c868ecb4: Verifying Checksum [2021-05-17T16:02:43.963Z] 0510c868ecb4: Download complete [2021-05-17T16:02:51.925Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-382 in /w/workspace/dgexfoundry_device-sdk-go_PR-926 [Pipeline] { [Pipeline] ws [2021-05-17T16:02:51.947Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-05-17T16:02:52.129Z] Selected Git installation does not exist. Using Default [2021-05-17T16:02:52.129Z] The recommended git tool is: NONE [2021-05-17T16:02:52.250Z] 0510c868ecb4: Pull complete [2021-05-17T16:02:52.250Z] afea3b2eda06: Pull complete [2021-05-17T16:02:52.250Z] 7809a108b3ef: Pull complete [2021-05-17T16:02:56.564Z] f706445af74f: Pull complete [2021-05-17T16:02:56.564Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-17T16:02:56.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-17T16:02:56.564Z] ---> b068be0155e3 [2021-05-17T16:02:56.564Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-17T16:02:56.837Z] ---> Running in dd7bc29a618d [2021-05-17T16:02:57.127Z] Removing intermediate container dd7bc29a618d [2021-05-17T16:02:57.127Z] ---> a0dba3834fc7 [2021-05-17T16:02:57.127Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T16:02:57.127Z] ---> Running in 36ee24e80bbb [2021-05-17T16:02:57.394Z] using credential edgex-jenkins-ssh [2021-05-17T16:02:57.416Z] Cloning the remote Git repository [2021-05-17T16:02:57.462Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-17T16:02:57.565Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-05-17T16:02:57.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-17T16:02:57.638Z] > git --version # timeout=10 [2021-05-17T16:02:57.658Z] > git --version # 'git version 2.17.1' [2021-05-17T16:02:57.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T16:02:57.796Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T16:02:58.565Z] Removing intermediate container 36ee24e80bbb [2021-05-17T16:02:58.565Z] ---> 90d4f17176d7 [2021-05-17T16:02:58.565Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-17T16:02:58.565Z] ---> Running in e3d0a3926530 [2021-05-17T16:02:59.102Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-17T16:02:59.129Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T16:02:59.151Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-17T16:02:59.179Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-17T16:02:59.180Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T16:02:59.193Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/926/head:refs/remotes/origin/PR-926 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-17T16:02:59.543Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-17T16:02:59.821Z] Merging remotes/origin/master commit c475c2f4568a77e7de241284990901c927f62505 into PR head commit 8132b7bf90af7980e7b45fdac955f17250c4ff64 [2021-05-17T16:03:00.015Z] Merge succeeded, producing 8132b7bf90af7980e7b45fdac955f17250c4ff64 [2021-05-17T16:03:00.016Z] Checking out Revision 8132b7bf90af7980e7b45fdac955f17250c4ff64 (PR-926) [2021-05-17T16:03:00.512Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-17T16:02:59.834Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T16:02:59.847Z] > git checkout -f 8132b7bf90af7980e7b45fdac955f17250c4ff64 # timeout=10 [2021-05-17T16:02:59.941Z] > git remote # timeout=10 [2021-05-17T16:02:59.956Z] > git config --get remote.origin.url # timeout=10 [2021-05-17T16:02:59.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T16:02:59.978Z] > git merge c475c2f4568a77e7de241284990901c927f62505 # timeout=10 [2021-05-17T16:02:59.998Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-17T16:03:00.019Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T16:03:00.032Z] > git checkout -f 8132b7bf90af7980e7b45fdac955f17250c4ff64 # timeout=10 [2021-05-17T16:03:01.095Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-17T16:03:01.095Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-17T16:03:01.095Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-17T16:03:01.095Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-17T16:03:01.360Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-17T16:03:01.360Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-17T16:03:01.360Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T16:03:01.632Z] OK: 150 MiB in 46 packages [2021-05-17T16:03:02.236Z] Removing intermediate container e3d0a3926530 [2021-05-17T16:03:02.236Z] ---> de9dcdf41e1f [2021-05-17T16:03:02.236Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-17T16:03:02.511Z] ---> Running in d6f4ae5e8288 [2021-05-17T16:03:02.511Z] Removing intermediate container d6f4ae5e8288 [2021-05-17T16:03:02.511Z] ---> ca92e6a80d88 [2021-05-17T16:03:02.511Z] Step 7/8 : COPY . . [2021-05-17T16:03:03.935Z] ---> d3b5c1f6276f [2021-05-17T16:03:03.935Z] Step 8/8 : RUN go mod download [2021-05-17T16:03:03.935Z] ---> Running in a40519b13a83 [2021-05-17T16:03:04.219Z] Commit message: "refactor: Update for new service key names and overrides for hyphen to underscore" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T16:03:05.641Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-17T16:03:06.046Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T16:03:06.391Z] + + sudo service docker restarttrue [2021-05-17T16:03:06.391Z] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T16:03:09.058Z] provisioning config files... [2021-05-17T16:03:09.084Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3624184150569799080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T16:03:09.464Z] ---> docker-login.sh [2021-05-17T16:03:09.464Z] nexus3.edgexfoundry.org:10001 [2021-05-17T16:03:10.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T16:03:10.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T16:03:10.676Z] Configure a credential helper to remove this warning. See [2021-05-17T16:03:10.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T16:03:10.676Z] [2021-05-17T16:03:10.676Z] Login Succeeded [2021-05-17T16:03:10.676Z] nexus3.edgexfoundry.org:10002 [2021-05-17T16:03:10.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T16:03:11.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T16:03:11.225Z] Configure a credential helper to remove this warning. See [2021-05-17T16:03:11.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T16:03:11.225Z] [2021-05-17T16:03:11.225Z] Login Succeeded [2021-05-17T16:03:11.225Z] nexus3.edgexfoundry.org:10003 [2021-05-17T16:03:11.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T16:03:11.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T16:03:11.500Z] Configure a credential helper to remove this warning. See [2021-05-17T16:03:11.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T16:03:11.500Z] [2021-05-17T16:03:11.500Z] Login Succeeded [2021-05-17T16:03:11.500Z] nexus3.edgexfoundry.org:10004 [2021-05-17T16:03:12.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T16:03:12.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T16:03:12.097Z] Configure a credential helper to remove this warning. See [2021-05-17T16:03:12.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T16:03:12.097Z] [2021-05-17T16:03:12.097Z] Login Succeeded [2021-05-17T16:03:12.097Z] docker.io [2021-05-17T16:03:12.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T16:03:12.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T16:03:12.964Z] Configure a credential helper to remove this warning. See [2021-05-17T16:03:12.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T16:03:12.964Z] [2021-05-17T16:03:12.964Z] Login Succeeded [2021-05-17T16:03:12.964Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T16:03:12.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-17T16:03:13.314Z] ========================================================= [2021-05-17T16:03:13.315Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-17T16:03:13.315Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T16:03:13.689Z] + 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-17T16:03:13.967Z] Sending build context to Docker daemon 2.579MB [2021-05-17T16:03:14.244Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T16:03:14.244Z] Step 2/8 : FROM ${BASE} [2021-05-17T16:03:14.244Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-17T16:03:14.244Z] 595b0fe564bb: Pulling fs layer [2021-05-17T16:03:14.244Z] 7186ed65a4f7: Pulling fs layer [2021-05-17T16:03:14.244Z] 316046926c0a: Pulling fs layer [2021-05-17T16:03:14.244Z] 4ebd0625c992: Pulling fs layer [2021-05-17T16:03:14.244Z] 207e8628e3a3: Pulling fs layer [2021-05-17T16:03:14.244Z] c791037a9be2: Pulling fs layer [2021-05-17T16:03:14.244Z] 4ebd0625c992: Waiting [2021-05-17T16:03:14.244Z] ffd874e62e21: Pulling fs layer [2021-05-17T16:03:14.244Z] 207e8628e3a3: Waiting [2021-05-17T16:03:14.244Z] c791037a9be2: Waiting [2021-05-17T16:03:14.244Z] ffd874e62e21: Waiting [2021-05-17T16:03:14.244Z] 316046926c0a: Download complete [2021-05-17T16:03:14.244Z] 7186ed65a4f7: Verifying Checksum [2021-05-17T16:03:14.244Z] 7186ed65a4f7: Download complete [2021-05-17T16:03:14.244Z] 207e8628e3a3: Verifying Checksum [2021-05-17T16:03:14.244Z] 207e8628e3a3: Download complete [2021-05-17T16:03:14.244Z] 595b0fe564bb: Verifying Checksum [2021-05-17T16:03:14.244Z] c791037a9be2: Verifying Checksum [2021-05-17T16:03:14.244Z] c791037a9be2: Download complete [2021-05-17T16:03:14.244Z] 595b0fe564bb: Download complete [2021-05-17T16:03:15.236Z] 595b0fe564bb: Pull complete [2021-05-17T16:03:15.512Z] 7186ed65a4f7: Pull complete [2021-05-17T16:03:15.789Z] 316046926c0a: Pull complete [2021-05-17T16:03:16.383Z] ffd874e62e21: Verifying Checksum [2021-05-17T16:03:16.383Z] ffd874e62e21: Download complete [2021-05-17T16:03:17.827Z] 4ebd0625c992: Verifying Checksum [2021-05-17T16:03:17.827Z] 4ebd0625c992: Download complete [2021-05-17T16:03:27.998Z] 4ebd0625c992: Pull complete [2021-05-17T16:03:28.271Z] 207e8628e3a3: Pull complete [2021-05-17T16:03:28.545Z] c791037a9be2: Pull complete [2021-05-17T16:03:31.932Z] ffd874e62e21: Pull complete [2021-05-17T16:03:31.933Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-17T16:03:31.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-17T16:03:31.933Z] ---> cfc18b08335c [2021-05-17T16:03:31.933Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-17T16:03:34.545Z] ---> Running in f5fcc59013d5 [2021-05-17T16:03:35.142Z] Removing intermediate container f5fcc59013d5 [2021-05-17T16:03:35.142Z] ---> 87ad42f5eab4 [2021-05-17T16:03:35.142Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T16:03:35.142Z] ---> Running in 3b383865cb40 [2021-05-17T16:03:36.412Z] Removing intermediate container a40519b13a83 [2021-05-17T16:03:36.412Z] ---> d441388aa026 [2021-05-17T16:03:36.412Z] Successfully built d441388aa026 [2021-05-17T16:03:36.412Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T16:03:36.911Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-17T16:03:37.522Z] . [Pipeline] withDockerContainer [2021-05-17T16:03:37.789Z] Removing intermediate container 3b383865cb40 [2021-05-17T16:03:37.789Z] ---> 5c3c96955927 [2021-05-17T16:03:37.790Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-17T16:03:37.790Z] ---> Running in 36f6fc834c00 [2021-05-17T16:03:37.835Z] prd-centos7-docker-4c-2g-381 does not seem to be running inside a container [2021-05-17T16:03:37.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-17T16:03:38.786Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-17T16:03:39.399Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-17T16:03:39.409Z] $ docker top e6f0b14e5c308769750d3313d4b650fecec345cb34b5db2630e346cacaa717a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T16:03:40.037Z] + go version [2021-05-17T16:03:40.037Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-17T16:03:40.102Z] $ docker stop --time=1 e6f0b14e5c308769750d3313d4b650fecec345cb34b5db2630e346cacaa717a5 [2021-05-17T16:03:40.397Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-17T16:03:40.397Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-17T16:03:40.397Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-17T16:03:40.668Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-17T16:03:40.668Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-17T16:03:40.668Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-17T16:03:40.940Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T16:03:40.940Z] OK: 139 MiB in 46 packages [2021-05-17T16:03:41.601Z] $ docker rm -f e6f0b14e5c308769750d3313d4b650fecec345cb34b5db2630e346cacaa717a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T16:03:42.277Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-17T16:03:42.277Z] . [Pipeline] withDockerContainer [2021-05-17T16:03:42.380Z] Removing intermediate container 36f6fc834c00 [2021-05-17T16:03:42.380Z] ---> 46750d508601 [2021-05-17T16:03:42.380Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-17T16:03:42.380Z] ---> Running in 18943444f065 [2021-05-17T16:03:42.599Z] prd-centos7-docker-4c-2g-381 does not seem to be running inside a container [2021-05-17T16:03:42.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-17T16:03:42.982Z] Removing intermediate container 18943444f065 [2021-05-17T16:03:42.982Z] ---> 7ea12cdc6d57 [2021-05-17T16:03:42.982Z] Step 7/8 : COPY . . [2021-05-17T16:03:43.767Z] $ docker top ec487b9348ebcfdd88acbc3a82832cc4524a6f80f884356dfe7b14426bb4cb35 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T16:03:44.426Z] ---> d0bc1e2b1c64 [2021-05-17T16:03:44.427Z] Step 8/8 : RUN go mod download [2021-05-17T16:03:44.427Z] ---> Running in 2ec918c051df [2021-05-17T16:03:44.447Z] + go mod tidy [Pipeline] sh [2021-05-17T16:03:46.181Z] + make test [2021-05-17T16:03:46.181Z] go mod tidy [2021-05-17T16:03:46.181Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-17T16:03:58.705Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-17T16:04:11.228Z] Removing intermediate container 2ec918c051df [2021-05-17T16:04:11.228Z] ---> bb3b2e526075 [2021-05-17T16:04:11.228Z] Successfully built bb3b2e526075 [2021-05-17T16:04:11.228Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T16:04:11.568Z] + docker inspect -f . ci-base-image-arm64 [2021-05-17T16:04:11.568Z] . [Pipeline] withDockerContainer [2021-05-17T16:04:11.823Z] prd-ubuntu18.04-docker-arm64-4c-16g-382 does not seem to be running inside a container [2021-05-17T16:04:11.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-17T16:04:13.344Z] $ docker top d4fad14696b48ffcf1488d3379fd7682c97f6405a59e0c6ed58c0c3f2ac1aae1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T16:04:14.183Z] + go version [2021-05-17T16:04:14.183Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-17T16:04:14.191Z] $ docker stop --time=1 d4fad14696b48ffcf1488d3379fd7682c97f6405a59e0c6ed58c0c3f2ac1aae1 [2021-05-17T16:04:16.181Z] $ docker rm -f d4fad14696b48ffcf1488d3379fd7682c97f6405a59e0c6ed58c0c3f2ac1aae1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T16:04:17.080Z] + docker inspect -f . ci-base-image-arm64 [2021-05-17T16:04:17.080Z] . [Pipeline] withDockerContainer [2021-05-17T16:04:17.340Z] prd-ubuntu18.04-docker-arm64-4c-16g-382 does not seem to be running inside a container [2021-05-17T16:04:17.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-17T16:04:18.876Z] $ docker top f3dd2c835f39fcaddf51ddc24e8740c6b44c21fb47ee4d001f7469953e55434c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T16:04:19.813Z] + go mod tidy [Pipeline] sh [2021-05-17T16:04:21.084Z] + make test [2021-05-17T16:04:21.084Z] go mod tidy [2021-05-17T16:04:21.682Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-17T16:04:38.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-17T16:04:38.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-17T16:04:38.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-17T16:04:38.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.147s coverage: 25.4% of statements [2021-05-17T16:04:38.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-17T16:04:38.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.202s coverage: 28.1% of statements [2021-05-17T16:04:38.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.214s coverage: 78.9% of statements [2021-05-17T16:04:39.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.098s coverage: 10.7% of statements [2021-05-17T16:04:39.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-17T16:04:39.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-17T16:04:39.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-17T16:04:40.945Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.173s coverage: 30.2% of statements [2021-05-17T16:04:40.945Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-17T16:04:42.009Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.144s coverage: 83.3% of statements [2021-05-17T16:04:42.009Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-17T16:04:42.009Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-17T16:04:42.744Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.147s coverage: 58.0% of statements [2021-05-17T16:04:43.820Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.746s coverage: 89.2% of statements [2021-05-17T16:04:43.820Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-17T16:04:43.820Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.081s coverage: 5.0% of statements [2021-05-17T16:04:43.820Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-17T16:04:43.927Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-17T16:04:44.195Z] GO111MODULE=on go vet ./... [2021-05-17T16:05:16.975Z] gofmt -l . [2021-05-17T16:05:16.975Z] [ "`gofmt -l .`" = "" ] [2021-05-17T16:05:16.975Z] ./bin/test-attribution-txt.sh [2021-05-17T16:05:16.975Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-17T16:05:16.998Z] $ docker stop --time=1 ec487b9348ebcfdd88acbc3a82832cc4524a6f80f884356dfe7b14426bb4cb35 [2021-05-17T16:05:19.135Z] $ docker rm -f ec487b9348ebcfdd88acbc3a82832cc4524a6f80f884356dfe7b14426bb4cb35 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T16:05:19.882Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-17T16:05:20.349Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-17T16:05:21.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-17T16:05:22.156Z] + ls -al . [2021-05-17T16:05:22.156Z] total 212 [2021-05-17T16:05:22.156Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 17 16:05 . [2021-05-17T16:05:22.156Z] drwxrwxr-x. 4 jenkins jenkins 28 May 17 16:02 .. [2021-05-17T16:05:22.156Z] drwxrwxr-x. 2 jenkins jenkins 64 May 17 16:02 bin [2021-05-17T16:05:22.156Z] -rw-r--r--. 1 jenkins jenkins 126187 May 17 16:04 coverage.out [2021-05-17T16:05:22.156Z] -rw-rw-r--. 1 jenkins jenkins 987 May 17 16:02 Dockerfile.build [2021-05-17T16:05:22.156Z] -rw-rw-r--. 1 jenkins jenkins 140 May 17 16:02 .dockerignore [2021-05-17T16:05:22.156Z] drwxrwxr-x. 5 jenkins jenkins 62 May 17 16:02 example [2021-05-17T16:05:22.156Z] drwxrwxr-x. 8 jenkins jenkins 179 May 17 16:02 .git [2021-05-17T16:05:22.156Z] drwxrwxr-x. 2 jenkins jenkins 103 May 17 16:02 .github [2021-05-17T16:05:22.156Z] -rw-rw-r--. 1 jenkins jenkins 138 May 17 16:02 .gitignore [2021-05-17T16:05:22.156Z] -rw-r--r--. 1 jenkins jenkins 575 May 17 16:05 go.mod [2021-05-17T16:05:22.156Z] -rw-r--r--. 1 jenkins jenkins 20803 May 17 16:03 go.sum [2021-05-17T16:05:22.156Z] drwxrwxr-x. 15 jenkins jenkins 224 May 17 16:02 internal [2021-05-17T16:05:22.156Z] -rw-rw-r--. 1 jenkins jenkins 894 May 17 16:02 Jenkinsfile [2021-05-17T16:05:22.156Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 17 16:02 LICENSE [2021-05-17T16:05:22.156Z] -rw-rw-r--. 1 jenkins jenkins 1026 May 17 16:02 Makefile [2021-05-17T16:05:22.156Z] drwxrwxr-x. 4 jenkins jenkins 26 May 17 16:02 openapi [2021-05-17T16:05:22.156Z] drwxrwxr-x. 5 jenkins jenkins 50 May 17 16:02 pkg [2021-05-17T16:05:22.156Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 17 16:02 README.md [2021-05-17T16:05:22.156Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 17 16:02 RELEASE-NOTES.txt [2021-05-17T16:05:22.156Z] drwxrwxr-x. 4 jenkins jenkins 54 May 17 16:02 snap [2021-05-17T16:05:22.156Z] -rw-rw-r--. 1 jenkins jenkins 5 May 17 15:58 VERSION [2021-05-17T16:05:22.156Z] -rw-rw-r--. 1 jenkins jenkins 222 May 17 16:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-17T16:05:22.491Z] + 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=8132b7bf90af7980e7b45fdac955f17250c4ff64 --label arch=amd64 --label version=0.0.0 . [2021-05-17T16:05:22.760Z] Sending build context to Docker daemon 2.715MB [2021-05-17T16:05:22.760Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T16:05:22.760Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-17T16:05:22.760Z] ---> d441388aa026 [2021-05-17T16:05:22.760Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-17T16:05:23.342Z] ---> Running in c53f09ac2018 [2021-05-17T16:05:23.616Z] Removing intermediate container c53f09ac2018 [2021-05-17T16:05:23.616Z] ---> 804fb34bc3fd [2021-05-17T16:05:23.616Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-17T16:05:23.616Z] ---> Running in f92d35655930 [2021-05-17T16:05:23.887Z] Removing intermediate container f92d35655930 [2021-05-17T16:05:23.887Z] ---> 244984053f9b [2021-05-17T16:05:23.887Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T16:05:23.887Z] ---> Running in d3b2c8c36752 [2021-05-17T16:05:24.868Z] Removing intermediate container d3b2c8c36752 [2021-05-17T16:05:24.868Z] ---> 331d9e7d5007 [2021-05-17T16:05:24.868Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-17T16:05:25.136Z] ---> Running in 8935d05ac473 [2021-05-17T16:05:25.403Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-17T16:05:26.919Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-17T16:05:28.345Z] OK: 150 MiB in 46 packages [2021-05-17T16:05:28.615Z] Removing intermediate container 8935d05ac473 [2021-05-17T16:05:28.615Z] ---> b393a79a0806 [2021-05-17T16:05:28.615Z] Step 7/23 : COPY . . [2021-05-17T16:05:30.169Z] ---> bf436f940ad2 [2021-05-17T16:05:30.169Z] Step 8/23 : RUN go mod download [2021-05-17T16:05:30.169Z] ---> Running in a11a004a38af [2021-05-17T16:05:31.618Z] Removing intermediate container a11a004a38af [2021-05-17T16:05:31.619Z] ---> a20678af2481 [2021-05-17T16:05:31.619Z] Step 9/23 : RUN make build [2021-05-17T16:05:31.898Z] ---> Running in 38368db1cf88 [2021-05-17T16:05:32.507Z] go mod tidy [2021-05-17T16:05:32.825Z] 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-17T16:05:48.264Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-17T16:05:51.643Z] Removing intermediate container 38368db1cf88 [2021-05-17T16:05:51.643Z] ---> a73eb0621134 [2021-05-17T16:05:51.643Z] Step 10/23 : FROM alpine:3.12 [2021-05-17T16:05:51.909Z] 3.12: Pulling from library/alpine [2021-05-17T16:05:51.909Z] 339de151aab4: Pulling fs layer [2021-05-17T16:05:52.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-17T16:05:52.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-17T16:05:52.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-17T16:05:52.176Z] 339de151aab4: Verifying Checksum [2021-05-17T16:05:52.176Z] 339de151aab4: Download complete [2021-05-17T16:05:52.452Z] 339de151aab4: Pull complete [2021-05-17T16:05:52.452Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-17T16:05:52.452Z] Status: Downloaded newer image for alpine:3.12 [2021-05-17T16:05:52.452Z] ---> 13621d1b12d4 [2021-05-17T16:05:52.452Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-17T16:05:52.719Z] ---> Running in 11481906bef6 [2021-05-17T16:05:52.719Z] Removing intermediate container 11481906bef6 [2021-05-17T16:05:52.719Z] ---> 295315c06873 [2021-05-17T16:05:52.719Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T16:05:52.990Z] ---> Running in b5b1556f647f [2021-05-17T16:05:54.421Z] Removing intermediate container b5b1556f647f [2021-05-17T16:05:54.421Z] ---> 66b58f30b683 [2021-05-17T16:05:54.421Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-17T16:05:54.421Z] ---> Running in 53618d8dfb76 [2021-05-17T16:05:54.690Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-17T16:05:55.279Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-17T16:05:55.866Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-17T16:05:55.866Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-17T16:05:56.136Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-17T16:05:56.739Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-17T16:05:56.739Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-17T16:05:57.016Z] Executing busybox-1.31.1-r20.trigger [2021-05-17T16:05:57.016Z] OK: 8 MiB in 19 packages [2021-05-17T16:05:57.490Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.256s coverage: 25.4% of statements [2021-05-17T16:05:57.490Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-17T16:05:57.490Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.178s coverage: 28.1% of statements [2021-05-17T16:05:57.490Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.240s coverage: 78.9% of statements [2021-05-17T16:05:57.490Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.272s coverage: 10.7% of statements [2021-05-17T16:05:57.490Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-17T16:05:57.490Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-17T16:05:57.490Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-17T16:05:57.609Z] Removing intermediate container 53618d8dfb76 [2021-05-17T16:05:57.609Z] ---> 758eeffecd6a [2021-05-17T16:05:57.609Z] Step 14/23 : WORKDIR / [2021-05-17T16:05:57.885Z] ---> Running in 43afaa70e6cd [2021-05-17T16:05:57.885Z] Removing intermediate container 43afaa70e6cd [2021-05-17T16:05:57.885Z] ---> eeb60c9a56c0 [2021-05-17T16:05:57.885Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-17T16:05:58.469Z] ---> efdcd40ca84e [2021-05-17T16:05:58.469Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-17T16:05:59.066Z] ---> 5ec8ec0e0bd5 [2021-05-17T16:05:59.066Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-17T16:05:59.669Z] ---> 205bc70feb4d [2021-05-17T16:05:59.669Z] Step 18/23 : EXPOSE 49990 [2021-05-17T16:05:59.669Z] ---> Running in b95e57ae7fae [2021-05-17T16:05:59.669Z] Removing intermediate container b95e57ae7fae [2021-05-17T16:05:59.669Z] ---> a106a355f38d [2021-05-17T16:05:59.669Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-17T16:05:59.941Z] ---> Running in 457240dbc4d8 [2021-05-17T16:05:59.941Z] Removing intermediate container 457240dbc4d8 [2021-05-17T16:05:59.941Z] ---> 0a3b88cb45c5 [2021-05-17T16:05:59.941Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-17T16:06:00.143Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.323s coverage: 30.2% of statements [2021-05-17T16:06:00.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-17T16:06:00.214Z] ---> Running in 11883ad05b4c [2021-05-17T16:06:00.484Z] Removing intermediate container 11883ad05b4c [2021-05-17T16:06:00.484Z] ---> 5d401635dd8e [2021-05-17T16:06:00.484Z] Step 21/23 : LABEL arch=amd64 [2021-05-17T16:06:00.484Z] ---> Running in 64f642f78216 [2021-05-17T16:06:00.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.187s coverage: 83.3% of statements [2021-05-17T16:06:00.747Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-17T16:06:00.747Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-17T16:06:00.757Z] Removing intermediate container 64f642f78216 [2021-05-17T16:06:00.757Z] ---> 5966b6962140 [2021-05-17T16:06:00.757Z] Step 22/23 : LABEL git_sha=8132b7bf90af7980e7b45fdac955f17250c4ff64 [2021-05-17T16:06:00.757Z] ---> Running in 139429e471a9 [2021-05-17T16:06:01.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.311s coverage: 58.0% of statements [2021-05-17T16:06:01.026Z] Removing intermediate container 139429e471a9 [2021-05-17T16:06:01.026Z] ---> 92cb5fc26b1f [2021-05-17T16:06:01.026Z] Step 23/23 : LABEL version=0.0.0 [2021-05-17T16:06:01.026Z] ---> Running in 02deba152d10 [2021-05-17T16:06:01.307Z] Removing intermediate container 02deba152d10 [2021-05-17T16:06:01.307Z] ---> 191550add292 [2021-05-17T16:06:01.307Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-17T16:06:01.307Z] Successfully built 191550add292 [2021-05-17T16:06:01.307Z] 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-17T16:06:02.662Z] ---> job-cost.sh [2021-05-17T16:06:02.662Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-klMq [2021-05-17T16:06:04.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.077s coverage: 89.2% of statements [2021-05-17T16:06:04.428Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-17T16:06:04.428Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.178s coverage: 5.0% of statements [2021-05-17T16:06:04.428Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-17T16:06:05.038Z] GO111MODULE=on go vet ./... [2021-05-17T16:06:20.941Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T16:06:59.978Z] lf-activate-venv(): INFO: Adding /tmp/venv-klMq/bin to PATH [2021-05-17T16:06:59.978Z] INFO: No Stack... [2021-05-17T16:06:59.978Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-17T16:06:59.978Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T16:07:00.406Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-05-17T16:07:00.406Z] + cut -d, -f6 [Pipeline] lock [2021-05-17T16:07:00.478Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-926-4-stack-cost] [2021-05-17T16:07:00.490Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-926-4-stack-cost] did not exist. Created. [2021-05-17T16:07:00.490Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-926-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T16:07:00.888Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-17T16:07:01.082Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T16:07:01.096Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-926-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-17T16:07:01.623Z] gofmt -l . [2021-05-17T16:07:01.624Z] [ "`gofmt -l .`" = "" ] [2021-05-17T16:07:01.624Z] ./bin/test-attribution-txt.sh [2021-05-17T16:07:01.624Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-17T16:07:01.645Z] $ docker stop --time=1 f3dd2c835f39fcaddf51ddc24e8740c6b44c21fb47ee4d001f7469953e55434c [2021-05-17T16:07:03.796Z] $ docker rm -f f3dd2c835f39fcaddf51ddc24e8740c6b44c21fb47ee4d001f7469953e55434c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T16:07:04.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-17T16:07:04.892Z] Warning: overwriting stash ‘coverage-report’ [2021-05-17T16:07:05.444Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T16:07:05.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-17T16:07:06.261Z] + ls -al . [2021-05-17T16:07:06.261Z] total 248 [2021-05-17T16:07:06.261Z] drwxrwxr-x 10 jenkins jenkins 4096 May 17 16:07 . [2021-05-17T16:07:06.261Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 16:02 .. [2021-05-17T16:07:06.261Z] -rw-rw-r-- 1 jenkins jenkins 140 May 17 16:02 .dockerignore [2021-05-17T16:07:06.261Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 16:03 .git [2021-05-17T16:07:06.261Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 16:02 .github [2021-05-17T16:07:06.261Z] -rw-rw-r-- 1 jenkins jenkins 138 May 17 16:02 .gitignore [2021-05-17T16:07:06.261Z] -rw-rw-r-- 1 jenkins jenkins 987 May 17 16:02 Dockerfile.build [2021-05-17T16:07:06.261Z] -rw-rw-r-- 1 jenkins jenkins 894 May 17 16:02 Jenkinsfile [2021-05-17T16:07:06.261Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 17 16:02 LICENSE [2021-05-17T16:07:06.261Z] -rw-rw-r-- 1 jenkins jenkins 1026 May 17 16:02 Makefile [2021-05-17T16:07:06.261Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 17 16:02 README.md [2021-05-17T16:07:06.261Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 17 16:02 RELEASE-NOTES.txt [2021-05-17T16:07:06.261Z] -rw-rw-r-- 1 jenkins jenkins 5 May 17 15:58 VERSION [2021-05-17T16:07:06.261Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 16:02 bin [2021-05-17T16:07:06.261Z] -rw-r--r-- 1 jenkins jenkins 126187 May 17 16:06 coverage.out [2021-05-17T16:07:06.261Z] drwxrwxr-x 5 jenkins jenkins 4096 May 17 16:02 example [2021-05-17T16:07:06.261Z] -rw-r--r-- 1 jenkins jenkins 575 May 17 16:07 go.mod [2021-05-17T16:07:06.261Z] -rw-r--r-- 1 jenkins jenkins 20803 May 17 16:04 go.sum [2021-05-17T16:07:06.261Z] drwxrwxr-x 15 jenkins jenkins 4096 May 17 16:02 internal [2021-05-17T16:07:06.261Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 16:02 openapi [2021-05-17T16:07:06.261Z] drwxrwxr-x 5 jenkins jenkins 4096 May 17 16:02 pkg [2021-05-17T16:07:06.261Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 16:02 snap [2021-05-17T16:07:06.261Z] -rw-rw-r-- 1 jenkins jenkins 222 May 17 16:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-17T16:07:06.605Z] + 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=8132b7bf90af7980e7b45fdac955f17250c4ff64 --label arch=arm64 --label version=0.0.0 . [2021-05-17T16:07:06.883Z] Sending build context to Docker daemon 2.706MB [2021-05-17T16:07:07.157Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T16:07:07.157Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-17T16:07:07.157Z] ---> bb3b2e526075 [2021-05-17T16:07:07.157Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-17T16:07:07.432Z] ---> Running in 5e5320a2a920 [2021-05-17T16:07:07.710Z] Removing intermediate container 5e5320a2a920 [2021-05-17T16:07:07.710Z] ---> 3a8777d860ae [2021-05-17T16:07:07.710Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-17T16:07:07.996Z] ---> Running in d33c259e470d [2021-05-17T16:07:08.272Z] Removing intermediate container d33c259e470d [2021-05-17T16:07:08.272Z] ---> 31381726bfe3 [2021-05-17T16:07:08.272Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T16:07:08.556Z] ---> Running in 07863d1d1079 [2021-05-17T16:07:10.523Z] Removing intermediate container 07863d1d1079 [2021-05-17T16:07:10.523Z] ---> 40f8f1763d91 [2021-05-17T16:07:10.523Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-17T16:07:10.796Z] ---> Running in 032297ea23b4 [2021-05-17T16:07:11.773Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-17T16:07:12.753Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-17T16:07:13.741Z] OK: 139 MiB in 46 packages [2021-05-17T16:07:14.729Z] Removing intermediate container 032297ea23b4 [2021-05-17T16:07:14.729Z] ---> 3b2f677d6bb7 [2021-05-17T16:07:14.729Z] Step 7/23 : COPY . . [2021-05-17T16:07:16.161Z] ---> 8083706cca9f [2021-05-17T16:07:16.161Z] Step 8/23 : RUN go mod download [2021-05-17T16:07:16.161Z] ---> Running in bcb7558ae725 [2021-05-17T16:07:18.779Z] Removing intermediate container bcb7558ae725 [2021-05-17T16:07:18.779Z] ---> d57af0964afd [2021-05-17T16:07:18.779Z] Step 9/23 : RUN make build [2021-05-17T16:07:18.779Z] ---> Running in bc5461e4d399 [2021-05-17T16:07:19.761Z] go mod tidy [2021-05-17T16:07:20.038Z] 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-17T16:07:52.429Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-17T16:07:54.405Z] Removing intermediate container bc5461e4d399 [2021-05-17T16:07:54.405Z] ---> 3b7f1d0197ec [2021-05-17T16:07:54.405Z] Step 10/23 : FROM alpine:3.12 [2021-05-17T16:07:54.997Z] 3.12: Pulling from library/alpine [2021-05-17T16:07:54.997Z] d2f70382dc9a: Pulling fs layer [2021-05-17T16:07:55.270Z] d2f70382dc9a: Verifying Checksum [2021-05-17T16:07:55.270Z] d2f70382dc9a: Download complete [2021-05-17T16:07:55.868Z] d2f70382dc9a: Pull complete [2021-05-17T16:07:55.868Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-17T16:07:55.868Z] Status: Downloaded newer image for alpine:3.12 [2021-05-17T16:07:55.868Z] ---> 9852663dfa18 [2021-05-17T16:07:55.868Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-17T16:07:56.142Z] ---> Running in 701b8f8575ea [2021-05-17T16:07:56.416Z] Removing intermediate container 701b8f8575ea [2021-05-17T16:07:56.416Z] ---> f0d3bcf02ac0 [2021-05-17T16:07:56.416Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T16:07:56.688Z] ---> Running in 99ab72891364 [2021-05-17T16:07:58.670Z] Removing intermediate container 99ab72891364 [2021-05-17T16:07:58.670Z] ---> 2e431c46a905 [2021-05-17T16:07:58.670Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-17T16:07:58.959Z] ---> Running in d180da9e70c9 [2021-05-17T16:07:59.996Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-17T16:08:00.594Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-17T16:08:01.187Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-17T16:08:01.460Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-17T16:08:01.764Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-17T16:08:02.037Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-17T16:08:02.037Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-17T16:08:02.313Z] Executing busybox-1.31.1-r20.trigger [2021-05-17T16:08:02.313Z] OK: 8 MiB in 19 packages [2021-05-17T16:08:03.761Z] Removing intermediate container d180da9e70c9 [2021-05-17T16:08:03.761Z] ---> 8d21af64ac50 [2021-05-17T16:08:03.761Z] Step 14/23 : WORKDIR / [2021-05-17T16:08:03.761Z] ---> Running in 7f7ba1125b6f [2021-05-17T16:08:04.037Z] Removing intermediate container 7f7ba1125b6f [2021-05-17T16:08:04.037Z] ---> 84ab554191cc [2021-05-17T16:08:04.037Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-17T16:08:05.024Z] ---> 7a6a88af6698 [2021-05-17T16:08:05.024Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-17T16:08:06.010Z] ---> 28f5f1b0d539 [2021-05-17T16:08:06.010Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-17T16:08:06.615Z] ---> 91a97db69db1 [2021-05-17T16:08:06.615Z] Step 18/23 : EXPOSE 49990 [2021-05-17T16:08:06.891Z] ---> Running in cdc5431c07e9 [2021-05-17T16:08:07.169Z] Removing intermediate container cdc5431c07e9 [2021-05-17T16:08:07.169Z] ---> 484100a27b0e [2021-05-17T16:08:07.169Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-17T16:08:07.445Z] ---> Running in 1d32ffc28c67 [2021-05-17T16:08:07.721Z] Removing intermediate container 1d32ffc28c67 [2021-05-17T16:08:07.721Z] ---> 7817df138525 [2021-05-17T16:08:07.721Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-17T16:08:07.996Z] ---> Running in bb2b9b32de66 [2021-05-17T16:08:08.271Z] Removing intermediate container bb2b9b32de66 [2021-05-17T16:08:08.271Z] ---> f23a4e294883 [2021-05-17T16:08:08.271Z] Step 21/23 : LABEL arch=arm64 [2021-05-17T16:08:08.546Z] ---> Running in 2d717cde52f1 [2021-05-17T16:08:08.822Z] Removing intermediate container 2d717cde52f1 [2021-05-17T16:08:08.822Z] ---> acc15d50c698 [2021-05-17T16:08:08.822Z] Step 22/23 : LABEL git_sha=8132b7bf90af7980e7b45fdac955f17250c4ff64 [2021-05-17T16:08:09.099Z] ---> Running in 181de3b41305 [2021-05-17T16:08:09.373Z] Removing intermediate container 181de3b41305 [2021-05-17T16:08:09.373Z] ---> e1c42eaa7a7b [2021-05-17T16:08:09.373Z] Step 23/23 : LABEL version=0.0.0 [2021-05-17T16:08:09.373Z] ---> Running in 208081f9a408 [2021-05-17T16:08:09.994Z] Removing intermediate container 208081f9a408 [2021-05-17T16:08:09.994Z] ---> 25ce358e2226 [2021-05-17T16:08:09.994Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-17T16:08:09.994Z] Successfully built 25ce358e2226 [2021-05-17T16:08:09.994Z] 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-17T16:08:10.713Z] ---> job-cost.sh [2021-05-17T16:08:10.714Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-i8wj [2021-05-17T16:08:49.691Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T16:10:26.505Z] lf-activate-venv(): INFO: Adding /tmp/venv-i8wj/bin to PATH [2021-05-17T16:10:26.505Z] INFO: No Stack... [2021-05-17T16:10:26.505Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-17T16:10:26.505Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T16:10:26.853Z] + cut -d, -f6 [2021-05-17T16:10:26.854Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2021-05-17T16:10:26.916Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-926-4-stack-cost] [2021-05-17T16:10:26.926Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-926-4-stack-cost] did not exist. Created. [2021-05-17T16:10:26.926Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-926-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T16:10:27.295Z] /w/workspace/device-sdk-go/4@tmp/durable-a1b82d61/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-a1b82d61/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-17T16:10:27.637Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-17T16:10:27.669Z] Warning: overwriting stash ‘stack-cost’ [2021-05-17T16:10:27.830Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T16:10:27.843Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-926-4-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-17T16:10:28.751Z] provisioning config files... [2021-05-17T16:10:28.762Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/config6567602731238223096tmp [Pipeline] { [Pipeline] sh [2021-05-17T16:10:29.087Z] + set +x [2021-05-17T16:10:29.087Z] + curl -s https://codecov.io/bash [2021-05-17T16:10:29.087Z] + bash -s -- [2021-05-17T16:10:29.350Z] [2021-05-17T16:10:29.351Z] _____ _ [2021-05-17T16:10:29.351Z] / ____| | | [2021-05-17T16:10:29.351Z] | | ___ __| | ___ ___ _____ __ [2021-05-17T16:10:29.351Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-17T16:10:29.351Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-17T16:10:29.351Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-17T16:10:29.351Z] Bash-1.0.2 [2021-05-17T16:10:29.351Z] [2021-05-17T16:10:29.351Z] [2021-05-17T16:10:29.351Z] ==> git version 2.24.3 found [2021-05-17T16:10:29.351Z] ==> 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-17T16:10:29.351Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-17T16:10:29.351Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-17T16:10:29.351Z] ==> Jenkins CI detected. [2021-05-17T16:10:29.351Z] project root: . [2021-05-17T16:10:29.351Z] --> token set from env [2021-05-17T16:10:29.351Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-17T16:10:29.351Z] ==> Running gcov in . (disable via -X gcov) [2021-05-17T16:10:29.351Z] ==> Python coveragepy not found [2021-05-17T16:10:29.351Z] ==> Searching for coverage reports in: [2021-05-17T16:10:29.351Z] + . [2021-05-17T16:10:29.351Z] -> Found 1 reports [2021-05-17T16:10:29.351Z] ==> Detecting git/mercurial file structure [2021-05-17T16:10:29.351Z] ==> Reading reports [2021-05-17T16:10:29.351Z] + ./coverage.out bytes=126187 [2021-05-17T16:10:29.351Z] ==> Appending adjustments [2021-05-17T16:10:29.351Z] https://docs.codecov.io/docs/fixing-reports [2021-05-17T16:10:29.615Z] + Found adjustments [2021-05-17T16:10:29.615Z] ==> Gzipping contents [2021-05-17T16:10:29.615Z] 20K /tmp/codecov.W2iLvb.gz [2021-05-17T16:10:29.615Z] ==> Uploading reports [2021-05-17T16:10:29.615Z] url: https://codecov.io [2021-05-17T16:10:29.615Z] query: branch=PR-926&commit=8132b7bf90af7980e7b45fdac955f17250c4ff64&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-926%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=926&job=&cmd_args= [2021-05-17T16:10:29.615Z] -> Pinging Codecov [2021-05-17T16:10:29.615Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-926&commit=8132b7bf90af7980e7b45fdac955f17250c4ff64&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-926%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=926&job=&cmd_args= [2021-05-17T16:10:30.194Z] -> Uploading to [2021-05-17T16:10:30.195Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-17/7E55EF52A471D76F132DFD9A03CDDE97/8132b7bf90af7980e7b45fdac955f17250c4ff64/6d405eb7-0dce-43fd-a14e-af773cd63358.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210517T161030Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f22b9337c8e8fc843a7e5133c62f26a50b2142e09f56170bc4aca12a58e583da [2021-05-17T16:10:30.195Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-17T16:10:30.195Z] Dload Upload Total Spent Left Speed [2021-05-17T16:10:30.770Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16477 0 0 100 16477 0 38718 --:--:-- --:--:-- --:--:-- 38678 100 16477 0 0 100 16477 0 38703 --:--:-- --:--:-- --:--:-- 38678 [2021-05-17T16:10:30.770Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8132b7bf90af7980e7b45fdac955f17250c4ff64 [Pipeline] } [2021-05-17T16:10:30.780Z] 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-17T16:10:32.610Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T16:10:33.203Z] ---> package-listing.sh [2021-05-17T16:10:33.203Z] ++ facter osfamily [2021-05-17T16:10:33.203Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-17T16:10:33.203Z] + OS_FAMILY=redhat [2021-05-17T16:10:33.203Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-926 [2021-05-17T16:10:33.203Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-17T16:10:33.203Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-17T16:10:33.203Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-17T16:10:33.203Z] + PACKAGES=/tmp/packages_start.txt [2021-05-17T16:10:33.203Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-926 ']' [2021-05-17T16:10:33.203Z] + PACKAGES=/tmp/packages_end.txt [2021-05-17T16:10:33.203Z] + case "${OS_FAMILY}" in [2021-05-17T16:10:33.203Z] + rpm -qa [2021-05-17T16:10:33.203Z] + sort [2021-05-17T16:10:38.540Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-17T16:10:38.540Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-17T16:10:38.540Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-17T16:10:38.540Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-926 ']' [2021-05-17T16:10:38.540Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-926/archives/ [2021-05-17T16:10:38.540Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-926/archives/ [Pipeline] echo [2021-05-17T16:10:38.559Z] 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-926/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-17T16:10:38.859Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-17T16:10:39.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T16:10:39.170Z] [2021-05-17T16:10:39.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-17T16:10:39.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T16:10:39.572Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-17T16:10:39.572Z] df20fa9351a1: Pulling fs layer [2021-05-17T16:10:39.572Z] 36b3adc4ff6f: Pulling fs layer [2021-05-17T16:10:39.572Z] 8ad3a11d3b57: Pulling fs layer [2021-05-17T16:10:39.572Z] 46f8f816bc3b: Pulling fs layer [2021-05-17T16:10:39.572Z] 93b61091891f: Pulling fs layer [2021-05-17T16:10:39.572Z] 93b9cdb0e59b: Pulling fs layer [2021-05-17T16:10:39.572Z] 5e14af77c1be: Pulling fs layer [2021-05-17T16:10:39.572Z] 01666e4c0597: Pulling fs layer [2021-05-17T16:10:39.572Z] aa168da1d23b: Pulling fs layer [2021-05-17T16:10:39.572Z] 93b9cdb0e59b: Waiting [2021-05-17T16:10:39.572Z] 5e14af77c1be: Waiting [2021-05-17T16:10:39.572Z] aa168da1d23b: Waiting [2021-05-17T16:10:39.572Z] 01666e4c0597: Waiting [2021-05-17T16:10:39.572Z] 93b61091891f: Waiting [2021-05-17T16:10:39.572Z] 46f8f816bc3b: Waiting [2021-05-17T16:10:39.873Z] 36b3adc4ff6f: Download complete [2021-05-17T16:10:39.873Z] 46f8f816bc3b: Verifying Checksum [2021-05-17T16:10:39.873Z] 46f8f816bc3b: Download complete [2021-05-17T16:10:39.873Z] df20fa9351a1: Verifying Checksum [2021-05-17T16:10:39.873Z] df20fa9351a1: Download complete [2021-05-17T16:10:39.873Z] 93b9cdb0e59b: Verifying Checksum [2021-05-17T16:10:39.873Z] 93b9cdb0e59b: Download complete [2021-05-17T16:10:39.873Z] 5e14af77c1be: Verifying Checksum [2021-05-17T16:10:39.873Z] 5e14af77c1be: Download complete [2021-05-17T16:10:39.873Z] 01666e4c0597: Verifying Checksum [2021-05-17T16:10:39.873Z] 01666e4c0597: Download complete [2021-05-17T16:10:39.873Z] 93b61091891f: Verifying Checksum [2021-05-17T16:10:39.873Z] 93b61091891f: Download complete [2021-05-17T16:10:40.169Z] df20fa9351a1: Pull complete [2021-05-17T16:10:40.169Z] 8ad3a11d3b57: Verifying Checksum [2021-05-17T16:10:40.169Z] 8ad3a11d3b57: Download complete [2021-05-17T16:10:40.437Z] 36b3adc4ff6f: Pull complete [2021-05-17T16:10:41.396Z] 8ad3a11d3b57: Pull complete [2021-05-17T16:10:41.396Z] 46f8f816bc3b: Pull complete [2021-05-17T16:10:42.348Z] aa168da1d23b: Verifying Checksum [2021-05-17T16:10:42.348Z] aa168da1d23b: Download complete [2021-05-17T16:10:42.931Z] 93b61091891f: Pull complete [2021-05-17T16:10:42.931Z] 93b9cdb0e59b: Pull complete [2021-05-17T16:10:43.195Z] 5e14af77c1be: Pull complete [2021-05-17T16:10:43.195Z] 01666e4c0597: Pull complete [2021-05-17T16:10:51.411Z] aa168da1d23b: Pull complete [2021-05-17T16:10:51.411Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-17T16:10:51.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T16:10:51.411Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-17T16:10:51.719Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2021-05-17T16:10:51.767Z] $ 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-926/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-926 -v /w/workspace/dgexfoundry_device-sdk-go_PR-926:/w/workspace/dgexfoundry_device-sdk-go_PR-926:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-926@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-17T16:10:55.261Z] $ docker top bd14a0f4141e7fbe67a59e029dc48dc05c7bb6f98a4dbf77f1ff3a0e3a3bbd72 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T16:10:55.741Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-17T16:10:56.051Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-17T16:10:56.359Z] + ls /var/log/sa-host [2021-05-17T16:10:56.359Z] + sadf -c /var/log/sa-host/sa17 [2021-05-17T16:10:56.359Z] file_magic: OK [2021-05-17T16:10:56.359Z] HZ: Using current value: 100 [2021-05-17T16:10:56.359Z] file_header: OK [2021-05-17T16:10:56.359Z] 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-17T16:10:56.359Z] Statistics: [2021-05-17T16:10:56.359Z] 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-17T16:10:56.359Z] File successfully converted to sysstat format version 12.2.1 [2021-05-17T16:10:56.359Z] + sadf -c /var/log/sa-host/sa23 [2021-05-17T16:10:56.359Z] file_magic: OK [2021-05-17T16:10:56.359Z] HZ: Using current value: 100 [2021-05-17T16:10:56.359Z] file_header: OK [2021-05-17T16:10:56.359Z] 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-17T16:10:56.359Z] Statistics: [2021-05-17T16:10:56.359Z] Hnuu...uuuununununu... [2021-05-17T16:10:56.359Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T16:10:57.036Z] provisioning config files... [2021-05-17T16:10:57.050Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/config2137791559020287488tmp [Pipeline] { [Pipeline] echo [2021-05-17T16:10:57.072Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T16:10:57.388Z] ---> create-netrc.sh [Pipeline] } [2021-05-17T16:10:57.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-17T16:10:57.426Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T16:10:57.733Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-17T16:10:57.746Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T16:10:58.053Z] ---> sudo-logs.sh [2021-05-17T16:10:58.053Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-17T16:10:58.092Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T16:10:58.398Z] ---> job-cost.sh [2021-05-17T16:10:58.398Z] lf-activate-venv: SKIPPING [2021-05-17T16:10:58.398Z] DEBUG: total: 0.20999999344348907 [2021-05-17T16:10:58.398Z] INFO: Retrieving Stack Cost... [2021-05-17T16:10:59.796Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-17T16:11:00.061Z] INFO: Archiving Costs [Pipeline] echo [2021-05-17T16:11:00.078Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T16:11:00.386Z] ---> logs-deploy.sh [2021-05-17T16:11:00.386Z] lf-activate-venv: SKIPPING [2021-05-17T16:11:00.386Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-926/4 [2021-05-17T16:11:00.386Z] INFO: archiving workspace using pattern(s): [2021-05-17T16:11:02.322Z] Archives upload complete. [2021-05-17T16:11:02.322Z] INFO: archiving logs to Nexus