Pull request #971 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6a4f7335f63ec55d91c4c3fd453eb299495361ac+88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 (e983cc981ea8f5fd4cb1f5386b47ad7e16e74ee8) 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-ssh9218851530682315519.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-ssh6048011647859813962.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-971/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-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1871627539344214951.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-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8187303612495698005.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-ssh1249896335942891638.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-971/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-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2267639501436658772.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-1434 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [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-971 # 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-971@tmp/jenkins-gitclient-ssh1931286345177170776.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 into PR head commit 6a4f7335f63ec55d91c4c3fd453eb299495361ac Merge succeeded, producing 6a4f7335f63ec55d91c4c3fd453eb299495361ac Checking out Revision 6a4f7335f63ec55d91c4c3fd453eb299495361ac (PR-971) > 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-971@tmp/jenkins-gitclient-ssh33957965081750158.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a4f7335f63ec55d91c4c3fd453eb299495361ac # 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-971@tmp/jenkins-gitclient-ssh1564075157189658053.key > git merge 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a4f7335f63ec55d91c4c3fd453eb299495361ac # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" 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-15T05:46:23.207Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-15T05:46:23.495Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-15T05:46:23.615Z] ========================================================= [2021-06-15T05:46:23.615Z] EdgeX Global Pipelines Version Info [2021-06-15T05:46:23.615Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:46:25.109Z] ------------------- [2021-06-15T05:46:25.109Z] stable info: [2021-06-15T05:46:25.109Z] ------------------- [2021-06-15T05:46:25.109Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-15T05:46:25.109Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-15T05:46:25.109Z] Message: update stable to v1.0.194 [2021-06-15T05:46:25.687Z] ------------------- [2021-06-15T05:46:25.687Z] experimental info: [2021-06-15T05:46:25.687Z] ------------------- [2021-06-15T05:46:25.687Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-15T05:46:25.687Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-15T05:46:25.687Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-15T05:46:26.006Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-15T05:46:26.092Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-15T05:46:26.151Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-15T05:46:26.214Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-15T05:46:26.272Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-15T05:46:26.332Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-15T05:46:26.468Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-15T05:46:26.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-15T05:46:26.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-15T05:46:26.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-15T05:46:26.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-15T05:46:26.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-15T05:46:26.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-15T05:46:26.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-15T05:46:26.985Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-15T05:46:27.045Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T05:46:27.104Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T05:46:27.174Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T05:46:27.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-15T05:46:27.300Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-15T05:46:27.359Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-15T05:46:27.419Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-15T05:46:27.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-15T05:46:27.534Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-15T05:46:27.604Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-15T05:46:27.677Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-15T05:46:27.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-15T05:46:27.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-15T05:46:27.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-15T05:46:27.920Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a4f7335f63ec55d91c4c3fd453eb299495361ac [Pipeline] echo [2021-06-15T05:46:27.977Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a4f733 [Pipeline] echo [2021-06-15T05:46:28.043Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:46:28.219Z] provisioning config files... [2021-06-15T05:46:28.245Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config8810239695982772705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:46:28.635Z] ---> docker-login.sh [2021-06-15T05:46:28.635Z] nexus3.edgexfoundry.org:10001 [2021-06-15T05:46:28.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:46:28.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:46:28.905Z] Configure a credential helper to remove this warning. See [2021-06-15T05:46:28.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:46:28.905Z] [2021-06-15T05:46:28.905Z] Login Succeeded [2021-06-15T05:46:28.905Z] nexus3.edgexfoundry.org:10002 [2021-06-15T05:46:29.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:46:29.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:46:29.174Z] Configure a credential helper to remove this warning. See [2021-06-15T05:46:29.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:46:29.174Z] [2021-06-15T05:46:29.174Z] Login Succeeded [2021-06-15T05:46:29.174Z] nexus3.edgexfoundry.org:10003 [2021-06-15T05:46:29.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:46:29.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:46:29.445Z] Configure a credential helper to remove this warning. See [2021-06-15T05:46:29.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:46:29.445Z] [2021-06-15T05:46:29.445Z] Login Succeeded [2021-06-15T05:46:29.445Z] nexus3.edgexfoundry.org:10004 [2021-06-15T05:46:29.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:46:29.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:46:29.445Z] Configure a credential helper to remove this warning. See [2021-06-15T05:46:29.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:46:29.445Z] [2021-06-15T05:46:29.445Z] Login Succeeded [2021-06-15T05:46:29.445Z] docker.io [2021-06-15T05:46:29.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:46:30.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:46:30.024Z] Configure a credential helper to remove this warning. See [2021-06-15T05:46:30.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:46:30.024Z] [2021-06-15T05:46:30.024Z] Login Succeeded [2021-06-15T05:46:30.024Z] ---> docker-login.sh ends [Pipeline] } [2021-06-15T05:46:30.049Z] 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-15T05:46:31.029Z] + git log --format=format:%s -1 6a4f7335f63ec55d91c4c3fd453eb299495361ac [Pipeline] echo [2021-06-15T05:46:31.097Z] GIT_COMMIT: 6a4f7335f63ec55d91c4c3fd453eb299495361ac, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3 [Pipeline] echo [2021-06-15T05:46:31.145Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:46:32.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T05:46:32.344Z] [2021-06-15T05:46:32.344Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:46:32.707Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T05:46:32.707Z] latest: Pulling from edgex-devops/git-semver [2021-06-15T05:46:32.707Z] 31603596830f: Pulling fs layer [2021-06-15T05:46:32.707Z] 54011a49482f: Pulling fs layer [2021-06-15T05:46:32.707Z] a6820b24f6d8: Pulling fs layer [2021-06-15T05:46:32.707Z] f581987b2513: Pulling fs layer [2021-06-15T05:46:32.707Z] f581987b2513: Waiting [2021-06-15T05:46:32.707Z] 54011a49482f: Verifying Checksum [2021-06-15T05:46:32.707Z] 54011a49482f: Download complete [2021-06-15T05:46:32.707Z] 31603596830f: Verifying Checksum [2021-06-15T05:46:32.707Z] 31603596830f: Download complete [2021-06-15T05:46:32.977Z] f581987b2513: Verifying Checksum [2021-06-15T05:46:32.977Z] f581987b2513: Download complete [2021-06-15T05:46:32.977Z] a6820b24f6d8: Verifying Checksum [2021-06-15T05:46:32.977Z] a6820b24f6d8: Download complete [2021-06-15T05:46:32.977Z] 31603596830f: Pull complete [2021-06-15T05:46:33.249Z] 54011a49482f: Pull complete [2021-06-15T05:46:33.831Z] a6820b24f6d8: Pull complete [2021-06-15T05:46:34.095Z] f581987b2513: Pull complete [2021-06-15T05:46:34.095Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-15T05:46:34.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T05:46:34.095Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-15T05:46:34.210Z] prd-centos7-docker-4c-2g-1434 does not seem to be running inside a container [2021-06-15T05:46:34.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-15T05:46:35.438Z] $ docker top 8cecd779443e6e0d6b7cf9dbaff2bf38f132c7ce771d4cf9de8ff8dc73dc933f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-15T05:46:35.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T05:46:35.674Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T05:46:35.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T05:46:35.812Z] $ docker exec 8cecd779443e6e0d6b7cf9dbaff2bf38f132c7ce771d4cf9de8ff8dc73dc933f ssh-agent [2021-06-15T05:46:35.931Z] SSH_AUTH_SOCK=/tmp/ssh-Zw6lV2AfohcW/agent.13 [2021-06-15T05:46:35.931Z] SSH_AGENT_PID=20 [2021-06-15T05:46:35.941Z] Running ssh-add (command line suppressed) [2021-06-15T05:46:36.056Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_647247140733441862.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_647247140733441862.key) [2021-06-15T05:46:36.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T05:46:36.433Z] + git tag --points-at HEAD [Pipeline] } [2021-06-15T05:46:36.458Z] $ docker exec --env ******** --env ******** 8cecd779443e6e0d6b7cf9dbaff2bf38f132c7ce771d4cf9de8ff8dc73dc933f ssh-agent -k [2021-06-15T05:46:36.565Z] unset SSH_AUTH_SOCK; [2021-06-15T05:46:36.565Z] unset SSH_AGENT_PID; [2021-06-15T05:46:36.565Z] echo Agent pid 20 killed; [2021-06-15T05:46:36.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-15T05:46:36.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T05:46:36.684Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T05:46:36.820Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T05:46:36.824Z] $ docker exec 8cecd779443e6e0d6b7cf9dbaff2bf38f132c7ce771d4cf9de8ff8dc73dc933f ssh-agent [2021-06-15T05:46:36.948Z] SSH_AUTH_SOCK=/tmp/ssh-niZMpqDhFefV/agent.52 [2021-06-15T05:46:36.948Z] SSH_AGENT_PID=58 [2021-06-15T05:46:36.954Z] Running ssh-add (command line suppressed) [2021-06-15T05:46:37.069Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_3762308363840333903.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_3762308363840333903.key) [2021-06-15T05:46:37.086Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T05:46:37.441Z] + git semver init [2021-06-15T05:46:37.442Z] # -> Open(): unable to determine branch for HEAD [2021-06-15T05:46:37.442Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-15T05:46:37.442Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-15T05:46:37.442Z] # $SEMVER_REMOTE_NAME = origin [2021-06-15T05:46:37.442Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-15T05:46:37.442Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-15T05:46:37.442Z] # $SEMVER_BRANCH = PR-971 [2021-06-15T05:46:37.442Z] # $SEMVER_TEMP = /tmp/semver-393667550 [2021-06-15T05:46:37.442Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-15T05:46:38.020Z] # '/tmp/semver-393667550' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-15T05:46:38.283Z] # -> Force: false [2021-06-15T05:46:38.283Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-15T05:46:38.308Z] $ docker exec --env ******** --env ******** 8cecd779443e6e0d6b7cf9dbaff2bf38f132c7ce771d4cf9de8ff8dc73dc933f ssh-agent -k [2021-06-15T05:46:38.429Z] unset SSH_AUTH_SOCK; [2021-06-15T05:46:38.431Z] unset SSH_AGENT_PID; [2021-06-15T05:46:38.431Z] echo Agent pid 58 killed; [2021-06-15T05:46:38.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-15T05:46:38.899Z] + git semver [Pipeline] } [2021-06-15T05:46:38.929Z] $ docker stop --time=1 8cecd779443e6e0d6b7cf9dbaff2bf38f132c7ce771d4cf9de8ff8dc73dc933f [2021-06-15T05:46:40.224Z] $ docker rm -f 8cecd779443e6e0d6b7cf9dbaff2bf38f132c7ce771d4cf9de8ff8dc73dc933f [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T05:46:40.652Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-15T05:46:40.986Z] Stashed 1 file(s) [Pipeline] echo [2021-06-15T05:46:41.009Z] [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-15T05:46:56.653Z] Still waiting to schedule task [2021-06-15T05:46:56.654Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1434’ [2021-06-15T05:46:56.684Z] Still waiting to schedule task [2021-06-15T05:46:56.685Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-15T05:48:56.672Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1435 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-15T05:48:56.761Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-15T05:48:57.038Z] Selected Git installation does not exist. Using Default [2021-06-15T05:48:57.038Z] The recommended git tool is: NONE [2021-06-15T05:49:02.769Z] using credential edgex-jenkins-ssh [2021-06-15T05:49:02.805Z] Cloning the remote Git repository [2021-06-15T05:49:02.852Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-15T05:49:02.957Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-15T05:49:03.043Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-15T05:49:03.044Z] > git --version # timeout=10 [2021-06-15T05:49:03.057Z] > git --version # 'git version 2.17.1' [2021-06-15T05:49:03.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T05:49:03.128Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T05:49:04.475Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-15T05:49:05.118Z] Merging remotes/origin/master commit 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 into PR head commit 6a4f7335f63ec55d91c4c3fd453eb299495361ac [2021-06-15T05:49:05.351Z] Merge succeeded, producing 6a4f7335f63ec55d91c4c3fd453eb299495361ac [2021-06-15T05:49:05.352Z] Checking out Revision 6a4f7335f63ec55d91c4c3fd453eb299495361ac (PR-971) [2021-06-15T05:49:04.492Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T05:49:04.516Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-15T05:49:04.550Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-15T05:49:04.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T05:49:04.563Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-15T05:49:05.120Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T05:49:05.140Z] > git checkout -f 6a4f7335f63ec55d91c4c3fd453eb299495361ac # timeout=10 [2021-06-15T05:49:05.236Z] > git remote # timeout=10 [2021-06-15T05:49:05.260Z] > git config --get remote.origin.url # timeout=10 [2021-06-15T05:49:05.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T05:49:05.294Z] > git merge 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 [2021-06-15T05:49:05.316Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-15T05:49:05.342Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T05:49:05.357Z] > git checkout -f 6a4f7335f63ec55d91c4c3fd453eb299495361ac # timeout=10 [2021-06-15T05:49:09.624Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [2021-06-15T05:49:09.664Z] > git --version # timeout=10 [2021-06-15T05:49:09.673Z] > git --version # 'git version 2.17.1' [2021-06-15T05:49:09.682Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T05:49:11.210Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-15T05:49:11.636Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-15T05:49:12.002Z] + sudo service docker restart [2021-06-15T05:49:12.002Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:49:30.443Z] provisioning config files... [2021-06-15T05:49:30.470Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8842249619749096649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:49:30.896Z] ---> docker-login.sh [2021-06-15T05:49:30.897Z] nexus3.edgexfoundry.org:10001 [2021-06-15T05:49:31.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:49:32.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:49:32.155Z] Configure a credential helper to remove this warning. See [2021-06-15T05:49:32.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:49:32.155Z] [2021-06-15T05:49:32.155Z] Login Succeeded [2021-06-15T05:49:32.155Z] nexus3.edgexfoundry.org:10002 [2021-06-15T05:49:32.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:49:32.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:49:32.707Z] Configure a credential helper to remove this warning. See [2021-06-15T05:49:32.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:49:32.707Z] [2021-06-15T05:49:32.707Z] Login Succeeded [2021-06-15T05:49:32.707Z] nexus3.edgexfoundry.org:10003 [2021-06-15T05:49:32.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:49:33.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:49:33.265Z] Configure a credential helper to remove this warning. See [2021-06-15T05:49:33.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:49:33.265Z] [2021-06-15T05:49:33.265Z] Login Succeeded [2021-06-15T05:49:33.265Z] nexus3.edgexfoundry.org:10004 [2021-06-15T05:49:33.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:49:33.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:49:33.815Z] Configure a credential helper to remove this warning. See [2021-06-15T05:49:33.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:49:33.815Z] [2021-06-15T05:49:33.815Z] Login Succeeded [2021-06-15T05:49:33.815Z] docker.io [2021-06-15T05:49:34.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:49:34.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:49:34.702Z] Configure a credential helper to remove this warning. See [2021-06-15T05:49:34.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:49:34.702Z] [2021-06-15T05:49:34.702Z] Login Succeeded [2021-06-15T05:49:34.702Z] ---> docker-login.sh ends [Pipeline] } [2021-06-15T05:49:34.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-15T05:49:35.449Z] ========================================================= [2021-06-15T05:49:35.449Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-15T05:49:35.449Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:49:35.845Z] + 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-15T05:49:36.447Z] Sending build context to Docker daemon 2.673MB [2021-06-15T05:49:36.447Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T05:49:36.447Z] Step 2/8 : FROM ${BASE} [2021-06-15T05:49:36.724Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-15T05:49:36.724Z] 595b0fe564bb: Pulling fs layer [2021-06-15T05:49:36.724Z] 3088b5b3c5c0: Pulling fs layer [2021-06-15T05:49:36.724Z] 5b7225fbf94c: Pulling fs layer [2021-06-15T05:49:36.724Z] ba82ee9f976e: Pulling fs layer [2021-06-15T05:49:36.724Z] 506bd15cee9f: Pulling fs layer [2021-06-15T05:49:36.724Z] 75a0a4a0db45: Pulling fs layer [2021-06-15T05:49:36.724Z] 618dc40b7e24: Pulling fs layer [2021-06-15T05:49:36.724Z] 506bd15cee9f: Waiting [2021-06-15T05:49:36.724Z] 75a0a4a0db45: Waiting [2021-06-15T05:49:36.724Z] ba82ee9f976e: Waiting [2021-06-15T05:49:36.724Z] 618dc40b7e24: Waiting [2021-06-15T05:49:36.724Z] 5b7225fbf94c: Verifying Checksum [2021-06-15T05:49:36.724Z] 5b7225fbf94c: Download complete [2021-06-15T05:49:36.724Z] 3088b5b3c5c0: Verifying Checksum [2021-06-15T05:49:36.724Z] 3088b5b3c5c0: Download complete [2021-06-15T05:49:36.724Z] 506bd15cee9f: Download complete [2021-06-15T05:49:36.724Z] 75a0a4a0db45: Verifying Checksum [2021-06-15T05:49:36.724Z] 75a0a4a0db45: Download complete [2021-06-15T05:49:36.724Z] 595b0fe564bb: Download complete [2021-06-15T05:49:36.957Z] Running on prd-centos7-docker-4c-2g-1436 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-15T05:49:37.017Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-15T05:49:37.223Z] Selected Git installation does not exist. Using Default [2021-06-15T05:49:37.223Z] The recommended git tool is: NONE [2021-06-15T05:49:37.330Z] 595b0fe564bb: Pull complete [2021-06-15T05:49:37.951Z] 3088b5b3c5c0: Pull complete [2021-06-15T05:49:38.570Z] 5b7225fbf94c: Pull complete [2021-06-15T05:49:39.178Z] 618dc40b7e24: Download complete [2021-06-15T05:49:39.632Z] using credential edgex-jenkins-ssh [2021-06-15T05:49:39.646Z] Cloning the remote Git repository [2021-06-15T05:49:39.222Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-15T05:49:39.285Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-15T05:49:39.311Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-15T05:49:39.312Z] > git --version # timeout=10 [2021-06-15T05:49:39.325Z] > git --version # 'git version 2.24.4' [2021-06-15T05:49:39.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T05:49:39.355Z] [INFO] Currently running in a labeled security context [2021-06-15T05:49:39.355Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-15T05:49:39.355Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh275366204975559495.key [2021-06-15T05:49:39.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T05:49:40.612Z] ba82ee9f976e: Download complete [2021-06-15T05:49:40.959Z] Merging remotes/origin/master commit 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 into PR head commit 6a4f7335f63ec55d91c4c3fd453eb299495361ac [2021-06-15T05:49:41.055Z] Merge succeeded, producing 6a4f7335f63ec55d91c4c3fd453eb299495361ac [2021-06-15T05:49:41.055Z] Checking out Revision 6a4f7335f63ec55d91c4c3fd453eb299495361ac (PR-971) [2021-06-15T05:49:40.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-15T05:49:40.145Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T05:49:40.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-15T05:49:40.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-15T05:49:40.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T05:49:40.177Z] [INFO] Currently running in a labeled security context [2021-06-15T05:49:40.177Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-15T05:49:40.177Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh290665332982027990.key [2021-06-15T05:49:40.186Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-15T05:49:40.620Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T05:49:40.629Z] > git checkout -f 6a4f7335f63ec55d91c4c3fd453eb299495361ac # timeout=10 [2021-06-15T05:49:40.670Z] > git remote # timeout=10 [2021-06-15T05:49:40.675Z] > git config --get remote.origin.url # timeout=10 [2021-06-15T05:49:40.683Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T05:49:40.685Z] [INFO] Currently running in a labeled security context [2021-06-15T05:49:40.685Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-15T05:49:40.685Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6307660093459949919.key [2021-06-15T05:49:40.692Z] > git merge 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 [2021-06-15T05:49:40.704Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-15T05:49:40.717Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T05:49:40.726Z] > git checkout -f 6a4f7335f63ec55d91c4c3fd453eb299495361ac # timeout=10 [2021-06-15T05:49:44.431Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [2021-06-15T05:49:44.412Z] > git --version # timeout=10 [2021-06-15T05:49:44.451Z] > git --version # 'git version 2.24.4' [2021-06-15T05:49:44.459Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T05:49:45.699Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-15T05:49:46.039Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-15T05:49:46.369Z] + sudo service docker restart [2021-06-15T05:49:46.369Z] + true [2021-06-15T05:49:46.369Z] Redirecting to /bin/systemctl restart docker.service [2021-06-15T05:49:50.763Z] ba82ee9f976e: Pull complete [2021-06-15T05:49:50.763Z] 506bd15cee9f: Pull complete [2021-06-15T05:49:51.360Z] 75a0a4a0db45: Pull complete [2021-06-15T05:49:54.760Z] 618dc40b7e24: Pull complete [2021-06-15T05:49:54.760Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-15T05:49:55.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-15T05:49:55.049Z] ---> a36622ca3599 [2021-06-15T05:49:55.049Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-15T05:49:57.057Z] ---> Running in 80698b781c79 [2021-06-15T05:49:57.331Z] Removing intermediate container 80698b781c79 [2021-06-15T05:49:57.331Z] ---> e4f1c0822e10 [2021-06-15T05:49:57.331Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:49:57.608Z] ---> Running in 8c9a50f3607a [2021-06-15T05:50:00.244Z] Removing intermediate container 8c9a50f3607a [2021-06-15T05:50:00.244Z] ---> 33e86bf77452 [2021-06-15T05:50:00.244Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-15T05:50:00.244Z] ---> Running in 3c58c1da61f5 [2021-06-15T05:50:01.232Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-15T05:50:02.215Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-15T05:50:03.192Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-15T05:50:03.192Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-15T05:50:03.465Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-15T05:50:03.465Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-15T05:50:03.465Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-15T05:50:03.742Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-15T05:50:03.742Z] Executing busybox-1.32.1-r6.trigger [2021-06-15T05:50:03.742Z] OK: 139 MiB in 46 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:50:04.615Z] provisioning config files... [2021-06-15T05:50:04.631Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4814011919099098016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:50:05.037Z] ---> docker-login.sh [2021-06-15T05:50:05.037Z] nexus3.edgexfoundry.org:10001 [2021-06-15T05:50:05.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:50:05.184Z] Removing intermediate container 3c58c1da61f5 [2021-06-15T05:50:05.184Z] ---> 9341ac5a118f [2021-06-15T05:50:05.184Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-15T05:50:05.184Z] ---> Running in f4af8e0db1bb [2021-06-15T05:50:05.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:50:05.303Z] Configure a credential helper to remove this warning. See [2021-06-15T05:50:05.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:50:05.303Z] [2021-06-15T05:50:05.303Z] Login Succeeded [2021-06-15T05:50:05.303Z] nexus3.edgexfoundry.org:10002 [2021-06-15T05:50:05.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:50:05.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:50:05.303Z] Configure a credential helper to remove this warning. See [2021-06-15T05:50:05.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:50:05.303Z] [2021-06-15T05:50:05.303Z] Login Succeeded [2021-06-15T05:50:05.303Z] nexus3.edgexfoundry.org:10003 [2021-06-15T05:50:05.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:50:05.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:50:05.567Z] Configure a credential helper to remove this warning. See [2021-06-15T05:50:05.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:50:05.567Z] [2021-06-15T05:50:05.567Z] Login Succeeded [2021-06-15T05:50:05.567Z] nexus3.edgexfoundry.org:10004 [2021-06-15T05:50:05.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:50:05.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:50:05.567Z] Configure a credential helper to remove this warning. See [2021-06-15T05:50:05.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:50:05.567Z] [2021-06-15T05:50:05.567Z] Login Succeeded [2021-06-15T05:50:05.567Z] docker.io [2021-06-15T05:50:05.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:50:05.786Z] Removing intermediate container f4af8e0db1bb [2021-06-15T05:50:05.786Z] ---> bb86ca4470eb [2021-06-15T05:50:05.786Z] Step 7/8 : COPY . . [2021-06-15T05:50:06.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:50:06.140Z] Configure a credential helper to remove this warning. See [2021-06-15T05:50:06.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:50:06.140Z] [2021-06-15T05:50:06.140Z] Login Succeeded [2021-06-15T05:50:06.140Z] ---> docker-login.sh ends [Pipeline] } [2021-06-15T05:50:06.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-15T05:50:06.461Z] ========================================================= [2021-06-15T05:50:06.461Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-15T05:50:06.461Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:50:06.780Z] ---> 95a6555e4b18 [2021-06-15T05:50:06.780Z] Step 8/8 : RUN go mod download [2021-06-15T05:50:06.824Z] + 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-15T05:50:06.824Z] Sending build context to Docker daemon 2.676MB [2021-06-15T05:50:06.824Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T05:50:06.824Z] Step 2/8 : FROM ${BASE} [2021-06-15T05:50:07.061Z] ---> Running in 55abb663be1a [2021-06-15T05:50:07.103Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-15T05:50:07.103Z] 540db60ca938: Pulling fs layer [2021-06-15T05:50:07.103Z] adcc1eea9eea: Pulling fs layer [2021-06-15T05:50:07.103Z] 4c4ab2625f07: Pulling fs layer [2021-06-15T05:50:07.103Z] 0510c868ecb4: Pulling fs layer [2021-06-15T05:50:07.103Z] afea3b2eda06: Pulling fs layer [2021-06-15T05:50:07.103Z] 7809a108b3ef: Pulling fs layer [2021-06-15T05:50:07.103Z] f706445af74f: Pulling fs layer [2021-06-15T05:50:07.103Z] 0510c868ecb4: Waiting [2021-06-15T05:50:07.103Z] afea3b2eda06: Waiting [2021-06-15T05:50:07.103Z] 7809a108b3ef: Waiting [2021-06-15T05:50:07.103Z] f706445af74f: Waiting [2021-06-15T05:50:07.103Z] 4c4ab2625f07: Verifying Checksum [2021-06-15T05:50:07.103Z] 4c4ab2625f07: Download complete [2021-06-15T05:50:07.103Z] adcc1eea9eea: Verifying Checksum [2021-06-15T05:50:07.103Z] adcc1eea9eea: Download complete [2021-06-15T05:50:07.103Z] afea3b2eda06: Verifying Checksum [2021-06-15T05:50:07.103Z] afea3b2eda06: Download complete [2021-06-15T05:50:07.103Z] 540db60ca938: Verifying Checksum [2021-06-15T05:50:07.103Z] 540db60ca938: Download complete [2021-06-15T05:50:07.103Z] 7809a108b3ef: Verifying Checksum [2021-06-15T05:50:07.103Z] 7809a108b3ef: Download complete [2021-06-15T05:50:07.364Z] 540db60ca938: Pull complete [2021-06-15T05:50:07.364Z] adcc1eea9eea: Pull complete [2021-06-15T05:50:07.625Z] 4c4ab2625f07: Pull complete [2021-06-15T05:50:09.018Z] f706445af74f: Verifying Checksum [2021-06-15T05:50:09.019Z] f706445af74f: Download complete [2021-06-15T05:50:09.596Z] 0510c868ecb4: Verifying Checksum [2021-06-15T05:50:09.596Z] 0510c868ecb4: Download complete [2021-06-15T05:50:12.916Z] 0510c868ecb4: Pull complete [2021-06-15T05:50:12.916Z] afea3b2eda06: Pull complete [2021-06-15T05:50:12.916Z] 7809a108b3ef: Pull complete [2021-06-15T05:50:14.324Z] f706445af74f: Pull complete [2021-06-15T05:50:14.324Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-15T05:50:14.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-15T05:50:14.324Z] ---> b068be0155e3 [2021-06-15T05:50:14.324Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-15T05:50:18.540Z] ---> Running in 785d152e2c3b [2021-06-15T05:50:18.540Z] Removing intermediate container 785d152e2c3b [2021-06-15T05:50:18.540Z] ---> e059421e4b2e [2021-06-15T05:50:18.540Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:50:18.540Z] ---> Running in 32f31f537676 [2021-06-15T05:50:18.540Z] Removing intermediate container 32f31f537676 [2021-06-15T05:50:18.540Z] ---> ed54babde743 [2021-06-15T05:50:18.540Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-15T05:50:19.116Z] ---> Running in 5aaaec0ab967 [2021-06-15T05:50:20.066Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-15T05:50:21.012Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-15T05:50:21.275Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-15T05:50:21.275Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-15T05:50:21.535Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-15T05:50:21.535Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-15T05:50:21.535Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-15T05:50:21.798Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-15T05:50:21.798Z] Executing busybox-1.32.1-r6.trigger [2021-06-15T05:50:21.798Z] OK: 150 MiB in 46 packages [2021-06-15T05:50:22.373Z] Removing intermediate container 5aaaec0ab967 [2021-06-15T05:50:22.373Z] ---> 72a463a25a03 [2021-06-15T05:50:22.373Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-15T05:50:22.638Z] ---> Running in d7dd8fe801c0 [2021-06-15T05:50:22.638Z] Removing intermediate container d7dd8fe801c0 [2021-06-15T05:50:22.638Z] ---> 802cb315f093 [2021-06-15T05:50:22.638Z] Step 7/8 : COPY . . [2021-06-15T05:50:22.903Z] ---> f2904be01a0d [2021-06-15T05:50:22.903Z] Step 8/8 : RUN go mod download [2021-06-15T05:50:22.903Z] ---> Running in 3b426e42873e [2021-06-15T05:50:33.883Z] Removing intermediate container 55abb663be1a [2021-06-15T05:50:33.883Z] ---> 6cf29f77b714 [2021-06-15T05:50:33.883Z] Successfully built 6cf29f77b714 [2021-06-15T05:50:33.883Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:50:34.270Z] + docker inspect -f . ci-base-image-arm64 [2021-06-15T05:50:34.270Z] . [Pipeline] withDockerContainer [2021-06-15T05:50:34.563Z] prd-ubuntu18.04-docker-arm64-4c-16g-1435 does not seem to be running inside a container [2021-06-15T05:50:34.629Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-15T05:50:35.176Z] Removing intermediate container 3b426e42873e [2021-06-15T05:50:35.176Z] ---> c93ca8dda459 [2021-06-15T05:50:35.176Z] Successfully built c93ca8dda459 [2021-06-15T05:50:35.176Z] Successfully tagged ci-base-image-x86_64:latest [2021-06-15T05:50:36.277Z] $ docker top 3935ceb14ce4c3371cefbcf08e1a7ce9bf5da8c5edb8b3f52621f95c31e72266 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:50:37.134Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-15T05:50:37.135Z] . [Pipeline] withDockerContainer [2021-06-15T05:50:37.243Z] prd-centos7-docker-4c-2g-1436 does not seem to be running inside a container [2021-06-15T05:50:37.291Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-15T05:50:37.357Z] + go version [2021-06-15T05:50:37.357Z] go version go1.16.5 linux/arm64 [2021-06-15T05:50:37.675Z] $ docker top 249d3da383824fb4c7483c3ef1843b9976f1822e50b2f0ea765720b7f2e09c83 -eo pid,comm [Pipeline] { [Pipeline] } [2021-06-15T05:50:37.798Z] $ docker stop --time=1 3935ceb14ce4c3371cefbcf08e1a7ce9bf5da8c5edb8b3f52621f95c31e72266 [2021-06-15T05:50:39.641Z] $ docker rm -f 3935ceb14ce4c3371cefbcf08e1a7ce9bf5da8c5edb8b3f52621f95c31e72266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [2021-06-15T05:50:40.283Z] + go version [2021-06-15T05:50:40.284Z] go version go1.16.3 linux/amd64 [Pipeline] // stage [Pipeline] } [2021-06-15T05:50:40.416Z] $ docker stop --time=1 249d3da383824fb4c7483c3ef1843b9976f1822e50b2f0ea765720b7f2e09c83 [2021-06-15T05:50:41.668Z] $ docker rm -f 249d3da383824fb4c7483c3ef1843b9976f1822e50b2f0ea765720b7f2e09c83 [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-15T05:50:42.506Z] + docker inspect -f . ci-base-image-arm64 [2021-06-15T05:50:42.506Z] . [Pipeline] withDockerContainer [2021-06-15T05:50:42.605Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-15T05:50:42.605Z] . [2021-06-15T05:50:42.799Z] prd-ubuntu18.04-docker-arm64-4c-16g-1435 does not seem to be running inside a container [2021-06-15T05:50:42.850Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-15T05:50:44.408Z] $ docker top 5378cfbdd2b121ac9473beecb9575833e50b7fbcc842c419e9ad2122ca584832 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-06-15T05:50:44.906Z] prd-centos7-docker-4c-2g-1436 does not seem to be running inside a container [2021-06-15T05:50:44.952Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-15T05:50:45.378Z] $ docker top 0e1133f2048bc88d572823197d82d5685258f367f47511ad1dc89ce8b7fb08ed -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-15T05:50:45.905Z] + go mod tidy [Pipeline] sh [2021-06-15T05:50:46.152Z] + go mod tidy [2021-06-15T05:50:46.242Z] + make test [2021-06-15T05:50:46.242Z] go mod tidy [2021-06-15T05:50:46.242Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] sh [2021-06-15T05:50:47.451Z] + make test [2021-06-15T05:50:47.451Z] go mod tidy [2021-06-15T05:50:48.059Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-15T05:50:51.604Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-15T05:51:10.248Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-15T05:51:13.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-15T05:51:13.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-15T05:51:13.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-15T05:51:16.254Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.049s coverage: 25.4% of statements [2021-06-15T05:51:16.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-15T05:51:16.254Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 28.1% of statements [2021-06-15T05:51:16.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-06-15T05:51:16.786Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.039s coverage: 9.0% of statements [2021-06-15T05:51:16.786Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-15T05:51:16.786Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-15T05:51:16.786Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-15T05:51:17.375Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.056s coverage: 29.2% of statements [2021-06-15T05:51:17.375Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-15T05:51:18.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 83.3% of statements [2021-06-15T05:51:18.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-15T05:51:18.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-15T05:51:18.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 58.0% of statements [2021-06-15T05:51:19.781Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.812s coverage: 89.2% of statements [2021-06-15T05:51:19.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-15T05:51:19.781Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements [2021-06-15T05:51:19.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-15T05:51:19.781Z] GO111MODULE=on go vet ./... [2021-06-15T05:51:42.473Z] gofmt -l . [2021-06-15T05:51:42.473Z] [ "`gofmt -l .`" = "" ] [2021-06-15T05:51:42.473Z] ./bin/test-attribution-txt.sh [2021-06-15T05:51:42.473Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-15T05:51:42.518Z] $ docker stop --time=1 0e1133f2048bc88d572823197d82d5685258f367f47511ad1dc89ce8b7fb08ed [2021-06-15T05:51:44.086Z] $ docker rm -f 0e1133f2048bc88d572823197d82d5685258f367f47511ad1dc89ce8b7fb08ed [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T05:51:44.616Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-15T05:51:44.825Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-15T05:51:47.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-15T05:51:48.098Z] + ls -al . [2021-06-15T05:51:48.098Z] total 212 [2021-06-15T05:51:48.098Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 15 05:51 . [2021-06-15T05:51:48.098Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 15 05:49 .. [2021-06-15T05:51:48.098Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 15 05:49 bin [2021-06-15T05:51:48.098Z] -rw-r--r--. 1 jenkins jenkins 126073 Jun 15 05:51 coverage.out [2021-06-15T05:51:48.098Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 15 05:49 Dockerfile.build [2021-06-15T05:51:48.098Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 15 05:49 .dockerignore [2021-06-15T05:51:48.098Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 15 05:49 example [2021-06-15T05:51:48.098Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 15 05:49 .git [2021-06-15T05:51:48.098Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 15 05:49 .github [2021-06-15T05:51:48.098Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 15 05:49 .gitignore [2021-06-15T05:51:48.098Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 15 05:51 go.mod [2021-06-15T05:51:48.098Z] -rw-r--r--. 1 jenkins jenkins 20494 Jun 15 05:50 go.sum [2021-06-15T05:51:48.098Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 15 05:49 internal [2021-06-15T05:51:48.098Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 15 05:49 Jenkinsfile [2021-06-15T05:51:48.098Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 15 05:49 LICENSE [2021-06-15T05:51:48.098Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 15 05:49 Makefile [2021-06-15T05:51:48.098Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 15 05:49 openapi [2021-06-15T05:51:48.098Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 15 05:49 pkg [2021-06-15T05:51:48.098Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 15 05:49 README.md [2021-06-15T05:51:48.098Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 15 05:49 RELEASE-NOTES.txt [2021-06-15T05:51:48.098Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 15 05:49 snap [2021-06-15T05:51:48.098Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 05:46 VERSION [2021-06-15T05:51:48.098Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 15 05:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:51:48.450Z] + 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=6a4f7335f63ec55d91c4c3fd453eb299495361ac --label arch=amd64 --label version=0.0.0 . [2021-06-15T05:51:48.450Z] Sending build context to Docker daemon 2.803MB [2021-06-15T05:51:48.450Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T05:51:48.450Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-15T05:51:48.450Z] ---> c93ca8dda459 [2021-06-15T05:51:48.450Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-15T05:51:48.450Z] ---> Running in 60101803aa45 [2021-06-15T05:51:48.715Z] Removing intermediate container 60101803aa45 [2021-06-15T05:51:48.715Z] ---> 456c8648469e [2021-06-15T05:51:48.715Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-15T05:51:48.715Z] ---> Running in 12118c8c4a74 [2021-06-15T05:51:48.715Z] Removing intermediate container 12118c8c4a74 [2021-06-15T05:51:48.715Z] ---> 88e9ce19e69d [2021-06-15T05:51:48.715Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:51:48.715Z] ---> Running in efeb12268f2c [2021-06-15T05:51:49.289Z] Removing intermediate container efeb12268f2c [2021-06-15T05:51:49.289Z] ---> 6d7e701d05b1 [2021-06-15T05:51:49.289Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-15T05:51:49.289Z] ---> Running in 30cbced09261 [2021-06-15T05:51:49.550Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-15T05:51:50.492Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-15T05:51:50.755Z] OK: 150 MiB in 46 packages [2021-06-15T05:51:51.022Z] Removing intermediate container 30cbced09261 [2021-06-15T05:51:51.022Z] ---> 91de071e7c75 [2021-06-15T05:51:51.022Z] Step 7/23 : COPY . . [2021-06-15T05:51:51.285Z] ---> 5411bd812f00 [2021-06-15T05:51:51.285Z] Step 8/23 : RUN go mod download [2021-06-15T05:51:51.285Z] ---> Running in c2603c91bf86 [2021-06-15T05:51:51.879Z] Removing intermediate container c2603c91bf86 [2021-06-15T05:51:51.879Z] ---> 5db253433d77 [2021-06-15T05:51:51.879Z] Step 9/23 : RUN make build [2021-06-15T05:51:51.879Z] ---> Running in f3ab0646a17c [2021-06-15T05:51:52.168Z] go mod tidy [2021-06-15T05:51:52.433Z] 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-15T05:52:02.568Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-15T05:52:03.143Z] Removing intermediate container f3ab0646a17c [2021-06-15T05:52:03.143Z] ---> e8d481584090 [2021-06-15T05:52:03.143Z] Step 10/23 : FROM alpine:3.12 [2021-06-15T05:52:03.714Z] 3.12: Pulling from library/alpine [2021-06-15T05:52:03.714Z] 339de151aab4: Pulling fs layer [2021-06-15T05:52:04.286Z] 339de151aab4: Verifying Checksum [2021-06-15T05:52:04.286Z] 339de151aab4: Download complete [2021-06-15T05:52:04.286Z] 339de151aab4: Pull complete [2021-06-15T05:52:04.286Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-15T05:52:04.286Z] Status: Downloaded newer image for alpine:3.12 [2021-06-15T05:52:04.286Z] ---> 13621d1b12d4 [2021-06-15T05:52:04.286Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-15T05:52:04.548Z] ---> Running in 26b62b9dae24 [2021-06-15T05:52:04.548Z] Removing intermediate container 26b62b9dae24 [2021-06-15T05:52:04.548Z] ---> 8b65d683e378 [2021-06-15T05:52:04.548Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:52:04.548Z] ---> Running in c55b2235c7e8 [2021-06-15T05:52:05.127Z] Removing intermediate container c55b2235c7e8 [2021-06-15T05:52:05.127Z] ---> 5f88b65eb5a1 [2021-06-15T05:52:05.127Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-15T05:52:05.127Z] ---> Running in f3b7230ae1a2 [2021-06-15T05:52:05.389Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-15T05:52:05.966Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-15T05:52:06.226Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-15T05:52:06.487Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-15T05:52:06.487Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-15T05:52:07.430Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-15T05:52:07.430Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-15T05:52:07.430Z] Executing busybox-1.31.1-r20.trigger [2021-06-15T05:52:07.430Z] OK: 8 MiB in 19 packages [2021-06-15T05:52:07.695Z] Removing intermediate container f3b7230ae1a2 [2021-06-15T05:52:07.695Z] ---> b8dd5085d698 [2021-06-15T05:52:07.695Z] Step 14/23 : WORKDIR / [2021-06-15T05:52:07.695Z] ---> Running in 2b34bca64ef6 [2021-06-15T05:52:07.959Z] Removing intermediate container 2b34bca64ef6 [2021-06-15T05:52:07.959Z] ---> 325dd50edeaf [2021-06-15T05:52:07.959Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-15T05:52:07.959Z] ---> f70d5d3d4d4f [2021-06-15T05:52:07.959Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-15T05:52:08.533Z] ---> 99a9f9d7561a [2021-06-15T05:52:08.533Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-15T05:52:08.796Z] ---> 61f25c7adfd7 [2021-06-15T05:52:08.796Z] Step 18/23 : EXPOSE 59999 [2021-06-15T05:52:08.796Z] ---> Running in 3d4ca2859f1a [2021-06-15T05:52:08.796Z] Removing intermediate container 3d4ca2859f1a [2021-06-15T05:52:08.796Z] ---> 04c578005dfe [2021-06-15T05:52:08.796Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-15T05:52:08.796Z] ---> Running in f9343df917eb [2021-06-15T05:52:08.796Z] Removing intermediate container f9343df917eb [2021-06-15T05:52:08.796Z] ---> 8b784c4c2c40 [2021-06-15T05:52:08.796Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-15T05:52:09.060Z] ---> Running in fd706e9afa92 [2021-06-15T05:52:09.060Z] Removing intermediate container fd706e9afa92 [2021-06-15T05:52:09.060Z] ---> 9e83fcdcd739 [2021-06-15T05:52:09.060Z] Step 21/23 : LABEL arch=amd64 [2021-06-15T05:52:09.060Z] ---> Running in 3667547cf914 [2021-06-15T05:52:09.060Z] Removing intermediate container 3667547cf914 [2021-06-15T05:52:09.060Z] ---> 90ce3984cecf [2021-06-15T05:52:09.060Z] Step 22/23 : LABEL git_sha=6a4f7335f63ec55d91c4c3fd453eb299495361ac [2021-06-15T05:52:09.060Z] ---> Running in 5c1452e66aaa [2021-06-15T05:52:09.322Z] Removing intermediate container 5c1452e66aaa [2021-06-15T05:52:09.323Z] ---> 4ca78e8e7756 [2021-06-15T05:52:09.323Z] Step 23/23 : LABEL version=0.0.0 [2021-06-15T05:52:09.323Z] ---> Running in bde197152a57 [2021-06-15T05:52:09.323Z] Removing intermediate container bde197152a57 [2021-06-15T05:52:09.323Z] ---> 590161099d3a [2021-06-15T05:52:09.323Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-15T05:52:09.323Z] Successfully built 590161099d3a [2021-06-15T05:52:09.323Z] 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-15T05:52:10.439Z] ---> job-cost.sh [2021-06-15T05:52:10.440Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oAP9 [2021-06-15T05:52:12.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-15T05:52:12.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-15T05:52:12.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-15T05:52:18.596Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-15T05:52:24.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.268s coverage: 25.4% of statements [2021-06-15T05:52:24.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-15T05:52:24.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.189s coverage: 28.1% of statements [2021-06-15T05:52:24.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.225s coverage: 78.9% of statements [2021-06-15T05:52:24.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.174s coverage: 9.0% of statements [2021-06-15T05:52:24.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-15T05:52:24.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-15T05:52:24.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-15T05:52:25.291Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.319s coverage: 29.2% of statements [2021-06-15T05:52:25.291Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-15T05:52:27.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.195s coverage: 83.3% of statements [2021-06-15T05:52:27.928Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-15T05:52:27.928Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-15T05:52:27.928Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.349s coverage: 58.0% of statements [2021-06-15T05:52:31.327Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.981s coverage: 89.2% of statements [2021-06-15T05:52:31.327Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-15T05:52:31.327Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 5.0% of statements [2021-06-15T05:52:31.327Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-15T05:52:31.327Z] GO111MODULE=on go vet ./... [2021-06-15T05:52:33.513Z] lf-activate-venv(): INFO: Adding /tmp/venv-oAP9/bin to PATH [2021-06-15T05:52:33.513Z] INFO: No Stack... [2021-06-15T05:52:33.513Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-15T05:52:33.513Z] INFO: Archiving Costs [Pipeline] sh [2021-06-15T05:52:33.842Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-15T05:52:33.842Z] + cut -d, -f6 [Pipeline] lock [2021-06-15T05:52:33.904Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-1-stack-cost] [2021-06-15T05:52:33.911Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-1-stack-cost] did not exist. Created. [2021-06-15T05:52:33.911Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-15T05:52:34.339Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-15T05:52:34.429Z] Stashed 1 file(s) [Pipeline] } [2021-06-15T05:52:34.450Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-15T05:53:27.911Z] gofmt -l . [2021-06-15T05:53:27.911Z] [ "`gofmt -l .`" = "" ] [2021-06-15T05:53:27.911Z] ./bin/test-attribution-txt.sh [2021-06-15T05:53:27.911Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-15T05:53:27.874Z] $ docker stop --time=1 5378cfbdd2b121ac9473beecb9575833e50b7fbcc842c419e9ad2122ca584832 [2021-06-15T05:53:30.147Z] $ docker rm -f 5378cfbdd2b121ac9473beecb9575833e50b7fbcc842c419e9ad2122ca584832 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T05:53:31.472Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-15T05:53:31.556Z] Warning: overwriting stash ‘coverage-report’ [2021-06-15T05:53:32.217Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T05:53:32.998Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-15T05:53:33.356Z] + ls -al . [2021-06-15T05:53:33.356Z] total 248 [2021-06-15T05:53:33.356Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 15 05:53 . [2021-06-15T05:53:33.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 05:49 .. [2021-06-15T05:53:33.356Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 15 05:49 .dockerignore [2021-06-15T05:53:33.356Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 05:49 .git [2021-06-15T05:53:33.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:49 .github [2021-06-15T05:53:33.356Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 15 05:49 .gitignore [2021-06-15T05:53:33.356Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 15 05:49 Dockerfile.build [2021-06-15T05:53:33.356Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 15 05:49 Jenkinsfile [2021-06-15T05:53:33.356Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 15 05:49 LICENSE [2021-06-15T05:53:33.356Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 15 05:49 Makefile [2021-06-15T05:53:33.356Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 15 05:49 README.md [2021-06-15T05:53:33.356Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 15 05:49 RELEASE-NOTES.txt [2021-06-15T05:53:33.356Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 05:46 VERSION [2021-06-15T05:53:33.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:49 bin [2021-06-15T05:53:33.356Z] -rw-r--r-- 1 jenkins jenkins 126073 Jun 15 05:52 coverage.out [2021-06-15T05:53:33.356Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 15 05:49 example [2021-06-15T05:53:33.356Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 15 05:53 go.mod [2021-06-15T05:53:33.356Z] -rw-r--r-- 1 jenkins jenkins 20494 Jun 15 05:50 go.sum [2021-06-15T05:53:33.356Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 15 05:49 internal [2021-06-15T05:53:33.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 05:49 openapi [2021-06-15T05:53:33.356Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 15 05:49 pkg [2021-06-15T05:53:33.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 05:49 snap [2021-06-15T05:53:33.356Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 15 05:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:53:33.758Z] + 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=6a4f7335f63ec55d91c4c3fd453eb299495361ac --label arch=arm64 --label version=0.0.0 . [2021-06-15T05:53:34.356Z] Sending build context to Docker daemon 2.8MB [2021-06-15T05:53:34.357Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T05:53:34.357Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-15T05:53:34.357Z] ---> 6cf29f77b714 [2021-06-15T05:53:34.357Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-15T05:53:34.634Z] ---> Running in c353e781f92f [2021-06-15T05:53:35.231Z] Removing intermediate container c353e781f92f [2021-06-15T05:53:35.231Z] ---> d362b1160fe8 [2021-06-15T05:53:35.231Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-15T05:53:35.231Z] ---> Running in 18572957eccf [2021-06-15T05:53:35.828Z] Removing intermediate container 18572957eccf [2021-06-15T05:53:35.828Z] ---> d071f1cdb399 [2021-06-15T05:53:35.828Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:53:35.828Z] ---> Running in 4d53ac6c63b9 [2021-06-15T05:53:38.455Z] Removing intermediate container 4d53ac6c63b9 [2021-06-15T05:53:38.455Z] ---> cf58c6a24452 [2021-06-15T05:53:38.455Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-15T05:53:38.455Z] ---> Running in 9081d912a5b8 [2021-06-15T05:53:39.433Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-15T05:53:40.029Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-15T05:53:41.020Z] OK: 139 MiB in 46 packages [2021-06-15T05:53:42.460Z] Removing intermediate container 9081d912a5b8 [2021-06-15T05:53:42.460Z] ---> 204afee24a91 [2021-06-15T05:53:42.460Z] Step 7/23 : COPY . . [2021-06-15T05:53:43.898Z] ---> 8625b52fdf3e [2021-06-15T05:53:43.898Z] Step 8/23 : RUN go mod download [2021-06-15T05:53:43.898Z] ---> Running in 0f16cf115136 [2021-06-15T05:53:46.523Z] Removing intermediate container 0f16cf115136 [2021-06-15T05:53:46.523Z] ---> 049c8fc2ed86 [2021-06-15T05:53:46.523Z] Step 9/23 : RUN make build [2021-06-15T05:53:46.523Z] ---> Running in bcf248d91299 [2021-06-15T05:53:47.966Z] go mod tidy [2021-06-15T05:53:48.241Z] 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-15T05:54:20.685Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-15T05:54:22.120Z] Removing intermediate container bcf248d91299 [2021-06-15T05:54:22.120Z] ---> 2e2bf72e6068 [2021-06-15T05:54:22.120Z] Step 10/23 : FROM alpine:3.12 [2021-06-15T05:54:22.713Z] 3.12: Pulling from library/alpine [2021-06-15T05:54:22.713Z] d2f70382dc9a: Pulling fs layer [2021-06-15T05:54:22.992Z] d2f70382dc9a: Verifying Checksum [2021-06-15T05:54:22.992Z] d2f70382dc9a: Download complete [2021-06-15T05:54:23.598Z] d2f70382dc9a: Pull complete [2021-06-15T05:54:23.598Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-15T05:54:23.598Z] Status: Downloaded newer image for alpine:3.12 [2021-06-15T05:54:23.874Z] ---> 9852663dfa18 [2021-06-15T05:54:23.874Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-15T05:54:24.148Z] ---> Running in affa60f03aa1 [2021-06-15T05:54:24.422Z] Removing intermediate container affa60f03aa1 [2021-06-15T05:54:24.422Z] ---> 437d0c584088 [2021-06-15T05:54:24.422Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:54:24.698Z] ---> Running in b3e8c4557dfa [2021-06-15T05:54:27.323Z] Removing intermediate container b3e8c4557dfa [2021-06-15T05:54:27.323Z] ---> 59e3d8812ebc [2021-06-15T05:54:27.323Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-15T05:54:27.323Z] ---> Running in 2bb5fbc2e32e [2021-06-15T05:54:28.308Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-15T05:54:28.899Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-15T05:54:29.494Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-15T05:54:29.494Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-15T05:54:29.764Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-15T05:54:30.039Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-15T05:54:30.039Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-15T05:54:30.039Z] Executing busybox-1.31.1-r20.trigger [2021-06-15T05:54:30.039Z] OK: 8 MiB in 19 packages [2021-06-15T05:54:31.475Z] Removing intermediate container 2bb5fbc2e32e [2021-06-15T05:54:31.475Z] ---> c20e07a65f50 [2021-06-15T05:54:31.475Z] Step 14/23 : WORKDIR / [2021-06-15T05:54:31.749Z] ---> Running in 2067f6283188 [2021-06-15T05:54:32.345Z] Removing intermediate container 2067f6283188 [2021-06-15T05:54:32.345Z] ---> 3d5118b4962c [2021-06-15T05:54:32.345Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-15T05:54:32.948Z] ---> 645b667abd4a [2021-06-15T05:54:32.948Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-15T05:54:34.385Z] ---> 474f1c0c5c1e [2021-06-15T05:54:34.385Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-15T05:54:34.985Z] ---> 2f3c1f7733a8 [2021-06-15T05:54:34.985Z] Step 18/23 : EXPOSE 59999 [2021-06-15T05:54:35.262Z] ---> Running in 9d194c21497d [2021-06-15T05:54:35.537Z] Removing intermediate container 9d194c21497d [2021-06-15T05:54:35.537Z] ---> b26ebefb6fca [2021-06-15T05:54:35.537Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-15T05:54:35.813Z] ---> Running in 6d8ee854fee2 [2021-06-15T05:54:36.412Z] Removing intermediate container 6d8ee854fee2 [2021-06-15T05:54:36.412Z] ---> e02732abfe62 [2021-06-15T05:54:36.412Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-15T05:54:36.412Z] ---> Running in d8b564045d8c [2021-06-15T05:54:37.021Z] Removing intermediate container d8b564045d8c [2021-06-15T05:54:37.021Z] ---> fe1727fdcd98 [2021-06-15T05:54:37.021Z] Step 21/23 : LABEL arch=arm64 [2021-06-15T05:54:37.021Z] ---> Running in 375c2615d448 [2021-06-15T05:54:37.619Z] Removing intermediate container 375c2615d448 [2021-06-15T05:54:37.619Z] ---> 357944f063f3 [2021-06-15T05:54:37.619Z] Step 22/23 : LABEL git_sha=6a4f7335f63ec55d91c4c3fd453eb299495361ac [2021-06-15T05:54:37.619Z] ---> Running in dbef28bc6f8f [2021-06-15T05:54:38.220Z] Removing intermediate container dbef28bc6f8f [2021-06-15T05:54:38.220Z] ---> b7c7f6f8a327 [2021-06-15T05:54:38.220Z] Step 23/23 : LABEL version=0.0.0 [2021-06-15T05:54:38.220Z] ---> Running in 62ed62f22c2b [2021-06-15T05:54:38.818Z] Removing intermediate container 62ed62f22c2b [2021-06-15T05:54:38.818Z] ---> 109ef2a1bb8a [2021-06-15T05:54:38.818Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-15T05:54:38.818Z] Successfully built 109ef2a1bb8a [2021-06-15T05:54:38.818Z] 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-15T05:54:39.726Z] ---> job-cost.sh [2021-06-15T05:54:39.726Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CKBY [2021-06-15T05:55:18.713Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-15T05:56:40.456Z] lf-activate-venv(): INFO: Adding /tmp/venv-CKBY/bin to PATH [2021-06-15T05:56:40.456Z] INFO: No Stack... [2021-06-15T05:56:40.456Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-15T05:56:40.727Z] INFO: Archiving Costs [Pipeline] sh [2021-06-15T05:56:41.095Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-15T05:56:41.095Z] cut -d, -f6 [Pipeline] lock [2021-06-15T05:56:41.183Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-1-stack-cost] [2021-06-15T05:56:41.191Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-1-stack-cost] did not exist. Created. [2021-06-15T05:56:41.191Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-15T05:56:41.632Z] /w/workspace/device-sdk-go/1@tmp/durable-09d0e957/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-09d0e957/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-15T05:56:42.008Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-15T05:56:42.051Z] Warning: overwriting stash ‘stack-cost’ [2021-06-15T05:56:42.215Z] Stashed 1 file(s) [Pipeline] } [2021-06-15T05:56:42.234Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-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-15T05:56:43.405Z] provisioning config files... [2021-06-15T05:56:43.416Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config5644934094356734729tmp [Pipeline] { [Pipeline] sh [2021-06-15T05:56:43.783Z] + set +x [2021-06-15T05:56:43.783Z] + bash -s -- [2021-06-15T05:56:43.783Z] + curl -s https://codecov.io/bash [2021-06-15T05:56:44.048Z] [2021-06-15T05:56:44.048Z] _____ _ [2021-06-15T05:56:44.048Z] / ____| | | [2021-06-15T05:56:44.048Z] | | ___ __| | ___ ___ _____ __ [2021-06-15T05:56:44.048Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-15T05:56:44.048Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-15T05:56:44.048Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-15T05:56:44.048Z] Bash-1.0.3 [2021-06-15T05:56:44.048Z] [2021-06-15T05:56:44.048Z] [2021-06-15T05:56:44.048Z] ==> git version 2.24.4 found [2021-06-15T05:56:44.048Z] ==> 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-15T05:56:44.048Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-15T05:56:44.048Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-15T05:56:44.048Z] ==> Jenkins CI detected. [2021-06-15T05:56:44.048Z] project root: . [2021-06-15T05:56:44.048Z] --> token set from env [2021-06-15T05:56:44.048Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-15T05:56:44.048Z] ==> Running gcov in . (disable via -X gcov) [2021-06-15T05:56:44.048Z] ==> Python coveragepy not found [2021-06-15T05:56:44.048Z] ==> Searching for coverage reports in: [2021-06-15T05:56:44.048Z] + . [2021-06-15T05:56:44.048Z] -> Found 1 reports [2021-06-15T05:56:44.048Z] ==> Detecting git/mercurial file structure [2021-06-15T05:56:44.048Z] ==> Reading reports [2021-06-15T05:56:44.048Z] + ./coverage.out bytes=126073 [2021-06-15T05:56:44.048Z] ==> Appending adjustments [2021-06-15T05:56:44.048Z] https://docs.codecov.io/docs/fixing-reports [2021-06-15T05:56:44.311Z] + Found adjustments [2021-06-15T05:56:44.311Z] ==> Gzipping contents [2021-06-15T05:56:44.311Z] 20K /tmp/codecov.o2XVOe.gz [2021-06-15T05:56:44.311Z] ==> Uploading reports [2021-06-15T05:56:44.311Z] url: https://codecov.io [2021-06-15T05:56:44.311Z] query: branch=PR-971&commit=6a4f7335f63ec55d91c4c3fd453eb299495361ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-15T05:56:44.311Z] -> Pinging Codecov [2021-06-15T05:56:44.311Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=6a4f7335f63ec55d91c4c3fd453eb299495361ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-15T05:56:44.888Z] -> Uploading to [2021-06-15T05:56:44.888Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-15/7E55EF52A471D76F132DFD9A03CDDE97/6a4f7335f63ec55d91c4c3fd453eb299495361ac/4762a06e-b55b-40ff-b009-541c14a8fdc9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210615%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210615T055644Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=36b29e737e3ca938fd2017cf73bb63e5432cb35c52f0beec77d957748fb5dc12 [2021-06-15T05:56:44.888Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-15T05:56:44.888Z] Dload Upload Total Spent Left Speed [2021-06-15T05:56:45.464Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16430 0 0 100 16430 0 31402 --:--:-- --:--:-- --:--:-- 31414 [2021-06-15T05:56:45.464Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6a4f7335f63ec55d91c4c3fd453eb299495361ac [Pipeline] } [2021-06-15T05:56:45.488Z] 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-15T05:56:48.082Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:56:48.700Z] ---> package-listing.sh [2021-06-15T05:56:48.700Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-15T05:56:48.700Z] ++ facter osfamily [2021-06-15T05:56:48.966Z] + OS_FAMILY=redhat [2021-06-15T05:56:48.966Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-15T05:56:48.966Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-15T05:56:48.966Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-15T05:56:48.966Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-15T05:56:48.966Z] + PACKAGES=/tmp/packages_start.txt [2021-06-15T05:56:48.966Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-15T05:56:48.966Z] + PACKAGES=/tmp/packages_end.txt [2021-06-15T05:56:48.966Z] + case "${OS_FAMILY}" in [2021-06-15T05:56:48.966Z] + rpm -qa [2021-06-15T05:56:48.966Z] + sort [2021-06-15T05:56:49.540Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-15T05:56:49.540Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-15T05:56:49.540Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-15T05:56:49.802Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-15T05:56:49.802Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-15T05:56:49.802Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-06-15T05:56:49.841Z] 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-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-15T05:56:50.151Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:56:50.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T05:56:50.769Z] [2021-06-15T05:56:50.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:56:51.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T05:56:51.129Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-15T05:56:51.129Z] df20fa9351a1: Pulling fs layer [2021-06-15T05:56:51.129Z] 36b3adc4ff6f: Pulling fs layer [2021-06-15T05:56:51.129Z] 8ad3a11d3b57: Pulling fs layer [2021-06-15T05:56:51.129Z] 46f8f816bc3b: Pulling fs layer [2021-06-15T05:56:51.129Z] 93b61091891f: Pulling fs layer [2021-06-15T05:56:51.129Z] 93b9cdb0e59b: Pulling fs layer [2021-06-15T05:56:51.129Z] 5e14af77c1be: Pulling fs layer [2021-06-15T05:56:51.129Z] 01666e4c0597: Pulling fs layer [2021-06-15T05:56:51.129Z] aa168da1d23b: Pulling fs layer [2021-06-15T05:56:51.129Z] 93b9cdb0e59b: Waiting [2021-06-15T05:56:51.129Z] 5e14af77c1be: Waiting [2021-06-15T05:56:51.129Z] 46f8f816bc3b: Waiting [2021-06-15T05:56:51.129Z] 01666e4c0597: Waiting [2021-06-15T05:56:51.129Z] 93b61091891f: Waiting [2021-06-15T05:56:51.129Z] aa168da1d23b: Waiting [2021-06-15T05:56:51.129Z] 36b3adc4ff6f: Verifying Checksum [2021-06-15T05:56:51.129Z] 36b3adc4ff6f: Download complete [2021-06-15T05:56:51.129Z] 46f8f816bc3b: Verifying Checksum [2021-06-15T05:56:51.129Z] 46f8f816bc3b: Download complete [2021-06-15T05:56:51.390Z] df20fa9351a1: Verifying Checksum [2021-06-15T05:56:51.390Z] df20fa9351a1: Download complete [2021-06-15T05:56:51.390Z] 93b9cdb0e59b: Verifying Checksum [2021-06-15T05:56:51.390Z] 93b9cdb0e59b: Download complete [2021-06-15T05:56:51.390Z] 93b61091891f: Verifying Checksum [2021-06-15T05:56:51.390Z] 93b61091891f: Download complete [2021-06-15T05:56:51.390Z] 5e14af77c1be: Verifying Checksum [2021-06-15T05:56:51.390Z] 5e14af77c1be: Download complete [2021-06-15T05:56:51.390Z] 01666e4c0597: Verifying Checksum [2021-06-15T05:56:51.390Z] 01666e4c0597: Download complete [2021-06-15T05:56:51.390Z] 8ad3a11d3b57: Verifying Checksum [2021-06-15T05:56:51.390Z] 8ad3a11d3b57: Download complete [2021-06-15T05:56:51.390Z] df20fa9351a1: Pull complete [2021-06-15T05:56:51.656Z] 36b3adc4ff6f: Pull complete [2021-06-15T05:56:52.229Z] 8ad3a11d3b57: Pull complete [2021-06-15T05:56:52.493Z] 46f8f816bc3b: Pull complete [2021-06-15T05:56:52.760Z] 93b61091891f: Pull complete [2021-06-15T05:56:53.021Z] 93b9cdb0e59b: Pull complete [2021-06-15T05:56:53.021Z] 5e14af77c1be: Pull complete [2021-06-15T05:56:53.284Z] 01666e4c0597: Pull complete [2021-06-15T05:56:53.284Z] aa168da1d23b: Verifying Checksum [2021-06-15T05:56:53.284Z] aa168da1d23b: Download complete [2021-06-15T05:56:57.517Z] aa168da1d23b: Pull complete [2021-06-15T05:56:57.781Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-15T05:56:57.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T05:56:57.781Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-15T05:56:57.890Z] prd-centos7-docker-4c-2g-1434 does not seem to be running inside a container [2021-06-15T05:56:57.936Z] $ 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-971/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-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-15T05:57:01.080Z] $ docker top 23b9eb997c26e5f9775b2299eb1203f23a44fa3cde7c987541e5eb95ec3344fd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T05:57:01.527Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-15T05:57:01.848Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-15T05:57:02.173Z] + ls /var/log/sa-host [2021-06-15T05:57:02.173Z] + sadf -c /var/log/sa-host/sa05 [2021-06-15T05:57:02.173Z] file_magic: OK [2021-06-15T05:57:02.173Z] HZ: Using current value: 100 [2021-06-15T05:57:02.173Z] file_header: OK [2021-06-15T05:57:02.173Z] 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-15T05:57:02.173Z] Statistics: [2021-06-15T05:57:02.173Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-15T05:57:02.173Z] File successfully converted to sysstat format version 12.2.1 [2021-06-15T05:57:02.173Z] + sadf -c /var/log/sa-host/sa15 [2021-06-15T05:57:02.173Z] file_magic: OK [2021-06-15T05:57:02.173Z] HZ: Using current value: 100 [2021-06-15T05:57:02.173Z] file_header: OK [2021-06-15T05:57:02.173Z] 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-15T05:57:02.173Z] Statistics: [2021-06-15T05:57:02.173Z] 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-15T05:57:02.173Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:57:02.826Z] provisioning config files... [2021-06-15T05:57:02.839Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config242993886671794129tmp [Pipeline] { [Pipeline] echo [2021-06-15T05:57:02.915Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:57:03.314Z] ---> create-netrc.sh [Pipeline] } [2021-06-15T05:57:03.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:57:03.916Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-15T05:57:03.968Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:57:04.311Z] ---> sudo-logs.sh [2021-06-15T05:57:04.312Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-15T05:57:04.395Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:57:04.734Z] ---> job-cost.sh [2021-06-15T05:57:04.735Z] lf-activate-venv: SKIPPING [2021-06-15T05:57:04.735Z] DEBUG: total: 0.18000000715255737 [2021-06-15T05:57:04.735Z] INFO: Retrieving Stack Cost... [2021-06-15T05:57:05.682Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-15T05:57:06.255Z] INFO: Archiving Costs [Pipeline] echo [2021-06-15T05:57:06.291Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:57:06.630Z] ---> logs-deploy.sh [2021-06-15T05:57:06.630Z] lf-activate-venv: SKIPPING [2021-06-15T05:57:06.630Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/1 [2021-06-15T05:57:06.630Z] INFO: archiving workspace using pattern(s): [2021-06-15T05:57:07.605Z] Archives upload complete. [2021-06-15T05:57:07.606Z] INFO: archiving logs to Nexus