Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 3aea893206dfece0cb943228d650ae216607898f rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from 3aea893206dfece0cb943228d650ae216607898f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24260 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-732 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 3aea893206dfece0cb943228d650ae216607898f into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c Merge succeeded, producing 111696ae154a71479e3b832929f739a02db6be30 Checking out Revision 111696ae154a71479e3b832929f739a02db6be30 (PR-732) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 111696ae154a71479e3b832929f739a02db6be30 # timeout=10 Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 48807053613575e78c4fa610d360d65e6f880de1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-01T02:42:35.616Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-01T02:42:35.911Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-01T02:42:36.027Z] ========================================================= [2021-02-01T02:42:36.027Z] EdgeX Global Pipelines Version Info [2021-02-01T02:42:36.027Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:42:37.610Z] ------------------- [2021-02-01T02:42:37.610Z] stable info: [2021-02-01T02:42:37.610Z] ------------------- [2021-02-01T02:42:37.610Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T02:42:37.610Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T02:42:37.610Z] Message: update stable to v1.0.179 [2021-02-01T02:42:38.570Z] ------------------- [2021-02-01T02:42:38.570Z] experimental info: [2021-02-01T02:42:38.570Z] ------------------- [2021-02-01T02:42:38.570Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T02:42:38.570Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T02:42:38.570Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-01T02:42:38.896Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-01T02:42:38.987Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-01T02:42:39.083Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-01T02:42:39.202Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-01T02:42:39.308Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-01T02:42:39.398Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-01T02:42:39.518Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-01T02:42:39.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-01T02:42:39.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-01T02:42:39.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-01T02:42:39.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-01T02:42:40.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-01T02:42:40.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-01T02:42:40.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-01T02:42:40.351Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-01T02:42:40.506Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:42:40.603Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:42:40.732Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:42:40.855Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-01T02:42:41.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-01T02:42:41.135Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-01T02:42:41.224Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-01T02:42:41.323Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-01T02:42:41.413Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-01T02:42:41.500Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-01T02:42:41.599Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-01T02:42:41.691Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-01T02:42:41.779Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo [2021-02-01T02:42:41.865Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo [2021-02-01T02:42:41.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo [2021-02-01T02:42:42.109Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 111696ae154a71479e3b832929f739a02db6be30 [Pipeline] echo [2021-02-01T02:42:42.215Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 111696a [Pipeline] echo [2021-02-01T02:42:42.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:42:42.505Z] provisioning config files... [2021-02-01T02:42:42.543Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config4456236998401690446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:42:43.014Z] ---> docker-login.sh [2021-02-01T02:42:43.014Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:42:43.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:43.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:43.564Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:43.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:43.564Z] [2021-02-01T02:42:43.564Z] Login Succeeded [2021-02-01T02:42:43.564Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:42:43.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:43.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:43.833Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:43.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:43.833Z] [2021-02-01T02:42:43.833Z] Login Succeeded [2021-02-01T02:42:43.833Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:42:43.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:43.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:43.833Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:43.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:43.833Z] [2021-02-01T02:42:43.833Z] Login Succeeded [2021-02-01T02:42:43.833Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:42:44.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:44.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:44.121Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:44.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:44.121Z] [2021-02-01T02:42:44.121Z] Login Succeeded [2021-02-01T02:42:44.121Z] docker.io [2021-02-01T02:42:44.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:44.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:44.398Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:44.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:44.398Z] [2021-02-01T02:42:44.398Z] Login Succeeded [2021-02-01T02:42:44.398Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:42:44.417Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:42:45.248Z] + git log --format=format:%s -1 111696ae154a71479e3b832929f739a02db6be30 [Pipeline] echo [2021-02-01T02:42:45.314Z] GIT_COMMIT: 111696ae154a71479e3b832929f739a02db6be30, Commit Message: Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD [Pipeline] echo [2021-02-01T02:42:45.357Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:42:45.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:42:45.969Z] [2021-02-01T02:42:45.969Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:42:46.354Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:42:46.354Z] latest: Pulling from edgex-devops/git-semver [2021-02-01T02:42:46.354Z] 31603596830f: Pulling fs layer [2021-02-01T02:42:46.354Z] 2a8b12db71e7: Pulling fs layer [2021-02-01T02:42:46.354Z] 6ca5941a6612: Pulling fs layer [2021-02-01T02:42:46.354Z] ecc8261a40a4: Pulling fs layer [2021-02-01T02:42:46.354Z] ecc8261a40a4: Waiting [2021-02-01T02:42:46.354Z] 2a8b12db71e7: Verifying Checksum [2021-02-01T02:42:46.354Z] 2a8b12db71e7: Download complete [2021-02-01T02:42:46.627Z] 31603596830f: Verifying Checksum [2021-02-01T02:42:46.627Z] 31603596830f: Download complete [2021-02-01T02:42:46.893Z] ecc8261a40a4: Verifying Checksum [2021-02-01T02:42:46.893Z] ecc8261a40a4: Download complete [2021-02-01T02:42:46.893Z] 6ca5941a6612: Verifying Checksum [2021-02-01T02:42:46.893Z] 6ca5941a6612: Download complete [2021-02-01T02:42:46.893Z] 31603596830f: Pull complete [2021-02-01T02:42:47.163Z] 2a8b12db71e7: Pull complete [2021-02-01T02:42:48.117Z] 6ca5941a6612: Pull complete [2021-02-01T02:42:48.117Z] ecc8261a40a4: Pull complete [2021-02-01T02:42:48.117Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-01T02:42:48.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:42:48.378Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-01T02:42:48.492Z] prd-centos7-docker-4c-2g-24260 does not seem to be running inside a container [2021-02-01T02:42:48.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-01T02:42:51.061Z] $ docker top 78dfbb41eab683047ad6cced13bfcb229cc1064aa0d6353017e4027e22c877d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T02:42:51.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T02:42:51.553Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T02:42:51.788Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T02:42:51.793Z] $ docker exec 78dfbb41eab683047ad6cced13bfcb229cc1064aa0d6353017e4027e22c877d6 ssh-agent [2021-02-01T02:42:51.967Z] SSH_AUTH_SOCK=/tmp/ssh-2wPJ8PdO0SAh/agent.12 [2021-02-01T02:42:51.967Z] SSH_AGENT_PID=17 [2021-02-01T02:42:51.991Z] Running ssh-add (command line suppressed) [2021-02-01T02:42:52.113Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3245933286837690511.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3245933286837690511.key) [2021-02-01T02:42:52.168Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T02:42:52.505Z] + git tag --points-at HEAD [Pipeline] } [2021-02-01T02:42:52.529Z] $ docker exec --env ******** --env ******** 78dfbb41eab683047ad6cced13bfcb229cc1064aa0d6353017e4027e22c877d6 ssh-agent -k [2021-02-01T02:42:52.647Z] unset SSH_AUTH_SOCK; [2021-02-01T02:42:52.647Z] unset SSH_AGENT_PID; [2021-02-01T02:42:52.647Z] echo Agent pid 17 killed; [2021-02-01T02:42:52.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-01T02:42:52.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T02:42:52.857Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T02:42:53.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T02:42:53.036Z] $ docker exec 78dfbb41eab683047ad6cced13bfcb229cc1064aa0d6353017e4027e22c877d6 ssh-agent [2021-02-01T02:42:53.205Z] SSH_AUTH_SOCK=/tmp/ssh-JHsNJEQLkhdz/agent.46 [2021-02-01T02:42:53.205Z] SSH_AGENT_PID=51 [2021-02-01T02:42:53.214Z] Running ssh-add (command line suppressed) [2021-02-01T02:42:53.337Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_5003186311593273726.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_5003186311593273726.key) [2021-02-01T02:42:53.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T02:42:53.740Z] + git semver init [2021-02-01T02:42:53.740Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T02:42:53.740Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git [2021-02-01T02:42:53.740Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-02-01T02:42:53.740Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T02:42:53.740Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T02:42:53.740Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T02:42:53.740Z] # $SEMVER_BRANCH = PR-732 [2021-02-01T02:42:53.740Z] # $SEMVER_TEMP = /tmp/semver-988578049 [2021-02-01T02:42:53.740Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-01T02:42:54.715Z] # '/tmp/semver-988578049' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' [2021-02-01T02:42:54.715Z] # -> Force: false [2021-02-01T02:42:54.715Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } [2021-02-01T02:42:54.731Z] $ docker exec --env ******** --env ******** 78dfbb41eab683047ad6cced13bfcb229cc1064aa0d6353017e4027e22c877d6 ssh-agent -k [2021-02-01T02:42:54.882Z] unset SSH_AUTH_SOCK; [2021-02-01T02:42:54.883Z] unset SSH_AGENT_PID; [2021-02-01T02:42:54.883Z] echo Agent pid 51 killed; [2021-02-01T02:42:54.936Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T02:42:55.417Z] + git semver [Pipeline] } [2021-02-01T02:42:55.438Z] $ docker stop --time=1 78dfbb41eab683047ad6cced13bfcb229cc1064aa0d6353017e4027e22c877d6 [2021-02-01T02:42:56.859Z] $ docker rm -f 78dfbb41eab683047ad6cced13bfcb229cc1064aa0d6353017e4027e22c877d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:42:57.345Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-01T02:42:57.958Z] Stashed 1 file(s) [Pipeline] echo [2021-02-01T02:42:57.961Z] [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-02-01T02:43:13.532Z] Still waiting to schedule task [2021-02-01T02:43:13.532Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24255’ is offline; ‘prd-centos7-docker-4c-2g-24262’ is offline; ‘prd-centos7-docker-4c-2g-24264’ is offline [2021-02-01T02:43:13.536Z] Still waiting to schedule task [2021-02-01T02:43:13.536Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-24257’ [2021-02-01T02:44:52.951Z] Running on prd-centos7-docker-4c-2g-24266 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-02-01T02:44:53.029Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2021-02-01T02:45:01.257Z] using credential edgex-jenkins-ssh [2021-02-01T02:45:01.311Z] Cloning the remote Git repository [2021-02-01T02:45:01.364Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:01.468Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2021-02-01T02:45:01.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:01.621Z] > git --version # timeout=10 [2021-02-01T02:45:01.638Z] > git --version # 'git version 2.24.3' [2021-02-01T02:45:01.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:01.695Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:45:04.594Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:45:04.629Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:45:04.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:45:04.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:04.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:04.765Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T02:45:05.519Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-02-01T02:45:05.874Z] Merge succeeded, producing dd376ae1f1bfa836a680d12ba4f48980768330c5 [2021-02-01T02:45:05.875Z] Checking out Revision dd376ae1f1bfa836a680d12ba4f48980768330c5 (PR-732) [2021-02-01T02:45:05.534Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:45:05.571Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-02-01T02:45:05.681Z] > git remote # timeout=10 [2021-02-01T02:45:05.694Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T02:45:05.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:05.732Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T02:45:05.864Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T02:45:05.897Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:45:05.951Z] > git checkout -f dd376ae1f1bfa836a680d12ba4f48980768330c5 # timeout=10 [2021-02-01T02:45:10.147Z] Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" [2021-02-01T02:45:10.246Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:45:10.220Z] > git rev-list --no-walk 48807053613575e78c4fa610d360d65e6f880de1 # timeout=10 [2021-02-01T02:45:12.040Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:45:12.526Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:45:12.884Z] + sudo service docker restart [2021-02-01T02:45:12.884Z] + true [2021-02-01T02:45:12.884Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:45:14.959Z] provisioning config files... [2021-02-01T02:45:15.002Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config1711906958195826499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:45:15.524Z] ---> docker-login.sh [2021-02-01T02:45:15.524Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:45:16.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:16.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:16.411Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:16.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:16.411Z] [2021-02-01T02:45:16.411Z] Login Succeeded [2021-02-01T02:45:16.411Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:45:16.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:16.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:16.709Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:16.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:16.709Z] [2021-02-01T02:45:16.709Z] Login Succeeded [2021-02-01T02:45:16.709Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:45:16.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:16.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:16.989Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:16.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:16.989Z] [2021-02-01T02:45:16.989Z] Login Succeeded [2021-02-01T02:45:16.989Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:45:17.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:17.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:17.259Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:17.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:17.259Z] [2021-02-01T02:45:17.259Z] Login Succeeded [2021-02-01T02:45:17.259Z] docker.io [2021-02-01T02:45:17.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:17.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:17.830Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:17.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:17.830Z] [2021-02-01T02:45:17.830Z] Login Succeeded [2021-02-01T02:45:17.830Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:45:17.844Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-01T02:45:18.305Z] ========================================================= [2021-02-01T02:45:18.305Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-01T02:45:18.305Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:45:18.691Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-01T02:45:18.964Z] Sending build context to Docker daemon 2.551MB [2021-02-01T02:45:18.964Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:45:18.964Z] Step 2/8 : FROM ${BASE} [2021-02-01T02:45:18.964Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-01T02:45:18.964Z] 188c0c94c7c5: Pulling fs layer [2021-02-01T02:45:18.964Z] 0ef7d3d256c8: Pulling fs layer [2021-02-01T02:45:18.964Z] de9db76c5a1d: Pulling fs layer [2021-02-01T02:45:18.964Z] bca2f99d35d6: Pulling fs layer [2021-02-01T02:45:18.964Z] 93359f2a8cfa: Pulling fs layer [2021-02-01T02:45:18.964Z] 7c6f9722023f: Pulling fs layer [2021-02-01T02:45:18.964Z] a35cf1a2eb13: Pulling fs layer [2021-02-01T02:45:18.964Z] a35cf1a2eb13: Waiting [2021-02-01T02:45:18.964Z] 7c6f9722023f: Waiting [2021-02-01T02:45:18.964Z] bca2f99d35d6: Waiting [2021-02-01T02:45:18.964Z] 93359f2a8cfa: Waiting [2021-02-01T02:45:18.964Z] de9db76c5a1d: Verifying Checksum [2021-02-01T02:45:18.964Z] de9db76c5a1d: Download complete [2021-02-01T02:45:18.964Z] 0ef7d3d256c8: Download complete [2021-02-01T02:45:19.238Z] 93359f2a8cfa: Verifying Checksum [2021-02-01T02:45:19.238Z] 93359f2a8cfa: Download complete [2021-02-01T02:45:19.238Z] 7c6f9722023f: Download complete [2021-02-01T02:45:19.238Z] 188c0c94c7c5: Verifying Checksum [2021-02-01T02:45:19.238Z] 188c0c94c7c5: Download complete [2021-02-01T02:45:19.848Z] 188c0c94c7c5: Pull complete [2021-02-01T02:45:20.187Z] 0ef7d3d256c8: Pull complete [2021-02-01T02:45:20.472Z] de9db76c5a1d: Pull complete [2021-02-01T02:45:22.483Z] a35cf1a2eb13: Verifying Checksum [2021-02-01T02:45:22.483Z] a35cf1a2eb13: Download complete [2021-02-01T02:45:25.955Z] bca2f99d35d6: Download complete [2021-02-01T02:45:34.317Z] bca2f99d35d6: Pull complete [2021-02-01T02:45:34.598Z] 93359f2a8cfa: Pull complete [2021-02-01T02:45:34.598Z] 7c6f9722023f: Pull complete [2021-02-01T02:45:41.002Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24268 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-02-01T02:45:41.063Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2021-02-01T02:45:41.459Z] a35cf1a2eb13: Pull complete [2021-02-01T02:45:41.459Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-01T02:45:41.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-01T02:45:41.459Z] ---> a62c8e92a672 [2021-02-01T02:45:41.459Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:45:41.459Z] ---> Running in b0f7b390b8d7 [2021-02-01T02:45:41.459Z] Removing intermediate container b0f7b390b8d7 [2021-02-01T02:45:41.459Z] ---> 48c744ad753a [2021-02-01T02:45:41.459Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:45:41.459Z] ---> Running in 5956ad8a2c69 [2021-02-01T02:45:42.964Z] Removing intermediate container 5956ad8a2c69 [2021-02-01T02:45:42.964Z] ---> 5634ae8c6984 [2021-02-01T02:45:42.964Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T02:45:42.964Z] ---> Running in 2d1692132253 [2021-02-01T02:45:44.463Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T02:45:45.427Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T02:45:46.468Z] OK: 166 MiB in 39 packages [2021-02-01T02:45:46.501Z] using credential edgex-jenkins-ssh [2021-02-01T02:45:46.555Z] Cloning the remote Git repository [2021-02-01T02:45:46.619Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:46.727Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2021-02-01T02:45:46.841Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:46.842Z] > git --version # timeout=10 [2021-02-01T02:45:46.862Z] > git --version # 'git version 2.17.1' [2021-02-01T02:45:46.864Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:46.931Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:45:47.458Z] Removing intermediate container 2d1692132253 [2021-02-01T02:45:47.458Z] ---> 7216721c06d6 [2021-02-01T02:45:47.458Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T02:45:47.458Z] ---> Running in f4e8f1f1f691 [2021-02-01T02:45:47.828Z] Removing intermediate container f4e8f1f1f691 [2021-02-01T02:45:47.828Z] ---> 21cc6f8ae81f [2021-02-01T02:45:47.828Z] Step 7/8 : COPY . . [2021-02-01T02:45:48.046Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:45:48.071Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:45:48.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:45:48.141Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:48.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:48.154Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T02:45:48.752Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-02-01T02:45:49.268Z] ---> c7efd8b0b645 [2021-02-01T02:45:49.268Z] Step 8/8 : RUN go mod download [2021-02-01T02:45:49.268Z] ---> Running in a2a4bd8e6ae4 [2021-02-01T02:45:49.312Z] Merge succeeded, producing 6c4fa3f5f6c0094bf591ca1e923c563f5164655f [2021-02-01T02:45:49.313Z] Checking out Revision 6c4fa3f5f6c0094bf591ca1e923c563f5164655f (PR-732) [2021-02-01T02:45:48.780Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:45:48.797Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-02-01T02:45:48.919Z] > git remote # timeout=10 [2021-02-01T02:45:49.001Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T02:45:49.056Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:49.083Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T02:45:49.273Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T02:45:49.323Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:45:49.342Z] > git checkout -f 6c4fa3f5f6c0094bf591ca1e923c563f5164655f # timeout=10 [2021-02-01T02:45:53.634Z] Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" [2021-02-01T02:45:53.663Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:45:53.643Z] > git rev-list --no-walk 48807053613575e78c4fa610d360d65e6f880de1 # timeout=10 [2021-02-01T02:45:55.189Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:45:55.645Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:45:56.000Z] + sudo service docker restart [2021-02-01T02:45:56.000Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:45:58.747Z] provisioning config files... [2021-02-01T02:45:58.798Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config8344912910346094837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:45:59.242Z] ---> docker-login.sh [2021-02-01T02:45:59.242Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:46:00.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:46:00.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:46:00.509Z] Configure a credential helper to remove this warning. See [2021-02-01T02:46:00.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:46:00.509Z] [2021-02-01T02:46:00.509Z] Login Succeeded [2021-02-01T02:46:00.509Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:46:01.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:46:01.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:46:01.116Z] Configure a credential helper to remove this warning. See [2021-02-01T02:46:01.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:46:01.116Z] [2021-02-01T02:46:01.116Z] Login Succeeded [2021-02-01T02:46:01.116Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:46:01.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:46:01.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:46:01.724Z] Configure a credential helper to remove this warning. See [2021-02-01T02:46:01.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:46:01.724Z] [2021-02-01T02:46:01.724Z] Login Succeeded [2021-02-01T02:46:01.724Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:46:02.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:46:02.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:46:02.295Z] Configure a credential helper to remove this warning. See [2021-02-01T02:46:02.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:46:02.295Z] [2021-02-01T02:46:02.295Z] Login Succeeded [2021-02-01T02:46:02.295Z] docker.io [2021-02-01T02:46:02.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:46:02.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:46:02.844Z] Configure a credential helper to remove this warning. See [2021-02-01T02:46:02.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:46:02.844Z] [2021-02-01T02:46:02.844Z] Login Succeeded [2021-02-01T02:46:03.119Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:46:03.137Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-01T02:46:03.581Z] ========================================================= [2021-02-01T02:46:03.581Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-01T02:46:03.581Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:46:03.961Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-01T02:46:04.561Z] Sending build context to Docker daemon 2.558MB [2021-02-01T02:46:04.561Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:46:04.561Z] Step 2/8 : FROM ${BASE} [2021-02-01T02:46:04.561Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-01T02:46:04.561Z] 5f621e34cdf4: Pulling fs layer [2021-02-01T02:46:04.561Z] a4357932f1b6: Pulling fs layer [2021-02-01T02:46:04.561Z] 18c013af1878: Pulling fs layer [2021-02-01T02:46:04.561Z] 00ac8860ef70: Pulling fs layer [2021-02-01T02:46:04.561Z] 63d7cb157983: Pulling fs layer [2021-02-01T02:46:04.561Z] b116817d02f9: Pulling fs layer [2021-02-01T02:46:04.561Z] 745a02a5169b: Pulling fs layer [2021-02-01T02:46:04.561Z] 00ac8860ef70: Waiting [2021-02-01T02:46:04.561Z] 63d7cb157983: Waiting [2021-02-01T02:46:04.561Z] b116817d02f9: Waiting [2021-02-01T02:46:04.561Z] 745a02a5169b: Waiting [2021-02-01T02:46:04.561Z] 18c013af1878: Download complete [2021-02-01T02:46:04.561Z] a4357932f1b6: Verifying Checksum [2021-02-01T02:46:04.561Z] a4357932f1b6: Download complete [2021-02-01T02:46:04.561Z] 63d7cb157983: Verifying Checksum [2021-02-01T02:46:04.561Z] 63d7cb157983: Download complete [2021-02-01T02:46:04.561Z] b116817d02f9: Verifying Checksum [2021-02-01T02:46:04.561Z] b116817d02f9: Download complete [2021-02-01T02:46:04.561Z] 5f621e34cdf4: Verifying Checksum [2021-02-01T02:46:04.561Z] 5f621e34cdf4: Download complete [2021-02-01T02:46:05.543Z] 5f621e34cdf4: Pull complete [2021-02-01T02:46:05.831Z] a4357932f1b6: Pull complete [2021-02-01T02:46:06.430Z] 18c013af1878: Pull complete [2021-02-01T02:46:07.026Z] 745a02a5169b: Verifying Checksum [2021-02-01T02:46:07.026Z] 745a02a5169b: Download complete [2021-02-01T02:46:08.003Z] 00ac8860ef70: Verifying Checksum [2021-02-01T02:46:08.003Z] 00ac8860ef70: Download complete [2021-02-01T02:46:16.326Z] Removing intermediate container a2a4bd8e6ae4 [2021-02-01T02:46:16.326Z] ---> e27c044982b3 [2021-02-01T02:46:16.326Z] Successfully built e27c044982b3 [2021-02-01T02:46:16.326Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:46:16.771Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T02:46:17.063Z] . [Pipeline] withDockerContainer [2021-02-01T02:46:17.835Z] prd-centos7-docker-4c-2g-24266 does not seem to be running inside a container [2021-02-01T02:46:18.154Z] 00ac8860ef70: Pull complete [2021-02-01T02:46:18.154Z] 63d7cb157983: Pull complete [2021-02-01T02:46:18.154Z] b116817d02f9: Pull complete [2021-02-01T02:46:18.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-01T02:46:19.914Z] $ docker top cfbe1ed02205c575a33cff9e0bad49df5d4d89408b98e94c6ca23095aba0664f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:46:20.658Z] + go version [2021-02-01T02:46:20.935Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-01T02:46:20.959Z] $ docker stop --time=1 cfbe1ed02205c575a33cff9e0bad49df5d4d89408b98e94c6ca23095aba0664f [2021-02-01T02:46:21.557Z] 745a02a5169b: Pull complete [2021-02-01T02:46:21.557Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-01T02:46:21.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-01T02:46:21.557Z] ---> b7e6874047d6 [2021-02-01T02:46:21.557Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:46:22.606Z] $ docker rm -f cfbe1ed02205c575a33cff9e0bad49df5d4d89408b98e94c6ca23095aba0664f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:46:23.617Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T02:46:23.617Z] . [Pipeline] withDockerContainer [2021-02-01T02:46:23.827Z] prd-centos7-docker-4c-2g-24266 does not seem to be running inside a container [2021-02-01T02:46:23.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-01T02:46:24.969Z] ---> Running in e5e101948bc1 [2021-02-01T02:46:24.969Z] Removing intermediate container e5e101948bc1 [2021-02-01T02:46:24.969Z] ---> 71a1bc628ed9 [2021-02-01T02:46:24.969Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:46:24.969Z] ---> Running in 7e569becd01f [2021-02-01T02:46:25.353Z] $ docker top fb39f5fff997df4b810d071fdfd1cca0189f1bb8c72b67facbbcea784337bfe0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:46:26.083Z] + make test [2021-02-01T02:46:26.083Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T02:46:27.606Z] Removing intermediate container 7e569becd01f [2021-02-01T02:46:27.606Z] ---> 0a8f57d3cb48 [2021-02-01T02:46:27.606Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T02:46:27.606Z] ---> Running in e3735cdd1c4f [2021-02-01T02:46:28.599Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T02:46:29.569Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T02:46:30.165Z] OK: 142 MiB in 39 packages [2021-02-01T02:46:31.634Z] Removing intermediate container e3735cdd1c4f [2021-02-01T02:46:31.634Z] ---> 87d67db8c75a [2021-02-01T02:46:31.634Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T02:46:31.634Z] ---> Running in f09e4bf42c97 [2021-02-01T02:46:32.245Z] Removing intermediate container f09e4bf42c97 [2021-02-01T02:46:32.245Z] ---> 5fb2b30ef769 [2021-02-01T02:46:32.245Z] Step 7/8 : COPY . . [2021-02-01T02:46:33.219Z] ---> 8c11e5d95874 [2021-02-01T02:46:33.220Z] Step 8/8 : RUN go mod download [2021-02-01T02:46:33.502Z] ---> Running in 0debfc1e4754 [2021-02-01T02:46:41.436Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T02:46:55.676Z] Removing intermediate container 0debfc1e4754 [2021-02-01T02:46:55.676Z] ---> 988be6b572fa [2021-02-01T02:46:55.676Z] Successfully built 988be6b572fa [2021-02-01T02:46:55.676Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:46:56.014Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T02:46:56.015Z] . [Pipeline] withDockerContainer [2021-02-01T02:46:56.253Z] prd-ubuntu18.04-docker-arm64-4c-16g-24268 does not seem to be running inside a container [2021-02-01T02:46:56.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-01T02:46:57.745Z] $ docker top ef3594c748c924f098667a0f0d25fa072de3f0e36a27a0c67e0d344d058ccff0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:46:58.775Z] + go version [2021-02-01T02:46:58.775Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-01T02:46:58.801Z] $ docker stop --time=1 ef3594c748c924f098667a0f0d25fa072de3f0e36a27a0c67e0d344d058ccff0 [2021-02-01T02:47:00.761Z] $ docker rm -f ef3594c748c924f098667a0f0d25fa072de3f0e36a27a0c67e0d344d058ccff0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:47:01.768Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T02:47:01.768Z] . [Pipeline] withDockerContainer [2021-02-01T02:47:02.029Z] prd-ubuntu18.04-docker-arm64-4c-16g-24268 does not seem to be running inside a container [2021-02-01T02:47:02.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-01T02:47:03.679Z] $ docker top 7b33415e6fcda1fa1c17a695820cfff7636ceb51394716e6fd52b35655de636a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:47:04.709Z] + make test [2021-02-01T02:47:04.709Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T02:47:14.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T02:47:14.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T02:47:14.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T02:47:14.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 19.4% of statements [2021-02-01T02:47:17.060Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.801s coverage: 97.1% of statements [2021-02-01T02:47:26.925Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T02:47:44.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.170s coverage: 9.4% of statements [2021-02-01T02:47:44.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.083s coverage: 21.7% of statements [2021-02-01T02:47:44.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T02:47:44.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.462s coverage: 43.6% of statements [2021-02-01T02:47:44.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T02:47:44.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.533s coverage: 66.5% of statements [2021-02-01T02:47:44.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-01T02:47:44.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T02:47:44.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T02:47:44.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T02:47:44.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.181s coverage: 53.8% of statements [2021-02-01T02:47:44.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T02:47:44.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T02:47:44.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.163s coverage: 25.2% of statements [2021-02-01T02:47:44.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.633s coverage: 83.5% of statements [2021-02-01T02:47:44.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.129s coverage: 4.2% of statements [2021-02-01T02:47:44.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T02:47:44.607Z] GO111MODULE=on go vet ./... [2021-02-01T02:48:07.181Z] gofmt -l . [2021-02-01T02:48:07.181Z] [ "`gofmt -l .`" = "" ] [2021-02-01T02:48:07.181Z] ./bin/test-attribution-txt.sh [2021-02-01T02:48:07.181Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T02:48:07.829Z] $ docker stop --time=1 fb39f5fff997df4b810d071fdfd1cca0189f1bb8c72b67facbbcea784337bfe0 [2021-02-01T02:48:09.968Z] $ docker rm -f fb39f5fff997df4b810d071fdfd1cca0189f1bb8c72b67facbbcea784337bfe0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:48:10.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T02:48:11.370Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-01T02:48:12.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T02:48:12.898Z] + ls -al . [2021-02-01T02:48:12.898Z] total 216 [2021-02-01T02:48:12.898Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 02:48 . [2021-02-01T02:48:12.898Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 1 02:45 .. [2021-02-01T02:48:12.898Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 1 02:45 bin [2021-02-01T02:48:12.898Z] -rw-r--r--. 1 jenkins jenkins 138370 Feb 1 02:47 coverage.out [2021-02-01T02:48:12.898Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 1 02:45 Dockerfile.build [2021-02-01T02:48:12.898Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 1 02:45 .dockerignore [2021-02-01T02:48:12.898Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 1 02:45 example [2021-02-01T02:48:12.898Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 1 02:45 .git [2021-02-01T02:48:12.898Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 1 02:45 .github [2021-02-01T02:48:12.898Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 1 02:45 .gitignore [2021-02-01T02:48:12.898Z] -rw-r--r--. 1 jenkins jenkins 514 Feb 1 02:48 go.mod [2021-02-01T02:48:12.898Z] -rw-r--r--. 1 jenkins jenkins 14191 Feb 1 02:48 go.sum [2021-02-01T02:48:12.898Z] drwxrwxr-x. 15 jenkins jenkins 211 Feb 1 02:45 internal [2021-02-01T02:48:12.898Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 1 02:45 Jenkinsfile [2021-02-01T02:48:12.898Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 1 02:45 LICENSE [2021-02-01T02:48:12.898Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 1 02:45 Makefile [2021-02-01T02:48:12.898Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 1 02:45 openapi [2021-02-01T02:48:12.898Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 1 02:45 pkg [2021-02-01T02:48:12.898Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 1 02:45 README.md [2021-02-01T02:48:12.898Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 1 02:45 RELEASE-NOTES.txt [2021-02-01T02:48:12.898Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 1 02:45 snap [2021-02-01T02:48:12.898Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 1 02:42 VERSION [2021-02-01T02:48:12.898Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 1 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:48:13.235Z] + docker build -t docker-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=111696ae154a71479e3b832929f739a02db6be30 --label arch=amd64 --label version=0.0.0 . [2021-02-01T02:48:13.877Z] Sending build context to Docker daemon 2.69MB [2021-02-01T02:48:13.877Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:48:13.877Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T02:48:13.877Z] ---> e27c044982b3 [2021-02-01T02:48:13.877Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T02:48:13.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T02:48:13.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T02:48:13.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T02:48:13.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 19.4% of statements [2021-02-01T02:48:13.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.172s coverage: 97.1% of statements [2021-02-01T02:48:14.482Z] ---> Running in f9c3fc80b1e3 [2021-02-01T02:48:14.748Z] Removing intermediate container f9c3fc80b1e3 [2021-02-01T02:48:14.748Z] ---> 6ecfdba05672 [2021-02-01T02:48:14.748Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T02:48:15.026Z] ---> Running in cda12327960d [2021-02-01T02:48:15.300Z] Removing intermediate container cda12327960d [2021-02-01T02:48:15.300Z] ---> 7461faa4e0c0 [2021-02-01T02:48:15.300Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:48:15.300Z] ---> Running in 52bf565808f6 [2021-02-01T02:48:15.572Z] Removing intermediate container 52bf565808f6 [2021-02-01T02:48:15.572Z] ---> 52db82b10cb3 [2021-02-01T02:48:15.572Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:48:15.572Z] ---> Running in d9525e765e6b [2021-02-01T02:48:17.060Z] Removing intermediate container d9525e765e6b [2021-02-01T02:48:17.060Z] ---> 2fcb5ca3d18b [2021-02-01T02:48:17.060Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T02:48:17.060Z] ---> Running in 2ddac24657d7 [2021-02-01T02:48:18.041Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T02:48:18.664Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T02:48:19.676Z] OK: 166 MiB in 39 packages [2021-02-01T02:48:20.293Z] Removing intermediate container 2ddac24657d7 [2021-02-01T02:48:20.293Z] ---> 066627c4cf27 [2021-02-01T02:48:20.293Z] Step 8/24 : COPY . . [2021-02-01T02:48:21.768Z] ---> ddd97e7ff7c3 [2021-02-01T02:48:21.768Z] Step 9/24 : RUN ${MAKE} [2021-02-01T02:48:21.768Z] ---> Running in 3873eb786741 [2021-02-01T02:48:22.410Z] CGO_ENABLED=0 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-02-01T02:48:40.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.121s coverage: 9.4% of statements [2021-02-01T02:48:40.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.142s coverage: 21.7% of statements [2021-02-01T02:48:40.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T02:48:40.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.572s coverage: 43.6% of statements [2021-02-01T02:48:40.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T02:48:40.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.764s coverage: 66.5% of statements [2021-02-01T02:48:40.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-01T02:48:40.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T02:48:40.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T02:48:40.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T02:48:40.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.181s coverage: 53.8% of statements [2021-02-01T02:48:40.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T02:48:40.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T02:48:40.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.182s coverage: 25.2% of statements [2021-02-01T02:48:40.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.769s coverage: 83.5% of statements [2021-02-01T02:48:40.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements [2021-02-01T02:48:40.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T02:48:40.802Z] GO111MODULE=on go vet ./... [2021-02-01T02:48:41.372Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T02:48:42.818Z] Removing intermediate container 3873eb786741 [2021-02-01T02:48:42.818Z] ---> b4c099276deb [2021-02-01T02:48:42.818Z] Step 10/24 : FROM scratch [2021-02-01T02:48:42.818Z] ---> [2021-02-01T02:48:42.818Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:48:43.105Z] ---> Running in 6ecafabd14c4 [2021-02-01T02:48:43.105Z] Removing intermediate container 6ecafabd14c4 [2021-02-01T02:48:43.105Z] ---> 2a7cb99c8a68 [2021-02-01T02:48:43.105Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T02:48:43.371Z] ---> Running in 12d0a5247a28 [2021-02-01T02:48:43.371Z] Removing intermediate container 12d0a5247a28 [2021-02-01T02:48:43.371Z] ---> eec7e804a519 [2021-02-01T02:48:43.371Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T02:48:43.643Z] ---> Running in 6a222b83898c [2021-02-01T02:48:43.643Z] Removing intermediate container 6a222b83898c [2021-02-01T02:48:43.643Z] ---> 3b029831a5cb [2021-02-01T02:48:43.643Z] Step 14/24 : WORKDIR / [2021-02-01T02:48:43.643Z] ---> Running in a0a6024b84be [2021-02-01T02:48:43.916Z] Removing intermediate container a0a6024b84be [2021-02-01T02:48:43.916Z] ---> 6b94231ec2d9 [2021-02-01T02:48:43.916Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T02:48:44.893Z] ---> 33128aafed3f [2021-02-01T02:48:44.893Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T02:48:45.174Z] ---> b8741251d03f [2021-02-01T02:48:45.174Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T02:48:45.454Z] ---> 61e4e08ce1f9 [2021-02-01T02:48:45.454Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T02:48:46.107Z] ---> 58c84a95754b [2021-02-01T02:48:46.107Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T02:48:46.741Z] ---> 5115395e08bd [2021-02-01T02:48:46.741Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T02:48:46.741Z] ---> Running in 5d62b1002440 [2021-02-01T02:48:47.017Z] Removing intermediate container 5d62b1002440 [2021-02-01T02:48:47.017Z] ---> 4d1692e89863 [2021-02-01T02:48:47.017Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T02:48:47.017Z] ---> Running in 4e91c8a6f8eb [2021-02-01T02:48:47.335Z] Removing intermediate container 4e91c8a6f8eb [2021-02-01T02:48:47.335Z] ---> eece7dca20da [2021-02-01T02:48:47.335Z] Step 22/24 : LABEL arch=amd64 [2021-02-01T02:48:47.641Z] ---> Running in cab55548e884 [2021-02-01T02:48:47.641Z] Removing intermediate container cab55548e884 [2021-02-01T02:48:47.641Z] ---> f78303ac9b43 [2021-02-01T02:48:47.641Z] Step 23/24 : LABEL git_sha=111696ae154a71479e3b832929f739a02db6be30 [2021-02-01T02:48:47.943Z] ---> Running in 09df294f8be9 [2021-02-01T02:48:48.260Z] Removing intermediate container 09df294f8be9 [2021-02-01T02:48:48.260Z] ---> 9e9debf4d455 [2021-02-01T02:48:48.260Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T02:48:48.260Z] ---> Running in c62c319dffe9 [2021-02-01T02:48:48.545Z] Removing intermediate container c62c319dffe9 [2021-02-01T02:48:48.545Z] ---> cc978a40254b [2021-02-01T02:48:48.545Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T02:48:48.545Z] Successfully built cc978a40254b [2021-02-01T02:48:48.545Z] Successfully tagged docker-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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-01T02:49:13.234Z] gofmt -l . [2021-02-01T02:49:13.832Z] [ "`gofmt -l .`" = "" ] [2021-02-01T02:49:14.105Z] ./bin/test-attribution-txt.sh [2021-02-01T02:49:15.091Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T02:49:15.712Z] $ docker stop --time=1 7b33415e6fcda1fa1c17a695820cfff7636ceb51394716e6fd52b35655de636a [2021-02-01T02:49:18.027Z] $ docker rm -f 7b33415e6fcda1fa1c17a695820cfff7636ceb51394716e6fd52b35655de636a [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:49:19.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T02:49:19.437Z] Warning: overwriting stash ‘coverage-report’ [2021-02-01T02:49:20.341Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:49:21.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T02:49:21.573Z] + ls -al . [2021-02-01T02:49:21.573Z] total 252 [2021-02-01T02:49:21.573Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 02:49 . [2021-02-01T02:49:21.573Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 .. [2021-02-01T02:49:21.573Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 02:45 .dockerignore [2021-02-01T02:49:21.573Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 02:45 .git [2021-02-01T02:49:21.573Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 02:45 .github [2021-02-01T02:49:21.573Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 1 02:45 .gitignore [2021-02-01T02:49:21.573Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 1 02:45 Dockerfile.build [2021-02-01T02:49:21.573Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 1 02:45 Jenkinsfile [2021-02-01T02:49:21.573Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 02:45 LICENSE [2021-02-01T02:49:21.573Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 1 02:45 Makefile [2021-02-01T02:49:21.573Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 1 02:45 README.md [2021-02-01T02:49:21.573Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 1 02:45 RELEASE-NOTES.txt [2021-02-01T02:49:21.573Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 02:42 VERSION [2021-02-01T02:49:21.573Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 02:45 bin [2021-02-01T02:49:21.573Z] -rw-r--r-- 1 jenkins jenkins 138371 Feb 1 02:48 coverage.out [2021-02-01T02:49:21.573Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 example [2021-02-01T02:49:21.573Z] -rw-r--r-- 1 jenkins jenkins 514 Feb 1 02:49 go.mod [2021-02-01T02:49:21.573Z] -rw-r--r-- 1 jenkins jenkins 14191 Feb 1 02:49 go.sum [2021-02-01T02:49:21.573Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 1 02:45 internal [2021-02-01T02:49:21.573Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 openapi [2021-02-01T02:49:21.573Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 02:45 pkg [2021-02-01T02:49:21.573Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 snap [2021-02-01T02:49:21.573Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:49:21.983Z] + docker build -t docker-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=111696ae154a71479e3b832929f739a02db6be30 --label arch=arm64 --label version=0.0.0 . [2021-02-01T02:49:22.605Z] Sending build context to Docker daemon 2.698MB [2021-02-01T02:49:22.605Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:49:22.605Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T02:49:22.605Z] ---> 988be6b572fa [2021-02-01T02:49:22.605Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T02:49:22.879Z] ---> Running in 93b82c230566 [2021-02-01T02:49:23.170Z] Removing intermediate container 93b82c230566 [2021-02-01T02:49:23.170Z] ---> 8e00f75e2179 [2021-02-01T02:49:23.170Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T02:49:23.442Z] ---> Running in d3b62baa3b43 [2021-02-01T02:49:24.035Z] Removing intermediate container d3b62baa3b43 [2021-02-01T02:49:24.035Z] ---> eb4deeece464 [2021-02-01T02:49:24.035Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:49:24.035Z] ---> Running in 23b44e6cfe1f [2021-02-01T02:49:24.630Z] Removing intermediate container 23b44e6cfe1f [2021-02-01T02:49:24.630Z] ---> 8070be001f9b [2021-02-01T02:49:24.630Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:49:24.630Z] ---> Running in 388ddad16e63 [2021-02-01T02:49:26.604Z] Removing intermediate container 388ddad16e63 [2021-02-01T02:49:26.604Z] ---> 99e055f22c9c [2021-02-01T02:49:26.604Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T02:49:26.885Z] ---> Running in 2583d31e925a [2021-02-01T02:49:27.858Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T02:49:29.281Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T02:49:31.250Z] OK: 142 MiB in 39 packages [2021-02-01T02:49:32.227Z] Removing intermediate container 2583d31e925a [2021-02-01T02:49:32.227Z] ---> b71ca9dc95a1 [2021-02-01T02:49:32.227Z] Step 8/24 : COPY . . [2021-02-01T02:49:33.663Z] ---> 2103706789e8 [2021-02-01T02:49:33.663Z] Step 9/24 : RUN ${MAKE} [2021-02-01T02:49:33.663Z] ---> Running in 24fbf4dc014f [2021-02-01T02:49:35.099Z] CGO_ENABLED=0 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-02-01T02:50:01.922Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T02:50:01.922Z] Removing intermediate container 24fbf4dc014f [2021-02-01T02:50:01.922Z] ---> 4330d96bbe26 [2021-02-01T02:50:01.922Z] Step 10/24 : FROM scratch [2021-02-01T02:50:01.922Z] ---> [2021-02-01T02:50:01.922Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:50:02.205Z] ---> Running in e86777e4baaf [2021-02-01T02:50:02.828Z] Removing intermediate container e86777e4baaf [2021-02-01T02:50:02.828Z] ---> 6150682f0d7c [2021-02-01T02:50:02.828Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T02:50:02.828Z] ---> Running in bd9be4503f29 [2021-02-01T02:50:03.100Z] Removing intermediate container bd9be4503f29 [2021-02-01T02:50:03.101Z] ---> cb7f9f1b9bf6 [2021-02-01T02:50:03.101Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T02:50:03.373Z] ---> Running in ef13dcd11d3f [2021-02-01T02:50:03.646Z] Removing intermediate container ef13dcd11d3f [2021-02-01T02:50:03.647Z] ---> 1cfb15ff5c70 [2021-02-01T02:50:03.647Z] Step 14/24 : WORKDIR / [2021-02-01T02:50:03.920Z] ---> Running in cdf78efc19db [2021-02-01T02:50:04.195Z] Removing intermediate container cdf78efc19db [2021-02-01T02:50:04.195Z] ---> ff60476a244c [2021-02-01T02:50:04.195Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T02:50:05.643Z] ---> 6956ed3fd3a9 [2021-02-01T02:50:05.643Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T02:50:05.936Z] ---> 4e712055a9f1 [2021-02-01T02:50:05.936Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T02:50:06.941Z] ---> 62e8482a8f6b [2021-02-01T02:50:06.941Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T02:50:07.554Z] ---> 6804f65cde62 [2021-02-01T02:50:07.554Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T02:50:08.169Z] ---> d5fad7c0aba9 [2021-02-01T02:50:08.169Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T02:50:08.448Z] ---> Running in 950937ded4ea [2021-02-01T02:50:08.724Z] Removing intermediate container 950937ded4ea [2021-02-01T02:50:08.724Z] ---> bbd9e4b81535 [2021-02-01T02:50:08.724Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T02:50:09.006Z] ---> Running in fb12a136dd7f [2021-02-01T02:50:09.284Z] Removing intermediate container fb12a136dd7f [2021-02-01T02:50:09.284Z] ---> 5df893071129 [2021-02-01T02:50:09.284Z] Step 22/24 : LABEL arch=arm64 [2021-02-01T02:50:09.557Z] ---> Running in dcd90ecae495 [2021-02-01T02:50:09.835Z] Removing intermediate container dcd90ecae495 [2021-02-01T02:50:09.835Z] ---> 76fcf3da2483 [2021-02-01T02:50:09.836Z] Step 23/24 : LABEL git_sha=111696ae154a71479e3b832929f739a02db6be30 [2021-02-01T02:50:10.110Z] ---> Running in 2bda1a0878f7 [2021-02-01T02:50:10.707Z] Removing intermediate container 2bda1a0878f7 [2021-02-01T02:50:10.707Z] ---> 44511bb984b1 [2021-02-01T02:50:10.707Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T02:50:10.707Z] ---> Running in a4d738d25166 [2021-02-01T02:50:11.302Z] Removing intermediate container a4d738d25166 [2021-02-01T02:50:11.302Z] ---> 8b6b3f3a7e5e [2021-02-01T02:50:11.302Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T02:50:11.302Z] Successfully built 8b6b3f3a7e5e [2021-02-01T02:50:11.302Z] Successfully tagged docker-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 [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] wrap [2021-02-01T02:50:14.064Z] provisioning config files... [2021-02-01T02:50:14.093Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3371383842317774085tmp [Pipeline] { [Pipeline] sh [2021-02-01T02:50:14.492Z] + set +x [2021-02-01T02:50:14.492Z] + curl -s https://codecov.io/bash [2021-02-01T02:50:14.492Z] + bash -s -- [2021-02-01T02:50:14.755Z] [2021-02-01T02:50:14.755Z] _____ _ [2021-02-01T02:50:14.755Z] / ____| | | [2021-02-01T02:50:14.755Z] | | ___ __| | ___ ___ _____ __ [2021-02-01T02:50:14.755Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-01T02:50:14.755Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-01T02:50:14.755Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-01T02:50:14.755Z] Bash-20210129-7c25fce [2021-02-01T02:50:14.755Z] [2021-02-01T02:50:14.755Z] [2021-02-01T02:50:14.755Z] ==> git version 2.24.3 found [2021-02-01T02:50:14.755Z] ==> 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-02-01T02:50:14.755Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-01T02:50:14.755Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-01T02:50:14.755Z] ==> Jenkins CI detected. [2021-02-01T02:50:14.755Z] project root: . [2021-02-01T02:50:14.755Z] --> token set from env [2021-02-01T02:50:14.755Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-01T02:50:14.755Z] ==> Running gcov in . (disable via -X gcov) [2021-02-01T02:50:14.755Z] ==> Python coveragepy not found [2021-02-01T02:50:14.755Z] ==> Searching for coverage reports in: [2021-02-01T02:50:14.755Z] + . [2021-02-01T02:50:14.755Z] -> Found 1 reports [2021-02-01T02:50:14.755Z] ==> Detecting git/mercurial file structure [2021-02-01T02:50:14.755Z] ==> Reading reports [2021-02-01T02:50:14.755Z] + ./coverage.out bytes=138371 [2021-02-01T02:50:14.755Z] ==> Appending adjustments [2021-02-01T02:50:14.755Z] https://docs.codecov.io/docs/fixing-reports [2021-02-01T02:50:15.333Z] + Found adjustments [2021-02-01T02:50:15.333Z] ==> Gzipping contents [2021-02-01T02:50:15.333Z] 24K /tmp/codecov.2akYi8.gz [2021-02-01T02:50:15.333Z] ==> Uploading reports [2021-02-01T02:50:15.333Z] url: https://codecov.io [2021-02-01T02:50:15.333Z] query: branch=PR-732&commit=111696ae154a71479e3b832929f739a02db6be30&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-02-01T02:50:15.333Z] -> Pinging Codecov [2021-02-01T02:50:15.333Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-732&commit=111696ae154a71479e3b832929f739a02db6be30&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-02-01T02:50:15.909Z] -> Uploading to [2021-02-01T02:50:15.909Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-01/7E55EF52A471D76F132DFD9A03CDDE97/111696ae154a71479e3b832929f739a02db6be30/91afbc3d-eca8-43da-8f56-292470906887.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T025015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d5519265d99a6e6bbcac2b73eeb03286559ec4cc31a4797ad1b0b97c36eaed2 [2021-02-01T02:50:15.909Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-01T02:50:15.909Z] Dload Upload Total Spent Left Speed [2021-02-01T02:50:16.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21741 0 0 100 21741 0 46732 --:--:-- --:--:-- --:--:-- 46754 [2021-02-01T02:50:16.172Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/111696ae154a71479e3b832929f739a02db6be30 [Pipeline] } [2021-02-01T02:50:16.188Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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-02-01T02:50:19.032Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:19.614Z] ---> package-listing.sh [2021-02-01T02:50:19.614Z] ++ facter osfamily [2021-02-01T02:50:19.614Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-01T02:50:19.614Z] + OS_FAMILY=redhat [2021-02-01T02:50:19.614Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-02-01T02:50:19.614Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-01T02:50:19.614Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-01T02:50:19.614Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-01T02:50:19.614Z] + PACKAGES=/tmp/packages_start.txt [2021-02-01T02:50:19.614Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-02-01T02:50:19.614Z] + PACKAGES=/tmp/packages_end.txt [2021-02-01T02:50:19.614Z] + case "${OS_FAMILY}" in [2021-02-01T02:50:19.614Z] + rpm -qa [2021-02-01T02:50:19.614Z] + sort [2021-02-01T02:50:24.956Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-01T02:50:24.956Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-01T02:50:24.956Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-01T02:50:24.956Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-02-01T02:50:24.956Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [2021-02-01T02:50:24.956Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo [2021-02-01T02:50:24.978Z] 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-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-01T02:50:25.282Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:50:25.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:50:25.597Z] [2021-02-01T02:50:25.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:50:25.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:50:25.951Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-01T02:50:25.951Z] df20fa9351a1: Pulling fs layer [2021-02-01T02:50:25.951Z] 36b3adc4ff6f: Pulling fs layer [2021-02-01T02:50:25.951Z] 8ad3a11d3b57: Pulling fs layer [2021-02-01T02:50:25.951Z] 46f8f816bc3b: Pulling fs layer [2021-02-01T02:50:25.951Z] 93b61091891f: Pulling fs layer [2021-02-01T02:50:25.951Z] 93b9cdb0e59b: Pulling fs layer [2021-02-01T02:50:25.951Z] 5e14af77c1be: Pulling fs layer [2021-02-01T02:50:25.951Z] 01666e4c0597: Pulling fs layer [2021-02-01T02:50:25.951Z] aa168da1d23b: Pulling fs layer [2021-02-01T02:50:25.951Z] 93b9cdb0e59b: Waiting [2021-02-01T02:50:25.951Z] 46f8f816bc3b: Waiting [2021-02-01T02:50:25.951Z] 93b61091891f: Waiting [2021-02-01T02:50:25.951Z] 5e14af77c1be: Waiting [2021-02-01T02:50:25.951Z] aa168da1d23b: Waiting [2021-02-01T02:50:25.951Z] 36b3adc4ff6f: Download complete [2021-02-01T02:50:25.951Z] 46f8f816bc3b: Download complete [2021-02-01T02:50:25.951Z] df20fa9351a1: Download complete [2021-02-01T02:50:26.218Z] 93b9cdb0e59b: Verifying Checksum [2021-02-01T02:50:26.218Z] 93b9cdb0e59b: Download complete [2021-02-01T02:50:26.218Z] 5e14af77c1be: Download complete [2021-02-01T02:50:26.218Z] 01666e4c0597: Verifying Checksum [2021-02-01T02:50:26.218Z] 01666e4c0597: Download complete [2021-02-01T02:50:26.218Z] 93b61091891f: Verifying Checksum [2021-02-01T02:50:26.218Z] 93b61091891f: Download complete [2021-02-01T02:50:26.218Z] 8ad3a11d3b57: Verifying Checksum [2021-02-01T02:50:26.218Z] 8ad3a11d3b57: Download complete [2021-02-01T02:50:26.500Z] df20fa9351a1: Pull complete [2021-02-01T02:50:26.770Z] 36b3adc4ff6f: Pull complete [2021-02-01T02:50:28.730Z] 8ad3a11d3b57: Pull complete [2021-02-01T02:50:28.730Z] aa168da1d23b: Download complete [2021-02-01T02:50:28.730Z] 46f8f816bc3b: Pull complete [2021-02-01T02:50:29.318Z] 93b61091891f: Pull complete [2021-02-01T02:50:29.318Z] 93b9cdb0e59b: Pull complete [2021-02-01T02:50:29.584Z] 5e14af77c1be: Pull complete [2021-02-01T02:50:29.584Z] 01666e4c0597: Pull complete [2021-02-01T02:50:37.801Z] aa168da1d23b: Pull complete [2021-02-01T02:50:37.801Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-01T02:50:37.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:50:37.801Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-01T02:50:38.104Z] prd-centos7-docker-4c-2g-24260 does not seem to be running inside a container [2021-02-01T02:50:38.162Z] $ 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-732/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-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-01T02:50:42.405Z] $ docker top c519af2b8d5ee79234ed666e1d4235a4700a2e93b057171d82dc19b01fb00bcb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:50:42.934Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-01T02:50:43.238Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-01T02:50:43.552Z] + ls /var/log/sa-host [2021-02-01T02:50:43.552Z] + sadf -c /var/log/sa-host/sa01 [2021-02-01T02:50:43.552Z] file_magic: OK [2021-02-01T02:50:43.552Z] HZ: Using current value: 100 [2021-02-01T02:50:43.552Z] file_header: OK [2021-02-01T02:50:43.552Z] 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-02-01T02:50:43.552Z] Statistics: [2021-02-01T02:50:43.552Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-01T02:50:43.552Z] File successfully converted to sysstat format version 12.2.1 [2021-02-01T02:50:43.552Z] + sadf -c /var/log/sa-host/sa23 [2021-02-01T02:50:43.552Z] file_magic: OK [2021-02-01T02:50:43.552Z] HZ: Using current value: 100 [2021-02-01T02:50:43.552Z] file_header: OK [2021-02-01T02:50:43.552Z] 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-02-01T02:50:43.552Z] Statistics: [2021-02-01T02:50:43.552Z] Hnuu...uuuununununu... [2021-02-01T02:50:43.552Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-01T02:50:43.772Z] provisioning config files... [2021-02-01T02:50:43.788Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config7426861795753306494tmp [Pipeline] { [Pipeline] echo [2021-02-01T02:50:43.870Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:44.180Z] ---> create-netrc.sh [Pipeline] } [2021-02-01T02:50:44.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-01T02:50:44.282Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:44.588Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-01T02:50:44.600Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:44.900Z] ---> sudo-logs.sh [2021-02-01T02:50:44.900Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-01T02:50:44.912Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:45.217Z] ---> job-cost.sh [2021-02-01T02:50:45.217Z] lf-activate-venv: SKIPPING [2021-02-01T02:50:45.217Z] INFO: No Stack... [2021-02-01T02:50:46.183Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-01T02:50:46.758Z] INFO: Archiving Costs [Pipeline] echo [2021-02-01T02:50:46.771Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:47.067Z] ---> logs-deploy.sh [2021-02-01T02:50:47.067Z] lf-activate-venv: SKIPPING [2021-02-01T02:50:47.067Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/10 [2021-02-01T02:50:47.067Z] INFO: archiving workspace using pattern(s): [2021-02-01T02:50:49.015Z] Archives upload complete. [2021-02-01T02:50:49.016Z] INFO: archiving logs to Nexus [2021-02-01T02:50:50.428Z] ---> uname -a: [2021-02-01T02:50:50.428Z] Linux prd-centos7-docker-4c-2g-24260.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-02-01T02:50:50.428Z] [2021-02-01T02:50:50.428Z] [2021-02-01T02:50:50.428Z] ---> lscpu: [2021-02-01T02:50:50.428Z] Architecture: x86_64 [2021-02-01T02:50:50.428Z] CPU op-mode(s): 32-bit, 64-bit [2021-02-01T02:50:50.428Z] Byte Order: Little Endian [2021-02-01T02:50:50.428Z] Address sizes: 40 bits physical, 48 bits virtual [2021-02-01T02:50:50.428Z] CPU(s): 4 [2021-02-01T02:50:50.428Z] On-line CPU(s) list: 0-3 [2021-02-01T02:50:50.428Z] Thread(s) per core: 1 [2021-02-01T02:50:50.428Z] Core(s) per socket: 1 [2021-02-01T02:50:50.428Z] Socket(s): 4 [2021-02-01T02:50:50.428Z] NUMA node(s): 1 [2021-02-01T02:50:50.428Z] Vendor ID: GenuineIntel [2021-02-01T02:50:50.428Z] CPU family: 6 [2021-02-01T02:50:50.428Z] Model: 44 [2021-02-01T02:50:50.428Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-02-01T02:50:50.428Z] Stepping: 1 [2021-02-01T02:50:50.428Z] CPU MHz: 2933.438 [2021-02-01T02:50:50.428Z] BogoMIPS: 5866.87 [2021-02-01T02:50:50.428Z] Virtualization: VT-x [2021-02-01T02:50:50.428Z] Hypervisor vendor: KVM [2021-02-01T02:50:50.428Z] Virtualization type: full [2021-02-01T02:50:50.428Z] L1d cache: 128 KiB [2021-02-01T02:50:50.428Z] L1i cache: 128 KiB [2021-02-01T02:50:50.428Z] L2 cache: 16 MiB [2021-02-01T02:50:50.428Z] L3 cache: 64 MiB [2021-02-01T02:50:50.428Z] NUMA node0 CPU(s): 0-3 [2021-02-01T02:50:50.428Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-02-01T02:50:50.428Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-02-01T02:50:50.428Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-02-01T02:50:50.428Z] Vulnerability Meltdown: Mitigation; PTI [2021-02-01T02:50:50.428Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-02-01T02:50:50.428Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-02-01T02:50:50.428Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-02-01T02:50:50.428Z] Vulnerability Srbds: Not affected [2021-02-01T02:50:50.428Z] Vulnerability Tsx async abort: Not affected [2021-02-01T02:50:50.428Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-02-01T02:50:50.428Z] [2021-02-01T02:50:50.428Z] [2021-02-01T02:50:50.428Z] ---> nproc: [2021-02-01T02:50:50.428Z] 4 [2021-02-01T02:50:50.428Z] [2021-02-01T02:50:50.428Z] [2021-02-01T02:50:50.428Z] ---> df -h: [2021-02-01T02:50:50.428Z] Filesystem Size Used Available Use% Mounted on [2021-02-01T02:50:50.428Z] overlay 50.0G 7.3G 42.7G 15% / [2021-02-01T02:50:50.428Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-02-01T02:50:50.428Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-02-01T02:50:50.428Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-02-01T02:50:50.428Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-02-01T02:50:50.428Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-02-01T02:50:50.429Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-02-01T02:50:50.429Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-02-01T02:50:50.429Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-02-01T02:50:50.429Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-02-01T02:50:50.429Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp [2021-02-01T02:50:50.429Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-02-01T02:50:50.429Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-02-01T02:50:50.429Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-02-01T02:50:50.429Z] [2021-02-01T02:50:50.429Z] [2021-02-01T02:50:50.429Z] ---> free -m: [2021-02-01T02:50:50.429Z] total used free shared buff/cache available [2021-02-01T02:50:50.429Z] Mem: 1837 717 107 0 1012 1014 [2021-02-01T02:50:50.429Z] Swap: 1023 1 1022 [2021-02-01T02:50:50.429Z] [2021-02-01T02:50:50.429Z]