Pull request #970 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 13aef19b97b0618a8f6311a61b8cc8b6a0faba71+00edbbce35bff277d2f3a20c52fc7796f34887df (a0d42202acb61b680eedf478b38eaed08629ed69) 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-ssh4903605966472866241.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4619711448808496998.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh 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-970/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-970/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3303697985995195962.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-970/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6899394206761314794.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh823284952109964907.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-970/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-970/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh592895883197741046.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 6a41506d72e8e131afc862d141935157bee59f41 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-462 in /w/workspace/dgexfoundry_device-sdk-go_PR-970 [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-970 # 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-970@tmp/jenkins-gitclient-ssh8040323045238629558.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp/jenkins-gitclient-ssh1868054347867645781.key Merging remotes/origin/master commit 00edbbce35bff277d2f3a20c52fc7796f34887df into PR head commit 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 Merge succeeded, producing 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 Checking out Revision 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 (PR-970) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/970/head:refs/remotes/origin/PR-970 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 # 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-970@tmp/jenkins-gitclient-ssh7509610831605824179.key > git merge 00edbbce35bff277d2f3a20c52fc7796f34887df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 # timeout=10 Commit message: "refactor: remove redundant dic client code" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-11T04:53:36.000Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-11T04:53:36.232Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-11T04:53:36.356Z] ========================================================= [2021-06-11T04:53:36.356Z] EdgeX Global Pipelines Version Info [2021-06-11T04:53:36.356Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-11T04:53:37.848Z] ------------------- [2021-06-11T04:53:37.848Z] stable info: [2021-06-11T04:53:37.848Z] ------------------- [2021-06-11T04:53:37.848Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-11T04:53:37.848Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T04:53:37.848Z] Message: update stable to v1.0.195 [2021-06-11T04:53:38.423Z] ------------------- [2021-06-11T04:53:38.423Z] experimental info: [2021-06-11T04:53:38.423Z] ------------------- [2021-06-11T04:53:38.423Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-11T04:53:38.423Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T04:53:38.423Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-11T04:53:38.665Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-11T04:53:38.721Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-11T04:53:38.780Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-11T04:53:38.855Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-11T04:53:38.915Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-11T04:53:38.976Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-11T04:53:39.037Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-11T04:53:39.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-11T04:53:39.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-11T04:53:39.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-11T04:53:39.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-11T04:53:39.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-11T04:53:39.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-11T04:53:39.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-11T04:53:39.517Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-11T04:53:39.575Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T04:53:39.640Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T04:53:39.705Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T04:53:39.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-11T04:53:39.833Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-11T04:53:39.891Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-11T04:53:39.951Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-11T04:53:40.018Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-11T04:53:40.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-11T04:53:40.147Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-11T04:53:40.210Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-11T04:53:40.276Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-970 [Pipeline] echo [2021-06-11T04:53:40.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-970 [Pipeline] echo [2021-06-11T04:53:40.403Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-970 [Pipeline] echo [2021-06-11T04:53:40.463Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 [Pipeline] echo [2021-06-11T04:53:40.528Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13aef19 [Pipeline] echo [2021-06-11T04:53:40.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T04:53:40.766Z] provisioning config files... [2021-06-11T04:53:40.787Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp/config6851568834374142086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T04:53:41.174Z] ---> docker-login.sh [2021-06-11T04:53:41.175Z] nexus3.edgexfoundry.org:10001 [2021-06-11T04:53:41.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:53:41.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:53:41.699Z] Configure a credential helper to remove this warning. See [2021-06-11T04:53:41.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:53:41.699Z] [2021-06-11T04:53:41.699Z] Login Succeeded [2021-06-11T04:53:41.699Z] nexus3.edgexfoundry.org:10002 [2021-06-11T04:53:41.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:53:41.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:53:41.699Z] Configure a credential helper to remove this warning. See [2021-06-11T04:53:41.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:53:41.699Z] [2021-06-11T04:53:41.699Z] Login Succeeded [2021-06-11T04:53:41.699Z] nexus3.edgexfoundry.org:10003 [2021-06-11T04:53:41.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:53:41.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:53:41.969Z] Configure a credential helper to remove this warning. See [2021-06-11T04:53:41.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:53:41.969Z] [2021-06-11T04:53:41.969Z] Login Succeeded [2021-06-11T04:53:41.969Z] nexus3.edgexfoundry.org:10004 [2021-06-11T04:53:41.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:53:41.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:53:41.969Z] Configure a credential helper to remove this warning. See [2021-06-11T04:53:41.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:53:41.969Z] [2021-06-11T04:53:41.969Z] Login Succeeded [2021-06-11T04:53:41.969Z] docker.io [2021-06-11T04:53:41.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:53:42.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:53:42.234Z] Configure a credential helper to remove this warning. See [2021-06-11T04:53:42.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:53:42.234Z] [2021-06-11T04:53:42.234Z] Login Succeeded [2021-06-11T04:53:42.495Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T04:53:42.522Z] 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-11T04:53:43.369Z] + git log --format=format:%s -1 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 [Pipeline] echo [2021-06-11T04:53:43.433Z] GIT_COMMIT: 13aef19b97b0618a8f6311a61b8cc8b6a0faba71, Commit Message: refactor: remove redundant dic client code [Pipeline] echo [2021-06-11T04:53:43.480Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-11T04:53:44.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T04:53:44.496Z] [2021-06-11T04:53:44.496Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T04:53:44.864Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T04:53:44.865Z] latest: Pulling from edgex-devops/git-semver [2021-06-11T04:53:44.865Z] 31603596830f: Pulling fs layer [2021-06-11T04:53:44.865Z] 54011a49482f: Pulling fs layer [2021-06-11T04:53:44.865Z] a6820b24f6d8: Pulling fs layer [2021-06-11T04:53:44.865Z] f581987b2513: Pulling fs layer [2021-06-11T04:53:44.865Z] f581987b2513: Waiting [2021-06-11T04:53:44.865Z] 54011a49482f: Verifying Checksum [2021-06-11T04:53:44.865Z] 54011a49482f: Download complete [2021-06-11T04:53:45.133Z] 31603596830f: Verifying Checksum [2021-06-11T04:53:45.133Z] 31603596830f: Download complete [2021-06-11T04:53:45.133Z] f581987b2513: Verifying Checksum [2021-06-11T04:53:45.133Z] f581987b2513: Download complete [2021-06-11T04:53:45.133Z] a6820b24f6d8: Verifying Checksum [2021-06-11T04:53:45.133Z] a6820b24f6d8: Download complete [2021-06-11T04:53:45.133Z] 31603596830f: Pull complete [2021-06-11T04:53:45.404Z] 54011a49482f: Pull complete [2021-06-11T04:53:45.983Z] a6820b24f6d8: Pull complete [2021-06-11T04:53:45.983Z] f581987b2513: Pull complete [2021-06-11T04:53:45.983Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-11T04:53:45.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T04:53:45.983Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-11T04:53:46.130Z] prd-centos7-docker-4c-2g-462 does not seem to be running inside a container [2021-06-11T04:53:46.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-970 -v /w/workspace/dgexfoundry_device-sdk-go_PR-970:/w/workspace/dgexfoundry_device-sdk-go_PR-970:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-11T04:53:47.502Z] $ docker top 8fab46cc6a04bbd3c49d442e9fb0083dcfe7bf202b79924e3f92a1c8e702ebd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-11T04:53:47.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T04:53:47.728Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T04:53:47.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T04:53:47.845Z] $ docker exec 8fab46cc6a04bbd3c49d442e9fb0083dcfe7bf202b79924e3f92a1c8e702ebd4 ssh-agent [2021-06-11T04:53:47.962Z] SSH_AUTH_SOCK=/tmp/ssh-rLo2DaFieQmx/agent.14 [2021-06-11T04:53:47.962Z] SSH_AGENT_PID=21 [2021-06-11T04:53:47.970Z] Running ssh-add (command line suppressed) [2021-06-11T04:53:48.069Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp/private_key_6148045252721238946.key (/w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp/private_key_6148045252721238946.key) [2021-06-11T04:53:48.084Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T04:53:48.443Z] + git tag --points-at HEAD [Pipeline] } [2021-06-11T04:53:48.465Z] $ docker exec --env ******** --env ******** 8fab46cc6a04bbd3c49d442e9fb0083dcfe7bf202b79924e3f92a1c8e702ebd4 ssh-agent -k [2021-06-11T04:53:48.568Z] unset SSH_AUTH_SOCK; [2021-06-11T04:53:48.568Z] unset SSH_AGENT_PID; [2021-06-11T04:53:48.568Z] echo Agent pid 21 killed; [2021-06-11T04:53:48.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-11T04:53:48.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T04:53:48.679Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T04:53:48.788Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T04:53:48.789Z] $ docker exec 8fab46cc6a04bbd3c49d442e9fb0083dcfe7bf202b79924e3f92a1c8e702ebd4 ssh-agent [2021-06-11T04:53:48.903Z] SSH_AUTH_SOCK=/tmp/ssh-N0Nj94KJjpAe/agent.53 [2021-06-11T04:53:48.903Z] SSH_AGENT_PID=59 [2021-06-11T04:53:48.908Z] Running ssh-add (command line suppressed) [2021-06-11T04:53:48.996Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp/private_key_598563439514722547.key (/w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp/private_key_598563439514722547.key) [2021-06-11T04:53:49.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T04:53:49.364Z] + git semver init [2021-06-11T04:53:49.364Z] # -> Open(): unable to determine branch for HEAD [2021-06-11T04:53:49.364Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-970/.git [2021-06-11T04:53:49.364Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-970 [2021-06-11T04:53:49.364Z] # $SEMVER_REMOTE_NAME = origin [2021-06-11T04:53:49.364Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-11T04:53:49.364Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-11T04:53:49.364Z] # $SEMVER_BRANCH = PR-970 [2021-06-11T04:53:49.364Z] # $SEMVER_TEMP = /tmp/semver-523363631 [2021-06-11T04:53:49.364Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-11T04:53:49.936Z] # '/tmp/semver-523363631' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-970/.semver' [2021-06-11T04:53:49.936Z] # -> Force: false [2021-06-11T04:53:49.936Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-970/.semver [Pipeline] } [2021-06-11T04:53:49.958Z] $ docker exec --env ******** --env ******** 8fab46cc6a04bbd3c49d442e9fb0083dcfe7bf202b79924e3f92a1c8e702ebd4 ssh-agent -k [2021-06-11T04:53:50.062Z] unset SSH_AUTH_SOCK; [2021-06-11T04:53:50.062Z] unset SSH_AGENT_PID; [2021-06-11T04:53:50.062Z] echo Agent pid 59 killed; [2021-06-11T04:53:50.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-11T04:53:50.527Z] + git semver [Pipeline] } [2021-06-11T04:53:50.559Z] $ docker stop --time=1 8fab46cc6a04bbd3c49d442e9fb0083dcfe7bf202b79924e3f92a1c8e702ebd4 [2021-06-11T04:53:51.857Z] $ docker rm -f 8fab46cc6a04bbd3c49d442e9fb0083dcfe7bf202b79924e3f92a1c8e702ebd4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T04:53:52.291Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-11T04:53:52.613Z] Stashed 1 file(s) [Pipeline] echo [2021-06-11T04:53:52.640Z] [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-11T04:54:08.250Z] Still waiting to schedule task [2021-06-11T04:54:08.251Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-462’ [2021-06-11T04:54:08.282Z] Still waiting to schedule task [2021-06-11T04:54:08.282Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-11T04:56:07.304Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-463 in /w/workspace/dgexfoundry_device-sdk-go_PR-970 [Pipeline] { [Pipeline] ws [2021-06-11T04:56:07.363Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-11T04:56:07.641Z] Selected Git installation does not exist. Using Default [2021-06-11T04:56:07.642Z] The recommended git tool is: NONE [2021-06-11T04:56:13.027Z] using credential edgex-jenkins-ssh [2021-06-11T04:56:13.048Z] Cloning the remote Git repository [2021-06-11T04:56:13.113Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T04:56:13.297Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-11T04:56:13.460Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T04:56:13.461Z] > git --version # timeout=10 [2021-06-11T04:56:13.481Z] > git --version # 'git version 2.17.1' [2021-06-11T04:56:13.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T04:56:13.569Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T04:56:15.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-11T04:56:15.032Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T04:56:15.739Z] Merging remotes/origin/master commit 00edbbce35bff277d2f3a20c52fc7796f34887df into PR head commit 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 [2021-06-11T04:56:15.954Z] Merge succeeded, producing 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 [2021-06-11T04:56:15.954Z] Checking out Revision 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 (PR-970) [2021-06-11T04:56:15.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-11T04:56:15.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T04:56:15.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T04:56:15.125Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/970/head:refs/remotes/origin/PR-970 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-11T04:56:15.758Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T04:56:15.779Z] > git checkout -f 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 # timeout=10 [2021-06-11T04:56:15.877Z] > git remote # timeout=10 [2021-06-11T04:56:15.893Z] > git config --get remote.origin.url # timeout=10 [2021-06-11T04:56:15.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T04:56:15.917Z] > git merge 00edbbce35bff277d2f3a20c52fc7796f34887df # timeout=10 [2021-06-11T04:56:15.939Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-11T04:56:15.959Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T04:56:15.975Z] > git checkout -f 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 # timeout=10 [2021-06-11T04:56:20.211Z] Commit message: "refactor: remove redundant dic client code" [2021-06-11T04:56:20.266Z] > git --version # timeout=10 [2021-06-11T04:56:20.276Z] > git --version # 'git version 2.17.1' [2021-06-11T04:56:20.294Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T04:56:21.923Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-11T04:56:22.360Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-11T04:56:22.728Z] + true [2021-06-11T04:56:22.728Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T04:56:41.140Z] provisioning config files... [2021-06-11T04:56:41.171Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5833456735230015727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T04:56:41.605Z] ---> docker-login.sh [2021-06-11T04:56:41.605Z] nexus3.edgexfoundry.org:10001 [2021-06-11T04:56:42.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:56:42.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:56:42.807Z] Configure a credential helper to remove this warning. See [2021-06-11T04:56:42.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:56:42.807Z] [2021-06-11T04:56:42.807Z] Login Succeeded [2021-06-11T04:56:42.807Z] nexus3.edgexfoundry.org:10002 [2021-06-11T04:56:43.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:56:43.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:56:43.083Z] Configure a credential helper to remove this warning. See [2021-06-11T04:56:43.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:56:43.083Z] [2021-06-11T04:56:43.083Z] Login Succeeded [2021-06-11T04:56:43.360Z] nexus3.edgexfoundry.org:10003 [2021-06-11T04:56:43.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:56:43.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:56:43.908Z] Configure a credential helper to remove this warning. See [2021-06-11T04:56:43.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:56:43.908Z] [2021-06-11T04:56:43.908Z] Login Succeeded [2021-06-11T04:56:43.908Z] nexus3.edgexfoundry.org:10004 [2021-06-11T04:56:44.015Z] Running on prd-centos7-docker-4c-2g-464 in /w/workspace/dgexfoundry_device-sdk-go_PR-970 [Pipeline] { [Pipeline] ws [2021-06-11T04:56:44.080Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-11T04:56:44.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:56:44.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:56:44.193Z] Configure a credential helper to remove this warning. See [2021-06-11T04:56:44.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:56:44.193Z] [2021-06-11T04:56:44.193Z] Login Succeeded [2021-06-11T04:56:44.247Z] Selected Git installation does not exist. Using Default [2021-06-11T04:56:44.247Z] The recommended git tool is: NONE [2021-06-11T04:56:44.466Z] docker.io [2021-06-11T04:56:44.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:56:45.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:56:45.013Z] Configure a credential helper to remove this warning. See [2021-06-11T04:56:45.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:56:45.013Z] [2021-06-11T04:56:45.013Z] Login Succeeded [2021-06-11T04:56:45.013Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T04:56:45.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-11T04:56:45.716Z] ========================================================= [2021-06-11T04:56:45.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-11T04:56:45.716Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-11T04:56:46.155Z] + 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-11T04:56:46.462Z] using credential edgex-jenkins-ssh [2021-06-11T04:56:46.478Z] Cloning the remote Git repository [2021-06-11T04:56:45.935Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T04:56:46.764Z] Sending build context to Docker daemon 2.719MB [2021-06-11T04:56:46.764Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T04:56:46.764Z] Step 2/8 : FROM ${BASE} [2021-06-11T04:56:46.764Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-11T04:56:46.764Z] 595b0fe564bb: Pulling fs layer [2021-06-11T04:56:46.764Z] 3088b5b3c5c0: Pulling fs layer [2021-06-11T04:56:46.764Z] 5b7225fbf94c: Pulling fs layer [2021-06-11T04:56:46.764Z] ba82ee9f976e: Pulling fs layer [2021-06-11T04:56:46.764Z] 506bd15cee9f: Pulling fs layer [2021-06-11T04:56:46.764Z] 75a0a4a0db45: Pulling fs layer [2021-06-11T04:56:46.764Z] 618dc40b7e24: Pulling fs layer [2021-06-11T04:56:46.764Z] ba82ee9f976e: Waiting [2021-06-11T04:56:46.764Z] 75a0a4a0db45: Waiting [2021-06-11T04:56:46.764Z] 618dc40b7e24: Waiting [2021-06-11T04:56:46.764Z] 506bd15cee9f: Waiting [2021-06-11T04:56:46.764Z] 5b7225fbf94c: Verifying Checksum [2021-06-11T04:56:46.764Z] 5b7225fbf94c: Download complete [2021-06-11T04:56:47.039Z] 3088b5b3c5c0: Verifying Checksum [2021-06-11T04:56:47.039Z] 3088b5b3c5c0: Download complete [2021-06-11T04:56:47.039Z] 506bd15cee9f: Verifying Checksum [2021-06-11T04:56:47.039Z] 506bd15cee9f: Download complete [2021-06-11T04:56:47.039Z] 75a0a4a0db45: Verifying Checksum [2021-06-11T04:56:47.039Z] 595b0fe564bb: Verifying Checksum [2021-06-11T04:56:47.039Z] 595b0fe564bb: Download complete [2021-06-11T04:56:46.003Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-11T04:56:46.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T04:56:46.046Z] > git --version # timeout=10 [2021-06-11T04:56:46.057Z] > git --version # 'git version 2.24.4' [2021-06-11T04:56:46.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T04:56:46.079Z] [INFO] Currently running in a labeled security context [2021-06-11T04:56:46.079Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T04:56:46.080Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6653927762797112179.key [2021-06-11T04:56:46.109Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T04:56:46.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-11T04:56:46.985Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T04:56:46.997Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-11T04:56:47.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T04:56:47.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T04:56:47.016Z] [INFO] Currently running in a labeled security context [2021-06-11T04:56:47.016Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T04:56:47.016Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2432091100737168842.key [2021-06-11T04:56:47.021Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/970/head:refs/remotes/origin/PR-970 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-11T04:56:47.635Z] 595b0fe564bb: Pull complete [2021-06-11T04:56:47.981Z] Merging remotes/origin/master commit 00edbbce35bff277d2f3a20c52fc7796f34887df into PR head commit 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 [2021-06-11T04:56:48.084Z] Merge succeeded, producing 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 [2021-06-11T04:56:48.084Z] Checking out Revision 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 (PR-970) [2021-06-11T04:56:48.240Z] 3088b5b3c5c0: Pull complete [2021-06-11T04:56:47.556Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T04:56:47.564Z] > git checkout -f 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 # timeout=10 [2021-06-11T04:56:47.605Z] > git remote # timeout=10 [2021-06-11T04:56:47.616Z] > git config --get remote.origin.url # timeout=10 [2021-06-11T04:56:47.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T04:56:47.631Z] [INFO] Currently running in a labeled security context [2021-06-11T04:56:47.631Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T04:56:47.631Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh228620905451606161.key [2021-06-11T04:56:47.637Z] > git merge 00edbbce35bff277d2f3a20c52fc7796f34887df # timeout=10 [2021-06-11T04:56:47.647Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-11T04:56:47.657Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T04:56:47.672Z] > git checkout -f 13aef19b97b0618a8f6311a61b8cc8b6a0faba71 # timeout=10 [2021-06-11T04:56:48.842Z] 5b7225fbf94c: Pull complete [2021-06-11T04:56:49.820Z] 618dc40b7e24: Verifying Checksum [2021-06-11T04:56:49.820Z] 618dc40b7e24: Download complete [2021-06-11T04:56:50.797Z] ba82ee9f976e: Verifying Checksum [2021-06-11T04:56:50.797Z] ba82ee9f976e: Download complete [2021-06-11T04:56:51.479Z] Commit message: "refactor: remove redundant dic client code" [2021-06-11T04:56:51.357Z] > git --version # timeout=10 [2021-06-11T04:56:51.372Z] > git --version # 'git version 2.24.4' [2021-06-11T04:56:51.377Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T04:56:52.803Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-11T04:56:53.149Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-11T04:56:53.483Z] + sudo service docker restart [2021-06-11T04:56:53.483Z] + true [2021-06-11T04:56:53.483Z] Redirecting to /bin/systemctl restart docker.service [2021-06-11T04:57:00.979Z] ba82ee9f976e: Pull complete [2021-06-11T04:57:00.979Z] 506bd15cee9f: Pull complete [2021-06-11T04:57:01.578Z] 75a0a4a0db45: Pull complete [2021-06-11T04:57:04.974Z] 618dc40b7e24: Pull complete [2021-06-11T04:57:05.250Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-11T04:57:05.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-11T04:57:05.250Z] ---> a36622ca3599 [2021-06-11T04:57:05.250Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T04:57:07.244Z] ---> Running in 3442cfd7a1a5 [2021-06-11T04:57:07.523Z] Removing intermediate container 3442cfd7a1a5 [2021-06-11T04:57:07.523Z] ---> 211c7dee95fc [2021-06-11T04:57:07.523Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T04:57:07.798Z] ---> Running in 4a1e8937c010 [2021-06-11T04:57:10.433Z] Removing intermediate container 4a1e8937c010 [2021-06-11T04:57:10.433Z] ---> 2fca9f84fc23 [2021-06-11T04:57:10.433Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-11T04:57:10.433Z] ---> Running in 2e5426f8238d [2021-06-11T04:57:11.414Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T04:57:11.766Z] provisioning config files... [2021-06-11T04:57:11.781Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3487625790213780851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T04:57:12.186Z] ---> docker-login.sh [2021-06-11T04:57:12.186Z] nexus3.edgexfoundry.org:10001 [2021-06-11T04:57:12.389Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-11T04:57:12.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:57:12.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:57:12.450Z] Configure a credential helper to remove this warning. See [2021-06-11T04:57:12.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:57:12.450Z] [2021-06-11T04:57:12.450Z] Login Succeeded [2021-06-11T04:57:12.450Z] nexus3.edgexfoundry.org:10002 [2021-06-11T04:57:12.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:57:12.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:57:12.450Z] Configure a credential helper to remove this warning. See [2021-06-11T04:57:12.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:57:12.450Z] [2021-06-11T04:57:12.450Z] Login Succeeded [2021-06-11T04:57:12.450Z] nexus3.edgexfoundry.org:10003 [2021-06-11T04:57:12.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:57:12.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:57:12.714Z] Configure a credential helper to remove this warning. See [2021-06-11T04:57:12.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:57:12.714Z] [2021-06-11T04:57:12.714Z] Login Succeeded [2021-06-11T04:57:12.714Z] nexus3.edgexfoundry.org:10004 [2021-06-11T04:57:12.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:57:12.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:57:12.975Z] Configure a credential helper to remove this warning. See [2021-06-11T04:57:12.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:57:12.975Z] [2021-06-11T04:57:12.975Z] Login Succeeded [2021-06-11T04:57:12.975Z] docker.io [2021-06-11T04:57:12.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T04:57:13.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T04:57:13.238Z] Configure a credential helper to remove this warning. See [2021-06-11T04:57:13.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T04:57:13.238Z] [2021-06-11T04:57:13.238Z] Login Succeeded [2021-06-11T04:57:13.238Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T04:57:13.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-11T04:57:13.365Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-11T04:57:13.365Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-11T04:57:13.365Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-11T04:57:13.365Z] (4/6) Installing libsodium-dev (1.0.18-r0) [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-11T04:57:13.591Z] ========================================================= [2021-06-11T04:57:13.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-11T04:57:13.591Z] ========================================================= [Pipeline] isUnix [2021-06-11T04:57:13.637Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-11T04:57:13.637Z] (6/6) Installing zeromq-dev (4.3.3-r1) [Pipeline] sh [2021-06-11T04:57:13.912Z] Executing busybox-1.32.1-r6.trigger [2021-06-11T04:57:13.912Z] OK: 139 MiB in 46 packages [2021-06-11T04:57:13.951Z] + 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-11T04:57:13.951Z] Sending build context to Docker daemon 2.72MB [2021-06-11T04:57:13.951Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T04:57:13.951Z] Step 2/8 : FROM ${BASE} [2021-06-11T04:57:14.222Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-11T04:57:14.222Z] 540db60ca938: Pulling fs layer [2021-06-11T04:57:14.222Z] adcc1eea9eea: Pulling fs layer [2021-06-11T04:57:14.222Z] 4c4ab2625f07: Pulling fs layer [2021-06-11T04:57:14.222Z] 0510c868ecb4: Pulling fs layer [2021-06-11T04:57:14.222Z] afea3b2eda06: Pulling fs layer [2021-06-11T04:57:14.222Z] 7809a108b3ef: Pulling fs layer [2021-06-11T04:57:14.222Z] f706445af74f: Pulling fs layer [2021-06-11T04:57:14.222Z] 0510c868ecb4: Waiting [2021-06-11T04:57:14.222Z] afea3b2eda06: Waiting [2021-06-11T04:57:14.222Z] 7809a108b3ef: Waiting [2021-06-11T04:57:14.222Z] f706445af74f: Waiting [2021-06-11T04:57:14.222Z] 4c4ab2625f07: Verifying Checksum [2021-06-11T04:57:14.222Z] 4c4ab2625f07: Download complete [2021-06-11T04:57:14.222Z] adcc1eea9eea: Verifying Checksum [2021-06-11T04:57:14.222Z] adcc1eea9eea: Download complete [2021-06-11T04:57:14.222Z] afea3b2eda06: Verifying Checksum [2021-06-11T04:57:14.222Z] afea3b2eda06: Download complete [2021-06-11T04:57:14.222Z] 7809a108b3ef: Verifying Checksum [2021-06-11T04:57:14.222Z] 7809a108b3ef: Download complete [2021-06-11T04:57:14.222Z] 540db60ca938: Verifying Checksum [2021-06-11T04:57:14.222Z] 540db60ca938: Download complete [2021-06-11T04:57:14.222Z] 540db60ca938: Pull complete [2021-06-11T04:57:14.483Z] adcc1eea9eea: Pull complete [2021-06-11T04:57:14.483Z] 4c4ab2625f07: Pull complete [2021-06-11T04:57:15.357Z] Removing intermediate container 2e5426f8238d [2021-06-11T04:57:15.357Z] ---> 4f1dbdcc513e [2021-06-11T04:57:15.357Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-11T04:57:15.357Z] ---> Running in e033fa0e5657 [2021-06-11T04:57:15.428Z] f706445af74f: Verifying Checksum [2021-06-11T04:57:15.428Z] f706445af74f: Download complete [2021-06-11T04:57:15.953Z] Removing intermediate container e033fa0e5657 [2021-06-11T04:57:15.953Z] ---> 1d7dec2fc577 [2021-06-11T04:57:15.953Z] Step 7/8 : COPY . . [2021-06-11T04:57:16.001Z] 0510c868ecb4: Verifying Checksum [2021-06-11T04:57:16.001Z] 0510c868ecb4: Download complete [2021-06-11T04:57:17.392Z] ---> c4dc08378062 [2021-06-11T04:57:17.392Z] Step 8/8 : RUN go mod download [2021-06-11T04:57:17.392Z] ---> Running in d3850417e840 [2021-06-11T04:57:19.346Z] 0510c868ecb4: Pull complete [2021-06-11T04:57:19.346Z] afea3b2eda06: Pull complete [2021-06-11T04:57:19.346Z] 7809a108b3ef: Pull complete [2021-06-11T04:57:20.748Z] f706445af74f: Pull complete [2021-06-11T04:57:20.748Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-11T04:57:20.748Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-11T04:57:20.748Z] ---> b068be0155e3 [2021-06-11T04:57:20.748Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T04:57:24.969Z] ---> Running in 7dc966ac2221 [2021-06-11T04:57:24.969Z] Removing intermediate container 7dc966ac2221 [2021-06-11T04:57:24.969Z] ---> a36c78b92bf6 [2021-06-11T04:57:24.969Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T04:57:24.969Z] ---> Running in a9c35969f460 [2021-06-11T04:57:25.234Z] Removing intermediate container a9c35969f460 [2021-06-11T04:57:25.234Z] ---> 1dbc291eef4c [2021-06-11T04:57:25.234Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-11T04:57:25.234Z] ---> Running in 9d489fdd303d [2021-06-11T04:57:25.495Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-11T04:57:26.441Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-11T04:57:27.015Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-11T04:57:27.015Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-11T04:57:27.015Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-11T04:57:27.016Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-11T04:57:27.289Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-11T04:57:27.289Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-11T04:57:27.550Z] Executing busybox-1.32.1-r6.trigger [2021-06-11T04:57:27.550Z] OK: 150 MiB in 46 packages [2021-06-11T04:57:27.822Z] Removing intermediate container 9d489fdd303d [2021-06-11T04:57:27.822Z] ---> 1b27a9716157 [2021-06-11T04:57:27.822Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-11T04:57:27.822Z] ---> Running in b9f702e3a863 [2021-06-11T04:57:27.822Z] Removing intermediate container b9f702e3a863 [2021-06-11T04:57:27.822Z] ---> 7035c2bf0836 [2021-06-11T04:57:27.822Z] Step 7/8 : COPY . . [2021-06-11T04:57:28.084Z] ---> ab2deca99dae [2021-06-11T04:57:28.084Z] Step 8/8 : RUN go mod download [2021-06-11T04:57:28.084Z] ---> Running in e7e05badd67b [2021-06-11T04:57:40.394Z] Removing intermediate container e7e05badd67b [2021-06-11T04:57:40.394Z] ---> cf26eb73110f [2021-06-11T04:57:40.394Z] Successfully built cf26eb73110f [2021-06-11T04:57:40.394Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T04:57:40.742Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-11T04:57:40.742Z] . [Pipeline] withDockerContainer [2021-06-11T04:57:40.846Z] prd-centos7-docker-4c-2g-464 does not seem to be running inside a container [2021-06-11T04:57:40.902Z] $ 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-11T04:57:41.241Z] $ docker top a729ef38936ae707e09f62072625f9e66fc6cfab454246b4b089b7f5b16071ad -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T04:57:41.669Z] + go version [2021-06-11T04:57:41.669Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-11T04:57:41.700Z] $ docker stop --time=1 a729ef38936ae707e09f62072625f9e66fc6cfab454246b4b089b7f5b16071ad [2021-06-11T04:57:42.861Z] $ docker rm -f a729ef38936ae707e09f62072625f9e66fc6cfab454246b4b089b7f5b16071ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T04:57:43.835Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-11T04:57:43.835Z] . [Pipeline] withDockerContainer [2021-06-11T04:57:43.932Z] prd-centos7-docker-4c-2g-464 does not seem to be running inside a container [2021-06-11T04:57:43.972Z] $ 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-11T04:57:44.400Z] $ docker top 009adcb7320fb03795e911554933714b6204a0afa33911467da0069205c23233 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T04:57:44.864Z] + go mod tidy [Pipeline] sh [2021-06-11T04:57:45.445Z] + make test [2021-06-11T04:57:45.445Z] go mod tidy [2021-06-11T04:57:45.445Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-11T04:57:49.863Z] Removing intermediate container d3850417e840 [2021-06-11T04:57:49.863Z] ---> e8129d4798b8 [2021-06-11T04:57:49.863Z] Successfully built e8129d4798b8 [2021-06-11T04:57:49.863Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T04:57:50.248Z] + docker inspect -f . ci-base-image-arm64 [2021-06-11T04:57:50.248Z] . [Pipeline] withDockerContainer [2021-06-11T04:57:50.537Z] prd-ubuntu18.04-docker-arm64-4c-16g-463 does not seem to be running inside a container [2021-06-11T04:57:50.632Z] $ 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-arm64 cat [2021-06-11T04:57:50.833Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-11T04:57:52.246Z] $ docker top af136ae8338273f90c9b95412fdee711f3ae69ad3a58bda1aad2c8199d2b82c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T04:57:53.302Z] + go version [2021-06-11T04:57:53.303Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-11T04:57:53.338Z] $ docker stop --time=1 af136ae8338273f90c9b95412fdee711f3ae69ad3a58bda1aad2c8199d2b82c6 [2021-06-11T04:57:55.213Z] $ docker rm -f af136ae8338273f90c9b95412fdee711f3ae69ad3a58bda1aad2c8199d2b82c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T04:57:56.263Z] + docker inspect -f . ci-base-image-arm64 [2021-06-11T04:57:56.263Z] . [Pipeline] withDockerContainer [2021-06-11T04:57:56.519Z] prd-ubuntu18.04-docker-arm64-4c-16g-463 does not seem to be running inside a container [2021-06-11T04:57:56.603Z] $ 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-arm64 cat [2021-06-11T04:57:58.177Z] $ docker top 3a5cbe10a4ee77adcac9223f8694c9738880fae05fe17608d8875235dc631d73 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T04:57:59.198Z] + go mod tidy [Pipeline] sh [2021-06-11T04:58:00.487Z] + make test [2021-06-11T04:58:00.487Z] go mod tidy [2021-06-11T04:58:01.130Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-11T04:58:12.861Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-11T04:58:12.861Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-11T04:58:12.861Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-11T04:58:14.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 25.4% of statements [2021-06-11T04:58:14.275Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-11T04:58:14.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 28.1% of statements [2021-06-11T04:58:14.883Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2021-06-11T04:58:14.884Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements [2021-06-11T04:58:14.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-11T04:58:14.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-11T04:58:14.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-11T04:58:15.842Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.078s coverage: 29.2% of statements [2021-06-11T04:58:15.842Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-11T04:58:16.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.042s coverage: 83.3% of statements [2021-06-11T04:58:16.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-11T04:58:16.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-11T04:58:16.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 58.0% of statements [2021-06-11T04:58:18.213Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.826s coverage: 89.2% of statements [2021-06-11T04:58:18.213Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-11T04:58:18.213Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 5.0% of statements [2021-06-11T04:58:18.213Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-11T04:58:18.213Z] GO111MODULE=on go vet ./... [2021-06-11T04:58:23.326Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-11T04:58:36.403Z] gofmt -l . [2021-06-11T04:58:36.403Z] [ "`gofmt -l .`" = "" ] [2021-06-11T04:58:36.403Z] ./bin/test-attribution-txt.sh [2021-06-11T04:58:36.403Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-11T04:58:36.439Z] $ docker stop --time=1 009adcb7320fb03795e911554933714b6204a0afa33911467da0069205c23233 [2021-06-11T04:58:38.052Z] $ docker rm -f 009adcb7320fb03795e911554933714b6204a0afa33911467da0069205c23233 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T04:58:38.626Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-11T04:58:38.882Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-11T04:58:42.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-11T04:58:42.521Z] + ls -al . [2021-06-11T04:58:42.522Z] total 208 [2021-06-11T04:58:42.522Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 11 04:58 . [2021-06-11T04:58:42.522Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 04:56 .. [2021-06-11T04:58:42.522Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 04:56 bin [2021-06-11T04:58:42.522Z] -rw-r--r--. 1 jenkins jenkins 126073 Jun 11 04:58 coverage.out [2021-06-11T04:58:42.522Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 11 04:56 Dockerfile.build [2021-06-11T04:58:42.522Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 11 04:56 .dockerignore [2021-06-11T04:58:42.522Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 11 04:56 example [2021-06-11T04:58:42.522Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 04:56 .git [2021-06-11T04:58:42.522Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 11 04:56 .github [2021-06-11T04:58:42.522Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 11 04:56 .gitignore [2021-06-11T04:58:42.522Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 11 04:58 go.mod [2021-06-11T04:58:42.522Z] -rw-r--r--. 1 jenkins jenkins 20403 Jun 11 04:57 go.sum [2021-06-11T04:58:42.522Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 11 04:56 internal [2021-06-11T04:58:42.522Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 11 04:56 Jenkinsfile [2021-06-11T04:58:42.522Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 11 04:56 LICENSE [2021-06-11T04:58:42.522Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 11 04:56 Makefile [2021-06-11T04:58:42.522Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 11 04:56 openapi [2021-06-11T04:58:42.522Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 11 04:56 pkg [2021-06-11T04:58:42.522Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 11 04:56 README.md [2021-06-11T04:58:42.522Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 11 04:56 RELEASE-NOTES.txt [2021-06-11T04:58:42.522Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 11 04:56 snap [2021-06-11T04:58:42.522Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 04:53 VERSION [2021-06-11T04:58:42.522Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 11 04:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-11T04:58:42.870Z] + 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=13aef19b97b0618a8f6311a61b8cc8b6a0faba71 --label arch=amd64 --label version=0.0.0 . [2021-06-11T04:58:42.870Z] Sending build context to Docker daemon 2.847MB [2021-06-11T04:58:42.870Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T04:58:42.870Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-11T04:58:42.870Z] ---> cf26eb73110f [2021-06-11T04:58:42.870Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-11T04:58:42.870Z] ---> Running in 7048a3575148 [2021-06-11T04:58:43.133Z] Removing intermediate container 7048a3575148 [2021-06-11T04:58:43.133Z] ---> abcb908b4268 [2021-06-11T04:58:43.133Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T04:58:43.133Z] ---> Running in e2efe3e880b1 [2021-06-11T04:58:43.133Z] Removing intermediate container e2efe3e880b1 [2021-06-11T04:58:43.133Z] ---> c34fe327d1e8 [2021-06-11T04:58:43.133Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T04:58:43.133Z] ---> Running in c9ed18eb0b2c [2021-06-11T04:58:43.710Z] Removing intermediate container c9ed18eb0b2c [2021-06-11T04:58:43.710Z] ---> a40f26170113 [2021-06-11T04:58:43.710Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-11T04:58:43.710Z] ---> Running in 3a5cbab587c3 [2021-06-11T04:58:43.972Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-11T04:58:44.543Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-11T04:58:45.114Z] OK: 150 MiB in 46 packages [2021-06-11T04:58:45.377Z] Removing intermediate container 3a5cbab587c3 [2021-06-11T04:58:45.377Z] ---> c7abd1947bb7 [2021-06-11T04:58:45.377Z] Step 7/23 : COPY . . [2021-06-11T04:58:45.641Z] ---> 3723d1b2f2d8 [2021-06-11T04:58:45.641Z] Step 8/23 : RUN go mod download [2021-06-11T04:58:45.641Z] ---> Running in 5193ba9baf9d [2021-06-11T04:58:46.219Z] Removing intermediate container 5193ba9baf9d [2021-06-11T04:58:46.219Z] ---> 8da0956889a5 [2021-06-11T04:58:46.219Z] Step 9/23 : RUN make build [2021-06-11T04:58:46.219Z] ---> Running in d4d427b30b98 [2021-06-11T04:58:46.481Z] go mod tidy [2021-06-11T04:58:46.481Z] 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-11T04:58:56.541Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-11T04:58:57.113Z] Removing intermediate container d4d427b30b98 [2021-06-11T04:58:57.113Z] ---> 91b813c8f102 [2021-06-11T04:58:57.113Z] Step 10/23 : FROM alpine:3.12 [2021-06-11T04:58:57.685Z] 3.12: Pulling from library/alpine [2021-06-11T04:58:57.685Z] 339de151aab4: Pulling fs layer [2021-06-11T04:58:57.946Z] 339de151aab4: Verifying Checksum [2021-06-11T04:58:57.946Z] 339de151aab4: Download complete [2021-06-11T04:58:57.946Z] 339de151aab4: Pull complete [2021-06-11T04:58:58.212Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-11T04:58:58.212Z] Status: Downloaded newer image for alpine:3.12 [2021-06-11T04:58:58.212Z] ---> 13621d1b12d4 [2021-06-11T04:58:58.212Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T04:58:58.212Z] ---> Running in 8cd486c1f235 [2021-06-11T04:58:58.212Z] Removing intermediate container 8cd486c1f235 [2021-06-11T04:58:58.212Z] ---> 4f072da7203b [2021-06-11T04:58:58.212Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T04:58:58.212Z] ---> Running in 3cebd9f56160 [2021-06-11T04:58:58.801Z] Removing intermediate container 3cebd9f56160 [2021-06-11T04:58:58.801Z] ---> bb353d0d96c5 [2021-06-11T04:58:58.801Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-11T04:58:58.801Z] ---> Running in 569cd4cbde16 [2021-06-11T04:58:58.801Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-11T04:58:59.744Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-11T04:59:00.007Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-11T04:59:00.007Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-11T04:59:00.268Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-11T04:59:01.216Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-11T04:59:01.216Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-11T04:59:01.216Z] Executing busybox-1.31.1-r20.trigger [2021-06-11T04:59:01.216Z] OK: 8 MiB in 19 packages [2021-06-11T04:59:01.476Z] Removing intermediate container 569cd4cbde16 [2021-06-11T04:59:01.476Z] ---> dbe482126154 [2021-06-11T04:59:01.476Z] Step 14/23 : WORKDIR / [2021-06-11T04:59:01.476Z] ---> Running in 189955b5e39d [2021-06-11T04:59:01.476Z] Removing intermediate container 189955b5e39d [2021-06-11T04:59:01.476Z] ---> 3e256547a6c2 [2021-06-11T04:59:01.476Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-11T04:59:01.740Z] ---> e25b5bd0fa3e [2021-06-11T04:59:01.740Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-11T04:59:02.003Z] ---> feb6ac7cd032 [2021-06-11T04:59:02.003Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-11T04:59:02.266Z] ---> 9341e4b26255 [2021-06-11T04:59:02.266Z] Step 18/23 : EXPOSE 59999 [2021-06-11T04:59:02.266Z] ---> Running in deec7b6276bd [2021-06-11T04:59:02.266Z] Removing intermediate container deec7b6276bd [2021-06-11T04:59:02.266Z] ---> ad98652b5d48 [2021-06-11T04:59:02.266Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-11T04:59:02.266Z] ---> Running in d2eb95f12a44 [2021-06-11T04:59:02.529Z] Removing intermediate container d2eb95f12a44 [2021-06-11T04:59:02.529Z] ---> 0f49430b9dec [2021-06-11T04:59:02.529Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-11T04:59:02.529Z] ---> Running in db5cae9da176 [2021-06-11T04:59:02.529Z] Removing intermediate container db5cae9da176 [2021-06-11T04:59:02.529Z] ---> 1c48c9ca0ec4 [2021-06-11T04:59:02.529Z] Step 21/23 : LABEL arch=amd64 [2021-06-11T04:59:02.529Z] ---> Running in 12ffdd12a59c [2021-06-11T04:59:02.529Z] Removing intermediate container 12ffdd12a59c [2021-06-11T04:59:02.529Z] ---> 49dcabf935b0 [2021-06-11T04:59:02.529Z] Step 22/23 : LABEL git_sha=13aef19b97b0618a8f6311a61b8cc8b6a0faba71 [2021-06-11T04:59:02.799Z] ---> Running in 327cfcaaee85 [2021-06-11T04:59:02.799Z] Removing intermediate container 327cfcaaee85 [2021-06-11T04:59:02.799Z] ---> 7cf7a529d564 [2021-06-11T04:59:02.799Z] Step 23/23 : LABEL version=0.0.0 [2021-06-11T04:59:02.799Z] ---> Running in e6d33f63a7e6 [2021-06-11T04:59:02.799Z] Removing intermediate container e6d33f63a7e6 [2021-06-11T04:59:02.799Z] ---> 2beee8653af6 [2021-06-11T04:59:02.799Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-11T04:59:02.799Z] Successfully built 2beee8653af6 [2021-06-11T04:59:02.799Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-11T04:59:04.037Z] ---> job-cost.sh [2021-06-11T04:59:04.037Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xNL3 [2021-06-11T04:59:14.069Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-11T04:59:26.377Z] lf-activate-venv(): INFO: Adding /tmp/venv-xNL3/bin to PATH [2021-06-11T04:59:26.377Z] INFO: No Stack... [2021-06-11T04:59:26.377Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-11T04:59:26.377Z] INFO: Archiving Costs [Pipeline] sh [2021-06-11T04:59:26.715Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-11T04:59:26.715Z] + cut -d, -f6 [Pipeline] lock [2021-06-11T04:59:26.775Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-970-1-stack-cost] [2021-06-11T04:59:26.783Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-970-1-stack-cost] did not exist. Created. [2021-06-11T04:59:26.783Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-970-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-11T04:59:27.207Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-11T04:59:27.309Z] Stashed 1 file(s) [Pipeline] } [2021-06-11T04:59:27.331Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-970-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-11T04:59:31.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-11T04:59:31.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-11T04:59:31.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-11T04:59:38.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.313s coverage: 25.4% of statements [2021-06-11T04:59:38.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-11T04:59:38.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.211s coverage: 28.1% of statements [2021-06-11T04:59:38.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.241s coverage: 78.9% of statements [2021-06-11T04:59:38.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.185s coverage: 9.0% of statements [2021-06-11T04:59:38.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-11T04:59:38.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-11T04:59:38.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-11T04:59:39.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.279s coverage: 29.2% of statements [2021-06-11T04:59:39.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-11T04:59:39.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.203s coverage: 83.3% of statements [2021-06-11T04:59:39.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-11T04:59:39.826Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-11T04:59:40.102Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.366s coverage: 58.0% of statements [2021-06-11T04:59:44.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.029s coverage: 89.2% of statements [2021-06-11T04:59:44.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-11T04:59:44.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.181s coverage: 5.0% of statements [2021-06-11T04:59:44.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-11T04:59:45.017Z] GO111MODULE=on go vet ./... [2021-06-11T05:00:41.658Z] gofmt -l . [2021-06-11T05:00:41.658Z] [ "`gofmt -l .`" = "" ] [2021-06-11T05:00:41.658Z] ./bin/test-attribution-txt.sh [2021-06-11T05:00:41.658Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-11T05:00:41.698Z] $ docker stop --time=1 3a5cbe10a4ee77adcac9223f8694c9738880fae05fe17608d8875235dc631d73 [2021-06-11T05:00:43.728Z] $ docker rm -f 3a5cbe10a4ee77adcac9223f8694c9738880fae05fe17608d8875235dc631d73 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T05:00:44.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-11T05:00:44.867Z] Warning: overwriting stash ‘coverage-report’ [2021-06-11T05:00:45.507Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T05:00:46.323Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-11T05:00:46.690Z] + ls -al . [2021-06-11T05:00:46.690Z] total 244 [2021-06-11T05:00:46.690Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 11 05:00 . [2021-06-11T05:00:46.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 04:56 .. [2021-06-11T05:00:46.690Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 11 04:56 .dockerignore [2021-06-11T05:00:46.690Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 04:56 .git [2021-06-11T05:00:46.690Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 04:56 .github [2021-06-11T05:00:46.690Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 11 04:56 .gitignore [2021-06-11T05:00:46.690Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 11 04:56 Dockerfile.build [2021-06-11T05:00:46.690Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 11 04:56 Jenkinsfile [2021-06-11T05:00:46.690Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 11 04:56 LICENSE [2021-06-11T05:00:46.690Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 11 04:56 Makefile [2021-06-11T05:00:46.690Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 11 04:56 README.md [2021-06-11T05:00:46.690Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 11 04:56 RELEASE-NOTES.txt [2021-06-11T05:00:46.690Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 04:53 VERSION [2021-06-11T05:00:46.690Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 04:56 bin [2021-06-11T05:00:46.690Z] -rw-r--r-- 1 jenkins jenkins 126074 Jun 11 04:59 coverage.out [2021-06-11T05:00:46.690Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 11 04:56 example [2021-06-11T05:00:46.690Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 11 05:00 go.mod [2021-06-11T05:00:46.690Z] -rw-r--r-- 1 jenkins jenkins 20403 Jun 11 04:57 go.sum [2021-06-11T05:00:46.690Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 11 04:56 internal [2021-06-11T05:00:46.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 04:56 openapi [2021-06-11T05:00:46.691Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 11 04:56 pkg [2021-06-11T05:00:46.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 04:56 snap [2021-06-11T05:00:46.691Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 11 04:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-11T05:00:47.081Z] + 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=13aef19b97b0618a8f6311a61b8cc8b6a0faba71 --label arch=arm64 --label version=0.0.0 . [2021-06-11T05:00:47.682Z] Sending build context to Docker daemon 2.846MB [2021-06-11T05:00:47.682Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T05:00:47.682Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-11T05:00:47.682Z] ---> e8129d4798b8 [2021-06-11T05:00:47.682Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-11T05:00:47.956Z] ---> Running in b406d4bcabce [2021-06-11T05:00:48.556Z] Removing intermediate container b406d4bcabce [2021-06-11T05:00:48.556Z] ---> 39b8f4e13f49 [2021-06-11T05:00:48.556Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T05:00:48.556Z] ---> Running in 9e88c85623a7 [2021-06-11T05:00:49.155Z] Removing intermediate container 9e88c85623a7 [2021-06-11T05:00:49.155Z] ---> 78e2b539f52a [2021-06-11T05:00:49.155Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T05:00:49.155Z] ---> Running in 0c82845f8d5c [2021-06-11T05:00:51.140Z] Removing intermediate container 0c82845f8d5c [2021-06-11T05:00:51.140Z] ---> 4b8af250af9c [2021-06-11T05:00:51.140Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-11T05:00:51.140Z] ---> Running in df55aa98b207 [2021-06-11T05:00:52.636Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-11T05:00:53.227Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-11T05:00:54.204Z] OK: 139 MiB in 46 packages [2021-06-11T05:00:55.197Z] Removing intermediate container df55aa98b207 [2021-06-11T05:00:55.197Z] ---> a08304cbf145 [2021-06-11T05:00:55.197Z] Step 7/23 : COPY . . [2021-06-11T05:00:56.642Z] ---> 3cc913a3afd4 [2021-06-11T05:00:56.643Z] Step 8/23 : RUN go mod download [2021-06-11T05:00:56.918Z] ---> Running in b86714c3a273 [2021-06-11T05:00:59.556Z] Removing intermediate container b86714c3a273 [2021-06-11T05:00:59.556Z] ---> aaba44be84a7 [2021-06-11T05:00:59.556Z] Step 9/23 : RUN make build [2021-06-11T05:00:59.556Z] ---> Running in 0aac739aa142 [2021-06-11T05:01:00.541Z] go mod tidy [2021-06-11T05:01:01.147Z] 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-11T05:01:33.578Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-11T05:01:35.019Z] Removing intermediate container 0aac739aa142 [2021-06-11T05:01:35.020Z] ---> 10586843f7ad [2021-06-11T05:01:35.020Z] Step 10/23 : FROM alpine:3.12 [2021-06-11T05:01:35.613Z] 3.12: Pulling from library/alpine [2021-06-11T05:01:35.886Z] d2f70382dc9a: Pulling fs layer [2021-06-11T05:01:35.886Z] d2f70382dc9a: Verifying Checksum [2021-06-11T05:01:35.886Z] d2f70382dc9a: Download complete [2021-06-11T05:01:36.870Z] d2f70382dc9a: Pull complete [2021-06-11T05:01:36.870Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-11T05:01:36.870Z] Status: Downloaded newer image for alpine:3.12 [2021-06-11T05:01:36.870Z] ---> 9852663dfa18 [2021-06-11T05:01:36.870Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T05:01:36.870Z] ---> Running in 50a88bd965cf [2021-06-11T05:01:37.470Z] Removing intermediate container 50a88bd965cf [2021-06-11T05:01:37.470Z] ---> c10045e8b257 [2021-06-11T05:01:37.470Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T05:01:37.470Z] ---> Running in 3d8d01dc61a5 [2021-06-11T05:01:40.097Z] Removing intermediate container 3d8d01dc61a5 [2021-06-11T05:01:40.097Z] ---> a8c9a170fb19 [2021-06-11T05:01:40.097Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-11T05:01:40.097Z] ---> Running in 0d93be1d0004 [2021-06-11T05:01:41.076Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-11T05:01:41.670Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-11T05:01:42.269Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-11T05:01:42.270Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-11T05:01:42.542Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-11T05:01:42.542Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-11T05:01:42.815Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-11T05:01:42.815Z] Executing busybox-1.31.1-r20.trigger [2021-06-11T05:01:42.815Z] OK: 8 MiB in 19 packages [2021-06-11T05:01:44.271Z] Removing intermediate container 0d93be1d0004 [2021-06-11T05:01:44.271Z] ---> 5b79781d530a [2021-06-11T05:01:44.271Z] Step 14/23 : WORKDIR / [2021-06-11T05:01:44.271Z] ---> Running in afb7de182632 [2021-06-11T05:01:44.873Z] Removing intermediate container afb7de182632 [2021-06-11T05:01:44.873Z] ---> 68a8b1b16bd4 [2021-06-11T05:01:44.873Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-11T05:01:45.476Z] ---> 5d5addf0aaf8 [2021-06-11T05:01:45.476Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-11T05:01:46.918Z] ---> 3b5e3a22d071 [2021-06-11T05:01:46.918Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-11T05:01:47.516Z] ---> 4487e38a4970 [2021-06-11T05:01:47.516Z] Step 18/23 : EXPOSE 59999 [2021-06-11T05:01:47.516Z] ---> Running in 9269f417b616 [2021-06-11T05:01:48.115Z] Removing intermediate container 9269f417b616 [2021-06-11T05:01:48.115Z] ---> e33780675775 [2021-06-11T05:01:48.115Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-11T05:01:48.391Z] ---> Running in df6cd24b7253 [2021-06-11T05:01:48.666Z] Removing intermediate container df6cd24b7253 [2021-06-11T05:01:48.666Z] ---> 0906ed1b4051 [2021-06-11T05:01:48.666Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-11T05:01:48.945Z] ---> Running in b16670a58a54 [2021-06-11T05:01:49.545Z] Removing intermediate container b16670a58a54 [2021-06-11T05:01:49.546Z] ---> d6d3d4f91eaa [2021-06-11T05:01:49.546Z] Step 21/23 : LABEL arch=arm64 [2021-06-11T05:01:49.546Z] ---> Running in d538e9fa5b3e [2021-06-11T05:01:50.144Z] Removing intermediate container d538e9fa5b3e [2021-06-11T05:01:50.144Z] ---> 4aef45e89b2e [2021-06-11T05:01:50.144Z] Step 22/23 : LABEL git_sha=13aef19b97b0618a8f6311a61b8cc8b6a0faba71 [2021-06-11T05:01:50.144Z] ---> Running in de08111cbb41 [2021-06-11T05:01:50.743Z] Removing intermediate container de08111cbb41 [2021-06-11T05:01:50.743Z] ---> 0cb1aedb03cc [2021-06-11T05:01:50.743Z] Step 23/23 : LABEL version=0.0.0 [2021-06-11T05:01:50.743Z] ---> Running in 2733698a50f6 [2021-06-11T05:01:51.338Z] Removing intermediate container 2733698a50f6 [2021-06-11T05:01:51.338Z] ---> 27bf72f3e81f [2021-06-11T05:01:51.338Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-11T05:01:51.338Z] Successfully built 27bf72f3e81f [2021-06-11T05:01:51.338Z] 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-11T05:01:52.241Z] ---> job-cost.sh [2021-06-11T05:01:52.241Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DtKI [2021-06-11T05:02:31.234Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-11T05:03:52.993Z] lf-activate-venv(): INFO: Adding /tmp/venv-DtKI/bin to PATH [2021-06-11T05:03:52.993Z] INFO: No Stack... [2021-06-11T05:03:52.993Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-11T05:03:53.265Z] INFO: Archiving Costs [Pipeline] sh [2021-06-11T05:03:53.637Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-11T05:03:53.637Z] + cut -d, -f6 [Pipeline] lock [2021-06-11T05:03:53.743Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-970-1-stack-cost] [2021-06-11T05:03:53.751Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-970-1-stack-cost] did not exist. Created. [2021-06-11T05:03:53.752Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-970-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-11T05:03:54.222Z] /w/workspace/device-sdk-go/1@tmp/durable-ae1d994b/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-ae1d994b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-11T05:03:54.604Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-11T05:03:54.651Z] Warning: overwriting stash ‘stack-cost’ [2021-06-11T05:03:54.807Z] Stashed 1 file(s) [Pipeline] } [2021-06-11T05:03:54.831Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-970-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-11T05:03:56.342Z] provisioning config files... [2021-06-11T05:03:56.353Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp/config2524112166833401144tmp [Pipeline] { [Pipeline] sh [2021-06-11T05:03:56.746Z] + set +x [2021-06-11T05:03:56.746Z] + curl -s https://codecov.io/bash [2021-06-11T05:03:56.746Z] + bash -s -- [2021-06-11T05:03:56.747Z] [2021-06-11T05:03:56.747Z] _____ _ [2021-06-11T05:03:56.747Z] / ____| | | [2021-06-11T05:03:56.747Z] | | ___ __| | ___ ___ _____ __ [2021-06-11T05:03:56.747Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-11T05:03:56.747Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-11T05:03:56.747Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-11T05:03:56.747Z] Bash-1.0.3 [2021-06-11T05:03:56.747Z] [2021-06-11T05:03:56.747Z] [2021-06-11T05:03:56.747Z] ==> git version 2.24.4 found [2021-06-11T05:03:56.747Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-11T05:03:56.747Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-11T05:03:56.747Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-11T05:03:56.747Z] ==> Jenkins CI detected. [2021-06-11T05:03:56.747Z] project root: . [2021-06-11T05:03:56.747Z] --> token set from env [2021-06-11T05:03:57.011Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-11T05:03:57.011Z] ==> Running gcov in . (disable via -X gcov) [2021-06-11T05:03:57.011Z] ==> Python coveragepy not found [2021-06-11T05:03:57.011Z] ==> Searching for coverage reports in: [2021-06-11T05:03:57.011Z] + . [2021-06-11T05:03:57.011Z] -> Found 1 reports [2021-06-11T05:03:57.011Z] ==> Detecting git/mercurial file structure [2021-06-11T05:03:57.011Z] ==> Reading reports [2021-06-11T05:03:57.011Z] + ./coverage.out bytes=126074 [2021-06-11T05:03:57.011Z] ==> Appending adjustments [2021-06-11T05:03:57.011Z] https://docs.codecov.io/docs/fixing-reports [2021-06-11T05:03:57.273Z] + Found adjustments [2021-06-11T05:03:57.273Z] ==> Gzipping contents [2021-06-11T05:03:57.273Z] 20K /tmp/codecov.bnNySX.gz [2021-06-11T05:03:57.273Z] ==> Uploading reports [2021-06-11T05:03:57.273Z] url: https://codecov.io [2021-06-11T05:03:57.273Z] query: branch=PR-970&commit=13aef19b97b0618a8f6311a61b8cc8b6a0faba71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-970%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=970&job=&cmd_args= [2021-06-11T05:03:57.273Z] -> Pinging Codecov [2021-06-11T05:03:57.273Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-970&commit=13aef19b97b0618a8f6311a61b8cc8b6a0faba71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-970%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=970&job=&cmd_args= [2021-06-11T05:03:57.848Z] -> Uploading to [2021-06-11T05:03:57.848Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-11/7E55EF52A471D76F132DFD9A03CDDE97/13aef19b97b0618a8f6311a61b8cc8b6a0faba71/9ba6b71e-82e2-4d26-8e85-8e18b4c1f2b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210611T050357Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43b3849ea7d50f5d640f1cbb4cd2ee6972fed94a32bfcc4d422e7d260108c1a6 [2021-06-11T05:03:57.848Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-11T05:03:57.848Z] Dload Upload Total Spent Left Speed [2021-06-11T05:03:58.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16433 0 0 100 16433 0 31330 --:--:-- --:--:-- --:--:-- 31360 [2021-06-11T05:03:58.119Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/13aef19b97b0618a8f6311a61b8cc8b6a0faba71 [Pipeline] } [2021-06-11T05:03:58.145Z] 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-11T05:04:01.067Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T05:04:01.699Z] ---> package-listing.sh [2021-06-11T05:04:01.699Z] ++ facter osfamily [2021-06-11T05:04:01.699Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-11T05:04:01.965Z] + OS_FAMILY=redhat [2021-06-11T05:04:01.965Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-970 [2021-06-11T05:04:01.965Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-11T05:04:01.965Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-11T05:04:01.965Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-11T05:04:01.965Z] + PACKAGES=/tmp/packages_start.txt [2021-06-11T05:04:01.965Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-970 ']' [2021-06-11T05:04:01.965Z] + PACKAGES=/tmp/packages_end.txt [2021-06-11T05:04:01.965Z] + case "${OS_FAMILY}" in [2021-06-11T05:04:01.965Z] + rpm -qa [2021-06-11T05:04:01.965Z] + sort [2021-06-11T05:04:02.556Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-11T05:04:02.556Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-11T05:04:02.556Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-11T05:04:02.556Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-970 ']' [2021-06-11T05:04:02.556Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-970/archives/ [2021-06-11T05:04:02.556Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-970/archives/ [Pipeline] echo [2021-06-11T05:04:02.596Z] 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-970/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-11T05:04:02.910Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-11T05:04:03.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T05:04:03.529Z] [2021-06-11T05:04:03.529Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-11T05:04:03.900Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T05:04:03.900Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-11T05:04:03.900Z] df20fa9351a1: Pulling fs layer [2021-06-11T05:04:03.900Z] 36b3adc4ff6f: Pulling fs layer [2021-06-11T05:04:03.900Z] 8ad3a11d3b57: Pulling fs layer [2021-06-11T05:04:03.900Z] 46f8f816bc3b: Pulling fs layer [2021-06-11T05:04:03.900Z] 93b61091891f: Pulling fs layer [2021-06-11T05:04:03.900Z] 93b9cdb0e59b: Pulling fs layer [2021-06-11T05:04:03.900Z] 5e14af77c1be: Pulling fs layer [2021-06-11T05:04:03.900Z] 01666e4c0597: Pulling fs layer [2021-06-11T05:04:03.901Z] aa168da1d23b: Pulling fs layer [2021-06-11T05:04:03.901Z] 93b9cdb0e59b: Waiting [2021-06-11T05:04:03.901Z] 5e14af77c1be: Waiting [2021-06-11T05:04:03.901Z] 01666e4c0597: Waiting [2021-06-11T05:04:03.901Z] aa168da1d23b: Waiting [2021-06-11T05:04:03.901Z] 46f8f816bc3b: Waiting [2021-06-11T05:04:03.901Z] 93b61091891f: Waiting [2021-06-11T05:04:03.901Z] 36b3adc4ff6f: Verifying Checksum [2021-06-11T05:04:03.901Z] 36b3adc4ff6f: Download complete [2021-06-11T05:04:04.162Z] 46f8f816bc3b: Verifying Checksum [2021-06-11T05:04:04.162Z] 46f8f816bc3b: Download complete [2021-06-11T05:04:04.162Z] df20fa9351a1: Verifying Checksum [2021-06-11T05:04:04.162Z] df20fa9351a1: Download complete [2021-06-11T05:04:04.162Z] 93b9cdb0e59b: Verifying Checksum [2021-06-11T05:04:04.162Z] 93b9cdb0e59b: Download complete [2021-06-11T05:04:04.162Z] 93b61091891f: Verifying Checksum [2021-06-11T05:04:04.162Z] 93b61091891f: Download complete [2021-06-11T05:04:04.162Z] 5e14af77c1be: Verifying Checksum [2021-06-11T05:04:04.162Z] 5e14af77c1be: Download complete [2021-06-11T05:04:04.162Z] 01666e4c0597: Verifying Checksum [2021-06-11T05:04:04.162Z] 01666e4c0597: Download complete [2021-06-11T05:04:04.162Z] 8ad3a11d3b57: Verifying Checksum [2021-06-11T05:04:04.162Z] 8ad3a11d3b57: Download complete [2021-06-11T05:04:04.424Z] df20fa9351a1: Pull complete [2021-06-11T05:04:04.424Z] 36b3adc4ff6f: Pull complete [2021-06-11T05:04:05.389Z] 8ad3a11d3b57: Pull complete [2021-06-11T05:04:05.389Z] 46f8f816bc3b: Pull complete [2021-06-11T05:04:05.961Z] aa168da1d23b: Verifying Checksum [2021-06-11T05:04:05.961Z] aa168da1d23b: Download complete [2021-06-11T05:04:05.961Z] 93b61091891f: Pull complete [2021-06-11T05:04:06.222Z] 93b9cdb0e59b: Pull complete [2021-06-11T05:04:06.482Z] 5e14af77c1be: Pull complete [2021-06-11T05:04:06.743Z] 01666e4c0597: Pull complete [2021-06-11T05:04:12.082Z] aa168da1d23b: Pull complete [2021-06-11T05:04:12.082Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-11T05:04:12.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T05:04:12.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-11T05:04:12.198Z] prd-centos7-docker-4c-2g-462 does not seem to be running inside a container [2021-06-11T05:04:12.255Z] $ 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-970/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-970 -v /w/workspace/dgexfoundry_device-sdk-go_PR-970:/w/workspace/dgexfoundry_device-sdk-go_PR-970:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-11T05:04:20.834Z] $ docker top 8460b1511619978d01316774c603a62b38fd52d5fad670ab1be5bc7505fe241d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T05:04:21.258Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-11T05:04:21.580Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-11T05:04:21.942Z] + ls /var/log/sa-host [2021-06-11T05:04:21.942Z] + sadf -c /var/log/sa-host/sa05 [2021-06-11T05:04:21.942Z] file_magic: OK [2021-06-11T05:04:21.942Z] HZ: Using current value: 100 [2021-06-11T05:04:21.942Z] file_header: OK [2021-06-11T05:04:21.942Z] 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-11T05:04:21.942Z] Statistics: [2021-06-11T05:04:21.942Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-11T05:04:21.942Z] File successfully converted to sysstat format version 12.2.1 [2021-06-11T05:04:21.942Z] + sadf -c /var/log/sa-host/sa11 [2021-06-11T05:04:21.942Z] file_magic: OK [2021-06-11T05:04:21.942Z] HZ: Using current value: 100 [2021-06-11T05:04:21.942Z] file_header: OK [2021-06-11T05:04:21.942Z] 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-11T05:04:21.942Z] Statistics: [2021-06-11T05:04:21.942Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-11T05:04:21.942Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T05:04:22.740Z] provisioning config files... [2021-06-11T05:04:22.758Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-970@tmp/config6851935811481643095tmp [Pipeline] { [Pipeline] echo [2021-06-11T05:04:22.839Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T05:04:23.189Z] ---> create-netrc.sh [Pipeline] } [2021-06-11T05:04:23.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-11T05:04:23.734Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-11T05:04:23.770Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T05:04:24.116Z] ---> sudo-logs.sh [2021-06-11T05:04:24.116Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-11T05:04:24.210Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T05:04:24.557Z] ---> job-cost.sh [2021-06-11T05:04:24.557Z] lf-activate-venv: SKIPPING [2021-06-11T05:04:24.557Z] DEBUG: total: 0.18000000715255737 [2021-06-11T05:04:24.557Z] INFO: Retrieving Stack Cost... [2021-06-11T05:04:25.502Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-11T05:04:26.092Z] INFO: Archiving Costs [Pipeline] echo [2021-06-11T05:04:26.155Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T05:04:26.527Z] ---> logs-deploy.sh [2021-06-11T05:04:26.527Z] lf-activate-venv: SKIPPING [2021-06-11T05:04:26.527Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-970/1 [2021-06-11T05:04:26.527Z] INFO: archiving workspace using pattern(s): [2021-06-11T05:04:27.482Z] Archives upload complete. [2021-06-11T05:04:27.482Z] INFO: archiving logs to Nexus