Pull request #942 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 gy95 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 7e3188cb6f7f988d05cb284df26c8fc32f770518 rather than 987f356fa5b95d71561d3b416b9c41ba8a68ab8c Obtained Jenkinsfile from 7e3188cb6f7f988d05cb284df26c8fc32f770518 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-ssh5280965000368484259.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-ssh1621325880010027968.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-942/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-942/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7181047273576368198.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-ssh249976497551412159.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-942/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-942/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1254774976204049466.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-110 in /w/workspace/dgexfoundry_device-sdk-go_PR-942 [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-942 # 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-942@tmp/jenkins-gitclient-ssh1294685258586769140.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-942@tmp/jenkins-gitclient-ssh1376942655245196845.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7e3188cb6f7f988d05cb284df26c8fc32f770518 into PR head commit 987f356fa5b95d71561d3b416b9c41ba8a68ab8c Merge succeeded, producing 987f356fa5b95d71561d3b416b9c41ba8a68ab8c Checking out Revision 987f356fa5b95d71561d3b416b9c41ba8a68ab8c (PR-942) > git config core.sparsecheckout # timeout=10 > git checkout -f 987f356fa5b95d71561d3b416b9c41ba8a68ab8c # 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-942@tmp/jenkins-gitclient-ssh8280509506952389788.key > git merge 7e3188cb6f7f988d05cb284df26c8fc32f770518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 987f356fa5b95d71561d3b416b9c41ba8a68ab8c # timeout=10 Commit message: "Merge branch 'master' into update_profile" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-25T09:04:19.683Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-25T09:04:19.825Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-25T09:04:19.858Z] ========================================================= [2021-05-25T09:04:19.858Z] EdgeX Global Pipelines Version Info [2021-05-25T09:04:19.858Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4b8de0c46dcac9521bbc6db73aa1bcd79ffd5f31 # timeout=10 [2021-05-25T09:04:21.321Z] ------------------- [2021-05-25T09:04:21.321Z] stable info: [2021-05-25T09:04:21.321Z] ------------------- [2021-05-25T09:04:21.321Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-25T09:04:21.321Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T09:04:21.321Z] Message: update stable to v1.0.192 [2021-05-25T09:04:21.898Z] ------------------- [2021-05-25T09:04:21.898Z] experimental info: [2021-05-25T09:04:21.898Z] ------------------- [2021-05-25T09:04:21.898Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-25T09:04:21.898Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T09:04:21.898Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-25T09:04:22.064Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-25T09:04:22.088Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-25T09:04:22.112Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-25T09:04:22.141Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-25T09:04:22.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-25T09:04:22.204Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-25T09:04:22.228Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-25T09:04:22.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-25T09:04:22.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-25T09:04:22.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-25T09:04:22.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-25T09:04:22.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-25T09:04:22.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-25T09:04:22.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-25T09:04:22.411Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-25T09:04:22.434Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T09:04:22.458Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T09:04:22.481Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T09:04:22.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-25T09:04:22.527Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-25T09:04:22.549Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-25T09:04:22.572Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-25T09:04:22.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-25T09:04:22.647Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-25T09:04:22.670Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-25T09:04:22.696Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-25T09:04:22.721Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-942 [Pipeline] echo [2021-05-25T09:04:22.746Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-942 [Pipeline] echo [2021-05-25T09:04:22.771Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-942 [Pipeline] echo [2021-05-25T09:04:22.794Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 987f356fa5b95d71561d3b416b9c41ba8a68ab8c [Pipeline] echo [2021-05-25T09:04:22.817Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 987f356 [Pipeline] echo [2021-05-25T09:04:22.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T09:04:22.912Z] provisioning config files... [2021-05-25T09:04:22.927Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/config3554070074023610984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:04:23.241Z] ---> docker-login.sh [2021-05-25T09:04:23.241Z] nexus3.edgexfoundry.org:10001 [2021-05-25T09:04:23.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:04:28.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:04:28.545Z] Configure a credential helper to remove this warning. See [2021-05-25T09:04:28.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:04:28.545Z] [2021-05-25T09:04:28.545Z] Login Succeeded [2021-05-25T09:04:28.545Z] nexus3.edgexfoundry.org:10002 [2021-05-25T09:04:28.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:04:28.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:04:28.545Z] Configure a credential helper to remove this warning. See [2021-05-25T09:04:28.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:04:28.545Z] [2021-05-25T09:04:28.545Z] Login Succeeded [2021-05-25T09:04:28.545Z] nexus3.edgexfoundry.org:10003 [2021-05-25T09:04:28.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:04:28.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:04:28.812Z] Configure a credential helper to remove this warning. See [2021-05-25T09:04:28.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:04:28.812Z] [2021-05-25T09:04:28.812Z] Login Succeeded [2021-05-25T09:04:28.812Z] nexus3.edgexfoundry.org:10004 [2021-05-25T09:04:28.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:04:28.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:04:28.813Z] Configure a credential helper to remove this warning. See [2021-05-25T09:04:28.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:04:28.813Z] [2021-05-25T09:04:28.813Z] Login Succeeded [2021-05-25T09:04:28.813Z] docker.io [2021-05-25T09:04:28.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:04:29.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:04:29.383Z] Configure a credential helper to remove this warning. See [2021-05-25T09:04:29.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:04:29.383Z] [2021-05-25T09:04:29.383Z] Login Succeeded [2021-05-25T09:04:29.383Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T09:04:29.392Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T09:04:29.850Z] + git log --format=format:%s -1 987f356fa5b95d71561d3b416b9c41ba8a68ab8c [Pipeline] echo [2021-05-25T09:04:29.887Z] GIT_COMMIT: 987f356fa5b95d71561d3b416b9c41ba8a68ab8c, Commit Message: Merge branch 'master' into update_profile [Pipeline] echo [2021-05-25T09:04:29.900Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:04:30.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T09:04:30.799Z] [2021-05-25T09:04:30.799Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:04:31.115Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T09:04:31.115Z] latest: Pulling from edgex-devops/git-semver [2021-05-25T09:04:31.115Z] 31603596830f: Pulling fs layer [2021-05-25T09:04:31.115Z] 54011a49482f: Pulling fs layer [2021-05-25T09:04:31.115Z] a6820b24f6d8: Pulling fs layer [2021-05-25T09:04:31.115Z] f581987b2513: Pulling fs layer [2021-05-25T09:04:31.115Z] 54011a49482f: Verifying Checksum [2021-05-25T09:04:31.115Z] 54011a49482f: Download complete [2021-05-25T09:04:31.377Z] 31603596830f: Verifying Checksum [2021-05-25T09:04:31.377Z] 31603596830f: Download complete [2021-05-25T09:04:31.377Z] f581987b2513: Verifying Checksum [2021-05-25T09:04:31.377Z] f581987b2513: Download complete [2021-05-25T09:04:31.648Z] a6820b24f6d8: Verifying Checksum [2021-05-25T09:04:31.648Z] a6820b24f6d8: Download complete [2021-05-25T09:04:31.648Z] 31603596830f: Pull complete [2021-05-25T09:04:31.648Z] 54011a49482f: Pull complete [2021-05-25T09:04:32.606Z] a6820b24f6d8: Pull complete [2021-05-25T09:04:32.606Z] f581987b2513: Pull complete [2021-05-25T09:04:32.606Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-25T09:04:32.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T09:04:32.868Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-25T09:04:32.946Z] prd-centos7-docker-4c-2g-110 does not seem to be running inside a container [2021-05-25T09:04:32.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-942 -v /w/workspace/dgexfoundry_device-sdk-go_PR-942:/w/workspace/dgexfoundry_device-sdk-go_PR-942:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-942@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-25T09:04:34.586Z] $ docker top 8fe3d0c09c1e7010526be7657722a4b914aecde1dd5d38ca63b7f9c8ef4e257d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-25T09:04:34.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T09:04:34.720Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T09:04:34.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T09:04:34.863Z] $ docker exec 8fe3d0c09c1e7010526be7657722a4b914aecde1dd5d38ca63b7f9c8ef4e257d ssh-agent [2021-05-25T09:04:34.981Z] SSH_AUTH_SOCK=/tmp/ssh-xI2xLsECoaex/agent.14 [2021-05-25T09:04:34.981Z] SSH_AGENT_PID=20 [2021-05-25T09:04:35.033Z] Running ssh-add (command line suppressed) [2021-05-25T09:04:35.126Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_7478925804686101333.key (/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_7478925804686101333.key) [2021-05-25T09:04:35.143Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T09:04:35.445Z] + git tag --points-at HEAD [Pipeline] } [2021-05-25T09:04:35.459Z] $ docker exec --env ******** --env ******** 8fe3d0c09c1e7010526be7657722a4b914aecde1dd5d38ca63b7f9c8ef4e257d ssh-agent -k [2021-05-25T09:04:35.551Z] unset SSH_AUTH_SOCK; [2021-05-25T09:04:35.551Z] unset SSH_AGENT_PID; [2021-05-25T09:04:35.551Z] echo Agent pid 20 killed; [2021-05-25T09:04:35.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-25T09:04:35.606Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T09:04:35.606Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T09:04:35.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T09:04:35.736Z] $ docker exec 8fe3d0c09c1e7010526be7657722a4b914aecde1dd5d38ca63b7f9c8ef4e257d ssh-agent [2021-05-25T09:04:35.847Z] SSH_AUTH_SOCK=/tmp/ssh-XdmzLA2UKVCC/agent.52 [2021-05-25T09:04:35.847Z] SSH_AGENT_PID=58 [2021-05-25T09:04:35.853Z] Running ssh-add (command line suppressed) [2021-05-25T09:04:35.954Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_7552999088326385786.key (/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/private_key_7552999088326385786.key) [2021-05-25T09:04:35.973Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T09:04:36.273Z] + git semver init [2021-05-25T09:04:36.273Z] # -> Open(): unable to determine branch for HEAD [2021-05-25T09:04:36.273Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-942/.git [2021-05-25T09:04:36.273Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-942 [2021-05-25T09:04:36.273Z] # $SEMVER_REMOTE_NAME = origin [2021-05-25T09:04:36.273Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-25T09:04:36.273Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-25T09:04:36.273Z] # $SEMVER_BRANCH = PR-942 [2021-05-25T09:04:36.273Z] # $SEMVER_TEMP = /tmp/semver-446293365 [2021-05-25T09:04:36.273Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-25T09:04:36.849Z] # '/tmp/semver-446293365' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-942/.semver' [2021-05-25T09:04:36.850Z] # -> Force: false [2021-05-25T09:04:36.850Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-942/.semver [Pipeline] } [2021-05-25T09:04:36.859Z] $ docker exec --env ******** --env ******** 8fe3d0c09c1e7010526be7657722a4b914aecde1dd5d38ca63b7f9c8ef4e257d ssh-agent -k [2021-05-25T09:04:36.960Z] unset SSH_AUTH_SOCK; [2021-05-25T09:04:36.961Z] unset SSH_AGENT_PID; [2021-05-25T09:04:36.961Z] echo Agent pid 58 killed; [2021-05-25T09:04:36.973Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-25T09:04:37.312Z] + git semver [Pipeline] } [2021-05-25T09:04:37.324Z] $ docker stop --time=1 8fe3d0c09c1e7010526be7657722a4b914aecde1dd5d38ca63b7f9c8ef4e257d [2021-05-25T09:04:38.601Z] $ docker rm -f 8fe3d0c09c1e7010526be7657722a4b914aecde1dd5d38ca63b7f9c8ef4e257d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T09:04:38.968Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-25T09:04:39.310Z] Stashed 1 file(s) [Pipeline] echo [2021-05-25T09:04:39.313Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-25T09:04:54.490Z] Still waiting to schedule task [2021-05-25T09:04:54.490Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-25T09:04:54.492Z] Still waiting to schedule task [2021-05-25T09:04:54.492Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-108’ is offline [2021-05-25T09:06:53.457Z] Running on prd-centos7-docker-4c-2g-113 in /w/workspace/dgexfoundry_device-sdk-go_PR-942 [Pipeline] { [Pipeline] ws [2021-05-25T09:06:53.482Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-05-25T09:06:53.605Z] Selected Git installation does not exist. Using Default [2021-05-25T09:06:53.605Z] The recommended git tool is: NONE [2021-05-25T09:06:53.740Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-112 in /w/workspace/dgexfoundry_device-sdk-go_PR-942 [Pipeline] { [Pipeline] ws [2021-05-25T09:06:53.757Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-05-25T09:06:54.009Z] Selected Git installation does not exist. Using Default [2021-05-25T09:06:54.009Z] The recommended git tool is: NONE [2021-05-25T09:06:56.000Z] using credential edgex-jenkins-ssh [2021-05-25T09:06:56.031Z] Cloning the remote Git repository [2021-05-25T09:06:56.106Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T09:06:56.177Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-05-25T09:06:56.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T09:06:56.216Z] > git --version # timeout=10 [2021-05-25T09:06:56.224Z] > git --version # 'git version 2.24.4' [2021-05-25T09:06:56.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T09:06:56.250Z] [INFO] Currently running in a labeled security context [2021-05-25T09:06:56.251Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T09:06:56.251Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh833491197913254601.key [2021-05-25T09:06:56.265Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T09:06:57.645Z] Merging remotes/origin/master commit 7e3188cb6f7f988d05cb284df26c8fc32f770518 into PR head commit 987f356fa5b95d71561d3b416b9c41ba8a68ab8c [2021-05-25T09:06:57.786Z] Merge succeeded, producing 987f356fa5b95d71561d3b416b9c41ba8a68ab8c [2021-05-25T09:06:57.786Z] Checking out Revision 987f356fa5b95d71561d3b416b9c41ba8a68ab8c (PR-942) [2021-05-25T09:06:57.097Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-25T09:06:57.109Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T09:06:57.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-25T09:06:57.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T09:06:57.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T09:06:57.145Z] [INFO] Currently running in a labeled security context [2021-05-25T09:06:57.145Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T09:06:57.145Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh7216900410423913595.key [2021-05-25T09:06:57.157Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-25T09:06:57.681Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T09:06:57.695Z] > git checkout -f 987f356fa5b95d71561d3b416b9c41ba8a68ab8c # timeout=10 [2021-05-25T09:06:57.735Z] > git remote # timeout=10 [2021-05-25T09:06:57.757Z] > git config --get remote.origin.url # timeout=10 [2021-05-25T09:06:57.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T09:06:57.761Z] [INFO] Currently running in a labeled security context [2021-05-25T09:06:57.761Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T09:06:57.761Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh8574370644705445360.key [2021-05-25T09:06:57.767Z] > git merge 7e3188cb6f7f988d05cb284df26c8fc32f770518 # timeout=10 [2021-05-25T09:06:57.776Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-25T09:06:57.786Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T09:06:57.793Z] > git checkout -f 987f356fa5b95d71561d3b416b9c41ba8a68ab8c # timeout=10 [2021-05-25T09:06:59.457Z] using credential edgex-jenkins-ssh [2021-05-25T09:06:59.478Z] Cloning the remote Git repository [2021-05-25T09:06:59.563Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T09:06:59.730Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-05-25T09:06:59.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T09:06:59.826Z] > git --version # timeout=10 [2021-05-25T09:06:59.848Z] > git --version # 'git version 2.17.1' [2021-05-25T09:06:59.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T09:06:59.948Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T09:07:01.125Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-25T09:07:01.144Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T09:07:01.177Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-25T09:07:01.212Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T09:07:01.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T09:07:01.226Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-25T09:07:01.526Z] Commit message: "Merge branch 'master' into update_profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T09:07:02.884Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-25T09:07:03.013Z] Merging remotes/origin/master commit 7e3188cb6f7f988d05cb284df26c8fc32f770518 into PR head commit 987f356fa5b95d71561d3b416b9c41ba8a68ab8c [2021-05-25T09:07:03.203Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2021-05-25T09:07:03.207Z] Merge succeeded, producing 987f356fa5b95d71561d3b416b9c41ba8a68ab8c [2021-05-25T09:07:03.208Z] Checking out Revision 987f356fa5b95d71561d3b416b9c41ba8a68ab8c (PR-942) [Pipeline] sh [2021-05-25T09:07:03.507Z] + sudo service docker restart [2021-05-25T09:07:03.507Z] + true [2021-05-25T09:07:03.507Z] Redirecting to /bin/systemctl restart docker.service [2021-05-25T09:07:03.026Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T09:07:03.040Z] > git checkout -f 987f356fa5b95d71561d3b416b9c41ba8a68ab8c # timeout=10 [2021-05-25T09:07:03.135Z] > git remote # timeout=10 [2021-05-25T09:07:03.150Z] > git config --get remote.origin.url # timeout=10 [2021-05-25T09:07:03.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T09:07:03.171Z] > git merge 7e3188cb6f7f988d05cb284df26c8fc32f770518 # timeout=10 [2021-05-25T09:07:03.193Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-25T09:07:03.211Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T09:07:03.227Z] > git checkout -f 987f356fa5b95d71561d3b416b9c41ba8a68ab8c # timeout=10 [2021-05-25T09:07:07.397Z] Commit message: "Merge branch 'master' into update_profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T09:07:08.771Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-25T09:07:09.202Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T09:07:09.550Z] + sudo service docker restart [2021-05-25T09:07:09.550Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T09:07:21.706Z] provisioning config files... [2021-05-25T09:07:21.724Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config7414784431978989591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:07:22.061Z] ---> docker-login.sh [2021-05-25T09:07:22.061Z] nexus3.edgexfoundry.org:10001 [2021-05-25T09:07:22.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:07:22.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:07:22.586Z] Configure a credential helper to remove this warning. See [2021-05-25T09:07:22.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:07:22.586Z] [2021-05-25T09:07:22.586Z] Login Succeeded [2021-05-25T09:07:22.586Z] nexus3.edgexfoundry.org:10002 [2021-05-25T09:07:22.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:07:22.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:07:22.586Z] Configure a credential helper to remove this warning. See [2021-05-25T09:07:22.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:07:22.586Z] [2021-05-25T09:07:22.586Z] Login Succeeded [2021-05-25T09:07:22.586Z] nexus3.edgexfoundry.org:10003 [2021-05-25T09:07:22.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:07:22.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:07:22.851Z] Configure a credential helper to remove this warning. See [2021-05-25T09:07:22.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:07:22.851Z] [2021-05-25T09:07:22.851Z] Login Succeeded [2021-05-25T09:07:22.851Z] nexus3.edgexfoundry.org:10004 [2021-05-25T09:07:22.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:07:22.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:07:22.851Z] Configure a credential helper to remove this warning. See [2021-05-25T09:07:22.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:07:22.851Z] [2021-05-25T09:07:22.851Z] Login Succeeded [2021-05-25T09:07:22.851Z] docker.io [2021-05-25T09:07:22.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:07:23.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:07:23.425Z] Configure a credential helper to remove this warning. See [2021-05-25T09:07:23.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:07:23.425Z] [2021-05-25T09:07:23.425Z] Login Succeeded [2021-05-25T09:07:23.425Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T09:07:23.438Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T09:07:23.609Z] ========================================================= [2021-05-25T09:07:23.609Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-25T09:07:23.609Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:07:23.917Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-25T09:07:23.917Z] Sending build context to Docker daemon 2.62MB [2021-05-25T09:07:23.917Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T09:07:23.917Z] Step 2/8 : FROM ${BASE} [2021-05-25T09:07:24.181Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-25T09:07:24.181Z] 540db60ca938: Pulling fs layer [2021-05-25T09:07:24.181Z] adcc1eea9eea: Pulling fs layer [2021-05-25T09:07:24.181Z] 4c4ab2625f07: Pulling fs layer [2021-05-25T09:07:24.181Z] 0510c868ecb4: Pulling fs layer [2021-05-25T09:07:24.181Z] afea3b2eda06: Pulling fs layer [2021-05-25T09:07:24.181Z] 7809a108b3ef: Pulling fs layer [2021-05-25T09:07:24.181Z] f706445af74f: Pulling fs layer [2021-05-25T09:07:24.181Z] 0510c868ecb4: Waiting [2021-05-25T09:07:24.181Z] afea3b2eda06: Waiting [2021-05-25T09:07:24.181Z] 7809a108b3ef: Waiting [2021-05-25T09:07:24.181Z] f706445af74f: Waiting [2021-05-25T09:07:24.181Z] 4c4ab2625f07: Verifying Checksum [2021-05-25T09:07:24.181Z] 4c4ab2625f07: Download complete [2021-05-25T09:07:24.181Z] adcc1eea9eea: Verifying Checksum [2021-05-25T09:07:24.181Z] adcc1eea9eea: Download complete [2021-05-25T09:07:24.181Z] afea3b2eda06: Verifying Checksum [2021-05-25T09:07:24.181Z] afea3b2eda06: Download complete [2021-05-25T09:07:24.181Z] 7809a108b3ef: Verifying Checksum [2021-05-25T09:07:24.181Z] 7809a108b3ef: Download complete [2021-05-25T09:07:24.181Z] 540db60ca938: Verifying Checksum [2021-05-25T09:07:24.181Z] 540db60ca938: Download complete [2021-05-25T09:07:24.446Z] 540db60ca938: Pull complete [2021-05-25T09:07:24.447Z] adcc1eea9eea: Pull complete [2021-05-25T09:07:24.708Z] 4c4ab2625f07: Pull complete [2021-05-25T09:07:26.635Z] f706445af74f: Verifying Checksum [2021-05-25T09:07:26.635Z] f706445af74f: Download complete [2021-05-25T09:07:26.900Z] 0510c868ecb4: Verifying Checksum [2021-05-25T09:07:26.900Z] 0510c868ecb4: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T09:07:27.894Z] provisioning config files... [2021-05-25T09:07:27.923Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config715221375122160298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:07:28.296Z] ---> docker-login.sh [2021-05-25T09:07:28.296Z] nexus3.edgexfoundry.org:10001 [2021-05-25T09:07:29.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:07:29.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:07:29.557Z] Configure a credential helper to remove this warning. See [2021-05-25T09:07:29.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:07:29.557Z] [2021-05-25T09:07:29.557Z] Login Succeeded [2021-05-25T09:07:29.557Z] nexus3.edgexfoundry.org:10002 [2021-05-25T09:07:29.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:07:30.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:07:30.111Z] Configure a credential helper to remove this warning. See [2021-05-25T09:07:30.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:07:30.111Z] [2021-05-25T09:07:30.111Z] Login Succeeded [2021-05-25T09:07:30.111Z] nexus3.edgexfoundry.org:10003 [2021-05-25T09:07:30.255Z] 0510c868ecb4: Pull complete [2021-05-25T09:07:30.255Z] afea3b2eda06: Pull complete [2021-05-25T09:07:30.255Z] 7809a108b3ef: Pull complete [2021-05-25T09:07:30.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:07:30.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:07:30.675Z] Configure a credential helper to remove this warning. See [2021-05-25T09:07:30.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:07:30.675Z] [2021-05-25T09:07:30.675Z] Login Succeeded [2021-05-25T09:07:30.675Z] nexus3.edgexfoundry.org:10004 [2021-05-25T09:07:30.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:07:31.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:07:31.232Z] Configure a credential helper to remove this warning. See [2021-05-25T09:07:31.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:07:31.232Z] [2021-05-25T09:07:31.232Z] Login Succeeded [2021-05-25T09:07:31.232Z] docker.io [2021-05-25T09:07:31.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T09:07:31.661Z] f706445af74f: Pull complete [2021-05-25T09:07:31.661Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-25T09:07:31.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-25T09:07:31.661Z] ---> b068be0155e3 [2021-05-25T09:07:31.661Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T09:07:31.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T09:07:31.782Z] Configure a credential helper to remove this warning. See [2021-05-25T09:07:31.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T09:07:31.782Z] [2021-05-25T09:07:31.782Z] Login Succeeded [2021-05-25T09:07:32.055Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T09:07:32.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T09:07:32.427Z] ========================================================= [2021-05-25T09:07:32.427Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-25T09:07:32.427Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:07:32.772Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-25T09:07:33.377Z] Sending build context to Docker daemon 2.619MB [2021-05-25T09:07:33.377Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T09:07:33.377Z] Step 2/8 : FROM ${BASE} [2021-05-25T09:07:33.377Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-25T09:07:33.377Z] 595b0fe564bb: Pulling fs layer [2021-05-25T09:07:33.377Z] 7186ed65a4f7: Pulling fs layer [2021-05-25T09:07:33.377Z] 316046926c0a: Pulling fs layer [2021-05-25T09:07:33.377Z] 4ebd0625c992: Pulling fs layer [2021-05-25T09:07:33.377Z] 207e8628e3a3: Pulling fs layer [2021-05-25T09:07:33.377Z] c791037a9be2: Pulling fs layer [2021-05-25T09:07:33.377Z] ffd874e62e21: Pulling fs layer [2021-05-25T09:07:33.377Z] 4ebd0625c992: Waiting [2021-05-25T09:07:33.377Z] 207e8628e3a3: Waiting [2021-05-25T09:07:33.377Z] c791037a9be2: Waiting [2021-05-25T09:07:33.377Z] ffd874e62e21: Waiting [2021-05-25T09:07:33.656Z] 7186ed65a4f7: Verifying Checksum [2021-05-25T09:07:33.656Z] 7186ed65a4f7: Download complete [2021-05-25T09:07:33.656Z] 316046926c0a: Verifying Checksum [2021-05-25T09:07:33.656Z] 316046926c0a: Download complete [2021-05-25T09:07:33.656Z] 207e8628e3a3: Verifying Checksum [2021-05-25T09:07:33.656Z] 207e8628e3a3: Download complete [2021-05-25T09:07:33.656Z] c791037a9be2: Verifying Checksum [2021-05-25T09:07:33.656Z] 595b0fe564bb: Download complete [2021-05-25T09:07:34.260Z] 595b0fe564bb: Pull complete [2021-05-25T09:07:34.880Z] 7186ed65a4f7: Pull complete [2021-05-25T09:07:35.496Z] 316046926c0a: Pull complete [2021-05-25T09:07:35.773Z] ffd874e62e21: Verifying Checksum [2021-05-25T09:07:35.773Z] ffd874e62e21: Download complete [2021-05-25T09:07:35.891Z] ---> Running in 272b8ee1aadf [2021-05-25T09:07:35.892Z] Removing intermediate container 272b8ee1aadf [2021-05-25T09:07:35.892Z] ---> 75c4171848ee [2021-05-25T09:07:35.892Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T09:07:35.892Z] ---> Running in cbd9fe793fde [2021-05-25T09:07:36.162Z] Removing intermediate container cbd9fe793fde [2021-05-25T09:07:36.162Z] ---> fb31f92e620e [2021-05-25T09:07:36.162Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-25T09:07:36.162Z] ---> Running in 5301b6e481f8 [2021-05-25T09:07:36.425Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T09:07:36.763Z] 4ebd0625c992: Verifying Checksum [2021-05-25T09:07:36.764Z] 4ebd0625c992: Download complete [2021-05-25T09:07:37.374Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T09:07:38.323Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-25T09:07:38.323Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-25T09:07:38.323Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-25T09:07:38.323Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-25T09:07:38.585Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-25T09:07:38.585Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-25T09:07:38.848Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T09:07:38.848Z] OK: 150 MiB in 46 packages [2021-05-25T09:07:39.111Z] Removing intermediate container 5301b6e481f8 [2021-05-25T09:07:39.111Z] ---> 5685bb4869a2 [2021-05-25T09:07:39.111Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-25T09:07:39.111Z] ---> Running in 05d2541925c9 [2021-05-25T09:07:39.111Z] Removing intermediate container 05d2541925c9 [2021-05-25T09:07:39.111Z] ---> 35c170b7087d [2021-05-25T09:07:39.111Z] Step 7/8 : COPY . . [2021-05-25T09:07:39.694Z] ---> b760a794ef96 [2021-05-25T09:07:39.694Z] Step 8/8 : RUN go mod download [2021-05-25T09:07:39.694Z] ---> Running in 73705540b8da [2021-05-25T09:07:49.210Z] 4ebd0625c992: Pull complete [2021-05-25T09:07:49.210Z] 207e8628e3a3: Pull complete [2021-05-25T09:07:49.210Z] c791037a9be2: Pull complete [2021-05-25T09:07:51.861Z] ffd874e62e21: Pull complete [2021-05-25T09:07:51.861Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-25T09:07:51.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-25T09:07:51.861Z] ---> cfc18b08335c [2021-05-25T09:07:51.861Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T09:07:51.981Z] Removing intermediate container 73705540b8da [2021-05-25T09:07:51.981Z] ---> 6b7ab41fe325 [2021-05-25T09:07:51.981Z] Successfully built 6b7ab41fe325 [2021-05-25T09:07:51.981Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:07:52.321Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T09:07:52.321Z] . [Pipeline] withDockerContainer [2021-05-25T09:07:52.411Z] prd-centos7-docker-4c-2g-113 does not seem to be running inside a container [2021-05-25T09:07:52.456Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-25T09:07:52.785Z] $ docker top 13781bfce9077c3768bbed0090b1a3ade50ade622c67bd017834982926e737bb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T09:07:53.189Z] + go version [2021-05-25T09:07:53.189Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-25T09:07:53.202Z] $ docker stop --time=1 13781bfce9077c3768bbed0090b1a3ade50ade622c67bd017834982926e737bb [2021-05-25T09:07:53.870Z] ---> Running in 302946226d6b [2021-05-25T09:07:54.387Z] $ docker rm -f 13781bfce9077c3768bbed0090b1a3ade50ade622c67bd017834982926e737bb [Pipeline] // withDockerContainer [2021-05-25T09:07:54.478Z] Removing intermediate container 302946226d6b [2021-05-25T09:07:54.478Z] ---> 4e0f997bd538 [2021-05-25T09:07:54.478Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:07:54.750Z] ---> Running in 688de6bad7ae [2021-05-25T09:07:54.921Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T09:07:54.921Z] . [Pipeline] withDockerContainer [2021-05-25T09:07:54.997Z] prd-centos7-docker-4c-2g-113 does not seem to be running inside a container [2021-05-25T09:07:55.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-25T09:07:55.396Z] $ docker top 564e69ed3c833db28d32116bfe89cce7e7e0faafdfd3acabed8f4198a83b746a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T09:07:55.829Z] + go mod tidy [Pipeline] sh [2021-05-25T09:07:56.405Z] + make test [2021-05-25T09:07:56.405Z] go mod tidy [2021-05-25T09:07:56.405Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-25T09:07:57.455Z] Removing intermediate container 688de6bad7ae [2021-05-25T09:07:57.456Z] ---> 4f0ce06e56bb [2021-05-25T09:07:57.456Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-25T09:07:57.456Z] ---> Running in 7c73bfa42a5b [2021-05-25T09:07:58.445Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T09:08:01.788Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-25T09:08:01.826Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T09:08:06.140Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-25T09:08:06.140Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-25T09:08:06.140Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-25T09:08:06.411Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-25T09:08:06.411Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-25T09:08:07.013Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-25T09:08:07.013Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T09:08:07.013Z] OK: 139 MiB in 46 packages [2021-05-25T09:08:08.458Z] Removing intermediate container 7c73bfa42a5b [2021-05-25T09:08:08.458Z] ---> ae531ed956c6 [2021-05-25T09:08:08.458Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-25T09:08:08.734Z] ---> Running in ceeb79dfd079 [2021-05-25T09:08:09.021Z] Removing intermediate container ceeb79dfd079 [2021-05-25T09:08:09.021Z] ---> ae8093df885a [2021-05-25T09:08:09.021Z] Step 7/8 : COPY . . [2021-05-25T09:08:10.465Z] ---> e2fdc4c9cd64 [2021-05-25T09:08:10.465Z] Step 8/8 : RUN go mod download [2021-05-25T09:08:10.465Z] ---> Running in bf4662a884bb [2021-05-25T09:08:23.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-25T09:08:23.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-25T09:08:23.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-25T09:08:25.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 25.4% of statements [2021-05-25T09:08:25.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-25T09:08:25.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 28.1% of statements [2021-05-25T09:08:26.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2021-05-25T09:08:26.361Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 9.0% of statements [2021-05-25T09:08:26.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-25T09:08:26.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-25T09:08:26.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-25T09:08:27.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 30.2% of statements [2021-05-25T09:08:27.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-25T09:08:27.933Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 83.3% of statements [2021-05-25T09:08:27.933Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-25T09:08:27.933Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-25T09:08:27.933Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 58.0% of statements [2021-05-25T09:08:29.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.837s coverage: 89.2% of statements [2021-05-25T09:08:29.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-25T09:08:29.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.044s coverage: 5.0% of statements [2021-05-25T09:08:29.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-25T09:08:29.599Z] GO111MODULE=on go vet ./... [2021-05-25T09:08:37.337Z] Removing intermediate container bf4662a884bb [2021-05-25T09:08:37.338Z] ---> 6bb49a17b9b4 [2021-05-25T09:08:37.338Z] Successfully built 6bb49a17b9b4 [2021-05-25T09:08:37.338Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:08:37.684Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T09:08:37.685Z] . [Pipeline] withDockerContainer [2021-05-25T09:08:37.923Z] prd-ubuntu18.04-docker-arm64-4c-16g-112 does not seem to be running inside a container [2021-05-25T09:08:38.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-25T09:08:39.655Z] $ docker top b52583bb36213dcd52805976ae8f5eb78111ee1d644afb0c8df4ba326a376e94 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T09:08:40.635Z] + go version [2021-05-25T09:08:40.635Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-25T09:08:40.663Z] $ docker stop --time=1 b52583bb36213dcd52805976ae8f5eb78111ee1d644afb0c8df4ba326a376e94 [2021-05-25T09:08:42.449Z] $ docker rm -f b52583bb36213dcd52805976ae8f5eb78111ee1d644afb0c8df4ba326a376e94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:08:43.145Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T09:08:43.145Z] . [Pipeline] withDockerContainer [2021-05-25T09:08:43.387Z] prd-ubuntu18.04-docker-arm64-4c-16g-112 does not seem to be running inside a container [2021-05-25T09:08:43.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-25T09:08:45.100Z] $ docker top 068944e05861889179b61194bc7a41e0f8a7d68124d153fd6a12c54b9244752f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T09:08:46.116Z] + go mod tidy [Pipeline] sh [2021-05-25T09:08:47.385Z] + make test [2021-05-25T09:08:47.385Z] go mod tidy [2021-05-25T09:08:47.845Z] gofmt -l . [2021-05-25T09:08:47.845Z] [ "`gofmt -l .`" = "" ] [2021-05-25T09:08:47.845Z] ./bin/test-attribution-txt.sh [2021-05-25T09:08:47.845Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-25T09:08:47.864Z] $ docker stop --time=1 564e69ed3c833db28d32116bfe89cce7e7e0faafdfd3acabed8f4198a83b746a [2021-05-25T09:08:47.988Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-25T09:08:49.444Z] $ docker rm -f 564e69ed3c833db28d32116bfe89cce7e7e0faafdfd3acabed8f4198a83b746a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T09:08:49.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T09:08:50.193Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-25T09:08:51.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T09:08:51.776Z] + ls -al . [2021-05-25T09:08:51.777Z] total 212 [2021-05-25T09:08:51.777Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 25 09:08 . [2021-05-25T09:08:51.777Z] drwxrwxr-x. 4 jenkins jenkins 28 May 25 09:06 .. [2021-05-25T09:08:51.777Z] drwxrwxr-x. 2 jenkins jenkins 64 May 25 09:06 bin [2021-05-25T09:08:51.777Z] -rw-r--r--. 1 jenkins jenkins 126444 May 25 09:08 coverage.out [2021-05-25T09:08:51.777Z] -rw-rw-r--. 1 jenkins jenkins 987 May 25 09:06 Dockerfile.build [2021-05-25T09:08:51.777Z] -rw-rw-r--. 1 jenkins jenkins 140 May 25 09:06 .dockerignore [2021-05-25T09:08:51.777Z] drwxrwxr-x. 5 jenkins jenkins 62 May 25 09:06 example [2021-05-25T09:08:51.777Z] drwxrwxr-x. 8 jenkins jenkins 179 May 25 09:07 .git [2021-05-25T09:08:51.777Z] drwxrwxr-x. 2 jenkins jenkins 103 May 25 09:06 .github [2021-05-25T09:08:51.777Z] -rw-rw-r--. 1 jenkins jenkins 138 May 25 09:06 .gitignore [2021-05-25T09:08:51.777Z] -rw-r--r--. 1 jenkins jenkins 575 May 25 09:08 go.mod [2021-05-25T09:08:51.777Z] -rw-r--r--. 1 jenkins jenkins 20803 May 25 09:07 go.sum [2021-05-25T09:08:51.777Z] drwxrwxr-x. 15 jenkins jenkins 224 May 25 09:06 internal [2021-05-25T09:08:51.777Z] -rw-rw-r--. 1 jenkins jenkins 894 May 25 09:06 Jenkinsfile [2021-05-25T09:08:51.777Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 25 09:06 LICENSE [2021-05-25T09:08:51.777Z] -rw-rw-r--. 1 jenkins jenkins 1026 May 25 09:06 Makefile [2021-05-25T09:08:51.777Z] drwxrwxr-x. 4 jenkins jenkins 26 May 25 09:06 openapi [2021-05-25T09:08:51.777Z] drwxrwxr-x. 5 jenkins jenkins 50 May 25 09:06 pkg [2021-05-25T09:08:51.777Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 25 09:06 README.md [2021-05-25T09:08:51.777Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 25 09:06 RELEASE-NOTES.txt [2021-05-25T09:08:51.777Z] drwxrwxr-x. 4 jenkins jenkins 54 May 25 09:06 snap [2021-05-25T09:08:51.777Z] -rw-rw-r--. 1 jenkins jenkins 5 May 25 09:04 VERSION [2021-05-25T09:08:51.777Z] -rw-rw-r--. 1 jenkins jenkins 222 May 25 09:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:08:52.097Z] + 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=987f356fa5b95d71561d3b416b9c41ba8a68ab8c --label arch=amd64 --label version=0.0.0 . [2021-05-25T09:08:52.097Z] Sending build context to Docker daemon 2.747MB [2021-05-25T09:08:52.097Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T09:08:52.097Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-25T09:08:52.097Z] ---> 6b7ab41fe325 [2021-05-25T09:08:52.097Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-25T09:08:52.097Z] ---> Running in adc21cfa5a88 [2021-05-25T09:08:52.369Z] Removing intermediate container adc21cfa5a88 [2021-05-25T09:08:52.369Z] ---> 67e4f5be50de [2021-05-25T09:08:52.369Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T09:08:52.369Z] ---> Running in 1c28b0e80dc1 [2021-05-25T09:08:52.369Z] Removing intermediate container 1c28b0e80dc1 [2021-05-25T09:08:52.369Z] ---> e5fab62ac01a [2021-05-25T09:08:52.369Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T09:08:52.369Z] ---> Running in ee76de811e1d [2021-05-25T09:08:52.953Z] Removing intermediate container ee76de811e1d [2021-05-25T09:08:52.953Z] ---> 14eb711bc097 [2021-05-25T09:08:52.953Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-25T09:08:52.953Z] ---> Running in 12688091c255 [2021-05-25T09:08:53.220Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T09:08:54.175Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T09:08:54.446Z] OK: 150 MiB in 46 packages [2021-05-25T09:08:54.709Z] Removing intermediate container 12688091c255 [2021-05-25T09:08:54.709Z] ---> 5fe636696c07 [2021-05-25T09:08:54.709Z] Step 7/23 : COPY . . [2021-05-25T09:08:54.973Z] ---> 1bd64bc0b356 [2021-05-25T09:08:54.974Z] Step 8/23 : RUN go mod download [2021-05-25T09:08:54.974Z] ---> Running in 3c6546a6d371 [2021-05-25T09:08:55.559Z] Removing intermediate container 3c6546a6d371 [2021-05-25T09:08:55.559Z] ---> 99b0d46da30a [2021-05-25T09:08:55.559Z] Step 9/23 : RUN make build [2021-05-25T09:08:55.559Z] ---> Running in 21e588c6f209 [2021-05-25T09:08:55.830Z] go mod tidy [2021-05-25T09:08:56.097Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-25T09:09:06.207Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-25T09:09:07.160Z] Removing intermediate container 21e588c6f209 [2021-05-25T09:09:07.160Z] ---> 275764d26890 [2021-05-25T09:09:07.160Z] Step 10/23 : FROM alpine:3.12 [2021-05-25T09:09:07.420Z] 3.12: Pulling from library/alpine [2021-05-25T09:09:07.713Z] 339de151aab4: Pulling fs layer [2021-05-25T09:09:07.713Z] 339de151aab4: Verifying Checksum [2021-05-25T09:09:07.713Z] 339de151aab4: Download complete [2021-05-25T09:09:07.973Z] 339de151aab4: Pull complete [2021-05-25T09:09:07.973Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T09:09:07.973Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T09:09:07.973Z] ---> 13621d1b12d4 [2021-05-25T09:09:07.973Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T09:09:07.973Z] ---> Running in e4ec5ac25db4 [2021-05-25T09:09:07.973Z] Removing intermediate container e4ec5ac25db4 [2021-05-25T09:09:07.973Z] ---> 965839417146 [2021-05-25T09:09:07.973Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T09:09:08.242Z] ---> Running in c4b476cc837c [2021-05-25T09:09:08.504Z] Removing intermediate container c4b476cc837c [2021-05-25T09:09:08.504Z] ---> 221e10bdf20a [2021-05-25T09:09:08.504Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-25T09:09:08.504Z] ---> Running in 3cbfc5a439c9 [2021-05-25T09:09:08.765Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-25T09:09:09.709Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-25T09:09:09.970Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-25T09:09:09.970Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-25T09:09:09.971Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-25T09:09:10.216Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-25T09:09:11.369Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-25T09:09:11.369Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-25T09:09:11.369Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T09:09:11.369Z] OK: 8 MiB in 19 packages [2021-05-25T09:09:11.630Z] Removing intermediate container 3cbfc5a439c9 [2021-05-25T09:09:11.630Z] ---> 8ad768466dd3 [2021-05-25T09:09:11.631Z] Step 14/23 : WORKDIR / [2021-05-25T09:09:11.631Z] ---> Running in 6ee53985366a [2021-05-25T09:09:11.631Z] Removing intermediate container 6ee53985366a [2021-05-25T09:09:11.631Z] ---> 22dd0434685b [2021-05-25T09:09:11.631Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-25T09:09:11.893Z] ---> 5a2fb6a3c692 [2021-05-25T09:09:11.893Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-25T09:09:12.169Z] ---> e53e3270f361 [2021-05-25T09:09:12.169Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-25T09:09:12.450Z] ---> c451c0204957 [2021-05-25T09:09:12.450Z] Step 18/23 : EXPOSE 59999 [2021-05-25T09:09:12.450Z] ---> Running in 6d7d426e495d [2021-05-25T09:09:12.450Z] Removing intermediate container 6d7d426e495d [2021-05-25T09:09:12.450Z] ---> edb1f08cb55c [2021-05-25T09:09:12.450Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-25T09:09:12.450Z] ---> Running in 25939baf69fe [2021-05-25T09:09:12.450Z] Removing intermediate container 25939baf69fe [2021-05-25T09:09:12.450Z] ---> 1af7b22efdf7 [2021-05-25T09:09:12.450Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-25T09:09:12.714Z] ---> Running in a1dd7314f08c [2021-05-25T09:09:12.714Z] Removing intermediate container a1dd7314f08c [2021-05-25T09:09:12.714Z] ---> e1e58cea1c9e [2021-05-25T09:09:12.714Z] Step 21/23 : LABEL arch=amd64 [2021-05-25T09:09:12.714Z] ---> Running in 0c51ad73ad82 [2021-05-25T09:09:12.714Z] Removing intermediate container 0c51ad73ad82 [2021-05-25T09:09:12.714Z] ---> bc292f2a6f53 [2021-05-25T09:09:12.714Z] Step 22/23 : LABEL git_sha=987f356fa5b95d71561d3b416b9c41ba8a68ab8c [2021-05-25T09:09:12.714Z] ---> Running in 42c40278392e [2021-05-25T09:09:12.975Z] Removing intermediate container 42c40278392e [2021-05-25T09:09:12.975Z] ---> ca081d35d3d8 [2021-05-25T09:09:12.975Z] Step 23/23 : LABEL version=0.0.0 [2021-05-25T09:09:12.975Z] ---> Running in edc4f2dabdfe [2021-05-25T09:09:12.975Z] Removing intermediate container edc4f2dabdfe [2021-05-25T09:09:12.975Z] ---> a3434c161ec5 [2021-05-25T09:09:12.975Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-25T09:09:12.975Z] Successfully built a3434c161ec5 [2021-05-25T09:09:12.975Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:09:13.746Z] ---> job-cost.sh [2021-05-25T09:09:13.746Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-r1sm [2021-05-25T09:09:23.798Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T09:09:41.977Z] lf-activate-venv(): INFO: Adding /tmp/venv-r1sm/bin to PATH [2021-05-25T09:09:41.977Z] INFO: No Stack... [2021-05-25T09:09:41.977Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T09:09:41.977Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T09:09:42.294Z] + cut -d, -f6 [2021-05-25T09:09:42.294Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [Pipeline] lock [2021-05-25T09:09:42.325Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-942-7-stack-cost] [2021-05-25T09:09:42.334Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-942-7-stack-cost] did not exist. Created. [2021-05-25T09:09:42.335Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-942-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T09:09:42.664Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-25T09:09:42.736Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T09:09:42.753Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-942-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-25T09:10:18.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-25T09:10:18.340Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-25T09:10:18.340Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-25T09:10:23.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.282s coverage: 25.4% of statements [2021-05-25T09:10:23.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-25T09:10:23.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.226s coverage: 28.1% of statements [2021-05-25T09:10:23.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.287s coverage: 78.9% of statements [2021-05-25T09:10:23.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.190s coverage: 9.0% of statements [2021-05-25T09:10:23.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-25T09:10:23.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-25T09:10:23.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-25T09:10:25.232Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.262s coverage: 30.2% of statements [2021-05-25T09:10:25.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-25T09:10:26.683Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.231s coverage: 83.3% of statements [2021-05-25T09:10:26.683Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-25T09:10:26.683Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-25T09:10:27.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.343s coverage: 58.0% of statements [2021-05-25T09:10:30.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.126s coverage: 89.2% of statements [2021-05-25T09:10:30.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-25T09:10:30.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.169s coverage: 5.0% of statements [2021-05-25T09:10:30.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-25T09:10:30.605Z] GO111MODULE=on go vet ./... [2021-05-25T09:11:27.161Z] gofmt -l . [2021-05-25T09:11:27.161Z] [ "`gofmt -l .`" = "" ] [2021-05-25T09:11:27.161Z] ./bin/test-attribution-txt.sh [2021-05-25T09:11:27.161Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-25T09:11:27.189Z] $ docker stop --time=1 068944e05861889179b61194bc7a41e0f8a7d68124d153fd6a12c54b9244752f [2021-05-25T09:11:29.448Z] $ docker rm -f 068944e05861889179b61194bc7a41e0f8a7d68124d153fd6a12c54b9244752f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T09:11:30.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T09:11:30.611Z] Warning: overwriting stash ‘coverage-report’ [2021-05-25T09:11:31.587Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T09:11:32.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T09:11:32.454Z] + ls -al . [2021-05-25T09:11:32.454Z] total 248 [2021-05-25T09:11:32.454Z] drwxrwxr-x 10 jenkins jenkins 4096 May 25 09:11 . [2021-05-25T09:11:32.454Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 09:06 .. [2021-05-25T09:11:32.454Z] -rw-rw-r-- 1 jenkins jenkins 140 May 25 09:07 .dockerignore [2021-05-25T09:11:32.454Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 09:07 .git [2021-05-25T09:11:32.454Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 09:07 .github [2021-05-25T09:11:32.454Z] -rw-rw-r-- 1 jenkins jenkins 138 May 25 09:07 .gitignore [2021-05-25T09:11:32.454Z] -rw-rw-r-- 1 jenkins jenkins 987 May 25 09:07 Dockerfile.build [2021-05-25T09:11:32.454Z] -rw-rw-r-- 1 jenkins jenkins 894 May 25 09:07 Jenkinsfile [2021-05-25T09:11:32.454Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 25 09:07 LICENSE [2021-05-25T09:11:32.454Z] -rw-rw-r-- 1 jenkins jenkins 1026 May 25 09:07 Makefile [2021-05-25T09:11:32.454Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 25 09:07 README.md [2021-05-25T09:11:32.454Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 25 09:07 RELEASE-NOTES.txt [2021-05-25T09:11:32.454Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 09:04 VERSION [2021-05-25T09:11:32.454Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 09:07 bin [2021-05-25T09:11:32.454Z] -rw-r--r-- 1 jenkins jenkins 126444 May 25 09:10 coverage.out [2021-05-25T09:11:32.454Z] drwxrwxr-x 5 jenkins jenkins 4096 May 25 09:07 example [2021-05-25T09:11:32.454Z] -rw-r--r-- 1 jenkins jenkins 575 May 25 09:11 go.mod [2021-05-25T09:11:32.454Z] -rw-r--r-- 1 jenkins jenkins 20803 May 25 09:08 go.sum [2021-05-25T09:11:32.454Z] drwxrwxr-x 15 jenkins jenkins 4096 May 25 09:07 internal [2021-05-25T09:11:32.454Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 09:07 openapi [2021-05-25T09:11:32.454Z] drwxrwxr-x 5 jenkins jenkins 4096 May 25 09:07 pkg [2021-05-25T09:11:32.454Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 09:07 snap [2021-05-25T09:11:32.454Z] -rw-rw-r-- 1 jenkins jenkins 222 May 25 09:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:11:32.824Z] + 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=987f356fa5b95d71561d3b416b9c41ba8a68ab8c --label arch=arm64 --label version=0.0.0 . [2021-05-25T09:11:33.427Z] Sending build context to Docker daemon 2.746MB [2021-05-25T09:11:33.427Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T09:11:33.427Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-25T09:11:33.427Z] ---> 6bb49a17b9b4 [2021-05-25T09:11:33.427Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-25T09:11:33.703Z] ---> Running in b4638d08f05d [2021-05-25T09:11:34.298Z] Removing intermediate container b4638d08f05d [2021-05-25T09:11:34.298Z] ---> 458e1c90b558 [2021-05-25T09:11:34.298Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T09:11:34.573Z] ---> Running in c7c24a954444 [2021-05-25T09:11:34.847Z] Removing intermediate container c7c24a954444 [2021-05-25T09:11:34.847Z] ---> a7fe2245091a [2021-05-25T09:11:34.847Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T09:11:35.120Z] ---> Running in d64e9ac4c260 [2021-05-25T09:11:37.093Z] Removing intermediate container d64e9ac4c260 [2021-05-25T09:11:37.093Z] ---> bdf40c387a87 [2021-05-25T09:11:37.093Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-25T09:11:37.373Z] ---> Running in 79e0b8970f0f [2021-05-25T09:11:38.815Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T09:11:39.404Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T09:11:40.384Z] OK: 139 MiB in 46 packages [2021-05-25T09:11:41.366Z] Removing intermediate container 79e0b8970f0f [2021-05-25T09:11:41.366Z] ---> d5f3de97e880 [2021-05-25T09:11:41.366Z] Step 7/23 : COPY . . [2021-05-25T09:11:42.804Z] ---> e46fb125a23d [2021-05-25T09:11:42.804Z] Step 8/23 : RUN go mod download [2021-05-25T09:11:43.100Z] ---> Running in b09054cef1b3 [2021-05-25T09:11:45.722Z] Removing intermediate container b09054cef1b3 [2021-05-25T09:11:45.722Z] ---> 1755276cb4b3 [2021-05-25T09:11:45.722Z] Step 9/23 : RUN make build [2021-05-25T09:11:45.722Z] ---> Running in 71405f69d070 [2021-05-25T09:11:46.706Z] go mod tidy [2021-05-25T09:11:47.307Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-25T09:12:19.667Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-25T09:12:22.296Z] Removing intermediate container 71405f69d070 [2021-05-25T09:12:22.296Z] ---> 9bad01a75d33 [2021-05-25T09:12:22.296Z] Step 10/23 : FROM alpine:3.12 [2021-05-25T09:12:22.567Z] 3.12: Pulling from library/alpine [2021-05-25T09:12:22.567Z] d2f70382dc9a: Pulling fs layer [2021-05-25T09:12:22.839Z] d2f70382dc9a: Verifying Checksum [2021-05-25T09:12:22.839Z] d2f70382dc9a: Download complete [2021-05-25T09:12:23.450Z] d2f70382dc9a: Pull complete [2021-05-25T09:12:23.450Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T09:12:23.450Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T09:12:23.450Z] ---> 9852663dfa18 [2021-05-25T09:12:23.450Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T09:12:23.723Z] ---> Running in 949f96aaa63f [2021-05-25T09:12:24.317Z] Removing intermediate container 949f96aaa63f [2021-05-25T09:12:24.317Z] ---> ddab19ffc583 [2021-05-25T09:12:24.317Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T09:12:24.317Z] ---> Running in 7d0f9955db52 [2021-05-25T09:12:26.942Z] Removing intermediate container 7d0f9955db52 [2021-05-25T09:12:26.942Z] ---> 419b802d58f5 [2021-05-25T09:12:26.942Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-25T09:12:26.942Z] ---> Running in 49c4b773b1bd [2021-05-25T09:12:27.915Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-25T09:12:28.506Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-25T09:12:29.099Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-25T09:12:29.371Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-25T09:12:29.371Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-25T09:12:29.647Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-25T09:12:29.647Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-25T09:12:29.647Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T09:12:29.647Z] OK: 8 MiB in 19 packages [2021-05-25T09:12:31.081Z] Removing intermediate container 49c4b773b1bd [2021-05-25T09:12:31.081Z] ---> 4ed3579ab8b9 [2021-05-25T09:12:31.081Z] Step 14/23 : WORKDIR / [2021-05-25T09:12:31.081Z] ---> Running in 9323085a3458 [2021-05-25T09:12:31.355Z] Removing intermediate container 9323085a3458 [2021-05-25T09:12:31.355Z] ---> c95b83548163 [2021-05-25T09:12:31.355Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-25T09:12:32.328Z] ---> aefc343a750e [2021-05-25T09:12:32.328Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-25T09:12:33.763Z] ---> 8a60a799fadc [2021-05-25T09:12:33.763Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-25T09:12:34.359Z] ---> 775b63a35480 [2021-05-25T09:12:34.359Z] Step 18/23 : EXPOSE 59999 [2021-05-25T09:12:34.359Z] ---> Running in 22210fed7953 [2021-05-25T09:12:34.953Z] Removing intermediate container 22210fed7953 [2021-05-25T09:12:34.953Z] ---> 6d944b7d6807 [2021-05-25T09:12:34.953Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-25T09:12:34.953Z] ---> Running in 8f3ca066bbd4 [2021-05-25T09:12:35.549Z] Removing intermediate container 8f3ca066bbd4 [2021-05-25T09:12:35.549Z] ---> 6998fd0e9990 [2021-05-25T09:12:35.549Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-25T09:12:35.549Z] ---> Running in 5be9c48e99c7 [2021-05-25T09:12:36.145Z] Removing intermediate container 5be9c48e99c7 [2021-05-25T09:12:36.145Z] ---> 2de1c1142c95 [2021-05-25T09:12:36.145Z] Step 21/23 : LABEL arch=arm64 [2021-05-25T09:12:36.145Z] ---> Running in 1dee4a6df065 [2021-05-25T09:12:36.753Z] Removing intermediate container 1dee4a6df065 [2021-05-25T09:12:36.753Z] ---> 0bf92f6af0fd [2021-05-25T09:12:36.753Z] Step 22/23 : LABEL git_sha=987f356fa5b95d71561d3b416b9c41ba8a68ab8c [2021-05-25T09:12:37.030Z] ---> Running in e891a36c41a1 [2021-05-25T09:12:37.302Z] Removing intermediate container e891a36c41a1 [2021-05-25T09:12:37.302Z] ---> a3acb26768ba [2021-05-25T09:12:37.302Z] Step 23/23 : LABEL version=0.0.0 [2021-05-25T09:12:37.576Z] ---> Running in ab3a0cd61f02 [2021-05-25T09:12:38.180Z] Removing intermediate container ab3a0cd61f02 [2021-05-25T09:12:38.180Z] ---> ec28efa68d61 [2021-05-25T09:12:38.180Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-25T09:12:38.180Z] Successfully built ec28efa68d61 [2021-05-25T09:12:38.180Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:12:38.639Z] ---> job-cost.sh [2021-05-25T09:12:38.639Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DWcD [2021-05-25T09:13:17.596Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T09:14:54.375Z] lf-activate-venv(): INFO: Adding /tmp/venv-DWcD/bin to PATH [2021-05-25T09:14:54.376Z] INFO: No Stack... [2021-05-25T09:14:54.376Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-25T09:14:54.376Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T09:14:54.743Z] + cut+ -d, -f6 [2021-05-25T09:14:54.744Z] cat /w/workspace/device-sdk-go/7/archives/cost.csv [Pipeline] lock [2021-05-25T09:14:54.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-942-7-stack-cost] [2021-05-25T09:14:54.843Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-942-7-stack-cost] did not exist. Created. [2021-05-25T09:14:54.843Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-942-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T09:14:55.267Z] /w/workspace/device-sdk-go/7@tmp/durable-1d5746d0/script.sh: 1: /w/workspace/device-sdk-go/7@tmp/durable-1d5746d0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-25T09:14:55.630Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-25T09:14:55.656Z] Warning: overwriting stash ‘stack-cost’ [2021-05-25T09:14:55.861Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T09:14:55.878Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-942-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-25T09:14:56.462Z] provisioning config files... [2021-05-25T09:14:56.479Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/config3013098386420814379tmp [Pipeline] { [Pipeline] sh [2021-05-25T09:14:56.806Z] + set +x [2021-05-25T09:14:56.806Z] + bash -s -- [2021-05-25T09:14:56.806Z] + curl -s https://codecov.io/bash [2021-05-25T09:14:56.806Z] [2021-05-25T09:14:56.806Z] _____ _ [2021-05-25T09:14:56.806Z] / ____| | | [2021-05-25T09:14:56.806Z] | | ___ __| | ___ ___ _____ __ [2021-05-25T09:14:56.806Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-25T09:14:56.806Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-25T09:14:56.806Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-25T09:14:56.806Z] Bash-1.0.3 [2021-05-25T09:14:56.806Z] [2021-05-25T09:14:56.806Z] [2021-05-25T09:14:56.806Z] ==> git version 2.24.4 found [2021-05-25T09:14:56.806Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-25T09:14:56.806Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-25T09:14:56.807Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-25T09:14:56.807Z] ==> Jenkins CI detected. [2021-05-25T09:14:56.807Z] project root: . [2021-05-25T09:14:56.807Z] --> token set from env [2021-05-25T09:14:57.072Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-25T09:14:57.072Z] ==> Running gcov in . (disable via -X gcov) [2021-05-25T09:14:57.072Z] ==> Python coveragepy not found [2021-05-25T09:14:57.072Z] ==> Searching for coverage reports in: [2021-05-25T09:14:57.072Z] + . [2021-05-25T09:14:57.072Z] -> Found 1 reports [2021-05-25T09:14:57.072Z] ==> Detecting git/mercurial file structure [2021-05-25T09:14:57.072Z] ==> Reading reports [2021-05-25T09:14:57.072Z] + ./coverage.out bytes=126444 [2021-05-25T09:14:57.072Z] ==> Appending adjustments [2021-05-25T09:14:57.072Z] https://docs.codecov.io/docs/fixing-reports [2021-05-25T09:14:57.333Z] + Found adjustments [2021-05-25T09:14:57.333Z] ==> Gzipping contents [2021-05-25T09:14:57.333Z] 20K /tmp/codecov.Zs76jf.gz [2021-05-25T09:14:57.333Z] ==> Uploading reports [2021-05-25T09:14:57.333Z] url: https://codecov.io [2021-05-25T09:14:57.333Z] query: branch=PR-942&commit=987f356fa5b95d71561d3b416b9c41ba8a68ab8c&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-942%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=942&job=&cmd_args= [2021-05-25T09:14:57.333Z] -> Pinging Codecov [2021-05-25T09:14:57.333Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-942&commit=987f356fa5b95d71561d3b416b9c41ba8a68ab8c&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-942%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=942&job=&cmd_args= [2021-05-25T09:14:58.276Z] -> Uploading to [2021-05-25T09:14:58.276Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-25/7E55EF52A471D76F132DFD9A03CDDE97/987f356fa5b95d71561d3b416b9c41ba8a68ab8c/3358cf0e-50c2-44f5-a733-9ff9c2f52005.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210525T091457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea65c4ede158ab42350ff121dc0c81a8cfbc285daf0d30034f1acbd6cfa69ec2 [2021-05-25T09:14:58.276Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-25T09:14:58.276Z] Dload Upload Total Spent Left Speed [2021-05-25T09:14:58.540Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16483 0 0 100 16483 0 39065 --:--:-- --:--:-- --:--:-- 39059 100 16483 0 0 100 16483 0 39052 --:--:-- --:--:-- --:--:-- 39059 [2021-05-25T09:14:58.540Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/987f356fa5b95d71561d3b416b9c41ba8a68ab8c [Pipeline] } [2021-05-25T09:14:58.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:14:59.784Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:15:00.359Z] ---> package-listing.sh [2021-05-25T09:15:00.359Z] ++ facter osfamily [2021-05-25T09:15:00.359Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-25T09:15:00.623Z] + OS_FAMILY=redhat [2021-05-25T09:15:00.623Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-942 [2021-05-25T09:15:00.623Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-25T09:15:00.623Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-25T09:15:00.623Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-25T09:15:00.623Z] + PACKAGES=/tmp/packages_start.txt [2021-05-25T09:15:00.623Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-942 ']' [2021-05-25T09:15:00.623Z] + PACKAGES=/tmp/packages_end.txt [2021-05-25T09:15:00.623Z] + case "${OS_FAMILY}" in [2021-05-25T09:15:00.623Z] + rpm -qa [2021-05-25T09:15:00.623Z] + sort [2021-05-25T09:15:01.196Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-25T09:15:01.196Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-25T09:15:01.196Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-25T09:15:01.196Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-942 ']' [2021-05-25T09:15:01.196Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-942/archives/ [2021-05-25T09:15:01.196Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-942/archives/ [Pipeline] echo [2021-05-25T09:15:01.208Z] 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-942/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-25T09:15:01.508Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:15:02.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T09:15:02.076Z] [2021-05-25T09:15:02.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-25T09:15:02.396Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T09:15:02.397Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-25T09:15:02.397Z] df20fa9351a1: Pulling fs layer [2021-05-25T09:15:02.397Z] 36b3adc4ff6f: Pulling fs layer [2021-05-25T09:15:02.397Z] 8ad3a11d3b57: Pulling fs layer [2021-05-25T09:15:02.397Z] 46f8f816bc3b: Pulling fs layer [2021-05-25T09:15:02.397Z] 93b61091891f: Pulling fs layer [2021-05-25T09:15:02.397Z] 93b9cdb0e59b: Pulling fs layer [2021-05-25T09:15:02.397Z] 5e14af77c1be: Pulling fs layer [2021-05-25T09:15:02.397Z] 01666e4c0597: Pulling fs layer [2021-05-25T09:15:02.397Z] aa168da1d23b: Pulling fs layer [2021-05-25T09:15:02.397Z] 46f8f816bc3b: Waiting [2021-05-25T09:15:02.397Z] 93b61091891f: Waiting [2021-05-25T09:15:02.397Z] 93b9cdb0e59b: Waiting [2021-05-25T09:15:02.397Z] 5e14af77c1be: Waiting [2021-05-25T09:15:02.397Z] 01666e4c0597: Waiting [2021-05-25T09:15:02.397Z] aa168da1d23b: Waiting [2021-05-25T09:15:02.667Z] 36b3adc4ff6f: Verifying Checksum [2021-05-25T09:15:02.667Z] 36b3adc4ff6f: Download complete [2021-05-25T09:15:02.667Z] 46f8f816bc3b: Download complete [2021-05-25T09:15:02.667Z] df20fa9351a1: Verifying Checksum [2021-05-25T09:15:02.667Z] df20fa9351a1: Download complete [2021-05-25T09:15:02.667Z] 93b9cdb0e59b: Verifying Checksum [2021-05-25T09:15:02.667Z] 93b9cdb0e59b: Download complete [2021-05-25T09:15:02.667Z] 5e14af77c1be: Verifying Checksum [2021-05-25T09:15:02.667Z] 5e14af77c1be: Download complete [2021-05-25T09:15:02.667Z] 93b61091891f: Verifying Checksum [2021-05-25T09:15:02.667Z] 93b61091891f: Download complete [2021-05-25T09:15:02.667Z] 01666e4c0597: Verifying Checksum [2021-05-25T09:15:02.667Z] 01666e4c0597: Download complete [2021-05-25T09:15:02.933Z] 8ad3a11d3b57: Verifying Checksum [2021-05-25T09:15:02.933Z] 8ad3a11d3b57: Download complete [2021-05-25T09:15:02.933Z] df20fa9351a1: Pull complete [2021-05-25T09:15:03.197Z] 36b3adc4ff6f: Pull complete [2021-05-25T09:15:03.782Z] 8ad3a11d3b57: Pull complete [2021-05-25T09:15:04.056Z] 46f8f816bc3b: Pull complete [2021-05-25T09:15:04.320Z] 93b61091891f: Pull complete [2021-05-25T09:15:04.588Z] 93b9cdb0e59b: Pull complete [2021-05-25T09:15:04.588Z] 5e14af77c1be: Pull complete [2021-05-25T09:15:04.851Z] 01666e4c0597: Pull complete [2021-05-25T09:15:05.806Z] aa168da1d23b: Verifying Checksum [2021-05-25T09:15:05.806Z] aa168da1d23b: Download complete [2021-05-25T09:15:10.082Z] aa168da1d23b: Pull complete [2021-05-25T09:15:10.082Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-25T09:15:10.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T09:15:10.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-25T09:15:10.152Z] prd-centos7-docker-4c-2g-110 does not seem to be running inside a container [2021-05-25T09:15:10.188Z] $ 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-942/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-942 -v /w/workspace/dgexfoundry_device-sdk-go_PR-942:/w/workspace/dgexfoundry_device-sdk-go_PR-942:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-942@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:10003/edgex-lftools-log-publisher:alpine cat [2021-05-25T09:15:19.019Z] $ docker top ec24382f4f0f464f55b62395cf60ad7387f54ede2058e98d3ead135f77c808ca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T09:15:19.402Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-25T09:15:19.697Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-25T09:15:19.994Z] + ls /var/log/sa-host [2021-05-25T09:15:19.994Z] + sadf -c /var/log/sa-host/sa05 [2021-05-25T09:15:19.994Z] file_magic: OK [2021-05-25T09:15:19.994Z] HZ: Using current value: 100 [2021-05-25T09:15:19.994Z] file_header: OK [2021-05-25T09:15:19.994Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-25T09:15:19.994Z] Statistics: [2021-05-25T09:15:19.994Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-25T09:15:19.994Z] File successfully converted to sysstat format version 12.2.1 [2021-05-25T09:15:19.994Z] + sadf -c /var/log/sa-host/sa25 [2021-05-25T09:15:19.994Z] file_magic: OK [2021-05-25T09:15:19.994Z] HZ: Using current value: 100 [2021-05-25T09:15:19.994Z] file_header: OK [2021-05-25T09:15:19.994Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-25T09:15:19.994Z] Statistics: [2021-05-25T09:15:19.994Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-25T09:15:19.994Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T09:15:20.722Z] provisioning config files... [2021-05-25T09:15:20.740Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-942@tmp/config3646659805273455846tmp [Pipeline] { [Pipeline] echo [2021-05-25T09:15:20.788Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:15:21.095Z] ---> create-netrc.sh [Pipeline] } [2021-05-25T09:15:21.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-25T09:15:21.141Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:15:21.435Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-25T09:15:21.444Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:15:21.741Z] ---> sudo-logs.sh [2021-05-25T09:15:21.741Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-25T09:15:21.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:15:22.073Z] ---> job-cost.sh [2021-05-25T09:15:22.074Z] lf-activate-venv: SKIPPING [2021-05-25T09:15:22.074Z] DEBUG: total: 0.18000000715255737 [2021-05-25T09:15:22.074Z] INFO: Retrieving Stack Cost... [2021-05-25T09:15:23.023Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T09:15:23.607Z] INFO: Archiving Costs [Pipeline] echo [2021-05-25T09:15:23.626Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T09:15:23.946Z] ---> logs-deploy.sh [2021-05-25T09:15:23.946Z] lf-activate-venv: SKIPPING [2021-05-25T09:15:23.946Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-942/7 [2021-05-25T09:15:23.946Z] INFO: archiving workspace using pattern(s): [2021-05-25T09:15:24.903Z] Archives upload complete. [2021-05-25T09:15:24.903Z] INFO: archiving logs to Nexus [2021-05-25T09:15:25.476Z] ---> uname -a: [2021-05-25T09:15:25.476Z] Linux prd-centos7-docker-4c-2g-110.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-05-25T09:15:25.476Z] [2021-05-25T09:15:25.476Z]