cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8+e2f78a7fc6d2876aaa0827a5b4a872d89671b569 (9b356a60f71c6f373ac7b4f70503fc4efaa45398) 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-ssh8120026021349078615.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8976494598033748116.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-951/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-951/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5036268055132792969.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3963224594992030928.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-951/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-951/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2117095716645993273.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14 in /w/workspace/dgexfoundry_device-sdk-go_PR-951 [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-951 # 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-951@tmp/jenkins-gitclient-ssh1337938218249643534.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/jenkins-gitclient-ssh4151860258099442551.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/951/head:refs/remotes/origin/PR-951 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e2f78a7fc6d2876aaa0827a5b4a872d89671b569 into PR head commit 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 Merge succeeded, producing 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 Checking out Revision 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 (PR-951) > git config core.sparsecheckout # timeout=10 > git checkout -f 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/jenkins-gitclient-ssh1138503240212968948.key > git merge e2f78a7fc6d2876aaa0827a5b4a872d89671b569 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 # timeout=10 Commit message: "fix: Fix failing unit tests and configure DeviceSimple appropriatly" > git rev-list --no-walk 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-02T01:30:12.227Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-02T01:30:12.315Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-02T01:30:12.345Z] ========================================================= [2021-06-02T01:30:12.345Z] EdgeX Global Pipelines Version Info [2021-06-02T01:30:12.345Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-02T01:30:13.756Z] ------------------- [2021-06-02T01:30:13.756Z] stable info: [2021-06-02T01:30:13.756Z] ------------------- [2021-06-02T01:30:13.756Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-02T01:30:13.756Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-06-02T01:30:13.756Z] Message: update stable to v1.0.192 [2021-06-02T01:30:14.331Z] ------------------- [2021-06-02T01:30:14.331Z] experimental info: [2021-06-02T01:30:14.331Z] ------------------- [2021-06-02T01:30:14.331Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-02T01:30:14.331Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-06-02T01:30:14.331Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-02T01:30:14.453Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-02T01:30:14.478Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-02T01:30:14.502Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-02T01:30:14.527Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-02T01:30:14.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-02T01:30:14.609Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-02T01:30:14.634Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-02T01:30:14.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-02T01:30:14.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-02T01:30:14.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-02T01:30:14.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-02T01:30:14.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-02T01:30:14.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-02T01:30:14.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-02T01:30:14.841Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-02T01:30:14.866Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T01:30:14.893Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T01:30:14.918Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T01:30:14.943Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-02T01:30:14.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-02T01:30:14.995Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-02T01:30:15.020Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-02T01:30:15.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-02T01:30:15.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-02T01:30:15.116Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-02T01:30:15.141Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-02T01:30:15.166Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-951 [Pipeline] echo [2021-06-02T01:30:15.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-951 [Pipeline] echo [2021-06-02T01:30:15.218Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-951 [Pipeline] echo [2021-06-02T01:30:15.242Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 [Pipeline] echo [2021-06-02T01:30:15.267Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75bdf9f [Pipeline] echo [2021-06-02T01:30:15.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T01:30:15.364Z] provisioning config files... [2021-06-02T01:30:15.382Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/config2197163973554503353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T01:30:15.712Z] ---> docker-login.sh [2021-06-02T01:30:15.712Z] nexus3.edgexfoundry.org:10001 [2021-06-02T01:30:16.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:30:16.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:30:16.289Z] Configure a credential helper to remove this warning. See [2021-06-02T01:30:16.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:30:16.289Z] [2021-06-02T01:30:16.289Z] Login Succeeded [2021-06-02T01:30:16.289Z] nexus3.edgexfoundry.org:10002 [2021-06-02T01:30:16.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:30:16.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:30:16.582Z] Configure a credential helper to remove this warning. See [2021-06-02T01:30:16.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:30:16.582Z] [2021-06-02T01:30:16.582Z] Login Succeeded [2021-06-02T01:30:16.582Z] nexus3.edgexfoundry.org:10003 [2021-06-02T01:30:16.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:30:16.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:30:16.582Z] Configure a credential helper to remove this warning. See [2021-06-02T01:30:16.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:30:16.582Z] [2021-06-02T01:30:16.582Z] Login Succeeded [2021-06-02T01:30:16.582Z] nexus3.edgexfoundry.org:10004 [2021-06-02T01:30:16.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:30:16.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:30:16.859Z] Configure a credential helper to remove this warning. See [2021-06-02T01:30:16.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:30:16.859Z] [2021-06-02T01:30:16.859Z] Login Succeeded [2021-06-02T01:30:16.859Z] docker.io [2021-06-02T01:30:16.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:30:17.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:30:17.122Z] Configure a credential helper to remove this warning. See [2021-06-02T01:30:17.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:30:17.122Z] [2021-06-02T01:30:17.122Z] Login Succeeded [2021-06-02T01:30:17.122Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T01:30:17.134Z] 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-02T01:30:17.697Z] + git log --format=format:%s -1 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 [Pipeline] echo [2021-06-02T01:30:17.733Z] GIT_COMMIT: 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8, Commit Message: fix: Fix failing unit tests and configure DeviceSimple appropriatly [Pipeline] echo [2021-06-02T01:30:17.773Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:30:18.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T01:30:18.416Z] [2021-06-02T01:30:18.416Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:30:18.744Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T01:30:18.744Z] latest: Pulling from edgex-devops/git-semver [2021-06-02T01:30:18.744Z] 31603596830f: Pulling fs layer [2021-06-02T01:30:18.744Z] 54011a49482f: Pulling fs layer [2021-06-02T01:30:18.744Z] a6820b24f6d8: Pulling fs layer [2021-06-02T01:30:18.744Z] f581987b2513: Pulling fs layer [2021-06-02T01:30:18.744Z] f581987b2513: Waiting [2021-06-02T01:30:18.744Z] 54011a49482f: Verifying Checksum [2021-06-02T01:30:18.744Z] 54011a49482f: Download complete [2021-06-02T01:30:19.007Z] 31603596830f: Verifying Checksum [2021-06-02T01:30:19.007Z] 31603596830f: Download complete [2021-06-02T01:30:19.007Z] f581987b2513: Verifying Checksum [2021-06-02T01:30:19.007Z] f581987b2513: Download complete [2021-06-02T01:30:19.007Z] a6820b24f6d8: Verifying Checksum [2021-06-02T01:30:19.007Z] a6820b24f6d8: Download complete [2021-06-02T01:30:19.007Z] 31603596830f: Pull complete [2021-06-02T01:30:19.277Z] 54011a49482f: Pull complete [2021-06-02T01:30:19.870Z] a6820b24f6d8: Pull complete [2021-06-02T01:30:20.145Z] f581987b2513: Pull complete [2021-06-02T01:30:20.145Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-02T01:30:20.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T01:30:20.145Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-02T01:30:20.243Z] prd-centos7-docker-4c-2g-14 does not seem to be running inside a container [2021-06-02T01:30:20.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-951 -v /w/workspace/dgexfoundry_device-sdk-go_PR-951:/w/workspace/dgexfoundry_device-sdk-go_PR-951:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-02T01:30:23.895Z] $ docker top feadfd587d8ed9465554704160ad771662e84f7bad1c539cad7fa7bf414aefd8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-02T01:30:24.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T01:30:24.037Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T01:30:24.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T01:30:24.143Z] $ docker exec feadfd587d8ed9465554704160ad771662e84f7bad1c539cad7fa7bf414aefd8 ssh-agent [2021-06-02T01:30:24.256Z] SSH_AUTH_SOCK=/tmp/ssh-GvcMEcjZwnmc/agent.13 [2021-06-02T01:30:24.256Z] SSH_AGENT_PID=19 [2021-06-02T01:30:24.265Z] Running ssh-add (command line suppressed) [2021-06-02T01:30:24.359Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/private_key_7327639123157699148.key (/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/private_key_7327639123157699148.key) [2021-06-02T01:30:24.382Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T01:30:24.690Z] + git tag --points-at HEAD [Pipeline] } [2021-06-02T01:30:24.700Z] $ docker exec --env ******** --env ******** feadfd587d8ed9465554704160ad771662e84f7bad1c539cad7fa7bf414aefd8 ssh-agent -k [2021-06-02T01:30:24.795Z] unset SSH_AUTH_SOCK; [2021-06-02T01:30:24.795Z] unset SSH_AGENT_PID; [2021-06-02T01:30:24.795Z] echo Agent pid 19 killed; [2021-06-02T01:30:24.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-02T01:30:24.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T01:30:24.855Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T01:30:24.966Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T01:30:24.964Z] $ docker exec feadfd587d8ed9465554704160ad771662e84f7bad1c539cad7fa7bf414aefd8 ssh-agent [2021-06-02T01:30:25.083Z] SSH_AUTH_SOCK=/tmp/ssh-Jp295rsucDUn/agent.54 [2021-06-02T01:30:25.083Z] SSH_AGENT_PID=61 [2021-06-02T01:30:25.113Z] Running ssh-add (command line suppressed) [2021-06-02T01:30:25.206Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/private_key_6755318113230910505.key (/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/private_key_6755318113230910505.key) [2021-06-02T01:30:25.226Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T01:30:25.547Z] + git semver init [2021-06-02T01:30:25.547Z] # -> Open(): unable to determine branch for HEAD [2021-06-02T01:30:25.547Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-951/.git [2021-06-02T01:30:25.547Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-951 [2021-06-02T01:30:25.547Z] # $SEMVER_REMOTE_NAME = origin [2021-06-02T01:30:25.547Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-02T01:30:25.547Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-02T01:30:25.547Z] # $SEMVER_BRANCH = PR-951 [2021-06-02T01:30:25.547Z] # $SEMVER_TEMP = /tmp/semver-570663620 [2021-06-02T01:30:25.547Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-02T01:30:26.545Z] # '/tmp/semver-570663620' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-951/.semver' [2021-06-02T01:30:26.545Z] # -> Force: false [2021-06-02T01:30:26.545Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-951/.semver [Pipeline] } [2021-06-02T01:30:26.553Z] $ docker exec --env ******** --env ******** feadfd587d8ed9465554704160ad771662e84f7bad1c539cad7fa7bf414aefd8 ssh-agent -k [2021-06-02T01:30:26.665Z] unset SSH_AUTH_SOCK; [2021-06-02T01:30:26.665Z] unset SSH_AGENT_PID; [2021-06-02T01:30:26.665Z] echo Agent pid 61 killed; [2021-06-02T01:30:26.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-02T01:30:27.023Z] + git semver [Pipeline] } [2021-06-02T01:30:27.032Z] $ docker stop --time=1 feadfd587d8ed9465554704160ad771662e84f7bad1c539cad7fa7bf414aefd8 [2021-06-02T01:30:28.589Z] $ docker rm -f feadfd587d8ed9465554704160ad771662e84f7bad1c539cad7fa7bf414aefd8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T01:30:28.974Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-02T01:30:29.273Z] Stashed 1 file(s) [Pipeline] echo [2021-06-02T01:30:29.277Z] [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-02T01:30:44.531Z] Still waiting to schedule task [2021-06-02T01:30:44.532Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-02T01:30:44.534Z] Still waiting to schedule task [2021-06-02T01:30:44.534Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-12’ [2021-06-02T01:33:46.578Z] Running on prd-centos7-docker-4c-2g-19 in /w/workspace/dgexfoundry_device-sdk-go_PR-951 [Pipeline] { [Pipeline] ws [2021-06-02T01:33:46.598Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-02T01:33:46.727Z] Selected Git installation does not exist. Using Default [2021-06-02T01:33:46.727Z] The recommended git tool is: NONE [2021-06-02T01:33:49.045Z] using credential edgex-jenkins-ssh [2021-06-02T01:33:49.060Z] Cloning the remote Git repository [2021-06-02T01:33:48.779Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-02T01:33:48.867Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-02T01:33:48.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-02T01:33:48.922Z] > git --version # timeout=10 [2021-06-02T01:33:48.930Z] > git --version # 'git version 2.24.4' [2021-06-02T01:33:48.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T01:33:48.966Z] [INFO] Currently running in a labeled security context [2021-06-02T01:33:48.966Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T01:33:48.966Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh3440257476300263889.key [2021-06-02T01:33:48.976Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T01:33:49.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-02T01:33:49.752Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T01:33:50.489Z] Merging remotes/origin/master commit e2f78a7fc6d2876aaa0827a5b4a872d89671b569 into PR head commit 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 [2021-06-02T01:33:50.590Z] Merge succeeded, producing 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 [2021-06-02T01:33:50.590Z] Checking out Revision 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 (PR-951) [2021-06-02T01:33:49.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-02T01:33:49.786Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-02T01:33:49.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T01:33:49.787Z] [INFO] Currently running in a labeled security context [2021-06-02T01:33:49.787Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T01:33:49.787Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh4796923644244976502.key [2021-06-02T01:33:49.799Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/951/head:refs/remotes/origin/PR-951 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T01:33:50.315Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T01:33:50.323Z] > git checkout -f 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 # timeout=10 [2021-06-02T01:33:50.367Z] > git remote # timeout=10 [2021-06-02T01:33:50.377Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T01:33:50.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T01:33:50.386Z] [INFO] Currently running in a labeled security context [2021-06-02T01:33:50.386Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T01:33:50.386Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh6079998609595410653.key [2021-06-02T01:33:50.394Z] > git merge e2f78a7fc6d2876aaa0827a5b4a872d89671b569 # timeout=10 [2021-06-02T01:33:50.404Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T01:33:50.418Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T01:33:50.422Z] > git checkout -f 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 # timeout=10 [2021-06-02T01:33:54.047Z] Commit message: "fix: Fix failing unit tests and configure DeviceSimple appropriatly" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T01:33:55.086Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-02T01:33:55.423Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T01:33:55.722Z] + sudo service docker restart [2021-06-02T01:33:55.722Z] + true [2021-06-02T01:33:55.722Z] Redirecting to /bin/systemctl restart docker.service [2021-06-02T01:34:01.834Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17 in /w/workspace/dgexfoundry_device-sdk-go_PR-951 [Pipeline] { [Pipeline] ws [2021-06-02T01:34:01.851Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-02T01:34:02.068Z] Selected Git installation does not exist. Using Default [2021-06-02T01:34:02.068Z] The recommended git tool is: NONE [2021-06-02T01:34:07.314Z] using credential edgex-jenkins-ssh [2021-06-02T01:34:07.332Z] Cloning the remote Git repository [2021-06-02T01:34:07.416Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-02T01:34:07.519Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-02T01:34:07.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-02T01:34:07.606Z] > git --version # timeout=10 [2021-06-02T01:34:07.620Z] > git --version # 'git version 2.17.1' [2021-06-02T01:34:07.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T01:34:07.731Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T01:34:08.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-02T01:34:08.951Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T01:34:08.972Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-02T01:34:09.010Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-02T01:34:09.011Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T01:34:09.023Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/951/head:refs/remotes/origin/PR-951 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T01:34:09.649Z] Merging remotes/origin/master commit e2f78a7fc6d2876aaa0827a5b4a872d89671b569 into PR head commit 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 [2021-06-02T01:34:09.851Z] Merge succeeded, producing 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 [2021-06-02T01:34:09.852Z] Checking out Revision 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 (PR-951) [2021-06-02T01:34:09.661Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T01:34:09.673Z] > git checkout -f 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 # timeout=10 [2021-06-02T01:34:09.771Z] > git remote # timeout=10 [2021-06-02T01:34:09.786Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T01:34:09.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T01:34:09.806Z] > git merge e2f78a7fc6d2876aaa0827a5b4a872d89671b569 # timeout=10 [2021-06-02T01:34:09.827Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T01:34:09.852Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T01:34:09.862Z] > git checkout -f 75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T01:34:13.917Z] provisioning config files... [2021-06-02T01:34:13.940Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1290202988885389325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T01:34:14.130Z] Commit message: "fix: Fix failing unit tests and configure DeviceSimple appropriatly" [2021-06-02T01:34:14.274Z] ---> docker-login.sh [2021-06-02T01:34:14.274Z] nexus3.edgexfoundry.org:10001 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T01:34:14.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:34:14.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:34:14.545Z] Configure a credential helper to remove this warning. See [2021-06-02T01:34:14.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:34:14.545Z] [2021-06-02T01:34:14.545Z] Login Succeeded [2021-06-02T01:34:14.545Z] nexus3.edgexfoundry.org:10002 [2021-06-02T01:34:14.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:34:14.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:34:14.545Z] Configure a credential helper to remove this warning. See [2021-06-02T01:34:14.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:34:14.545Z] [2021-06-02T01:34:14.545Z] Login Succeeded [2021-06-02T01:34:14.545Z] nexus3.edgexfoundry.org:10003 [2021-06-02T01:34:14.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:34:14.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:34:14.808Z] Configure a credential helper to remove this warning. See [2021-06-02T01:34:14.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:34:14.808Z] [2021-06-02T01:34:14.808Z] Login Succeeded [2021-06-02T01:34:14.808Z] nexus3.edgexfoundry.org:10004 [2021-06-02T01:34:14.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:34:15.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:34:15.073Z] Configure a credential helper to remove this warning. See [2021-06-02T01:34:15.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:34:15.073Z] [2021-06-02T01:34:15.073Z] Login Succeeded [2021-06-02T01:34:15.073Z] docker.io [2021-06-02T01:34:15.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:34:15.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:34:15.335Z] Configure a credential helper to remove this warning. See [2021-06-02T01:34:15.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:34:15.335Z] [2021-06-02T01:34:15.335Z] Login Succeeded [2021-06-02T01:34:15.335Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T01:34:15.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-02T01:34:15.442Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] echo [2021-06-02T01:34:15.504Z] ========================================================= [2021-06-02T01:34:15.504Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-02T01:34:15.504Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-06-02T01:34:15.819Z] + 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-02T01:34:15.819Z] Sending build context to Docker daemon 2.639MB [2021-06-02T01:34:15.819Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T01:34:15.819Z] Step 2/8 : FROM ${BASE} [2021-06-02T01:34:15.901Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T01:34:16.083Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-02T01:34:16.083Z] 540db60ca938: Pulling fs layer [2021-06-02T01:34:16.083Z] adcc1eea9eea: Pulling fs layer [2021-06-02T01:34:16.083Z] 4c4ab2625f07: Pulling fs layer [2021-06-02T01:34:16.083Z] 0510c868ecb4: Pulling fs layer [2021-06-02T01:34:16.083Z] afea3b2eda06: Pulling fs layer [2021-06-02T01:34:16.083Z] 7809a108b3ef: Pulling fs layer [2021-06-02T01:34:16.083Z] f706445af74f: Pulling fs layer [2021-06-02T01:34:16.083Z] afea3b2eda06: Waiting [2021-06-02T01:34:16.083Z] 7809a108b3ef: Waiting [2021-06-02T01:34:16.083Z] f706445af74f: Waiting [2021-06-02T01:34:16.083Z] 0510c868ecb4: Waiting [2021-06-02T01:34:16.083Z] 4c4ab2625f07: Verifying Checksum [2021-06-02T01:34:16.083Z] 4c4ab2625f07: Download complete [2021-06-02T01:34:16.083Z] adcc1eea9eea: Verifying Checksum [2021-06-02T01:34:16.083Z] adcc1eea9eea: Download complete [2021-06-02T01:34:16.083Z] afea3b2eda06: Verifying Checksum [2021-06-02T01:34:16.083Z] afea3b2eda06: Download complete [2021-06-02T01:34:16.083Z] 7809a108b3ef: Verifying Checksum [2021-06-02T01:34:16.083Z] 7809a108b3ef: Download complete [2021-06-02T01:34:16.083Z] 540db60ca938: Verifying Checksum [2021-06-02T01:34:16.083Z] 540db60ca938: Download complete [2021-06-02T01:34:16.249Z] + true [2021-06-02T01:34:16.249Z] + sudo service docker restart [2021-06-02T01:34:16.348Z] 540db60ca938: Pull complete [2021-06-02T01:34:16.348Z] adcc1eea9eea: Pull complete [2021-06-02T01:34:16.633Z] 4c4ab2625f07: Pull complete [2021-06-02T01:34:17.577Z] f706445af74f: Verifying Checksum [2021-06-02T01:34:17.577Z] f706445af74f: Download complete [2021-06-02T01:34:17.841Z] 0510c868ecb4: Verifying Checksum [2021-06-02T01:34:17.841Z] 0510c868ecb4: Download complete [2021-06-02T01:34:21.165Z] 0510c868ecb4: Pull complete [2021-06-02T01:34:21.165Z] afea3b2eda06: Pull complete [2021-06-02T01:34:21.165Z] 7809a108b3ef: Pull complete [2021-06-02T01:34:22.566Z] f706445af74f: Pull complete [2021-06-02T01:34:22.566Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-02T01:34:22.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-02T01:34:22.566Z] ---> b068be0155e3 [2021-06-02T01:34:22.566Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-02T01:34:26.774Z] ---> Running in e10ead3844c0 [2021-06-02T01:34:26.775Z] Removing intermediate container e10ead3844c0 [2021-06-02T01:34:26.775Z] ---> 7a4ea558cd92 [2021-06-02T01:34:26.775Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T01:34:26.775Z] ---> Running in df80ecb126e8 [2021-06-02T01:34:27.035Z] Removing intermediate container df80ecb126e8 [2021-06-02T01:34:27.035Z] ---> 2cf88888170c [2021-06-02T01:34:27.035Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-02T01:34:27.035Z] ---> Running in 4a925ad4e574 [2021-06-02T01:34:27.295Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T01:34:28.251Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T01:34:28.824Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-02T01:34:28.824Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-02T01:34:28.824Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-02T01:34:29.084Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-02T01:34:29.084Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-02T01:34:29.084Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-02T01:34:29.351Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T01:34:29.351Z] OK: 150 MiB in 46 packages [2021-06-02T01:34:29.620Z] Removing intermediate container 4a925ad4e574 [2021-06-02T01:34:29.620Z] ---> ee29a2319f60 [2021-06-02T01:34:29.620Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-02T01:34:29.620Z] ---> Running in 2f33ea9e5b98 [2021-06-02T01:34:29.620Z] Removing intermediate container 2f33ea9e5b98 [2021-06-02T01:34:29.620Z] ---> 956553e9b429 [2021-06-02T01:34:29.620Z] Step 7/8 : COPY . . [2021-06-02T01:34:30.191Z] ---> af97b8627afb [2021-06-02T01:34:30.191Z] Step 8/8 : RUN go mod download [2021-06-02T01:34:30.191Z] ---> Running in db7e4079c4c6 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T01:34:34.583Z] provisioning config files... [2021-06-02T01:34:34.609Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1174822386235527526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T01:34:34.979Z] ---> docker-login.sh [2021-06-02T01:34:34.979Z] nexus3.edgexfoundry.org:10001 [2021-06-02T01:34:35.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:34:36.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:34:36.176Z] Configure a credential helper to remove this warning. See [2021-06-02T01:34:36.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:34:36.176Z] [2021-06-02T01:34:36.176Z] Login Succeeded [2021-06-02T01:34:36.176Z] nexus3.edgexfoundry.org:10002 [2021-06-02T01:34:36.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:34:36.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:34:36.732Z] Configure a credential helper to remove this warning. See [2021-06-02T01:34:36.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:34:36.732Z] [2021-06-02T01:34:36.732Z] Login Succeeded [2021-06-02T01:34:36.732Z] nexus3.edgexfoundry.org:10003 [2021-06-02T01:34:37.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:34:37.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:34:37.287Z] Configure a credential helper to remove this warning. See [2021-06-02T01:34:37.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:34:37.287Z] [2021-06-02T01:34:37.287Z] Login Succeeded [2021-06-02T01:34:37.287Z] nexus3.edgexfoundry.org:10004 [2021-06-02T01:34:37.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:34:37.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:34:37.830Z] Configure a credential helper to remove this warning. See [2021-06-02T01:34:37.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:34:37.830Z] [2021-06-02T01:34:37.830Z] Login Succeeded [2021-06-02T01:34:37.830Z] docker.io [2021-06-02T01:34:38.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T01:34:38.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T01:34:38.700Z] Configure a credential helper to remove this warning. See [2021-06-02T01:34:38.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T01:34:38.700Z] [2021-06-02T01:34:38.700Z] Login Succeeded [2021-06-02T01:34:38.701Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T01:34:38.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-02T01:34:39.048Z] ========================================================= [2021-06-02T01:34:39.048Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-02T01:34:39.048Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:34:39.414Z] + 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-02T01:34:40.021Z] Sending build context to Docker daemon 2.638MB [2021-06-02T01:34:40.021Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T01:34:40.021Z] Step 2/8 : FROM ${BASE} [2021-06-02T01:34:40.021Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-02T01:34:40.021Z] 595b0fe564bb: Pulling fs layer [2021-06-02T01:34:40.021Z] 7186ed65a4f7: Pulling fs layer [2021-06-02T01:34:40.021Z] 316046926c0a: Pulling fs layer [2021-06-02T01:34:40.021Z] 4ebd0625c992: Pulling fs layer [2021-06-02T01:34:40.021Z] 207e8628e3a3: Pulling fs layer [2021-06-02T01:34:40.021Z] c791037a9be2: Pulling fs layer [2021-06-02T01:34:40.021Z] ffd874e62e21: Pulling fs layer [2021-06-02T01:34:40.021Z] 4ebd0625c992: Waiting [2021-06-02T01:34:40.021Z] 207e8628e3a3: Waiting [2021-06-02T01:34:40.021Z] c791037a9be2: Waiting [2021-06-02T01:34:40.021Z] 316046926c0a: Verifying Checksum [2021-06-02T01:34:40.021Z] 316046926c0a: Download complete [2021-06-02T01:34:40.021Z] 7186ed65a4f7: Verifying Checksum [2021-06-02T01:34:40.021Z] 7186ed65a4f7: Download complete [2021-06-02T01:34:40.296Z] 207e8628e3a3: Verifying Checksum [2021-06-02T01:34:40.296Z] 207e8628e3a3: Download complete [2021-06-02T01:34:40.296Z] c791037a9be2: Download complete [2021-06-02T01:34:40.296Z] 595b0fe564bb: Verifying Checksum [2021-06-02T01:34:40.296Z] 595b0fe564bb: Download complete [2021-06-02T01:34:40.901Z] 595b0fe564bb: Pull complete [2021-06-02T01:34:41.521Z] 7186ed65a4f7: Pull complete [2021-06-02T01:34:41.804Z] 316046926c0a: Pull complete [2021-06-02T01:34:42.081Z] ffd874e62e21: Verifying Checksum [2021-06-02T01:34:42.081Z] ffd874e62e21: Download complete [2021-06-02T01:34:42.464Z] Removing intermediate container db7e4079c4c6 [2021-06-02T01:34:42.464Z] ---> 74981991c4da [2021-06-02T01:34:42.464Z] Successfully built 74981991c4da [2021-06-02T01:34:42.464Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:34:42.768Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T01:34:42.769Z] . [Pipeline] withDockerContainer [2021-06-02T01:34:42.848Z] prd-centos7-docker-4c-2g-19 does not seem to be running inside a container [2021-06-02T01:34:42.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-02T01:34:43.295Z] $ docker top 7fbd8e85cf326abcfb4c1257b2ea86f66d784f3101fc20a38cf84b57827680d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T01:34:43.509Z] 4ebd0625c992: Verifying Checksum [2021-06-02T01:34:43.509Z] 4ebd0625c992: Download complete [2021-06-02T01:34:43.689Z] + go version [2021-06-02T01:34:43.689Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-02T01:34:43.700Z] $ docker stop --time=1 7fbd8e85cf326abcfb4c1257b2ea86f66d784f3101fc20a38cf84b57827680d0 [2021-06-02T01:34:44.879Z] $ docker rm -f 7fbd8e85cf326abcfb4c1257b2ea86f66d784f3101fc20a38cf84b57827680d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:34:45.589Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T01:34:45.589Z] . [Pipeline] withDockerContainer [2021-06-02T01:34:45.663Z] prd-centos7-docker-4c-2g-19 does not seem to be running inside a container [2021-06-02T01:34:45.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-02T01:34:46.116Z] $ docker top e706ae0a0875890f04cf293749c072d62097f61e2938937d84034ac780c42f26 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T01:34:46.514Z] + go mod tidy [Pipeline] sh [2021-06-02T01:34:47.086Z] + make test [2021-06-02T01:34:47.086Z] go mod tidy [2021-06-02T01:34:47.086Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-02T01:34:52.409Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-02T01:34:53.678Z] 4ebd0625c992: Pull complete [2021-06-02T01:34:53.951Z] 207e8628e3a3: Pull complete [2021-06-02T01:34:54.571Z] c791037a9be2: Pull complete [2021-06-02T01:34:57.957Z] ffd874e62e21: Pull complete [2021-06-02T01:34:57.957Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-02T01:34:57.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-02T01:34:57.957Z] ---> cfc18b08335c [2021-06-02T01:34:57.957Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-02T01:34:59.926Z] ---> Running in 9d4a7d7dc5c7 [2021-06-02T01:35:00.204Z] Removing intermediate container 9d4a7d7dc5c7 [2021-06-02T01:35:00.204Z] ---> cf7962365874 [2021-06-02T01:35:00.204Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T01:35:00.204Z] ---> Running in 62e2d9607829 [2021-06-02T01:35:02.820Z] Removing intermediate container 62e2d9607829 [2021-06-02T01:35:02.820Z] ---> 9eeec29c684f [2021-06-02T01:35:02.820Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-02T01:35:02.820Z] ---> Running in 0a4d658f7b89 [2021-06-02T01:35:03.794Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-02T01:35:04.386Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-02T01:35:05.361Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-02T01:35:05.361Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-02T01:35:05.631Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-02T01:35:05.631Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-02T01:35:05.631Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-02T01:35:05.928Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-02T01:35:05.928Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T01:35:05.928Z] OK: 139 MiB in 46 packages [2021-06-02T01:35:07.359Z] Removing intermediate container 0a4d658f7b89 [2021-06-02T01:35:07.359Z] ---> a5db5b2d2e4b [2021-06-02T01:35:07.359Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-02T01:35:07.359Z] ---> Running in c3d74c2cddcd [2021-06-02T01:35:07.985Z] Removing intermediate container c3d74c2cddcd [2021-06-02T01:35:07.985Z] ---> f202d39f6071 [2021-06-02T01:35:07.985Z] Step 7/8 : COPY . . [2021-06-02T01:35:09.424Z] ---> d0cef3fc9108 [2021-06-02T01:35:09.424Z] Step 8/8 : RUN go mod download [2021-06-02T01:35:09.424Z] ---> Running in b93ace16c4dc [2021-06-02T01:35:14.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-02T01:35:14.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-02T01:35:14.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-02T01:35:17.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.059s coverage: 25.4% of statements [2021-06-02T01:35:17.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-02T01:35:17.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements [2021-06-02T01:35:17.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.060s coverage: 78.9% of statements [2021-06-02T01:35:17.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2021-06-02T01:35:17.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-02T01:35:17.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-02T01:35:17.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-02T01:35:18.593Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.056s coverage: 29.2% of statements [2021-06-02T01:35:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-02T01:35:19.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 83.3% of statements [2021-06-02T01:35:19.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-02T01:35:19.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-02T01:35:19.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 58.0% of statements [2021-06-02T01:35:20.576Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.828s coverage: 89.2% of statements [2021-06-02T01:35:20.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-02T01:35:20.836Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements [2021-06-02T01:35:20.836Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-02T01:35:20.836Z] GO111MODULE=on go vet ./... [2021-06-02T01:35:36.255Z] Removing intermediate container b93ace16c4dc [2021-06-02T01:35:36.255Z] ---> 639818befc31 [2021-06-02T01:35:36.255Z] Successfully built 639818befc31 [2021-06-02T01:35:36.255Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:35:36.610Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T01:35:36.610Z] . [Pipeline] withDockerContainer [2021-06-02T01:35:37.009Z] prd-ubuntu18.04-docker-arm64-4c-16g-17 does not seem to be running inside a container [2021-06-02T01:35:37.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-02T01:35:38.718Z] $ docker top 3586aa8ec562b0471af23e92a54aa6442fe4b4cf03b96900d7b7209817c26e87 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T01:35:39.105Z] gofmt -l . [2021-06-02T01:35:39.105Z] [ "`gofmt -l .`" = "" ] [2021-06-02T01:35:39.105Z] ./bin/test-attribution-txt.sh [2021-06-02T01:35:39.105Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-02T01:35:39.160Z] $ docker stop --time=1 e706ae0a0875890f04cf293749c072d62097f61e2938937d84034ac780c42f26 [2021-06-02T01:35:39.746Z] + go version [2021-06-02T01:35:39.746Z] go version go1.16.3 linux/arm64 [2021-06-02T01:35:40.756Z] $ docker rm -f e706ae0a0875890f04cf293749c072d62097f61e2938937d84034ac780c42f26 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-06-02T01:35:40.975Z] $ docker stop --time=1 3586aa8ec562b0471af23e92a54aa6442fe4b4cf03b96900d7b7209817c26e87 [2021-06-02T01:35:41.233Z] + sudo chown -R jenkins:jenkins . [2021-06-02T01:35:42.799Z] $ docker rm -f 3586aa8ec562b0471af23e92a54aa6442fe4b4cf03b96900d7b7209817c26e87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-06-02T01:35:43.241Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:35:43.686Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T01:35:43.686Z] . [Pipeline] sh [Pipeline] withDockerContainer [2021-06-02T01:35:44.306Z] prd-ubuntu18.04-docker-arm64-4c-16g-17 does not seem to be running inside a container [2021-06-02T01:35:44.332Z] + sudo chown -R jenkins:jenkins . [2021-06-02T01:35:44.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-02T01:35:46.050Z] $ docker top 6114312cb9ca97140563cd08eecf81e5e6e93c51fa3695c75b56fd7fdfc1317b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-02T01:35:46.626Z] + ls -al . [2021-06-02T01:35:46.626Z] total 208 [2021-06-02T01:35:46.626Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 2 01:35 . [2021-06-02T01:35:46.626Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 2 01:33 .. [2021-06-02T01:35:46.626Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 2 01:33 bin [2021-06-02T01:35:46.626Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 2 01:35 coverage.out [2021-06-02T01:35:46.626Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 2 01:33 Dockerfile.build [2021-06-02T01:35:46.626Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 2 01:33 .dockerignore [2021-06-02T01:35:46.626Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 2 01:33 example [2021-06-02T01:35:46.626Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 2 01:33 .git [2021-06-02T01:35:46.626Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 2 01:33 .github [2021-06-02T01:35:46.626Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 2 01:33 .gitignore [2021-06-02T01:35:46.626Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 2 01:35 go.mod [2021-06-02T01:35:46.626Z] -rw-r--r--. 1 jenkins jenkins 20381 Jun 2 01:34 go.sum [2021-06-02T01:35:46.626Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 2 01:33 internal [2021-06-02T01:35:46.626Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 2 01:33 Jenkinsfile [2021-06-02T01:35:46.626Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 2 01:33 LICENSE [2021-06-02T01:35:46.626Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 2 01:33 Makefile [2021-06-02T01:35:46.626Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 2 01:33 openapi [2021-06-02T01:35:46.626Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 2 01:33 pkg [2021-06-02T01:35:46.626Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 2 01:33 README.md [2021-06-02T01:35:46.626Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 2 01:33 RELEASE-NOTES.txt [2021-06-02T01:35:46.626Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 2 01:33 snap [2021-06-02T01:35:46.626Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 2 01:30 VERSION [2021-06-02T01:35:46.626Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 2 01:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:35:46.942Z] + 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=75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 --label arch=amd64 --label version=0.0.0 . [2021-06-02T01:35:46.942Z] Sending build context to Docker daemon 2.766MB [2021-06-02T01:35:46.942Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T01:35:46.942Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-02T01:35:46.942Z] ---> 74981991c4da [2021-06-02T01:35:46.942Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-02T01:35:46.942Z] ---> Running in 1d8457326de6 [2021-06-02T01:35:47.018Z] + go mod tidy [2021-06-02T01:35:47.206Z] Removing intermediate container 1d8457326de6 [2021-06-02T01:35:47.206Z] ---> 42cc45ba89d0 [2021-06-02T01:35:47.206Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-02T01:35:47.206Z] ---> Running in 3724a75397fb [2021-06-02T01:35:47.206Z] Removing intermediate container 3724a75397fb [2021-06-02T01:35:47.206Z] ---> 76e798796937 [2021-06-02T01:35:47.206Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T01:35:47.206Z] ---> Running in e5db73ca0e93 [Pipeline] sh [2021-06-02T01:35:47.780Z] Removing intermediate container e5db73ca0e93 [2021-06-02T01:35:47.780Z] ---> 0b89d58d2125 [2021-06-02T01:35:47.780Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-02T01:35:47.780Z] ---> Running in 5891b3681a52 [2021-06-02T01:35:48.044Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T01:35:48.285Z] + make test [2021-06-02T01:35:48.285Z] go mod tidy [2021-06-02T01:35:48.886Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-02T01:35:48.986Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T01:35:49.249Z] OK: 150 MiB in 46 packages [2021-06-02T01:35:49.524Z] Removing intermediate container 5891b3681a52 [2021-06-02T01:35:49.524Z] ---> 86998c579e9a [2021-06-02T01:35:49.524Z] Step 7/23 : COPY . . [2021-06-02T01:35:49.786Z] ---> 4833648a0acd [2021-06-02T01:35:49.786Z] Step 8/23 : RUN go mod download [2021-06-02T01:35:49.786Z] ---> Running in a08e2a2f513e [2021-06-02T01:35:50.368Z] Removing intermediate container a08e2a2f513e [2021-06-02T01:35:50.368Z] ---> 0dc77a80cfb0 [2021-06-02T01:35:50.368Z] Step 9/23 : RUN make build [2021-06-02T01:35:50.368Z] ---> Running in 70199cda932b [2021-06-02T01:35:50.631Z] go mod tidy [2021-06-02T01:35:50.893Z] 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-02T01:36:01.042Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-02T01:36:02.007Z] Removing intermediate container 70199cda932b [2021-06-02T01:36:02.007Z] ---> 7285619c8d68 [2021-06-02T01:36:02.007Z] Step 10/23 : FROM alpine:3.12 [2021-06-02T01:36:02.590Z] 3.12: Pulling from library/alpine [2021-06-02T01:36:02.854Z] 339de151aab4: Pulling fs layer [2021-06-02T01:36:02.854Z] 339de151aab4: Verifying Checksum [2021-06-02T01:36:02.854Z] 339de151aab4: Download complete [2021-06-02T01:36:03.161Z] 339de151aab4: Pull complete [2021-06-02T01:36:03.161Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-02T01:36:03.161Z] Status: Downloaded newer image for alpine:3.12 [2021-06-02T01:36:03.162Z] ---> 13621d1b12d4 [2021-06-02T01:36:03.162Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-02T01:36:03.162Z] ---> Running in a115c5d90baa [2021-06-02T01:36:03.425Z] Removing intermediate container a115c5d90baa [2021-06-02T01:36:03.425Z] ---> d7aef5b800a7 [2021-06-02T01:36:03.425Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T01:36:03.425Z] ---> Running in 841d74441e84 [2021-06-02T01:36:03.689Z] Removing intermediate container 841d74441e84 [2021-06-02T01:36:03.690Z] ---> a2f3f4f6ae57 [2021-06-02T01:36:03.690Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-02T01:36:03.953Z] ---> Running in 059f2149c463 [2021-06-02T01:36:04.216Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-02T01:36:04.789Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-02T01:36:05.050Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-02T01:36:05.314Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-02T01:36:05.314Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-02T01:36:06.257Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-02T01:36:06.257Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-02T01:36:06.518Z] Executing busybox-1.31.1-r20.trigger [2021-06-02T01:36:06.518Z] OK: 8 MiB in 19 packages [2021-06-02T01:36:06.787Z] Removing intermediate container 059f2149c463 [2021-06-02T01:36:06.787Z] ---> 701c32dfd000 [2021-06-02T01:36:06.787Z] Step 14/23 : WORKDIR / [2021-06-02T01:36:06.787Z] ---> Running in 0a42262f2c9c [2021-06-02T01:36:06.787Z] Removing intermediate container 0a42262f2c9c [2021-06-02T01:36:06.787Z] ---> cf62afd33428 [2021-06-02T01:36:06.787Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-02T01:36:07.053Z] ---> d73f890440a1 [2021-06-02T01:36:07.053Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-02T01:36:07.628Z] ---> 6f01c02f09f4 [2021-06-02T01:36:07.628Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-02T01:36:07.628Z] ---> 71badd492fbe [2021-06-02T01:36:07.628Z] Step 18/23 : EXPOSE 59999 [2021-06-02T01:36:07.628Z] ---> Running in 59e5a477c95c [2021-06-02T01:36:07.628Z] Removing intermediate container 59e5a477c95c [2021-06-02T01:36:07.628Z] ---> 03f4ba2377cc [2021-06-02T01:36:07.628Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-02T01:36:07.889Z] ---> Running in a241c8433e07 [2021-06-02T01:36:07.889Z] Removing intermediate container a241c8433e07 [2021-06-02T01:36:07.889Z] ---> 476da90fbfa1 [2021-06-02T01:36:07.889Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-02T01:36:07.889Z] ---> Running in 7f522fb70d54 [2021-06-02T01:36:07.889Z] Removing intermediate container 7f522fb70d54 [2021-06-02T01:36:07.889Z] ---> a16d1867a17c [2021-06-02T01:36:07.889Z] Step 21/23 : LABEL arch=amd64 [2021-06-02T01:36:07.889Z] ---> Running in 366d808cfc02 [2021-06-02T01:36:08.153Z] Removing intermediate container 366d808cfc02 [2021-06-02T01:36:08.153Z] ---> 1cfeb2d49163 [2021-06-02T01:36:08.153Z] Step 22/23 : LABEL git_sha=75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 [2021-06-02T01:36:08.153Z] ---> Running in 31ac361beb7d [2021-06-02T01:36:08.153Z] Removing intermediate container 31ac361beb7d [2021-06-02T01:36:08.153Z] ---> 619443c8a8cc [2021-06-02T01:36:08.153Z] Step 23/23 : LABEL version=0.0.0 [2021-06-02T01:36:08.153Z] ---> Running in 9961e8000714 [2021-06-02T01:36:08.415Z] Removing intermediate container 9961e8000714 [2021-06-02T01:36:08.415Z] ---> 02209ab921c6 [2021-06-02T01:36:08.415Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-02T01:36:08.415Z] Successfully built 02209ab921c6 [2021-06-02T01:36:08.415Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [2021-06-02T01:36:13.636Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [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-02T01:36:14.988Z] ---> job-cost.sh [2021-06-02T01:36:14.988Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nmat [2021-06-02T01:36:25.031Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T01:36:37.410Z] lf-activate-venv(): INFO: Adding /tmp/venv-nmat/bin to PATH [2021-06-02T01:36:37.410Z] INFO: No Stack... [2021-06-02T01:36:38.354Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T01:36:38.940Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T01:36:39.254Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-06-02T01:36:39.254Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T01:36:39.295Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-951-4-stack-cost] [2021-06-02T01:36:39.309Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-951-4-stack-cost] did not exist. Created. [2021-06-02T01:36:39.312Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-951-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T01:36:39.663Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-02T01:36:39.737Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T01:36:39.750Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-951-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-02T01:37:21.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-02T01:37:21.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-02T01:37:21.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-02T01:37:26.092Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.314s coverage: 25.4% of statements [2021-06-02T01:37:26.092Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-02T01:37:26.092Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.252s coverage: 28.1% of statements [2021-06-02T01:37:26.092Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.268s coverage: 78.9% of statements [2021-06-02T01:37:26.092Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.212s coverage: 9.0% of statements [2021-06-02T01:37:26.092Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-02T01:37:26.092Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-02T01:37:26.092Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-02T01:37:28.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.311s coverage: 29.2% of statements [2021-06-02T01:37:28.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-02T01:37:29.352Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.240s coverage: 83.3% of statements [2021-06-02T01:37:29.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-02T01:37:29.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-02T01:37:29.352Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.346s coverage: 58.0% of statements [2021-06-02T01:37:32.773Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.108s coverage: 89.2% of statements [2021-06-02T01:37:32.773Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-02T01:37:32.773Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.178s coverage: 5.0% of statements [2021-06-02T01:37:32.773Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-02T01:37:33.373Z] GO111MODULE=on go vet ./... [2021-06-02T01:38:29.992Z] gofmt -l . [2021-06-02T01:38:29.992Z] [ "`gofmt -l .`" = "" ] [2021-06-02T01:38:29.992Z] ./bin/test-attribution-txt.sh [2021-06-02T01:38:29.992Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-02T01:38:30.011Z] $ docker stop --time=1 6114312cb9ca97140563cd08eecf81e5e6e93c51fa3695c75b56fd7fdfc1317b [2021-06-02T01:38:32.031Z] $ docker rm -f 6114312cb9ca97140563cd08eecf81e5e6e93c51fa3695c75b56fd7fdfc1317b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T01:38:33.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T01:38:33.142Z] Warning: overwriting stash ‘coverage-report’ [2021-06-02T01:38:33.734Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T01:38:34.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-02T01:38:34.597Z] + ls -al . [2021-06-02T01:38:34.597Z] total 244 [2021-06-02T01:38:34.597Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 01:38 . [2021-06-02T01:38:34.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 01:34 .. [2021-06-02T01:38:34.597Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 2 01:34 .dockerignore [2021-06-02T01:38:34.597Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 01:34 .git [2021-06-02T01:38:34.597Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 01:34 .github [2021-06-02T01:38:34.597Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 2 01:34 .gitignore [2021-06-02T01:38:34.597Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 2 01:34 Dockerfile.build [2021-06-02T01:38:34.597Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 2 01:34 Jenkinsfile [2021-06-02T01:38:34.597Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 2 01:34 LICENSE [2021-06-02T01:38:34.597Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 2 01:34 Makefile [2021-06-02T01:38:34.597Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 2 01:34 README.md [2021-06-02T01:38:34.597Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 2 01:34 RELEASE-NOTES.txt [2021-06-02T01:38:34.597Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 01:30 VERSION [2021-06-02T01:38:34.597Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 01:34 bin [2021-06-02T01:38:34.597Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 2 01:37 coverage.out [2021-06-02T01:38:34.597Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 01:34 example [2021-06-02T01:38:34.597Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 2 01:38 go.mod [2021-06-02T01:38:34.597Z] -rw-r--r-- 1 jenkins jenkins 20381 Jun 2 01:35 go.sum [2021-06-02T01:38:34.597Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 2 01:34 internal [2021-06-02T01:38:34.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 01:34 openapi [2021-06-02T01:38:34.597Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 01:34 pkg [2021-06-02T01:38:34.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 01:34 snap [2021-06-02T01:38:34.597Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 2 01:34 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:38:34.942Z] + 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=75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 --label arch=arm64 --label version=0.0.0 . [2021-06-02T01:38:35.539Z] Sending build context to Docker daemon 2.765MB [2021-06-02T01:38:35.539Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T01:38:35.539Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-02T01:38:35.539Z] ---> 639818befc31 [2021-06-02T01:38:35.539Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-02T01:38:35.810Z] ---> Running in bbb9c3c0dc21 [2021-06-02T01:38:36.085Z] Removing intermediate container bbb9c3c0dc21 [2021-06-02T01:38:36.085Z] ---> cf15fa546b3f [2021-06-02T01:38:36.085Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-02T01:38:36.357Z] ---> Running in ee9385c6f094 [2021-06-02T01:38:36.957Z] Removing intermediate container ee9385c6f094 [2021-06-02T01:38:36.957Z] ---> 92cb7bcfd129 [2021-06-02T01:38:36.957Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T01:38:36.957Z] ---> Running in bb9c3c68538b [2021-06-02T01:38:38.945Z] Removing intermediate container bb9c3c68538b [2021-06-02T01:38:38.945Z] ---> 2458bda4695a [2021-06-02T01:38:38.945Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-02T01:38:39.222Z] ---> Running in 4e394689edf6 [2021-06-02T01:38:40.653Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-02T01:38:41.246Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-02T01:38:42.221Z] OK: 139 MiB in 46 packages [2021-06-02T01:38:43.199Z] Removing intermediate container 4e394689edf6 [2021-06-02T01:38:43.199Z] ---> bea77d5771db [2021-06-02T01:38:43.199Z] Step 7/23 : COPY . . [2021-06-02T01:38:44.628Z] ---> 45f18d1223d6 [2021-06-02T01:38:44.628Z] Step 8/23 : RUN go mod download [2021-06-02T01:38:44.902Z] ---> Running in 13753ab9b384 [2021-06-02T01:38:46.892Z] Removing intermediate container 13753ab9b384 [2021-06-02T01:38:46.892Z] ---> 958d2c2d0263 [2021-06-02T01:38:46.892Z] Step 9/23 : RUN make build [2021-06-02T01:38:47.165Z] ---> Running in 61dbb42b83c2 [2021-06-02T01:38:48.615Z] go mod tidy [2021-06-02T01:38:48.890Z] 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-02T01:39:21.298Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-02T01:39:23.920Z] Removing intermediate container 61dbb42b83c2 [2021-06-02T01:39:23.920Z] ---> 5f612d7112ec [2021-06-02T01:39:23.920Z] Step 10/23 : FROM alpine:3.12 [2021-06-02T01:39:24.195Z] 3.12: Pulling from library/alpine [2021-06-02T01:39:24.470Z] d2f70382dc9a: Pulling fs layer [2021-06-02T01:39:24.745Z] d2f70382dc9a: Download complete [2021-06-02T01:39:25.341Z] d2f70382dc9a: Pull complete [2021-06-02T01:39:25.341Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-02T01:39:25.341Z] Status: Downloaded newer image for alpine:3.12 [2021-06-02T01:39:25.341Z] ---> 9852663dfa18 [2021-06-02T01:39:25.341Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-02T01:39:25.613Z] ---> Running in fe673fbaa98a [2021-06-02T01:39:26.205Z] Removing intermediate container fe673fbaa98a [2021-06-02T01:39:26.205Z] ---> 25842ae7254f [2021-06-02T01:39:26.205Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T01:39:26.205Z] ---> Running in aa5f0c3f09ea [2021-06-02T01:39:28.833Z] Removing intermediate container aa5f0c3f09ea [2021-06-02T01:39:28.833Z] ---> be464bb5caed [2021-06-02T01:39:28.833Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-02T01:39:28.833Z] ---> Running in fa1749d23770 [2021-06-02T01:39:29.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-02T01:39:30.408Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-02T01:39:31.016Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-02T01:39:31.016Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-02T01:39:31.016Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-02T01:39:31.291Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-02T01:39:31.291Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-02T01:39:31.291Z] Executing busybox-1.31.1-r20.trigger [2021-06-02T01:39:31.291Z] OK: 8 MiB in 19 packages [2021-06-02T01:39:32.740Z] Removing intermediate container fa1749d23770 [2021-06-02T01:39:32.740Z] ---> e3bc6611c1c7 [2021-06-02T01:39:32.740Z] Step 14/23 : WORKDIR / [2021-06-02T01:39:32.740Z] ---> Running in 85fb1a32f7ed [2021-06-02T01:39:33.334Z] Removing intermediate container 85fb1a32f7ed [2021-06-02T01:39:33.334Z] ---> 3f9532e808ba [2021-06-02T01:39:33.334Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-02T01:39:33.932Z] ---> 748ac9998089 [2021-06-02T01:39:33.932Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-02T01:39:35.367Z] ---> f07879f6d732 [2021-06-02T01:39:35.367Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-02T01:39:35.968Z] ---> 1da2960c717c [2021-06-02T01:39:35.968Z] Step 18/23 : EXPOSE 59999 [2021-06-02T01:39:36.244Z] ---> Running in b8631d55d0da [2021-06-02T01:39:36.841Z] Removing intermediate container b8631d55d0da [2021-06-02T01:39:36.841Z] ---> 550ced9a5a64 [2021-06-02T01:39:36.841Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-02T01:39:36.841Z] ---> Running in 87b6a097cb58 [2021-06-02T01:39:37.440Z] Removing intermediate container 87b6a097cb58 [2021-06-02T01:39:37.441Z] ---> e749fbb02b95 [2021-06-02T01:39:37.441Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-02T01:39:37.441Z] ---> Running in c8891a349f14 [2021-06-02T01:39:38.039Z] Removing intermediate container c8891a349f14 [2021-06-02T01:39:38.039Z] ---> c74a797d3aba [2021-06-02T01:39:38.039Z] Step 21/23 : LABEL arch=arm64 [2021-06-02T01:39:38.039Z] ---> Running in 91119bc4526b [2021-06-02T01:39:38.641Z] Removing intermediate container 91119bc4526b [2021-06-02T01:39:38.641Z] ---> b3b0cee998fa [2021-06-02T01:39:38.641Z] Step 22/23 : LABEL git_sha=75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 [2021-06-02T01:39:38.641Z] ---> Running in d808c3de0a03 [2021-06-02T01:39:39.237Z] Removing intermediate container d808c3de0a03 [2021-06-02T01:39:39.237Z] ---> 7afe16ca39c9 [2021-06-02T01:39:39.237Z] Step 23/23 : LABEL version=0.0.0 [2021-06-02T01:39:39.237Z] ---> Running in 7ea013d09b7d [2021-06-02T01:39:39.828Z] Removing intermediate container 7ea013d09b7d [2021-06-02T01:39:39.828Z] ---> d173eacaa234 [2021-06-02T01:39:39.828Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-02T01:39:39.828Z] Successfully built d173eacaa234 [2021-06-02T01:39:39.828Z] 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-02T01:39:40.423Z] ---> job-cost.sh [2021-06-02T01:39:40.423Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BE5q [2021-06-02T01:40:19.396Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T01:41:41.203Z] lf-activate-venv(): INFO: Adding /tmp/venv-BE5q/bin to PATH [2021-06-02T01:41:41.203Z] INFO: No Stack... [2021-06-02T01:41:41.203Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-02T01:41:41.474Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T01:41:41.819Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-06-02T01:41:41.819Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T01:41:41.882Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-951-4-stack-cost] [2021-06-02T01:41:41.890Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-951-4-stack-cost] did not exist. Created. [2021-06-02T01:41:41.890Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-951-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T01:41:42.256Z] /w/workspace/device-sdk-go/4@tmp/durable-1a44d545/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-1a44d545/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-02T01:41:42.601Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-02T01:41:42.633Z] Warning: overwriting stash ‘stack-cost’ [2021-06-02T01:41:42.798Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T01:41:42.809Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-951-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-02T01:41:44.403Z] provisioning config files... [2021-06-02T01:41:44.414Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/config2595106402534904489tmp [Pipeline] { [Pipeline] sh [2021-06-02T01:41:44.747Z] + set +x [2021-06-02T01:41:44.747Z] + curl -s https://codecov.io/bash [2021-06-02T01:41:44.747Z] + bash -s -- [2021-06-02T01:41:44.747Z] [2021-06-02T01:41:44.747Z] _____ _ [2021-06-02T01:41:44.747Z] / ____| | | [2021-06-02T01:41:44.747Z] | | ___ __| | ___ ___ _____ __ [2021-06-02T01:41:44.747Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-02T01:41:44.747Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-02T01:41:44.747Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-02T01:41:44.747Z] Bash-1.0.3 [2021-06-02T01:41:44.747Z] [2021-06-02T01:41:44.747Z] [2021-06-02T01:41:44.747Z] ==> git version 2.24.4 found [2021-06-02T01:41:44.747Z] ==> 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-02T01:41:44.747Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-02T01:41:44.747Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-02T01:41:44.747Z] ==> Jenkins CI detected. [2021-06-02T01:41:44.747Z] project root: . [2021-06-02T01:41:44.747Z] --> token set from env [2021-06-02T01:41:44.747Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-02T01:41:45.015Z] ==> Running gcov in . (disable via -X gcov) [2021-06-02T01:41:45.015Z] ==> Python coveragepy not found [2021-06-02T01:41:45.015Z] ==> Searching for coverage reports in: [2021-06-02T01:41:45.015Z] + . [2021-06-02T01:41:45.015Z] -> Found 1 reports [2021-06-02T01:41:45.015Z] ==> Detecting git/mercurial file structure [2021-06-02T01:41:45.015Z] ==> Reading reports [2021-06-02T01:41:45.015Z] + ./coverage.out bytes=126071 [2021-06-02T01:41:45.015Z] ==> Appending adjustments [2021-06-02T01:41:45.015Z] https://docs.codecov.io/docs/fixing-reports [2021-06-02T01:41:45.277Z] + Found adjustments [2021-06-02T01:41:45.277Z] ==> Gzipping contents [2021-06-02T01:41:45.277Z] 20K /tmp/codecov.lVis5d.gz [2021-06-02T01:41:45.277Z] ==> Uploading reports [2021-06-02T01:41:45.277Z] url: https://codecov.io [2021-06-02T01:41:45.277Z] query: branch=PR-951&commit=75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-951%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=951&job=&cmd_args= [2021-06-02T01:41:45.277Z] -> Pinging Codecov [2021-06-02T01:41:45.277Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-951&commit=75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-951%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=951&job=&cmd_args= [2021-06-02T01:41:45.852Z] -> Uploading to [2021-06-02T01:41:45.852Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-02/7E55EF52A471D76F132DFD9A03CDDE97/75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8/66238bb1-cd6f-457e-867c-5df313d35788.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210602T014145Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6541b67ba5c508c45d4011d1b4b3cabb820cf28a21da205b1cf65f8e52446bd5 [2021-06-02T01:41:45.852Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-02T01:41:45.852Z] Dload Upload Total Spent Left Speed [2021-06-02T01:41:46.113Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16431 0 0 100 16431 0 47024 --:--:-- --:--:-- --:--:-- 47080 [2021-06-02T01:41:46.113Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/75bdf9fa41be5d93b5d7cf29f78e169a64f7e4d8 [Pipeline] } [2021-06-02T01:41:46.123Z] 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-02T01:41:47.669Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T01:41:48.247Z] ---> package-listing.sh [2021-06-02T01:41:48.247Z] ++ facter osfamily [2021-06-02T01:41:48.247Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-02T01:41:48.517Z] + OS_FAMILY=redhat [2021-06-02T01:41:48.517Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-951 [2021-06-02T01:41:48.517Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-02T01:41:48.517Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-02T01:41:48.517Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-02T01:41:48.517Z] + PACKAGES=/tmp/packages_start.txt [2021-06-02T01:41:48.517Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-951 ']' [2021-06-02T01:41:48.517Z] + PACKAGES=/tmp/packages_end.txt [2021-06-02T01:41:48.517Z] + case "${OS_FAMILY}" in [2021-06-02T01:41:48.517Z] + sort [2021-06-02T01:41:48.517Z] + rpm -qa [2021-06-02T01:41:49.090Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-02T01:41:49.090Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-02T01:41:49.090Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-02T01:41:49.090Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-951 ']' [2021-06-02T01:41:49.090Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-951/archives/ [2021-06-02T01:41:49.090Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-951/archives/ [Pipeline] echo [2021-06-02T01:41:49.104Z] 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-951/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-02T01:41:49.403Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:41:49.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T01:41:49.980Z] [2021-06-02T01:41:49.980Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-02T01:41:50.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T01:41:50.293Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-02T01:41:50.293Z] df20fa9351a1: Pulling fs layer [2021-06-02T01:41:50.293Z] 36b3adc4ff6f: Pulling fs layer [2021-06-02T01:41:50.293Z] 8ad3a11d3b57: Pulling fs layer [2021-06-02T01:41:50.293Z] 46f8f816bc3b: Pulling fs layer [2021-06-02T01:41:50.293Z] 93b61091891f: Pulling fs layer [2021-06-02T01:41:50.293Z] 93b9cdb0e59b: Pulling fs layer [2021-06-02T01:41:50.293Z] 5e14af77c1be: Pulling fs layer [2021-06-02T01:41:50.293Z] 01666e4c0597: Pulling fs layer [2021-06-02T01:41:50.293Z] aa168da1d23b: Pulling fs layer [2021-06-02T01:41:50.293Z] 93b61091891f: Waiting [2021-06-02T01:41:50.293Z] 93b9cdb0e59b: Waiting [2021-06-02T01:41:50.293Z] 5e14af77c1be: Waiting [2021-06-02T01:41:50.293Z] 01666e4c0597: Waiting [2021-06-02T01:41:50.293Z] aa168da1d23b: Waiting [2021-06-02T01:41:50.293Z] 46f8f816bc3b: Waiting [2021-06-02T01:41:50.293Z] 36b3adc4ff6f: Verifying Checksum [2021-06-02T01:41:50.293Z] 36b3adc4ff6f: Download complete [2021-06-02T01:41:50.555Z] 46f8f816bc3b: Verifying Checksum [2021-06-02T01:41:50.555Z] 46f8f816bc3b: Download complete [2021-06-02T01:41:50.555Z] df20fa9351a1: Download complete [2021-06-02T01:41:50.555Z] 93b9cdb0e59b: Verifying Checksum [2021-06-02T01:41:50.555Z] 93b9cdb0e59b: Download complete [2021-06-02T01:41:50.555Z] 5e14af77c1be: Verifying Checksum [2021-06-02T01:41:50.555Z] 5e14af77c1be: Download complete [2021-06-02T01:41:50.555Z] 93b61091891f: Verifying Checksum [2021-06-02T01:41:50.555Z] 93b61091891f: Download complete [2021-06-02T01:41:50.555Z] 01666e4c0597: Verifying Checksum [2021-06-02T01:41:50.555Z] 01666e4c0597: Download complete [2021-06-02T01:41:50.555Z] 8ad3a11d3b57: Verifying Checksum [2021-06-02T01:41:50.555Z] 8ad3a11d3b57: Download complete [2021-06-02T01:41:50.821Z] df20fa9351a1: Pull complete [2021-06-02T01:41:50.821Z] 36b3adc4ff6f: Pull complete [2021-06-02T01:41:51.421Z] 8ad3a11d3b57: Pull complete [2021-06-02T01:41:51.694Z] 46f8f816bc3b: Pull complete [2021-06-02T01:41:51.960Z] 93b61091891f: Pull complete [2021-06-02T01:41:52.222Z] 93b9cdb0e59b: Pull complete [2021-06-02T01:41:52.222Z] aa168da1d23b: Verifying Checksum [2021-06-02T01:41:52.222Z] aa168da1d23b: Download complete [2021-06-02T01:41:52.222Z] 5e14af77c1be: Pull complete [2021-06-02T01:41:52.488Z] 01666e4c0597: Pull complete [2021-06-02T01:41:56.799Z] aa168da1d23b: Pull complete [2021-06-02T01:41:56.799Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-02T01:41:56.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T01:41:56.799Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-02T01:41:56.876Z] prd-centos7-docker-4c-2g-14 does not seem to be running inside a container [2021-06-02T01:41:56.915Z] $ 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-951/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-951 -v /w/workspace/dgexfoundry_device-sdk-go_PR-951:/w/workspace/dgexfoundry_device-sdk-go_PR-951:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-02T01:42:00.685Z] $ docker top e12161ee0be50e46c7d591141946c60d915c960a74141177dd1dc7876af44b8d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T01:42:01.071Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-02T01:42:01.384Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-02T01:42:01.703Z] + ls /var/log/sa-host [2021-06-02T01:42:01.703Z] + sadf -c /var/log/sa-host/sa02 [2021-06-02T01:42:01.703Z] file_magic: OK [2021-06-02T01:42:01.703Z] HZ: Using current value: 100 [2021-06-02T01:42:01.703Z] file_header: OK [2021-06-02T01:42:01.703Z] 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-02T01:42:01.703Z] Statistics: [2021-06-02T01:42:01.703Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T01:42:01.703Z] File successfully converted to sysstat format version 12.2.1 [2021-06-02T01:42:01.703Z] + sadf -c /var/log/sa-host/sa05 [2021-06-02T01:42:01.703Z] file_magic: OK [2021-06-02T01:42:01.703Z] HZ: Using current value: 100 [2021-06-02T01:42:01.703Z] file_header: OK [2021-06-02T01:42:01.703Z] 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-02T01:42:01.703Z] Statistics: [2021-06-02T01:42:01.703Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T01:42:01.703Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T01:42:02.285Z] provisioning config files... [2021-06-02T01:42:02.299Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/config9040922149700764883tmp [Pipeline] { [Pipeline] echo [2021-06-02T01:42:02.321Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T01:42:02.619Z] ---> create-netrc.sh [Pipeline] } [2021-06-02T01:42:02.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-02T01:42:02.661Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T01:42:02.966Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-02T01:42:02.976Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T01:42:03.275Z] ---> sudo-logs.sh [2021-06-02T01:42:03.275Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-02T01:42:03.307Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T01:42:03.617Z] ---> job-cost.sh [2021-06-02T01:42:03.617Z] lf-activate-venv: SKIPPING [2021-06-02T01:42:03.617Z] DEBUG: total: 0.18000000715255737 [2021-06-02T01:42:03.617Z] INFO: Retrieving Stack Cost... [2021-06-02T01:42:05.533Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T01:42:05.793Z] INFO: Archiving Costs [Pipeline] echo [2021-06-02T01:42:05.807Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T01:42:06.105Z] ---> logs-deploy.sh [2021-06-02T01:42:06.105Z] lf-activate-venv: SKIPPING [2021-06-02T01:42:06.105Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-951/4 [2021-06-02T01:42:06.105Z] INFO: archiving workspace using pattern(s): [2021-06-02T01:42:07.053Z] Archives upload complete. [2021-06-02T01:42:07.053Z] INFO: archiving logs to Nexus