Pull request #949 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 jim-wang-intel for edgexfoundry/device-sdk-go Loading trusted files from base branch master at f9e550b20f5a93948f1e6d0294bcd4043c76663f rather than a51df48fb88117a0264a5420430980afa873b2af Obtained Jenkinsfile from f9e550b20f5a93948f1e6d0294bcd4043c76663f 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-ssh1289169017944160101.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-ssh6444265256998380377.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-949/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-949/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5430973760728822479.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-ssh8822974554922346138.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-949/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-949/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4417872815683904957.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-1794 in /w/workspace/dgexfoundry_device-sdk-go_PR-949 [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-949 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp/jenkins-gitclient-ssh2218545117126549619.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp/jenkins-gitclient-ssh304170019573089396.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/949/head:refs/remotes/origin/PR-949 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit a51df48fb88117a0264a5420430980afa873b2af Merge succeeded, producing a51df48fb88117a0264a5420430980afa873b2af Checking out Revision a51df48fb88117a0264a5420430980afa873b2af (PR-949) > git config core.sparsecheckout # timeout=10 > git checkout -f a51df48fb88117a0264a5420430980afa873b2af # 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-949@tmp/jenkins-gitclient-ssh7282564819476412068.key > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a51df48fb88117a0264a5420430980afa873b2af # timeout=10 Commit message: "fix: Update config on removing retry and secret path change Address PR feedback on Cloud's commnets" > git rev-list --no-walk 59faab7815dc9db383d035b6058155fdddbd96b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-01T15:57:56.734Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-01T15:57:56.850Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-01T15:57:56.879Z] ========================================================= [2021-06-01T15:57:56.879Z] EdgeX Global Pipelines Version Info [2021-06-01T15:57:56.879Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-01T15:58:00.436Z] ------------------- [2021-06-01T15:58:00.437Z] stable info: [2021-06-01T15:58:00.437Z] ------------------- [2021-06-01T15:58:00.437Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-01T15:58:00.437Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-06-01T15:58:00.437Z] Message: update stable to v1.0.192 [2021-06-01T15:58:01.009Z] ------------------- [2021-06-01T15:58:01.009Z] experimental info: [2021-06-01T15:58:01.009Z] ------------------- [2021-06-01T15:58:01.009Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-01T15:58:01.009Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-06-01T15:58:01.009Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-01T15:58:03.296Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-01T15:58:03.323Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-01T15:58:03.345Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-01T15:58:03.367Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-01T15:58:03.391Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-01T15:58:03.414Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-01T15:58:03.437Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-01T15:58:03.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-01T15:58:03.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-01T15:58:03.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-01T15:58:03.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-01T15:58:03.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-01T15:58:03.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-01T15:58:05.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-01T15:58:05.588Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-01T15:58:05.610Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-01T15:58:05.633Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-01T15:58:05.656Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-01T15:58:05.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-01T15:58:05.703Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-01T15:58:05.726Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-01T15:58:05.749Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-01T15:58:05.772Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-01T15:58:05.796Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-01T15:58:05.821Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-01T15:58:05.845Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-01T15:58:05.870Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-949 [Pipeline] echo [2021-06-01T15:58:05.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-949 [Pipeline] echo [2021-06-01T15:58:07.922Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-949 [Pipeline] echo [2021-06-01T15:58:07.946Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a51df48fb88117a0264a5420430980afa873b2af [Pipeline] echo [2021-06-01T15:58:07.968Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a51df48 [Pipeline] echo [2021-06-01T15:58:07.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-01T15:58:08.063Z] provisioning config files... [2021-06-01T15:58:08.080Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp/config5363209631201249789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-01T15:58:08.409Z] ---> docker-login.sh [2021-06-01T15:58:08.409Z] nexus3.edgexfoundry.org:10001 [2021-06-01T15:58:08.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T15:58:08.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T15:58:08.982Z] Configure a credential helper to remove this warning. See [2021-06-01T15:58:08.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T15:58:08.982Z] [2021-06-01T15:58:08.982Z] Login Succeeded [2021-06-01T15:58:08.982Z] nexus3.edgexfoundry.org:10002 [2021-06-01T15:58:08.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T15:58:09.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T15:58:09.253Z] Configure a credential helper to remove this warning. See [2021-06-01T15:58:09.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T15:58:09.253Z] [2021-06-01T15:58:09.253Z] Login Succeeded [2021-06-01T15:58:09.253Z] nexus3.edgexfoundry.org:10003 [2021-06-01T15:58:09.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T15:58:09.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T15:58:09.253Z] Configure a credential helper to remove this warning. See [2021-06-01T15:58:09.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T15:58:09.253Z] [2021-06-01T15:58:09.253Z] Login Succeeded [2021-06-01T15:58:09.253Z] nexus3.edgexfoundry.org:10004 [2021-06-01T15:58:09.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T15:58:09.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T15:58:09.514Z] Configure a credential helper to remove this warning. See [2021-06-01T15:58:09.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T15:58:09.514Z] [2021-06-01T15:58:09.514Z] Login Succeeded [2021-06-01T15:58:09.514Z] docker.io [2021-06-01T15:58:09.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T15:58:09.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T15:58:09.776Z] Configure a credential helper to remove this warning. See [2021-06-01T15:58:09.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T15:58:09.776Z] [2021-06-01T15:58:09.776Z] Login Succeeded [2021-06-01T15:58:09.776Z] ---> docker-login.sh ends [Pipeline] } [2021-06-01T15:58:09.786Z] 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-06-01T15:58:12.313Z] + git log --format=format:%s -1 a51df48fb88117a0264a5420430980afa873b2af [Pipeline] echo [2021-06-01T15:58:12.351Z] GIT_COMMIT: a51df48fb88117a0264a5420430980afa873b2af, Commit Message: fix: Update config on removing retry and secret path change Address PR feedback on Cloud's commnets [Pipeline] echo [2021-06-01T15:58:12.369Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-01T15:58:19.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-01T15:58:19.380Z] [2021-06-01T15:58:19.380Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-01T15:58:19.716Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-01T15:58:19.716Z] latest: Pulling from edgex-devops/git-semver [2021-06-01T15:58:19.716Z] 31603596830f: Pulling fs layer [2021-06-01T15:58:19.716Z] 54011a49482f: Pulling fs layer [2021-06-01T15:58:19.716Z] a6820b24f6d8: Pulling fs layer [2021-06-01T15:58:19.716Z] f581987b2513: Pulling fs layer [2021-06-01T15:58:19.716Z] f581987b2513: Waiting [2021-06-01T15:58:19.716Z] 54011a49482f: Verifying Checksum [2021-06-01T15:58:19.716Z] 54011a49482f: Download complete [2021-06-01T15:58:19.716Z] 31603596830f: Verifying Checksum [2021-06-01T15:58:19.716Z] 31603596830f: Download complete [2021-06-01T15:58:19.985Z] f581987b2513: Verifying Checksum [2021-06-01T15:58:19.985Z] f581987b2513: Download complete [2021-06-01T15:58:19.985Z] a6820b24f6d8: Verifying Checksum [2021-06-01T15:58:19.985Z] a6820b24f6d8: Download complete [2021-06-01T15:58:19.985Z] 31603596830f: Pull complete [2021-06-01T15:58:20.247Z] 54011a49482f: Pull complete [2021-06-01T15:58:20.828Z] a6820b24f6d8: Pull complete [2021-06-01T15:58:20.828Z] f581987b2513: Pull complete [2021-06-01T15:58:21.089Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-01T15:58:21.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-01T15:58:21.090Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-01T15:58:21.168Z] prd-centos7-docker-4c-2g-1794 does not seem to be running inside a container [2021-06-01T15:58:21.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-949 -v /w/workspace/dgexfoundry_device-sdk-go_PR-949:/w/workspace/dgexfoundry_device-sdk-go_PR-949:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-949@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-01T15:58:22.331Z] $ docker top 54ae7f926cf05e57709be5e299069aea0bed63fe9ad4c624af6a35b500b257cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-01T15:58:22.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-01T15:58:22.472Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-01T15:58:22.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-01T15:58:22.589Z] $ docker exec 54ae7f926cf05e57709be5e299069aea0bed63fe9ad4c624af6a35b500b257cb ssh-agent [2021-06-01T15:58:24.760Z] SSH_AUTH_SOCK=/tmp/ssh-6asOxPVQ3b6L/agent.13 [2021-06-01T15:58:24.760Z] SSH_AGENT_PID=19 [2021-06-01T15:58:24.771Z] Running ssh-add (command line suppressed) [2021-06-01T15:58:24.871Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp/private_key_3011294644250300536.key (/w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp/private_key_3011294644250300536.key) [2021-06-01T15:58:24.890Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-01T15:58:25.200Z] + git tag --points-at HEAD [Pipeline] } [2021-06-01T15:58:25.212Z] $ docker exec --env ******** --env ******** 54ae7f926cf05e57709be5e299069aea0bed63fe9ad4c624af6a35b500b257cb ssh-agent -k [2021-06-01T15:58:25.308Z] unset SSH_AUTH_SOCK; [2021-06-01T15:58:25.308Z] unset SSH_AGENT_PID; [2021-06-01T15:58:25.308Z] echo Agent pid 19 killed; [2021-06-01T15:58:25.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-01T15:58:25.364Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-01T15:58:25.365Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-01T15:58:25.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-01T15:58:25.463Z] $ docker exec 54ae7f926cf05e57709be5e299069aea0bed63fe9ad4c624af6a35b500b257cb ssh-agent [2021-06-01T15:58:25.569Z] SSH_AUTH_SOCK=/tmp/ssh-Y0O9mVIaq16J/agent.52 [2021-06-01T15:58:25.569Z] SSH_AGENT_PID=58 [2021-06-01T15:58:25.575Z] Running ssh-add (command line suppressed) [2021-06-01T15:58:25.671Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp/private_key_6341818812817449454.key (/w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp/private_key_6341818812817449454.key) [2021-06-01T15:58:25.690Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-01T15:58:26.000Z] + git semver init [2021-06-01T15:58:26.000Z] # -> Open(): unable to determine branch for HEAD [2021-06-01T15:58:26.000Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-949/.git [2021-06-01T15:58:26.001Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-949 [2021-06-01T15:58:26.001Z] # $SEMVER_REMOTE_NAME = origin [2021-06-01T15:58:26.001Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-01T15:58:26.001Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-01T15:58:26.001Z] # $SEMVER_BRANCH = PR-949 [2021-06-01T15:58:26.001Z] # $SEMVER_TEMP = /tmp/semver-272984414 [2021-06-01T15:58:26.001Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-01T15:58:27.940Z] # '/tmp/semver-272984414' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-949/.semver' [2021-06-01T15:58:27.940Z] # -> Force: false [2021-06-01T15:58:27.940Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-949/.semver [Pipeline] } [2021-06-01T15:58:27.947Z] $ docker exec --env ******** --env ******** 54ae7f926cf05e57709be5e299069aea0bed63fe9ad4c624af6a35b500b257cb ssh-agent -k [2021-06-01T15:58:28.046Z] unset SSH_AUTH_SOCK; [2021-06-01T15:58:28.046Z] unset SSH_AGENT_PID; [2021-06-01T15:58:28.046Z] echo Agent pid 58 killed; [2021-06-01T15:58:28.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-01T15:58:28.410Z] + git semver [Pipeline] } [2021-06-01T15:58:28.423Z] $ docker stop --time=1 54ae7f926cf05e57709be5e299069aea0bed63fe9ad4c624af6a35b500b257cb [2021-06-01T15:58:29.734Z] $ docker rm -f 54ae7f926cf05e57709be5e299069aea0bed63fe9ad4c624af6a35b500b257cb [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-01T15:58:30.117Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-01T15:58:32.608Z] Stashed 1 file(s) [Pipeline] echo [2021-06-01T15:58:32.611Z] [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-06-01T15:58:49.869Z] Still waiting to schedule task [2021-06-01T15:58:49.869Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-01T15:58:49.871Z] Still waiting to schedule task [2021-06-01T15:58:49.871Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-01T16:02:37.924Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1795 in /w/workspace/dgexfoundry_device-sdk-go_PR-949 [Pipeline] { [Pipeline] ws [2021-06-01T16:02:37.948Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-01T16:02:48.053Z] Selected Git installation does not exist. Using Default [2021-06-01T16:02:48.053Z] The recommended git tool is: NONE [2021-06-01T16:05:23.265Z] using credential edgex-jenkins-ssh [2021-06-01T16:05:25.341Z] Cloning the remote Git repository [2021-06-01T16:05:25.385Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T16:05:31.887Z] Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit a51df48fb88117a0264a5420430980afa873b2af [2021-06-01T16:05:27.560Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-01T16:05:27.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T16:05:27.623Z] > git --version # timeout=10 [2021-06-01T16:05:27.640Z] > git --version # 'git version 2.17.1' [2021-06-01T16:05:27.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T16:05:27.727Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-01T16:05:28.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-01T16:05:28.917Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-01T16:05:29.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-01T16:05:29.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T16:05:29.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T16:05:29.770Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/949/head:refs/remotes/origin/PR-949 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-01T16:05:31.899Z] > git config core.sparsecheckout # timeout=10 [2021-06-01T16:05:31.913Z] > git checkout -f a51df48fb88117a0264a5420430980afa873b2af # timeout=10 [2021-06-01T16:05:36.189Z] Merge succeeded, producing a51df48fb88117a0264a5420430980afa873b2af [2021-06-01T16:05:36.190Z] Checking out Revision a51df48fb88117a0264a5420430980afa873b2af (PR-949) [2021-06-01T16:05:34.089Z] > git remote # timeout=10 [2021-06-01T16:05:34.105Z] > git config --get remote.origin.url # timeout=10 [2021-06-01T16:05:34.124Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T16:05:34.135Z] > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 [2021-06-01T16:05:36.169Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-01T16:05:36.190Z] > git config core.sparsecheckout # timeout=10 [2021-06-01T16:05:36.205Z] > git checkout -f a51df48fb88117a0264a5420430980afa873b2af # timeout=10 [2021-06-01T16:05:46.905Z] Running on prd-centos7-docker-4c-2g-1796 in /w/workspace/dgexfoundry_device-sdk-go_PR-949 [Pipeline] { [Pipeline] ws [2021-06-01T16:05:46.944Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-01T16:05:51.219Z] Selected Git installation does not exist. Using Default [2021-06-01T16:05:51.219Z] The recommended git tool is: NONE [2021-06-01T16:06:08.838Z] Commit message: "fix: Update config on removing retry and secret path change Address PR feedback on Cloud's commnets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-01T16:06:24.735Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-01T16:06:29.105Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-01T16:06:31.330Z] + sudo service docker restart [2021-06-01T16:06:31.330Z] + true [2021-06-01T16:06:33.699Z] using credential edgex-jenkins-ssh [2021-06-01T16:06:33.715Z] Cloning the remote Git repository [2021-06-01T16:06:33.733Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T16:06:33.803Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-01T16:06:35.916Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T16:06:35.917Z] > git --version # timeout=10 [2021-06-01T16:06:35.921Z] > git --version # 'git version 2.24.4' [2021-06-01T16:06:35.922Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T16:06:35.975Z] [INFO] Currently running in a labeled security context [2021-06-01T16:06:35.976Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-01T16:06:35.976Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh5469676419683139269.key [2021-06-01T16:06:36.016Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-01T16:06:36.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-01T16:06:36.957Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-01T16:06:38.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-01T16:06:38.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T16:06:38.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T16:06:38.966Z] [INFO] Currently running in a labeled security context [2021-06-01T16:06:38.966Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-01T16:06:38.966Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh399181054249578637.key [2021-06-01T16:06:38.971Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/949/head:refs/remotes/origin/PR-949 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-01T16:06:39.473Z] Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit a51df48fb88117a0264a5420430980afa873b2af [2021-06-01T16:06:41.589Z] Merge succeeded, producing a51df48fb88117a0264a5420430980afa873b2af [2021-06-01T16:06:41.590Z] Checking out Revision a51df48fb88117a0264a5420430980afa873b2af (PR-949) [2021-06-01T16:06:39.479Z] > git config core.sparsecheckout # timeout=10 [2021-06-01T16:06:39.494Z] > git checkout -f a51df48fb88117a0264a5420430980afa873b2af # timeout=10 [2021-06-01T16:06:41.553Z] > git remote # timeout=10 [2021-06-01T16:06:41.557Z] > git config --get remote.origin.url # timeout=10 [2021-06-01T16:06:41.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T16:06:41.566Z] [INFO] Currently running in a labeled security context [2021-06-01T16:06:41.566Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-01T16:06:41.566Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh5135390035546230205.key [2021-06-01T16:06:41.570Z] > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 [2021-06-01T16:06:41.579Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-01T16:06:41.589Z] > git config core.sparsecheckout # timeout=10 [2021-06-01T16:06:41.596Z] > git checkout -f a51df48fb88117a0264a5420430980afa873b2af # timeout=10 [2021-06-01T16:06:47.334Z] Commit message: "fix: Update config on removing retry and secret path change Address PR feedback on Cloud's commnets" [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-01T16:06:49.521Z] provisioning config files... [2021-06-01T16:06:49.576Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config82524718910097667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-06-01T16:06:51.878Z] ---> docker-login.sh [2021-06-01T16:06:51.878Z] nexus3.edgexfoundry.org:10001 [2021-06-01T16:06:51.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T16:06:51.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T16:06:51.878Z] Configure a credential helper to remove this warning. See [2021-06-01T16:06:51.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T16:06:51.878Z] [2021-06-01T16:06:51.878Z] Login Succeeded [2021-06-01T16:06:51.878Z] nexus3.edgexfoundry.org:10002 [2021-06-01T16:06:51.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-01T16:06:54.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T16:06:54.214Z] Configure a credential helper to remove this warning. See [2021-06-01T16:06:54.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T16:06:54.214Z] [2021-06-01T16:06:54.214Z] Login Succeeded [2021-06-01T16:06:54.214Z] nexus3.edgexfoundry.org:10003 [2021-06-01T16:06:54.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T16:06:54.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T16:06:54.214Z] Configure a credential helper to remove this warning. See [2021-06-01T16:06:54.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T16:06:54.214Z] [2021-06-01T16:06:54.214Z] Login Succeeded [2021-06-01T16:06:54.214Z] nexus3.edgexfoundry.org:10004 [2021-06-01T16:06:54.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T16:06:54.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T16:06:54.214Z] Configure a credential helper to remove this warning. See [2021-06-01T16:06:54.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T16:06:54.214Z] [2021-06-01T16:06:54.214Z] Login Succeeded [2021-06-01T16:06:54.214Z] docker.io [2021-06-01T16:06:54.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T16:06:54.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T16:06:54.214Z] Configure a credential helper to remove this warning. See [2021-06-01T16:06:54.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T16:06:54.214Z] [2021-06-01T16:06:54.214Z] Login Succeeded [2021-06-01T16:06:54.214Z] ---> docker-login.sh ends [Pipeline] } [2021-06-01T16:06:54.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-01T16:06:56.532Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [Pipeline] echo [2021-06-01T16:06:58.856Z] ========================================================= [2021-06-01T16:06:58.856Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-01T16:06:58.856Z] ========================================================= [2021-06-01T16:06:58.864Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-01T16:06:59.164Z] + sudo service docker restart [2021-06-01T16:06:59.164Z] + true [2021-06-01T16:06:59.164Z] Redirecting to /bin/systemctl restart docker.service [2021-06-01T16:06:59.240Z] + 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-06-01T16:07:01.991Z] Sending build context to Docker daemon 2.63MB [2021-06-01T16:07:01.991Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-01T16:07:01.991Z] Step 2/8 : FROM ${BASE} [2021-06-01T16:07:01.991Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-01T16:07:01.991Z] 595b0fe564bb: Pulling fs layer [2021-06-01T16:07:01.991Z] 7186ed65a4f7: Pulling fs layer [2021-06-01T16:07:01.991Z] 316046926c0a: Pulling fs layer [2021-06-01T16:07:01.991Z] 4ebd0625c992: Pulling fs layer [2021-06-01T16:07:01.991Z] 207e8628e3a3: Pulling fs layer [2021-06-01T16:07:01.991Z] c791037a9be2: Pulling fs layer [2021-06-01T16:07:01.991Z] ffd874e62e21: Pulling fs layer [2021-06-01T16:07:01.991Z] 207e8628e3a3: Waiting [2021-06-01T16:07:01.991Z] c791037a9be2: Waiting [2021-06-01T16:07:01.991Z] 316046926c0a: Verifying Checksum [2021-06-01T16:07:01.991Z] 7186ed65a4f7: Verifying Checksum [2021-06-01T16:07:01.991Z] 7186ed65a4f7: Download complete [2021-06-01T16:07:01.991Z] 207e8628e3a3: Verifying Checksum [2021-06-01T16:07:01.991Z] 207e8628e3a3: Download complete [2021-06-01T16:07:01.991Z] c791037a9be2: Verifying Checksum [2021-06-01T16:07:01.991Z] c791037a9be2: Download complete [2021-06-01T16:07:01.991Z] 595b0fe564bb: Download complete [2021-06-01T16:07:01.991Z] 595b0fe564bb: Pull complete [2021-06-01T16:07:01.991Z] 7186ed65a4f7: Pull complete [2021-06-01T16:07:01.991Z] 316046926c0a: Pull complete [2021-06-01T16:07:02.592Z] ffd874e62e21: Verifying Checksum [2021-06-01T16:07:02.592Z] ffd874e62e21: Download complete [2021-06-01T16:07:04.050Z] 4ebd0625c992: Verifying Checksum [2021-06-01T16:07:04.050Z] 4ebd0625c992: Download complete [2021-06-01T16:07:14.240Z] 4ebd0625c992: Pull complete [2021-06-01T16:07:14.517Z] 207e8628e3a3: Pull complete [2021-06-01T16:07:14.798Z] c791037a9be2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-01T16:07:16.355Z] provisioning config files... [2021-06-01T16:07:18.574Z] ffd874e62e21: Pull complete [2021-06-01T16:07:18.574Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-01T16:07:18.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-01T16:07:18.600Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config545108610355295544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-01T16:07:18.848Z] ---> cfc18b08335c [2021-06-01T16:07:18.848Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T16:07:19.073Z] ---> docker-login.sh [2021-06-01T16:07:19.073Z] nexus3.edgexfoundry.org:10001 [2021-06-01T16:07:19.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T16:07:19.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T16:07:19.915Z] Configure a credential helper to remove this warning. See [2021-06-01T16:07:19.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T16:07:19.915Z] [2021-06-01T16:07:19.915Z] Login Succeeded [2021-06-01T16:07:19.915Z] nexus3.edgexfoundry.org:10002 [2021-06-01T16:07:19.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T16:07:19.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T16:07:19.915Z] Configure a credential helper to remove this warning. See [2021-06-01T16:07:19.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T16:07:19.915Z] [2021-06-01T16:07:19.915Z] Login Succeeded [2021-06-01T16:07:19.915Z] nexus3.edgexfoundry.org:10003 [2021-06-01T16:07:19.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T16:07:20.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T16:07:20.177Z] Configure a credential helper to remove this warning. See [2021-06-01T16:07:20.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T16:07:20.177Z] [2021-06-01T16:07:20.177Z] Login Succeeded [2021-06-01T16:07:20.177Z] nexus3.edgexfoundry.org:10004 [2021-06-01T16:07:20.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T16:07:20.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T16:07:20.177Z] Configure a credential helper to remove this warning. See [2021-06-01T16:07:20.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T16:07:20.177Z] [2021-06-01T16:07:20.177Z] Login Succeeded [2021-06-01T16:07:20.177Z] docker.io [2021-06-01T16:07:20.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T16:07:20.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T16:07:20.751Z] Configure a credential helper to remove this warning. See [2021-06-01T16:07:20.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T16:07:20.751Z] [2021-06-01T16:07:20.751Z] Login Succeeded [2021-06-01T16:07:20.751Z] ---> docker-login.sh ends [Pipeline] } [2021-06-01T16:07:22.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [2021-06-01T16:07:22.899Z] ---> Running in a1e40d9d8e01 [2021-06-01T16:07:22.900Z] Removing intermediate container a1e40d9d8e01 [2021-06-01T16:07:22.900Z] ---> 5a0daa0b221e [2021-06-01T16:07:22.900Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T16:07:22.900Z] ---> Running in 8fea125a84c2 [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-01T16:07:23.080Z] ========================================================= [2021-06-01T16:07:23.080Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-01T16:07:23.080Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-01T16:07:25.302Z] Removing intermediate container 8fea125a84c2 [2021-06-01T16:07:25.302Z] ---> 37c791ca7e3d [2021-06-01T16:07:25.302Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-01T16:07:25.302Z] ---> Running in e3ad7a6ac699 [2021-06-01T16:07:25.302Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-01T16:07:25.578Z] + 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-06-01T16:07:25.578Z] Sending build context to Docker daemon 2.631MB [2021-06-01T16:07:25.578Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-01T16:07:25.578Z] Step 2/8 : FROM ${BASE} [2021-06-01T16:07:25.839Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-01T16:07:25.839Z] 540db60ca938: Pulling fs layer [2021-06-01T16:07:25.839Z] adcc1eea9eea: Pulling fs layer [2021-06-01T16:07:25.839Z] 4c4ab2625f07: Pulling fs layer [2021-06-01T16:07:25.839Z] 0510c868ecb4: Pulling fs layer [2021-06-01T16:07:25.839Z] afea3b2eda06: Pulling fs layer [2021-06-01T16:07:25.839Z] 7809a108b3ef: Pulling fs layer [2021-06-01T16:07:25.839Z] f706445af74f: Pulling fs layer [2021-06-01T16:07:25.839Z] afea3b2eda06: Waiting [2021-06-01T16:07:25.839Z] 7809a108b3ef: Waiting [2021-06-01T16:07:25.839Z] f706445af74f: Waiting [2021-06-01T16:07:25.839Z] 0510c868ecb4: Waiting [2021-06-01T16:07:25.839Z] 4c4ab2625f07: Verifying Checksum [2021-06-01T16:07:25.839Z] 4c4ab2625f07: Download complete [2021-06-01T16:07:26.100Z] adcc1eea9eea: Verifying Checksum [2021-06-01T16:07:26.100Z] adcc1eea9eea: Download complete [2021-06-01T16:07:26.100Z] afea3b2eda06: Verifying Checksum [2021-06-01T16:07:26.100Z] afea3b2eda06: Download complete [2021-06-01T16:07:26.100Z] 7809a108b3ef: Verifying Checksum [2021-06-01T16:07:26.100Z] 7809a108b3ef: Download complete [2021-06-01T16:07:26.100Z] 540db60ca938: Verifying Checksum [2021-06-01T16:07:26.100Z] 540db60ca938: Download complete [2021-06-01T16:07:26.275Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-01T16:07:26.366Z] 540db60ca938: Pull complete [2021-06-01T16:07:26.944Z] adcc1eea9eea: Pull complete [2021-06-01T16:07:27.205Z] 4c4ab2625f07: Pull complete [2021-06-01T16:07:27.466Z] f706445af74f: Verifying Checksum [2021-06-01T16:07:27.466Z] f706445af74f: Download complete [2021-06-01T16:07:27.706Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-01T16:07:27.706Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-01T16:07:27.979Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-01T16:07:27.979Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-01T16:07:27.979Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-01T16:07:28.036Z] 0510c868ecb4: Verifying Checksum [2021-06-01T16:07:28.036Z] 0510c868ecb4: Download complete [2021-06-01T16:07:28.572Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-01T16:07:28.572Z] Executing busybox-1.32.1-r6.trigger [2021-06-01T16:07:28.572Z] OK: 139 MiB in 46 packages [2021-06-01T16:07:32.062Z] Removing intermediate container e3ad7a6ac699 [2021-06-01T16:07:32.062Z] ---> bd37a9a7a44d [2021-06-01T16:07:32.062Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-01T16:07:32.062Z] ---> Running in d3232cbc6f79 [2021-06-01T16:07:32.062Z] Removing intermediate container d3232cbc6f79 [2021-06-01T16:07:32.062Z] ---> 9110cc1f0ccc [2021-06-01T16:07:32.062Z] Step 7/8 : COPY . . [2021-06-01T16:07:32.062Z] ---> eff28deb281f [2021-06-01T16:07:32.062Z] Step 8/8 : RUN go mod download [2021-06-01T16:07:32.062Z] ---> Running in a236c05dec4f [2021-06-01T16:07:32.092Z] 0510c868ecb4: Pull complete [2021-06-01T16:07:32.361Z] afea3b2eda06: Pull complete [2021-06-01T16:07:32.622Z] 7809a108b3ef: Pull complete [2021-06-01T16:07:36.019Z] f706445af74f: Pull complete [2021-06-01T16:07:36.019Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-01T16:07:36.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-01T16:07:36.019Z] ---> b068be0155e3 [2021-06-01T16:07:36.019Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T16:08:01.122Z] Removing intermediate container a236c05dec4f [2021-06-01T16:08:01.122Z] ---> 4f39e1dcb3cc [2021-06-01T16:08:01.122Z] Successfully built 4f39e1dcb3cc [2021-06-01T16:08:01.122Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-01T16:08:01.470Z] + docker inspect -f . ci-base-image-arm64 [2021-06-01T16:08:01.470Z] . [Pipeline] withDockerContainer [2021-06-01T16:08:01.699Z] prd-ubuntu18.04-docker-arm64-4c-16g-1795 does not seem to be running inside a container [2021-06-01T16:08:01.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-01T16:08:04.490Z] $ docker top e2a5762b116a320cdff9ebebd8b749b54df8cb87e965c8738136f4d057cccc51 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-01T16:08:05.417Z] + go version [2021-06-01T16:08:05.417Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-01T16:08:05.436Z] $ docker stop --time=1 e2a5762b116a320cdff9ebebd8b749b54df8cb87e965c8738136f4d057cccc51 [2021-06-01T16:08:08.255Z] $ docker rm -f e2a5762b116a320cdff9ebebd8b749b54df8cb87e965c8738136f4d057cccc51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-06-01T16:08:10.594Z] ---> Running in e51a9cf1ae75 [2021-06-01T16:08:10.594Z] Removing intermediate container e51a9cf1ae75 [2021-06-01T16:08:10.594Z] ---> e0b13ed15382 [2021-06-01T16:08:10.594Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T16:08:10.594Z] ---> Running in e018417f802b [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-01T16:08:13.135Z] Removing intermediate container e018417f802b [2021-06-01T16:08:13.135Z] ---> 57d23aa9b08c [2021-06-01T16:08:13.135Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-01T16:08:13.135Z] ---> Running in a38a1ee3c8a0 [2021-06-01T16:08:13.137Z] + docker inspect -f . ci-base-image-arm64 [2021-06-01T16:08:13.137Z] . [Pipeline] withDockerContainer [2021-06-01T16:08:13.410Z] prd-ubuntu18.04-docker-arm64-4c-16g-1795 does not seem to be running inside a container [2021-06-01T16:08:13.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-01T16:08:13.707Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-01T16:08:14.650Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-01T16:08:17.176Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-01T16:08:17.176Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-01T16:08:17.176Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-01T16:08:17.176Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-01T16:08:17.176Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-01T16:08:17.176Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-01T16:08:17.176Z] Executing busybox-1.32.1-r6.trigger [2021-06-01T16:08:17.176Z] OK: 150 MiB in 46 packages [2021-06-01T16:08:17.181Z] $ docker top 8d41b69fced0e5ae6b2284e0beb4d21391dfeb5ce28492b80a0d864023f82eea -eo pid,comm [2021-06-01T16:08:19.493Z] Removing intermediate container a38a1ee3c8a0 [2021-06-01T16:08:19.494Z] ---> 7ec9adb8cbf1 [2021-06-01T16:08:19.494Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-01T16:08:19.494Z] ---> Running in 83a72935d134 [2021-06-01T16:08:19.494Z] Removing intermediate container 83a72935d134 [2021-06-01T16:08:19.494Z] ---> ebf023c5123a [2021-06-01T16:08:19.494Z] Step 7/8 : COPY . . [Pipeline] { [Pipeline] sh [2021-06-01T16:08:21.662Z] ---> 45c882218861 [2021-06-01T16:08:21.663Z] Step 8/8 : RUN go mod download [2021-06-01T16:08:21.663Z] ---> Running in 13a7a1ef944b [2021-06-01T16:08:23.913Z] + go mod tidy [Pipeline] sh [2021-06-01T16:08:28.371Z] + make test [2021-06-01T16:08:28.371Z] go mod tidy [2021-06-01T16:08:28.371Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-01T16:08:47.039Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-01T16:09:31.782Z] Removing intermediate container 13a7a1ef944b [2021-06-01T16:09:31.782Z] ---> 10eea3f19b01 [2021-06-01T16:09:31.782Z] Successfully built 10eea3f19b01 [2021-06-01T16:09:32.728Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-01T16:09:33.040Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-01T16:09:33.040Z] . [Pipeline] withDockerContainer [2021-06-01T16:09:35.245Z] prd-centos7-docker-4c-2g-1796 does not seem to be running inside a container [2021-06-01T16:09:35.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-01T16:09:37.389Z] $ docker top b917321282d93321efd285fd0f24424b3e0a0ac5c3673b2e39e5f948ea75a362 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-01T16:09:39.699Z] + go version [2021-06-01T16:09:39.699Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-01T16:09:39.710Z] $ docker stop --time=1 b917321282d93321efd285fd0f24424b3e0a0ac5c3673b2e39e5f948ea75a362 [2021-06-01T16:09:42.979Z] $ docker rm -f b917321282d93321efd285fd0f24424b3e0a0ac5c3673b2e39e5f948ea75a362 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-01T16:09:45.746Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-01T16:09:45.747Z] . [Pipeline] withDockerContainer [2021-06-01T16:09:47.863Z] prd-centos7-docker-4c-2g-1796 does not seem to be running inside a container [2021-06-01T16:09:47.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-01T16:09:49.759Z] $ docker top 3dbc481cd32bac84b072743e0182422473d132cdbf0bc96b3c18003aaa4dc4d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-01T16:09:50.159Z] + go mod tidy [Pipeline] sh [2021-06-01T16:09:52.811Z] + make test [2021-06-01T16:09:52.811Z] go mod tidy [2021-06-01T16:09:52.811Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-01T16:10:01.133Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-01T16:10:01.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-01T16:10:01.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-01T16:10:01.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-01T16:10:01.137Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.273s coverage: 25.4% of statements [2021-06-01T16:10:01.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-01T16:10:01.137Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.214s coverage: 28.1% of statements [2021-06-01T16:10:01.137Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.301s coverage: 78.9% of statements [2021-06-01T16:10:01.137Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.186s coverage: 9.0% of statements [2021-06-01T16:10:01.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-01T16:10:01.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-01T16:10:01.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-01T16:10:02.588Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.293s coverage: 30.2% of statements [2021-06-01T16:10:02.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-01T16:10:03.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.219s coverage: 83.3% of statements [2021-06-01T16:10:03.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-01T16:10:03.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-01T16:10:03.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.406s coverage: 58.0% of statements [2021-06-01T16:10:08.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.995s coverage: 89.2% of statements [2021-06-01T16:10:08.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-01T16:10:08.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 5.0% of statements [2021-06-01T16:10:08.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-01T16:10:08.797Z] GO111MODULE=on go vet ./... [2021-06-01T16:10:37.637Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-01T16:10:37.637Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-01T16:10:37.637Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-01T16:10:55.820Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 25.4% of statements [2021-06-01T16:10:55.820Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-01T16:10:57.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 28.1% of statements [2021-06-01T16:10:58.008Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements [2021-06-01T16:10:58.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 9.0% of statements [2021-06-01T16:10:58.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-01T16:10:58.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-01T16:10:58.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-01T16:11:01.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 30.2% of statements [2021-06-01T16:11:01.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-01T16:11:02.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.043s coverage: 83.3% of statements [2021-06-01T16:11:02.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-01T16:11:02.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-01T16:11:02.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-06-01T16:11:03.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.803s coverage: 89.2% of statements [2021-06-01T16:11:03.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-01T16:11:03.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements [2021-06-01T16:11:03.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-01T16:11:04.221Z] GO111MODULE=on go vet ./... [2021-06-01T16:11:07.398Z] gofmt -l . [2021-06-01T16:11:07.398Z] [ "`gofmt -l .`" = "" ] [2021-06-01T16:11:07.398Z] ./bin/test-attribution-txt.sh [2021-06-01T16:11:07.398Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-01T16:11:07.413Z] $ docker stop --time=1 8d41b69fced0e5ae6b2284e0beb4d21391dfeb5ce28492b80a0d864023f82eea [2021-06-01T16:11:10.673Z] $ docker rm -f 8d41b69fced0e5ae6b2284e0beb4d21391dfeb5ce28492b80a0d864023f82eea [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-01T16:11:11.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-01T16:11:14.486Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-06-01T16:11:27.200Z] gofmt -l . [2021-06-01T16:11:27.200Z] [ "`gofmt -l .`" = "" ] [2021-06-01T16:11:27.200Z] ./bin/test-attribution-txt.sh [2021-06-01T16:11:27.200Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-01T16:13:12.180Z] $ docker stop --time=1 3dbc481cd32bac84b072743e0182422473d132cdbf0bc96b3c18003aaa4dc4d9 [2021-06-01T16:13:14.707Z] $ docker rm -f 3dbc481cd32bac84b072743e0182422473d132cdbf0bc96b3c18003aaa4dc4d9 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-01T16:13:17.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-01T16:13:17.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-01T16:13:17.466Z] Warning: overwriting stash ‘coverage-report’ [2021-06-01T16:13:19.707Z] + ls -al . [2021-06-01T16:13:19.707Z] total 244 [2021-06-01T16:13:19.707Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 16:11 . [2021-06-01T16:13:19.707Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 16:05 .. [2021-06-01T16:13:19.707Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 1 16:05 .dockerignore [2021-06-01T16:13:19.707Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 16:05 .git [2021-06-01T16:13:19.707Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 16:05 .github [2021-06-01T16:13:19.707Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 1 16:05 .gitignore [2021-06-01T16:13:19.707Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 1 16:05 Dockerfile.build [2021-06-01T16:13:19.707Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 1 16:05 Jenkinsfile [2021-06-01T16:13:19.707Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 1 16:05 LICENSE [2021-06-01T16:13:19.707Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 1 16:05 Makefile [2021-06-01T16:13:19.707Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 1 16:05 README.md [2021-06-01T16:13:19.707Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 1 16:05 RELEASE-NOTES.txt [2021-06-01T16:13:19.707Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 15:58 VERSION [2021-06-01T16:13:19.707Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 16:05 bin [2021-06-01T16:13:19.707Z] -rw-r--r-- 1 jenkins jenkins 126444 Jun 1 16:10 coverage.out [2021-06-01T16:13:19.707Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 16:05 example [2021-06-01T16:13:19.707Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 1 16:11 go.mod [2021-06-01T16:13:19.707Z] -rw-r--r-- 1 jenkins jenkins 20381 Jun 1 16:08 go.sum [2021-06-01T16:13:19.707Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 1 16:05 internal [2021-06-01T16:13:19.707Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 16:05 openapi [2021-06-01T16:13:19.707Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 16:05 pkg [2021-06-01T16:13:19.707Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 16:05 snap [2021-06-01T16:13:19.707Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 1 16:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-01T16:13:19.768Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-01T16:13:22.059Z] + 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=a51df48fb88117a0264a5420430980afa873b2af --label arch=arm64 --label version=0.0.0 . [2021-06-01T16:13:22.060Z] Sending build context to Docker daemon 2.757MB [2021-06-01T16:13:22.060Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-01T16:13:22.060Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-01T16:13:22.060Z] ---> 4f39e1dcb3cc [2021-06-01T16:13:22.060Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-01T16:13:22.060Z] ---> Running in 51924ad80361 [2021-06-01T16:13:22.060Z] Removing intermediate container 51924ad80361 [2021-06-01T16:13:22.060Z] ---> 445fe132680d [2021-06-01T16:13:22.060Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T16:13:22.060Z] ---> Running in d9734bc7d8f1 [2021-06-01T16:13:22.060Z] Removing intermediate container d9734bc7d8f1 [2021-06-01T16:13:22.060Z] ---> 804ed137a7f1 [2021-06-01T16:13:22.060Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T16:13:22.060Z] ---> Running in d8e4e625c2ad [Pipeline] sh [2021-06-01T16:13:24.394Z] + sudo chown -R jenkins:jenkins . [2021-06-01T16:13:24.399Z] Removing intermediate container d8e4e625c2ad [2021-06-01T16:13:24.399Z] ---> 5bdac68ab756 [2021-06-01T16:13:24.399Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-01T16:13:24.399Z] ---> Running in 7efeabb74364 [Pipeline] sh [2021-06-01T16:13:26.710Z] + ls -al . [2021-06-01T16:13:26.710Z] total 208 [2021-06-01T16:13:26.710Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 1 16:11 . [2021-06-01T16:13:26.710Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 1 16:06 .. [2021-06-01T16:13:26.710Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 1 16:06 bin [2021-06-01T16:13:26.710Z] -rw-r--r--. 1 jenkins jenkins 126444 Jun 1 16:11 coverage.out [2021-06-01T16:13:26.710Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 1 16:06 Dockerfile.build [2021-06-01T16:13:26.710Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 1 16:06 .dockerignore [2021-06-01T16:13:26.710Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 1 16:06 example [2021-06-01T16:13:26.710Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 1 16:06 .git [2021-06-01T16:13:26.710Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 1 16:06 .github [2021-06-01T16:13:26.710Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 1 16:06 .gitignore [2021-06-01T16:13:26.710Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 1 16:11 go.mod [2021-06-01T16:13:26.710Z] -rw-r--r--. 1 jenkins jenkins 20381 Jun 1 16:09 go.sum [2021-06-01T16:13:26.710Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 1 16:06 internal [2021-06-01T16:13:26.710Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 1 16:06 Jenkinsfile [2021-06-01T16:13:26.710Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 1 16:06 LICENSE [2021-06-01T16:13:26.710Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 1 16:06 Makefile [2021-06-01T16:13:26.710Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 1 16:06 openapi [2021-06-01T16:13:26.710Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 1 16:06 pkg [2021-06-01T16:13:26.710Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 1 16:06 README.md [2021-06-01T16:13:26.710Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 1 16:06 RELEASE-NOTES.txt [2021-06-01T16:13:26.710Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 1 16:06 snap [2021-06-01T16:13:26.710Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 1 15:58 VERSION [2021-06-01T16:13:26.710Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 1 16:06 version.go [2021-06-01T16:13:26.721Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-01T16:13:26.721Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] sh [2021-06-01T16:13:28.896Z] + 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=a51df48fb88117a0264a5420430980afa873b2af --label arch=amd64 --label version=0.0.0 . [2021-06-01T16:13:28.896Z] Sending build context to Docker daemon 2.758MB [2021-06-01T16:13:28.896Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-01T16:13:28.896Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-01T16:13:28.896Z] ---> 10eea3f19b01 [2021-06-01T16:13:28.896Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-01T16:13:28.896Z] ---> Running in 40ff891c4c46 [2021-06-01T16:13:28.896Z] Removing intermediate container 40ff891c4c46 [2021-06-01T16:13:28.896Z] ---> 44b743ba928f [2021-06-01T16:13:28.896Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T16:13:28.896Z] ---> Running in bd77bf927a05 [2021-06-01T16:13:28.896Z] Removing intermediate container bd77bf927a05 [2021-06-01T16:13:28.896Z] ---> 2e7ec2e9f39b [2021-06-01T16:13:28.896Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T16:13:28.896Z] ---> Running in 3548ee456c49 [2021-06-01T16:13:28.904Z] OK: 139 MiB in 46 packages [2021-06-01T16:13:28.904Z] Removing intermediate container 7efeabb74364 [2021-06-01T16:13:28.904Z] ---> b4d4ebca652b [2021-06-01T16:13:28.904Z] Step 7/23 : COPY . . [2021-06-01T16:13:31.108Z] ---> d41345c4966b [2021-06-01T16:13:31.108Z] Step 8/23 : RUN go mod download [2021-06-01T16:13:31.108Z] ---> Running in aaae44a57ba7 [2021-06-01T16:13:33.393Z] Removing intermediate container 3548ee456c49 [2021-06-01T16:13:33.393Z] ---> 36fce7304c2e [2021-06-01T16:13:33.393Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-01T16:13:33.393Z] ---> Running in 4def78ae64c5 [2021-06-01T16:13:33.393Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-01T16:13:33.393Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-01T16:13:33.393Z] OK: 150 MiB in 46 packages [2021-06-01T16:13:33.404Z] Removing intermediate container aaae44a57ba7 [2021-06-01T16:13:33.404Z] ---> 74a597e25759 [2021-06-01T16:13:33.404Z] Step 9/23 : RUN make build [2021-06-01T16:13:33.404Z] ---> Running in 56efd5ad24f1 [2021-06-01T16:13:35.696Z] Removing intermediate container 4def78ae64c5 [2021-06-01T16:13:35.696Z] ---> 14607277f153 [2021-06-01T16:13:35.696Z] Step 7/23 : COPY . . [2021-06-01T16:13:35.706Z] go mod tidy [2021-06-01T16:13:35.706Z] 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-06-01T16:13:35.960Z] ---> 2889c88ae30e [2021-06-01T16:13:35.960Z] Step 8/23 : RUN go mod download [2021-06-01T16:13:38.077Z] ---> Running in b248962caf8a [2021-06-01T16:13:38.077Z] Removing intermediate container b248962caf8a [2021-06-01T16:13:38.077Z] ---> 378c992f8911 [2021-06-01T16:13:38.077Z] Step 9/23 : RUN make build [2021-06-01T16:13:38.077Z] ---> Running in 6423f9e1d6ce [2021-06-01T16:13:38.077Z] go mod tidy [2021-06-01T16:13:38.077Z] 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-06-01T16:13:48.751Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-01T16:13:53.853Z] Removing intermediate container 6423f9e1d6ce [2021-06-01T16:13:53.853Z] ---> f3033a0deb80 [2021-06-01T16:13:53.853Z] Step 10/23 : FROM alpine:3.12 [2021-06-01T16:13:53.853Z] 3.12: Pulling from library/alpine [2021-06-01T16:13:53.853Z] 339de151aab4: Pulling fs layer [2021-06-01T16:13:56.355Z] 339de151aab4: Verifying Checksum [2021-06-01T16:13:56.355Z] 339de151aab4: Download complete [2021-06-01T16:13:58.953Z] 339de151aab4: Pull complete [2021-06-01T16:13:58.953Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-01T16:13:58.953Z] Status: Downloaded newer image for alpine:3.12 [2021-06-01T16:13:58.953Z] ---> 13621d1b12d4 [2021-06-01T16:13:58.953Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T16:13:58.953Z] ---> Running in 0a0ac3ebd792 [2021-06-01T16:13:58.953Z] Removing intermediate container 0a0ac3ebd792 [2021-06-01T16:13:58.953Z] ---> 6c4169023972 [2021-06-01T16:13:58.953Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T16:13:58.953Z] ---> Running in a887bb8afb33 [2021-06-01T16:13:58.953Z] Removing intermediate container a887bb8afb33 [2021-06-01T16:13:58.953Z] ---> 56f9b6036161 [2021-06-01T16:13:58.953Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-01T16:13:58.953Z] ---> Running in 5e650aabfa08 [2021-06-01T16:13:58.953Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-01T16:13:58.953Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-01T16:13:58.953Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-01T16:13:58.953Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-01T16:13:58.953Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-01T16:13:58.953Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-01T16:13:58.953Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-01T16:13:58.953Z] Executing busybox-1.31.1-r20.trigger [2021-06-01T16:13:58.953Z] OK: 8 MiB in 19 packages [2021-06-01T16:14:01.578Z] Removing intermediate container 5e650aabfa08 [2021-06-01T16:14:01.578Z] ---> 4ea400b7d693 [2021-06-01T16:14:01.578Z] Step 14/23 : WORKDIR / [2021-06-01T16:14:01.578Z] ---> Running in 63528b8cd0a8 [2021-06-01T16:14:01.578Z] Removing intermediate container 63528b8cd0a8 [2021-06-01T16:14:01.578Z] ---> f55583f028aa [2021-06-01T16:14:01.578Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-01T16:14:01.578Z] ---> a5f49a1a2d61 [2021-06-01T16:14:01.578Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-01T16:14:04.759Z] ---> 29b75be8210d [2021-06-01T16:14:04.759Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-01T16:14:04.759Z] ---> 320878710ada [2021-06-01T16:14:04.759Z] Step 18/23 : EXPOSE 59999 [2021-06-01T16:14:04.759Z] ---> Running in cc709d2e33c2 [2021-06-01T16:14:04.759Z] Removing intermediate container cc709d2e33c2 [2021-06-01T16:14:04.759Z] ---> f9a8c7af1cd6 [2021-06-01T16:14:04.759Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-01T16:14:07.542Z] ---> Running in 9f75aef28f9d [2021-06-01T16:14:07.542Z] Removing intermediate container 9f75aef28f9d [2021-06-01T16:14:07.542Z] ---> 8596818f3f2d [2021-06-01T16:14:07.542Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-01T16:14:07.542Z] ---> Running in cd38312b4b46 [2021-06-01T16:14:07.542Z] Removing intermediate container cd38312b4b46 [2021-06-01T16:14:07.542Z] ---> b6ceddfa8a83 [2021-06-01T16:14:07.542Z] Step 21/23 : LABEL arch=amd64 [2021-06-01T16:14:07.542Z] ---> Running in 6e75ba13c274 [2021-06-01T16:14:07.555Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-01T16:14:07.812Z] Removing intermediate container 6e75ba13c274 [2021-06-01T16:14:07.812Z] ---> d3bfaf87728a [2021-06-01T16:14:07.812Z] Step 22/23 : LABEL git_sha=a51df48fb88117a0264a5420430980afa873b2af [2021-06-01T16:14:10.136Z] ---> Running in 6527e5035102 [2021-06-01T16:14:10.136Z] Removing intermediate container 6527e5035102 [2021-06-01T16:14:10.136Z] ---> 510691477a8d [2021-06-01T16:14:10.136Z] Step 23/23 : LABEL version=0.0.0 [2021-06-01T16:14:10.136Z] ---> Running in e965c1e871ab [2021-06-01T16:14:10.136Z] Removing intermediate container e965c1e871ab [2021-06-01T16:14:10.136Z] ---> 5d32974ca8ad [2021-06-01T16:14:10.136Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-01T16:14:10.136Z] Successfully built 5d32974ca8ad [2021-06-01T16:14:10.136Z] Successfully tagged device-sdk-simple:latest [2021-06-01T16:14:10.145Z] Removing intermediate container 56efd5ad24f1 [2021-06-01T16:14:10.145Z] ---> 9f6719953e6f [2021-06-01T16:14:10.145Z] Step 10/23 : FROM alpine:3.12 [2021-06-01T16:14:10.145Z] 3.12: Pulling from library/alpine [2021-06-01T16:14:10.145Z] d2f70382dc9a: Pulling fs layer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-06-01T16:14:12.509Z] d2f70382dc9a: Verifying Checksum [2021-06-01T16:14:12.509Z] d2f70382dc9a: Download complete [2021-06-01T16:14:12.509Z] d2f70382dc9a: Pull complete [2021-06-01T16:14:12.509Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-01T16:14:12.509Z] Status: Downloaded newer image for alpine:3.12 [2021-06-01T16:14:12.509Z] ---> 9852663dfa18 [2021-06-01T16:14:12.509Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T16:14:12.509Z] ---> Running in 7c0f9eb3cfd5 [2021-06-01T16:14:12.509Z] Removing intermediate container 7c0f9eb3cfd5 [2021-06-01T16:14:12.509Z] ---> 3274de509456 [2021-06-01T16:14:12.509Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T16:14:12.509Z] ---> Running in 9f4d6714c200 Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [2021-06-01T16:14:15.019Z] Removing intermediate container 9f4d6714c200 [2021-06-01T16:14:15.019Z] ---> e6fcc66a6dd2 [2021-06-01T16:14:15.019Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-01T16:14:15.019Z] ---> Running in 1ef81f112c12 [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-06-01T16:14:17.443Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-01T16:14:17.443Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-01T16:14:17.443Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-01T16:14:17.443Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-01T16:14:17.443Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-01T16:14:17.443Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-01T16:14:17.443Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-01T16:14:17.443Z] Executing busybox-1.31.1-r20.trigger [2021-06-01T16:14:17.443Z] OK: 8 MiB in 19 packages [2021-06-01T16:14:19.615Z] Removing intermediate container 1ef81f112c12 [2021-06-01T16:14:19.615Z] ---> 1a70ca7e7323 [2021-06-01T16:14:19.615Z] Step 14/23 : WORKDIR / [2021-06-01T16:14:19.615Z] ---> Running in d22b8d695c42 [2021-06-01T16:14:19.615Z] Removing intermediate container d22b8d695c42 [2021-06-01T16:14:19.615Z] ---> 7a23dc8c7c66 [2021-06-01T16:14:19.615Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-01T16:14:21.991Z] ---> 39a57955c69a [2021-06-01T16:14:21.991Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-01T16:14:21.991Z] ---> ce4df3d9ad9f [2021-06-01T16:14:21.991Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-01T16:14:21.991Z] ---> cbb788beebdd [2021-06-01T16:14:21.991Z] Step 18/23 : EXPOSE 59999 [Pipeline] libraryResource [Pipeline] sh [2021-06-01T16:14:22.265Z] ---> Running in 0f8e11f47aed [2021-06-01T16:14:22.294Z] ---> job-cost.sh [2021-06-01T16:14:22.294Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wHx4 [2021-06-01T16:14:22.539Z] Removing intermediate container 0f8e11f47aed [2021-06-01T16:14:22.539Z] ---> 2c3bb37f4296 [2021-06-01T16:14:22.539Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-01T16:14:22.816Z] ---> Running in 5cd55c5c6c14 [2021-06-01T16:14:23.414Z] Removing intermediate container 5cd55c5c6c14 [2021-06-01T16:14:23.414Z] ---> fc1179813514 [2021-06-01T16:14:23.415Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-01T16:14:23.415Z] ---> Running in 5dd7cd55ecee [2021-06-01T16:14:26.028Z] Removing intermediate container 5dd7cd55ecee [2021-06-01T16:14:26.029Z] ---> f0724f6d6cdc [2021-06-01T16:14:26.029Z] Step 21/23 : LABEL arch=arm64 [2021-06-01T16:14:26.029Z] ---> Running in d43897e6cacd [2021-06-01T16:14:26.029Z] Removing intermediate container d43897e6cacd [2021-06-01T16:14:26.029Z] ---> 1c00c3d5cd2b [2021-06-01T16:14:26.029Z] Step 22/23 : LABEL git_sha=a51df48fb88117a0264a5420430980afa873b2af [2021-06-01T16:14:26.029Z] ---> Running in dd396434aaeb [2021-06-01T16:14:26.029Z] Removing intermediate container dd396434aaeb [2021-06-01T16:14:26.029Z] ---> d44da8ac80fc [2021-06-01T16:14:26.029Z] Step 23/23 : LABEL version=0.0.0 [2021-06-01T16:14:26.029Z] ---> Running in 8af2bfbd3ee6 [2021-06-01T16:14:26.029Z] Removing intermediate container 8af2bfbd3ee6 [2021-06-01T16:14:26.029Z] ---> f6718dac14dc [2021-06-01T16:14:26.029Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-01T16:14:26.029Z] Successfully built f6718dac14dc [2021-06-01T16:14:26.029Z] 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-06-01T16:14:28.816Z] ---> job-cost.sh [2021-06-01T16:14:28.816Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1wZ9 [2021-06-01T16:14:41.689Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-01T16:15:03.378Z] lf-activate-venv(): INFO: Adding /tmp/venv-wHx4/bin to PATH [2021-06-01T16:15:03.378Z] INFO: No Stack... [2021-06-01T16:15:03.378Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-01T16:15:03.378Z] INFO: Archiving Costs [Pipeline] sh [2021-06-01T16:15:03.700Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-01T16:15:03.700Z] + cut -d, -f6 [Pipeline] lock [2021-06-01T16:15:03.744Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-949-2-stack-cost] [2021-06-01T16:15:03.751Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-949-2-stack-cost] did not exist. Created. [2021-06-01T16:15:03.751Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-949-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-01T16:15:04.119Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-01T16:15:06.742Z] Stashed 1 file(s) [Pipeline] } [2021-06-01T16:15:06.756Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-949-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2021-06-01T16:15:09.513Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-01T16:16:32.436Z] lf-activate-venv(): INFO: Adding /tmp/venv-1wZ9/bin to PATH [2021-06-01T16:16:32.436Z] INFO: No Stack... [2021-06-01T16:16:32.436Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-01T16:16:32.436Z] INFO: Archiving Costs [Pipeline] sh [2021-06-01T16:16:36.911Z] + + catcut /w/workspace/device-sdk-go/2/archives/cost.csv -d, [2021-06-01T16:16:36.911Z] -f6 [Pipeline] lock [2021-06-01T16:16:39.093Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-949-2-stack-cost] [2021-06-01T16:16:39.102Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-949-2-stack-cost] did not exist. Created. [2021-06-01T16:16:39.102Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-949-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-01T16:16:50.254Z] /w/workspace/device-sdk-go/2@tmp/durable-fc4fe59e/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-fc4fe59e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-01T16:16:56.679Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-01T16:16:56.700Z] Warning: overwriting stash ‘stack-cost’ [2021-06-01T16:17:00.832Z] Stashed 1 file(s) [Pipeline] } [2021-06-01T16:17:00.843Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-949-2-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-06-01T16:18:02.940Z] provisioning config files... [2021-06-01T16:18:05.168Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp/config6058181011755614378tmp [Pipeline] { [Pipeline] sh [2021-06-01T16:18:09.276Z] + set +x [2021-06-01T16:18:09.276Z] + curl -s https://codecov.io/bash [2021-06-01T16:18:09.276Z] + bash -s -- [2021-06-01T16:18:09.276Z] [2021-06-01T16:18:09.276Z] _____ _ [2021-06-01T16:18:09.276Z] / ____| | | [2021-06-01T16:18:09.276Z] | | ___ __| | ___ ___ _____ __ [2021-06-01T16:18:09.276Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-01T16:18:09.276Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-01T16:18:09.276Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-01T16:18:09.276Z] Bash-1.0.3 [2021-06-01T16:18:09.276Z] [2021-06-01T16:18:09.276Z] [2021-06-01T16:18:09.276Z] ==> git version 2.24.4 found [2021-06-01T16:18:09.276Z] ==> 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-06-01T16:18:09.276Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-01T16:18:09.276Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-01T16:18:09.276Z] ==> Jenkins CI detected. [2021-06-01T16:18:09.276Z] project root: . [2021-06-01T16:18:09.277Z] --> token set from env [2021-06-01T16:18:09.277Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-01T16:18:09.277Z] ==> Running gcov in . (disable via -X gcov) [2021-06-01T16:18:09.277Z] ==> Python coveragepy not found [2021-06-01T16:18:09.277Z] ==> Searching for coverage reports in: [2021-06-01T16:18:09.277Z] + . [2021-06-01T16:18:09.277Z] -> Found 1 reports [2021-06-01T16:18:09.277Z] ==> Detecting git/mercurial file structure [2021-06-01T16:18:09.277Z] ==> Reading reports [2021-06-01T16:18:09.277Z] + ./coverage.out bytes=126444 [2021-06-01T16:18:09.277Z] ==> Appending adjustments [2021-06-01T16:18:09.277Z] https://docs.codecov.io/docs/fixing-reports [2021-06-01T16:18:09.277Z] + Found adjustments [2021-06-01T16:18:09.277Z] ==> Gzipping contents [2021-06-01T16:18:09.277Z] 20K /tmp/codecov.jx9XHJ.gz [2021-06-01T16:18:09.277Z] ==> Uploading reports [2021-06-01T16:18:09.277Z] url: https://codecov.io [2021-06-01T16:18:09.277Z] query: branch=PR-949&commit=a51df48fb88117a0264a5420430980afa873b2af&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-949%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=949&job=&cmd_args= [2021-06-01T16:18:09.277Z] -> Pinging Codecov [2021-06-01T16:18:09.277Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-949&commit=a51df48fb88117a0264a5420430980afa873b2af&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-949%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=949&job=&cmd_args= [2021-06-01T16:18:09.277Z] -> Uploading to [2021-06-01T16:18:09.277Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-01/7E55EF52A471D76F132DFD9A03CDDE97/a51df48fb88117a0264a5420430980afa873b2af/32d65e39-21a0-4d56-b873-133fc657395c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210601T161808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f4d5b6dda40a83f10bdcbfddb05647822ccad4fa06fd58a0121c05adc0f3564 [2021-06-01T16:18:09.277Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-01T16:18:09.277Z] Dload Upload Total Spent Left Speed [2021-06-01T16:18:09.277Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16521 0 0 100 16521 0 44654 --:--:-- --:--:-- --:--:-- 44772 [2021-06-01T16:18:09.277Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a51df48fb88117a0264a5420430980afa873b2af [Pipeline] } [2021-06-01T16:18:09.285Z] 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-06-01T16:19:47.363Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T16:19:51.584Z] ---> package-listing.sh [2021-06-01T16:19:51.584Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-01T16:19:51.584Z] ++ facter osfamily [2021-06-01T16:19:51.584Z] + OS_FAMILY=redhat [2021-06-01T16:19:51.584Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-949 [2021-06-01T16:19:51.584Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-01T16:19:51.584Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-01T16:19:51.584Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-01T16:19:51.584Z] + PACKAGES=/tmp/packages_start.txt [2021-06-01T16:19:51.584Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-949 ']' [2021-06-01T16:19:51.584Z] + PACKAGES=/tmp/packages_end.txt [2021-06-01T16:19:51.584Z] + case "${OS_FAMILY}" in [2021-06-01T16:19:51.584Z] + rpm -qa [2021-06-01T16:19:51.584Z] + sort [2021-06-01T16:19:51.584Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-01T16:19:51.584Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-01T16:19:51.584Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-01T16:19:51.584Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-949 ']' [2021-06-01T16:19:51.584Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-949/archives/ [2021-06-01T16:19:51.584Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-949/archives/ [Pipeline] echo [2021-06-01T16:19:51.600Z] 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-949/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-01T16:19:53.935Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-01T16:19:56.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-01T16:19:56.099Z] [2021-06-01T16:19:56.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-01T16:19:58.346Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-01T16:19:58.346Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-01T16:19:58.346Z] df20fa9351a1: Pulling fs layer [2021-06-01T16:19:58.346Z] 36b3adc4ff6f: Pulling fs layer [2021-06-01T16:19:58.346Z] 8ad3a11d3b57: Pulling fs layer [2021-06-01T16:19:58.346Z] 46f8f816bc3b: Pulling fs layer [2021-06-01T16:19:58.346Z] 93b61091891f: Pulling fs layer [2021-06-01T16:19:58.346Z] 93b9cdb0e59b: Pulling fs layer [2021-06-01T16:19:58.346Z] 5e14af77c1be: Pulling fs layer [2021-06-01T16:19:58.346Z] 01666e4c0597: Pulling fs layer [2021-06-01T16:19:58.346Z] aa168da1d23b: Pulling fs layer [2021-06-01T16:19:58.346Z] 46f8f816bc3b: Waiting [2021-06-01T16:19:58.346Z] 93b61091891f: Waiting [2021-06-01T16:19:58.346Z] 93b9cdb0e59b: Waiting [2021-06-01T16:19:58.346Z] 5e14af77c1be: Waiting [2021-06-01T16:19:58.346Z] 01666e4c0597: Waiting [2021-06-01T16:19:58.346Z] aa168da1d23b: Waiting [2021-06-01T16:19:58.346Z] 36b3adc4ff6f: Verifying Checksum [2021-06-01T16:19:58.346Z] 36b3adc4ff6f: Download complete [2021-06-01T16:19:58.346Z] 46f8f816bc3b: Verifying Checksum [2021-06-01T16:19:58.346Z] 46f8f816bc3b: Download complete [2021-06-01T16:19:58.346Z] df20fa9351a1: Verifying Checksum [2021-06-01T16:19:58.346Z] df20fa9351a1: Download complete [2021-06-01T16:19:58.346Z] 93b9cdb0e59b: Verifying Checksum [2021-06-01T16:19:58.346Z] 93b9cdb0e59b: Download complete [2021-06-01T16:19:58.346Z] 5e14af77c1be: Verifying Checksum [2021-06-01T16:19:58.346Z] 5e14af77c1be: Download complete [2021-06-01T16:19:58.346Z] 01666e4c0597: Verifying Checksum [2021-06-01T16:19:58.346Z] 01666e4c0597: Download complete [2021-06-01T16:19:58.346Z] 93b61091891f: Verifying Checksum [2021-06-01T16:19:58.346Z] 93b61091891f: Download complete [2021-06-01T16:19:58.346Z] df20fa9351a1: Pull complete [2021-06-01T16:19:58.346Z] 36b3adc4ff6f: Pull complete [2021-06-01T16:19:58.346Z] 8ad3a11d3b57: Verifying Checksum [2021-06-01T16:19:58.346Z] 8ad3a11d3b57: Download complete [2021-06-01T16:19:58.346Z] 8ad3a11d3b57: Pull complete [2021-06-01T16:19:58.346Z] 46f8f816bc3b: Pull complete [2021-06-01T16:19:58.922Z] 93b61091891f: Pull complete [2021-06-01T16:19:58.922Z] aa168da1d23b: Verifying Checksum [2021-06-01T16:19:58.922Z] aa168da1d23b: Download complete [2021-06-01T16:19:58.922Z] 93b9cdb0e59b: Pull complete [2021-06-01T16:19:59.185Z] 5e14af77c1be: Pull complete [2021-06-01T16:19:59.448Z] 01666e4c0597: Pull complete [2021-06-01T16:20:05.562Z] aa168da1d23b: Pull complete [2021-06-01T16:20:05.562Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-01T16:20:05.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-01T16:20:05.562Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-01T16:20:05.641Z] prd-centos7-docker-4c-2g-1794 does not seem to be running inside a container [2021-06-01T16:20:05.702Z] $ 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-949/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-949 -v /w/workspace/dgexfoundry_device-sdk-go_PR-949:/w/workspace/dgexfoundry_device-sdk-go_PR-949:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-949@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-01T16:20:24.532Z] $ docker top 61173f21c413ffc2f9b5a942262ba7d3214a5325faf05e614f8ca5a9909ff06e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-01T16:20:24.935Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-01T16:20:25.240Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-01T16:20:27.649Z] + ls /var/log/sa-host [2021-06-01T16:20:27.649Z] + sadf -c /var/log/sa-host/sa01 [2021-06-01T16:20:27.649Z] file_magic: OK [2021-06-01T16:20:27.649Z] HZ: Using current value: 100 [2021-06-01T16:20:27.649Z] file_header: OK [2021-06-01T16:20:27.649Z] 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-06-01T16:20:27.649Z] Statistics: [2021-06-01T16:20:27.649Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-01T16:20:27.649Z] File successfully converted to sysstat format version 12.2.1 [2021-06-01T16:20:27.649Z] + sadf -c /var/log/sa-host/sa05 [2021-06-01T16:20:27.649Z] file_magic: OK [2021-06-01T16:20:27.649Z] HZ: Using current value: 100 [2021-06-01T16:20:27.649Z] file_header: OK [2021-06-01T16:20:27.649Z] 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-06-01T16:20:27.649Z] Statistics: [2021-06-01T16:20:27.649Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-01T16:20:27.649Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-01T16:20:56.974Z] provisioning config files... [2021-06-01T16:20:59.051Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-949@tmp/config7962776221251585712tmp [Pipeline] { [Pipeline] echo [2021-06-01T16:21:01.084Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T16:21:05.432Z] ---> create-netrc.sh [Pipeline] } [2021-06-01T16:21:05.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-01T16:21:07.518Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T16:21:13.778Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-01T16:21:13.788Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T16:21:20.009Z] ---> sudo-logs.sh [2021-06-01T16:21:20.009Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-01T16:21:22.096Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T16:21:26.185Z] ---> job-cost.sh [2021-06-01T16:21:26.185Z] lf-activate-venv: SKIPPING [2021-06-01T16:21:26.185Z] DEBUG: total: 0.18000000715255737 [2021-06-01T16:21:26.185Z] INFO: Retrieving Stack Cost... [2021-06-01T16:21:26.185Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-01T16:21:26.185Z] INFO: Archiving Costs [Pipeline] echo [2021-06-01T16:21:26.198Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh