Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9b4d03481ff393d24f9800b7af4a8231e2ff3b04+ab601dc3bfb73a4a01501692ac3fc9071936c5f4 (a92de6d8ad5e1947df59c4547c12356c77da08e7) 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-ssh3146569571294419049.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh5015146307583443185.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 6a41506d72e8e131afc862d141935157bee59f41 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-971/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-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh321817192001395550.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh7853620728720876910.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-971/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-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6859895162452800847.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 Running on prd-centos7-docker-4c-2g-866 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [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-971 # 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-971@tmp/jenkins-gitclient-ssh388042724265252275.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit ab601dc3bfb73a4a01501692ac3fc9071936c5f4 into PR head commit 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 > 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-971@tmp/jenkins-gitclient-ssh4210933758610704180.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 Merge succeeded, producing 096f1b423498777b5a27bb35077ee60e2e09159a Checking out Revision 096f1b423498777b5a27bb35077ee60e2e09159a (PR-971) > 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-971@tmp/jenkins-gitclient-ssh5871698103143224631.key > git merge ab601dc3bfb73a4a01501692ac3fc9071936c5f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 096f1b423498777b5a27bb35077ee60e2e09159a # timeout=10 Commit message: "Merge commit 'ab601dc3bfb73a4a01501692ac3fc9071936c5f4' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk f39f95200854f0cf558984a7d00ae0e3ef99ca3a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-23T06:42:35.960Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-23T06:42:36.052Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-23T06:42:36.088Z] ========================================================= [2021-06-23T06:42:36.088Z] EdgeX Global Pipelines Version Info [2021-06-23T06:42:36.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:42:37.544Z] ------------------- [2021-06-23T06:42:37.545Z] stable info: [2021-06-23T06:42:37.545Z] ------------------- [2021-06-23T06:42:37.545Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-23T06:42:37.545Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-23T06:42:37.545Z] Message: update stable to v1.0.195 [2021-06-23T06:42:38.495Z] ------------------- [2021-06-23T06:42:38.495Z] experimental info: [2021-06-23T06:42:38.495Z] ------------------- [2021-06-23T06:42:38.495Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-23T06:42:38.495Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-23T06:42:38.495Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-23T06:42:38.643Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-23T06:42:38.669Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-23T06:42:38.695Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-23T06:42:38.720Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-23T06:42:38.753Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-23T06:42:38.787Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-23T06:42:38.816Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-23T06:42:38.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-23T06:42:38.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-23T06:42:38.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-23T06:42:38.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-23T06:42:38.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-23T06:42:39.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-23T06:42:39.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-23T06:42:39.063Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-23T06:42:39.088Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T06:42:39.114Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T06:42:39.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T06:42:39.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-23T06:42:39.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-23T06:42:39.227Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-23T06:42:39.253Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-23T06:42:39.304Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-23T06:42:39.329Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-23T06:42:39.355Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-23T06:42:39.382Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-23T06:42:39.407Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-23T06:42:39.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-23T06:42:39.466Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-23T06:42:39.501Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 096f1b423498777b5a27bb35077ee60e2e09159a [Pipeline] echo [2021-06-23T06:42:39.527Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 096f1b4 [Pipeline] echo [2021-06-23T06:42:39.553Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T06:42:39.662Z] provisioning config files... [2021-06-23T06:42:39.679Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config4182406692900401905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:42:40.013Z] ---> docker-login.sh [2021-06-23T06:42:40.013Z] nexus3.edgexfoundry.org:10001 [2021-06-23T06:42:40.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:42:40.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:42:40.544Z] Configure a credential helper to remove this warning. See [2021-06-23T06:42:40.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:42:40.544Z] [2021-06-23T06:42:40.544Z] Login Succeeded [2021-06-23T06:42:40.544Z] nexus3.edgexfoundry.org:10002 [2021-06-23T06:42:40.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:42:40.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:42:40.544Z] Configure a credential helper to remove this warning. See [2021-06-23T06:42:40.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:42:40.544Z] [2021-06-23T06:42:40.544Z] Login Succeeded [2021-06-23T06:42:40.544Z] nexus3.edgexfoundry.org:10003 [2021-06-23T06:42:40.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:42:40.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:42:40.811Z] Configure a credential helper to remove this warning. See [2021-06-23T06:42:40.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:42:40.811Z] [2021-06-23T06:42:40.811Z] Login Succeeded [2021-06-23T06:42:40.811Z] nexus3.edgexfoundry.org:10004 [2021-06-23T06:42:40.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:42:40.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:42:40.811Z] Configure a credential helper to remove this warning. See [2021-06-23T06:42:40.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:42:40.811Z] [2021-06-23T06:42:40.811Z] Login Succeeded [2021-06-23T06:42:40.811Z] docker.io [2021-06-23T06:42:41.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:42:41.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:42:41.340Z] Configure a credential helper to remove this warning. See [2021-06-23T06:42:41.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:42:41.341Z] [2021-06-23T06:42:41.341Z] Login Succeeded [2021-06-23T06:42:41.341Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T06:42:41.350Z] 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-23T06:42:41.903Z] + git log --format=format:%s -1 096f1b423498777b5a27bb35077ee60e2e09159a [Pipeline] echo [2021-06-23T06:42:41.947Z] GIT_COMMIT: 096f1b423498777b5a27bb35077ee60e2e09159a, Commit Message: Merge commit 'ab601dc3bfb73a4a01501692ac3fc9071936c5f4' into HEAD [Pipeline] echo [2021-06-23T06:42:41.961Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:42:42.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T06:42:42.742Z] [2021-06-23T06:42:42.742Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:42:43.069Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T06:42:43.069Z] latest: Pulling from edgex-devops/git-semver [2021-06-23T06:42:43.069Z] 31603596830f: Pulling fs layer [2021-06-23T06:42:43.069Z] 54011a49482f: Pulling fs layer [2021-06-23T06:42:43.069Z] a6820b24f6d8: Pulling fs layer [2021-06-23T06:42:43.069Z] f581987b2513: Pulling fs layer [2021-06-23T06:42:43.069Z] f581987b2513: Waiting [2021-06-23T06:42:43.069Z] 54011a49482f: Verifying Checksum [2021-06-23T06:42:43.069Z] 54011a49482f: Download complete [2021-06-23T06:42:43.335Z] 31603596830f: Verifying Checksum [2021-06-23T06:42:43.335Z] 31603596830f: Download complete [2021-06-23T06:42:43.335Z] f581987b2513: Verifying Checksum [2021-06-23T06:42:43.335Z] f581987b2513: Download complete [2021-06-23T06:42:43.335Z] a6820b24f6d8: Verifying Checksum [2021-06-23T06:42:43.335Z] a6820b24f6d8: Download complete [2021-06-23T06:42:43.335Z] 31603596830f: Pull complete [2021-06-23T06:42:43.598Z] 54011a49482f: Pull complete [2021-06-23T06:42:44.177Z] a6820b24f6d8: Pull complete [2021-06-23T06:42:44.440Z] f581987b2513: Pull complete [2021-06-23T06:42:44.440Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-23T06:42:44.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T06:42:44.440Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-23T06:42:44.538Z] prd-centos7-docker-4c-2g-866 does not seem to be running inside a container [2021-06-23T06:42:44.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-23T06:42:46.424Z] $ docker top 5659b9ba1b694878fc1b0b4599ed7822d3ada5159b1a40e25ba9b520eaf90db2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-23T06:42:46.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-23T06:42:46.560Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-23T06:42:46.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-23T06:42:46.689Z] $ docker exec 5659b9ba1b694878fc1b0b4599ed7822d3ada5159b1a40e25ba9b520eaf90db2 ssh-agent [2021-06-23T06:42:46.816Z] SSH_AUTH_SOCK=/tmp/ssh-k3EkXfBDgg7N/agent.15 [2021-06-23T06:42:46.816Z] SSH_AGENT_PID=21 [2021-06-23T06:42:46.828Z] Running ssh-add (command line suppressed) [2021-06-23T06:42:46.942Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_93114227467532561.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_93114227467532561.key) [2021-06-23T06:42:46.960Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-23T06:42:47.265Z] + git tag --points-at HEAD [Pipeline] } [2021-06-23T06:42:47.283Z] $ docker exec --env ******** --env ******** 5659b9ba1b694878fc1b0b4599ed7822d3ada5159b1a40e25ba9b520eaf90db2 ssh-agent -k [2021-06-23T06:42:47.399Z] unset SSH_AUTH_SOCK; [2021-06-23T06:42:47.400Z] unset SSH_AGENT_PID; [2021-06-23T06:42:47.400Z] echo Agent pid 21 killed; [2021-06-23T06:42:47.417Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-23T06:42:47.459Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-23T06:42:47.459Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-23T06:42:47.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-23T06:42:47.593Z] $ docker exec 5659b9ba1b694878fc1b0b4599ed7822d3ada5159b1a40e25ba9b520eaf90db2 ssh-agent [2021-06-23T06:42:47.718Z] SSH_AUTH_SOCK=/tmp/ssh-Nhl9riTo05Zq/agent.56 [2021-06-23T06:42:47.718Z] SSH_AGENT_PID=63 [2021-06-23T06:42:47.724Z] Running ssh-add (command line suppressed) [2021-06-23T06:42:47.833Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_9039761036970856632.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_9039761036970856632.key) [2021-06-23T06:42:47.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-23T06:42:48.180Z] + git semver init [2021-06-23T06:42:48.180Z] # -> Open(): unable to determine branch for HEAD [2021-06-23T06:42:48.180Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-23T06:42:48.180Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-23T06:42:48.180Z] # $SEMVER_REMOTE_NAME = origin [2021-06-23T06:42:48.180Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-23T06:42:48.180Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-23T06:42:48.180Z] # $SEMVER_BRANCH = PR-971 [2021-06-23T06:42:48.180Z] # $SEMVER_TEMP = /tmp/semver-098231559 [2021-06-23T06:42:48.180Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-23T06:42:48.757Z] # '/tmp/semver-098231559' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-23T06:42:48.757Z] # -> Force: false [2021-06-23T06:42:48.757Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-23T06:42:48.766Z] $ docker exec --env ******** --env ******** 5659b9ba1b694878fc1b0b4599ed7822d3ada5159b1a40e25ba9b520eaf90db2 ssh-agent -k [2021-06-23T06:42:48.875Z] unset SSH_AUTH_SOCK; [2021-06-23T06:42:48.876Z] unset SSH_AGENT_PID; [2021-06-23T06:42:48.876Z] echo Agent pid 63 killed; [2021-06-23T06:42:48.889Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-23T06:42:49.229Z] + git semver [Pipeline] } [2021-06-23T06:42:49.243Z] $ docker stop --time=1 5659b9ba1b694878fc1b0b4599ed7822d3ada5159b1a40e25ba9b520eaf90db2 [2021-06-23T06:42:50.658Z] $ docker rm -f 5659b9ba1b694878fc1b0b4599ed7822d3ada5159b1a40e25ba9b520eaf90db2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T06:42:51.082Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-23T06:42:51.378Z] Stashed 1 file(s) [Pipeline] echo [2021-06-23T06:42:51.381Z] [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-23T06:43:06.772Z] Still waiting to schedule task [2021-06-23T06:43:06.773Z] ‘prd-centos7-docker-4c-2g-865’ is offline [2021-06-23T06:43:06.773Z] ‘prd-centos7-docker-4c-2g-868’ is offline [2021-06-23T06:43:06.775Z] Still waiting to schedule task [2021-06-23T06:43:06.776Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-23T06:43:19.568Z] Running on prd-centos7-docker-4c-2g-868 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-23T06:43:19.587Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-06-23T06:43:19.685Z] Selected Git installation does not exist. Using Default [2021-06-23T06:43:19.686Z] The recommended git tool is: NONE [2021-06-23T06:43:22.040Z] using credential edgex-jenkins-ssh [2021-06-23T06:43:22.054Z] Cloning the remote Git repository [2021-06-23T06:43:22.139Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:43:22.208Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-06-23T06:43:22.244Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:43:22.245Z] > git --version # timeout=10 [2021-06-23T06:43:22.254Z] > git --version # 'git version 2.24.4' [2021-06-23T06:43:22.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:43:22.282Z] [INFO] Currently running in a labeled security context [2021-06-23T06:43:22.282Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T06:43:22.282Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh5017809561433403826.key [2021-06-23T06:43:22.308Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T06:43:23.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T06:43:23.113Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T06:43:23.129Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T06:43:23.591Z] Merging remotes/origin/master commit ab601dc3bfb73a4a01501692ac3fc9071936c5f4 into PR head commit 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [2021-06-23T06:43:23.700Z] Merge succeeded, producing 443ec3831b70df664a44234d70b71243c43f025b [2021-06-23T06:43:23.701Z] Checking out Revision 443ec3831b70df664a44234d70b71243c43f025b (PR-971) [2021-06-23T06:43:23.148Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:43:23.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:43:23.149Z] [INFO] Currently running in a labeled security context [2021-06-23T06:43:23.150Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T06:43:23.150Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh1793628772094128163.key [2021-06-23T06:43:23.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-23T06:43:23.598Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T06:43:23.606Z] > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [2021-06-23T06:43:23.645Z] > git remote # timeout=10 [2021-06-23T06:43:23.650Z] > git config --get remote.origin.url # timeout=10 [2021-06-23T06:43:23.659Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:43:23.660Z] [INFO] Currently running in a labeled security context [2021-06-23T06:43:23.660Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T06:43:23.661Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh1795734751632031145.key [2021-06-23T06:43:23.666Z] > git merge ab601dc3bfb73a4a01501692ac3fc9071936c5f4 # timeout=10 [2021-06-23T06:43:23.690Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-23T06:43:23.700Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T06:43:23.712Z] > git checkout -f 443ec3831b70df664a44234d70b71243c43f025b # timeout=10 [2021-06-23T06:43:27.302Z] Commit message: "Merge commit 'ab601dc3bfb73a4a01501692ac3fc9071936c5f4' into HEAD" [2021-06-23T06:43:27.313Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T06:43:27.302Z] > git rev-list --no-walk f39f95200854f0cf558984a7d00ae0e3ef99ca3a # timeout=10 [2021-06-23T06:43:28.314Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-23T06:43:28.649Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-23T06:43:28.950Z] + sudo service docker restart [2021-06-23T06:43:28.950Z] + true [2021-06-23T06:43:28.950Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T06:43:47.159Z] provisioning config files... [2021-06-23T06:43:47.175Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config4219108311110796240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:43:47.519Z] ---> docker-login.sh [2021-06-23T06:43:47.519Z] nexus3.edgexfoundry.org:10001 [2021-06-23T06:43:47.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:43:47.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:43:47.785Z] Configure a credential helper to remove this warning. See [2021-06-23T06:43:47.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:43:47.785Z] [2021-06-23T06:43:47.785Z] Login Succeeded [2021-06-23T06:43:47.785Z] nexus3.edgexfoundry.org:10002 [2021-06-23T06:43:47.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:43:48.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:43:48.051Z] Configure a credential helper to remove this warning. See [2021-06-23T06:43:48.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:43:48.051Z] [2021-06-23T06:43:48.051Z] Login Succeeded [2021-06-23T06:43:48.051Z] nexus3.edgexfoundry.org:10003 [2021-06-23T06:43:48.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:43:48.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:43:48.051Z] Configure a credential helper to remove this warning. See [2021-06-23T06:43:48.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:43:48.051Z] [2021-06-23T06:43:48.051Z] Login Succeeded [2021-06-23T06:43:48.051Z] nexus3.edgexfoundry.org:10004 [2021-06-23T06:43:48.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:43:48.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:43:48.316Z] Configure a credential helper to remove this warning. See [2021-06-23T06:43:48.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:43:48.316Z] [2021-06-23T06:43:48.316Z] Login Succeeded [2021-06-23T06:43:48.316Z] docker.io [2021-06-23T06:43:48.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:43:48.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:43:48.579Z] Configure a credential helper to remove this warning. See [2021-06-23T06:43:48.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:43:48.579Z] [2021-06-23T06:43:48.579Z] Login Succeeded [2021-06-23T06:43:48.579Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T06:43:48.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-23T06:43:48.765Z] ========================================================= [2021-06-23T06:43:48.765Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-23T06:43:48.765Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:43:49.087Z] + 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-23T06:43:49.087Z] Sending build context to Docker daemon 2.7MB [2021-06-23T06:43:49.087Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T06:43:49.087Z] Step 2/8 : FROM ${BASE} [2021-06-23T06:43:49.087Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-23T06:43:49.087Z] 540db60ca938: Pulling fs layer [2021-06-23T06:43:49.087Z] adcc1eea9eea: Pulling fs layer [2021-06-23T06:43:49.087Z] 4c4ab2625f07: Pulling fs layer [2021-06-23T06:43:49.087Z] 0510c868ecb4: Pulling fs layer [2021-06-23T06:43:49.087Z] afea3b2eda06: Pulling fs layer [2021-06-23T06:43:49.087Z] 7809a108b3ef: Pulling fs layer [2021-06-23T06:43:49.087Z] f706445af74f: Pulling fs layer [2021-06-23T06:43:49.087Z] 0510c868ecb4: Waiting [2021-06-23T06:43:49.087Z] afea3b2eda06: Waiting [2021-06-23T06:43:49.087Z] 7809a108b3ef: Waiting [2021-06-23T06:43:49.087Z] f706445af74f: Waiting [2021-06-23T06:43:49.358Z] 4c4ab2625f07: Verifying Checksum [2021-06-23T06:43:49.358Z] 4c4ab2625f07: Download complete [2021-06-23T06:43:49.358Z] adcc1eea9eea: Verifying Checksum [2021-06-23T06:43:49.358Z] adcc1eea9eea: Download complete [2021-06-23T06:43:49.358Z] afea3b2eda06: Verifying Checksum [2021-06-23T06:43:49.358Z] afea3b2eda06: Download complete [2021-06-23T06:43:49.358Z] 540db60ca938: Verifying Checksum [2021-06-23T06:43:49.358Z] 540db60ca938: Download complete [2021-06-23T06:43:49.358Z] 7809a108b3ef: Verifying Checksum [2021-06-23T06:43:49.358Z] 7809a108b3ef: Download complete [2021-06-23T06:43:49.626Z] 540db60ca938: Pull complete [2021-06-23T06:43:49.626Z] adcc1eea9eea: Pull complete [2021-06-23T06:43:49.889Z] 4c4ab2625f07: Pull complete [2021-06-23T06:43:51.280Z] f706445af74f: Verifying Checksum [2021-06-23T06:43:51.280Z] f706445af74f: Download complete [2021-06-23T06:43:51.862Z] 0510c868ecb4: Verifying Checksum [2021-06-23T06:43:51.862Z] 0510c868ecb4: Download complete [2021-06-23T06:43:56.115Z] 0510c868ecb4: Pull complete [2021-06-23T06:43:56.115Z] afea3b2eda06: Pull complete [2021-06-23T06:43:56.115Z] 7809a108b3ef: Pull complete [2021-06-23T06:43:57.535Z] f706445af74f: Pull complete [2021-06-23T06:43:57.535Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-23T06:43:57.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-23T06:43:57.535Z] ---> b068be0155e3 [2021-06-23T06:43:57.535Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:44:04.183Z] ---> Running in 48af3fffa19f [2021-06-23T06:44:04.183Z] Removing intermediate container 48af3fffa19f [2021-06-23T06:44:04.183Z] ---> f26616e5ec8b [2021-06-23T06:44:04.183Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:44:04.183Z] ---> Running in d309999f87f5 [2021-06-23T06:44:04.767Z] Removing intermediate container d309999f87f5 [2021-06-23T06:44:04.767Z] ---> 9f7874d5a104 [2021-06-23T06:44:04.767Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-23T06:44:04.767Z] ---> Running in 08d8aaa0bf81 [2021-06-23T06:44:05.031Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-23T06:44:05.980Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-23T06:44:06.557Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-23T06:44:06.557Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-23T06:44:06.557Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-23T06:44:06.557Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-23T06:44:06.819Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-23T06:44:07.087Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-23T06:44:07.087Z] Executing busybox-1.32.1-r6.trigger [2021-06-23T06:44:07.087Z] OK: 150 MiB in 46 packages [2021-06-23T06:44:07.668Z] Removing intermediate container 08d8aaa0bf81 [2021-06-23T06:44:07.668Z] ---> 919b9aa54b87 [2021-06-23T06:44:07.668Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-23T06:44:07.932Z] ---> Running in e0ef6b18fa55 [2021-06-23T06:44:07.932Z] Removing intermediate container e0ef6b18fa55 [2021-06-23T06:44:07.932Z] ---> 02d03b126ed3 [2021-06-23T06:44:07.932Z] Step 7/8 : COPY . . [2021-06-23T06:44:08.512Z] ---> 1499f48944f6 [2021-06-23T06:44:08.512Z] Step 8/8 : RUN go mod download [2021-06-23T06:44:08.790Z] ---> Running in 2def84f4ff62 [2021-06-23T06:44:30.818Z] Removing intermediate container 2def84f4ff62 [2021-06-23T06:44:30.818Z] ---> 6715eb06c907 [2021-06-23T06:44:30.818Z] Successfully built 6715eb06c907 [2021-06-23T06:44:30.818Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:44:31.133Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-23T06:44:31.133Z] . [Pipeline] withDockerContainer [2021-06-23T06:44:31.219Z] prd-centos7-docker-4c-2g-868 does not seem to be running inside a container [2021-06-23T06:44:31.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-23T06:44:31.703Z] $ docker top 8c11ccfa11f425f1d24df66c54750cf48965ad1efb46a13db9ead78cabbe85bc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T06:44:32.109Z] + go version [2021-06-23T06:44:32.109Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-23T06:44:32.123Z] $ docker stop --time=1 8c11ccfa11f425f1d24df66c54750cf48965ad1efb46a13db9ead78cabbe85bc [2021-06-23T06:44:33.337Z] $ docker rm -f 8c11ccfa11f425f1d24df66c54750cf48965ad1efb46a13db9ead78cabbe85bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:44:34.040Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-23T06:44:34.040Z] . [Pipeline] withDockerContainer [2021-06-23T06:44:34.127Z] prd-centos7-docker-4c-2g-868 does not seem to be running inside a container [2021-06-23T06:44:34.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-23T06:44:34.582Z] $ docker top bb5bba624f92c698cefe6afe098b598dfc479a12e9f4a043ff8e5f62c142ee70 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T06:44:35.013Z] + go mod tidy [Pipeline] sh [2021-06-23T06:44:35.588Z] + make test [2021-06-23T06:44:35.588Z] go mod tidy [2021-06-23T06:44:35.852Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-23T06:44:41.228Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-23T06:45:03.400Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-23T06:45:03.400Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-23T06:45:03.400Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-23T06:45:06.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 24.2% of statements [2021-06-23T06:45:06.747Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-23T06:45:06.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.045s coverage: 28.1% of statements [2021-06-23T06:45:06.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.063s coverage: 78.9% of statements [2021-06-23T06:45:07.018Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 9.0% of statements [2021-06-23T06:45:07.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-23T06:45:07.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-23T06:45:07.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-23T06:45:07.595Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.076s coverage: 28.7% of statements [2021-06-23T06:45:07.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-23T06:45:08.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 83.3% of statements [2021-06-23T06:45:08.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-23T06:45:08.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-23T06:45:08.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 58.0% of statements [2021-06-23T06:45:09.957Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.831s coverage: 89.2% of statements [2021-06-23T06:45:09.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-23T06:45:09.957Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 5.0% of statements [2021-06-23T06:45:09.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-23T06:45:09.957Z] GO111MODULE=on go vet ./... [2021-06-23T06:45:10.864Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-869 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-23T06:45:10.888Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-06-23T06:45:11.155Z] Selected Git installation does not exist. Using Default [2021-06-23T06:45:11.155Z] The recommended git tool is: NONE [2021-06-23T06:45:16.874Z] using credential edgex-jenkins-ssh [2021-06-23T06:45:16.899Z] Cloning the remote Git repository [2021-06-23T06:45:16.952Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:45:17.076Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-06-23T06:45:17.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:45:17.160Z] > git --version # timeout=10 [2021-06-23T06:45:17.177Z] > git --version # 'git version 2.17.1' [2021-06-23T06:45:17.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:45:17.359Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T06:45:19.336Z] Merging remotes/origin/master commit ab601dc3bfb73a4a01501692ac3fc9071936c5f4 into PR head commit 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [2021-06-23T06:45:19.603Z] Merge succeeded, producing a9711916546821b85f789b775b302967c7a417b7 [2021-06-23T06:45:19.604Z] Checking out Revision a9711916546821b85f789b775b302967c7a417b7 (PR-971) [2021-06-23T06:45:18.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T06:45:18.656Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T06:45:18.682Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T06:45:18.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:45:18.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:45:18.734Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-23T06:45:19.360Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T06:45:19.372Z] > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [2021-06-23T06:45:19.472Z] > git remote # timeout=10 [2021-06-23T06:45:19.490Z] > git config --get remote.origin.url # timeout=10 [2021-06-23T06:45:19.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:45:19.512Z] > git merge ab601dc3bfb73a4a01501692ac3fc9071936c5f4 # timeout=10 [2021-06-23T06:45:19.590Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-23T06:45:19.611Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T06:45:19.621Z] > git checkout -f a9711916546821b85f789b775b302967c7a417b7 # timeout=10 [2021-06-23T06:45:23.887Z] Commit message: "Merge commit 'ab601dc3bfb73a4a01501692ac3fc9071936c5f4' into HEAD" [2021-06-23T06:45:23.913Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-06-23T06:45:23.895Z] > git rev-list --no-walk f39f95200854f0cf558984a7d00ae0e3ef99ca3a # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T06:45:25.245Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-23T06:45:25.659Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-23T06:45:26.007Z] + sudo service docker restart [2021-06-23T06:45:26.007Z] + true [2021-06-23T06:45:28.180Z] gofmt -l . [2021-06-23T06:45:28.180Z] [ "`gofmt -l .`" = "" ] [2021-06-23T06:45:28.180Z] ./bin/test-attribution-txt.sh [2021-06-23T06:45:28.180Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-23T06:45:28.189Z] $ docker stop --time=1 bb5bba624f92c698cefe6afe098b598dfc479a12e9f4a043ff8e5f62c142ee70 [2021-06-23T06:45:29.785Z] $ docker rm -f bb5bba624f92c698cefe6afe098b598dfc479a12e9f4a043ff8e5f62c142ee70 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T06:45:30.254Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-23T06:45:30.466Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-23T06:45:33.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-23T06:45:33.551Z] + ls -al . [2021-06-23T06:45:33.551Z] total 208 [2021-06-23T06:45:33.551Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 23 06:45 . [2021-06-23T06:45:33.551Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 06:43 .. [2021-06-23T06:45:33.551Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 06:43 bin [2021-06-23T06:45:33.551Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 23 06:45 coverage.out [2021-06-23T06:45:33.551Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 23 06:43 Dockerfile.build [2021-06-23T06:45:33.551Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 23 06:43 .dockerignore [2021-06-23T06:45:33.551Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 23 06:43 example [2021-06-23T06:45:33.551Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 06:43 .git [2021-06-23T06:45:33.551Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 23 06:43 .github [2021-06-23T06:45:33.551Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 23 06:43 .gitignore [2021-06-23T06:45:33.551Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 23 06:45 go.mod [2021-06-23T06:45:33.551Z] -rw-r--r--. 1 jenkins jenkins 20385 Jun 23 06:44 go.sum [2021-06-23T06:45:33.551Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 23 06:43 internal [2021-06-23T06:45:33.551Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 23 06:43 Jenkinsfile [2021-06-23T06:45:33.551Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 23 06:43 LICENSE [2021-06-23T06:45:33.551Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 23 06:43 Makefile [2021-06-23T06:45:33.551Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 23 06:43 openapi [2021-06-23T06:45:33.551Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 23 06:43 pkg [2021-06-23T06:45:33.551Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 23 06:43 README.md [2021-06-23T06:45:33.551Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 23 06:43 RELEASE-NOTES.txt [2021-06-23T06:45:33.551Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 23 06:43 snap [2021-06-23T06:45:33.551Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 06:42 VERSION [2021-06-23T06:45:33.551Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 23 06:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:45:33.879Z] + 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=443ec3831b70df664a44234d70b71243c43f025b --label arch=amd64 --label version=0.0.0 . [2021-06-23T06:45:33.879Z] Sending build context to Docker daemon 2.826MB [2021-06-23T06:45:33.879Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T06:45:33.879Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-23T06:45:33.879Z] ---> 6715eb06c907 [2021-06-23T06:45:33.879Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-23T06:45:33.879Z] ---> Running in 4e1e25686cd1 [2021-06-23T06:45:34.142Z] Removing intermediate container 4e1e25686cd1 [2021-06-23T06:45:34.142Z] ---> ddfcdcf699de [2021-06-23T06:45:34.142Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:45:34.142Z] ---> Running in 447d79adabdf [2021-06-23T06:45:34.142Z] Removing intermediate container 447d79adabdf [2021-06-23T06:45:34.142Z] ---> c4f5efa67de4 [2021-06-23T06:45:34.142Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:45:34.142Z] ---> Running in d76407c70f99 [2021-06-23T06:45:34.717Z] Removing intermediate container d76407c70f99 [2021-06-23T06:45:34.717Z] ---> 3aa2a579a9d4 [2021-06-23T06:45:34.717Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-23T06:45:34.717Z] ---> Running in 9d7e017695b4 [2021-06-23T06:45:34.980Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-23T06:45:35.924Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-23T06:45:36.878Z] OK: 150 MiB in 46 packages [2021-06-23T06:45:36.878Z] Removing intermediate container 9d7e017695b4 [2021-06-23T06:45:36.878Z] ---> 010edd1067d3 [2021-06-23T06:45:36.878Z] Step 7/23 : COPY . . [2021-06-23T06:45:37.847Z] ---> b288727b7070 [2021-06-23T06:45:37.847Z] Step 8/23 : RUN go mod download [2021-06-23T06:45:37.847Z] ---> Running in 962d9484f5fb [2021-06-23T06:45:38.139Z] Removing intermediate container 962d9484f5fb [2021-06-23T06:45:38.139Z] ---> 9129a4b53b08 [2021-06-23T06:45:38.139Z] Step 9/23 : RUN make build [2021-06-23T06:45:38.410Z] ---> Running in d8e3706e1140 [2021-06-23T06:45:38.410Z] go mod tidy [2021-06-23T06:45:38.675Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T06:45:44.381Z] provisioning config files... [2021-06-23T06:45:44.407Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config2038936249789761397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:45:44.785Z] ---> docker-login.sh [2021-06-23T06:45:44.785Z] nexus3.edgexfoundry.org:10001 [2021-06-23T06:45:45.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:45:45.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:45:45.989Z] Configure a credential helper to remove this warning. See [2021-06-23T06:45:45.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:45:45.989Z] [2021-06-23T06:45:45.989Z] Login Succeeded [2021-06-23T06:45:45.989Z] nexus3.edgexfoundry.org:10002 [2021-06-23T06:45:46.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:45:46.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:45:46.536Z] Configure a credential helper to remove this warning. See [2021-06-23T06:45:46.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:45:46.536Z] [2021-06-23T06:45:46.536Z] Login Succeeded [2021-06-23T06:45:46.536Z] nexus3.edgexfoundry.org:10003 [2021-06-23T06:45:46.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:45:47.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:45:47.089Z] Configure a credential helper to remove this warning. See [2021-06-23T06:45:47.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:45:47.089Z] [2021-06-23T06:45:47.089Z] Login Succeeded [2021-06-23T06:45:47.089Z] nexus3.edgexfoundry.org:10004 [2021-06-23T06:45:47.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:45:47.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:45:47.640Z] Configure a credential helper to remove this warning. See [2021-06-23T06:45:47.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:45:47.640Z] [2021-06-23T06:45:47.640Z] Login Succeeded [2021-06-23T06:45:47.640Z] docker.io [2021-06-23T06:45:47.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:45:48.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:45:48.194Z] Configure a credential helper to remove this warning. See [2021-06-23T06:45:48.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:45:48.194Z] [2021-06-23T06:45:48.194Z] Login Succeeded [2021-06-23T06:45:48.194Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T06:45:48.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-23T06:45:48.685Z] ========================================================= [2021-06-23T06:45:48.685Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-23T06:45:48.685Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:45:48.773Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-23T06:45:49.067Z] + 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-23T06:45:49.346Z] Removing intermediate container d8e3706e1140 [2021-06-23T06:45:49.346Z] ---> a6f8bd7d1727 [2021-06-23T06:45:49.346Z] Step 10/23 : FROM alpine:3.12 [2021-06-23T06:45:49.666Z] Sending build context to Docker daemon 2.699MB [2021-06-23T06:45:49.667Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T06:45:49.667Z] Step 2/8 : FROM ${BASE} [2021-06-23T06:45:49.920Z] 3.12: Pulling from library/alpine [2021-06-23T06:45:50.184Z] 339de151aab4: Pulling fs layer [2021-06-23T06:45:50.184Z] 339de151aab4: Verifying Checksum [2021-06-23T06:45:50.184Z] 339de151aab4: Download complete [2021-06-23T06:45:50.268Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-23T06:45:50.268Z] 595b0fe564bb: Pulling fs layer [2021-06-23T06:45:50.268Z] 3088b5b3c5c0: Pulling fs layer [2021-06-23T06:45:50.268Z] 5b7225fbf94c: Pulling fs layer [2021-06-23T06:45:50.268Z] ba82ee9f976e: Pulling fs layer [2021-06-23T06:45:50.268Z] 506bd15cee9f: Pulling fs layer [2021-06-23T06:45:50.268Z] 75a0a4a0db45: Pulling fs layer [2021-06-23T06:45:50.268Z] 618dc40b7e24: Pulling fs layer [2021-06-23T06:45:50.268Z] 506bd15cee9f: Waiting [2021-06-23T06:45:50.268Z] 75a0a4a0db45: Waiting [2021-06-23T06:45:50.268Z] 618dc40b7e24: Waiting [2021-06-23T06:45:50.268Z] ba82ee9f976e: Waiting [2021-06-23T06:45:50.268Z] 5b7225fbf94c: Verifying Checksum [2021-06-23T06:45:50.268Z] 5b7225fbf94c: Download complete [2021-06-23T06:45:50.268Z] 3088b5b3c5c0: Verifying Checksum [2021-06-23T06:45:50.268Z] 3088b5b3c5c0: Download complete [2021-06-23T06:45:50.268Z] 506bd15cee9f: Download complete [2021-06-23T06:45:50.268Z] 595b0fe564bb: Verifying Checksum [2021-06-23T06:45:50.268Z] 75a0a4a0db45: Verifying Checksum [2021-06-23T06:45:50.268Z] 75a0a4a0db45: Download complete [2021-06-23T06:45:50.448Z] 339de151aab4: Pull complete [2021-06-23T06:45:50.448Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-23T06:45:50.448Z] Status: Downloaded newer image for alpine:3.12 [2021-06-23T06:45:50.448Z] ---> 13621d1b12d4 [2021-06-23T06:45:50.448Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:45:50.448Z] ---> Running in 1731397f5ede [2021-06-23T06:45:50.710Z] Removing intermediate container 1731397f5ede [2021-06-23T06:45:50.710Z] ---> a24f283eec82 [2021-06-23T06:45:50.710Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:45:50.710Z] ---> Running in 7428aa321720 [2021-06-23T06:45:50.887Z] 595b0fe564bb: Pull complete [2021-06-23T06:45:50.978Z] Removing intermediate container 7428aa321720 [2021-06-23T06:45:50.979Z] ---> d9faebfe7c78 [2021-06-23T06:45:50.979Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-23T06:45:51.251Z] ---> Running in 48a89037b995 [2021-06-23T06:45:51.251Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-23T06:45:51.501Z] 3088b5b3c5c0: Pull complete [2021-06-23T06:45:52.113Z] 5b7225fbf94c: Pull complete [2021-06-23T06:45:52.389Z] 618dc40b7e24: Verifying Checksum [2021-06-23T06:45:52.389Z] 618dc40b7e24: Download complete [2021-06-23T06:45:52.638Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-23T06:45:53.830Z] ba82ee9f976e: Verifying Checksum [2021-06-23T06:45:53.830Z] ba82ee9f976e: Download complete [2021-06-23T06:45:54.028Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-23T06:45:54.028Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-23T06:45:54.633Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-23T06:45:55.581Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-23T06:45:55.581Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-23T06:45:55.843Z] Executing busybox-1.31.1-r20.trigger [2021-06-23T06:45:55.843Z] OK: 8 MiB in 19 packages [2021-06-23T06:45:56.103Z] Removing intermediate container 48a89037b995 [2021-06-23T06:45:56.103Z] ---> 5a7f50881d2f [2021-06-23T06:45:56.103Z] Step 14/23 : WORKDIR / [2021-06-23T06:45:56.103Z] ---> Running in 7eacb4ef3eb6 [2021-06-23T06:45:56.103Z] Removing intermediate container 7eacb4ef3eb6 [2021-06-23T06:45:56.103Z] ---> 3314f1f395ec [2021-06-23T06:45:56.103Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-23T06:45:56.371Z] ---> 4a6931c552f7 [2021-06-23T06:45:56.371Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-23T06:45:56.634Z] ---> 0508c622bc54 [2021-06-23T06:45:56.634Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-23T06:45:56.894Z] ---> 12ec593a0221 [2021-06-23T06:45:56.894Z] Step 18/23 : EXPOSE 59999 [2021-06-23T06:45:56.894Z] ---> Running in dddac36332e6 [2021-06-23T06:45:56.894Z] Removing intermediate container dddac36332e6 [2021-06-23T06:45:56.894Z] ---> aec234313986 [2021-06-23T06:45:56.894Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-23T06:45:56.894Z] ---> Running in d370c0472b0f [2021-06-23T06:45:57.156Z] Removing intermediate container d370c0472b0f [2021-06-23T06:45:57.156Z] ---> a33907798541 [2021-06-23T06:45:57.156Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-23T06:45:57.156Z] ---> Running in c8dc3a350385 [2021-06-23T06:45:57.156Z] Removing intermediate container c8dc3a350385 [2021-06-23T06:45:57.156Z] ---> 596b3bc862d5 [2021-06-23T06:45:57.156Z] Step 21/23 : LABEL arch=amd64 [2021-06-23T06:45:57.156Z] ---> Running in 2e1d5a707b22 [2021-06-23T06:45:57.156Z] Removing intermediate container 2e1d5a707b22 [2021-06-23T06:45:57.156Z] ---> 46a40b4787ac [2021-06-23T06:45:57.156Z] Step 22/23 : LABEL git_sha=443ec3831b70df664a44234d70b71243c43f025b [2021-06-23T06:45:57.419Z] ---> Running in 0a0aee9cca14 [2021-06-23T06:45:57.419Z] Removing intermediate container 0a0aee9cca14 [2021-06-23T06:45:57.419Z] ---> 18b139845602 [2021-06-23T06:45:57.419Z] Step 23/23 : LABEL version=0.0.0 [2021-06-23T06:45:57.419Z] ---> Running in 253126e182a0 [2021-06-23T06:45:57.419Z] Removing intermediate container 253126e182a0 [2021-06-23T06:45:57.419Z] ---> b513c382bb40 [2021-06-23T06:45:57.419Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-23T06:45:57.419Z] Successfully built b513c382bb40 [2021-06-23T06:45:57.419Z] 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-23T06:45:58.370Z] ---> job-cost.sh [2021-06-23T06:45:58.371Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9A8Z [2021-06-23T06:46:04.006Z] ba82ee9f976e: Pull complete [2021-06-23T06:46:04.006Z] 506bd15cee9f: Pull complete [2021-06-23T06:46:04.284Z] 75a0a4a0db45: Pull complete [2021-06-23T06:46:06.554Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-23T06:46:08.650Z] 618dc40b7e24: Pull complete [2021-06-23T06:46:08.650Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-23T06:46:08.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-23T06:46:08.650Z] ---> a36622ca3599 [2021-06-23T06:46:08.650Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:46:10.636Z] ---> Running in 1ab0cb26b9e7 [2021-06-23T06:46:10.911Z] Removing intermediate container 1ab0cb26b9e7 [2021-06-23T06:46:10.911Z] ---> ee147ac6af2d [2021-06-23T06:46:10.911Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:46:10.911Z] ---> Running in 15ec49f05472 [2021-06-23T06:46:13.556Z] Removing intermediate container 15ec49f05472 [2021-06-23T06:46:13.556Z] ---> 8d9f9b124fd5 [2021-06-23T06:46:13.556Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-23T06:46:13.556Z] ---> Running in 2355586385af [2021-06-23T06:46:14.998Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-23T06:46:15.978Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-23T06:46:16.964Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-23T06:46:16.965Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-23T06:46:16.965Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-23T06:46:16.965Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-23T06:46:16.965Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-23T06:46:17.242Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-23T06:46:17.242Z] Executing busybox-1.32.1-r6.trigger [2021-06-23T06:46:17.242Z] OK: 139 MiB in 46 packages [2021-06-23T06:46:18.688Z] Removing intermediate container 2355586385af [2021-06-23T06:46:18.688Z] ---> 86e8255eab76 [2021-06-23T06:46:18.688Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-23T06:46:18.688Z] ---> Running in 767d69e62731 [2021-06-23T06:46:19.289Z] Removing intermediate container 767d69e62731 [2021-06-23T06:46:19.289Z] ---> 9ab7209b8b90 [2021-06-23T06:46:19.289Z] Step 7/8 : COPY . . [2021-06-23T06:46:20.729Z] ---> ac3cb267f396 [2021-06-23T06:46:20.729Z] Step 8/8 : RUN go mod download [2021-06-23T06:46:20.729Z] ---> Running in 7de1af75c51f [2021-06-23T06:46:21.541Z] lf-activate-venv(): INFO: Adding /tmp/venv-9A8Z/bin to PATH [2021-06-23T06:46:21.542Z] INFO: No Stack... [2021-06-23T06:46:21.542Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-23T06:46:21.542Z] INFO: Archiving Costs [Pipeline] sh [2021-06-23T06:46:21.844Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-06-23T06:46:21.844Z] + cut -d, -f6 [Pipeline] lock [2021-06-23T06:46:21.876Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-5-stack-cost] [2021-06-23T06:46:21.886Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-5-stack-cost] did not exist. Created. [2021-06-23T06:46:21.886Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-23T06:46:22.216Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-23T06:46:22.302Z] Stashed 1 file(s) [Pipeline] } [2021-06-23T06:46:22.314Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-23T06:46:47.601Z] Removing intermediate container 7de1af75c51f [2021-06-23T06:46:47.601Z] ---> b1632a62cd54 [2021-06-23T06:46:47.601Z] Successfully built b1632a62cd54 [2021-06-23T06:46:47.602Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:46:47.956Z] + docker inspect -f . ci-base-image-arm64 [2021-06-23T06:46:47.956Z] . [Pipeline] withDockerContainer [2021-06-23T06:46:48.230Z] prd-ubuntu18.04-docker-arm64-4c-16g-869 does not seem to be running inside a container [2021-06-23T06:46:48.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-23T06:46:50.010Z] $ docker top f9dcada951e602cf170743a1ed17de59507bfedf8b5de2281e166da462d440be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T06:46:50.969Z] + go version [2021-06-23T06:46:50.969Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-23T06:46:50.988Z] $ docker stop --time=1 f9dcada951e602cf170743a1ed17de59507bfedf8b5de2281e166da462d440be [2021-06-23T06:46:52.825Z] $ docker rm -f f9dcada951e602cf170743a1ed17de59507bfedf8b5de2281e166da462d440be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:46:53.581Z] + docker inspect -f . ci-base-image-arm64 [2021-06-23T06:46:53.581Z] . [Pipeline] withDockerContainer [2021-06-23T06:46:53.807Z] prd-ubuntu18.04-docker-arm64-4c-16g-869 does not seem to be running inside a container [2021-06-23T06:46:53.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-23T06:46:55.578Z] $ docker top 86a6b9c3d697fececa7697c003e3313fa77ab3cfe92b277ba8c89af4fc53b7a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T06:46:56.570Z] + go mod tidy [Pipeline] sh [2021-06-23T06:46:57.848Z] + make test [2021-06-23T06:46:57.848Z] go mod tidy [2021-06-23T06:46:58.120Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-23T06:47:24.964Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-23T06:48:33.033Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-23T06:48:33.033Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-23T06:48:33.033Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-23T06:48:38.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.250s coverage: 24.2% of statements [2021-06-23T06:48:38.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-23T06:48:38.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.182s coverage: 28.1% of statements [2021-06-23T06:48:38.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.212s coverage: 78.9% of statements [2021-06-23T06:48:38.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.202s coverage: 9.0% of statements [2021-06-23T06:48:38.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-23T06:48:38.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-23T06:48:38.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-23T06:48:39.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.346s coverage: 28.7% of statements [2021-06-23T06:48:39.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-23T06:48:42.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.190s coverage: 83.3% of statements [2021-06-23T06:48:42.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-23T06:48:42.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-23T06:48:42.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.386s coverage: 58.0% of statements [2021-06-23T06:48:43.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.182s coverage: 89.2% of statements [2021-06-23T06:48:43.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-23T06:48:43.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.189s coverage: 5.0% of statements [2021-06-23T06:48:43.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-23T06:48:44.511Z] GO111MODULE=on go vet ./... [2021-06-23T06:49:41.298Z] gofmt -l . [2021-06-23T06:49:41.298Z] [ "`gofmt -l .`" = "" ] [2021-06-23T06:49:41.298Z] ./bin/test-attribution-txt.sh [2021-06-23T06:49:43.280Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-23T06:49:43.566Z] $ docker stop --time=1 86a6b9c3d697fececa7697c003e3313fa77ab3cfe92b277ba8c89af4fc53b7a6 [2021-06-23T06:49:45.730Z] $ docker rm -f 86a6b9c3d697fececa7697c003e3313fa77ab3cfe92b277ba8c89af4fc53b7a6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T06:49:46.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-23T06:49:46.960Z] Warning: overwriting stash ‘coverage-report’ [2021-06-23T06:49:47.721Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T06:49:48.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-23T06:49:48.708Z] + ls -al . [2021-06-23T06:49:48.708Z] total 244 [2021-06-23T06:49:48.708Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 06:49 . [2021-06-23T06:49:48.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 06:45 .. [2021-06-23T06:49:48.708Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 06:45 .dockerignore [2021-06-23T06:49:48.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 06:45 .git [2021-06-23T06:49:48.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:45 .github [2021-06-23T06:49:48.708Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 23 06:45 .gitignore [2021-06-23T06:49:48.708Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 23 06:45 Dockerfile.build [2021-06-23T06:49:48.708Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 23 06:45 Jenkinsfile [2021-06-23T06:49:48.708Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 23 06:45 LICENSE [2021-06-23T06:49:48.708Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 23 06:45 Makefile [2021-06-23T06:49:48.708Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 23 06:45 README.md [2021-06-23T06:49:48.708Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 23 06:45 RELEASE-NOTES.txt [2021-06-23T06:49:48.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 06:42 VERSION [2021-06-23T06:49:48.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:45 bin [2021-06-23T06:49:48.708Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 23 06:48 coverage.out [2021-06-23T06:49:48.708Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 23 06:45 example [2021-06-23T06:49:48.708Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 23 06:49 go.mod [2021-06-23T06:49:48.708Z] -rw-r--r-- 1 jenkins jenkins 20385 Jun 23 06:46 go.sum [2021-06-23T06:49:48.708Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 23 06:45 internal [2021-06-23T06:49:48.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 06:45 openapi [2021-06-23T06:49:48.708Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 23 06:45 pkg [2021-06-23T06:49:48.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 06:45 snap [2021-06-23T06:49:48.708Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 23 06:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:49:49.069Z] + 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=a9711916546821b85f789b775b302967c7a417b7 --label arch=arm64 --label version=0.0.0 . [2021-06-23T06:49:49.676Z] Sending build context to Docker daemon 2.825MB [2021-06-23T06:49:49.676Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T06:49:49.676Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-23T06:49:49.676Z] ---> b1632a62cd54 [2021-06-23T06:49:49.676Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-23T06:49:50.274Z] ---> Running in 59a5493e356d [2021-06-23T06:49:50.553Z] Removing intermediate container 59a5493e356d [2021-06-23T06:49:50.553Z] ---> b48df8812285 [2021-06-23T06:49:50.553Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:49:50.831Z] ---> Running in af54c6705885 [2021-06-23T06:49:51.435Z] Removing intermediate container af54c6705885 [2021-06-23T06:49:51.435Z] ---> 94b3a0d76415 [2021-06-23T06:49:51.435Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:49:51.435Z] ---> Running in 3ab26cc8ca07 [2021-06-23T06:49:54.081Z] Removing intermediate container 3ab26cc8ca07 [2021-06-23T06:49:54.081Z] ---> e5787dda4f6e [2021-06-23T06:49:54.081Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-23T06:49:54.081Z] ---> Running in b710a1d38197 [2021-06-23T06:49:55.065Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-23T06:49:56.043Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-23T06:49:57.038Z] OK: 139 MiB in 46 packages [2021-06-23T06:49:58.023Z] Removing intermediate container b710a1d38197 [2021-06-23T06:49:58.023Z] ---> 0147b58b81bd [2021-06-23T06:49:58.023Z] Step 7/23 : COPY . . [2021-06-23T06:49:59.467Z] ---> 875e8f705007 [2021-06-23T06:49:59.467Z] Step 8/23 : RUN go mod download [2021-06-23T06:49:59.742Z] ---> Running in 10b3d8c74664 [2021-06-23T06:50:02.366Z] Removing intermediate container 10b3d8c74664 [2021-06-23T06:50:02.366Z] ---> 3ae049eb4690 [2021-06-23T06:50:02.366Z] Step 9/23 : RUN make build [2021-06-23T06:50:02.366Z] ---> Running in 12c794ce6903 [2021-06-23T06:50:03.807Z] go mod tidy [2021-06-23T06:50:04.083Z] 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-23T06:50:43.136Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-23T06:50:43.136Z] Removing intermediate container 12c794ce6903 [2021-06-23T06:50:43.136Z] ---> d088c833c73f [2021-06-23T06:50:43.136Z] Step 10/23 : FROM alpine:3.12 [2021-06-23T06:50:43.136Z] 3.12: Pulling from library/alpine [2021-06-23T06:50:43.136Z] d2f70382dc9a: Pulling fs layer [2021-06-23T06:50:43.136Z] d2f70382dc9a: Verifying Checksum [2021-06-23T06:50:43.136Z] d2f70382dc9a: Download complete [2021-06-23T06:50:43.136Z] d2f70382dc9a: Pull complete [2021-06-23T06:50:43.136Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-23T06:50:43.136Z] Status: Downloaded newer image for alpine:3.12 [2021-06-23T06:50:43.136Z] ---> c4fd0aeabfcf [2021-06-23T06:50:43.136Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:50:43.136Z] ---> Running in 61b3d264e2fe [2021-06-23T06:50:43.136Z] Removing intermediate container 61b3d264e2fe [2021-06-23T06:50:43.136Z] ---> 322b6c144c16 [2021-06-23T06:50:43.136Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:50:43.136Z] ---> Running in 1401c126f6eb [2021-06-23T06:50:45.118Z] Removing intermediate container 1401c126f6eb [2021-06-23T06:50:45.118Z] ---> 2a12b09fa30f [2021-06-23T06:50:45.118Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-23T06:50:45.118Z] ---> Running in c62ba186d08c [2021-06-23T06:50:46.106Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-23T06:50:47.080Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-23T06:50:47.672Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-23T06:50:47.672Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-23T06:50:47.944Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-23T06:50:48.218Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-23T06:50:48.218Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-23T06:50:48.218Z] Executing busybox-1.31.1-r20.trigger [2021-06-23T06:50:48.218Z] OK: 8 MiB in 19 packages [2021-06-23T06:50:49.683Z] Removing intermediate container c62ba186d08c [2021-06-23T06:50:49.683Z] ---> e63edd9c814a [2021-06-23T06:50:49.683Z] Step 14/23 : WORKDIR / [2021-06-23T06:50:49.683Z] ---> Running in 5b43ee33f921 [2021-06-23T06:50:50.287Z] Removing intermediate container 5b43ee33f921 [2021-06-23T06:50:50.287Z] ---> 481c54cf9008 [2021-06-23T06:50:50.287Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-23T06:50:50.886Z] ---> 8105889507c3 [2021-06-23T06:50:50.886Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-23T06:50:52.357Z] ---> 045445734467 [2021-06-23T06:50:52.357Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-23T06:50:52.955Z] ---> 1607f139fcf2 [2021-06-23T06:50:52.955Z] Step 18/23 : EXPOSE 59999 [2021-06-23T06:50:53.231Z] ---> Running in f2ee2682d3ee [2021-06-23T06:50:53.833Z] Removing intermediate container f2ee2682d3ee [2021-06-23T06:50:53.833Z] ---> 436f948734d5 [2021-06-23T06:50:53.833Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-23T06:50:53.833Z] ---> Running in ef8eb408f653 [2021-06-23T06:50:54.432Z] Removing intermediate container ef8eb408f653 [2021-06-23T06:50:54.432Z] ---> c8a41ebc7c15 [2021-06-23T06:50:54.432Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-23T06:50:54.432Z] ---> Running in afd90c44ee87 [2021-06-23T06:50:55.033Z] Removing intermediate container afd90c44ee87 [2021-06-23T06:50:55.033Z] ---> e205a8f82db5 [2021-06-23T06:50:55.033Z] Step 21/23 : LABEL arch=arm64 [2021-06-23T06:50:55.033Z] ---> Running in 66f52da7c867 [2021-06-23T06:50:55.633Z] Removing intermediate container 66f52da7c867 [2021-06-23T06:50:55.633Z] ---> 2263d5eaca4b [2021-06-23T06:50:55.633Z] Step 22/23 : LABEL git_sha=a9711916546821b85f789b775b302967c7a417b7 [2021-06-23T06:50:55.633Z] ---> Running in 351c56679f05 [2021-06-23T06:50:56.238Z] Removing intermediate container 351c56679f05 [2021-06-23T06:50:56.238Z] ---> 42cd9f77f031 [2021-06-23T06:50:56.238Z] Step 23/23 : LABEL version=0.0.0 [2021-06-23T06:50:56.512Z] ---> Running in f64dc74a8f97 [2021-06-23T06:50:56.787Z] Removing intermediate container f64dc74a8f97 [2021-06-23T06:50:56.787Z] ---> fb31d290c7b8 [2021-06-23T06:50:56.787Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-23T06:50:57.063Z] Successfully built fb31d290c7b8 [2021-06-23T06:50:57.063Z] 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-23T06:50:57.722Z] ---> job-cost.sh [2021-06-23T06:50:57.722Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9RNt [2021-06-23T06:51:44.815Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-23T06:53:21.621Z] lf-activate-venv(): INFO: Adding /tmp/venv-9RNt/bin to PATH [2021-06-23T06:53:21.621Z] INFO: No Stack... [2021-06-23T06:53:21.621Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-23T06:53:21.621Z] INFO: Archiving Costs [Pipeline] sh [2021-06-23T06:53:21.966Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/5/archives/cost.csv [2021-06-23T06:53:21.966Z] [Pipeline] lock [2021-06-23T06:53:22.029Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-5-stack-cost] [2021-06-23T06:53:22.038Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-5-stack-cost] did not exist. Created. [2021-06-23T06:53:22.038Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-23T06:53:22.449Z] /w/workspace/device-sdk-go/5@tmp/durable-3ef63233/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-3ef63233/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-23T06:53:22.799Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-23T06:53:22.837Z] Warning: overwriting stash ‘stack-cost’ [2021-06-23T06:53:22.993Z] Stashed 1 file(s) [Pipeline] } [2021-06-23T06:53:23.005Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-5-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-23T06:53:23.865Z] provisioning config files... [2021-06-23T06:53:23.882Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config419219384716654448tmp [Pipeline] { [Pipeline] sh [2021-06-23T06:53:24.278Z] + set +x [2021-06-23T06:53:24.278Z] + curl -s https://codecov.io/bash [2021-06-23T06:53:24.278Z] + bash -s -- [2021-06-23T06:53:24.544Z] [2021-06-23T06:53:24.544Z] _____ _ [2021-06-23T06:53:24.544Z] / ____| | | [2021-06-23T06:53:24.544Z] | | ___ __| | ___ ___ _____ __ [2021-06-23T06:53:24.544Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-23T06:53:24.544Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-23T06:53:24.544Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-23T06:53:24.544Z] Bash-1.0.3 [2021-06-23T06:53:24.544Z] [2021-06-23T06:53:24.544Z] [2021-06-23T06:53:24.544Z] ==> git version 2.24.4 found [2021-06-23T06:53:24.544Z] ==> 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-23T06:53:24.544Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-23T06:53:24.544Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-23T06:53:24.544Z] ==> Jenkins CI detected. [2021-06-23T06:53:24.544Z] project root: . [2021-06-23T06:53:24.544Z] --> token set from env [2021-06-23T06:53:24.544Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-23T06:53:24.544Z] ==> Running gcov in . (disable via -X gcov) [2021-06-23T06:53:24.544Z] ==> Python coveragepy not found [2021-06-23T06:53:24.544Z] ==> Searching for coverage reports in: [2021-06-23T06:53:24.544Z] + . [2021-06-23T06:53:24.544Z] -> Found 1 reports [2021-06-23T06:53:24.544Z] ==> Detecting git/mercurial file structure [2021-06-23T06:53:24.544Z] ==> Reading reports [2021-06-23T06:53:24.544Z] + ./coverage.out bytes=125634 [2021-06-23T06:53:24.544Z] ==> Appending adjustments [2021-06-23T06:53:24.544Z] https://docs.codecov.io/docs/fixing-reports [2021-06-23T06:53:24.809Z] + Found adjustments [2021-06-23T06:53:24.809Z] ==> Gzipping contents [2021-06-23T06:53:24.809Z] 16K /tmp/codecov.ynohjo.gz [2021-06-23T06:53:24.809Z] ==> Uploading reports [2021-06-23T06:53:24.809Z] url: https://codecov.io [2021-06-23T06:53:24.809Z] query: branch=PR-971&commit=096f1b423498777b5a27bb35077ee60e2e09159a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-23T06:53:24.809Z] -> Pinging Codecov [2021-06-23T06:53:24.809Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=096f1b423498777b5a27bb35077ee60e2e09159a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-23T06:53:25.384Z] -> Uploading to [2021-06-23T06:53:25.384Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-23/7E55EF52A471D76F132DFD9A03CDDE97/096f1b423498777b5a27bb35077ee60e2e09159a/b87daac9-ef36-4f4e-ae2e-b3a721e44fa9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210623T065325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48343390d26d5c97b50a97e524b7604f32cd44b09d5fd40000a707881770a41a [2021-06-23T06:53:25.384Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-23T06:53:25.384Z] Dload Upload Total Spent Left Speed [2021-06-23T06:53:25.960Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16306 0 0 100 16306 0 30700 --:--:-- --:--:-- --:--:-- 30708 100 16306 0 0 100 16306 0 30692 --:--:-- --:--:-- --:--:-- 30650 [2021-06-23T06:53:25.960Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/096f1b423498777b5a27bb35077ee60e2e09159a [Pipeline] } [2021-06-23T06:53:25.976Z] 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-23T06:53:27.470Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:53:28.045Z] ---> package-listing.sh [2021-06-23T06:53:28.045Z] ++ facter osfamily [2021-06-23T06:53:28.045Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-23T06:53:28.307Z] + OS_FAMILY=redhat [2021-06-23T06:53:28.307Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-23T06:53:28.307Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-23T06:53:28.307Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-23T06:53:28.307Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-23T06:53:28.307Z] + PACKAGES=/tmp/packages_start.txt [2021-06-23T06:53:28.307Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-23T06:53:28.307Z] + PACKAGES=/tmp/packages_end.txt [2021-06-23T06:53:28.307Z] + case "${OS_FAMILY}" in [2021-06-23T06:53:28.307Z] + rpm -qa [2021-06-23T06:53:28.307Z] + sort [2021-06-23T06:53:28.895Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-23T06:53:28.895Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-23T06:53:28.895Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-23T06:53:28.895Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-23T06:53:28.895Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-23T06:53:28.895Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-06-23T06:53:29.171Z] 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-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-23T06:53:29.482Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:53:30.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T06:53:30.060Z] [2021-06-23T06:53:30.060Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:53:30.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T06:53:30.384Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-23T06:53:30.384Z] df20fa9351a1: Pulling fs layer [2021-06-23T06:53:30.384Z] 36b3adc4ff6f: Pulling fs layer [2021-06-23T06:53:30.384Z] 8ad3a11d3b57: Pulling fs layer [2021-06-23T06:53:30.384Z] 46f8f816bc3b: Pulling fs layer [2021-06-23T06:53:30.384Z] 93b61091891f: Pulling fs layer [2021-06-23T06:53:30.384Z] 93b9cdb0e59b: Pulling fs layer [2021-06-23T06:53:30.384Z] 5e14af77c1be: Pulling fs layer [2021-06-23T06:53:30.384Z] 01666e4c0597: Pulling fs layer [2021-06-23T06:53:30.384Z] aa168da1d23b: Pulling fs layer [2021-06-23T06:53:30.384Z] 93b9cdb0e59b: Waiting [2021-06-23T06:53:30.384Z] 5e14af77c1be: Waiting [2021-06-23T06:53:30.384Z] 01666e4c0597: Waiting [2021-06-23T06:53:30.384Z] aa168da1d23b: Waiting [2021-06-23T06:53:30.384Z] 46f8f816bc3b: Waiting [2021-06-23T06:53:30.384Z] 93b61091891f: Waiting [2021-06-23T06:53:30.384Z] 36b3adc4ff6f: Download complete [2021-06-23T06:53:30.384Z] 46f8f816bc3b: Verifying Checksum [2021-06-23T06:53:30.384Z] 46f8f816bc3b: Download complete [2021-06-23T06:53:30.384Z] df20fa9351a1: Verifying Checksum [2021-06-23T06:53:30.384Z] df20fa9351a1: Download complete [2021-06-23T06:53:30.646Z] 93b9cdb0e59b: Verifying Checksum [2021-06-23T06:53:30.646Z] 93b9cdb0e59b: Download complete [2021-06-23T06:53:30.646Z] 5e14af77c1be: Verifying Checksum [2021-06-23T06:53:30.646Z] 5e14af77c1be: Download complete [2021-06-23T06:53:30.646Z] 93b61091891f: Verifying Checksum [2021-06-23T06:53:30.646Z] 93b61091891f: Download complete [2021-06-23T06:53:30.646Z] 01666e4c0597: Verifying Checksum [2021-06-23T06:53:30.646Z] 01666e4c0597: Download complete [2021-06-23T06:53:30.646Z] df20fa9351a1: Pull complete [2021-06-23T06:53:30.914Z] 8ad3a11d3b57: Verifying Checksum [2021-06-23T06:53:30.914Z] 8ad3a11d3b57: Download complete [2021-06-23T06:53:30.914Z] 36b3adc4ff6f: Pull complete [2021-06-23T06:53:31.507Z] 8ad3a11d3b57: Pull complete [2021-06-23T06:53:31.507Z] 46f8f816bc3b: Pull complete [2021-06-23T06:53:32.093Z] 93b61091891f: Pull complete [2021-06-23T06:53:32.093Z] 93b9cdb0e59b: Pull complete [2021-06-23T06:53:32.093Z] 5e14af77c1be: Pull complete [2021-06-23T06:53:32.359Z] 01666e4c0597: Pull complete [2021-06-23T06:53:33.311Z] aa168da1d23b: Verifying Checksum [2021-06-23T06:53:33.311Z] aa168da1d23b: Download complete [2021-06-23T06:53:37.580Z] aa168da1d23b: Pull complete [2021-06-23T06:53:37.580Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-23T06:53:37.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T06:53:37.580Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-23T06:53:37.668Z] prd-centos7-docker-4c-2g-866 does not seem to be running inside a container [2021-06-23T06:53:37.713Z] $ 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-971/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-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-23T06:53:40.526Z] $ docker top 95a568597352189ed406b4ca39a3fea481ab9c5be0348e52e220ecb9e73c51c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T06:53:40.936Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-23T06:53:41.255Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-23T06:53:41.567Z] + ls /var/log/sa-host [2021-06-23T06:53:41.567Z] + sadf -c /var/log/sa-host/sa05 [2021-06-23T06:53:41.567Z] file_magic: OK [2021-06-23T06:53:41.567Z] HZ: Using current value: 100 [2021-06-23T06:53:41.567Z] file_header: OK [2021-06-23T06:53:41.567Z] 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-23T06:53:41.567Z] Statistics: [2021-06-23T06:53:41.567Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-23T06:53:41.567Z] File successfully converted to sysstat format version 12.2.1 [2021-06-23T06:53:41.567Z] + sadf -c /var/log/sa-host/sa23 [2021-06-23T06:53:41.567Z] file_magic: OK [2021-06-23T06:53:41.567Z] HZ: Using current value: 100 [2021-06-23T06:53:41.567Z] file_header: OK [2021-06-23T06:53:41.567Z] 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-23T06:53:41.567Z] Statistics: [2021-06-23T06:53:41.567Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-23T06:53:41.567Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T06:53:41.772Z] provisioning config files... [2021-06-23T06:53:41.788Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config1155070558828862975tmp [Pipeline] { [Pipeline] echo [2021-06-23T06:53:41.812Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:53:42.114Z] ---> create-netrc.sh [Pipeline] } [2021-06-23T06:53:42.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:53:42.507Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-23T06:53:42.518Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:53:42.820Z] ---> sudo-logs.sh [2021-06-23T06:53:42.820Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-23T06:53:42.859Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:53:43.167Z] ---> job-cost.sh [2021-06-23T06:53:43.167Z] lf-activate-venv: SKIPPING [2021-06-23T06:53:43.167Z] DEBUG: total: 0.18000000715255737 [2021-06-23T06:53:43.167Z] INFO: Retrieving Stack Cost... [2021-06-23T06:53:43.741Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-23T06:53:44.318Z] INFO: Archiving Costs [Pipeline] echo [2021-06-23T06:53:44.336Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:53:44.639Z] ---> logs-deploy.sh [2021-06-23T06:53:44.639Z] lf-activate-venv: SKIPPING [2021-06-23T06:53:44.639Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/5 [2021-06-23T06:53:44.639Z] INFO: archiving workspace using pattern(s): [2021-06-23T06:53:45.599Z] Archives upload complete. [2021-06-23T06:53:45.599Z] INFO: archiving logs to Nexus