Pull request #961 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71+970fe7bbdfb7a04cc9eaee047acd468ff9516e4e (0c76d5101f191d72566acf4bddf709f07a92b80c) 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-ssh6720046964317520214.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh6718870238121791175.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-961/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-961/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7561939760499800790.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh949330126912280127.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-961/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-961/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3284538505899470324.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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-8 in /w/workspace/dgexfoundry_device-sdk-go_PR-961 [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-961 # 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-961@tmp/jenkins-gitclient-ssh8395618045469213284.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-961@tmp/jenkins-gitclient-ssh6031125783901782743.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/961/head:refs/remotes/origin/PR-961 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 970fe7bbdfb7a04cc9eaee047acd468ff9516e4e into PR head commit 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 Merge succeeded, producing 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 Checking out Revision 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 (PR-961) > git config core.sparsecheckout # timeout=10 > git checkout -f 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 # 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-961@tmp/jenkins-gitclient-ssh7020804985277406072.key > git merge 970fe7bbdfb7a04cc9eaee047acd468ff9516e4e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T10:09:38.330Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T10:09:38.423Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T10:09:38.481Z] ========================================================= [2021-06-09T10:09:38.481Z] EdgeX Global Pipelines Version Info [2021-06-09T10:09:38.481Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7c8fc33c61a4b3020d111e766902b75f5b8de027 # timeout=10 [2021-06-09T10:09:39.886Z] ------------------- [2021-06-09T10:09:39.887Z] stable info: [2021-06-09T10:09:39.887Z] ------------------- [2021-06-09T10:09:39.887Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T10:09:39.887Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T10:09:39.887Z] Message: update stable to v1.0.194 [2021-06-09T10:09:40.461Z] ------------------- [2021-06-09T10:09:40.461Z] experimental info: [2021-06-09T10:09:40.461Z] ------------------- [2021-06-09T10:09:40.461Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T10:09:40.461Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T10:09:40.461Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T10:09:40.585Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-09T10:09:40.611Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-09T10:09:40.636Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T10:09:40.661Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T10:09:40.685Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T10:09:40.709Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T10:09:40.736Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T10:09:40.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T10:09:40.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-09T10:09:40.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T10:09:40.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T10:09:40.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-09T10:09:40.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T10:09:40.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T10:09:40.945Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T10:09:40.972Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:09:41.006Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:09:41.031Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:09:41.059Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T10:09:41.086Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T10:09:41.112Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-09T10:09:41.171Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-09T10:09:41.197Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T10:09:41.222Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T10:09:41.248Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T10:09:41.273Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T10:09:41.299Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-961 [Pipeline] echo [2021-06-09T10:09:41.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-961 [Pipeline] echo [2021-06-09T10:09:41.350Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-961 [Pipeline] echo [2021-06-09T10:09:41.377Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 [Pipeline] echo [2021-06-09T10:09:41.405Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7845c73 [Pipeline] echo [2021-06-09T10:09:41.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:09:41.514Z] provisioning config files... [2021-06-09T10:09:41.536Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-961@tmp/config586027567487638140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:09:41.860Z] ---> docker-login.sh [2021-06-09T10:09:41.860Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:09:41.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:09:42.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:09:42.123Z] Configure a credential helper to remove this warning. See [2021-06-09T10:09:42.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:09:42.123Z] [2021-06-09T10:09:42.123Z] Login Succeeded [2021-06-09T10:09:42.123Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:09:42.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:09:42.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:09:42.123Z] Configure a credential helper to remove this warning. See [2021-06-09T10:09:42.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:09:42.123Z] [2021-06-09T10:09:42.123Z] Login Succeeded [2021-06-09T10:09:42.123Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:09:42.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:09:42.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:09:42.385Z] Configure a credential helper to remove this warning. See [2021-06-09T10:09:42.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:09:42.385Z] [2021-06-09T10:09:42.385Z] Login Succeeded [2021-06-09T10:09:42.385Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:09:42.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:09:42.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:09:42.385Z] Configure a credential helper to remove this warning. See [2021-06-09T10:09:42.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:09:42.385Z] [2021-06-09T10:09:42.385Z] Login Succeeded [2021-06-09T10:09:42.385Z] docker.io [2021-06-09T10:09:42.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:09:42.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:09:42.918Z] Configure a credential helper to remove this warning. See [2021-06-09T10:09:42.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:09:42.918Z] [2021-06-09T10:09:42.918Z] Login Succeeded [2021-06-09T10:09:42.918Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:09:42.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:09:43.443Z] + git log --format=format:%s -1 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 [Pipeline] echo [2021-06-09T10:09:43.483Z] GIT_COMMIT: 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-06-09T10:09:43.498Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:09:44.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:09:44.087Z] [2021-06-09T10:09:44.087Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:09:44.412Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:09:44.412Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T10:09:44.412Z] 31603596830f: Pulling fs layer [2021-06-09T10:09:44.412Z] 54011a49482f: Pulling fs layer [2021-06-09T10:09:44.412Z] a6820b24f6d8: Pulling fs layer [2021-06-09T10:09:44.412Z] f581987b2513: Pulling fs layer [2021-06-09T10:09:44.412Z] f581987b2513: Waiting [2021-06-09T10:09:44.412Z] 54011a49482f: Verifying Checksum [2021-06-09T10:09:44.412Z] 54011a49482f: Download complete [2021-06-09T10:09:44.412Z] 31603596830f: Verifying Checksum [2021-06-09T10:09:44.412Z] 31603596830f: Download complete [2021-06-09T10:09:44.673Z] f581987b2513: Verifying Checksum [2021-06-09T10:09:44.673Z] f581987b2513: Download complete [2021-06-09T10:09:44.673Z] a6820b24f6d8: Verifying Checksum [2021-06-09T10:09:44.673Z] a6820b24f6d8: Download complete [2021-06-09T10:09:44.673Z] 31603596830f: Pull complete [2021-06-09T10:09:44.941Z] 54011a49482f: Pull complete [2021-06-09T10:09:45.531Z] a6820b24f6d8: Pull complete [2021-06-09T10:09:45.795Z] f581987b2513: Pull complete [2021-06-09T10:09:45.795Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T10:09:45.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:09:45.795Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T10:09:45.873Z] prd-centos7-docker-4c-2g-8 does not seem to be running inside a container [2021-06-09T10:09:45.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-961 -v /w/workspace/dgexfoundry_device-sdk-go_PR-961:/w/workspace/dgexfoundry_device-sdk-go_PR-961:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-961@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-961@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-09T10:09:47.119Z] $ docker top 66ddc79d601e962ac0c379b07a388a9a1803ae323b57ce7894a448d10c5cf5c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T10:09:47.246Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T10:09:47.246Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T10:09:47.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T10:09:47.351Z] $ docker exec 66ddc79d601e962ac0c379b07a388a9a1803ae323b57ce7894a448d10c5cf5c9 ssh-agent [2021-06-09T10:09:47.460Z] SSH_AUTH_SOCK=/tmp/ssh-9p7RzFIeQc5d/agent.14 [2021-06-09T10:09:47.460Z] SSH_AGENT_PID=20 [2021-06-09T10:09:47.468Z] Running ssh-add (command line suppressed) [2021-06-09T10:09:47.562Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-961@tmp/private_key_1110102596535001577.key (/w/workspace/dgexfoundry_device-sdk-go_PR-961@tmp/private_key_1110102596535001577.key) [2021-06-09T10:09:47.582Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T10:09:47.882Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T10:09:47.894Z] $ docker exec --env ******** --env ******** 66ddc79d601e962ac0c379b07a388a9a1803ae323b57ce7894a448d10c5cf5c9 ssh-agent -k [2021-06-09T10:09:47.992Z] unset SSH_AUTH_SOCK; [2021-06-09T10:09:47.992Z] unset SSH_AGENT_PID; [2021-06-09T10:09:47.992Z] echo Agent pid 20 killed; [2021-06-09T10:09:48.008Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T10:09:48.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T10:09:48.050Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T10:09:48.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T10:09:48.165Z] $ docker exec 66ddc79d601e962ac0c379b07a388a9a1803ae323b57ce7894a448d10c5cf5c9 ssh-agent [2021-06-09T10:09:48.285Z] SSH_AUTH_SOCK=/tmp/ssh-bLR2f32xZh6M/agent.52 [2021-06-09T10:09:48.285Z] SSH_AGENT_PID=58 [2021-06-09T10:09:48.290Z] Running ssh-add (command line suppressed) [2021-06-09T10:09:48.393Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-961@tmp/private_key_8857548715275190196.key (/w/workspace/dgexfoundry_device-sdk-go_PR-961@tmp/private_key_8857548715275190196.key) [2021-06-09T10:09:48.412Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T10:09:48.717Z] + git semver init [2021-06-09T10:09:48.717Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T10:09:48.717Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-961/.git [2021-06-09T10:09:48.717Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-961 [2021-06-09T10:09:48.717Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T10:09:48.717Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T10:09:48.717Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T10:09:48.717Z] # $SEMVER_BRANCH = PR-961 [2021-06-09T10:09:48.717Z] # $SEMVER_TEMP = /tmp/semver-167920401 [2021-06-09T10:09:48.717Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-09T10:09:49.296Z] # '/tmp/semver-167920401' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-961/.semver' [2021-06-09T10:09:49.297Z] # -> Force: false [2021-06-09T10:09:49.297Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-961/.semver [Pipeline] } [2021-06-09T10:09:49.303Z] $ docker exec --env ******** --env ******** 66ddc79d601e962ac0c379b07a388a9a1803ae323b57ce7894a448d10c5cf5c9 ssh-agent -k [2021-06-09T10:09:49.396Z] unset SSH_AUTH_SOCK; [2021-06-09T10:09:49.396Z] unset SSH_AGENT_PID; [2021-06-09T10:09:49.396Z] echo Agent pid 58 killed; [2021-06-09T10:09:49.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T10:09:49.757Z] + git semver [Pipeline] } [2021-06-09T10:09:49.768Z] $ docker stop --time=1 66ddc79d601e962ac0c379b07a388a9a1803ae323b57ce7894a448d10c5cf5c9 [2021-06-09T10:09:51.044Z] $ docker rm -f 66ddc79d601e962ac0c379b07a388a9a1803ae323b57ce7894a448d10c5cf5c9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:09:51.413Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T10:09:51.684Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T10:09:51.689Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-09T10:10:06.995Z] Still waiting to schedule task [2021-06-09T10:10:06.996Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-09T10:10:07.000Z] Still waiting to schedule task [2021-06-09T10:10:07.000Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-09T10:11:55.116Z] Running on prd-centos7-docker-4c-2g-10 in /w/workspace/dgexfoundry_device-sdk-go_PR-961 [Pipeline] { [Pipeline] ws [2021-06-09T10:11:55.136Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-09T10:11:55.259Z] Selected Git installation does not exist. Using Default [2021-06-09T10:11:55.259Z] The recommended git tool is: NONE [2021-06-09T10:11:57.792Z] using credential edgex-jenkins-ssh [2021-06-09T10:11:57.805Z] Cloning the remote Git repository [2021-06-09T10:11:57.708Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:11:57.786Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-06-09T10:11:57.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:11:57.824Z] > git --version # timeout=10 [2021-06-09T10:11:57.835Z] > git --version # 'git version 2.24.4' [2021-06-09T10:11:57.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:11:57.862Z] [INFO] Currently running in a labeled security context [2021-06-09T10:11:57.863Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:11:57.863Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh3725365973767665075.key [2021-06-09T10:11:57.894Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:11:59.147Z] Merging remotes/origin/master commit 970fe7bbdfb7a04cc9eaee047acd468ff9516e4e into PR head commit 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 [2021-06-09T10:11:59.249Z] Merge succeeded, producing 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 [2021-06-09T10:11:59.250Z] Checking out Revision 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 (PR-961) [2021-06-09T10:11:58.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:11:58.679Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:11:58.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:11:58.706Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:11:58.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:11:58.707Z] [INFO] Currently running in a labeled security context [2021-06-09T10:11:58.707Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:11:58.707Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh2299066229931027243.key [2021-06-09T10:11:58.719Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/961/head:refs/remotes/origin/PR-961 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T10:11:59.149Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:11:59.159Z] > git checkout -f 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 # timeout=10 [2021-06-09T10:11:59.197Z] > git remote # timeout=10 [2021-06-09T10:11:59.206Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T10:11:59.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:11:59.220Z] [INFO] Currently running in a labeled security context [2021-06-09T10:11:59.220Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:11:59.220Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh7886337783888949718.key [2021-06-09T10:11:59.226Z] > git merge 970fe7bbdfb7a04cc9eaee047acd468ff9516e4e # timeout=10 [2021-06-09T10:11:59.236Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T10:11:59.249Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:11:59.255Z] > git checkout -f 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 # timeout=10 [2021-06-09T10:12:02.845Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:12:03.945Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:12:04.269Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:12:04.569Z] + sudo service docker restart [2021-06-09T10:12:04.569Z] + true [2021-06-09T10:12:04.569Z] Redirecting to /bin/systemctl restart docker.service [2021-06-09T10:12:10.483Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9 in /w/workspace/dgexfoundry_device-sdk-go_PR-961 [Pipeline] { [Pipeline] ws [2021-06-09T10:12:10.502Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-09T10:12:10.747Z] Selected Git installation does not exist. Using Default [2021-06-09T10:12:10.747Z] The recommended git tool is: NONE [2021-06-09T10:12:15.353Z] using credential edgex-jenkins-ssh [2021-06-09T10:12:15.371Z] Cloning the remote Git repository [2021-06-09T10:12:15.406Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:12:15.561Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-06-09T10:12:15.642Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:12:15.642Z] > git --version # timeout=10 [2021-06-09T10:12:15.700Z] > git --version # 'git version 2.17.1' [2021-06-09T10:12:15.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:12:15.788Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:12:17.552Z] Merging remotes/origin/master commit 970fe7bbdfb7a04cc9eaee047acd468ff9516e4e into PR head commit 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 [2021-06-09T10:12:17.747Z] Merge succeeded, producing 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 [2021-06-09T10:12:17.747Z] Checking out Revision 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 (PR-961) [2021-06-09T10:12:16.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:12:16.943Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:12:16.972Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:12:17.005Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:12:17.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:12:17.019Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/961/head:refs/remotes/origin/PR-961 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T10:12:17.554Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:12:17.569Z] > git checkout -f 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 # timeout=10 [2021-06-09T10:12:17.658Z] > git remote # timeout=10 [2021-06-09T10:12:17.674Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T10:12:17.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:12:17.697Z] > git merge 970fe7bbdfb7a04cc9eaee047acd468ff9516e4e # timeout=10 [2021-06-09T10:12:17.717Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T10:12:17.738Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:12:17.747Z] > git checkout -f 7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 # timeout=10 [2021-06-09T10:12:21.939Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:12:22.807Z] provisioning config files... [2021-06-09T10:12:22.832Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8171377134647983264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:12:23.096Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-06-09T10:12:23.182Z] ---> docker-login.sh [2021-06-09T10:12:23.182Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2021-06-09T10:12:23.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:12:23.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:12:23.455Z] Configure a credential helper to remove this warning. See [2021-06-09T10:12:23.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:12:23.455Z] [2021-06-09T10:12:23.455Z] Login Succeeded [2021-06-09T10:12:23.455Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:12:23.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:12:23.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:12:23.456Z] Configure a credential helper to remove this warning. See [2021-06-09T10:12:23.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:12:23.456Z] [2021-06-09T10:12:23.456Z] Login Succeeded [2021-06-09T10:12:23.549Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:12:23.719Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:12:23.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:12:23.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:12:23.720Z] Configure a credential helper to remove this warning. See [2021-06-09T10:12:23.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:12:23.720Z] [2021-06-09T10:12:23.720Z] Login Succeeded [2021-06-09T10:12:23.720Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:12:23.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:12:23.904Z] + true [2021-06-09T10:12:23.904Z] + sudo service docker restart [2021-06-09T10:12:23.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:12:23.986Z] Configure a credential helper to remove this warning. See [2021-06-09T10:12:23.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:12:23.986Z] [2021-06-09T10:12:23.987Z] Login Succeeded [2021-06-09T10:12:23.987Z] docker.io [2021-06-09T10:12:23.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:12:24.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:12:24.247Z] Configure a credential helper to remove this warning. See [2021-06-09T10:12:24.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:12:24.247Z] [2021-06-09T10:12:24.247Z] Login Succeeded [2021-06-09T10:12:24.247Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:12:24.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T10:12:24.432Z] ========================================================= [2021-06-09T10:12:24.432Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T10:12:24.432Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:12:24.739Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-09T10:12:24.740Z] Sending build context to Docker daemon 2.64MB [2021-06-09T10:12:24.740Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:12:24.740Z] Step 2/8 : FROM ${BASE} [2021-06-09T10:12:24.740Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T10:12:24.740Z] 540db60ca938: Pulling fs layer [2021-06-09T10:12:24.740Z] adcc1eea9eea: Pulling fs layer [2021-06-09T10:12:24.740Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T10:12:24.740Z] 0510c868ecb4: Pulling fs layer [2021-06-09T10:12:24.740Z] afea3b2eda06: Pulling fs layer [2021-06-09T10:12:24.740Z] 7809a108b3ef: Pulling fs layer [2021-06-09T10:12:24.740Z] f706445af74f: Pulling fs layer [2021-06-09T10:12:24.740Z] afea3b2eda06: Waiting [2021-06-09T10:12:24.740Z] 7809a108b3ef: Waiting [2021-06-09T10:12:24.740Z] f706445af74f: Waiting [2021-06-09T10:12:24.740Z] 0510c868ecb4: Waiting [2021-06-09T10:12:25.001Z] 4c4ab2625f07: Download complete [2021-06-09T10:12:25.002Z] adcc1eea9eea: Verifying Checksum [2021-06-09T10:12:25.002Z] adcc1eea9eea: Download complete [2021-06-09T10:12:25.002Z] afea3b2eda06: Verifying Checksum [2021-06-09T10:12:25.002Z] afea3b2eda06: Download complete [2021-06-09T10:12:25.002Z] 7809a108b3ef: Verifying Checksum [2021-06-09T10:12:25.002Z] 7809a108b3ef: Download complete [2021-06-09T10:12:25.002Z] 540db60ca938: Verifying Checksum [2021-06-09T10:12:25.002Z] 540db60ca938: Download complete [2021-06-09T10:12:25.264Z] 540db60ca938: Pull complete [2021-06-09T10:12:25.264Z] adcc1eea9eea: Pull complete [2021-06-09T10:12:25.525Z] 4c4ab2625f07: Pull complete [2021-06-09T10:12:26.913Z] f706445af74f: Verifying Checksum [2021-06-09T10:12:26.913Z] f706445af74f: Download complete [2021-06-09T10:12:27.488Z] 0510c868ecb4: Verifying Checksum [2021-06-09T10:12:27.488Z] 0510c868ecb4: Download complete [2021-06-09T10:12:30.814Z] 0510c868ecb4: Pull complete [2021-06-09T10:12:30.814Z] afea3b2eda06: Pull complete [2021-06-09T10:12:30.814Z] 7809a108b3ef: Pull complete [2021-06-09T10:12:32.217Z] f706445af74f: Pull complete [2021-06-09T10:12:32.217Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T10:12:32.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T10:12:32.217Z] ---> b068be0155e3 [2021-06-09T10:12:32.217Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:12:36.425Z] ---> Running in 1f1003013abc [2021-06-09T10:12:36.425Z] Removing intermediate container 1f1003013abc [2021-06-09T10:12:36.425Z] ---> ff44b8ffed17 [2021-06-09T10:12:36.425Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:12:36.425Z] ---> Running in 7b1ccb3bf1c8 [2021-06-09T10:12:36.425Z] Removing intermediate container 7b1ccb3bf1c8 [2021-06-09T10:12:36.425Z] ---> f3e8ccf99767 [2021-06-09T10:12:36.425Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T10:12:36.688Z] ---> Running in ccc4aaac4cba [2021-06-09T10:12:36.949Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:12:37.898Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:12:38.159Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T10:12:38.159Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T10:12:38.159Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T10:12:38.422Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T10:12:38.422Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T10:12:38.422Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T10:12:38.684Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T10:12:38.684Z] OK: 150 MiB in 46 packages [2021-06-09T10:12:38.950Z] Removing intermediate container ccc4aaac4cba [2021-06-09T10:12:38.950Z] ---> e0b9b9e8f2bb [2021-06-09T10:12:38.950Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T10:12:38.950Z] ---> Running in 418d5827318d [2021-06-09T10:12:39.217Z] Removing intermediate container 418d5827318d [2021-06-09T10:12:39.217Z] ---> 8471423f7ef8 [2021-06-09T10:12:39.217Z] Step 7/8 : COPY . . [2021-06-09T10:12:39.486Z] ---> 3def30cd61c0 [2021-06-09T10:12:39.486Z] Step 8/8 : RUN go mod download [2021-06-09T10:12:39.486Z] ---> Running in 926624d47697 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:12:42.248Z] provisioning config files... [2021-06-09T10:12:42.275Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5290008375899830929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:12:42.664Z] ---> docker-login.sh [2021-06-09T10:12:42.665Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:12:43.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:12:43.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:12:43.927Z] Configure a credential helper to remove this warning. See [2021-06-09T10:12:43.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:12:43.927Z] [2021-06-09T10:12:43.927Z] Login Succeeded [2021-06-09T10:12:43.927Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:12:44.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:12:44.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:12:44.524Z] Configure a credential helper to remove this warning. See [2021-06-09T10:12:44.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:12:44.524Z] [2021-06-09T10:12:44.524Z] Login Succeeded [2021-06-09T10:12:44.524Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:12:44.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:12:45.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:12:45.078Z] Configure a credential helper to remove this warning. See [2021-06-09T10:12:45.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:12:45.078Z] [2021-06-09T10:12:45.078Z] Login Succeeded [2021-06-09T10:12:45.079Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:12:45.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:12:45.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:12:45.629Z] Configure a credential helper to remove this warning. See [2021-06-09T10:12:45.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:12:45.629Z] [2021-06-09T10:12:45.629Z] Login Succeeded [2021-06-09T10:12:45.629Z] docker.io [2021-06-09T10:12:45.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:12:46.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:12:46.501Z] Configure a credential helper to remove this warning. See [2021-06-09T10:12:46.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:12:46.501Z] [2021-06-09T10:12:46.501Z] Login Succeeded [2021-06-09T10:12:46.501Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:12:46.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T10:12:46.814Z] ========================================================= [2021-06-09T10:12:46.814Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T10:12:46.814Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:12:47.336Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-09T10:12:47.932Z] Sending build context to Docker daemon 2.639MB [2021-06-09T10:12:47.932Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:12:47.932Z] Step 2/8 : FROM ${BASE} [2021-06-09T10:12:48.212Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T10:12:48.212Z] 595b0fe564bb: Pulling fs layer [2021-06-09T10:12:48.212Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T10:12:48.212Z] 316046926c0a: Pulling fs layer [2021-06-09T10:12:48.212Z] 4ebd0625c992: Pulling fs layer [2021-06-09T10:12:48.212Z] 207e8628e3a3: Pulling fs layer [2021-06-09T10:12:48.212Z] c791037a9be2: Pulling fs layer [2021-06-09T10:12:48.212Z] ffd874e62e21: Pulling fs layer [2021-06-09T10:12:48.212Z] 207e8628e3a3: Waiting [2021-06-09T10:12:48.212Z] c791037a9be2: Waiting [2021-06-09T10:12:48.212Z] ffd874e62e21: Waiting [2021-06-09T10:12:48.212Z] 4ebd0625c992: Waiting [2021-06-09T10:12:48.212Z] 316046926c0a: Verifying Checksum [2021-06-09T10:12:48.212Z] 316046926c0a: Download complete [2021-06-09T10:12:48.212Z] 7186ed65a4f7: Verifying Checksum [2021-06-09T10:12:48.212Z] 7186ed65a4f7: Download complete [2021-06-09T10:12:48.212Z] 207e8628e3a3: Verifying Checksum [2021-06-09T10:12:48.212Z] 207e8628e3a3: Download complete [2021-06-09T10:12:48.212Z] 595b0fe564bb: Verifying Checksum [2021-06-09T10:12:48.212Z] 595b0fe564bb: Download complete [2021-06-09T10:12:48.212Z] c791037a9be2: Verifying Checksum [2021-06-09T10:12:48.212Z] c791037a9be2: Download complete [2021-06-09T10:12:49.197Z] 595b0fe564bb: Pull complete [2021-06-09T10:12:49.471Z] 7186ed65a4f7: Pull complete [2021-06-09T10:12:50.073Z] 316046926c0a: Pull complete [2021-06-09T10:12:50.348Z] ffd874e62e21: Download complete [2021-06-09T10:12:51.334Z] 4ebd0625c992: Verifying Checksum [2021-06-09T10:12:51.334Z] 4ebd0625c992: Download complete [2021-06-09T10:12:51.737Z] Removing intermediate container 926624d47697 [2021-06-09T10:12:51.737Z] ---> 796254d4e7f9 [2021-06-09T10:12:51.737Z] Successfully built 796254d4e7f9 [2021-06-09T10:12:51.737Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:12:52.052Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T10:12:52.052Z] . [Pipeline] withDockerContainer [2021-06-09T10:12:52.134Z] prd-centos7-docker-4c-2g-10 does not seem to be running inside a container [2021-06-09T10:12:52.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2021-06-09T10:12:52.529Z] $ docker top 1d223c4624941c394342d0d51c730ff6a4868b0d03de9d3fe6ded9098fa67d10 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:12:52.913Z] + go version [2021-06-09T10:12:52.913Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T10:12:52.924Z] $ docker stop --time=1 1d223c4624941c394342d0d51c730ff6a4868b0d03de9d3fe6ded9098fa67d10 [2021-06-09T10:12:54.103Z] $ docker rm -f 1d223c4624941c394342d0d51c730ff6a4868b0d03de9d3fe6ded9098fa67d10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:12:54.738Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T10:12:54.738Z] . [Pipeline] withDockerContainer [2021-06-09T10:12:54.818Z] prd-centos7-docker-4c-2g-10 does not seem to be running inside a container [2021-06-09T10:12:54.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2021-06-09T10:12:55.210Z] $ docker top 58a630130b4a00d9a760d10f0751aae52a6363d6522ccfbef1ac97f2648822f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:12:55.746Z] + go mod tidy [Pipeline] sh [2021-06-09T10:12:56.332Z] + make test [2021-06-09T10:12:56.332Z] go mod tidy [2021-06-09T10:12:56.332Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T10:13:01.508Z] 4ebd0625c992: Pull complete [2021-06-09T10:13:01.686Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T10:13:01.786Z] 207e8628e3a3: Pull complete [2021-06-09T10:13:02.070Z] c791037a9be2: Pull complete [2021-06-09T10:13:06.393Z] ffd874e62e21: Pull complete [2021-06-09T10:13:06.393Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T10:13:06.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T10:13:06.393Z] ---> cfc18b08335c [2021-06-09T10:13:06.393Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:13:07.835Z] ---> Running in bc4624ef1ae9 [2021-06-09T10:13:08.468Z] Removing intermediate container bc4624ef1ae9 [2021-06-09T10:13:08.468Z] ---> b30fe6de504d [2021-06-09T10:13:08.468Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:13:08.468Z] ---> Running in 118fb646a663 [2021-06-09T10:13:11.133Z] Removing intermediate container 118fb646a663 [2021-06-09T10:13:11.133Z] ---> 28daf2b4993e [2021-06-09T10:13:11.133Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T10:13:11.133Z] ---> Running in b0bce59d08e0 [2021-06-09T10:13:12.109Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:13:13.087Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:13:14.068Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T10:13:14.068Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T10:13:14.068Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T10:13:14.068Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T10:13:14.341Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T10:13:14.341Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T10:13:14.341Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T10:13:14.341Z] OK: 139 MiB in 46 packages [2021-06-09T10:13:15.806Z] Removing intermediate container b0bce59d08e0 [2021-06-09T10:13:15.806Z] ---> ae8879dd1cb7 [2021-06-09T10:13:15.806Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T10:13:15.806Z] ---> Running in 42acc72a1106 [2021-06-09T10:13:16.408Z] Removing intermediate container 42acc72a1106 [2021-06-09T10:13:16.408Z] ---> c831c667948c [2021-06-09T10:13:16.408Z] Step 7/8 : COPY . . [2021-06-09T10:13:17.398Z] ---> 7de9da439708 [2021-06-09T10:13:17.398Z] Step 8/8 : RUN go mod download [2021-06-09T10:13:17.670Z] ---> Running in 95a79acead9d [2021-06-09T10:13:23.800Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T10:13:23.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T10:13:23.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T10:13:25.743Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 25.4% of statements [2021-06-09T10:13:25.743Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T10:13:25.743Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.045s coverage: 28.1% of statements [2021-06-09T10:13:26.318Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-06-09T10:13:26.318Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2021-06-09T10:13:26.318Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T10:13:26.318Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T10:13:26.318Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T10:13:27.265Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 29.2% of statements [2021-06-09T10:13:27.265Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T10:13:28.213Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.048s coverage: 83.3% of statements [2021-06-09T10:13:28.213Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T10:13:28.213Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T10:13:28.213Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.073s coverage: 58.0% of statements [2021-06-09T10:13:29.617Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.919s coverage: 89.2% of statements [2021-06-09T10:13:29.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T10:13:29.617Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 5.0% of statements [2021-06-09T10:13:29.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T10:13:29.617Z] GO111MODULE=on go vet ./... [2021-06-09T10:13:44.517Z] Removing intermediate container 95a79acead9d [2021-06-09T10:13:44.518Z] ---> 0a8ec7bed052 [2021-06-09T10:13:44.518Z] Successfully built 0a8ec7bed052 [2021-06-09T10:13:44.518Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:13:44.871Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T10:13:44.871Z] . [Pipeline] withDockerContainer [2021-06-09T10:13:45.154Z] prd-ubuntu18.04-docker-arm64-4c-16g-9 does not seem to be running inside a container [2021-06-09T10:13:45.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat [2021-06-09T10:13:46.862Z] $ docker top 1edaa3f9d63be61434f3a3831ebe4f2fc960fa816dd2fd8ba6ffc816f68a4618 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:13:47.849Z] + go version [2021-06-09T10:13:47.849Z] gofmt -l . [2021-06-09T10:13:47.849Z] [ "`gofmt -l .`" = "" ] [2021-06-09T10:13:47.849Z] ./bin/test-attribution-txt.sh [2021-06-09T10:13:47.849Z] ./bin/test-go-mod-tidy.sh [2021-06-09T10:13:47.849Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T10:13:47.863Z] $ docker stop --time=1 58a630130b4a00d9a760d10f0751aae52a6363d6522ccfbef1ac97f2648822f4 [2021-06-09T10:13:49.600Z] $ docker rm -f 58a630130b4a00d9a760d10f0751aae52a6363d6522ccfbef1ac97f2648822f4 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-06-09T10:13:49.791Z] $ docker stop --time=1 1edaa3f9d63be61434f3a3831ebe4f2fc960fa816dd2fd8ba6ffc816f68a4618 [2021-06-09T10:13:50.042Z] + sudo chown -R jenkins:jenkins . [2021-06-09T10:13:51.643Z] $ docker rm -f 1edaa3f9d63be61434f3a3831ebe4f2fc960fa816dd2fd8ba6ffc816f68a4618 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-06-09T10:13:52.168Z] Stashed 1 file(s) [Pipeline] isUnix [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-09T10:13:52.508Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T10:13:52.508Z] . [Pipeline] withDockerContainer [2021-06-09T10:13:54.790Z] prd-ubuntu18.04-docker-arm64-4c-16g-9 does not seem to be running inside a container [2021-06-09T10:13:54.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat [2021-06-09T10:13:56.454Z] $ docker top 5b34e4dd25f156e82c33c7475b425b8d50097a5eea0ae6a89e17596e0569b482 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-09T10:13:57.070Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T10:13:57.373Z] + ls -al . [2021-06-09T10:13:57.373Z] total 208 [2021-06-09T10:13:57.373Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 9 10:13 . [2021-06-09T10:13:57.373Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 10:11 .. [2021-06-09T10:13:57.373Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 10:11 bin [2021-06-09T10:13:57.373Z] -rw-r--r--. 1 jenkins jenkins 126072 Jun 9 10:13 coverage.out [2021-06-09T10:13:57.373Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 9 10:11 Dockerfile.build [2021-06-09T10:13:57.373Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 9 10:11 .dockerignore [2021-06-09T10:13:57.373Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 9 10:11 example [2021-06-09T10:13:57.373Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 10:12 .git [2021-06-09T10:13:57.373Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 10:11 .github [2021-06-09T10:13:57.373Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 9 10:11 .gitignore [2021-06-09T10:13:57.373Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 9 10:13 go.mod [2021-06-09T10:13:57.373Z] -rw-r--r--. 1 jenkins jenkins 20381 Jun 9 10:12 go.sum [2021-06-09T10:13:57.373Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 9 10:11 internal [2021-06-09T10:13:57.373Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 9 10:11 Jenkinsfile [2021-06-09T10:13:57.373Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 9 10:11 LICENSE [2021-06-09T10:13:57.373Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 9 10:11 Makefile [2021-06-09T10:13:57.373Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 9 10:11 openapi [2021-06-09T10:13:57.373Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 9 10:11 pkg [2021-06-09T10:13:57.373Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 9 10:11 README.md [2021-06-09T10:13:57.373Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 9 10:11 RELEASE-NOTES.txt [2021-06-09T10:13:57.373Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 9 10:11 snap [2021-06-09T10:13:57.373Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 10:09 VERSION [2021-06-09T10:13:57.373Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 9 10:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:13:57.472Z] + go mod tidy [2021-06-09T10:13:57.674Z] + 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=7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 --label arch=amd64 --label version=0.0.0 . [2021-06-09T10:13:57.674Z] Sending build context to Docker daemon 2.767MB [2021-06-09T10:13:57.674Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:13:57.674Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T10:13:57.674Z] ---> 796254d4e7f9 [2021-06-09T10:13:57.674Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T10:13:57.674Z] ---> Running in a00e8c30a2c3 [2021-06-09T10:13:57.940Z] Removing intermediate container a00e8c30a2c3 [2021-06-09T10:13:57.940Z] ---> e74967f6c744 [2021-06-09T10:13:57.940Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:13:57.940Z] ---> Running in 23201e8edd03 [2021-06-09T10:13:57.940Z] Removing intermediate container 23201e8edd03 [2021-06-09T10:13:57.940Z] ---> f982ecf08df4 [2021-06-09T10:13:57.940Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:13:57.940Z] ---> Running in 3c3004e91a3c [Pipeline] sh [2021-06-09T10:13:58.521Z] Removing intermediate container 3c3004e91a3c [2021-06-09T10:13:58.521Z] ---> c0b2405c3602 [2021-06-09T10:13:58.521Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T10:13:58.521Z] ---> Running in 10d3fba12e01 [2021-06-09T10:13:58.730Z] + make test [2021-06-09T10:13:58.730Z] go mod tidy [2021-06-09T10:13:58.782Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:13:59.331Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T10:13:59.352Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:14:00.738Z] OK: 150 MiB in 46 packages [2021-06-09T10:14:00.738Z] Removing intermediate container 10d3fba12e01 [2021-06-09T10:14:00.738Z] ---> 027903ffcb88 [2021-06-09T10:14:00.738Z] Step 7/23 : COPY . . [2021-06-09T10:14:00.998Z] ---> c8336ad92fc7 [2021-06-09T10:14:00.998Z] Step 8/23 : RUN go mod download [2021-06-09T10:14:00.998Z] ---> Running in 11c176854953 [2021-06-09T10:14:01.580Z] Removing intermediate container 11c176854953 [2021-06-09T10:14:01.580Z] ---> e498348d7c9a [2021-06-09T10:14:01.580Z] Step 9/23 : RUN make build [2021-06-09T10:14:01.580Z] ---> Running in dc7013e74cee [2021-06-09T10:14:01.852Z] go mod tidy [2021-06-09T10:14:02.119Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-09T10:14:12.235Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T10:14:12.806Z] Removing intermediate container dc7013e74cee [2021-06-09T10:14:12.806Z] ---> fa34ecd189ad [2021-06-09T10:14:12.806Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T10:14:13.377Z] 3.12: Pulling from library/alpine [2021-06-09T10:14:13.638Z] 339de151aab4: Pulling fs layer [2021-06-09T10:14:13.638Z] 339de151aab4: Verifying Checksum [2021-06-09T10:14:13.638Z] 339de151aab4: Download complete [2021-06-09T10:14:13.912Z] 339de151aab4: Pull complete [2021-06-09T10:14:13.912Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T10:14:13.912Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T10:14:13.912Z] ---> 13621d1b12d4 [2021-06-09T10:14:13.912Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:14:13.912Z] ---> Running in e948eb8c4b47 [2021-06-09T10:14:14.180Z] Removing intermediate container e948eb8c4b47 [2021-06-09T10:14:14.180Z] ---> 8b0fb84b8157 [2021-06-09T10:14:14.180Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:14:14.180Z] ---> Running in 1dd1010654a3 [2021-06-09T10:14:14.755Z] Removing intermediate container 1dd1010654a3 [2021-06-09T10:14:14.755Z] ---> e7a0c7062871 [2021-06-09T10:14:14.755Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T10:14:14.755Z] ---> Running in 894dd1aafa68 [2021-06-09T10:14:14.755Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:14:15.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:14:15.958Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T10:14:15.958Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T10:14:15.958Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T10:14:16.898Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T10:14:16.898Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T10:14:16.898Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T10:14:16.898Z] OK: 8 MiB in 19 packages [2021-06-09T10:14:17.161Z] Removing intermediate container 894dd1aafa68 [2021-06-09T10:14:17.161Z] ---> 36bf40385203 [2021-06-09T10:14:17.161Z] Step 14/23 : WORKDIR / [2021-06-09T10:14:17.422Z] ---> Running in 94f3d436fab8 [2021-06-09T10:14:17.422Z] Removing intermediate container 94f3d436fab8 [2021-06-09T10:14:17.422Z] ---> b99ca113f08e [2021-06-09T10:14:17.422Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T10:14:17.422Z] ---> 964cdf4022c4 [2021-06-09T10:14:17.422Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T10:14:17.994Z] ---> 518017c4a518 [2021-06-09T10:14:17.994Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T10:14:17.994Z] ---> c3417aa23f87 [2021-06-09T10:14:17.994Z] Step 18/23 : EXPOSE 59999 [2021-06-09T10:14:17.994Z] ---> Running in 9e40f10f02b9 [2021-06-09T10:14:18.254Z] Removing intermediate container 9e40f10f02b9 [2021-06-09T10:14:18.254Z] ---> 8cf5498c1b8a [2021-06-09T10:14:18.254Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T10:14:18.254Z] ---> Running in 3d7a590ca1a4 [2021-06-09T10:14:18.254Z] Removing intermediate container 3d7a590ca1a4 [2021-06-09T10:14:18.254Z] ---> 1e89cc519058 [2021-06-09T10:14:18.254Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T10:14:18.254Z] ---> Running in e71866f2d791 [2021-06-09T10:14:18.517Z] Removing intermediate container e71866f2d791 [2021-06-09T10:14:18.517Z] ---> 88d87b03814b [2021-06-09T10:14:18.517Z] Step 21/23 : LABEL arch=amd64 [2021-06-09T10:14:18.517Z] ---> Running in f5965f277449 [2021-06-09T10:14:18.517Z] Removing intermediate container f5965f277449 [2021-06-09T10:14:18.517Z] ---> e7945a9766db [2021-06-09T10:14:18.517Z] Step 22/23 : LABEL git_sha=7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 [2021-06-09T10:14:18.517Z] ---> Running in 6d27a9c0ee66 [2021-06-09T10:14:18.517Z] Removing intermediate container 6d27a9c0ee66 [2021-06-09T10:14:18.517Z] ---> 9197a8583d6c [2021-06-09T10:14:18.517Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T10:14:18.779Z] ---> Running in bf650739e09a [2021-06-09T10:14:18.779Z] Removing intermediate container bf650739e09a [2021-06-09T10:14:18.779Z] ---> f75f7db5a6a8 [2021-06-09T10:14:18.779Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T10:14:18.779Z] Successfully built f75f7db5a6a8 [2021-06-09T10:14:18.779Z] 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-06-09T10:14:19.588Z] ---> job-cost.sh [2021-06-09T10:14:19.589Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7enX [2021-06-09T10:14:21.511Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T10:14:29.609Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T10:14:41.885Z] lf-activate-venv(): INFO: Adding /tmp/venv-7enX/bin to PATH [2021-06-09T10:14:41.885Z] INFO: No Stack... [2021-06-09T10:14:41.885Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T10:14:41.885Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T10:14:42.185Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-06-09T10:14:42.185Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T10:14:42.217Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-961-3-stack-cost] [2021-06-09T10:14:42.226Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-961-3-stack-cost] did not exist. Created. [2021-06-09T10:14:42.226Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-961-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T10:14:42.558Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T10:14:42.686Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T10:14:42.706Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-961-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-09T10:15:29.606Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T10:15:29.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T10:15:29.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T10:15:36.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.339s coverage: 25.4% of statements [2021-06-09T10:15:36.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T10:15:36.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.241s coverage: 28.1% of statements [2021-06-09T10:15:36.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.282s coverage: 78.9% of statements [2021-06-09T10:15:36.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.288s coverage: 9.0% of statements [2021-06-09T10:15:36.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T10:15:36.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T10:15:36.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T10:15:38.330Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.275s coverage: 29.2% of statements [2021-06-09T10:15:38.330Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T10:15:39.335Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.205s coverage: 83.3% of statements [2021-06-09T10:15:39.335Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T10:15:39.335Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T10:15:40.339Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.405s coverage: 58.0% of statements [2021-06-09T10:15:42.973Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.175s coverage: 89.2% of statements [2021-06-09T10:15:42.973Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T10:15:42.973Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.169s coverage: 5.0% of statements [2021-06-09T10:15:42.973Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T10:15:43.249Z] GO111MODULE=on go vet ./... [2021-06-09T10:16:39.831Z] gofmt -l . [2021-06-09T10:16:39.832Z] [ "`gofmt -l .`" = "" ] [2021-06-09T10:16:39.832Z] ./bin/test-attribution-txt.sh [2021-06-09T10:16:39.832Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T10:16:39.850Z] $ docker stop --time=1 5b34e4dd25f156e82c33c7475b425b8d50097a5eea0ae6a89e17596e0569b482 [2021-06-09T10:16:43.202Z] $ docker rm -f 5b34e4dd25f156e82c33c7475b425b8d50097a5eea0ae6a89e17596e0569b482 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:16:44.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T10:16:44.374Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T10:16:44.977Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:16:45.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T10:16:45.960Z] + ls -al . [2021-06-09T10:16:45.961Z] total 244 [2021-06-09T10:16:45.961Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 10:16 . [2021-06-09T10:16:45.961Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:12 .. [2021-06-09T10:16:45.961Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 9 10:12 .dockerignore [2021-06-09T10:16:45.961Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 10:12 .git [2021-06-09T10:16:45.961Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 10:12 .github [2021-06-09T10:16:45.961Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 9 10:12 .gitignore [2021-06-09T10:16:45.961Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 9 10:12 Dockerfile.build [2021-06-09T10:16:45.961Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 9 10:12 Jenkinsfile [2021-06-09T10:16:45.961Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 9 10:12 LICENSE [2021-06-09T10:16:45.961Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 9 10:12 Makefile [2021-06-09T10:16:45.961Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 9 10:12 README.md [2021-06-09T10:16:45.961Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 9 10:12 RELEASE-NOTES.txt [2021-06-09T10:16:45.961Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 10:09 VERSION [2021-06-09T10:16:45.961Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 10:12 bin [2021-06-09T10:16:45.961Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 9 10:15 coverage.out [2021-06-09T10:16:45.961Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 10:12 example [2021-06-09T10:16:45.961Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 9 10:16 go.mod [2021-06-09T10:16:45.961Z] -rw-r--r-- 1 jenkins jenkins 20381 Jun 9 10:13 go.sum [2021-06-09T10:16:45.961Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 9 10:12 internal [2021-06-09T10:16:45.961Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:12 openapi [2021-06-09T10:16:45.961Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 10:12 pkg [2021-06-09T10:16:45.961Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:12 snap [2021-06-09T10:16:45.961Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 9 10:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:16:46.330Z] + 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=7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 --label arch=arm64 --label version=0.0.0 . [2021-06-09T10:16:46.939Z] Sending build context to Docker daemon 2.766MB [2021-06-09T10:16:46.939Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:16:46.939Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T10:16:46.939Z] ---> 0a8ec7bed052 [2021-06-09T10:16:46.939Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T10:16:47.211Z] ---> Running in b3406dcbdd4a [2021-06-09T10:16:47.813Z] Removing intermediate container b3406dcbdd4a [2021-06-09T10:16:47.814Z] ---> 5add24cdc46b [2021-06-09T10:16:47.814Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:16:47.814Z] ---> Running in 8c0f6cd1005d [2021-06-09T10:16:48.412Z] Removing intermediate container 8c0f6cd1005d [2021-06-09T10:16:48.413Z] ---> 657b546c8674 [2021-06-09T10:16:48.413Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:16:48.413Z] ---> Running in 47ef387fe7ac [2021-06-09T10:16:50.387Z] Removing intermediate container 47ef387fe7ac [2021-06-09T10:16:50.387Z] ---> e44b90bd503b [2021-06-09T10:16:50.387Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T10:16:50.662Z] ---> Running in d63692bd4b72 [2021-06-09T10:16:52.097Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:16:52.688Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:16:53.659Z] OK: 139 MiB in 46 packages [2021-06-09T10:16:54.642Z] Removing intermediate container d63692bd4b72 [2021-06-09T10:16:54.643Z] ---> ae364d01f152 [2021-06-09T10:16:54.643Z] Step 7/23 : COPY . . [2021-06-09T10:16:56.089Z] ---> 99e752d4dbd1 [2021-06-09T10:16:56.089Z] Step 8/23 : RUN go mod download [2021-06-09T10:16:56.364Z] ---> Running in 5d2931b93ba2 [2021-06-09T10:16:58.989Z] Removing intermediate container 5d2931b93ba2 [2021-06-09T10:16:58.989Z] ---> cd6ee74b9ee1 [2021-06-09T10:16:58.989Z] Step 9/23 : RUN make build [2021-06-09T10:16:58.989Z] ---> Running in 25b034ebd86c [2021-06-09T10:16:59.969Z] go mod tidy [2021-06-09T10:17:00.568Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-09T10:17:32.966Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T10:17:34.950Z] Removing intermediate container 25b034ebd86c [2021-06-09T10:17:34.950Z] ---> 752f0f3acdaf [2021-06-09T10:17:34.950Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T10:17:35.545Z] 3.12: Pulling from library/alpine [2021-06-09T10:17:35.820Z] d2f70382dc9a: Pulling fs layer [2021-06-09T10:17:35.820Z] d2f70382dc9a: Verifying Checksum [2021-06-09T10:17:35.820Z] d2f70382dc9a: Download complete [2021-06-09T10:17:36.416Z] d2f70382dc9a: Pull complete [2021-06-09T10:17:36.689Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T10:17:36.689Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T10:17:36.689Z] ---> 9852663dfa18 [2021-06-09T10:17:36.689Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:17:36.963Z] ---> Running in ab6791a8ca98 [2021-06-09T10:17:37.561Z] Removing intermediate container ab6791a8ca98 [2021-06-09T10:17:37.561Z] ---> 2f1acb3bcbcd [2021-06-09T10:17:37.561Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:17:37.561Z] ---> Running in f394121c8123 [2021-06-09T10:17:39.538Z] Removing intermediate container f394121c8123 [2021-06-09T10:17:39.538Z] ---> 2ecc4a65a322 [2021-06-09T10:17:39.538Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T10:17:39.538Z] ---> Running in 3ca6bfd1c272 [2021-06-09T10:17:40.516Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:17:41.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:17:42.090Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T10:17:42.090Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T10:17:42.090Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T10:17:42.363Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T10:17:42.635Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T10:17:42.635Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T10:17:42.635Z] OK: 8 MiB in 19 packages [2021-06-09T10:17:44.072Z] Removing intermediate container 3ca6bfd1c272 [2021-06-09T10:17:44.072Z] ---> ec3e4f580422 [2021-06-09T10:17:44.072Z] Step 14/23 : WORKDIR / [2021-06-09T10:17:44.072Z] ---> Running in 8343cecb2700 [2021-06-09T10:17:44.345Z] Removing intermediate container 8343cecb2700 [2021-06-09T10:17:44.345Z] ---> d078c2df129e [2021-06-09T10:17:44.345Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T10:17:45.324Z] ---> ac1b7cabfa2f [2021-06-09T10:17:45.324Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T10:17:46.308Z] ---> 492020fe19f8 [2021-06-09T10:17:46.308Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T10:17:46.911Z] ---> 02ffc24cb9ea [2021-06-09T10:17:46.911Z] Step 18/23 : EXPOSE 59999 [2021-06-09T10:17:47.185Z] ---> Running in 356abf2a22d3 [2021-06-09T10:17:47.459Z] Removing intermediate container 356abf2a22d3 [2021-06-09T10:17:47.459Z] ---> 902000f69643 [2021-06-09T10:17:47.459Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T10:17:47.735Z] ---> Running in a6a888a3794e [2021-06-09T10:17:48.008Z] Removing intermediate container a6a888a3794e [2021-06-09T10:17:48.008Z] ---> 80884ff150fa [2021-06-09T10:17:48.008Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T10:17:48.283Z] ---> Running in 99911e16b07e [2021-06-09T10:17:48.882Z] Removing intermediate container 99911e16b07e [2021-06-09T10:17:48.883Z] ---> 856665d84e86 [2021-06-09T10:17:48.883Z] Step 21/23 : LABEL arch=arm64 [2021-06-09T10:17:48.883Z] ---> Running in 8f95a310ecd5 [2021-06-09T10:17:49.479Z] Removing intermediate container 8f95a310ecd5 [2021-06-09T10:17:49.479Z] ---> 2627a1aad05b [2021-06-09T10:17:49.479Z] Step 22/23 : LABEL git_sha=7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 [2021-06-09T10:17:49.479Z] ---> Running in 01bf040fce23 [2021-06-09T10:17:50.078Z] Removing intermediate container 01bf040fce23 [2021-06-09T10:17:50.078Z] ---> f2d5802fd4aa [2021-06-09T10:17:50.078Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T10:17:50.078Z] ---> Running in e13c98e656c2 [2021-06-09T10:17:50.674Z] Removing intermediate container e13c98e656c2 [2021-06-09T10:17:50.674Z] ---> 8866fabb516e [2021-06-09T10:17:50.674Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T10:17:50.674Z] Successfully built 8866fabb516e [2021-06-09T10:17:50.674Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:17:51.358Z] ---> job-cost.sh [2021-06-09T10:17:51.358Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Rz3K [2021-06-09T10:18:30.335Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T10:19:52.155Z] lf-activate-venv(): INFO: Adding /tmp/venv-Rz3K/bin to PATH [2021-06-09T10:19:52.155Z] INFO: No Stack... [2021-06-09T10:19:52.155Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T10:19:52.155Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T10:19:52.506Z] + + cutcat -d, /w/workspace/device-sdk-go/3/archives/cost.csv -f6 [2021-06-09T10:19:52.507Z] [Pipeline] lock [2021-06-09T10:19:52.571Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-961-3-stack-cost] [2021-06-09T10:19:52.582Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-961-3-stack-cost] did not exist. Created. [2021-06-09T10:19:52.582Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-961-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T10:19:52.967Z] /w/workspace/device-sdk-go/3@tmp/durable-726e8108/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-726e8108/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T10:19:53.320Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T10:19:53.354Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T10:19:53.515Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T10:19:53.533Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-961-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-09T10:19:54.764Z] provisioning config files... [2021-06-09T10:19:54.774Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-961@tmp/config705763718129841838tmp [Pipeline] { [Pipeline] sh [2021-06-09T10:19:55.099Z] + set +x [2021-06-09T10:19:55.099Z] + curl -s https://codecov.io/bash [2021-06-09T10:19:55.099Z] + bash -s -- [2021-06-09T10:19:55.363Z] [2021-06-09T10:19:55.363Z] _____ _ [2021-06-09T10:19:55.363Z] / ____| | | [2021-06-09T10:19:55.363Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T10:19:55.363Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T10:19:55.363Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T10:19:55.363Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T10:19:55.363Z] Bash-1.0.3 [2021-06-09T10:19:55.363Z] [2021-06-09T10:19:55.363Z] [2021-06-09T10:19:55.363Z] ==> git version 2.24.4 found [2021-06-09T10:19:55.363Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-09T10:19:55.363Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T10:19:55.363Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T10:19:55.363Z] ==> Jenkins CI detected. [2021-06-09T10:19:55.363Z] project root: . [2021-06-09T10:19:55.363Z] --> token set from env [2021-06-09T10:19:55.363Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T10:19:55.363Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T10:19:55.363Z] ==> Python coveragepy not found [2021-06-09T10:19:55.363Z] ==> Searching for coverage reports in: [2021-06-09T10:19:55.363Z] + . [2021-06-09T10:19:55.363Z] -> Found 1 reports [2021-06-09T10:19:55.364Z] ==> Detecting git/mercurial file structure [2021-06-09T10:19:55.364Z] ==> Reading reports [2021-06-09T10:19:55.364Z] + ./coverage.out bytes=126071 [2021-06-09T10:19:55.364Z] ==> Appending adjustments [2021-06-09T10:19:55.364Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T10:19:55.627Z] + Found adjustments [2021-06-09T10:19:55.627Z] ==> Gzipping contents [2021-06-09T10:19:55.627Z] 20K /tmp/codecov.mocdP7.gz [2021-06-09T10:19:55.627Z] ==> Uploading reports [2021-06-09T10:19:55.627Z] url: https://codecov.io [2021-06-09T10:19:55.627Z] query: branch=PR-961&commit=7845c7322d64031a4c6b6b27dd2d2b2d3caabf71&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-961%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=961&job=&cmd_args= [2021-06-09T10:19:55.628Z] -> Pinging Codecov [2021-06-09T10:19:55.628Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-961&commit=7845c7322d64031a4c6b6b27dd2d2b2d3caabf71&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-961%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=961&job=&cmd_args= [2021-06-09T10:19:56.199Z] -> Uploading to [2021-06-09T10:19:56.199Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/7E55EF52A471D76F132DFD9A03CDDE97/7845c7322d64031a4c6b6b27dd2d2b2d3caabf71/d1f6346a-5d44-4628-a1c0-071a3a23db86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T101955Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=153b553abf4a9e7a0b9de601433486f8a2451cc476c1542969e104c6a75b6713 [2021-06-09T10:19:56.199Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T10:19:56.199Z] Dload Upload Total Spent Left Speed [2021-06-09T10:19:56.461Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16438 0 0 100 16438 0 37274 --:--:-- --:--:-- --:--:-- 37359 [2021-06-09T10:19:56.461Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7845c7322d64031a4c6b6b27dd2d2b2d3caabf71 [Pipeline] } [2021-06-09T10:19:56.475Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:19:58.357Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:19:58.931Z] ---> package-listing.sh [2021-06-09T10:19:58.931Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T10:19:58.931Z] ++ facter osfamily [2021-06-09T10:19:59.203Z] + OS_FAMILY=redhat [2021-06-09T10:19:59.203Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-961 [2021-06-09T10:19:59.203Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T10:19:59.203Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T10:19:59.203Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T10:19:59.203Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T10:19:59.203Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-961 ']' [2021-06-09T10:19:59.203Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T10:19:59.203Z] + case "${OS_FAMILY}" in [2021-06-09T10:19:59.203Z] + rpm -qa [2021-06-09T10:19:59.203Z] + sort [2021-06-09T10:19:59.779Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T10:19:59.779Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T10:19:59.779Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T10:19:59.779Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-961 ']' [2021-06-09T10:19:59.779Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-961/archives/ [2021-06-09T10:19:59.779Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-961/archives/ [Pipeline] echo [2021-06-09T10:19:59.792Z] 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-961/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T10:20:00.075Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:20:00.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:20:00.642Z] [2021-06-09T10:20:00.642Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:20:00.960Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:20:00.961Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T10:20:00.961Z] df20fa9351a1: Pulling fs layer [2021-06-09T10:20:00.961Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T10:20:00.961Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T10:20:00.961Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T10:20:00.961Z] 93b61091891f: Pulling fs layer [2021-06-09T10:20:00.961Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T10:20:00.961Z] 5e14af77c1be: Pulling fs layer [2021-06-09T10:20:00.961Z] 01666e4c0597: Pulling fs layer [2021-06-09T10:20:00.961Z] aa168da1d23b: Pulling fs layer [2021-06-09T10:20:00.961Z] 46f8f816bc3b: Waiting [2021-06-09T10:20:00.961Z] 93b61091891f: Waiting [2021-06-09T10:20:00.961Z] 93b9cdb0e59b: Waiting [2021-06-09T10:20:00.961Z] 5e14af77c1be: Waiting [2021-06-09T10:20:00.961Z] 01666e4c0597: Waiting [2021-06-09T10:20:00.961Z] aa168da1d23b: Waiting [2021-06-09T10:20:00.961Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T10:20:00.961Z] 36b3adc4ff6f: Download complete [2021-06-09T10:20:00.961Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T10:20:00.961Z] 46f8f816bc3b: Download complete [2021-06-09T10:20:00.961Z] df20fa9351a1: Verifying Checksum [2021-06-09T10:20:00.961Z] df20fa9351a1: Download complete [2021-06-09T10:20:01.225Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T10:20:01.225Z] 93b9cdb0e59b: Download complete [2021-06-09T10:20:01.225Z] 5e14af77c1be: Verifying Checksum [2021-06-09T10:20:01.225Z] 5e14af77c1be: Download complete [2021-06-09T10:20:01.225Z] 01666e4c0597: Verifying Checksum [2021-06-09T10:20:01.225Z] 01666e4c0597: Download complete [2021-06-09T10:20:01.225Z] 93b61091891f: Verifying Checksum [2021-06-09T10:20:01.225Z] 93b61091891f: Download complete [2021-06-09T10:20:01.225Z] df20fa9351a1: Pull complete [2021-06-09T10:20:01.225Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T10:20:01.225Z] 8ad3a11d3b57: Download complete [2021-06-09T10:20:01.495Z] 36b3adc4ff6f: Pull complete [2021-06-09T10:20:02.081Z] 8ad3a11d3b57: Pull complete [2021-06-09T10:20:02.081Z] 46f8f816bc3b: Pull complete [2021-06-09T10:20:02.341Z] 93b61091891f: Pull complete [2021-06-09T10:20:02.341Z] 93b9cdb0e59b: Pull complete [2021-06-09T10:20:02.602Z] 5e14af77c1be: Pull complete [2021-06-09T10:20:02.602Z] 01666e4c0597: Pull complete [2021-06-09T10:20:03.548Z] aa168da1d23b: Verifying Checksum [2021-06-09T10:20:03.548Z] aa168da1d23b: Download complete [2021-06-09T10:20:07.793Z] aa168da1d23b: Pull complete [2021-06-09T10:20:07.793Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T10:20:07.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:20:07.793Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T10:20:07.874Z] prd-centos7-docker-4c-2g-8 does not seem to be running inside a container [2021-06-09T10:20:07.923Z] $ 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-961/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-961 -v /w/workspace/dgexfoundry_device-sdk-go_PR-961:/w/workspace/dgexfoundry_device-sdk-go_PR-961:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-961@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-961@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-09T10:20:10.197Z] $ docker top e58c7844d35a3eaa674c3d114204f8070df37178d75c39cb2b89c06d17225f0e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:20:10.594Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T10:20:10.891Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T10:20:11.190Z] + ls /var/log/sa-host [2021-06-09T10:20:11.190Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T10:20:11.190Z] file_magic: OK [2021-06-09T10:20:11.190Z] HZ: Using current value: 100 [2021-06-09T10:20:11.190Z] file_header: OK [2021-06-09T10:20:11.190Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-09T10:20:11.190Z] Statistics: [2021-06-09T10:20:11.190Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T10:20:11.190Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T10:20:11.190Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T10:20:11.190Z] file_magic: OK [2021-06-09T10:20:11.190Z] HZ: Using current value: 100 [2021-06-09T10:20:11.190Z] file_header: OK [2021-06-09T10:20:11.190Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-09T10:20:11.190Z] Statistics: [2021-06-09T10:20:11.190Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T10:20:11.190Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:20:11.426Z] provisioning config files... [2021-06-09T10:20:11.442Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-961@tmp/config6586634919686063416tmp [Pipeline] { [Pipeline] echo [2021-06-09T10:20:11.465Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:20:11.760Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T10:20:11.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:20:12.135Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T10:20:12.145Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:20:12.455Z] ---> sudo-logs.sh [2021-06-09T10:20:12.455Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T10:20:12.500Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:20:12.796Z] ---> job-cost.sh [2021-06-09T10:20:12.796Z] lf-activate-venv: SKIPPING [2021-06-09T10:20:12.796Z] DEBUG: total: 0.18000000715255737 [2021-06-09T10:20:12.796Z] INFO: Retrieving Stack Cost... [2021-06-09T10:20:13.738Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T10:20:14.000Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T10:20:14.018Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:20:14.318Z] ---> logs-deploy.sh [2021-06-09T10:20:14.318Z] lf-activate-venv: SKIPPING [2021-06-09T10:20:14.318Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-961/3 [2021-06-09T10:20:14.318Z] INFO: archiving workspace using pattern(s): [2021-06-09T10:20:15.262Z] Archives upload complete. [2021-06-09T10:20:15.262Z] INFO: archiving logs to Nexus