Pull request #957 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 457577c3a6231ddb916052d92e736b8d6d0e86b2+93abf715a89b706c53091008ba2aa1c6f00d3b1a (657c0d4449f275f9c64d70ccfef0dbbdf354b418) Running in Durability level: MAX_SURVIVABILITY 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-ssh2266497512701580262.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh3055665516454431519.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-957/workspace@libs/edgex-global-pipelines # timeout=10 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-957/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1587971531306517798.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-957/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2898516300709149937.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh2770194252728506262.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-957/workspace@libs/lf-pipelines # timeout=10 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-957/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5157809414957222382.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-897 in /w/workspace/dgexfoundry_device-sdk-go_PR-957 [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-957 # 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-957@tmp/jenkins-gitclient-ssh859977809395874326.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 93abf715a89b706c53091008ba2aa1c6f00d3b1a into PR head commit 457577c3a6231ddb916052d92e736b8d6d0e86b2 Merge succeeded, producing 457577c3a6231ddb916052d92e736b8d6d0e86b2 Checking out Revision 457577c3a6231ddb916052d92e736b8d6d0e86b2 (PR-957) > 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-957@tmp/jenkins-gitclient-ssh6521215218915902079.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/957/head:refs/remotes/origin/PR-957 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 457577c3a6231ddb916052d92e736b8d6d0e86b2 # 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-957@tmp/jenkins-gitclient-ssh5968094002370277271.key > git merge 93abf715a89b706c53091008ba2aa1c6f00d3b1a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 457577c3a6231ddb916052d92e736b8d6d0e86b2 # timeout=10 Commit message: "refactor: remove unimplemented InitCmd/RemoveCmd configuration (#956)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-08T13:20:27.541Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-08T13:20:27.805Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-08T13:20:27.926Z] ========================================================= [2021-06-08T13:20:27.926Z] EdgeX Global Pipelines Version Info [2021-06-08T13:20:27.926Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:20:29.435Z] ------------------- [2021-06-08T13:20:29.435Z] stable info: [2021-06-08T13:20:29.435Z] ------------------- [2021-06-08T13:20:29.435Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-08T13:20:29.435Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-08T13:20:29.435Z] Message: update stable to v1.0.193 [2021-06-08T13:20:30.015Z] ------------------- [2021-06-08T13:20:30.015Z] experimental info: [2021-06-08T13:20:30.015Z] ------------------- [2021-06-08T13:20:30.015Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-08T13:20:30.015Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-08T13:20:30.015Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-08T13:20:30.264Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-08T13:20:30.344Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-08T13:20:30.409Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-08T13:20:30.471Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-08T13:20:30.531Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-08T13:20:30.594Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-08T13:20:30.653Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-08T13:20:30.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-08T13:20:30.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-08T13:20:30.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-08T13:20:30.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-08T13:20:31.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-08T13:20:31.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-08T13:20:31.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-08T13:20:31.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-08T13:20:31.254Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T13:20:31.328Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T13:20:31.389Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T13:20:31.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-08T13:20:31.507Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-08T13:20:31.563Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-08T13:20:31.622Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-08T13:20:31.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-08T13:20:31.738Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-08T13:20:31.847Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-08T13:20:31.903Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-08T13:20:31.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-957 [Pipeline] echo [2021-06-08T13:20:32.059Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-957 [Pipeline] echo [2021-06-08T13:20:32.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-957 [Pipeline] echo [2021-06-08T13:20:32.319Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 457577c3a6231ddb916052d92e736b8d6d0e86b2 [Pipeline] echo [2021-06-08T13:20:32.402Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 457577c [Pipeline] echo [2021-06-08T13:20:32.463Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T13:20:32.638Z] provisioning config files... [2021-06-08T13:20:32.673Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-957@tmp/config7939451200915082131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:20:33.077Z] ---> docker-login.sh [2021-06-08T13:20:33.077Z] nexus3.edgexfoundry.org:10001 [2021-06-08T13:20:33.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:20:33.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:20:33.372Z] Configure a credential helper to remove this warning. See [2021-06-08T13:20:33.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:20:33.372Z] [2021-06-08T13:20:33.372Z] Login Succeeded [2021-06-08T13:20:33.372Z] nexus3.edgexfoundry.org:10002 [2021-06-08T13:20:33.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:20:33.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:20:33.372Z] Configure a credential helper to remove this warning. See [2021-06-08T13:20:33.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:20:33.372Z] [2021-06-08T13:20:33.372Z] Login Succeeded [2021-06-08T13:20:33.372Z] nexus3.edgexfoundry.org:10003 [2021-06-08T13:20:33.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:20:33.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:20:33.649Z] Configure a credential helper to remove this warning. See [2021-06-08T13:20:33.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:20:33.649Z] [2021-06-08T13:20:33.649Z] Login Succeeded [2021-06-08T13:20:33.649Z] nexus3.edgexfoundry.org:10004 [2021-06-08T13:20:33.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:20:33.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:20:33.649Z] Configure a credential helper to remove this warning. See [2021-06-08T13:20:33.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:20:33.649Z] [2021-06-08T13:20:33.649Z] Login Succeeded [2021-06-08T13:20:33.649Z] docker.io [2021-06-08T13:20:33.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:20:34.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:20:34.174Z] Configure a credential helper to remove this warning. See [2021-06-08T13:20:34.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:20:34.174Z] [2021-06-08T13:20:34.174Z] Login Succeeded [2021-06-08T13:20:34.174Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T13:20:34.195Z] 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-08T13:20:35.012Z] + git log --format=format:%s -1 457577c3a6231ddb916052d92e736b8d6d0e86b2 [Pipeline] echo [2021-06-08T13:20:35.071Z] GIT_COMMIT: 457577c3a6231ddb916052d92e736b8d6d0e86b2, Commit Message: refactor: remove unimplemented InitCmd/RemoveCmd configuration (#956) [Pipeline] echo [2021-06-08T13:20:35.108Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:20:36.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T13:20:36.223Z] [2021-06-08T13:20:36.223Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:20:36.586Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T13:20:36.586Z] latest: Pulling from edgex-devops/git-semver [2021-06-08T13:20:36.587Z] 31603596830f: Pulling fs layer [2021-06-08T13:20:36.587Z] 54011a49482f: Pulling fs layer [2021-06-08T13:20:36.587Z] a6820b24f6d8: Pulling fs layer [2021-06-08T13:20:36.587Z] f581987b2513: Pulling fs layer [2021-06-08T13:20:36.587Z] f581987b2513: Waiting [2021-06-08T13:20:36.587Z] 54011a49482f: Verifying Checksum [2021-06-08T13:20:36.587Z] 54011a49482f: Download complete [2021-06-08T13:20:36.850Z] 31603596830f: Verifying Checksum [2021-06-08T13:20:36.850Z] 31603596830f: Download complete [2021-06-08T13:20:36.850Z] f581987b2513: Verifying Checksum [2021-06-08T13:20:36.850Z] f581987b2513: Download complete [2021-06-08T13:20:36.850Z] 31603596830f: Pull complete [2021-06-08T13:20:36.850Z] a6820b24f6d8: Verifying Checksum [2021-06-08T13:20:36.850Z] a6820b24f6d8: Download complete [2021-06-08T13:20:37.115Z] 54011a49482f: Pull complete [2021-06-08T13:20:37.695Z] a6820b24f6d8: Pull complete [2021-06-08T13:20:37.695Z] f581987b2513: Pull complete [2021-06-08T13:20:37.695Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-08T13:20:37.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T13:20:37.695Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-08T13:20:37.808Z] prd-centos7-docker-4c-2g-897 does not seem to be running inside a container [2021-06-08T13:20:37.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-957 -v /w/workspace/dgexfoundry_device-sdk-go_PR-957:/w/workspace/dgexfoundry_device-sdk-go_PR-957:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-957@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-957@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-08T13:20:38.960Z] $ docker top 52364136a6bd5feb674769388e40f3ee0e5728d33cb9516743b19bd8c037a9b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T13:20:39.171Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T13:20:39.171Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T13:20:39.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T13:20:39.286Z] $ docker exec 52364136a6bd5feb674769388e40f3ee0e5728d33cb9516743b19bd8c037a9b4 ssh-agent [2021-06-08T13:20:39.385Z] SSH_AUTH_SOCK=/tmp/ssh-04rsUlZBZWDK/agent.13 [2021-06-08T13:20:39.385Z] SSH_AGENT_PID=19 [2021-06-08T13:20:39.394Z] Running ssh-add (command line suppressed) [2021-06-08T13:20:39.499Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-957@tmp/private_key_9022609734160637738.key (/w/workspace/dgexfoundry_device-sdk-go_PR-957@tmp/private_key_9022609734160637738.key) [2021-06-08T13:20:39.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T13:20:39.890Z] + git tag --points-at HEAD [Pipeline] } [2021-06-08T13:20:39.917Z] $ docker exec --env ******** --env ******** 52364136a6bd5feb674769388e40f3ee0e5728d33cb9516743b19bd8c037a9b4 ssh-agent -k [2021-06-08T13:20:40.002Z] unset SSH_AUTH_SOCK; [2021-06-08T13:20:40.002Z] unset SSH_AGENT_PID; [2021-06-08T13:20:40.002Z] echo Agent pid 19 killed; [2021-06-08T13:20:40.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-08T13:20:40.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T13:20:40.115Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T13:20:40.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T13:20:40.243Z] $ docker exec 52364136a6bd5feb674769388e40f3ee0e5728d33cb9516743b19bd8c037a9b4 ssh-agent [2021-06-08T13:20:40.351Z] SSH_AUTH_SOCK=/tmp/ssh-PnxmJZiShuNW/agent.51 [2021-06-08T13:20:40.351Z] SSH_AGENT_PID=57 [2021-06-08T13:20:40.358Z] Running ssh-add (command line suppressed) [2021-06-08T13:20:40.466Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-957@tmp/private_key_816753107735028885.key (/w/workspace/dgexfoundry_device-sdk-go_PR-957@tmp/private_key_816753107735028885.key) [2021-06-08T13:20:40.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T13:20:40.820Z] + git semver init [2021-06-08T13:20:40.820Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T13:20:40.820Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-957/.git [2021-06-08T13:20:40.820Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-957 [2021-06-08T13:20:40.820Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T13:20:40.820Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T13:20:40.820Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T13:20:40.820Z] # $SEMVER_BRANCH = PR-957 [2021-06-08T13:20:40.820Z] # $SEMVER_TEMP = /tmp/semver-882689938 [2021-06-08T13:20:40.820Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-08T13:20:41.398Z] # '/tmp/semver-882689938' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-957/.semver' [2021-06-08T13:20:41.398Z] # -> Force: false [2021-06-08T13:20:41.398Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-957/.semver [Pipeline] } [2021-06-08T13:20:41.423Z] $ docker exec --env ******** --env ******** 52364136a6bd5feb674769388e40f3ee0e5728d33cb9516743b19bd8c037a9b4 ssh-agent -k [2021-06-08T13:20:41.517Z] unset SSH_AUTH_SOCK; [2021-06-08T13:20:41.517Z] unset SSH_AGENT_PID; [2021-06-08T13:20:41.517Z] echo Agent pid 57 killed; [2021-06-08T13:20:41.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T13:20:41.994Z] + git semver [Pipeline] } [2021-06-08T13:20:42.028Z] $ docker stop --time=1 52364136a6bd5feb674769388e40f3ee0e5728d33cb9516743b19bd8c037a9b4 [2021-06-08T13:20:43.347Z] $ docker rm -f 52364136a6bd5feb674769388e40f3ee0e5728d33cb9516743b19bd8c037a9b4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T13:20:43.810Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-08T13:20:44.146Z] Stashed 1 file(s) [Pipeline] echo [2021-06-08T13:20:44.170Z] [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-08T13:20:59.795Z] Still waiting to schedule task [2021-06-08T13:20:59.796Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-897’ [2021-06-08T13:20:59.826Z] Still waiting to schedule task [2021-06-08T13:20:59.827Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-08T13:23:06.184Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-898 in /w/workspace/dgexfoundry_device-sdk-go_PR-957 [Pipeline] { [Pipeline] ws [2021-06-08T13:23:06.247Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-08T13:23:06.532Z] Selected Git installation does not exist. Using Default [2021-06-08T13:23:06.532Z] The recommended git tool is: NONE [2021-06-08T13:23:11.978Z] using credential edgex-jenkins-ssh [2021-06-08T13:23:11.997Z] Cloning the remote Git repository [2021-06-08T13:23:12.055Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T13:23:12.162Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-08T13:23:12.243Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T13:23:12.244Z] > git --version # timeout=10 [2021-06-08T13:23:12.293Z] > git --version # 'git version 2.17.1' [2021-06-08T13:23:12.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T13:23:12.394Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T13:23:13.745Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T13:23:13.767Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T13:23:13.795Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T13:23:13.828Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T13:23:13.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T13:23:13.845Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/957/head:refs/remotes/origin/PR-957 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-08T13:23:14.466Z] Merging remotes/origin/master commit 93abf715a89b706c53091008ba2aa1c6f00d3b1a into PR head commit 457577c3a6231ddb916052d92e736b8d6d0e86b2 [2021-06-08T13:23:14.669Z] Merge succeeded, producing 457577c3a6231ddb916052d92e736b8d6d0e86b2 [2021-06-08T13:23:14.670Z] Checking out Revision 457577c3a6231ddb916052d92e736b8d6d0e86b2 (PR-957) [2021-06-08T13:23:14.484Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T13:23:14.498Z] > git checkout -f 457577c3a6231ddb916052d92e736b8d6d0e86b2 # timeout=10 [2021-06-08T13:23:14.594Z] > git remote # timeout=10 [2021-06-08T13:23:14.612Z] > git config --get remote.origin.url # timeout=10 [2021-06-08T13:23:14.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T13:23:14.635Z] > git merge 93abf715a89b706c53091008ba2aa1c6f00d3b1a # timeout=10 [2021-06-08T13:23:14.656Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-08T13:23:14.675Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T13:23:14.687Z] > git checkout -f 457577c3a6231ddb916052d92e736b8d6d0e86b2 # timeout=10 [2021-06-08T13:23:18.925Z] Commit message: "refactor: remove unimplemented InitCmd/RemoveCmd configuration (#956)" [2021-06-08T13:23:18.986Z] > git --version # timeout=10 [2021-06-08T13:23:18.998Z] > git --version # 'git version 2.17.1' [2021-06-08T13:23:19.011Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T13:23:20.675Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-08T13:23:21.166Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T13:23:21.548Z] + sudo service docker restart [2021-06-08T13:23:21.549Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T13:23:39.959Z] provisioning config files... [2021-06-08T13:23:39.988Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3020244213768583881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:23:40.503Z] ---> docker-login.sh [2021-06-08T13:23:40.503Z] nexus3.edgexfoundry.org:10001 [2021-06-08T13:23:41.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:23:42.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:23:42.079Z] Configure a credential helper to remove this warning. See [2021-06-08T13:23:42.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:23:42.079Z] [2021-06-08T13:23:42.079Z] Login Succeeded [2021-06-08T13:23:42.079Z] nexus3.edgexfoundry.org:10002 [2021-06-08T13:23:42.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:23:42.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:23:42.628Z] Configure a credential helper to remove this warning. See [2021-06-08T13:23:42.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:23:42.628Z] [2021-06-08T13:23:42.628Z] Login Succeeded [2021-06-08T13:23:42.628Z] nexus3.edgexfoundry.org:10003 [2021-06-08T13:23:42.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:23:43.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:23:43.180Z] Configure a credential helper to remove this warning. See [2021-06-08T13:23:43.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:23:43.180Z] [2021-06-08T13:23:43.180Z] Login Succeeded [2021-06-08T13:23:43.180Z] nexus3.edgexfoundry.org:10004 [2021-06-08T13:23:43.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:23:43.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:23:43.741Z] Configure a credential helper to remove this warning. See [2021-06-08T13:23:43.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:23:43.741Z] [2021-06-08T13:23:43.741Z] Login Succeeded [2021-06-08T13:23:43.741Z] docker.io [2021-06-08T13:23:44.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:23:44.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:23:44.610Z] Configure a credential helper to remove this warning. See [2021-06-08T13:23:44.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:23:44.610Z] [2021-06-08T13:23:44.610Z] Login Succeeded [2021-06-08T13:23:44.610Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T13:23:44.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T13:23:45.238Z] ========================================================= [2021-06-08T13:23:45.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-08T13:23:45.238Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:23:45.667Z] + 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-08T13:23:46.283Z] Sending build context to Docker daemon 2.642MB [2021-06-08T13:23:46.283Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T13:23:46.283Z] Step 2/8 : FROM ${BASE} [2021-06-08T13:23:46.559Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-08T13:23:46.559Z] 595b0fe564bb: Pulling fs layer [2021-06-08T13:23:46.559Z] 7186ed65a4f7: Pulling fs layer [2021-06-08T13:23:46.559Z] 316046926c0a: Pulling fs layer [2021-06-08T13:23:46.559Z] 4ebd0625c992: Pulling fs layer [2021-06-08T13:23:46.559Z] 207e8628e3a3: Pulling fs layer [2021-06-08T13:23:46.559Z] c791037a9be2: Pulling fs layer [2021-06-08T13:23:46.559Z] ffd874e62e21: Pulling fs layer [2021-06-08T13:23:46.559Z] 207e8628e3a3: Waiting [2021-06-08T13:23:46.559Z] c791037a9be2: Waiting [2021-06-08T13:23:46.559Z] ffd874e62e21: Waiting [2021-06-08T13:23:46.559Z] 4ebd0625c992: Waiting [2021-06-08T13:23:46.559Z] 316046926c0a: Verifying Checksum [2021-06-08T13:23:46.559Z] 316046926c0a: Download complete [2021-06-08T13:23:46.559Z] 7186ed65a4f7: Verifying Checksum [2021-06-08T13:23:46.559Z] 7186ed65a4f7: Download complete [2021-06-08T13:23:46.559Z] 207e8628e3a3: Verifying Checksum [2021-06-08T13:23:46.559Z] 207e8628e3a3: Download complete [2021-06-08T13:23:46.559Z] 595b0fe564bb: Verifying Checksum [2021-06-08T13:23:46.559Z] 595b0fe564bb: Download complete [2021-06-08T13:23:46.559Z] c791037a9be2: Verifying Checksum [2021-06-08T13:23:46.559Z] c791037a9be2: Download complete [2021-06-08T13:23:47.552Z] 595b0fe564bb: Pull complete [2021-06-08T13:23:47.831Z] 7186ed65a4f7: Pull complete [2021-06-08T13:23:48.432Z] 316046926c0a: Pull complete [2021-06-08T13:23:49.414Z] ffd874e62e21: Verifying Checksum [2021-06-08T13:23:49.414Z] ffd874e62e21: Download complete [2021-06-08T13:23:50.394Z] 4ebd0625c992: Verifying Checksum [2021-06-08T13:23:50.394Z] 4ebd0625c992: Download complete [2021-06-08T13:23:54.335Z] Running on prd-centos7-docker-4c-2g-899 in /w/workspace/dgexfoundry_device-sdk-go_PR-957 [Pipeline] { [Pipeline] ws [2021-06-08T13:23:54.406Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-08T13:23:54.577Z] Selected Git installation does not exist. Using Default [2021-06-08T13:23:54.577Z] The recommended git tool is: NONE [2021-06-08T13:23:56.867Z] using credential edgex-jenkins-ssh [2021-06-08T13:23:56.880Z] Cloning the remote Git repository [2021-06-08T13:23:56.895Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T13:23:56.956Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-08T13:23:56.998Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T13:23:56.998Z] > git --version # timeout=10 [2021-06-08T13:23:57.009Z] > git --version # 'git version 2.24.4' [2021-06-08T13:23:57.010Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T13:23:57.037Z] [INFO] Currently running in a labeled security context [2021-06-08T13:23:57.037Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T13:23:57.037Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh299783058335319492.key [2021-06-08T13:23:57.080Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T13:23:58.533Z] Merging remotes/origin/master commit 93abf715a89b706c53091008ba2aa1c6f00d3b1a into PR head commit 457577c3a6231ddb916052d92e736b8d6d0e86b2 [2021-06-08T13:23:58.667Z] Merge succeeded, producing 457577c3a6231ddb916052d92e736b8d6d0e86b2 [2021-06-08T13:23:58.667Z] Checking out Revision 457577c3a6231ddb916052d92e736b8d6d0e86b2 (PR-957) [2021-06-08T13:23:58.009Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T13:23:58.018Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T13:23:58.032Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T13:23:58.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T13:23:58.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T13:23:58.052Z] [INFO] Currently running in a labeled security context [2021-06-08T13:23:58.052Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T13:23:58.052Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7868949034575375603.key [2021-06-08T13:23:58.067Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/957/head:refs/remotes/origin/PR-957 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-08T13:23:58.539Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T13:23:58.545Z] > git checkout -f 457577c3a6231ddb916052d92e736b8d6d0e86b2 # timeout=10 [2021-06-08T13:23:58.594Z] > git remote # timeout=10 [2021-06-08T13:23:58.604Z] > git config --get remote.origin.url # timeout=10 [2021-06-08T13:23:58.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T13:23:58.630Z] [INFO] Currently running in a labeled security context [2021-06-08T13:23:58.630Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T13:23:58.630Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh812902265683802506.key [2021-06-08T13:23:58.643Z] > git merge 93abf715a89b706c53091008ba2aa1c6f00d3b1a # timeout=10 [2021-06-08T13:23:58.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-08T13:23:58.667Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T13:23:58.681Z] > git checkout -f 457577c3a6231ddb916052d92e736b8d6d0e86b2 # timeout=10 [2021-06-08T13:24:00.563Z] 4ebd0625c992: Pull complete [2021-06-08T13:24:00.563Z] 207e8628e3a3: Pull complete [2021-06-08T13:24:00.563Z] c791037a9be2: Pull complete [2021-06-08T13:24:02.286Z] Commit message: "refactor: remove unimplemented InitCmd/RemoveCmd configuration (#956)" [2021-06-08T13:24:02.307Z] > git --version # timeout=10 [2021-06-08T13:24:02.317Z] > git --version # 'git version 2.24.4' [2021-06-08T13:24:02.321Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T13:24:03.871Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-08T13:24:04.212Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T13:24:04.543Z] + true [2021-06-08T13:24:04.543Z] + sudo service docker restart [2021-06-08T13:24:04.543Z] Redirecting to /bin/systemctl restart docker.service [2021-06-08T13:24:04.890Z] ffd874e62e21: Pull complete [2021-06-08T13:24:04.890Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-08T13:24:04.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-08T13:24:04.890Z] ---> cfc18b08335c [2021-06-08T13:24:04.890Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T13:24:06.324Z] ---> Running in ccb075f25c21 [2021-06-08T13:24:06.607Z] Removing intermediate container ccb075f25c21 [2021-06-08T13:24:06.607Z] ---> 3a94ea118fcd [2021-06-08T13:24:06.607Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T13:24:06.607Z] ---> Running in 43471d9eff0a [2021-06-08T13:24:09.322Z] Removing intermediate container 43471d9eff0a [2021-06-08T13:24:09.322Z] ---> f873624bd9ba [2021-06-08T13:24:09.322Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-08T13:24:09.322Z] ---> Running in 976b76d812f1 [2021-06-08T13:24:10.302Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T13:24:11.724Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T13:24:12.316Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-08T13:24:12.316Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-08T13:24:12.588Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-08T13:24:12.588Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-08T13:24:12.588Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-08T13:24:12.867Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-08T13:24:12.867Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T13:24:12.867Z] OK: 139 MiB in 46 packages [2021-06-08T13:24:14.307Z] Removing intermediate container 976b76d812f1 [2021-06-08T13:24:14.307Z] ---> de3350c9c869 [2021-06-08T13:24:14.307Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-08T13:24:14.307Z] ---> Running in baf726cfbfa8 [2021-06-08T13:24:14.903Z] Removing intermediate container baf726cfbfa8 [2021-06-08T13:24:14.903Z] ---> c6c8168c5dcd [2021-06-08T13:24:14.903Z] Step 7/8 : COPY . . [2021-06-08T13:24:16.346Z] ---> dbc8683ef4d3 [2021-06-08T13:24:16.346Z] Step 8/8 : RUN go mod download [2021-06-08T13:24:16.346Z] ---> Running in bb556f793425 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T13:24:22.798Z] provisioning config files... [2021-06-08T13:24:22.813Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config987649197493247988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:24:23.218Z] ---> docker-login.sh [2021-06-08T13:24:23.218Z] nexus3.edgexfoundry.org:10001 [2021-06-08T13:24:23.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:24:23.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:24:23.792Z] Configure a credential helper to remove this warning. See [2021-06-08T13:24:23.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:24:23.792Z] [2021-06-08T13:24:23.792Z] Login Succeeded [2021-06-08T13:24:23.792Z] nexus3.edgexfoundry.org:10002 [2021-06-08T13:24:24.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:24:24.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:24:24.054Z] Configure a credential helper to remove this warning. See [2021-06-08T13:24:24.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:24:24.054Z] [2021-06-08T13:24:24.054Z] Login Succeeded [2021-06-08T13:24:24.054Z] nexus3.edgexfoundry.org:10003 [2021-06-08T13:24:24.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:24:24.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:24:24.054Z] Configure a credential helper to remove this warning. See [2021-06-08T13:24:24.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:24:24.054Z] [2021-06-08T13:24:24.054Z] Login Succeeded [2021-06-08T13:24:24.054Z] nexus3.edgexfoundry.org:10004 [2021-06-08T13:24:24.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:24:24.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:24:24.317Z] Configure a credential helper to remove this warning. See [2021-06-08T13:24:24.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:24:24.317Z] [2021-06-08T13:24:24.317Z] Login Succeeded [2021-06-08T13:24:24.317Z] docker.io [2021-06-08T13:24:24.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T13:24:24.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T13:24:24.581Z] Configure a credential helper to remove this warning. See [2021-06-08T13:24:24.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T13:24:24.581Z] [2021-06-08T13:24:24.581Z] Login Succeeded [2021-06-08T13:24:24.581Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T13:24:24.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T13:24:24.900Z] ========================================================= [2021-06-08T13:24:24.900Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-08T13:24:24.900Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:24:25.250Z] + 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-08T13:24:25.251Z] Sending build context to Docker daemon 2.645MB [2021-06-08T13:24:25.251Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T13:24:25.251Z] Step 2/8 : FROM ${BASE} [2021-06-08T13:24:25.512Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-08T13:24:25.512Z] 540db60ca938: Pulling fs layer [2021-06-08T13:24:25.512Z] adcc1eea9eea: Pulling fs layer [2021-06-08T13:24:25.512Z] 4c4ab2625f07: Pulling fs layer [2021-06-08T13:24:25.512Z] 0510c868ecb4: Pulling fs layer [2021-06-08T13:24:25.512Z] afea3b2eda06: Pulling fs layer [2021-06-08T13:24:25.512Z] 7809a108b3ef: Pulling fs layer [2021-06-08T13:24:25.512Z] f706445af74f: Pulling fs layer [2021-06-08T13:24:25.512Z] afea3b2eda06: Waiting [2021-06-08T13:24:25.512Z] 7809a108b3ef: Waiting [2021-06-08T13:24:25.512Z] f706445af74f: Waiting [2021-06-08T13:24:25.512Z] 0510c868ecb4: Waiting [2021-06-08T13:24:25.512Z] 4c4ab2625f07: Verifying Checksum [2021-06-08T13:24:25.512Z] 4c4ab2625f07: Download complete [2021-06-08T13:24:25.512Z] adcc1eea9eea: Verifying Checksum [2021-06-08T13:24:25.512Z] adcc1eea9eea: Download complete [2021-06-08T13:24:25.512Z] afea3b2eda06: Verifying Checksum [2021-06-08T13:24:25.512Z] afea3b2eda06: Download complete [2021-06-08T13:24:25.512Z] 7809a108b3ef: Verifying Checksum [2021-06-08T13:24:25.512Z] 7809a108b3ef: Download complete [2021-06-08T13:24:25.512Z] 540db60ca938: Verifying Checksum [2021-06-08T13:24:25.512Z] 540db60ca938: Download complete [2021-06-08T13:24:25.774Z] 540db60ca938: Pull complete [2021-06-08T13:24:26.038Z] adcc1eea9eea: Pull complete [2021-06-08T13:24:26.302Z] 4c4ab2625f07: Pull complete [2021-06-08T13:24:27.689Z] f706445af74f: Verifying Checksum [2021-06-08T13:24:27.689Z] f706445af74f: Download complete [2021-06-08T13:24:28.271Z] 0510c868ecb4: Verifying Checksum [2021-06-08T13:24:28.271Z] 0510c868ecb4: Download complete [2021-06-08T13:24:31.627Z] 0510c868ecb4: Pull complete [2021-06-08T13:24:31.627Z] afea3b2eda06: Pull complete [2021-06-08T13:24:31.896Z] 7809a108b3ef: Pull complete [2021-06-08T13:24:33.295Z] f706445af74f: Pull complete [2021-06-08T13:24:33.295Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-08T13:24:33.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-08T13:24:33.295Z] ---> b068be0155e3 [2021-06-08T13:24:33.295Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T13:24:43.143Z] Removing intermediate container bb556f793425 [2021-06-08T13:24:43.143Z] ---> 05132308d368 [2021-06-08T13:24:43.143Z] Successfully built 05132308d368 [2021-06-08T13:24:43.143Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:24:43.528Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T13:24:43.528Z] . [Pipeline] withDockerContainer [2021-06-08T13:24:43.800Z] prd-ubuntu18.04-docker-arm64-4c-16g-898 does not seem to be running inside a container [2021-06-08T13:24:43.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-06-08T13:24:45.513Z] $ docker top 49149acd93e5bbe511e229c680b56f63a6e627987c2474db6d49d8b7eb49eef5 -eo pid,comm [2021-06-08T13:24:45.548Z] ---> Running in 51ebd8d806c4 [2021-06-08T13:24:45.548Z] Removing intermediate container 51ebd8d806c4 [2021-06-08T13:24:45.548Z] ---> 817f463ef9e4 [2021-06-08T13:24:45.548Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T13:24:45.548Z] ---> Running in 6c1c48e2a53b [Pipeline] { [Pipeline] sh [2021-06-08T13:24:46.122Z] Removing intermediate container 6c1c48e2a53b [2021-06-08T13:24:46.122Z] ---> 28b194565bf3 [2021-06-08T13:24:46.122Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-08T13:24:46.122Z] ---> Running in 74dc6d2a99de [2021-06-08T13:24:46.384Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T13:24:46.505Z] + go version [2021-06-08T13:24:46.506Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-08T13:24:46.554Z] $ docker stop --time=1 49149acd93e5bbe511e229c680b56f63a6e627987c2474db6d49d8b7eb49eef5 [2021-06-08T13:24:47.324Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T13:24:47.900Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-08T13:24:47.900Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-08T13:24:47.900Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-08T13:24:48.162Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-08T13:24:48.162Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-08T13:24:48.162Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-08T13:24:48.336Z] $ docker rm -f 49149acd93e5bbe511e229c680b56f63a6e627987c2474db6d49d8b7eb49eef5 [2021-06-08T13:24:48.425Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T13:24:48.425Z] OK: 150 MiB in 46 packages [Pipeline] // withDockerContainer [2021-06-08T13:24:48.690Z] Removing intermediate container 74dc6d2a99de [2021-06-08T13:24:48.690Z] ---> ba5af58d14b6 [2021-06-08T13:24:48.690Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-08T13:24:48.690Z] ---> Running in 82a4bd3bea01 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [2021-06-08T13:24:48.952Z] Removing intermediate container 82a4bd3bea01 [2021-06-08T13:24:48.952Z] ---> 9b97b74fed46 [2021-06-08T13:24:48.952Z] Step 7/8 : COPY . . [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:24:49.213Z] ---> bd4c64e0f542 [2021-06-08T13:24:49.213Z] Step 8/8 : RUN go mod download [2021-06-08T13:24:49.423Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T13:24:49.423Z] . [Pipeline] withDockerContainer [2021-06-08T13:24:49.479Z] ---> Running in 20f4595e37f4 [2021-06-08T13:24:49.699Z] prd-ubuntu18.04-docker-arm64-4c-16g-898 does not seem to be running inside a container [2021-06-08T13:24:49.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-06-08T13:24:51.198Z] $ docker top 3039794604d32169070686ac40db179eadfdddd06fce5ea8c3d7121e5575ff05 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T13:24:52.176Z] + go mod tidy [Pipeline] sh [2021-06-08T13:24:53.462Z] + make test [2021-06-08T13:24:53.462Z] go mod tidy [2021-06-08T13:24:54.063Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-08T13:25:04.421Z] Removing intermediate container 20f4595e37f4 [2021-06-08T13:25:04.421Z] ---> 338f1a600936 [2021-06-08T13:25:04.421Z] Successfully built 338f1a600936 [2021-06-08T13:25:04.421Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:25:04.766Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T13:25:04.766Z] . [Pipeline] withDockerContainer [2021-06-08T13:25:04.875Z] prd-centos7-docker-4c-2g-899 does not seem to be running inside a container [2021-06-08T13:25:04.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-08T13:25:05.307Z] $ docker top abac9f0377be47c6ab7bbd8c846263062d954eb21e706a201f3244e5bf7d3590 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T13:25:05.758Z] + go version [2021-06-08T13:25:05.758Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-08T13:25:05.785Z] $ docker stop --time=1 abac9f0377be47c6ab7bbd8c846263062d954eb21e706a201f3244e5bf7d3590 [2021-06-08T13:25:06.976Z] $ docker rm -f abac9f0377be47c6ab7bbd8c846263062d954eb21e706a201f3244e5bf7d3590 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:25:07.827Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T13:25:07.827Z] . [Pipeline] withDockerContainer [2021-06-08T13:25:07.932Z] prd-centos7-docker-4c-2g-899 does not seem to be running inside a container [2021-06-08T13:25:07.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-08T13:25:08.306Z] $ docker top 9efafb6f71400ccfaae8477f3088c2cfc70acd8383175bf4c05ae2bc0c09f80e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T13:25:08.749Z] + go mod tidy [Pipeline] sh [2021-06-08T13:25:09.333Z] + make test [2021-06-08T13:25:09.333Z] go mod tidy [2021-06-08T13:25:09.333Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-08T13:25:14.709Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-08T13:25:16.237Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-08T13:25:36.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-08T13:25:36.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-08T13:25:36.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-08T13:25:38.721Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 25.4% of statements [2021-06-08T13:25:38.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-08T13:25:38.721Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-06-08T13:25:39.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-06-08T13:25:39.576Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2021-06-08T13:25:39.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-08T13:25:39.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-08T13:25:39.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-08T13:25:40.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 29.2% of statements [2021-06-08T13:25:40.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-08T13:25:41.556Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-06-08T13:25:41.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-08T13:25:41.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-08T13:25:41.556Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 58.0% of statements [2021-06-08T13:25:42.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.807s coverage: 89.2% of statements [2021-06-08T13:25:42.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-08T13:25:42.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 5.0% of statements [2021-06-08T13:25:42.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-08T13:25:42.517Z] GO111MODULE=on go vet ./... [2021-06-08T13:26:00.758Z] gofmt -l . [2021-06-08T13:26:00.758Z] [ "`gofmt -l .`" = "" ] [2021-06-08T13:26:00.758Z] ./bin/test-attribution-txt.sh [2021-06-08T13:26:00.758Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-08T13:26:00.791Z] $ docker stop --time=1 9efafb6f71400ccfaae8477f3088c2cfc70acd8383175bf4c05ae2bc0c09f80e [2021-06-08T13:26:02.717Z] $ docker rm -f 9efafb6f71400ccfaae8477f3088c2cfc70acd8383175bf4c05ae2bc0c09f80e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T13:26:03.294Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T13:26:03.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-08T13:26:07.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T13:26:07.339Z] + ls -al . [2021-06-08T13:26:07.339Z] total 208 [2021-06-08T13:26:07.339Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 8 13:26 . [2021-06-08T13:26:07.339Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 8 13:23 .. [2021-06-08T13:26:07.339Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 8 13:23 bin [2021-06-08T13:26:07.339Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 8 13:25 coverage.out [2021-06-08T13:26:07.339Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 8 13:23 Dockerfile.build [2021-06-08T13:26:07.339Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 8 13:23 .dockerignore [2021-06-08T13:26:07.339Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 8 13:23 example [2021-06-08T13:26:07.339Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 8 13:24 .git [2021-06-08T13:26:07.339Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 8 13:23 .github [2021-06-08T13:26:07.339Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 8 13:23 .gitignore [2021-06-08T13:26:07.339Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 8 13:26 go.mod [2021-06-08T13:26:07.339Z] -rw-r--r--. 1 jenkins jenkins 20381 Jun 8 13:25 go.sum [2021-06-08T13:26:07.339Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 8 13:23 internal [2021-06-08T13:26:07.339Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 8 13:23 Jenkinsfile [2021-06-08T13:26:07.339Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 8 13:23 LICENSE [2021-06-08T13:26:07.339Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 8 13:23 Makefile [2021-06-08T13:26:07.339Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 8 13:23 openapi [2021-06-08T13:26:07.339Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 8 13:23 pkg [2021-06-08T13:26:07.339Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 8 13:23 README.md [2021-06-08T13:26:07.339Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 8 13:23 RELEASE-NOTES.txt [2021-06-08T13:26:07.339Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 8 13:23 snap [2021-06-08T13:26:07.339Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 8 13:20 VERSION [2021-06-08T13:26:07.339Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 8 13:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:26:07.684Z] + 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=457577c3a6231ddb916052d92e736b8d6d0e86b2 --label arch=amd64 --label version=0.0.0 . [2021-06-08T13:26:07.684Z] Sending build context to Docker daemon 2.772MB [2021-06-08T13:26:07.684Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T13:26:07.684Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-08T13:26:07.684Z] ---> 338f1a600936 [2021-06-08T13:26:07.684Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-08T13:26:08.258Z] ---> Running in 999d447429bd [2021-06-08T13:26:08.258Z] Removing intermediate container 999d447429bd [2021-06-08T13:26:08.258Z] ---> a21c9329064e [2021-06-08T13:26:08.258Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T13:26:08.258Z] ---> Running in 511bc4f337cc [2021-06-08T13:26:08.527Z] Removing intermediate container 511bc4f337cc [2021-06-08T13:26:08.528Z] ---> a8f959e720f5 [2021-06-08T13:26:08.528Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T13:26:08.528Z] ---> Running in ae5ba23e1362 [2021-06-08T13:26:09.107Z] Removing intermediate container ae5ba23e1362 [2021-06-08T13:26:09.107Z] ---> cc04dd6fa085 [2021-06-08T13:26:09.107Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-08T13:26:09.107Z] ---> Running in fc8b2cff9ad8 [2021-06-08T13:26:09.679Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T13:26:10.267Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T13:26:11.660Z] OK: 150 MiB in 46 packages [2021-06-08T13:26:11.660Z] Removing intermediate container fc8b2cff9ad8 [2021-06-08T13:26:11.660Z] ---> f4ad5fed8350 [2021-06-08T13:26:11.660Z] Step 7/23 : COPY . . [2021-06-08T13:26:11.921Z] ---> 1e3879a8b3c5 [2021-06-08T13:26:11.921Z] Step 8/23 : RUN go mod download [2021-06-08T13:26:11.921Z] ---> Running in 598c063a8b6f [2021-06-08T13:26:12.871Z] Removing intermediate container 598c063a8b6f [2021-06-08T13:26:12.871Z] ---> a24df62ec823 [2021-06-08T13:26:12.871Z] Step 9/23 : RUN make build [2021-06-08T13:26:12.871Z] ---> Running in 86adf90a7039 [2021-06-08T13:26:13.132Z] go mod tidy [2021-06-08T13:26:13.132Z] 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-08T13:26:23.205Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-08T13:26:24.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-08T13:26:24.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-08T13:26:24.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-08T13:26:25.120Z] Removing intermediate container 86adf90a7039 [2021-06-08T13:26:25.120Z] ---> 9ed4b1dd1017 [2021-06-08T13:26:25.120Z] Step 10/23 : FROM alpine:3.12 [2021-06-08T13:26:25.715Z] 3.12: Pulling from library/alpine [2021-06-08T13:26:25.715Z] 339de151aab4: Pulling fs layer [2021-06-08T13:26:25.980Z] 339de151aab4: Verifying Checksum [2021-06-08T13:26:25.980Z] 339de151aab4: Download complete [2021-06-08T13:26:26.245Z] 339de151aab4: Pull complete [2021-06-08T13:26:26.245Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T13:26:26.245Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T13:26:26.245Z] ---> 13621d1b12d4 [2021-06-08T13:26:26.245Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T13:26:26.245Z] ---> Running in 979ce715743f [2021-06-08T13:26:26.245Z] Removing intermediate container 979ce715743f [2021-06-08T13:26:26.245Z] ---> 99398f99c1ee [2021-06-08T13:26:26.245Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T13:26:26.245Z] ---> Running in fd7c518b1c71 [2021-06-08T13:26:26.829Z] Removing intermediate container fd7c518b1c71 [2021-06-08T13:26:26.829Z] ---> f2e49e2f7762 [2021-06-08T13:26:26.829Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-08T13:26:26.829Z] ---> Running in a5eca893c7b2 [2021-06-08T13:26:27.090Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-08T13:26:27.663Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-08T13:26:28.236Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-08T13:26:28.236Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-08T13:26:28.500Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-08T13:26:29.443Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-08T13:26:29.443Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-08T13:26:29.707Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T13:26:29.707Z] OK: 8 MiB in 19 packages [2021-06-08T13:26:29.727Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.382s coverage: 25.4% of statements [2021-06-08T13:26:29.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-08T13:26:29.727Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.219s coverage: 28.1% of statements [2021-06-08T13:26:29.727Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.244s coverage: 78.9% of statements [2021-06-08T13:26:29.727Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.257s coverage: 9.0% of statements [2021-06-08T13:26:29.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-08T13:26:29.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-08T13:26:29.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-08T13:26:29.969Z] Removing intermediate container a5eca893c7b2 [2021-06-08T13:26:29.969Z] ---> 2d41f6859eaf [2021-06-08T13:26:29.969Z] Step 14/23 : WORKDIR / [2021-06-08T13:26:29.969Z] ---> Running in ba78d10a3ef7 [2021-06-08T13:26:29.969Z] Removing intermediate container ba78d10a3ef7 [2021-06-08T13:26:29.969Z] ---> f663cfbe3aa6 [2021-06-08T13:26:29.969Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-08T13:26:30.230Z] ---> a7d0688c7cd8 [2021-06-08T13:26:30.230Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-08T13:26:30.813Z] ---> 59d150ac9c46 [2021-06-08T13:26:30.813Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-08T13:26:30.813Z] ---> 4b18e6421d56 [2021-06-08T13:26:30.813Z] Step 18/23 : EXPOSE 59999 [2021-06-08T13:26:30.813Z] ---> Running in fb7181b31363 [2021-06-08T13:26:31.076Z] Removing intermediate container fb7181b31363 [2021-06-08T13:26:31.076Z] ---> 7d5e34510c62 [2021-06-08T13:26:31.076Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-08T13:26:31.076Z] ---> Running in cf345be65c5c [2021-06-08T13:26:31.076Z] Removing intermediate container cf345be65c5c [2021-06-08T13:26:31.076Z] ---> 15f97a949800 [2021-06-08T13:26:31.076Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-08T13:26:31.076Z] ---> Running in 957064dcedb2 [2021-06-08T13:26:31.339Z] Removing intermediate container 957064dcedb2 [2021-06-08T13:26:31.339Z] ---> 2adf37362076 [2021-06-08T13:26:31.339Z] Step 21/23 : LABEL arch=amd64 [2021-06-08T13:26:31.339Z] ---> Running in 4504d5ce74ce [2021-06-08T13:26:31.339Z] Removing intermediate container 4504d5ce74ce [2021-06-08T13:26:31.339Z] ---> 6bb5608c471c [2021-06-08T13:26:31.339Z] Step 22/23 : LABEL git_sha=457577c3a6231ddb916052d92e736b8d6d0e86b2 [2021-06-08T13:26:31.339Z] ---> Running in 60174a7c0807 [2021-06-08T13:26:31.339Z] Removing intermediate container 60174a7c0807 [2021-06-08T13:26:31.339Z] ---> 68c7cfefa05b [2021-06-08T13:26:31.339Z] Step 23/23 : LABEL version=0.0.0 [2021-06-08T13:26:31.599Z] ---> Running in 530aef40e7bc [2021-06-08T13:26:31.599Z] Removing intermediate container 530aef40e7bc [2021-06-08T13:26:31.599Z] ---> 7b1a4b82303d [2021-06-08T13:26:31.599Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-08T13:26:31.599Z] Successfully built 7b1a4b82303d [2021-06-08T13:26:31.599Z] 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 [2021-06-08T13:26:32.375Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.315s coverage: 29.2% of statements [2021-06-08T13:26:32.375Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:26:32.650Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.227s coverage: 83.3% of statements [2021-06-08T13:26:32.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-08T13:26:32.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-08T13:26:32.903Z] ---> job-cost.sh [2021-06-08T13:26:32.903Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qdLy [2021-06-08T13:26:34.644Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.405s coverage: 58.0% of statements [2021-06-08T13:26:36.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.251s coverage: 89.2% of statements [2021-06-08T13:26:36.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-08T13:26:36.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.166s coverage: 5.0% of statements [2021-06-08T13:26:36.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-08T13:26:37.219Z] GO111MODULE=on go vet ./... [2021-06-08T13:26:42.929Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T13:26:55.181Z] lf-activate-venv(): INFO: Adding /tmp/venv-qdLy/bin to PATH [2021-06-08T13:26:55.181Z] INFO: No Stack... [2021-06-08T13:26:56.126Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T13:26:56.704Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T13:26:57.030Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-08T13:26:57.030Z] + cut -d, -f6 [Pipeline] lock [2021-06-08T13:26:57.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-957-1-stack-cost] [2021-06-08T13:26:57.110Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-957-1-stack-cost] did not exist. Created. [2021-06-08T13:26:57.110Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-957-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T13:26:57.543Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-08T13:26:57.667Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T13:26:57.687Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-957-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-08T13:27:33.805Z] gofmt -l . [2021-06-08T13:27:33.805Z] [ "`gofmt -l .`" = "" ] [2021-06-08T13:27:33.805Z] ./bin/test-attribution-txt.sh [2021-06-08T13:27:33.805Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-08T13:27:33.837Z] $ docker stop --time=1 3039794604d32169070686ac40db179eadfdddd06fce5ea8c3d7121e5575ff05 [2021-06-08T13:27:35.865Z] $ docker rm -f 3039794604d32169070686ac40db179eadfdddd06fce5ea8c3d7121e5575ff05 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T13:27:37.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T13:27:37.094Z] Warning: overwriting stash ‘coverage-report’ [2021-06-08T13:27:37.983Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T13:27:38.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T13:27:39.245Z] + ls -al . [2021-06-08T13:27:39.245Z] total 244 [2021-06-08T13:27:39.245Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 13:27 . [2021-06-08T13:27:39.245Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 13:23 .. [2021-06-08T13:27:39.245Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 13:23 .dockerignore [2021-06-08T13:27:39.245Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 13:23 .git [2021-06-08T13:27:39.245Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 13:23 .github [2021-06-08T13:27:39.245Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 8 13:23 .gitignore [2021-06-08T13:27:39.245Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 8 13:23 Dockerfile.build [2021-06-08T13:27:39.245Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 8 13:23 Jenkinsfile [2021-06-08T13:27:39.245Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 8 13:23 LICENSE [2021-06-08T13:27:39.245Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 8 13:23 Makefile [2021-06-08T13:27:39.245Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 8 13:23 README.md [2021-06-08T13:27:39.245Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 8 13:23 RELEASE-NOTES.txt [2021-06-08T13:27:39.245Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 13:20 VERSION [2021-06-08T13:27:39.245Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 13:23 bin [2021-06-08T13:27:39.245Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 8 13:26 coverage.out [2021-06-08T13:27:39.245Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 8 13:23 example [2021-06-08T13:27:39.245Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 8 13:27 go.mod [2021-06-08T13:27:39.245Z] -rw-r--r-- 1 jenkins jenkins 20381 Jun 8 13:24 go.sum [2021-06-08T13:27:39.245Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 8 13:23 internal [2021-06-08T13:27:39.245Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 13:23 openapi [2021-06-08T13:27:39.245Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 8 13:23 pkg [2021-06-08T13:27:39.245Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 13:23 snap [2021-06-08T13:27:39.245Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 8 13:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:27:39.635Z] + 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=457577c3a6231ddb916052d92e736b8d6d0e86b2 --label arch=arm64 --label version=0.0.0 . [2021-06-08T13:27:40.237Z] Sending build context to Docker daemon 2.769MB [2021-06-08T13:27:40.237Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T13:27:40.237Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-08T13:27:40.237Z] ---> 05132308d368 [2021-06-08T13:27:40.237Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-08T13:27:40.507Z] ---> Running in 9395de57d565 [2021-06-08T13:27:40.784Z] Removing intermediate container 9395de57d565 [2021-06-08T13:27:40.784Z] ---> 7746d4753813 [2021-06-08T13:27:40.784Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T13:27:41.059Z] ---> Running in 624e3b6963a9 [2021-06-08T13:27:41.335Z] Removing intermediate container 624e3b6963a9 [2021-06-08T13:27:41.335Z] ---> fd52e7eca757 [2021-06-08T13:27:41.335Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T13:27:41.610Z] ---> Running in 9e61cb15acb7 [2021-06-08T13:27:43.585Z] Removing intermediate container 9e61cb15acb7 [2021-06-08T13:27:43.585Z] ---> 113c27fd497d [2021-06-08T13:27:43.585Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-08T13:27:43.864Z] ---> Running in 2a6dc57e1127 [2021-06-08T13:27:44.847Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T13:27:45.816Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T13:27:46.792Z] OK: 139 MiB in 46 packages [2021-06-08T13:27:47.770Z] Removing intermediate container 2a6dc57e1127 [2021-06-08T13:27:47.770Z] ---> 1934368d92e4 [2021-06-08T13:27:47.770Z] Step 7/23 : COPY . . [2021-06-08T13:27:49.198Z] ---> da518b726fac [2021-06-08T13:27:49.198Z] Step 8/23 : RUN go mod download [2021-06-08T13:27:49.198Z] ---> Running in 5690f3c818c0 [2021-06-08T13:27:51.813Z] Removing intermediate container 5690f3c818c0 [2021-06-08T13:27:51.814Z] ---> f6c17d906761 [2021-06-08T13:27:51.814Z] Step 9/23 : RUN make build [2021-06-08T13:27:51.814Z] ---> Running in a9e86d8022ec [2021-06-08T13:27:52.789Z] go mod tidy [2021-06-08T13:27:53.064Z] 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-08T13:28:25.417Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-08T13:28:28.031Z] Removing intermediate container a9e86d8022ec [2021-06-08T13:28:28.031Z] ---> 554738301c50 [2021-06-08T13:28:28.031Z] Step 10/23 : FROM alpine:3.12 [2021-06-08T13:28:28.303Z] 3.12: Pulling from library/alpine [2021-06-08T13:28:28.303Z] d2f70382dc9a: Pulling fs layer [2021-06-08T13:28:28.577Z] d2f70382dc9a: Verifying Checksum [2021-06-08T13:28:28.577Z] d2f70382dc9a: Download complete [2021-06-08T13:28:29.174Z] d2f70382dc9a: Pull complete [2021-06-08T13:28:29.174Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T13:28:29.174Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T13:28:29.174Z] ---> 9852663dfa18 [2021-06-08T13:28:29.174Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T13:28:29.447Z] ---> Running in eaff9efbace5 [2021-06-08T13:28:30.041Z] Removing intermediate container eaff9efbace5 [2021-06-08T13:28:30.041Z] ---> e1bfe541955c [2021-06-08T13:28:30.041Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T13:28:30.041Z] ---> Running in 3e27c038f8cc [2021-06-08T13:28:32.659Z] Removing intermediate container 3e27c038f8cc [2021-06-08T13:28:32.659Z] ---> 83745384ceb4 [2021-06-08T13:28:32.659Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-08T13:28:32.659Z] ---> Running in fbdff1c1f304 [2021-06-08T13:28:33.637Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-08T13:28:34.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-08T13:28:34.818Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-08T13:28:34.818Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-08T13:28:35.088Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-08T13:28:35.088Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-08T13:28:35.360Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-08T13:28:35.360Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T13:28:35.360Z] OK: 8 MiB in 19 packages [2021-06-08T13:28:36.337Z] Removing intermediate container fbdff1c1f304 [2021-06-08T13:28:36.337Z] ---> c9ff5138222b [2021-06-08T13:28:36.337Z] Step 14/23 : WORKDIR / [2021-06-08T13:28:36.609Z] ---> Running in 737601f5f79d [2021-06-08T13:28:36.882Z] Removing intermediate container 737601f5f79d [2021-06-08T13:28:36.882Z] ---> 5b4acd4b37d4 [2021-06-08T13:28:36.882Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-08T13:28:37.859Z] ---> c6720c4de3db [2021-06-08T13:28:37.859Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-08T13:28:39.296Z] ---> 80e5da6a5147 [2021-06-08T13:28:39.296Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-08T13:28:39.893Z] ---> adddf038a0db [2021-06-08T13:28:39.893Z] Step 18/23 : EXPOSE 59999 [2021-06-08T13:28:40.167Z] ---> Running in ac3aedbb7f1b [2021-06-08T13:28:40.443Z] Removing intermediate container ac3aedbb7f1b [2021-06-08T13:28:40.443Z] ---> 582606677c1b [2021-06-08T13:28:40.443Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-08T13:28:40.719Z] ---> Running in 271d1a81f4b0 [2021-06-08T13:28:40.988Z] Removing intermediate container 271d1a81f4b0 [2021-06-08T13:28:40.988Z] ---> 86074db70b40 [2021-06-08T13:28:40.988Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-08T13:28:41.260Z] ---> Running in e5eaad37208b [2021-06-08T13:28:41.530Z] Removing intermediate container e5eaad37208b [2021-06-08T13:28:41.530Z] ---> 85b1feb52586 [2021-06-08T13:28:41.530Z] Step 21/23 : LABEL arch=arm64 [2021-06-08T13:28:41.803Z] ---> Running in e94f66cca222 [2021-06-08T13:28:42.073Z] Removing intermediate container e94f66cca222 [2021-06-08T13:28:42.073Z] ---> 5d75d3823014 [2021-06-08T13:28:42.073Z] Step 22/23 : LABEL git_sha=457577c3a6231ddb916052d92e736b8d6d0e86b2 [2021-06-08T13:28:42.343Z] ---> Running in 02cb66440f22 [2021-06-08T13:28:42.614Z] Removing intermediate container 02cb66440f22 [2021-06-08T13:28:42.614Z] ---> b447ca08055b [2021-06-08T13:28:42.614Z] Step 23/23 : LABEL version=0.0.0 [2021-06-08T13:28:42.891Z] ---> Running in a43a728f55f1 [2021-06-08T13:28:43.164Z] Removing intermediate container a43a728f55f1 [2021-06-08T13:28:43.164Z] ---> 0335fa2e8479 [2021-06-08T13:28:43.164Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-08T13:28:43.164Z] Successfully built 0335fa2e8479 [2021-06-08T13:28:43.164Z] 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-08T13:28:44.289Z] ---> job-cost.sh [2021-06-08T13:28:44.289Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lgF5 [2021-06-08T13:29:23.244Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T13:31:00.200Z] lf-activate-venv(): INFO: Adding /tmp/venv-lgF5/bin to PATH [2021-06-08T13:31:00.200Z] INFO: No Stack... [2021-06-08T13:31:00.200Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-08T13:31:00.200Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T13:31:00.562Z] + cut -d, -f6 [2021-06-08T13:31:00.563Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-06-08T13:31:00.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-957-1-stack-cost] [2021-06-08T13:31:00.695Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-957-1-stack-cost] did not exist. Created. [2021-06-08T13:31:00.695Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-957-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T13:31:01.148Z] /w/workspace/device-sdk-go/1@tmp/durable-eb62e2ce/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-eb62e2ce/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-08T13:31:01.530Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-08T13:31:01.572Z] Warning: overwriting stash ‘stack-cost’ [2021-06-08T13:31:01.724Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T13:31:01.755Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-957-1-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-08T13:31:02.955Z] provisioning config files... [2021-06-08T13:31:02.968Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-957@tmp/config3324068957532923408tmp [Pipeline] { [Pipeline] sh [2021-06-08T13:31:03.339Z] + set +x [2021-06-08T13:31:03.339Z] + curl -s https://codecov.io/bash [2021-06-08T13:31:03.339Z] + bash -s -- [2021-06-08T13:31:03.339Z] [2021-06-08T13:31:03.339Z] _____ _ [2021-06-08T13:31:03.339Z] / ____| | | [2021-06-08T13:31:03.339Z] | | ___ __| | ___ ___ _____ __ [2021-06-08T13:31:03.339Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-08T13:31:03.339Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-08T13:31:03.339Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-08T13:31:03.339Z] Bash-1.0.3 [2021-06-08T13:31:03.339Z] [2021-06-08T13:31:03.339Z] [2021-06-08T13:31:03.339Z] ==> git version 2.24.4 found [2021-06-08T13:31:03.339Z] ==> 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-08T13:31:03.339Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-08T13:31:03.339Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-08T13:31:03.339Z] ==> Jenkins CI detected. [2021-06-08T13:31:03.339Z] project root: . [2021-06-08T13:31:03.339Z] --> token set from env [2021-06-08T13:31:03.339Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-08T13:31:03.603Z] ==> Running gcov in . (disable via -X gcov) [2021-06-08T13:31:03.603Z] ==> Python coveragepy not found [2021-06-08T13:31:03.603Z] ==> Searching for coverage reports in: [2021-06-08T13:31:03.603Z] + . [2021-06-08T13:31:03.603Z] -> Found 1 reports [2021-06-08T13:31:03.603Z] ==> Detecting git/mercurial file structure [2021-06-08T13:31:03.603Z] ==> Reading reports [2021-06-08T13:31:03.603Z] + ./coverage.out bytes=126071 [2021-06-08T13:31:03.603Z] ==> Appending adjustments [2021-06-08T13:31:03.603Z] https://docs.codecov.io/docs/fixing-reports [2021-06-08T13:31:03.867Z] + Found adjustments [2021-06-08T13:31:03.867Z] ==> Gzipping contents [2021-06-08T13:31:03.867Z] 20K /tmp/codecov.pRj2E1.gz [2021-06-08T13:31:03.867Z] ==> Uploading reports [2021-06-08T13:31:03.867Z] url: https://codecov.io [2021-06-08T13:31:03.867Z] query: branch=PR-957&commit=457577c3a6231ddb916052d92e736b8d6d0e86b2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-957%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=957&job=&cmd_args= [2021-06-08T13:31:03.867Z] -> Pinging Codecov [2021-06-08T13:31:03.867Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-957&commit=457577c3a6231ddb916052d92e736b8d6d0e86b2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-957%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=957&job=&cmd_args= [2021-06-08T13:31:04.441Z] -> Uploading to [2021-06-08T13:31:04.441Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-08/7E55EF52A471D76F132DFD9A03CDDE97/457577c3a6231ddb916052d92e736b8d6d0e86b2/3808bef3-05fd-4925-9a04-1a4103b593e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210608T133104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8097cddf1b8ea1ca1cfd2c37202653bd150c4a15b14e997d0cd17055805274d1 [2021-06-08T13:31:04.441Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-08T13:31:04.441Z] Dload Upload Total Spent Left Speed [2021-06-08T13:31:04.705Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16467 0 0 100 16467 0 49665 --:--:-- --:--:-- --:--:-- 49599 100 16467 0 0 100 16467 0 49642 --:--:-- --:--:-- --:--:-- 49599 [2021-06-08T13:31:04.705Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/457577c3a6231ddb916052d92e736b8d6d0e86b2 [Pipeline] } [2021-06-08T13:31:04.730Z] 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-08T13:31:07.324Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:31:07.939Z] ---> package-listing.sh [2021-06-08T13:31:07.939Z] ++ facter osfamily [2021-06-08T13:31:07.939Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-08T13:31:08.201Z] + OS_FAMILY=redhat [2021-06-08T13:31:08.201Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-957 [2021-06-08T13:31:08.201Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-08T13:31:08.201Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-08T13:31:08.201Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-08T13:31:08.201Z] + PACKAGES=/tmp/packages_start.txt [2021-06-08T13:31:08.201Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-957 ']' [2021-06-08T13:31:08.201Z] + PACKAGES=/tmp/packages_end.txt [2021-06-08T13:31:08.201Z] + case "${OS_FAMILY}" in [2021-06-08T13:31:08.201Z] + rpm -qa [2021-06-08T13:31:08.201Z] + sort [2021-06-08T13:31:08.775Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-08T13:31:08.775Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-08T13:31:08.775Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-08T13:31:08.775Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-957 ']' [2021-06-08T13:31:08.775Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-957/archives/ [2021-06-08T13:31:08.775Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-957/archives/ [Pipeline] echo [2021-06-08T13:31:08.808Z] 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-957/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-08T13:31:09.124Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:31:09.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T13:31:09.743Z] [2021-06-08T13:31:09.743Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-08T13:31:10.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T13:31:10.106Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-08T13:31:10.106Z] df20fa9351a1: Pulling fs layer [2021-06-08T13:31:10.106Z] 36b3adc4ff6f: Pulling fs layer [2021-06-08T13:31:10.106Z] 8ad3a11d3b57: Pulling fs layer [2021-06-08T13:31:10.106Z] 46f8f816bc3b: Pulling fs layer [2021-06-08T13:31:10.106Z] 93b61091891f: Pulling fs layer [2021-06-08T13:31:10.106Z] 93b9cdb0e59b: Pulling fs layer [2021-06-08T13:31:10.106Z] 5e14af77c1be: Pulling fs layer [2021-06-08T13:31:10.106Z] 01666e4c0597: Pulling fs layer [2021-06-08T13:31:10.106Z] aa168da1d23b: Pulling fs layer [2021-06-08T13:31:10.106Z] 93b9cdb0e59b: Waiting [2021-06-08T13:31:10.106Z] 5e14af77c1be: Waiting [2021-06-08T13:31:10.106Z] 01666e4c0597: Waiting [2021-06-08T13:31:10.106Z] aa168da1d23b: Waiting [2021-06-08T13:31:10.106Z] 46f8f816bc3b: Waiting [2021-06-08T13:31:10.106Z] 93b61091891f: Waiting [2021-06-08T13:31:10.106Z] 36b3adc4ff6f: Verifying Checksum [2021-06-08T13:31:10.106Z] 36b3adc4ff6f: Download complete [2021-06-08T13:31:10.373Z] 46f8f816bc3b: Download complete [2021-06-08T13:31:10.373Z] df20fa9351a1: Verifying Checksum [2021-06-08T13:31:10.373Z] df20fa9351a1: Download complete [2021-06-08T13:31:10.373Z] 93b9cdb0e59b: Verifying Checksum [2021-06-08T13:31:10.373Z] 93b9cdb0e59b: Download complete [2021-06-08T13:31:10.373Z] 5e14af77c1be: Verifying Checksum [2021-06-08T13:31:10.373Z] 5e14af77c1be: Download complete [2021-06-08T13:31:10.373Z] 93b61091891f: Verifying Checksum [2021-06-08T13:31:10.373Z] 93b61091891f: Download complete [2021-06-08T13:31:10.373Z] 01666e4c0597: Verifying Checksum [2021-06-08T13:31:10.373Z] 01666e4c0597: Download complete [2021-06-08T13:31:10.634Z] df20fa9351a1: Pull complete [2021-06-08T13:31:10.634Z] 36b3adc4ff6f: Pull complete [2021-06-08T13:31:10.903Z] 8ad3a11d3b57: Download complete [2021-06-08T13:31:11.167Z] 8ad3a11d3b57: Pull complete [2021-06-08T13:31:11.432Z] 46f8f816bc3b: Pull complete [2021-06-08T13:31:11.694Z] 93b61091891f: Pull complete [2021-06-08T13:31:11.694Z] 93b9cdb0e59b: Pull complete [2021-06-08T13:31:11.694Z] 5e14af77c1be: Pull complete [2021-06-08T13:31:11.961Z] 01666e4c0597: Pull complete [2021-06-08T13:31:12.905Z] aa168da1d23b: Verifying Checksum [2021-06-08T13:31:12.905Z] aa168da1d23b: Download complete [2021-06-08T13:31:17.168Z] aa168da1d23b: Pull complete [2021-06-08T13:31:17.168Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-08T13:31:17.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T13:31:17.168Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-08T13:31:17.266Z] prd-centos7-docker-4c-2g-897 does not seem to be running inside a container [2021-06-08T13:31:17.324Z] $ 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-957/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-957 -v /w/workspace/dgexfoundry_device-sdk-go_PR-957:/w/workspace/dgexfoundry_device-sdk-go_PR-957:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-957@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-957@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-08T13:31:20.006Z] $ docker top 2749800a00b49407e6cf5f226247b373e73ce512d9a08ae6cc37e3df464b5268 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T13:31:20.454Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-08T13:31:20.776Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-08T13:31:21.101Z] + ls /var/log/sa-host [2021-06-08T13:31:21.101Z] + sadf -c /var/log/sa-host/sa05 [2021-06-08T13:31:21.101Z] file_magic: OK [2021-06-08T13:31:21.101Z] HZ: Using current value: 100 [2021-06-08T13:31:21.101Z] file_header: OK [2021-06-08T13:31:21.101Z] 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-08T13:31:21.101Z] Statistics: [2021-06-08T13:31:21.101Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-08T13:31:21.101Z] File successfully converted to sysstat format version 12.2.1 [2021-06-08T13:31:21.101Z] + sadf -c /var/log/sa-host/sa08 [2021-06-08T13:31:21.101Z] file_magic: OK [2021-06-08T13:31:21.101Z] HZ: Using current value: 100 [2021-06-08T13:31:21.101Z] file_header: OK [2021-06-08T13:31:21.101Z] 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-08T13:31:21.101Z] Statistics: [2021-06-08T13:31:21.101Z] 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-08T13:31:21.101Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T13:31:21.810Z] provisioning config files... [2021-06-08T13:31:21.823Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-957@tmp/config7801172511621977870tmp [Pipeline] { [Pipeline] echo [2021-06-08T13:31:21.888Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:31:22.222Z] ---> create-netrc.sh [Pipeline] } [2021-06-08T13:31:22.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:31:22.758Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-08T13:31:22.788Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:31:23.146Z] ---> sudo-logs.sh [2021-06-08T13:31:23.146Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-08T13:31:23.230Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:31:23.566Z] ---> job-cost.sh [2021-06-08T13:31:23.566Z] lf-activate-venv: SKIPPING [2021-06-08T13:31:23.566Z] DEBUG: total: 0.18000000715255737 [2021-06-08T13:31:23.566Z] INFO: Retrieving Stack Cost... [2021-06-08T13:31:24.508Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T13:31:24.769Z] INFO: Archiving Costs [Pipeline] echo [2021-06-08T13:31:24.803Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T13:31:25.157Z] ---> logs-deploy.sh [2021-06-08T13:31:25.157Z] lf-activate-venv: SKIPPING [2021-06-08T13:31:25.157Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-957/1 [2021-06-08T13:31:25.157Z] INFO: archiving workspace using pattern(s): [2021-06-08T13:31:26.108Z] Archives upload complete. [2021-06-08T13:31:26.108Z] INFO: archiving logs to Nexus