Pull request #960 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 79864a9efc35071c9b1c277b8e1661acaff94390+7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f (e5ec11f59da48c85d18467fb2e80309208642944) 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-ssh3055794727517173965.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8039441632828686150.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-960/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-960/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5234361950696518044.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7159294452791062040.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-960/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-960/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7077241842171063883.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [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-960 # 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-960@tmp/jenkins-gitclient-ssh6055536261218710690.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-960@tmp/jenkins-gitclient-ssh4655486464354680070.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit 79864a9efc35071c9b1c277b8e1661acaff94390 Merge succeeded, producing 79864a9efc35071c9b1c277b8e1661acaff94390 Checking out Revision 79864a9efc35071c9b1c277b8e1661acaff94390 (PR-960) > git config core.sparsecheckout # timeout=10 > git checkout -f 79864a9efc35071c9b1c277b8e1661acaff94390 # 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-960@tmp/jenkins-gitclient-ssh3171954872189304458.key > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 79864a9efc35071c9b1c277b8e1661acaff94390 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T10:24:12.986Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T10:24:13.084Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T10:24:13.113Z] ========================================================= [2021-06-09T10:24:13.113Z] EdgeX Global Pipelines Version Info [2021-06-09T10:24:13.113Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0ca7ea3776b5e84577cde9154760653fc07efa37 # timeout=10 [2021-06-09T10:24:14.643Z] ------------------- [2021-06-09T10:24:14.643Z] stable info: [2021-06-09T10:24:14.643Z] ------------------- [2021-06-09T10:24:14.643Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T10:24:14.643Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T10:24:14.643Z] Message: update stable to v1.0.194 [2021-06-09T10:24:15.215Z] ------------------- [2021-06-09T10:24:15.216Z] experimental info: [2021-06-09T10:24:15.216Z] ------------------- [2021-06-09T10:24:15.216Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T10:24:15.216Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T10:24:15.216Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T10:24:15.337Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-09T10:24:15.362Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-09T10:24:15.384Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T10:24:15.416Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T10:24:15.440Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T10:24:15.466Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T10:24:15.501Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T10:24:15.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T10:24:15.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-09T10:24:15.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T10:24:15.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T10:24:15.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-09T10:24:15.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T10:24:15.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T10:24:15.741Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T10:24:15.766Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:24:15.791Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:24:15.815Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:24:15.839Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T10:24:15.864Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T10:24:15.889Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-09T10:24:15.913Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-09T10:24:15.937Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T10:24:15.962Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T10:24:15.985Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T10:24:16.018Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T10:24:16.043Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-960 [Pipeline] echo [2021-06-09T10:24:16.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-960 [Pipeline] echo [2021-06-09T10:24:16.096Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-960 [Pipeline] echo [2021-06-09T10:24:16.122Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 79864a9efc35071c9b1c277b8e1661acaff94390 [Pipeline] echo [2021-06-09T10:24:16.147Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 79864a9 [Pipeline] echo [2021-06-09T10:24:16.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:24:16.262Z] provisioning config files... [2021-06-09T10:24:16.278Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config418599889521297620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:24:16.619Z] ---> docker-login.sh [2021-06-09T10:24:16.619Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:24:17.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:17.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:17.201Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:17.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:17.201Z] [2021-06-09T10:24:17.201Z] Login Succeeded [2021-06-09T10:24:17.201Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:24:17.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:17.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:17.201Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:17.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:17.201Z] [2021-06-09T10:24:17.201Z] Login Succeeded [2021-06-09T10:24:17.201Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:24:17.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:17.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:17.462Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:17.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:17.462Z] [2021-06-09T10:24:17.462Z] Login Succeeded [2021-06-09T10:24:17.462Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:24:17.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:17.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:17.726Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:17.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:17.726Z] [2021-06-09T10:24:17.726Z] Login Succeeded [2021-06-09T10:24:17.726Z] docker.io [2021-06-09T10:24:17.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:17.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:17.994Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:17.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:17.994Z] [2021-06-09T10:24:17.994Z] Login Succeeded [2021-06-09T10:24:17.994Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:24:18.003Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:24:18.497Z] + git log --format=format:%s -1 79864a9efc35071c9b1c277b8e1661acaff94390 [Pipeline] echo [2021-06-09T10:24:18.539Z] GIT_COMMIT: 79864a9efc35071c9b1c277b8e1661acaff94390, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-06-09T10:24:18.554Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:24:19.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:24:19.127Z] [2021-06-09T10:24:19.127Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:24:19.440Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:24:19.440Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T10:24:19.440Z] 31603596830f: Pulling fs layer [2021-06-09T10:24:19.440Z] 54011a49482f: Pulling fs layer [2021-06-09T10:24:19.440Z] a6820b24f6d8: Pulling fs layer [2021-06-09T10:24:19.440Z] f581987b2513: Pulling fs layer [2021-06-09T10:24:19.440Z] f581987b2513: Waiting [2021-06-09T10:24:19.440Z] 54011a49482f: Download complete [2021-06-09T10:24:19.705Z] 31603596830f: Verifying Checksum [2021-06-09T10:24:19.705Z] 31603596830f: Download complete [2021-06-09T10:24:19.705Z] f581987b2513: Verifying Checksum [2021-06-09T10:24:19.705Z] f581987b2513: Download complete [2021-06-09T10:24:19.705Z] a6820b24f6d8: Verifying Checksum [2021-06-09T10:24:19.705Z] a6820b24f6d8: Download complete [2021-06-09T10:24:19.972Z] 31603596830f: Pull complete [2021-06-09T10:24:19.972Z] 54011a49482f: Pull complete [2021-06-09T10:24:20.554Z] a6820b24f6d8: Pull complete [2021-06-09T10:24:20.816Z] f581987b2513: Pull complete [2021-06-09T10:24:20.816Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T10:24:20.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:24:20.816Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T10:24:20.907Z] prd-centos7-docker-4c-2g-13 does not seem to be running inside a container [2021-06-09T10:24:20.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-960 -v /w/workspace/dgexfoundry_device-sdk-go_PR-960:/w/workspace/dgexfoundry_device-sdk-go_PR-960:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-09T10:24:22.156Z] $ docker top d21c95b64a389ec81bdc3497716a0b3ff65603fbf01a440e59bf3e2520dab634 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T10:24:22.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T10:24:22.286Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T10:24:22.399Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T10:24:22.404Z] $ docker exec d21c95b64a389ec81bdc3497716a0b3ff65603fbf01a440e59bf3e2520dab634 ssh-agent [2021-06-09T10:24:22.517Z] SSH_AUTH_SOCK=/tmp/ssh-EVG4aJdq1CEa/agent.14 [2021-06-09T10:24:22.517Z] SSH_AGENT_PID=20 [2021-06-09T10:24:22.524Z] Running ssh-add (command line suppressed) [2021-06-09T10:24:22.626Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_2536384141903174030.key (/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_2536384141903174030.key) [2021-06-09T10:24:22.643Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T10:24:22.952Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T10:24:22.966Z] $ docker exec --env ******** --env ******** d21c95b64a389ec81bdc3497716a0b3ff65603fbf01a440e59bf3e2520dab634 ssh-agent -k [2021-06-09T10:24:23.060Z] unset SSH_AUTH_SOCK; [2021-06-09T10:24:23.060Z] unset SSH_AGENT_PID; [2021-06-09T10:24:23.060Z] echo Agent pid 20 killed; [2021-06-09T10:24:23.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T10:24:23.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T10:24:23.128Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T10:24:23.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T10:24:23.240Z] $ docker exec d21c95b64a389ec81bdc3497716a0b3ff65603fbf01a440e59bf3e2520dab634 ssh-agent [2021-06-09T10:24:23.352Z] SSH_AUTH_SOCK=/tmp/ssh-eaglz40MkBwT/agent.52 [2021-06-09T10:24:23.352Z] SSH_AGENT_PID=58 [2021-06-09T10:24:23.372Z] Running ssh-add (command line suppressed) [2021-06-09T10:24:23.472Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_8155756820946991787.key (/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_8155756820946991787.key) [2021-06-09T10:24:23.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T10:24:23.798Z] + git semver init [2021-06-09T10:24:23.798Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T10:24:23.798Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-960/.git [2021-06-09T10:24:23.798Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-960 [2021-06-09T10:24:23.798Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T10:24:23.798Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T10:24:23.798Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T10:24:23.798Z] # $SEMVER_BRANCH = PR-960 [2021-06-09T10:24:23.798Z] # $SEMVER_TEMP = /tmp/semver-970001049 [2021-06-09T10:24:23.798Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-09T10:24:24.752Z] # '/tmp/semver-970001049' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-960/.semver' [2021-06-09T10:24:24.752Z] # -> Force: false [2021-06-09T10:24:24.752Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-960/.semver [Pipeline] } [2021-06-09T10:24:24.764Z] $ docker exec --env ******** --env ******** d21c95b64a389ec81bdc3497716a0b3ff65603fbf01a440e59bf3e2520dab634 ssh-agent -k [2021-06-09T10:24:24.860Z] unset SSH_AUTH_SOCK; [2021-06-09T10:24:24.860Z] unset SSH_AGENT_PID; [2021-06-09T10:24:24.860Z] echo Agent pid 58 killed; [2021-06-09T10:24:24.873Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T10:24:25.209Z] + git semver [Pipeline] } [2021-06-09T10:24:25.223Z] $ docker stop --time=1 d21c95b64a389ec81bdc3497716a0b3ff65603fbf01a440e59bf3e2520dab634 [2021-06-09T10:24:26.524Z] $ docker rm -f d21c95b64a389ec81bdc3497716a0b3ff65603fbf01a440e59bf3e2520dab634 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:24:26.890Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T10:24:27.142Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T10:24:27.147Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-09T10:24:42.398Z] Still waiting to schedule task [2021-06-09T10:24:42.398Z] ‘prd-centos7-docker-4c-2g-12’ is offline [2021-06-09T10:24:42.399Z] ‘prd-centos7-docker-4c-2g-15’ is offline [2021-06-09T10:24:42.399Z] ‘prd-centos7-docker-4c-2g-17’ is offline [2021-06-09T10:24:42.399Z] ‘prd-centos7-docker-4c-2g-8’ is offline [2021-06-09T10:24:42.399Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-9’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-09T10:24:42.401Z] Still waiting to schedule task [2021-06-09T10:24:42.401Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-9’ is offline [2021-06-09T10:25:40.233Z] Running on prd-centos7-docker-4c-2g-18 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [Pipeline] { [Pipeline] ws [2021-06-09T10:25:40.251Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-09T10:25:40.361Z] Selected Git installation does not exist. Using Default [2021-06-09T10:25:40.361Z] The recommended git tool is: NONE [2021-06-09T10:25:42.736Z] using credential edgex-jenkins-ssh [2021-06-09T10:25:42.749Z] Cloning the remote Git repository [2021-06-09T10:25:42.744Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:25:42.827Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-09T10:25:42.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:25:42.869Z] > git --version # timeout=10 [2021-06-09T10:25:42.878Z] > git --version # 'git version 2.24.4' [2021-06-09T10:25:42.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:25:42.907Z] [INFO] Currently running in a labeled security context [2021-06-09T10:25:42.907Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:25:42.907Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4670118062550551550.key [2021-06-09T10:25:42.927Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:25:44.157Z] Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit 79864a9efc35071c9b1c277b8e1661acaff94390 [2021-06-09T10:25:44.257Z] Merge succeeded, producing 79864a9efc35071c9b1c277b8e1661acaff94390 [2021-06-09T10:25:44.258Z] Checking out Revision 79864a9efc35071c9b1c277b8e1661acaff94390 (PR-960) [2021-06-09T10:25:43.697Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:25:43.707Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:25:43.717Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:25:43.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:25:43.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:25:43.729Z] [INFO] Currently running in a labeled security context [2021-06-09T10:25:43.729Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:25:43.729Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1001367289285374931.key [2021-06-09T10:25:43.746Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T10:25:44.163Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:25:44.173Z] > git checkout -f 79864a9efc35071c9b1c277b8e1661acaff94390 # timeout=10 [2021-06-09T10:25:44.208Z] > git remote # timeout=10 [2021-06-09T10:25:44.217Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T10:25:44.227Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:25:44.228Z] [INFO] Currently running in a labeled security context [2021-06-09T10:25:44.228Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:25:44.228Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7854939125878216956.key [2021-06-09T10:25:44.235Z] > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 [2021-06-09T10:25:44.246Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T10:25:44.257Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:25:44.268Z] > git checkout -f 79864a9efc35071c9b1c277b8e1661acaff94390 # timeout=10 [2021-06-09T10:25:48.089Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:25:49.156Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:25:49.500Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:25:49.819Z] + true [2021-06-09T10:25:49.819Z] + sudo service docker restart [2021-06-09T10:25:49.819Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:26:07.999Z] provisioning config files... [2021-06-09T10:26:08.021Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4078325140716609657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:26:08.349Z] ---> docker-login.sh [2021-06-09T10:26:08.349Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:26:08.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:08.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:08.613Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:08.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:08.613Z] [2021-06-09T10:26:08.613Z] Login Succeeded [2021-06-09T10:26:08.613Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:26:08.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:08.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:08.876Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:08.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:08.876Z] [2021-06-09T10:26:08.876Z] Login Succeeded [2021-06-09T10:26:08.876Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:26:08.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:08.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:08.876Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:08.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:08.876Z] [2021-06-09T10:26:08.876Z] Login Succeeded [2021-06-09T10:26:08.876Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:26:09.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:09.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:09.141Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:09.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:09.141Z] [2021-06-09T10:26:09.141Z] Login Succeeded [2021-06-09T10:26:09.141Z] docker.io [2021-06-09T10:26:09.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:09.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:09.406Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:09.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:09.406Z] [2021-06-09T10:26:09.406Z] Login Succeeded [2021-06-09T10:26:09.406Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:26:09.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T10:26:09.586Z] ========================================================= [2021-06-09T10:26:09.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T10:26:09.586Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:26:09.895Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-09T10:26:09.895Z] Sending build context to Docker daemon 2.638MB [2021-06-09T10:26:09.895Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:26:09.895Z] Step 2/8 : FROM ${BASE} [2021-06-09T10:26:10.158Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T10:26:10.158Z] 540db60ca938: Pulling fs layer [2021-06-09T10:26:10.158Z] adcc1eea9eea: Pulling fs layer [2021-06-09T10:26:10.158Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T10:26:10.158Z] 0510c868ecb4: Pulling fs layer [2021-06-09T10:26:10.158Z] afea3b2eda06: Pulling fs layer [2021-06-09T10:26:10.158Z] 7809a108b3ef: Pulling fs layer [2021-06-09T10:26:10.158Z] f706445af74f: Pulling fs layer [2021-06-09T10:26:10.158Z] 0510c868ecb4: Waiting [2021-06-09T10:26:10.158Z] afea3b2eda06: Waiting [2021-06-09T10:26:10.158Z] 7809a108b3ef: Waiting [2021-06-09T10:26:10.158Z] f706445af74f: Waiting [2021-06-09T10:26:10.158Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T10:26:10.158Z] 4c4ab2625f07: Download complete [2021-06-09T10:26:10.158Z] adcc1eea9eea: Verifying Checksum [2021-06-09T10:26:10.158Z] adcc1eea9eea: Download complete [2021-06-09T10:26:10.423Z] afea3b2eda06: Verifying Checksum [2021-06-09T10:26:10.423Z] afea3b2eda06: Download complete [2021-06-09T10:26:10.423Z] 7809a108b3ef: Verifying Checksum [2021-06-09T10:26:10.423Z] 7809a108b3ef: Download complete [2021-06-09T10:26:10.423Z] 540db60ca938: Verifying Checksum [2021-06-09T10:26:10.424Z] 540db60ca938: Download complete [2021-06-09T10:26:10.687Z] 540db60ca938: Pull complete [2021-06-09T10:26:10.951Z] adcc1eea9eea: Pull complete [2021-06-09T10:26:10.951Z] 4c4ab2625f07: Pull complete [2021-06-09T10:26:13.523Z] f706445af74f: Verifying Checksum [2021-06-09T10:26:13.524Z] f706445af74f: Download complete [2021-06-09T10:26:14.107Z] 0510c868ecb4: Verifying Checksum [2021-06-09T10:26:14.107Z] 0510c868ecb4: Download complete [2021-06-09T10:26:17.460Z] 0510c868ecb4: Pull complete [2021-06-09T10:26:17.725Z] afea3b2eda06: Pull complete [2021-06-09T10:26:17.725Z] 7809a108b3ef: Pull complete [2021-06-09T10:26:19.660Z] f706445af74f: Pull complete [2021-06-09T10:26:19.660Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T10:26:19.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T10:26:19.660Z] ---> b068be0155e3 [2021-06-09T10:26:19.660Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:26:29.724Z] ---> Running in 11defa41e051 [2021-06-09T10:26:29.724Z] Removing intermediate container 11defa41e051 [2021-06-09T10:26:29.724Z] ---> 8773d22afdbb [2021-06-09T10:26:29.724Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:26:29.724Z] ---> Running in ddfa6f02eb9e [2021-06-09T10:26:30.311Z] Removing intermediate container ddfa6f02eb9e [2021-06-09T10:26:30.311Z] ---> c9b83576ec61 [2021-06-09T10:26:30.311Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T10:26:30.311Z] ---> Running in 7b2fa1e0e169 [2021-06-09T10:26:30.892Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:26:31.466Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:26:32.042Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T10:26:32.042Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T10:26:32.991Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T10:26:32.991Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T10:26:32.991Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T10:26:33.568Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T10:26:33.568Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T10:26:33.568Z] OK: 150 MiB in 46 packages [2021-06-09T10:26:34.516Z] Removing intermediate container 7b2fa1e0e169 [2021-06-09T10:26:34.516Z] ---> 8f95a1471290 [2021-06-09T10:26:34.516Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T10:26:34.516Z] ---> Running in c62f01e43813 [2021-06-09T10:26:34.784Z] Removing intermediate container c62f01e43813 [2021-06-09T10:26:34.784Z] ---> 1632b8824636 [2021-06-09T10:26:34.784Z] Step 7/8 : COPY . . [2021-06-09T10:26:36.175Z] ---> 01a17962ee03 [2021-06-09T10:26:36.175Z] Step 8/8 : RUN go mod download [2021-06-09T10:26:36.175Z] ---> Running in ce2e80ddd28a [2021-06-09T10:26:51.134Z] Removing intermediate container ce2e80ddd28a [2021-06-09T10:26:51.134Z] ---> 20dfadbf1831 [2021-06-09T10:26:51.134Z] Successfully built 20dfadbf1831 [2021-06-09T10:26:51.134Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:26:51.452Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T10:26:51.452Z] . [Pipeline] withDockerContainer [2021-06-09T10:26:51.548Z] prd-centos7-docker-4c-2g-18 does not seem to be running inside a container [2021-06-09T10:26:51.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T10:26:52.011Z] $ docker top 9a4928659be0ab79d23d4a866bb1e835d3d04b4e04baf26ef341a9cc22de7d1c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:26:52.418Z] + go version [2021-06-09T10:26:52.418Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T10:26:52.427Z] $ docker stop --time=1 9a4928659be0ab79d23d4a866bb1e835d3d04b4e04baf26ef341a9cc22de7d1c [2021-06-09T10:26:53.617Z] $ docker rm -f 9a4928659be0ab79d23d4a866bb1e835d3d04b4e04baf26ef341a9cc22de7d1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:26:54.196Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T10:26:54.196Z] . [Pipeline] withDockerContainer [2021-06-09T10:26:54.282Z] prd-centos7-docker-4c-2g-18 does not seem to be running inside a container [2021-06-09T10:26:54.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T10:26:54.726Z] $ docker top 223f37dee4c60469348b50e7d410761ddec042682e47fe734e2d46cea923d0c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:26:55.114Z] + go mod tidy [Pipeline] sh [2021-06-09T10:26:55.694Z] + make test [2021-06-09T10:26:55.694Z] go mod tidy [2021-06-09T10:26:55.694Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T10:27:01.068Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T10:27:20.487Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [Pipeline] { [Pipeline] ws [2021-06-09T10:27:20.509Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-09T10:27:20.739Z] Selected Git installation does not exist. Using Default [2021-06-09T10:27:20.739Z] The recommended git tool is: NONE [2021-06-09T10:27:25.944Z] using credential edgex-jenkins-ssh [2021-06-09T10:27:25.964Z] Cloning the remote Git repository [2021-06-09T10:27:26.007Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:27:26.111Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-09T10:27:26.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:27:26.212Z] > git --version # timeout=10 [2021-06-09T10:27:26.233Z] > git --version # 'git version 2.17.1' [2021-06-09T10:27:26.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:27:26.326Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:27:27.776Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T10:27:27.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T10:27:27.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T10:27:27.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 25.4% of statements [2021-06-09T10:27:27.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T10:27:27.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 28.1% of statements [2021-06-09T10:27:27.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2021-06-09T10:27:27.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.041s coverage: 9.0% of statements [2021-06-09T10:27:27.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T10:27:27.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T10:27:27.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T10:27:28.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.076s coverage: 29.2% of statements [2021-06-09T10:27:28.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T10:27:27.607Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:27:27.624Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:27:27.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:27:27.682Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:27:27.683Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:27:27.696Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T10:27:28.268Z] Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit 79864a9efc35071c9b1c277b8e1661acaff94390 [2021-06-09T10:27:28.473Z] Merge succeeded, producing 79864a9efc35071c9b1c277b8e1661acaff94390 [2021-06-09T10:27:28.474Z] Checking out Revision 79864a9efc35071c9b1c277b8e1661acaff94390 (PR-960) [2021-06-09T10:27:28.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 83.3% of statements [2021-06-09T10:27:28.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T10:27:28.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T10:27:28.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 58.0% of statements [2021-06-09T10:27:28.282Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:27:28.296Z] > git checkout -f 79864a9efc35071c9b1c277b8e1661acaff94390 # timeout=10 [2021-06-09T10:27:28.393Z] > git remote # timeout=10 [2021-06-09T10:27:28.409Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T10:27:28.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:27:28.433Z] > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 [2021-06-09T10:27:28.456Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T10:27:28.475Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:27:28.487Z] > git checkout -f 79864a9efc35071c9b1c277b8e1661acaff94390 # timeout=10 [2021-06-09T10:27:30.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.839s coverage: 89.2% of statements [2021-06-09T10:27:30.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T10:27:30.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 5.0% of statements [2021-06-09T10:27:30.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T10:27:30.401Z] GO111MODULE=on go vet ./... [2021-06-09T10:27:32.793Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:27:34.180Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:27:34.597Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:27:34.947Z] + sudo service docker restart [2021-06-09T10:27:34.947Z] + true [2021-06-09T10:27:48.614Z] gofmt -l . [2021-06-09T10:27:48.614Z] [ "`gofmt -l .`" = "" ] [2021-06-09T10:27:48.614Z] ./bin/test-attribution-txt.sh [2021-06-09T10:27:48.614Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T10:27:48.624Z] $ docker stop --time=1 223f37dee4c60469348b50e7d410761ddec042682e47fe734e2d46cea923d0c6 [2021-06-09T10:27:50.200Z] $ docker rm -f 223f37dee4c60469348b50e7d410761ddec042682e47fe734e2d46cea923d0c6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:27:50.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T10:27:50.874Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-09T10:27:52.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T10:27:52.342Z] + ls -al . [2021-06-09T10:27:52.342Z] total 212 [2021-06-09T10:27:52.342Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 9 10:27 . [2021-06-09T10:27:52.342Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 10:25 .. [2021-06-09T10:27:52.342Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 10:25 bin [2021-06-09T10:27:52.342Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 9 10:27 coverage.out [2021-06-09T10:27:52.342Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 9 10:25 Dockerfile.build [2021-06-09T10:27:52.342Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 9 10:25 .dockerignore [2021-06-09T10:27:52.342Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 9 10:25 example [2021-06-09T10:27:52.342Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 10:25 .git [2021-06-09T10:27:52.342Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 10:25 .github [2021-06-09T10:27:52.342Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 9 10:25 .gitignore [2021-06-09T10:27:52.342Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 9 10:27 go.mod [2021-06-09T10:27:52.342Z] -rw-r--r--. 1 jenkins jenkins 20499 Jun 9 10:26 go.sum [2021-06-09T10:27:52.342Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 9 10:25 internal [2021-06-09T10:27:52.342Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 9 10:25 Jenkinsfile [2021-06-09T10:27:52.342Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 9 10:25 LICENSE [2021-06-09T10:27:52.342Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 9 10:25 Makefile [2021-06-09T10:27:52.342Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 9 10:25 openapi [2021-06-09T10:27:52.342Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 9 10:25 pkg [2021-06-09T10:27:52.342Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 9 10:25 README.md [2021-06-09T10:27:52.342Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 9 10:25 RELEASE-NOTES.txt [2021-06-09T10:27:52.342Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 9 10:25 snap [2021-06-09T10:27:52.342Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 10:24 VERSION [2021-06-09T10:27:52.342Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 9 10:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:27:52.649Z] + 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=79864a9efc35071c9b1c277b8e1661acaff94390 --label arch=amd64 --label version=0.0.0 . [2021-06-09T10:27:52.649Z] Sending build context to Docker daemon 2.765MB [2021-06-09T10:27:52.649Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:27:52.649Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T10:27:52.649Z] ---> 20dfadbf1831 [2021-06-09T10:27:52.649Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T10:27:52.649Z] ---> Running in c5ed688f2f19 [2021-06-09T10:27:52.915Z] Removing intermediate container c5ed688f2f19 [2021-06-09T10:27:52.915Z] ---> 8b5ef81c16bb [2021-06-09T10:27:52.915Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:27:52.915Z] ---> Running in 9010a4f8f941 [2021-06-09T10:27:52.915Z] Removing intermediate container 9010a4f8f941 [2021-06-09T10:27:52.915Z] ---> 33bc41ecabd7 [2021-06-09T10:27:52.915Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:27:52.915Z] ---> Running in 0c7b8ca2afe5 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:27:53.329Z] provisioning config files... [2021-06-09T10:27:53.358Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config353225799299267363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:27:53.507Z] Removing intermediate container 0c7b8ca2afe5 [2021-06-09T10:27:53.507Z] ---> d1d1499751f4 [2021-06-09T10:27:53.507Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T10:27:53.507Z] ---> Running in b141c019f4fc [2021-06-09T10:27:53.747Z] ---> docker-login.sh [2021-06-09T10:27:53.747Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:27:53.769Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:27:54.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:27:54.718Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:27:54.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:27:54.946Z] Configure a credential helper to remove this warning. See [2021-06-09T10:27:54.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:27:54.946Z] [2021-06-09T10:27:54.946Z] Login Succeeded [2021-06-09T10:27:54.946Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:27:54.981Z] OK: 150 MiB in 46 packages [2021-06-09T10:27:55.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:27:55.247Z] Removing intermediate container b141c019f4fc [2021-06-09T10:27:55.247Z] ---> a392e54bd191 [2021-06-09T10:27:55.247Z] Step 7/23 : COPY . . [2021-06-09T10:27:55.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:27:55.500Z] Configure a credential helper to remove this warning. See [2021-06-09T10:27:55.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:27:55.500Z] [2021-06-09T10:27:55.500Z] Login Succeeded [2021-06-09T10:27:55.500Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:27:55.513Z] ---> 042822c16784 [2021-06-09T10:27:55.513Z] Step 8/23 : RUN go mod download [2021-06-09T10:27:55.513Z] ---> Running in dd0ab04d0f82 [2021-06-09T10:27:55.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:27:56.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:27:56.052Z] Configure a credential helper to remove this warning. See [2021-06-09T10:27:56.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:27:56.052Z] [2021-06-09T10:27:56.052Z] Login Succeeded [2021-06-09T10:27:56.052Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:27:56.085Z] Removing intermediate container dd0ab04d0f82 [2021-06-09T10:27:56.085Z] ---> 1f60f3bf3293 [2021-06-09T10:27:56.085Z] Step 9/23 : RUN make build [2021-06-09T10:27:56.085Z] ---> Running in 2191a1b73045 [2021-06-09T10:27:56.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:27:56.355Z] go mod tidy [2021-06-09T10:27:56.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:27:56.603Z] Configure a credential helper to remove this warning. See [2021-06-09T10:27:56.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:27:56.603Z] [2021-06-09T10:27:56.603Z] Login Succeeded [2021-06-09T10:27:56.603Z] docker.io [2021-06-09T10:27:56.621Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-09T10:27:56.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:27:57.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:27:57.155Z] Configure a credential helper to remove this warning. See [2021-06-09T10:27:57.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:27:57.155Z] [2021-06-09T10:27:57.155Z] Login Succeeded [2021-06-09T10:27:57.155Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:27:57.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T10:27:57.479Z] ========================================================= [2021-06-09T10:27:57.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T10:27:57.479Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:27:57.821Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-09T10:27:58.098Z] Sending build context to Docker daemon 2.637MB [2021-06-09T10:27:58.373Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:27:58.373Z] Step 2/8 : FROM ${BASE} [2021-06-09T10:27:58.373Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T10:27:58.373Z] 595b0fe564bb: Pulling fs layer [2021-06-09T10:27:58.373Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T10:27:58.373Z] 316046926c0a: Pulling fs layer [2021-06-09T10:27:58.373Z] 4ebd0625c992: Pulling fs layer [2021-06-09T10:27:58.373Z] 207e8628e3a3: Pulling fs layer [2021-06-09T10:27:58.373Z] c791037a9be2: Pulling fs layer [2021-06-09T10:27:58.373Z] ffd874e62e21: Pulling fs layer [2021-06-09T10:27:58.373Z] 4ebd0625c992: Waiting [2021-06-09T10:27:58.373Z] 207e8628e3a3: Waiting [2021-06-09T10:27:58.373Z] c791037a9be2: Waiting [2021-06-09T10:27:58.373Z] ffd874e62e21: Waiting [2021-06-09T10:27:58.645Z] 316046926c0a: Verifying Checksum [2021-06-09T10:27:58.645Z] 316046926c0a: Download complete [2021-06-09T10:27:58.645Z] 7186ed65a4f7: Verifying Checksum [2021-06-09T10:27:58.645Z] 7186ed65a4f7: Download complete [2021-06-09T10:27:58.645Z] 207e8628e3a3: Download complete [2021-06-09T10:27:58.645Z] c791037a9be2: Verifying Checksum [2021-06-09T10:27:58.645Z] c791037a9be2: Download complete [2021-06-09T10:27:58.645Z] 595b0fe564bb: Verifying Checksum [2021-06-09T10:27:58.645Z] 595b0fe564bb: Download complete [2021-06-09T10:27:59.245Z] 595b0fe564bb: Pull complete [2021-06-09T10:27:59.844Z] 7186ed65a4f7: Pull complete [2021-06-09T10:28:00.117Z] 316046926c0a: Pull complete [2021-06-09T10:28:00.711Z] ffd874e62e21: Verifying Checksum [2021-06-09T10:28:00.711Z] ffd874e62e21: Download complete [2021-06-09T10:28:02.150Z] 4ebd0625c992: Verifying Checksum [2021-06-09T10:28:02.150Z] 4ebd0625c992: Download complete [2021-06-09T10:28:06.719Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T10:28:07.666Z] Removing intermediate container 2191a1b73045 [2021-06-09T10:28:07.666Z] ---> d20f3b2c5bd6 [2021-06-09T10:28:07.666Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T10:28:07.928Z] 3.12: Pulling from library/alpine [2021-06-09T10:28:08.191Z] 339de151aab4: Pulling fs layer [2021-06-09T10:28:08.192Z] 339de151aab4: Verifying Checksum [2021-06-09T10:28:08.192Z] 339de151aab4: Download complete [2021-06-09T10:28:08.453Z] 339de151aab4: Pull complete [2021-06-09T10:28:08.453Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T10:28:08.453Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T10:28:08.453Z] ---> 13621d1b12d4 [2021-06-09T10:28:08.453Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:28:08.453Z] ---> Running in 97d940e2ba77 [2021-06-09T10:28:08.453Z] Removing intermediate container 97d940e2ba77 [2021-06-09T10:28:08.453Z] ---> 5e380c61b8cd [2021-06-09T10:28:08.453Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:28:08.717Z] ---> Running in 4af1645462fe [2021-06-09T10:28:08.978Z] Removing intermediate container 4af1645462fe [2021-06-09T10:28:08.978Z] ---> a3baa57cb77d [2021-06-09T10:28:08.978Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T10:28:08.978Z] ---> Running in 12ebe00ad0ed [2021-06-09T10:28:09.245Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:28:10.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:28:10.451Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T10:28:10.452Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T10:28:10.452Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T10:28:11.395Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T10:28:11.395Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T10:28:11.395Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T10:28:11.395Z] OK: 8 MiB in 19 packages [2021-06-09T10:28:11.657Z] Removing intermediate container 12ebe00ad0ed [2021-06-09T10:28:11.657Z] ---> 549ee280d23d [2021-06-09T10:28:11.657Z] Step 14/23 : WORKDIR / [2021-06-09T10:28:11.657Z] ---> Running in a7f3ce669923 [2021-06-09T10:28:11.922Z] Removing intermediate container a7f3ce669923 [2021-06-09T10:28:11.922Z] ---> 0807104e8461 [2021-06-09T10:28:11.922Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T10:28:11.922Z] ---> 2cc6e27ea185 [2021-06-09T10:28:11.922Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T10:28:12.308Z] 4ebd0625c992: Pull complete [2021-06-09T10:28:12.492Z] ---> 512cfc0d6c33 [2021-06-09T10:28:12.492Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T10:28:12.492Z] ---> 4db4fb0c87b8 [2021-06-09T10:28:12.492Z] Step 18/23 : EXPOSE 59999 [2021-06-09T10:28:12.492Z] ---> Running in 35cbea7b0ff6 [2021-06-09T10:28:12.753Z] Removing intermediate container 35cbea7b0ff6 [2021-06-09T10:28:12.753Z] ---> 4c03d4c21d2f [2021-06-09T10:28:12.753Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T10:28:12.753Z] ---> Running in aafe2e9f3cba [2021-06-09T10:28:12.753Z] Removing intermediate container aafe2e9f3cba [2021-06-09T10:28:12.753Z] ---> 012c0f398fed [2021-06-09T10:28:12.753Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T10:28:12.753Z] ---> Running in 0bf00a5dbbca [2021-06-09T10:28:12.753Z] Removing intermediate container 0bf00a5dbbca [2021-06-09T10:28:12.753Z] ---> d022963a56a9 [2021-06-09T10:28:12.753Z] Step 21/23 : LABEL arch=amd64 [2021-06-09T10:28:12.753Z] ---> Running in 5eca0a349446 [2021-06-09T10:28:12.901Z] 207e8628e3a3: Pull complete [2021-06-09T10:28:13.013Z] Removing intermediate container 5eca0a349446 [2021-06-09T10:28:13.013Z] ---> 02f06b834ca8 [2021-06-09T10:28:13.013Z] Step 22/23 : LABEL git_sha=79864a9efc35071c9b1c277b8e1661acaff94390 [2021-06-09T10:28:13.013Z] ---> Running in ec7dbc1277bf [2021-06-09T10:28:13.013Z] Removing intermediate container ec7dbc1277bf [2021-06-09T10:28:13.013Z] ---> d7d2b40f42fe [2021-06-09T10:28:13.013Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T10:28:13.013Z] ---> Running in 959b43ed3dfa [2021-06-09T10:28:13.176Z] c791037a9be2: Pull complete [2021-06-09T10:28:13.274Z] Removing intermediate container 959b43ed3dfa [2021-06-09T10:28:13.275Z] ---> 7d93f4d22ce7 [2021-06-09T10:28:13.275Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T10:28:13.275Z] Successfully built 7d93f4d22ce7 [2021-06-09T10:28:13.275Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:28:14.024Z] ---> job-cost.sh [2021-06-09T10:28:14.024Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qeza [2021-06-09T10:28:16.560Z] ffd874e62e21: Pull complete [2021-06-09T10:28:16.561Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T10:28:16.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T10:28:16.836Z] ---> cfc18b08335c [2021-06-09T10:28:16.836Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:28:18.806Z] ---> Running in c7838a206d92 [2021-06-09T10:28:19.407Z] Removing intermediate container c7838a206d92 [2021-06-09T10:28:19.407Z] ---> 83beb1b01cc8 [2021-06-09T10:28:19.407Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:28:19.407Z] ---> Running in a0f5ded5bb0f [2021-06-09T10:28:22.025Z] Removing intermediate container a0f5ded5bb0f [2021-06-09T10:28:22.025Z] ---> b3521b19f6e7 [2021-06-09T10:28:22.025Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T10:28:22.025Z] ---> Running in 33c6c5321354 [2021-06-09T10:28:22.999Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:28:23.969Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:28:24.048Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T10:28:24.563Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T10:28:24.834Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T10:28:24.834Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T10:28:24.834Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T10:28:25.104Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T10:28:25.104Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T10:28:25.104Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T10:28:25.380Z] OK: 139 MiB in 46 packages [2021-06-09T10:28:26.361Z] Removing intermediate container 33c6c5321354 [2021-06-09T10:28:26.361Z] ---> 67c7192ad0d6 [2021-06-09T10:28:26.361Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T10:28:26.635Z] ---> Running in 77c52ad45e7c [2021-06-09T10:28:27.229Z] Removing intermediate container 77c52ad45e7c [2021-06-09T10:28:27.229Z] ---> 4fd657ff6897 [2021-06-09T10:28:27.229Z] Step 7/8 : COPY . . [2021-06-09T10:28:28.665Z] ---> 8b1d6bd6a787 [2021-06-09T10:28:28.665Z] Step 8/8 : RUN go mod download [2021-06-09T10:28:28.665Z] ---> Running in 980ea16196c5 [2021-06-09T10:28:36.333Z] lf-activate-venv(): INFO: Adding /tmp/venv-qeza/bin to PATH [2021-06-09T10:28:36.333Z] INFO: No Stack... [2021-06-09T10:28:36.333Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T10:28:36.904Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T10:28:37.207Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-09T10:28:37.207Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T10:28:37.243Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-960-2-stack-cost] [2021-06-09T10:28:37.292Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-960-2-stack-cost] did not exist. Created. [2021-06-09T10:28:37.292Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-960-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T10:28:37.655Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T10:28:37.717Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T10:28:37.729Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-960-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-09T10:28:55.457Z] Removing intermediate container 980ea16196c5 [2021-06-09T10:28:55.458Z] ---> b191feb8035e [2021-06-09T10:28:55.458Z] Successfully built b191feb8035e [2021-06-09T10:28:55.458Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:28:55.808Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T10:28:55.808Z] . [Pipeline] withDockerContainer [2021-06-09T10:28:56.263Z] prd-ubuntu18.04-docker-arm64-4c-16g-20 does not seem to be running inside a container [2021-06-09T10:28:56.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T10:28:58.002Z] $ docker top 45409d2d92f825f11227d0704e1a14a93635fc33f2c2e531d943ca847a353edf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:28:59.055Z] + go version [2021-06-09T10:28:59.055Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T10:28:59.077Z] $ docker stop --time=1 45409d2d92f825f11227d0704e1a14a93635fc33f2c2e531d943ca847a353edf [2021-06-09T10:29:00.923Z] $ docker rm -f 45409d2d92f825f11227d0704e1a14a93635fc33f2c2e531d943ca847a353edf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:29:01.723Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T10:29:01.723Z] . [Pipeline] withDockerContainer [2021-06-09T10:29:01.969Z] prd-ubuntu18.04-docker-arm64-4c-16g-20 does not seem to be running inside a container [2021-06-09T10:29:02.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T10:29:03.645Z] $ docker top 7238a55d9a586c2f2a5c843acda49bd61a9cb728adae9b768599eacd8f90b9c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:29:04.562Z] + go mod tidy [Pipeline] sh [2021-06-09T10:29:05.827Z] + make test [2021-06-09T10:29:05.827Z] go mod tidy [2021-06-09T10:29:06.440Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T10:29:28.658Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T10:30:36.738Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T10:30:36.738Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T10:30:36.738Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T10:30:45.045Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.243s coverage: 25.4% of statements [2021-06-09T10:30:45.045Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T10:30:45.045Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.183s coverage: 28.1% of statements [2021-06-09T10:30:45.045Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.201s coverage: 78.9% of statements [2021-06-09T10:30:45.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.198s coverage: 9.0% of statements [2021-06-09T10:30:45.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T10:30:45.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T10:30:45.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T10:30:45.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.295s coverage: 29.2% of statements [2021-06-09T10:30:45.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T10:30:47.029Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.183s coverage: 83.3% of statements [2021-06-09T10:30:47.029Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T10:30:47.029Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T10:30:47.029Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.376s coverage: 58.0% of statements [2021-06-09T10:30:51.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.005s coverage: 89.2% of statements [2021-06-09T10:30:51.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T10:30:51.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.182s coverage: 5.0% of statements [2021-06-09T10:30:51.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T10:30:51.356Z] GO111MODULE=on go vet ./... [2021-06-09T10:31:47.974Z] gofmt -l . [2021-06-09T10:31:47.974Z] [ "`gofmt -l .`" = "" ] [2021-06-09T10:31:47.974Z] ./bin/test-attribution-txt.sh [2021-06-09T10:31:47.974Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T10:31:47.993Z] $ docker stop --time=1 7238a55d9a586c2f2a5c843acda49bd61a9cb728adae9b768599eacd8f90b9c2 [2021-06-09T10:31:50.031Z] $ docker rm -f 7238a55d9a586c2f2a5c843acda49bd61a9cb728adae9b768599eacd8f90b9c2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:31:51.162Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T10:31:51.196Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T10:31:51.778Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:31:52.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T10:31:52.666Z] + ls -al . [2021-06-09T10:31:52.667Z] total 248 [2021-06-09T10:31:52.667Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 10:31 . [2021-06-09T10:31:52.667Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:27 .. [2021-06-09T10:31:52.667Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 9 10:27 .dockerignore [2021-06-09T10:31:52.667Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 10:27 .git [2021-06-09T10:31:52.667Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 10:27 .github [2021-06-09T10:31:52.667Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 9 10:27 .gitignore [2021-06-09T10:31:52.667Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 9 10:27 Dockerfile.build [2021-06-09T10:31:52.667Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 9 10:27 Jenkinsfile [2021-06-09T10:31:52.667Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 9 10:27 LICENSE [2021-06-09T10:31:52.667Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 9 10:27 Makefile [2021-06-09T10:31:52.667Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 9 10:27 README.md [2021-06-09T10:31:52.667Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 9 10:27 RELEASE-NOTES.txt [2021-06-09T10:31:52.667Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 10:24 VERSION [2021-06-09T10:31:52.667Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 10:27 bin [2021-06-09T10:31:52.667Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 9 10:30 coverage.out [2021-06-09T10:31:52.667Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 10:27 example [2021-06-09T10:31:52.667Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 9 10:31 go.mod [2021-06-09T10:31:52.667Z] -rw-r--r-- 1 jenkins jenkins 20499 Jun 9 10:29 go.sum [2021-06-09T10:31:52.667Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 9 10:27 internal [2021-06-09T10:31:52.667Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:27 openapi [2021-06-09T10:31:52.667Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 10:27 pkg [2021-06-09T10:31:52.667Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:27 snap [2021-06-09T10:31:52.667Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 9 10:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:31:53.026Z] + 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=79864a9efc35071c9b1c277b8e1661acaff94390 --label arch=arm64 --label version=0.0.0 . [2021-06-09T10:31:53.626Z] Sending build context to Docker daemon 2.764MB [2021-06-09T10:31:53.626Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:31:53.626Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T10:31:53.626Z] ---> b191feb8035e [2021-06-09T10:31:53.626Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T10:31:53.899Z] ---> Running in c0cfed2d495d [2021-06-09T10:31:54.490Z] Removing intermediate container c0cfed2d495d [2021-06-09T10:31:54.490Z] ---> 9f19a466273d [2021-06-09T10:31:54.490Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:31:54.490Z] ---> Running in d9dfe7239f33 [2021-06-09T10:31:54.763Z] Removing intermediate container d9dfe7239f33 [2021-06-09T10:31:54.763Z] ---> 8abd26eddde7 [2021-06-09T10:31:54.763Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:31:55.035Z] ---> Running in 211db88d8afd [2021-06-09T10:31:57.008Z] Removing intermediate container 211db88d8afd [2021-06-09T10:31:57.008Z] ---> ae669a2ca3c6 [2021-06-09T10:31:57.008Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T10:31:57.283Z] ---> Running in ff28e933fe28 [2021-06-09T10:31:58.257Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:31:59.227Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:32:00.202Z] OK: 139 MiB in 46 packages [2021-06-09T10:32:01.182Z] Removing intermediate container ff28e933fe28 [2021-06-09T10:32:01.182Z] ---> 4b4c24da5979 [2021-06-09T10:32:01.182Z] Step 7/23 : COPY . . [2021-06-09T10:32:02.626Z] ---> add5afb325f6 [2021-06-09T10:32:02.626Z] Step 8/23 : RUN go mod download [2021-06-09T10:32:02.626Z] ---> Running in 50bb7a2beac4 [2021-06-09T10:32:04.610Z] Removing intermediate container 50bb7a2beac4 [2021-06-09T10:32:04.610Z] ---> 8166ff9a4e1f [2021-06-09T10:32:04.610Z] Step 9/23 : RUN make build [2021-06-09T10:32:04.886Z] ---> Running in e18891475d9e [2021-06-09T10:32:06.319Z] go mod tidy [2021-06-09T10:32:06.592Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-09T10:32:39.001Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T10:32:41.620Z] Removing intermediate container e18891475d9e [2021-06-09T10:32:41.620Z] ---> 71b7626edd90 [2021-06-09T10:32:41.620Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T10:32:41.892Z] 3.12: Pulling from library/alpine [2021-06-09T10:32:42.166Z] d2f70382dc9a: Pulling fs layer [2021-06-09T10:32:42.448Z] d2f70382dc9a: Verifying Checksum [2021-06-09T10:32:42.448Z] d2f70382dc9a: Download complete [2021-06-09T10:32:43.047Z] d2f70382dc9a: Pull complete [2021-06-09T10:32:43.047Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T10:32:43.047Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T10:32:43.047Z] ---> 9852663dfa18 [2021-06-09T10:32:43.047Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:32:43.321Z] ---> Running in 570cee542069 [2021-06-09T10:32:43.594Z] Removing intermediate container 570cee542069 [2021-06-09T10:32:43.594Z] ---> 5db440a2ce21 [2021-06-09T10:32:43.594Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:32:43.867Z] ---> Running in f4ad263e9190 [2021-06-09T10:32:45.845Z] Removing intermediate container f4ad263e9190 [2021-06-09T10:32:45.845Z] ---> d1c44b35ed6c [2021-06-09T10:32:45.845Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T10:32:46.118Z] ---> Running in b87a0cbe838d [2021-06-09T10:32:47.098Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:32:47.711Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:32:48.301Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T10:32:48.572Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T10:32:48.572Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T10:32:48.846Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T10:32:48.846Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T10:32:48.846Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T10:32:48.846Z] OK: 8 MiB in 19 packages [2021-06-09T10:32:50.278Z] Removing intermediate container b87a0cbe838d [2021-06-09T10:32:50.278Z] ---> 8360169263d8 [2021-06-09T10:32:50.278Z] Step 14/23 : WORKDIR / [2021-06-09T10:32:50.278Z] ---> Running in 02ca5d21d096 [2021-06-09T10:32:50.551Z] Removing intermediate container 02ca5d21d096 [2021-06-09T10:32:50.551Z] ---> 5f6d4996b95d [2021-06-09T10:32:50.551Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T10:32:51.544Z] ---> f4da52bff6b8 [2021-06-09T10:32:51.544Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T10:32:52.528Z] ---> f988a4c23afc [2021-06-09T10:32:52.528Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T10:32:53.506Z] ---> 54e404263b9d [2021-06-09T10:32:53.506Z] Step 18/23 : EXPOSE 59999 [2021-06-09T10:32:53.506Z] ---> Running in 6ec8ae57870f [2021-06-09T10:32:53.780Z] Removing intermediate container 6ec8ae57870f [2021-06-09T10:32:53.780Z] ---> b5256d3d1b68 [2021-06-09T10:32:53.780Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T10:32:54.054Z] ---> Running in a398562170ff [2021-06-09T10:32:54.329Z] Removing intermediate container a398562170ff [2021-06-09T10:32:54.329Z] ---> 4b28c7573553 [2021-06-09T10:32:54.329Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T10:32:54.923Z] ---> Running in e29264f43ca3 [2021-06-09T10:32:55.904Z] Removing intermediate container e29264f43ca3 [2021-06-09T10:32:55.904Z] ---> 4a1a82784d40 [2021-06-09T10:32:55.904Z] Step 21/23 : LABEL arch=arm64 [2021-06-09T10:32:55.904Z] ---> Running in 54ec7cae18a0 [2021-06-09T10:32:56.507Z] Removing intermediate container 54ec7cae18a0 [2021-06-09T10:32:56.507Z] ---> ee4fbb0c6703 [2021-06-09T10:32:56.507Z] Step 22/23 : LABEL git_sha=79864a9efc35071c9b1c277b8e1661acaff94390 [2021-06-09T10:32:56.782Z] ---> Running in f06ed4e61c9a [2021-06-09T10:32:57.763Z] Removing intermediate container f06ed4e61c9a [2021-06-09T10:32:57.763Z] ---> 24ffc14c0ed4 [2021-06-09T10:32:57.763Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T10:32:58.040Z] ---> Running in 8f443ed2a072 [2021-06-09T10:32:59.020Z] Removing intermediate container 8f443ed2a072 [2021-06-09T10:32:59.020Z] ---> b2faad402705 [2021-06-09T10:32:59.020Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T10:32:59.020Z] Successfully built b2faad402705 [2021-06-09T10:32:59.020Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:32:59.621Z] ---> job-cost.sh [2021-06-09T10:32:59.622Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-s0PR [2021-06-09T10:33:39.886Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T10:35:01.648Z] lf-activate-venv(): INFO: Adding /tmp/venv-s0PR/bin to PATH [2021-06-09T10:35:01.648Z] INFO: No Stack... [2021-06-09T10:35:01.648Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T10:35:01.648Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T10:35:01.991Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-09T10:35:01.991Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T10:35:02.053Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-960-2-stack-cost] [2021-06-09T10:35:02.062Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-960-2-stack-cost] did not exist. Created. [2021-06-09T10:35:02.063Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-960-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T10:35:02.428Z] /w/workspace/device-sdk-go/2@tmp/durable-345bf0b9/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-345bf0b9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T10:35:02.771Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T10:35:02.808Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T10:35:02.969Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T10:35:02.981Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-960-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-09T10:35:03.887Z] provisioning config files... [2021-06-09T10:35:03.902Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config6541545423894695639tmp [Pipeline] { [Pipeline] sh [2021-06-09T10:35:04.221Z] + set +x [2021-06-09T10:35:04.221Z] + curl -s https://codecov.io/bash [2021-06-09T10:35:04.221Z] + bash -s -- [2021-06-09T10:35:04.221Z] [2021-06-09T10:35:04.221Z] _____ _ [2021-06-09T10:35:04.221Z] / ____| | | [2021-06-09T10:35:04.221Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T10:35:04.221Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T10:35:04.221Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T10:35:04.221Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T10:35:04.221Z] Bash-1.0.3 [2021-06-09T10:35:04.221Z] [2021-06-09T10:35:04.221Z] [2021-06-09T10:35:04.221Z] ==> git version 2.24.4 found [2021-06-09T10:35:04.221Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-09T10:35:04.221Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T10:35:04.221Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T10:35:04.221Z] ==> Jenkins CI detected. [2021-06-09T10:35:04.221Z] project root: . [2021-06-09T10:35:04.221Z] --> token set from env [2021-06-09T10:35:04.221Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T10:35:04.221Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T10:35:04.221Z] ==> Python coveragepy not found [2021-06-09T10:35:04.221Z] ==> Searching for coverage reports in: [2021-06-09T10:35:04.221Z] + . [2021-06-09T10:35:04.221Z] -> Found 1 reports [2021-06-09T10:35:04.221Z] ==> Detecting git/mercurial file structure [2021-06-09T10:35:04.221Z] ==> Reading reports [2021-06-09T10:35:04.483Z] + ./coverage.out bytes=126071 [2021-06-09T10:35:04.483Z] ==> Appending adjustments [2021-06-09T10:35:04.483Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T10:35:04.483Z] + Found adjustments [2021-06-09T10:35:04.483Z] ==> Gzipping contents [2021-06-09T10:35:04.744Z] 20K /tmp/codecov.HznsAv.gz [2021-06-09T10:35:04.744Z] ==> Uploading reports [2021-06-09T10:35:04.744Z] url: https://codecov.io [2021-06-09T10:35:04.744Z] query: branch=PR-960&commit=79864a9efc35071c9b1c277b8e1661acaff94390&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-960%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=960&job=&cmd_args= [2021-06-09T10:35:04.744Z] -> Pinging Codecov [2021-06-09T10:35:04.744Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-960&commit=79864a9efc35071c9b1c277b8e1661acaff94390&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-960%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=960&job=&cmd_args= [2021-06-09T10:35:05.004Z] -> Uploading to [2021-06-09T10:35:05.004Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/7E55EF52A471D76F132DFD9A03CDDE97/79864a9efc35071c9b1c277b8e1661acaff94390/8182efc2-34c4-4122-8983-aed45e6dfa73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T103504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b4f546adba39eef52a129fe86f865babd751392a67e68c03b0591c2b9cdda3c [2021-06-09T10:35:05.004Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T10:35:05.004Z] Dload Upload Total Spent Left Speed [2021-06-09T10:35:05.585Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16430 0 0 100 16430 0 29501 --:--:-- --:--:-- --:--:-- 29550 [2021-06-09T10:35:05.585Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/79864a9efc35071c9b1c277b8e1661acaff94390 [Pipeline] } [2021-06-09T10:35:05.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:35:07.390Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:35:07.959Z] ---> package-listing.sh [2021-06-09T10:35:07.960Z] ++ facter osfamily [2021-06-09T10:35:07.960Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T10:35:08.222Z] + OS_FAMILY=redhat [2021-06-09T10:35:08.222Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-960 [2021-06-09T10:35:08.222Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T10:35:08.222Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T10:35:08.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T10:35:08.222Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T10:35:08.222Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-960 ']' [2021-06-09T10:35:08.222Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T10:35:08.222Z] + case "${OS_FAMILY}" in [2021-06-09T10:35:08.222Z] + rpm -qa [2021-06-09T10:35:08.222Z] + sort [2021-06-09T10:35:08.806Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T10:35:08.806Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T10:35:08.806Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T10:35:08.806Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-960 ']' [2021-06-09T10:35:08.806Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-960/archives/ [2021-06-09T10:35:08.806Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-960/archives/ [Pipeline] echo [2021-06-09T10:35:08.819Z] 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-960/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T10:35:09.106Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:35:09.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:35:09.683Z] [2021-06-09T10:35:09.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:35:09.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:35:09.996Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T10:35:09.996Z] df20fa9351a1: Pulling fs layer [2021-06-09T10:35:09.996Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T10:35:09.996Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T10:35:09.996Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T10:35:09.996Z] 93b61091891f: Pulling fs layer [2021-06-09T10:35:09.996Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T10:35:09.996Z] 5e14af77c1be: Pulling fs layer [2021-06-09T10:35:09.996Z] 01666e4c0597: Pulling fs layer [2021-06-09T10:35:09.996Z] aa168da1d23b: Pulling fs layer [2021-06-09T10:35:09.996Z] 93b9cdb0e59b: Waiting [2021-06-09T10:35:09.996Z] 5e14af77c1be: Waiting [2021-06-09T10:35:09.996Z] 01666e4c0597: Waiting [2021-06-09T10:35:09.996Z] aa168da1d23b: Waiting [2021-06-09T10:35:09.996Z] 46f8f816bc3b: Waiting [2021-06-09T10:35:09.996Z] 93b61091891f: Waiting [2021-06-09T10:35:09.996Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T10:35:09.996Z] 36b3adc4ff6f: Download complete [2021-06-09T10:35:09.996Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T10:35:09.996Z] 46f8f816bc3b: Download complete [2021-06-09T10:35:10.257Z] df20fa9351a1: Verifying Checksum [2021-06-09T10:35:10.257Z] df20fa9351a1: Download complete [2021-06-09T10:35:10.257Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T10:35:10.257Z] 93b9cdb0e59b: Download complete [2021-06-09T10:35:10.257Z] 93b61091891f: Verifying Checksum [2021-06-09T10:35:10.257Z] 93b61091891f: Download complete [2021-06-09T10:35:10.257Z] 5e14af77c1be: Verifying Checksum [2021-06-09T10:35:10.257Z] 5e14af77c1be: Download complete [2021-06-09T10:35:10.257Z] 01666e4c0597: Download complete [2021-06-09T10:35:10.257Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T10:35:10.257Z] 8ad3a11d3b57: Download complete [2021-06-09T10:35:10.257Z] df20fa9351a1: Pull complete [2021-06-09T10:35:10.533Z] 36b3adc4ff6f: Pull complete [2021-06-09T10:35:11.115Z] 8ad3a11d3b57: Pull complete [2021-06-09T10:35:11.115Z] 46f8f816bc3b: Pull complete [2021-06-09T10:35:11.685Z] 93b61091891f: Pull complete [2021-06-09T10:35:11.685Z] 93b9cdb0e59b: Pull complete [2021-06-09T10:35:11.685Z] 5e14af77c1be: Pull complete [2021-06-09T10:35:11.685Z] 01666e4c0597: Pull complete [2021-06-09T10:35:11.958Z] aa168da1d23b: Verifying Checksum [2021-06-09T10:35:11.958Z] aa168da1d23b: Download complete [2021-06-09T10:35:16.216Z] aa168da1d23b: Pull complete [2021-06-09T10:35:16.216Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T10:35:16.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:35:16.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T10:35:16.293Z] prd-centos7-docker-4c-2g-13 does not seem to be running inside a container [2021-06-09T10:35:16.328Z] $ 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-960/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-960 -v /w/workspace/dgexfoundry_device-sdk-go_PR-960:/w/workspace/dgexfoundry_device-sdk-go_PR-960:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-09T10:35:18.849Z] $ docker top 8b27d5e8e5d08753bd32b7f709779e3ad3e1445cfdc63b7bdb480e2c39ab7a3c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:35:19.241Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T10:35:19.539Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T10:35:19.837Z] + ls /var/log/sa-host [2021-06-09T10:35:19.837Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T10:35:19.837Z] file_magic: OK [2021-06-09T10:35:19.837Z] HZ: Using current value: 100 [2021-06-09T10:35:19.837Z] file_header: OK [2021-06-09T10:35:19.837Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-09T10:35:19.837Z] Statistics: [2021-06-09T10:35:19.837Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T10:35:19.837Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T10:35:19.837Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T10:35:19.837Z] file_magic: OK [2021-06-09T10:35:19.837Z] HZ: Using current value: 100 [2021-06-09T10:35:19.837Z] file_header: OK [2021-06-09T10:35:19.837Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-09T10:35:19.837Z] Statistics: [2021-06-09T10:35:19.837Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T10:35:19.837Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:35:20.456Z] provisioning config files... [2021-06-09T10:35:20.476Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config5925515012541804789tmp [Pipeline] { [Pipeline] echo [2021-06-09T10:35:20.500Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:35:20.804Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T10:35:20.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:35:21.213Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T10:35:21.224Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:35:21.530Z] ---> sudo-logs.sh [2021-06-09T10:35:21.531Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T10:35:21.562Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:35:21.856Z] ---> job-cost.sh [2021-06-09T10:35:21.856Z] lf-activate-venv: SKIPPING [2021-06-09T10:35:21.856Z] DEBUG: total: 0.18000000715255737 [2021-06-09T10:35:21.856Z] INFO: Retrieving Stack Cost... [2021-06-09T10:35:22.801Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T10:35:23.062Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T10:35:23.077Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:35:23.374Z] ---> logs-deploy.sh [2021-06-09T10:35:23.374Z] lf-activate-venv: SKIPPING [2021-06-09T10:35:23.374Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-960/2 [2021-06-09T10:35:23.374Z] INFO: archiving workspace using pattern(s): [2021-06-09T10:35:24.319Z] Archives upload complete. [2021-06-09T10:35:24.319Z] INFO: archiving logs to Nexus