Pull request #966 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 4be52ad7194d3bb75cdabe87e13f51513f36b649+f91460baaab7f197ca117fe0ead63848762b28df (8130f71b2cc6e04e7024ad940a858826aba59f42) 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-ssh5616603476714385.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh96997664026386458.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh 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-966/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-966/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7279318037443861212.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-966/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5001462079700244321.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh393465314535546770.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-966/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-966/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6986346610183865111.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-160 in /w/workspace/dgexfoundry_device-sdk-go_PR-966 [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-966 # 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-966@tmp/jenkins-gitclient-ssh1488350333384798046.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-966@tmp/jenkins-gitclient-ssh3227314653897237830.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/966/head:refs/remotes/origin/PR-966 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 4be52ad7194d3bb75cdabe87e13f51513f36b649 Merge succeeded, producing 4be52ad7194d3bb75cdabe87e13f51513f36b649 Checking out Revision 4be52ad7194d3bb75cdabe87e13f51513f36b649 (PR-966) > git config core.sparsecheckout # timeout=10 > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # 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-966@tmp/jenkins-gitclient-ssh7785011215265181387.key > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # timeout=10 Commit message: "feat: remove coredata dependency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-10T07:08:06.600Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-10T07:08:06.808Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-10T07:08:06.943Z] ========================================================= [2021-06-10T07:08:06.943Z] EdgeX Global Pipelines Version Info [2021-06-10T07:08:06.943Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-10T07:08:08.460Z] ------------------- [2021-06-10T07:08:08.460Z] stable info: [2021-06-10T07:08:08.460Z] ------------------- [2021-06-10T07:08:08.460Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-10T07:08:08.460Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-10T07:08:08.461Z] Message: update stable to v1.0.194 [2021-06-10T07:08:09.037Z] ------------------- [2021-06-10T07:08:09.037Z] experimental info: [2021-06-10T07:08:09.037Z] ------------------- [2021-06-10T07:08:09.037Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-10T07:08:09.037Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-10T07:08:09.037Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-10T07:08:09.317Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-10T07:08:09.385Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-10T07:08:09.455Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-10T07:08:09.525Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-10T07:08:09.602Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-10T07:08:09.672Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-10T07:08:09.739Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-10T07:08:09.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-10T07:08:09.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-10T07:08:09.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-10T07:08:10.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-10T07:08:10.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-10T07:08:10.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-10T07:08:10.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-10T07:08:10.312Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-10T07:08:10.373Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T07:08:10.438Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T07:08:10.520Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T07:08:10.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-10T07:08:10.684Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-10T07:08:10.770Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-10T07:08:10.838Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-10T07:08:10.920Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-10T07:08:10.984Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-10T07:08:11.048Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-10T07:08:11.111Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-10T07:08:11.176Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-966 [Pipeline] echo [2021-06-10T07:08:11.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-966 [Pipeline] echo [2021-06-10T07:08:11.295Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-966 [Pipeline] echo [2021-06-10T07:08:11.416Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4be52ad7194d3bb75cdabe87e13f51513f36b649 [Pipeline] echo [2021-06-10T07:08:11.480Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4be52ad [Pipeline] echo [2021-06-10T07:08:11.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T07:08:11.694Z] provisioning config files... [2021-06-10T07:08:11.714Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/config1746331024762455417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T07:08:12.106Z] ---> docker-login.sh [2021-06-10T07:08:12.107Z] nexus3.edgexfoundry.org:10001 [2021-06-10T07:08:12.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:08:12.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:08:12.371Z] Configure a credential helper to remove this warning. See [2021-06-10T07:08:12.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:08:12.371Z] [2021-06-10T07:08:12.371Z] Login Succeeded [2021-06-10T07:08:12.371Z] nexus3.edgexfoundry.org:10002 [2021-06-10T07:08:12.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:08:12.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:08:12.634Z] Configure a credential helper to remove this warning. See [2021-06-10T07:08:12.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:08:12.634Z] [2021-06-10T07:08:12.634Z] Login Succeeded [2021-06-10T07:08:12.634Z] nexus3.edgexfoundry.org:10003 [2021-06-10T07:08:12.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:08:12.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:08:12.634Z] Configure a credential helper to remove this warning. See [2021-06-10T07:08:12.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:08:12.634Z] [2021-06-10T07:08:12.634Z] Login Succeeded [2021-06-10T07:08:12.634Z] nexus3.edgexfoundry.org:10004 [2021-06-10T07:08:12.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:08:12.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:08:12.897Z] Configure a credential helper to remove this warning. See [2021-06-10T07:08:12.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:08:12.897Z] [2021-06-10T07:08:12.897Z] Login Succeeded [2021-06-10T07:08:12.897Z] docker.io [2021-06-10T07:08:12.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:08:13.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:08:13.161Z] Configure a credential helper to remove this warning. See [2021-06-10T07:08:13.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:08:13.161Z] [2021-06-10T07:08:13.161Z] Login Succeeded [2021-06-10T07:08:13.161Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T07:08:13.186Z] 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-10T07:08:13.986Z] + git log --format=format:%s -1 4be52ad7194d3bb75cdabe87e13f51513f36b649 [Pipeline] echo [2021-06-10T07:08:14.045Z] GIT_COMMIT: 4be52ad7194d3bb75cdabe87e13f51513f36b649, Commit Message: feat: remove coredata dependency [Pipeline] echo [2021-06-10T07:08:14.085Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:08:15.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T07:08:15.172Z] [2021-06-10T07:08:15.172Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:08:15.535Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T07:08:15.536Z] latest: Pulling from edgex-devops/git-semver [2021-06-10T07:08:15.536Z] 31603596830f: Pulling fs layer [2021-06-10T07:08:15.536Z] 54011a49482f: Pulling fs layer [2021-06-10T07:08:15.536Z] a6820b24f6d8: Pulling fs layer [2021-06-10T07:08:15.536Z] f581987b2513: Pulling fs layer [2021-06-10T07:08:15.536Z] f581987b2513: Waiting [2021-06-10T07:08:15.536Z] 54011a49482f: Verifying Checksum [2021-06-10T07:08:15.536Z] 54011a49482f: Download complete [2021-06-10T07:08:15.807Z] 31603596830f: Verifying Checksum [2021-06-10T07:08:15.807Z] 31603596830f: Download complete [2021-06-10T07:08:16.073Z] 31603596830f: Pull complete [2021-06-10T07:08:16.073Z] 54011a49482f: Pull complete [2021-06-10T07:08:16.343Z] f581987b2513: Verifying Checksum [2021-06-10T07:08:16.343Z] f581987b2513: Download complete [2021-06-10T07:08:16.343Z] a6820b24f6d8: Verifying Checksum [2021-06-10T07:08:16.343Z] a6820b24f6d8: Download complete [2021-06-10T07:08:16.940Z] a6820b24f6d8: Pull complete [2021-06-10T07:08:17.206Z] f581987b2513: Pull complete [2021-06-10T07:08:17.206Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-10T07:08:17.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T07:08:17.206Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-10T07:08:17.321Z] prd-centos7-docker-4c-2g-160 does not seem to be running inside a container [2021-06-10T07:08:17.366Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-966 -v /w/workspace/dgexfoundry_device-sdk-go_PR-966:/w/workspace/dgexfoundry_device-sdk-go_PR-966:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-966@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-10T07:08:18.493Z] $ docker top 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T07:08:18.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T07:08:18.715Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T07:08:18.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T07:08:18.821Z] $ docker exec 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb ssh-agent [2021-06-10T07:08:18.937Z] SSH_AUTH_SOCK=/tmp/ssh-2kyW5kUsvUip/agent.13 [2021-06-10T07:08:18.937Z] SSH_AGENT_PID=19 [2021-06-10T07:08:18.946Z] Running ssh-add (command line suppressed) [2021-06-10T07:08:19.045Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/private_key_5748497351842229228.key (/w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/private_key_5748497351842229228.key) [2021-06-10T07:08:19.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T07:08:19.436Z] + git tag --points-at HEAD [Pipeline] } [2021-06-10T07:08:19.465Z] $ docker exec --env ******** --env ******** 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb ssh-agent -k [2021-06-10T07:08:19.574Z] unset SSH_AUTH_SOCK; [2021-06-10T07:08:19.575Z] unset SSH_AGENT_PID; [2021-06-10T07:08:19.575Z] echo Agent pid 19 killed; [2021-06-10T07:08:19.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-10T07:08:19.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T07:08:19.712Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T07:08:19.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T07:08:19.836Z] $ docker exec 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb ssh-agent [2021-06-10T07:08:19.951Z] SSH_AUTH_SOCK=/tmp/ssh-IbjW9DAEHDmh/agent.53 [2021-06-10T07:08:19.951Z] SSH_AGENT_PID=59 [2021-06-10T07:08:19.956Z] Running ssh-add (command line suppressed) [2021-06-10T07:08:20.057Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/private_key_131409067450777727.key (/w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/private_key_131409067450777727.key) [2021-06-10T07:08:20.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T07:08:20.443Z] + git semver init [2021-06-10T07:08:20.443Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T07:08:20.443Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-966/.git [2021-06-10T07:08:20.443Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-966 [2021-06-10T07:08:20.443Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T07:08:20.443Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T07:08:20.443Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T07:08:20.443Z] # $SEMVER_BRANCH = PR-966 [2021-06-10T07:08:20.443Z] # $SEMVER_TEMP = /tmp/semver-877859122 [2021-06-10T07:08:20.443Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-10T07:08:21.391Z] # '/tmp/semver-877859122' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-966/.semver' [2021-06-10T07:08:21.391Z] # -> Force: false [2021-06-10T07:08:21.391Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-966/.semver [Pipeline] } [2021-06-10T07:08:21.410Z] $ docker exec --env ******** --env ******** 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb ssh-agent -k [2021-06-10T07:08:21.505Z] unset SSH_AUTH_SOCK; [2021-06-10T07:08:21.506Z] unset SSH_AGENT_PID; [2021-06-10T07:08:21.506Z] echo Agent pid 59 killed; [2021-06-10T07:08:21.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T07:08:21.981Z] + git semver [Pipeline] } [2021-06-10T07:08:22.006Z] $ docker stop --time=1 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb [2021-06-10T07:08:23.287Z] $ docker rm -f 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T07:08:23.727Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-10T07:08:24.064Z] Stashed 1 file(s) [Pipeline] echo [2021-06-10T07:08:24.093Z] [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-10T07:08:39.640Z] Still waiting to schedule task [2021-06-10T07:08:39.641Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-160’ [2021-06-10T07:08:39.669Z] Still waiting to schedule task [2021-06-10T07:08:39.669Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-10T07:10:37.238Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-161 in /w/workspace/dgexfoundry_device-sdk-go_PR-966 [Pipeline] { [Pipeline] ws [2021-06-10T07:10:37.344Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-10T07:10:37.626Z] Selected Git installation does not exist. Using Default [2021-06-10T07:10:37.626Z] The recommended git tool is: NONE [2021-06-10T07:10:43.121Z] using credential edgex-jenkins-ssh [2021-06-10T07:10:43.144Z] Cloning the remote Git repository [2021-06-10T07:10:43.194Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T07:10:43.318Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-10T07:10:43.388Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T07:10:43.389Z] > git --version # timeout=10 [2021-06-10T07:10:43.404Z] > git --version # 'git version 2.17.1' [2021-06-10T07:10:43.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T07:10:43.493Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T07:10:44.876Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T07:10:44.892Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T07:10:44.923Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T07:10:45.629Z] Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 4be52ad7194d3bb75cdabe87e13f51513f36b649 [2021-06-10T07:10:45.852Z] Merge succeeded, producing 4be52ad7194d3bb75cdabe87e13f51513f36b649 [2021-06-10T07:10:45.853Z] Checking out Revision 4be52ad7194d3bb75cdabe87e13f51513f36b649 (PR-966) [2021-06-10T07:10:44.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T07:10:44.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T07:10:44.975Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/966/head:refs/remotes/origin/PR-966 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T07:10:45.643Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T07:10:45.660Z] > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # timeout=10 [2021-06-10T07:10:45.757Z] > git remote # timeout=10 [2021-06-10T07:10:45.779Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T07:10:45.799Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T07:10:45.810Z] > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 [2021-06-10T07:10:45.832Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T07:10:45.855Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T07:10:45.871Z] > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # timeout=10 [2021-06-10T07:10:50.171Z] Commit message: "feat: remove coredata dependency" [2021-06-10T07:10:50.228Z] > git --version # timeout=10 [2021-06-10T07:10:50.237Z] > git --version # 'git version 2.17.1' [2021-06-10T07:10:50.253Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T07:10:51.997Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-10T07:10:52.428Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T07:10:52.798Z] + sudo service docker restart [2021-06-10T07:10:52.798Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T07:11:11.232Z] provisioning config files... [2021-06-10T07:11:11.262Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8705794032120522870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T07:11:11.698Z] ---> docker-login.sh [2021-06-10T07:11:11.698Z] nexus3.edgexfoundry.org:10001 [2021-06-10T07:11:12.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:11:12.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:11:12.962Z] Configure a credential helper to remove this warning. See [2021-06-10T07:11:12.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:11:12.962Z] [2021-06-10T07:11:12.962Z] Login Succeeded [2021-06-10T07:11:12.962Z] nexus3.edgexfoundry.org:10002 [2021-06-10T07:11:13.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:11:13.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:11:13.526Z] Configure a credential helper to remove this warning. See [2021-06-10T07:11:13.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:11:13.526Z] [2021-06-10T07:11:13.526Z] Login Succeeded [2021-06-10T07:11:13.526Z] nexus3.edgexfoundry.org:10003 [2021-06-10T07:11:13.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:11:14.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:11:14.086Z] Configure a credential helper to remove this warning. See [2021-06-10T07:11:14.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:11:14.086Z] [2021-06-10T07:11:14.086Z] Login Succeeded [2021-06-10T07:11:14.086Z] nexus3.edgexfoundry.org:10004 [2021-06-10T07:11:14.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:11:14.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:11:14.632Z] Configure a credential helper to remove this warning. See [2021-06-10T07:11:14.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:11:14.632Z] [2021-06-10T07:11:14.632Z] Login Succeeded [2021-06-10T07:11:14.632Z] docker.io [2021-06-10T07:11:14.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:11:15.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:11:15.504Z] Configure a credential helper to remove this warning. See [2021-06-10T07:11:15.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:11:15.504Z] [2021-06-10T07:11:15.504Z] Login Succeeded [2021-06-10T07:11:15.504Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T07:11:15.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T07:11:16.140Z] ========================================================= [2021-06-10T07:11:16.140Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-10T07:11:16.140Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:11:16.566Z] + 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-10T07:11:16.739Z] Running on prd-centos7-docker-4c-2g-162 in /w/workspace/dgexfoundry_device-sdk-go_PR-966 [Pipeline] { [Pipeline] ws [2021-06-10T07:11:16.799Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-10T07:11:16.950Z] Selected Git installation does not exist. Using Default [2021-06-10T07:11:16.950Z] The recommended git tool is: NONE [2021-06-10T07:11:17.169Z] Sending build context to Docker daemon 2.659MB [2021-06-10T07:11:17.169Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T07:11:17.169Z] Step 2/8 : FROM ${BASE} [2021-06-10T07:11:17.443Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-10T07:11:17.443Z] 595b0fe564bb: Pulling fs layer [2021-06-10T07:11:17.443Z] 3088b5b3c5c0: Pulling fs layer [2021-06-10T07:11:17.443Z] 5b7225fbf94c: Pulling fs layer [2021-06-10T07:11:17.443Z] ba82ee9f976e: Pulling fs layer [2021-06-10T07:11:17.443Z] 506bd15cee9f: Pulling fs layer [2021-06-10T07:11:17.443Z] 75a0a4a0db45: Pulling fs layer [2021-06-10T07:11:17.443Z] 618dc40b7e24: Pulling fs layer [2021-06-10T07:11:17.443Z] ba82ee9f976e: Waiting [2021-06-10T07:11:17.443Z] 506bd15cee9f: Waiting [2021-06-10T07:11:17.443Z] 75a0a4a0db45: Waiting [2021-06-10T07:11:17.443Z] 618dc40b7e24: Waiting [2021-06-10T07:11:17.443Z] 5b7225fbf94c: Verifying Checksum [2021-06-10T07:11:17.443Z] 5b7225fbf94c: Download complete [2021-06-10T07:11:17.443Z] 3088b5b3c5c0: Verifying Checksum [2021-06-10T07:11:17.443Z] 3088b5b3c5c0: Download complete [2021-06-10T07:11:17.443Z] 506bd15cee9f: Verifying Checksum [2021-06-10T07:11:17.443Z] 506bd15cee9f: Download complete [2021-06-10T07:11:17.443Z] 75a0a4a0db45: Verifying Checksum [2021-06-10T07:11:17.443Z] 75a0a4a0db45: Download complete [2021-06-10T07:11:17.443Z] 595b0fe564bb: Verifying Checksum [2021-06-10T07:11:17.443Z] 595b0fe564bb: Download complete [2021-06-10T07:11:18.077Z] 595b0fe564bb: Pull complete [2021-06-10T07:11:18.690Z] 3088b5b3c5c0: Pull complete [2021-06-10T07:11:19.296Z] 5b7225fbf94c: Pull complete [2021-06-10T07:11:19.504Z] using credential edgex-jenkins-ssh [2021-06-10T07:11:19.519Z] Cloning the remote Git repository [2021-06-10T07:11:19.899Z] 618dc40b7e24: Verifying Checksum [2021-06-10T07:11:19.899Z] 618dc40b7e24: Download complete [2021-06-10T07:11:19.539Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T07:11:19.605Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-10T07:11:19.645Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T07:11:19.645Z] > git --version # timeout=10 [2021-06-10T07:11:19.658Z] > git --version # 'git version 2.24.4' [2021-06-10T07:11:19.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T07:11:19.682Z] [INFO] Currently running in a labeled security context [2021-06-10T07:11:19.682Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T07:11:19.682Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6674660045619513556.key [2021-06-10T07:11:19.703Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T07:11:21.337Z] ba82ee9f976e: Verifying Checksum [2021-06-10T07:11:21.337Z] ba82ee9f976e: Download complete [2021-06-10T07:11:21.371Z] Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 4be52ad7194d3bb75cdabe87e13f51513f36b649 [2021-06-10T07:11:20.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T07:11:20.767Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T07:11:20.778Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T07:11:20.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T07:11:20.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T07:11:20.792Z] [INFO] Currently running in a labeled security context [2021-06-10T07:11:20.793Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T07:11:20.793Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3242271732974714736.key [2021-06-10T07:11:20.799Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/966/head:refs/remotes/origin/PR-966 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T07:11:21.376Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T07:11:21.386Z] > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # timeout=10 [2021-06-10T07:11:21.424Z] > git remote # timeout=10 [2021-06-10T07:11:21.433Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T07:11:21.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T07:11:21.444Z] [INFO] Currently running in a labeled security context [2021-06-10T07:11:21.444Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T07:11:21.444Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6073935292312981872.key [2021-06-10T07:11:21.450Z] > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 [2021-06-10T07:11:21.460Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T07:11:21.476Z] Merge succeeded, producing 4be52ad7194d3bb75cdabe87e13f51513f36b649 [2021-06-10T07:11:21.476Z] Checking out Revision 4be52ad7194d3bb75cdabe87e13f51513f36b649 (PR-966) [2021-06-10T07:11:21.475Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T07:11:21.479Z] > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # timeout=10 [2021-06-10T07:11:25.066Z] Commit message: "feat: remove coredata dependency" [2021-06-10T07:11:25.091Z] > git --version # timeout=10 [2021-06-10T07:11:25.113Z] > git --version # 'git version 2.24.4' [2021-06-10T07:11:25.122Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T07:11:26.552Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-10T07:11:26.909Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T07:11:27.233Z] + sudo service docker restart [2021-06-10T07:11:27.233Z] + true [2021-06-10T07:11:27.233Z] Redirecting to /bin/systemctl restart docker.service [2021-06-10T07:11:33.775Z] ba82ee9f976e: Pull complete [2021-06-10T07:11:33.775Z] 506bd15cee9f: Pull complete [2021-06-10T07:11:33.775Z] 75a0a4a0db45: Pull complete [2021-06-10T07:11:36.423Z] 618dc40b7e24: Pull complete [2021-06-10T07:11:36.423Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-10T07:11:36.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-10T07:11:36.423Z] ---> a36622ca3599 [2021-06-10T07:11:36.423Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T07:11:38.417Z] ---> Running in ab18485baf26 [2021-06-10T07:11:38.689Z] Removing intermediate container ab18485baf26 [2021-06-10T07:11:38.689Z] ---> 2691c454a0fe [2021-06-10T07:11:38.689Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T07:11:38.963Z] ---> Running in 7173d3406210 [2021-06-10T07:11:41.578Z] Removing intermediate container 7173d3406210 [2021-06-10T07:11:41.579Z] ---> 10bdd97f26e8 [2021-06-10T07:11:41.579Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-10T07:11:41.579Z] ---> Running in 99228b05751d [2021-06-10T07:11:42.558Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T07:11:43.542Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T07:11:44.523Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-10T07:11:44.523Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-10T07:11:44.523Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-10T07:11:44.523Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-10T07:11:44.794Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-10T07:11:44.794Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-10T07:11:45.068Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T07:11:45.068Z] OK: 139 MiB in 46 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T07:11:45.511Z] provisioning config files... [2021-06-10T07:11:45.528Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5213761905252277205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T07:11:45.943Z] ---> docker-login.sh [2021-06-10T07:11:45.943Z] nexus3.edgexfoundry.org:10001 [2021-06-10T07:11:46.049Z] Removing intermediate container 99228b05751d [2021-06-10T07:11:46.049Z] ---> beea44e9a70f [2021-06-10T07:11:46.049Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-10T07:11:46.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:11:46.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:11:46.209Z] Configure a credential helper to remove this warning. See [2021-06-10T07:11:46.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:11:46.209Z] [2021-06-10T07:11:46.209Z] Login Succeeded [2021-06-10T07:11:46.209Z] nexus3.edgexfoundry.org:10002 [2021-06-10T07:11:46.324Z] ---> Running in 78716749e3b3 [2021-06-10T07:11:46.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:11:46.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:11:46.472Z] Configure a credential helper to remove this warning. See [2021-06-10T07:11:46.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:11:46.472Z] [2021-06-10T07:11:46.472Z] Login Succeeded [2021-06-10T07:11:46.472Z] nexus3.edgexfoundry.org:10003 [2021-06-10T07:11:46.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:11:46.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:11:46.735Z] Configure a credential helper to remove this warning. See [2021-06-10T07:11:46.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:11:46.735Z] [2021-06-10T07:11:46.735Z] Login Succeeded [2021-06-10T07:11:46.735Z] nexus3.edgexfoundry.org:10004 [2021-06-10T07:11:46.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:11:46.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:11:46.735Z] Configure a credential helper to remove this warning. See [2021-06-10T07:11:46.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:11:46.735Z] [2021-06-10T07:11:46.735Z] Login Succeeded [2021-06-10T07:11:46.735Z] docker.io [2021-06-10T07:11:46.921Z] Removing intermediate container 78716749e3b3 [2021-06-10T07:11:46.921Z] ---> 67023e98f134 [2021-06-10T07:11:46.921Z] Step 7/8 : COPY . . [2021-06-10T07:11:47.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T07:11:47.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T07:11:47.275Z] Configure a credential helper to remove this warning. See [2021-06-10T07:11:47.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T07:11:47.275Z] [2021-06-10T07:11:47.275Z] Login Succeeded [2021-06-10T07:11:47.275Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T07:11:47.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T07:11:47.644Z] ========================================================= [2021-06-10T07:11:47.644Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-10T07:11:47.644Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:11:48.012Z] + 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-10T07:11:48.012Z] Sending build context to Docker daemon 2.66MB [2021-06-10T07:11:48.012Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T07:11:48.012Z] Step 2/8 : FROM ${BASE} [2021-06-10T07:11:48.277Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-10T07:11:48.277Z] 540db60ca938: Pulling fs layer [2021-06-10T07:11:48.277Z] adcc1eea9eea: Pulling fs layer [2021-06-10T07:11:48.277Z] 4c4ab2625f07: Pulling fs layer [2021-06-10T07:11:48.277Z] 0510c868ecb4: Pulling fs layer [2021-06-10T07:11:48.277Z] afea3b2eda06: Pulling fs layer [2021-06-10T07:11:48.277Z] 7809a108b3ef: Pulling fs layer [2021-06-10T07:11:48.277Z] f706445af74f: Pulling fs layer [2021-06-10T07:11:48.277Z] 0510c868ecb4: Waiting [2021-06-10T07:11:48.277Z] afea3b2eda06: Waiting [2021-06-10T07:11:48.277Z] 7809a108b3ef: Waiting [2021-06-10T07:11:48.277Z] f706445af74f: Waiting [2021-06-10T07:11:48.277Z] 4c4ab2625f07: Download complete [2021-06-10T07:11:48.277Z] adcc1eea9eea: Verifying Checksum [2021-06-10T07:11:48.277Z] adcc1eea9eea: Download complete [2021-06-10T07:11:48.277Z] afea3b2eda06: Verifying Checksum [2021-06-10T07:11:48.277Z] afea3b2eda06: Download complete [2021-06-10T07:11:48.277Z] 540db60ca938: Verifying Checksum [2021-06-10T07:11:48.277Z] 540db60ca938: Download complete [2021-06-10T07:11:48.277Z] 7809a108b3ef: Verifying Checksum [2021-06-10T07:11:48.277Z] 7809a108b3ef: Download complete [2021-06-10T07:11:48.366Z] ---> f4e865789f38 [2021-06-10T07:11:48.367Z] Step 8/8 : RUN go mod download [2021-06-10T07:11:48.367Z] ---> Running in f8010c4d510c [2021-06-10T07:11:48.546Z] 540db60ca938: Pull complete [2021-06-10T07:11:48.546Z] adcc1eea9eea: Pull complete [2021-06-10T07:11:48.813Z] 4c4ab2625f07: Pull complete [2021-06-10T07:11:50.210Z] f706445af74f: Verifying Checksum [2021-06-10T07:11:50.210Z] f706445af74f: Download complete [2021-06-10T07:11:50.788Z] 0510c868ecb4: Verifying Checksum [2021-06-10T07:11:50.789Z] 0510c868ecb4: Download complete [2021-06-10T07:11:54.135Z] 0510c868ecb4: Pull complete [2021-06-10T07:11:54.135Z] afea3b2eda06: Pull complete [2021-06-10T07:11:54.400Z] 7809a108b3ef: Pull complete [2021-06-10T07:11:55.803Z] f706445af74f: Pull complete [2021-06-10T07:11:55.803Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-10T07:11:55.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-10T07:11:55.803Z] ---> b068be0155e3 [2021-06-10T07:11:55.803Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T07:11:59.149Z] ---> Running in 38431ca9c908 [2021-06-10T07:11:59.149Z] Removing intermediate container 38431ca9c908 [2021-06-10T07:11:59.149Z] ---> 9ef19fb78fcb [2021-06-10T07:11:59.149Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T07:11:59.413Z] ---> Running in 0e7767ce79a7 [2021-06-10T07:11:59.997Z] Removing intermediate container 0e7767ce79a7 [2021-06-10T07:11:59.997Z] ---> 634399c2e01c [2021-06-10T07:11:59.997Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-10T07:11:59.997Z] ---> Running in 772327e57163 [2021-06-10T07:12:00.260Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T07:12:01.216Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T07:12:02.192Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-10T07:12:02.192Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-10T07:12:02.192Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-10T07:12:02.192Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-10T07:12:02.464Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-10T07:12:02.464Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-10T07:12:02.464Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T07:12:02.464Z] OK: 150 MiB in 46 packages [2021-06-10T07:12:02.729Z] Removing intermediate container 772327e57163 [2021-06-10T07:12:02.729Z] ---> 02dc9bd4f087 [2021-06-10T07:12:02.729Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-10T07:12:02.999Z] ---> Running in ab8ab68a0994 [2021-06-10T07:12:02.999Z] Removing intermediate container ab8ab68a0994 [2021-06-10T07:12:02.999Z] ---> f314014ef8f1 [2021-06-10T07:12:02.999Z] Step 7/8 : COPY . . [2021-06-10T07:12:03.575Z] ---> ddd81142e545 [2021-06-10T07:12:03.575Z] Step 8/8 : RUN go mod download [2021-06-10T07:12:03.575Z] ---> Running in c01d125877bc [2021-06-10T07:12:15.207Z] Removing intermediate container f8010c4d510c [2021-06-10T07:12:15.207Z] ---> 9e45a7ebe1ca [2021-06-10T07:12:15.207Z] Successfully built 9e45a7ebe1ca [2021-06-10T07:12:15.207Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:12:15.583Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T07:12:15.583Z] . [Pipeline] withDockerContainer [2021-06-10T07:12:15.839Z] prd-ubuntu18.04-docker-arm64-4c-16g-161 does not seem to be running inside a container [2021-06-10T07:12:15.867Z] Removing intermediate container c01d125877bc [2021-06-10T07:12:15.868Z] ---> 02b4f771bea1 [2021-06-10T07:12:15.868Z] Successfully built 02b4f771bea1 [2021-06-10T07:12:15.868Z] Successfully tagged ci-base-image-x86_64:latest [2021-06-10T07:12:15.931Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-06-10T07:12:17.527Z] $ docker top 8cf69c62da5ac24f63d9108a52a2fb0fb1ca90e114f9bd0ac58d73e1296b1f5d -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:12:18.467Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T07:12:18.467Z] . [Pipeline] withDockerContainer [2021-06-10T07:12:18.539Z] + go version [2021-06-10T07:12:18.539Z] go version go1.16.5 linux/arm64 [2021-06-10T07:12:18.610Z] prd-centos7-docker-4c-2g-162 does not seem to be running inside a container [2021-06-10T07:12:18.654Z] $ 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-10T07:12:19.094Z] $ docker top f70aba30ac41b684fa075f5afda7593a36347121dc8e2f9d3f99cf4e8d338c15 -eo pid,comm [Pipeline] { [Pipeline] } [2021-06-10T07:12:19.271Z] $ docker stop --time=1 8cf69c62da5ac24f63d9108a52a2fb0fb1ca90e114f9bd0ac58d73e1296b1f5d [2021-06-10T07:12:21.114Z] $ docker rm -f 8cf69c62da5ac24f63d9108a52a2fb0fb1ca90e114f9bd0ac58d73e1296b1f5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [2021-06-10T07:12:21.734Z] + go version [2021-06-10T07:12:21.734Z] go version go1.16.3 linux/amd64 [Pipeline] // stage [Pipeline] } [2021-06-10T07:12:21.790Z] $ docker stop --time=1 f70aba30ac41b684fa075f5afda7593a36347121dc8e2f9d3f99cf4e8d338c15 [2021-06-10T07:12:22.987Z] $ docker rm -f f70aba30ac41b684fa075f5afda7593a36347121dc8e2f9d3f99cf4e8d338c15 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:12:23.780Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T07:12:23.780Z] . [Pipeline] withDockerContainer [2021-06-10T07:12:23.900Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T07:12:23.900Z] . [2021-06-10T07:12:24.052Z] prd-ubuntu18.04-docker-arm64-4c-16g-161 does not seem to be running inside a container [2021-06-10T07:12:24.140Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-06-10T07:12:25.714Z] $ docker top 02ed88af26ccca533c0dc6afa9e28f3205944bc14a9889867e92d0000e07461a -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-06-10T07:12:26.199Z] prd-centos7-docker-4c-2g-162 does not seem to be running inside a container [2021-06-10T07:12:26.249Z] $ 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-10T07:12:26.625Z] $ docker top 2d11e7db8e6b319e23880990ca500289b3811e26a4af026c0c7d5158d06aa047 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-10T07:12:27.172Z] + go mod tidy [2021-06-10T07:12:27.423Z] + go mod tidy [Pipeline] sh [2021-06-10T07:12:27.774Z] + make test [2021-06-10T07:12:27.774Z] go mod tidy [2021-06-10T07:12:28.040Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] sh [2021-06-10T07:12:28.722Z] + make test [2021-06-10T07:12:28.722Z] go mod tidy [2021-06-10T07:12:29.322Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-10T07:12:34.685Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-10T07:12:51.527Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-10T07:13:01.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-10T07:13:01.404Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-10T07:13:01.404Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-10T07:13:01.404Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.062s coverage: 25.4% of statements [2021-06-10T07:13:01.404Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-10T07:13:01.404Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements [2021-06-10T07:13:01.987Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2021-06-10T07:13:01.987Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2021-06-10T07:13:01.987Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-10T07:13:01.987Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-10T07:13:01.987Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-10T07:13:02.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 29.2% of statements [2021-06-10T07:13:02.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-10T07:13:03.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 83.3% of statements [2021-06-10T07:13:03.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-10T07:13:03.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-10T07:13:03.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 58.0% of statements [2021-06-10T07:13:05.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.831s coverage: 89.2% of statements [2021-06-10T07:13:05.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-10T07:13:05.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 5.0% of statements [2021-06-10T07:13:05.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-10T07:13:05.324Z] GO111MODULE=on go vet ./... [2021-06-10T07:13:27.370Z] gofmt -l . [2021-06-10T07:13:27.370Z] [ "`gofmt -l .`" = "" ] [2021-06-10T07:13:27.370Z] ./bin/test-attribution-txt.sh [2021-06-10T07:13:27.370Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-10T07:13:27.405Z] $ docker stop --time=1 2d11e7db8e6b319e23880990ca500289b3811e26a4af026c0c7d5158d06aa047 [2021-06-10T07:13:28.953Z] $ docker rm -f 2d11e7db8e6b319e23880990ca500289b3811e26a4af026c0c7d5158d06aa047 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T07:13:29.547Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-10T07:13:29.789Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-10T07:13:32.844Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-10T07:13:33.170Z] + ls -al . [2021-06-10T07:13:33.170Z] total 208 [2021-06-10T07:13:33.170Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 10 07:13 . [2021-06-10T07:13:33.170Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 10 07:11 .. [2021-06-10T07:13:33.170Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 10 07:11 bin [2021-06-10T07:13:33.170Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 10 07:13 coverage.out [2021-06-10T07:13:33.170Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 10 07:11 Dockerfile.build [2021-06-10T07:13:33.170Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 10 07:11 .dockerignore [2021-06-10T07:13:33.170Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 10 07:11 example [2021-06-10T07:13:33.170Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 10 07:11 .git [2021-06-10T07:13:33.170Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 10 07:11 .github [2021-06-10T07:13:33.170Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 10 07:11 .gitignore [2021-06-10T07:13:33.170Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 10 07:13 go.mod [2021-06-10T07:13:33.170Z] -rw-r--r--. 1 jenkins jenkins 20472 Jun 10 07:12 go.sum [2021-06-10T07:13:33.170Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 10 07:11 internal [2021-06-10T07:13:33.170Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 10 07:11 Jenkinsfile [2021-06-10T07:13:33.170Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 10 07:11 LICENSE [2021-06-10T07:13:33.170Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 10 07:11 Makefile [2021-06-10T07:13:33.170Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 10 07:11 openapi [2021-06-10T07:13:33.170Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 10 07:11 pkg [2021-06-10T07:13:33.170Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 10 07:11 README.md [2021-06-10T07:13:33.170Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 10 07:11 RELEASE-NOTES.txt [2021-06-10T07:13:33.170Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 10 07:11 snap [2021-06-10T07:13:33.170Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 10 07:08 VERSION [2021-06-10T07:13:33.170Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 10 07:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:13:33.579Z] + 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=4be52ad7194d3bb75cdabe87e13f51513f36b649 --label arch=amd64 --label version=0.0.0 . [2021-06-10T07:13:33.579Z] Sending build context to Docker daemon 2.787MB [2021-06-10T07:13:33.579Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T07:13:33.579Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-10T07:13:33.579Z] ---> 02b4f771bea1 [2021-06-10T07:13:33.579Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-10T07:13:33.579Z] ---> Running in 6ef35cd65cfe [2021-06-10T07:13:33.851Z] Removing intermediate container 6ef35cd65cfe [2021-06-10T07:13:33.851Z] ---> 02f5061bd4a7 [2021-06-10T07:13:33.851Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T07:13:33.851Z] ---> Running in 6aa0e7daf2d6 [2021-06-10T07:13:33.852Z] Removing intermediate container 6aa0e7daf2d6 [2021-06-10T07:13:33.852Z] ---> 6cc81a6994bd [2021-06-10T07:13:33.852Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T07:13:33.852Z] ---> Running in 9303ff6ed5a1 [2021-06-10T07:13:34.443Z] Removing intermediate container 9303ff6ed5a1 [2021-06-10T07:13:34.444Z] ---> 9d0cefc3ad3b [2021-06-10T07:13:34.444Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-10T07:13:34.444Z] ---> Running in a1142d6e5210 [2021-06-10T07:13:34.719Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T07:13:35.685Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T07:13:35.955Z] OK: 150 MiB in 46 packages [2021-06-10T07:13:36.246Z] Removing intermediate container a1142d6e5210 [2021-06-10T07:13:36.246Z] ---> ad90f2de8fce [2021-06-10T07:13:36.247Z] Step 7/23 : COPY . . [2021-06-10T07:13:36.517Z] ---> 52bde55365d5 [2021-06-10T07:13:36.517Z] Step 8/23 : RUN go mod download [2021-06-10T07:13:36.787Z] ---> Running in ced80aa55a42 [2021-06-10T07:13:37.367Z] Removing intermediate container ced80aa55a42 [2021-06-10T07:13:37.367Z] ---> 9f6a8a15b00f [2021-06-10T07:13:37.367Z] Step 9/23 : RUN make build [2021-06-10T07:13:37.368Z] ---> Running in 2914e77caa16 [2021-06-10T07:13:37.636Z] go mod tidy [2021-06-10T07:13:37.636Z] 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-10T07:13:49.980Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-10T07:13:50.242Z] Removing intermediate container 2914e77caa16 [2021-06-10T07:13:50.242Z] ---> 7bbeb0fa5c9f [2021-06-10T07:13:50.242Z] Step 10/23 : FROM alpine:3.12 [2021-06-10T07:13:50.818Z] 3.12: Pulling from library/alpine [2021-06-10T07:13:51.081Z] 339de151aab4: Pulling fs layer [2021-06-10T07:13:51.344Z] 339de151aab4: Verifying Checksum [2021-06-10T07:13:51.344Z] 339de151aab4: Download complete [2021-06-10T07:13:51.344Z] 339de151aab4: Pull complete [2021-06-10T07:13:51.344Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-10T07:13:51.344Z] Status: Downloaded newer image for alpine:3.12 [2021-06-10T07:13:51.344Z] ---> 13621d1b12d4 [2021-06-10T07:13:51.344Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T07:13:51.607Z] ---> Running in c76e30f6c670 [2021-06-10T07:13:51.607Z] Removing intermediate container c76e30f6c670 [2021-06-10T07:13:51.607Z] ---> 5d6128627779 [2021-06-10T07:13:51.607Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T07:13:51.607Z] ---> Running in 3e78d0bc92b7 [2021-06-10T07:13:52.180Z] Removing intermediate container 3e78d0bc92b7 [2021-06-10T07:13:52.180Z] ---> e0d731dc37c7 [2021-06-10T07:13:52.180Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-10T07:13:52.180Z] ---> Running in 46eb708d0bdf [2021-06-10T07:13:52.445Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-10T07:13:53.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-10T07:13:53.278Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-10T07:13:53.540Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-10T07:13:53.540Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-10T07:13:54.486Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-10T07:13:54.751Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-10T07:13:54.751Z] Executing busybox-1.31.1-r20.trigger [2021-06-10T07:13:54.751Z] OK: 8 MiB in 19 packages [2021-06-10T07:13:55.015Z] Removing intermediate container 46eb708d0bdf [2021-06-10T07:13:55.015Z] ---> 90c1aa40853c [2021-06-10T07:13:55.015Z] Step 14/23 : WORKDIR / [2021-06-10T07:13:55.015Z] ---> Running in 36a1893275e8 [2021-06-10T07:13:55.284Z] Removing intermediate container 36a1893275e8 [2021-06-10T07:13:55.284Z] ---> 6e08bbe74136 [2021-06-10T07:13:55.284Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-10T07:13:55.284Z] ---> 2077730a0df2 [2021-06-10T07:13:55.284Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-10T07:13:55.859Z] ---> 47088e71ad0b [2021-06-10T07:13:55.859Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-10T07:13:55.859Z] ---> fbbdec759a86 [2021-06-10T07:13:55.859Z] Step 18/23 : EXPOSE 59999 [2021-06-10T07:13:55.859Z] ---> Running in e341a7fc9735 [2021-06-10T07:13:56.124Z] Removing intermediate container e341a7fc9735 [2021-06-10T07:13:56.124Z] ---> d1a54b14a11a [2021-06-10T07:13:56.124Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-10T07:13:56.124Z] ---> Running in e4bad9989ed6 [2021-06-10T07:13:56.124Z] Removing intermediate container e4bad9989ed6 [2021-06-10T07:13:56.124Z] ---> a63c9f185ae1 [2021-06-10T07:13:56.124Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-10T07:13:56.124Z] ---> Running in 15013d742162 [2021-06-10T07:13:56.388Z] Removing intermediate container 15013d742162 [2021-06-10T07:13:56.388Z] ---> 5924b1a23d94 [2021-06-10T07:13:56.388Z] Step 21/23 : LABEL arch=amd64 [2021-06-10T07:13:56.388Z] ---> Running in a5d54b5f48f3 [2021-06-10T07:13:56.388Z] Removing intermediate container a5d54b5f48f3 [2021-06-10T07:13:56.388Z] ---> 5dfcd883d908 [2021-06-10T07:13:56.388Z] Step 22/23 : LABEL git_sha=4be52ad7194d3bb75cdabe87e13f51513f36b649 [2021-06-10T07:13:56.388Z] ---> Running in 66779c1c12ec [2021-06-10T07:13:56.388Z] Removing intermediate container 66779c1c12ec [2021-06-10T07:13:56.388Z] ---> 6c2b468a368e [2021-06-10T07:13:56.388Z] Step 23/23 : LABEL version=0.0.0 [2021-06-10T07:13:56.653Z] ---> Running in 47e1f9d477e8 [2021-06-10T07:13:56.653Z] Removing intermediate container 47e1f9d477e8 [2021-06-10T07:13:56.653Z] ---> 2eac49418c8f [2021-06-10T07:13:56.653Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-10T07:13:56.653Z] Successfully built 2eac49418c8f [2021-06-10T07:13:56.653Z] 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-10T07:13:57.834Z] ---> job-cost.sh [2021-06-10T07:13:57.834Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-b7Cu [2021-06-10T07:13:59.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-10T07:13:59.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-10T07:13:59.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-10T07:14:05.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.378s coverage: 25.4% of statements [2021-06-10T07:14:05.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-10T07:14:05.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.250s coverage: 28.1% of statements [2021-06-10T07:14:05.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.284s coverage: 78.9% of statements [2021-06-10T07:14:05.051Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.191s coverage: 9.0% of statements [2021-06-10T07:14:05.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-10T07:14:05.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-10T07:14:05.051Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-10T07:14:07.697Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.299s coverage: 29.2% of statements [2021-06-10T07:14:07.697Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-10T07:14:07.923Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T07:14:08.690Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.213s coverage: 83.3% of statements [2021-06-10T07:14:08.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-10T07:14:08.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-10T07:14:08.690Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.351s coverage: 58.0% of statements [2021-06-10T07:14:12.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.026s coverage: 89.2% of statements [2021-06-10T07:14:12.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-10T07:14:12.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 5.0% of statements [2021-06-10T07:14:12.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-10T07:14:12.692Z] GO111MODULE=on go vet ./... [2021-06-10T07:14:20.235Z] lf-activate-venv(): INFO: Adding /tmp/venv-b7Cu/bin to PATH [2021-06-10T07:14:20.235Z] INFO: No Stack... [2021-06-10T07:14:20.498Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T07:14:21.076Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T07:14:21.432Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-10T07:14:21.432Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T07:14:21.490Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] [2021-06-10T07:14:21.496Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] did not exist. Created. [2021-06-10T07:14:21.496Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T07:14:21.917Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-10T07:14:22.007Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T07:14:22.028Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T07:15:09.278Z] gofmt -l . [2021-06-10T07:15:09.278Z] [ "`gofmt -l .`" = "" ] [2021-06-10T07:15:09.278Z] ./bin/test-attribution-txt.sh [2021-06-10T07:15:09.278Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-10T07:15:09.332Z] $ docker stop --time=1 02ed88af26ccca533c0dc6afa9e28f3205944bc14a9889867e92d0000e07461a [2021-06-10T07:15:11.266Z] $ docker rm -f 02ed88af26ccca533c0dc6afa9e28f3205944bc14a9889867e92d0000e07461a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T07:15:12.358Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-10T07:15:12.402Z] Warning: overwriting stash ‘coverage-report’ [2021-06-10T07:15:12.993Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T07:15:13.872Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-10T07:15:14.238Z] + ls -al . [2021-06-10T07:15:14.238Z] total 244 [2021-06-10T07:15:14.238Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 10 07:15 . [2021-06-10T07:15:14.238Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 07:10 .. [2021-06-10T07:15:14.238Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 10 07:10 .dockerignore [2021-06-10T07:15:14.238Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 10 07:10 .git [2021-06-10T07:15:14.238Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 07:10 .github [2021-06-10T07:15:14.238Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 10 07:10 .gitignore [2021-06-10T07:15:14.238Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 10 07:10 Dockerfile.build [2021-06-10T07:15:14.238Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 10 07:10 Jenkinsfile [2021-06-10T07:15:14.238Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 10 07:10 LICENSE [2021-06-10T07:15:14.238Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 10 07:10 Makefile [2021-06-10T07:15:14.238Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 10 07:10 README.md [2021-06-10T07:15:14.238Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 10 07:10 RELEASE-NOTES.txt [2021-06-10T07:15:14.238Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 10 07:08 VERSION [2021-06-10T07:15:14.238Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 07:10 bin [2021-06-10T07:15:14.238Z] -rw-r--r-- 1 jenkins jenkins 126072 Jun 10 07:14 coverage.out [2021-06-10T07:15:14.238Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 10 07:10 example [2021-06-10T07:15:14.238Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 10 07:15 go.mod [2021-06-10T07:15:14.239Z] -rw-r--r-- 1 jenkins jenkins 20472 Jun 10 07:12 go.sum [2021-06-10T07:15:14.239Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 10 07:10 internal [2021-06-10T07:15:14.239Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 07:10 openapi [2021-06-10T07:15:14.239Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 10 07:10 pkg [2021-06-10T07:15:14.239Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 07:10 snap [2021-06-10T07:15:14.239Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 10 07:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:15:14.622Z] + 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=4be52ad7194d3bb75cdabe87e13f51513f36b649 --label arch=arm64 --label version=0.0.0 . [2021-06-10T07:15:15.230Z] Sending build context to Docker daemon 2.786MB [2021-06-10T07:15:15.231Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T07:15:15.231Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-10T07:15:15.231Z] ---> 9e45a7ebe1ca [2021-06-10T07:15:15.231Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-10T07:15:15.503Z] ---> Running in 6e093313a473 [2021-06-10T07:15:16.109Z] Removing intermediate container 6e093313a473 [2021-06-10T07:15:16.109Z] ---> 76dbe5e2e22e [2021-06-10T07:15:16.109Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T07:15:16.109Z] ---> Running in 566e00120488 [2021-06-10T07:15:16.707Z] Removing intermediate container 566e00120488 [2021-06-10T07:15:16.707Z] ---> d3637b5d80c3 [2021-06-10T07:15:16.707Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T07:15:16.707Z] ---> Running in 034cb646aa05 [2021-06-10T07:15:19.334Z] Removing intermediate container 034cb646aa05 [2021-06-10T07:15:19.334Z] ---> 7cc9592c8999 [2021-06-10T07:15:19.334Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-10T07:15:19.334Z] ---> Running in 3730ba87fff2 [2021-06-10T07:15:20.314Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T07:15:21.288Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T07:15:22.274Z] OK: 139 MiB in 46 packages [2021-06-10T07:15:23.254Z] Removing intermediate container 3730ba87fff2 [2021-06-10T07:15:23.254Z] ---> e57a738588a8 [2021-06-10T07:15:23.254Z] Step 7/23 : COPY . . [2021-06-10T07:15:24.700Z] ---> d0856981b611 [2021-06-10T07:15:24.700Z] Step 8/23 : RUN go mod download [2021-06-10T07:15:24.700Z] ---> Running in 5d5c11544e19 [2021-06-10T07:15:27.322Z] Removing intermediate container 5d5c11544e19 [2021-06-10T07:15:27.322Z] ---> 454f2e1ba097 [2021-06-10T07:15:27.322Z] Step 9/23 : RUN make build [2021-06-10T07:15:27.322Z] ---> Running in c485d323c532 [2021-06-10T07:15:28.303Z] go mod tidy [2021-06-10T07:15:29.295Z] 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-10T07:16:01.683Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-10T07:16:03.653Z] Removing intermediate container c485d323c532 [2021-06-10T07:16:03.654Z] ---> efe45dacf7f0 [2021-06-10T07:16:03.654Z] Step 10/23 : FROM alpine:3.12 [2021-06-10T07:16:03.925Z] 3.12: Pulling from library/alpine [2021-06-10T07:16:04.198Z] d2f70382dc9a: Pulling fs layer [2021-06-10T07:16:04.469Z] d2f70382dc9a: Verifying Checksum [2021-06-10T07:16:04.469Z] d2f70382dc9a: Download complete [2021-06-10T07:16:05.068Z] d2f70382dc9a: Pull complete [2021-06-10T07:16:05.068Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-10T07:16:05.068Z] Status: Downloaded newer image for alpine:3.12 [2021-06-10T07:16:05.068Z] ---> 9852663dfa18 [2021-06-10T07:16:05.068Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T07:16:05.068Z] ---> Running in fc10c0d35999 [2021-06-10T07:16:05.664Z] Removing intermediate container fc10c0d35999 [2021-06-10T07:16:05.664Z] ---> eb85abb87625 [2021-06-10T07:16:05.664Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T07:16:05.664Z] ---> Running in 834c3b4c0bb1 [2021-06-10T07:16:07.653Z] Removing intermediate container 834c3b4c0bb1 [2021-06-10T07:16:07.653Z] ---> c8a46480e583 [2021-06-10T07:16:07.653Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-10T07:16:07.653Z] ---> Running in 51c39612b8c2 [2021-06-10T07:16:09.107Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-10T07:16:09.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-10T07:16:10.291Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-10T07:16:10.291Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-10T07:16:10.562Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-10T07:16:10.562Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-10T07:16:10.833Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-10T07:16:10.833Z] Executing busybox-1.31.1-r20.trigger [2021-06-10T07:16:10.833Z] OK: 8 MiB in 19 packages [2021-06-10T07:16:11.815Z] Removing intermediate container 51c39612b8c2 [2021-06-10T07:16:11.815Z] ---> 2af06637102d [2021-06-10T07:16:11.815Z] Step 14/23 : WORKDIR / [2021-06-10T07:16:12.089Z] ---> Running in 66d693376806 [2021-06-10T07:16:12.689Z] Removing intermediate container 66d693376806 [2021-06-10T07:16:12.689Z] ---> a979b09edaa7 [2021-06-10T07:16:12.689Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-10T07:16:13.286Z] ---> 0b8964489c47 [2021-06-10T07:16:13.286Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-10T07:16:14.722Z] ---> 2c0c45f61d30 [2021-06-10T07:16:14.722Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-10T07:16:15.319Z] ---> 9a65e101a51a [2021-06-10T07:16:15.319Z] Step 18/23 : EXPOSE 59999 [2021-06-10T07:16:15.319Z] ---> Running in 7b12d38f4dc7 [2021-06-10T07:16:15.916Z] Removing intermediate container 7b12d38f4dc7 [2021-06-10T07:16:15.916Z] ---> 66d942927571 [2021-06-10T07:16:15.916Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-10T07:16:15.916Z] ---> Running in 9316d4ec89f0 [2021-06-10T07:16:16.517Z] Removing intermediate container 9316d4ec89f0 [2021-06-10T07:16:16.517Z] ---> 7306fc939d6d [2021-06-10T07:16:16.517Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-10T07:16:16.517Z] ---> Running in 4f1b96f75444 [2021-06-10T07:16:17.117Z] Removing intermediate container 4f1b96f75444 [2021-06-10T07:16:17.118Z] ---> 3a9bcd797b16 [2021-06-10T07:16:17.118Z] Step 21/23 : LABEL arch=arm64 [2021-06-10T07:16:17.118Z] ---> Running in 12e73a32e55b [2021-06-10T07:16:17.714Z] Removing intermediate container 12e73a32e55b [2021-06-10T07:16:17.714Z] ---> 0221a463fe5d [2021-06-10T07:16:17.714Z] Step 22/23 : LABEL git_sha=4be52ad7194d3bb75cdabe87e13f51513f36b649 [2021-06-10T07:16:17.714Z] ---> Running in 850a7fba02cc [2021-06-10T07:16:18.312Z] Removing intermediate container 850a7fba02cc [2021-06-10T07:16:18.312Z] ---> cea1e65712c8 [2021-06-10T07:16:18.312Z] Step 23/23 : LABEL version=0.0.0 [2021-06-10T07:16:18.312Z] ---> Running in 5e375a0bfd3d [2021-06-10T07:16:18.910Z] Removing intermediate container 5e375a0bfd3d [2021-06-10T07:16:18.910Z] ---> e67401bb40a8 [2021-06-10T07:16:18.910Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-10T07:16:18.910Z] Successfully built e67401bb40a8 [2021-06-10T07:16:18.910Z] 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-10T07:16:19.861Z] ---> job-cost.sh [2021-06-10T07:16:19.861Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-njvv [2021-06-10T07:17:27.866Z] Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/importlib-metadata/ [2021-06-10T07:17:38.026Z] Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/importlib-metadata/ [2021-06-10T07:17:50.416Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T07:19:27.202Z] lf-activate-venv(): INFO: Adding /tmp/venv-njvv/bin to PATH [2021-06-10T07:19:27.202Z] INFO: No Stack... [2021-06-10T07:19:27.202Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-10T07:19:27.202Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T07:19:27.577Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-10T07:19:27.577Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T07:19:27.673Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] [2021-06-10T07:19:27.681Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] did not exist. Created. [2021-06-10T07:19:27.682Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T07:19:28.158Z] /w/workspace/device-sdk-go/1@tmp/durable-317884aa/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-317884aa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-10T07:19:28.557Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-10T07:19:28.599Z] Warning: overwriting stash ‘stack-cost’ [2021-06-10T07:19:28.768Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T07:19:28.787Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-966-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-10T07:19:30.270Z] provisioning config files... [2021-06-10T07:19:30.281Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/config213801117701049609tmp [Pipeline] { [Pipeline] sh [2021-06-10T07:19:30.723Z] + set +x [2021-06-10T07:19:30.723Z] + bash -s -- [2021-06-10T07:19:30.723Z] + curl -s https://codecov.io/bash [2021-06-10T07:19:30.723Z] [2021-06-10T07:19:30.723Z] _____ _ [2021-06-10T07:19:30.723Z] / ____| | | [2021-06-10T07:19:30.723Z] | | ___ __| | ___ ___ _____ __ [2021-06-10T07:19:30.723Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-10T07:19:30.723Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-10T07:19:30.723Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-10T07:19:30.723Z] Bash-1.0.3 [2021-06-10T07:19:30.723Z] [2021-06-10T07:19:30.723Z] [2021-06-10T07:19:30.723Z] ==> git version 2.24.4 found [2021-06-10T07:19:30.723Z] ==> 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-10T07:19:30.723Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-10T07:19:30.723Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-10T07:19:30.723Z] ==> Jenkins CI detected. [2021-06-10T07:19:30.723Z] project root: . [2021-06-10T07:19:30.723Z] --> token set from env [2021-06-10T07:19:30.723Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-10T07:19:30.723Z] ==> Running gcov in . (disable via -X gcov) [2021-06-10T07:19:30.723Z] ==> Python coveragepy not found [2021-06-10T07:19:30.723Z] ==> Searching for coverage reports in: [2021-06-10T07:19:30.723Z] + . [2021-06-10T07:19:30.723Z] -> Found 1 reports [2021-06-10T07:19:30.723Z] ==> Detecting git/mercurial file structure [2021-06-10T07:19:30.723Z] ==> Reading reports [2021-06-10T07:19:30.723Z] + ./coverage.out bytes=126072 [2021-06-10T07:19:30.723Z] ==> Appending adjustments [2021-06-10T07:19:30.723Z] https://docs.codecov.io/docs/fixing-reports [2021-06-10T07:19:30.989Z] + Found adjustments [2021-06-10T07:19:30.989Z] ==> Gzipping contents [2021-06-10T07:19:31.252Z] 20K /tmp/codecov.IH9r8t.gz [2021-06-10T07:19:31.252Z] ==> Uploading reports [2021-06-10T07:19:31.252Z] url: https://codecov.io [2021-06-10T07:19:31.252Z] query: branch=PR-966&commit=4be52ad7194d3bb75cdabe87e13f51513f36b649&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-966%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=966&job=&cmd_args= [2021-06-10T07:19:31.252Z] -> Pinging Codecov [2021-06-10T07:19:31.252Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-966&commit=4be52ad7194d3bb75cdabe87e13f51513f36b649&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-966%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=966&job=&cmd_args= [2021-06-10T07:19:31.516Z] -> Uploading to [2021-06-10T07:19:31.516Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-10/7E55EF52A471D76F132DFD9A03CDDE97/4be52ad7194d3bb75cdabe87e13f51513f36b649/2645ae5a-f79d-4467-ab39-4419289a3be6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210610%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210610T071931Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fda077ef135fde78d531cd59a6ffb7281343b16867324d187d1cd85ef6dd307b [2021-06-10T07:19:31.516Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-10T07:19:31.516Z] Dload Upload Total Spent Left Speed [2021-06-10T07:19:32.092Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16446 0 0 100 16446 0 36252 --:--:-- --:--:-- --:--:-- 36304 [2021-06-10T07:19:32.092Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4be52ad7194d3bb75cdabe87e13f51513f36b649 [Pipeline] } [2021-06-10T07:19:32.173Z] 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-10T07:19:35.332Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T07:19:35.972Z] ---> package-listing.sh [2021-06-10T07:19:35.972Z] ++ facter osfamily [2021-06-10T07:19:35.972Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-10T07:19:36.247Z] + OS_FAMILY=redhat [2021-06-10T07:19:36.247Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-966 [2021-06-10T07:19:36.247Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-10T07:19:36.247Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-10T07:19:36.247Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-10T07:19:36.247Z] + PACKAGES=/tmp/packages_start.txt [2021-06-10T07:19:36.247Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-966 ']' [2021-06-10T07:19:36.247Z] + PACKAGES=/tmp/packages_end.txt [2021-06-10T07:19:36.247Z] + case "${OS_FAMILY}" in [2021-06-10T07:19:36.247Z] + sort [2021-06-10T07:19:36.247Z] + rpm -qa [2021-06-10T07:19:36.822Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-10T07:19:36.822Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-10T07:19:36.822Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-10T07:19:36.822Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-966 ']' [2021-06-10T07:19:36.822Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-966/archives/ [2021-06-10T07:19:36.822Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-966/archives/ [Pipeline] echo [2021-06-10T07:19:36.857Z] 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-966/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-10T07:19:37.165Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:19:37.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T07:19:37.767Z] [2021-06-10T07:19:37.767Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-10T07:19:38.138Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T07:19:38.138Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-10T07:19:38.138Z] df20fa9351a1: Pulling fs layer [2021-06-10T07:19:38.138Z] 36b3adc4ff6f: Pulling fs layer [2021-06-10T07:19:38.138Z] 8ad3a11d3b57: Pulling fs layer [2021-06-10T07:19:38.138Z] 46f8f816bc3b: Pulling fs layer [2021-06-10T07:19:38.138Z] 93b61091891f: Pulling fs layer [2021-06-10T07:19:38.138Z] 93b9cdb0e59b: Pulling fs layer [2021-06-10T07:19:38.138Z] 5e14af77c1be: Pulling fs layer [2021-06-10T07:19:38.138Z] 01666e4c0597: Pulling fs layer [2021-06-10T07:19:38.138Z] aa168da1d23b: Pulling fs layer [2021-06-10T07:19:38.138Z] 46f8f816bc3b: Waiting [2021-06-10T07:19:38.138Z] 93b61091891f: Waiting [2021-06-10T07:19:38.138Z] 93b9cdb0e59b: Waiting [2021-06-10T07:19:38.138Z] 5e14af77c1be: Waiting [2021-06-10T07:19:38.138Z] 01666e4c0597: Waiting [2021-06-10T07:19:38.138Z] aa168da1d23b: Waiting [2021-06-10T07:19:38.138Z] 36b3adc4ff6f: Verifying Checksum [2021-06-10T07:19:38.138Z] 36b3adc4ff6f: Download complete [2021-06-10T07:19:38.406Z] 46f8f816bc3b: Verifying Checksum [2021-06-10T07:19:38.406Z] 46f8f816bc3b: Download complete [2021-06-10T07:19:38.406Z] df20fa9351a1: Verifying Checksum [2021-06-10T07:19:38.406Z] df20fa9351a1: Download complete [2021-06-10T07:19:38.406Z] 93b9cdb0e59b: Verifying Checksum [2021-06-10T07:19:38.406Z] 93b9cdb0e59b: Download complete [2021-06-10T07:19:38.406Z] 5e14af77c1be: Verifying Checksum [2021-06-10T07:19:38.406Z] 5e14af77c1be: Download complete [2021-06-10T07:19:38.406Z] 93b61091891f: Verifying Checksum [2021-06-10T07:19:38.406Z] 93b61091891f: Download complete [2021-06-10T07:19:38.406Z] 01666e4c0597: Verifying Checksum [2021-06-10T07:19:38.406Z] 01666e4c0597: Download complete [2021-06-10T07:19:38.670Z] df20fa9351a1: Pull complete [2021-06-10T07:19:38.670Z] 8ad3a11d3b57: Verifying Checksum [2021-06-10T07:19:38.670Z] 8ad3a11d3b57: Download complete [2021-06-10T07:19:38.670Z] 36b3adc4ff6f: Pull complete [2021-06-10T07:19:39.269Z] 8ad3a11d3b57: Pull complete [2021-06-10T07:19:39.269Z] 46f8f816bc3b: Pull complete [2021-06-10T07:19:39.534Z] 93b61091891f: Pull complete [2021-06-10T07:19:39.806Z] 93b9cdb0e59b: Pull complete [2021-06-10T07:19:39.806Z] 5e14af77c1be: Pull complete [2021-06-10T07:19:39.806Z] 01666e4c0597: Pull complete [2021-06-10T07:19:40.385Z] aa168da1d23b: Verifying Checksum [2021-06-10T07:19:40.385Z] aa168da1d23b: Download complete [2021-06-10T07:19:44.629Z] aa168da1d23b: Pull complete [2021-06-10T07:19:44.629Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-10T07:19:44.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T07:19:44.629Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-10T07:19:44.740Z] prd-centos7-docker-4c-2g-160 does not seem to be running inside a container [2021-06-10T07:19:44.779Z] $ 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-966/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-966 -v /w/workspace/dgexfoundry_device-sdk-go_PR-966:/w/workspace/dgexfoundry_device-sdk-go_PR-966:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-966@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-10T07:19:47.106Z] $ docker top 8104dd3c1e97e91d5ee6cd6e766f3b9e7fdcfbc194b4b52ee4c63ade1d696098 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T07:19:47.579Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-10T07:19:47.908Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-10T07:19:48.240Z] + ls /var/log/sa-host [2021-06-10T07:19:48.240Z] + sadf -c /var/log/sa-host/sa05 [2021-06-10T07:19:48.240Z] file_magic: OK [2021-06-10T07:19:48.240Z] HZ: Using current value: 100 [2021-06-10T07:19:48.240Z] file_header: OK [2021-06-10T07:19:48.240Z] 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-10T07:19:48.240Z] Statistics: [2021-06-10T07:19:48.240Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T07:19:48.240Z] File successfully converted to sysstat format version 12.2.1 [2021-06-10T07:19:48.240Z] + sadf -c /var/log/sa-host/sa10 [2021-06-10T07:19:48.240Z] file_magic: OK [2021-06-10T07:19:48.240Z] HZ: Using current value: 100 [2021-06-10T07:19:48.240Z] file_header: OK [2021-06-10T07:19:48.240Z] 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-10T07:19:48.240Z] Statistics: [2021-06-10T07:19:48.240Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T07:19:48.240Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T07:19:49.162Z] provisioning config files... [2021-06-10T07:19:49.181Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/config765533804609230031tmp [Pipeline] { [Pipeline] echo [2021-06-10T07:19:49.264Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T07:19:49.618Z] ---> create-netrc.sh [Pipeline] } [2021-06-10T07:19:49.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-10T07:19:50.183Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-10T07:19:50.225Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T07:19:50.580Z] ---> sudo-logs.sh [2021-06-10T07:19:50.581Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-10T07:19:50.685Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T07:19:51.039Z] ---> job-cost.sh [2021-06-10T07:19:51.039Z] lf-activate-venv: SKIPPING [2021-06-10T07:19:51.039Z] DEBUG: total: 0.18000000715255737 [2021-06-10T07:19:51.039Z] INFO: Retrieving Stack Cost... [2021-06-10T07:19:51.613Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T07:19:52.186Z] INFO: Archiving Costs [Pipeline] echo [2021-06-10T07:19:52.226Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T07:19:52.577Z] ---> logs-deploy.sh [2021-06-10T07:19:52.577Z] lf-activate-venv: SKIPPING [2021-06-10T07:19:52.577Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-966/1 [2021-06-10T07:19:52.577Z] INFO: archiving workspace using pattern(s): [2021-06-10T07:19:53.529Z] Archives upload complete. [2021-06-10T07:19:53.529Z] INFO: archiving logs to Nexus