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 d47b03cf12e2f169eefdaad978a8d5668b399891 rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from d47b03cf12e2f169eefdaad978a8d5668b399891 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-21046 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 d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c > 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 Merge succeeded, producing 1204a9500ff0c8c746a195a3f0774d96d98a6e6f Checking out Revision 1204a9500ff0c8c746a195a3f0774d96d98a6e6f (PR-732) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1204a9500ff0c8c746a195a3f0774d96d98a6e6f # timeout=10 Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-19T02:42:43.151Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-19T02:42:43.398Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-19T02:42:43.493Z] ========================================================= [2021-01-19T02:42:43.493Z] EdgeX Global Pipelines Version Info [2021-01-19T02:42:43.493Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 54903d81de16e04aa6173ce8aa56354737f9ea07 # timeout=10 [2021-01-19T02:42:45.490Z] ------------------- [2021-01-19T02:42:45.490Z] stable info: [2021-01-19T02:42:45.490Z] ------------------- [2021-01-19T02:42:45.490Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T02:42:45.490Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-19T02:42:45.490Z] Message: update stable to v1.0.177 [2021-01-19T02:42:46.068Z] ------------------- [2021-01-19T02:42:46.068Z] experimental info: [2021-01-19T02:42:46.068Z] ------------------- [2021-01-19T02:42:46.068Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-19T02:42:46.068Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-19T02:42:46.068Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-19T02:42:46.341Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-19T02:42:46.424Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-19T02:42:46.529Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-19T02:42:46.612Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-19T02:42:46.699Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-19T02:42:46.793Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-19T02:42:46.892Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-19T02:42:46.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-19T02:42:47.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-19T02:42:47.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-19T02:42:47.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-19T02:42:47.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-19T02:42:47.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-19T02:42:47.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-19T02:42:47.637Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-19T02:42:47.818Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:42:47.916Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:42:48.005Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:42:48.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-19T02:42:48.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-19T02:42:48.312Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-19T02:42:48.432Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-19T02:42:48.529Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-19T02:42:48.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-19T02:42:48.709Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-19T02:42:48.791Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-19T02:42:48.876Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-19T02:42:48.967Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo [2021-01-19T02:42:49.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo [2021-01-19T02:42:49.138Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo [2021-01-19T02:42:49.221Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1204a9500ff0c8c746a195a3f0774d96d98a6e6f [Pipeline] echo [2021-01-19T02:42:49.306Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1204a95 [Pipeline] echo [2021-01-19T02:42:49.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:42:49.554Z] provisioning config files... [2021-01-19T02:42:49.586Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config622224459750468617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:42:49.956Z] ---> docker-login.sh [2021-01-19T02:42:49.956Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:42:50.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:42:50.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:42:50.500Z] Configure a credential helper to remove this warning. See [2021-01-19T02:42:50.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:42:50.500Z] [2021-01-19T02:42:50.500Z] Login Succeeded [2021-01-19T02:42:50.500Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:42:50.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:42:50.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:42:50.767Z] Configure a credential helper to remove this warning. See [2021-01-19T02:42:50.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:42:50.767Z] [2021-01-19T02:42:50.767Z] Login Succeeded [2021-01-19T02:42:50.767Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:42:50.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:42:51.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:42:51.031Z] Configure a credential helper to remove this warning. See [2021-01-19T02:42:51.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:42:51.031Z] [2021-01-19T02:42:51.031Z] Login Succeeded [2021-01-19T02:42:51.031Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:42:51.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:42:51.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:42:51.031Z] Configure a credential helper to remove this warning. See [2021-01-19T02:42:51.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:42:51.031Z] [2021-01-19T02:42:51.031Z] Login Succeeded [2021-01-19T02:42:51.295Z] docker.io [2021-01-19T02:42:51.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:42:51.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:42:51.561Z] Configure a credential helper to remove this warning. See [2021-01-19T02:42:51.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:42:51.561Z] [2021-01-19T02:42:51.561Z] Login Succeeded [2021-01-19T02:42:51.561Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:42:51.574Z] 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-01-19T02:42:52.407Z] + git log --format=format:%s -1 1204a9500ff0c8c746a195a3f0774d96d98a6e6f [Pipeline] echo [2021-01-19T02:42:52.486Z] GIT_COMMIT: 1204a9500ff0c8c746a195a3f0774d96d98a6e6f, Commit Message: Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD [Pipeline] echo [2021-01-19T02:42:52.531Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:42:53.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:42:53.133Z] [2021-01-19T02:42:53.133Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:42:53.493Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:42:53.493Z] latest: Pulling from edgex-devops/git-semver [2021-01-19T02:42:53.493Z] 31603596830f: Pulling fs layer [2021-01-19T02:42:53.493Z] 2a8b12db71e7: Pulling fs layer [2021-01-19T02:42:53.493Z] 6ca5941a6612: Pulling fs layer [2021-01-19T02:42:53.493Z] ecc8261a40a4: Pulling fs layer [2021-01-19T02:42:53.493Z] ecc8261a40a4: Waiting [2021-01-19T02:42:53.493Z] 2a8b12db71e7: Verifying Checksum [2021-01-19T02:42:53.493Z] 2a8b12db71e7: Download complete [2021-01-19T02:42:53.762Z] ecc8261a40a4: Verifying Checksum [2021-01-19T02:42:53.762Z] ecc8261a40a4: Download complete [2021-01-19T02:42:53.762Z] 6ca5941a6612: Verifying Checksum [2021-01-19T02:42:53.762Z] 6ca5941a6612: Download complete [2021-01-19T02:42:53.762Z] 31603596830f: Verifying Checksum [2021-01-19T02:42:53.762Z] 31603596830f: Download complete [2021-01-19T02:42:54.345Z] 31603596830f: Pull complete [2021-01-19T02:42:54.608Z] 2a8b12db71e7: Pull complete [2021-01-19T02:42:55.574Z] 6ca5941a6612: Pull complete [2021-01-19T02:42:55.839Z] ecc8261a40a4: Pull complete [2021-01-19T02:42:55.839Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-19T02:42:55.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:42:55.839Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-19T02:42:55.947Z] prd-centos7-docker-4c-2g-21046 does not seem to be running inside a container [2021-01-19T02:42:56.009Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T02:42:57.863Z] $ docker top 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T02:42:58.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T02:42:58.180Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T02:42:58.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T02:42:58.420Z] $ docker exec 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef ssh-agent [2021-01-19T02:42:58.604Z] SSH_AUTH_SOCK=/tmp/ssh-vUVBpyUpJMpn/agent.12 [2021-01-19T02:42:58.604Z] SSH_AGENT_PID=17 [2021-01-19T02:42:58.615Z] Running ssh-add (command line suppressed) [2021-01-19T02:42:58.746Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_699073530362021438.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_699073530362021438.key) [2021-01-19T02:42:58.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T02:42:59.150Z] + git tag --points-at HEAD [Pipeline] } [2021-01-19T02:42:59.190Z] $ docker exec --env ******** --env ******** 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef ssh-agent -k [2021-01-19T02:42:59.319Z] unset SSH_AUTH_SOCK; [2021-01-19T02:42:59.320Z] unset SSH_AGENT_PID; [2021-01-19T02:42:59.320Z] echo Agent pid 17 killed; [2021-01-19T02:42:59.383Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-19T02:42:59.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T02:42:59.534Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T02:42:59.741Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T02:42:59.746Z] $ docker exec 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef ssh-agent [2021-01-19T02:42:59.920Z] SSH_AUTH_SOCK=/tmp/ssh-ndnKw9WyV3Rr/agent.46 [2021-01-19T02:42:59.920Z] SSH_AGENT_PID=51 [2021-01-19T02:42:59.928Z] Running ssh-add (command line suppressed) [2021-01-19T02:43:00.063Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_1634284030388056638.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_1634284030388056638.key) [2021-01-19T02:43:00.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T02:43:00.459Z] + git semver init [2021-01-19T02:43:00.459Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T02:43:00.459Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git [2021-01-19T02:43:00.459Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-01-19T02:43:00.459Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T02:43:00.459Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T02:43:00.459Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T02:43:00.459Z] # $SEMVER_BRANCH = PR-732 [2021-01-19T02:43:00.459Z] # $SEMVER_TEMP = /tmp/semver-685387449 [2021-01-19T02:43:00.459Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-19T02:43:01.433Z] # '/tmp/semver-685387449' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' [2021-01-19T02:43:01.433Z] # -> Force: false [2021-01-19T02:43:01.433Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } [2021-01-19T02:43:01.450Z] $ docker exec --env ******** --env ******** 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef ssh-agent -k [2021-01-19T02:43:01.577Z] unset SSH_AUTH_SOCK; [2021-01-19T02:43:01.577Z] unset SSH_AGENT_PID; [2021-01-19T02:43:01.577Z] echo Agent pid 51 killed; [2021-01-19T02:43:01.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T02:43:02.283Z] + git semver [Pipeline] } [2021-01-19T02:43:02.308Z] $ docker stop --time=1 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef [2021-01-19T02:43:04.036Z] $ docker rm -f 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:43:04.509Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-19T02:43:05.075Z] Stashed 1 file(s) [Pipeline] echo [2021-01-19T02:43:05.078Z] [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-01-19T02:43:20.561Z] Still waiting to schedule task [2021-01-19T02:43:20.561Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21049’ is offline; ‘prd-centos7-docker-4c-2g-21050’ is offline; ‘prd-centos7-docker-4c-2g-21051’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-19T02:43:20.563Z] Still waiting to schedule task [2021-01-19T02:43:20.563Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-19T02:44:17.124Z] Running on prd-centos7-docker-4c-2g-21052 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-01-19T02:44:17.177Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-19T02:44:19.621Z] using credential edgex-jenkins-ssh [2021-01-19T02:44:19.672Z] Cloning the remote Git repository [2021-01-19T02:44:19.698Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:44:19.767Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-19T02:44:19.825Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:44:19.825Z] > git --version # timeout=10 [2021-01-19T02:44:19.831Z] > git --version # 'git version 2.24.3' [2021-01-19T02:44:19.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:44:19.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:44:20.628Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:44:20.637Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:44:20.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:44:20.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:44:20.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:44:20.669Z] > 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-01-19T02:44:21.184Z] Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-01-19T02:44:21.352Z] Merge succeeded, producing 0f7c6e3383767b591841856c62c3bd768e236b05 [2021-01-19T02:44:21.353Z] Checking out Revision 0f7c6e3383767b591841856c62c3bd768e236b05 (PR-732) [2021-01-19T02:44:21.192Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:44:21.197Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-01-19T02:44:21.253Z] > git remote # timeout=10 [2021-01-19T02:44:21.258Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T02:44:21.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:44:21.268Z] > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-19T02:44:21.337Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T02:44:21.356Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:44:21.362Z] > git checkout -f 0f7c6e3383767b591841856c62c3bd768e236b05 # timeout=10 [2021-01-19T02:44:25.115Z] Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" [2021-01-19T02:44:25.127Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-01-19T02:44:25.119Z] > git rev-list --no-walk 54903d81de16e04aa6173ce8aa56354737f9ea07 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:44:26.738Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:44:27.074Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:44:27.388Z] + sudo service docker restart [2021-01-19T02:44:27.388Z] + true [2021-01-19T02:44:27.388Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:44:28.862Z] provisioning config files... [2021-01-19T02:44:28.894Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1651723296660435199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:44:29.283Z] ---> docker-login.sh [2021-01-19T02:44:29.284Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:44:29.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:29.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:29.549Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:29.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:29.549Z] [2021-01-19T02:44:29.549Z] Login Succeeded [2021-01-19T02:44:29.549Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:44:29.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:29.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:29.814Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:29.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:29.814Z] [2021-01-19T02:44:29.814Z] Login Succeeded [2021-01-19T02:44:29.814Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:44:30.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:30.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:30.083Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:30.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:30.083Z] [2021-01-19T02:44:30.083Z] Login Succeeded [2021-01-19T02:44:30.083Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:44:30.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:30.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:30.349Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:30.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:30.349Z] [2021-01-19T02:44:30.349Z] Login Succeeded [2021-01-19T02:44:30.349Z] docker.io [2021-01-19T02:44:30.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:30.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:30.613Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:30.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:30.613Z] [2021-01-19T02:44:30.613Z] Login Succeeded [2021-01-19T02:44:30.613Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:44:30.626Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T02:44:31.027Z] ========================================================= [2021-01-19T02:44:31.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-19T02:44:31.027Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:44:31.379Z] + 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-01-19T02:44:31.643Z] Sending build context to Docker daemon 2.577MB [2021-01-19T02:44:31.643Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:44:31.643Z] Step 2/8 : FROM ${BASE} [2021-01-19T02:44:31.643Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-19T02:44:31.643Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T02:44:31.643Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T02:44:31.643Z] de9db76c5a1d: Pulling fs layer [2021-01-19T02:44:31.643Z] bca2f99d35d6: Pulling fs layer [2021-01-19T02:44:31.643Z] 93359f2a8cfa: Pulling fs layer [2021-01-19T02:44:31.643Z] 7c6f9722023f: Pulling fs layer [2021-01-19T02:44:31.643Z] a35cf1a2eb13: Pulling fs layer [2021-01-19T02:44:31.643Z] 7c6f9722023f: Waiting [2021-01-19T02:44:31.643Z] bca2f99d35d6: Waiting [2021-01-19T02:44:31.643Z] 93359f2a8cfa: Waiting [2021-01-19T02:44:31.643Z] a35cf1a2eb13: Waiting [2021-01-19T02:44:31.643Z] de9db76c5a1d: Verifying Checksum [2021-01-19T02:44:31.643Z] de9db76c5a1d: Download complete [2021-01-19T02:44:31.643Z] 0ef7d3d256c8: Verifying Checksum [2021-01-19T02:44:31.643Z] 0ef7d3d256c8: Download complete [2021-01-19T02:44:31.643Z] 93359f2a8cfa: Verifying Checksum [2021-01-19T02:44:31.643Z] 93359f2a8cfa: Download complete [2021-01-19T02:44:31.643Z] 7c6f9722023f: Verifying Checksum [2021-01-19T02:44:31.643Z] 7c6f9722023f: Download complete [2021-01-19T02:44:31.643Z] 188c0c94c7c5: Verifying Checksum [2021-01-19T02:44:31.643Z] 188c0c94c7c5: Download complete [2021-01-19T02:44:32.220Z] 188c0c94c7c5: Pull complete [2021-01-19T02:44:32.220Z] 0ef7d3d256c8: Pull complete [2021-01-19T02:44:32.485Z] de9db76c5a1d: Pull complete [2021-01-19T02:44:33.885Z] a35cf1a2eb13: Verifying Checksum [2021-01-19T02:44:33.885Z] a35cf1a2eb13: Download complete [2021-01-19T02:44:34.471Z] bca2f99d35d6: Verifying Checksum [2021-01-19T02:44:34.471Z] bca2f99d35d6: Download complete [2021-01-19T02:44:41.129Z] bca2f99d35d6: Pull complete [2021-01-19T02:44:41.129Z] 93359f2a8cfa: Pull complete [2021-01-19T02:44:41.129Z] 7c6f9722023f: Pull complete [2021-01-19T02:44:45.407Z] a35cf1a2eb13: Pull complete [2021-01-19T02:44:45.407Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-19T02:44:45.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-19T02:44:45.407Z] ---> a62c8e92a672 [2021-01-19T02:44:45.407Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:44:45.672Z] ---> Running in 21a02d6016ed [2021-01-19T02:44:45.940Z] Removing intermediate container 21a02d6016ed [2021-01-19T02:44:45.940Z] ---> 0db0b2c4e3cf [2021-01-19T02:44:45.940Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:44:45.940Z] ---> Running in 1318789b09b0 [2021-01-19T02:44:46.905Z] Removing intermediate container 1318789b09b0 [2021-01-19T02:44:46.905Z] ---> ee1dc1ad3b85 [2021-01-19T02:44:46.905Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T02:44:47.174Z] ---> Running in c73f17c66158 [2021-01-19T02:44:48.127Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T02:44:48.704Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T02:44:48.969Z] OK: 166 MiB in 39 packages [2021-01-19T02:44:49.548Z] Removing intermediate container c73f17c66158 [2021-01-19T02:44:49.548Z] ---> 742da228f18a [2021-01-19T02:44:49.548Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T02:44:49.548Z] ---> Running in 23b0e4b3aa67 [2021-01-19T02:44:49.812Z] Removing intermediate container 23b0e4b3aa67 [2021-01-19T02:44:49.812Z] ---> 8f49a6f26c61 [2021-01-19T02:44:49.812Z] Step 7/8 : COPY . . [2021-01-19T02:44:51.215Z] ---> 9c724bafefc5 [2021-01-19T02:44:51.215Z] Step 8/8 : RUN go mod download [2021-01-19T02:44:51.215Z] ---> Running in 8ee953462fd2 [2021-01-19T02:45:09.586Z] Removing intermediate container 8ee953462fd2 [2021-01-19T02:45:09.586Z] ---> 2fae11df4f97 [2021-01-19T02:45:09.586Z] Successfully built 2fae11df4f97 [2021-01-19T02:45:09.586Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:45:10.168Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T02:45:10.431Z] . [Pipeline] withDockerContainer [2021-01-19T02:45:10.672Z] prd-centos7-docker-4c-2g-21052 does not seem to be running inside a container [2021-01-19T02:45:10.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-19T02:45:11.921Z] $ docker top 83cb9e88e4819cd1b398a72bdef706871d6fe8157280627c96e475af3d1dbe75 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:45:12.475Z] + go version [2021-01-19T02:45:12.475Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-19T02:45:12.496Z] $ docker stop --time=1 83cb9e88e4819cd1b398a72bdef706871d6fe8157280627c96e475af3d1dbe75 [2021-01-19T02:45:13.831Z] $ docker rm -f 83cb9e88e4819cd1b398a72bdef706871d6fe8157280627c96e475af3d1dbe75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:45:14.645Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T02:45:14.645Z] . [Pipeline] withDockerContainer [2021-01-19T02:45:14.776Z] prd-centos7-docker-4c-2g-21052 does not seem to be running inside a container [2021-01-19T02:45:14.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-19T02:45:15.426Z] $ docker top fb78d6fa1b24ed9d77e23e5551f60aabd6cd4e7f5ab2755d61bf9abae60741aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:45:15.915Z] + make test [2021-01-19T02:45:15.915Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T02:45:24.168Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T02:45:42.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T02:45:42.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T02:45:42.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T02:45:42.546Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 19.4% of statements [2021-01-19T02:45:46.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.518s coverage: 97.1% of statements [2021-01-19T02:45:48.975Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21055 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-01-19T02:45:49.037Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-19T02:45:54.662Z] using credential edgex-jenkins-ssh [2021-01-19T02:45:54.724Z] Cloning the remote Git repository [2021-01-19T02:45:54.807Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:45:54.938Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-19T02:45:55.056Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:45:55.057Z] > git --version # timeout=10 [2021-01-19T02:45:55.086Z] > git --version # 'git version 2.17.1' [2021-01-19T02:45:55.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:45:55.154Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:45:56.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:45:56.402Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:45:56.435Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:45:56.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:45:56.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:45:56.504Z] > 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-01-19T02:45:57.177Z] Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-01-19T02:45:57.713Z] Merge succeeded, producing ac3e514e64ace8225a868521ef768bad021b7a80 [2021-01-19T02:45:57.714Z] Checking out Revision ac3e514e64ace8225a868521ef768bad021b7a80 (PR-732) [2021-01-19T02:45:57.201Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:45:57.235Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-01-19T02:45:57.374Z] > git remote # timeout=10 [2021-01-19T02:45:57.448Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T02:45:57.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:45:57.493Z] > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-19T02:45:57.697Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T02:45:57.723Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:45:57.735Z] > git checkout -f ac3e514e64ace8225a868521ef768bad021b7a80 # timeout=10 [2021-01-19T02:46:02.330Z] Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" [2021-01-19T02:46:02.357Z] First time build. Skipping changelog. [2021-01-19T02:46:02.342Z] > git rev-list --no-walk 54903d81de16e04aa6173ce8aa56354737f9ea07 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:46:04.034Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:46:04.583Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:46:04.962Z] + sudo service docker restart [2021-01-19T02:46:04.962Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:46:07.680Z] provisioning config files... [2021-01-19T02:46:07.724Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1681081786674605461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:46:08.140Z] ---> docker-login.sh [2021-01-19T02:46:08.141Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:46:09.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:46:09.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:46:09.414Z] Configure a credential helper to remove this warning. See [2021-01-19T02:46:09.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:46:09.414Z] [2021-01-19T02:46:09.414Z] Login Succeeded [2021-01-19T02:46:09.414Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:46:10.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:46:10.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:46:10.016Z] Configure a credential helper to remove this warning. See [2021-01-19T02:46:10.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:46:10.016Z] [2021-01-19T02:46:10.016Z] Login Succeeded [2021-01-19T02:46:10.016Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:46:10.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:46:10.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:46:10.626Z] Configure a credential helper to remove this warning. See [2021-01-19T02:46:10.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:46:10.626Z] [2021-01-19T02:46:10.626Z] Login Succeeded [2021-01-19T02:46:10.626Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:46:10.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:46:11.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:46:11.181Z] Configure a credential helper to remove this warning. See [2021-01-19T02:46:11.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:46:11.181Z] [2021-01-19T02:46:11.181Z] Login Succeeded [2021-01-19T02:46:11.181Z] docker.io [2021-01-19T02:46:11.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:46:12.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:46:12.056Z] Configure a credential helper to remove this warning. See [2021-01-19T02:46:12.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:46:12.056Z] [2021-01-19T02:46:12.056Z] Login Succeeded [2021-01-19T02:46:12.056Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:46:12.076Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T02:46:12.574Z] ========================================================= [2021-01-19T02:46:12.574Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-19T02:46:12.574Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:46:12.972Z] + 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-01-19T02:46:13.573Z] Sending build context to Docker daemon 2.583MB [2021-01-19T02:46:13.573Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:46:13.573Z] Step 2/8 : FROM ${BASE} [2021-01-19T02:46:13.573Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-19T02:46:13.573Z] 5f621e34cdf4: Pulling fs layer [2021-01-19T02:46:13.573Z] a4357932f1b6: Pulling fs layer [2021-01-19T02:46:13.573Z] 18c013af1878: Pulling fs layer [2021-01-19T02:46:13.573Z] 00ac8860ef70: Pulling fs layer [2021-01-19T02:46:13.573Z] 63d7cb157983: Pulling fs layer [2021-01-19T02:46:13.573Z] b116817d02f9: Pulling fs layer [2021-01-19T02:46:13.573Z] 745a02a5169b: Pulling fs layer [2021-01-19T02:46:13.573Z] 63d7cb157983: Waiting [2021-01-19T02:46:13.573Z] b116817d02f9: Waiting [2021-01-19T02:46:13.573Z] 745a02a5169b: Waiting [2021-01-19T02:46:13.573Z] 00ac8860ef70: Waiting [2021-01-19T02:46:13.573Z] 18c013af1878: Verifying Checksum [2021-01-19T02:46:13.573Z] 18c013af1878: Download complete [2021-01-19T02:46:13.573Z] a4357932f1b6: Verifying Checksum [2021-01-19T02:46:13.573Z] a4357932f1b6: Download complete [2021-01-19T02:46:13.573Z] 63d7cb157983: Verifying Checksum [2021-01-19T02:46:13.573Z] 63d7cb157983: Download complete [2021-01-19T02:46:13.573Z] b116817d02f9: Verifying Checksum [2021-01-19T02:46:13.573Z] b116817d02f9: Download complete [2021-01-19T02:46:13.573Z] 5f621e34cdf4: Verifying Checksum [2021-01-19T02:46:13.573Z] 5f621e34cdf4: Download complete [2021-01-19T02:46:13.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.066s coverage: 9.4% of statements [2021-01-19T02:46:13.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.062s coverage: 21.7% of statements [2021-01-19T02:46:13.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T02:46:13.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.236s coverage: 42.9% of statements [2021-01-19T02:46:13.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T02:46:13.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.267s coverage: 66.5% of statements [2021-01-19T02:46:13.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T02:46:13.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T02:46:13.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T02:46:13.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T02:46:13.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 53.8% of statements [2021-01-19T02:46:13.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T02:46:13.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T02:46:13.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.067s coverage: 25.6% of statements [2021-01-19T02:46:13.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.910s coverage: 68.9% of statements [2021-01-19T02:46:13.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements [2021-01-19T02:46:13.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T02:46:13.580Z] GO111MODULE=on go vet ./... [2021-01-19T02:46:14.591Z] 5f621e34cdf4: Pull complete [2021-01-19T02:46:15.198Z] a4357932f1b6: Pull complete [2021-01-19T02:46:15.474Z] 18c013af1878: Pull complete [2021-01-19T02:46:16.484Z] 745a02a5169b: Verifying Checksum [2021-01-19T02:46:16.484Z] 745a02a5169b: Download complete [2021-01-19T02:46:17.468Z] 00ac8860ef70: Verifying Checksum [2021-01-19T02:46:17.468Z] 00ac8860ef70: Download complete [2021-01-19T02:46:23.740Z] gofmt -l . [2021-01-19T02:46:23.740Z] [ "`gofmt -l .`" = "" ] [2021-01-19T02:46:23.740Z] ./bin/test-attribution-txt.sh [2021-01-19T02:46:24.010Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T02:46:24.297Z] $ docker stop --time=1 fb78d6fa1b24ed9d77e23e5551f60aabd6cd4e7f5ab2755d61bf9abae60741aa [2021-01-19T02:46:26.289Z] $ docker rm -f fb78d6fa1b24ed9d77e23e5551f60aabd6cd4e7f5ab2755d61bf9abae60741aa [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:46:27.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T02:46:27.439Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-19T02:46:27.679Z] 00ac8860ef70: Pull complete [2021-01-19T02:46:27.956Z] 63d7cb157983: Pull complete [2021-01-19T02:46:28.232Z] b116817d02f9: Pull complete [Pipeline] sh [2021-01-19T02:46:28.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T02:46:28.926Z] + ls -al . [2021-01-19T02:46:28.926Z] total 224 [2021-01-19T02:46:28.926Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 02:46 . [2021-01-19T02:46:28.926Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 02:44 .. [2021-01-19T02:46:28.926Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 02:44 bin [2021-01-19T02:46:28.926Z] -rw-r--r--. 1 jenkins jenkins 145101 Jan 19 02:46 coverage.out [2021-01-19T02:46:28.926Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 02:44 Dockerfile.build [2021-01-19T02:46:28.926Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 02:44 .dockerignore [2021-01-19T02:46:28.926Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 02:44 example [2021-01-19T02:46:28.926Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 02:44 .git [2021-01-19T02:46:28.926Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 02:44 .github [2021-01-19T02:46:28.926Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 02:44 .gitignore [2021-01-19T02:46:28.926Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 19 02:46 go.mod [2021-01-19T02:46:28.926Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 19 02:46 go.sum [2021-01-19T02:46:28.926Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 02:44 internal [2021-01-19T02:46:28.926Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 02:44 Jenkinsfile [2021-01-19T02:46:28.926Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 02:44 LICENSE [2021-01-19T02:46:28.926Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 02:44 Makefile [2021-01-19T02:46:28.926Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 02:44 openapi [2021-01-19T02:46:28.926Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 02:44 pkg [2021-01-19T02:46:28.926Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 02:44 README.md [2021-01-19T02:46:28.926Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 02:44 RELEASE-NOTES.txt [2021-01-19T02:46:28.926Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 02:44 snap [2021-01-19T02:46:28.926Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 02:43 VERSION [2021-01-19T02:46:28.926Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:46:29.236Z] + 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=1204a9500ff0c8c746a195a3f0774d96d98a6e6f --label arch=amd64 --label version=0.0.0 . [2021-01-19T02:46:29.500Z] Sending build context to Docker daemon 2.723MB [2021-01-19T02:46:29.500Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:46:29.500Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T02:46:29.500Z] ---> 2fae11df4f97 [2021-01-19T02:46:29.500Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T02:46:30.077Z] ---> Running in e41216376678 [2021-01-19T02:46:30.339Z] Removing intermediate container e41216376678 [2021-01-19T02:46:30.339Z] ---> a9a3d3156681 [2021-01-19T02:46:30.339Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T02:46:30.339Z] ---> Running in 116c6fa82266 [2021-01-19T02:46:30.604Z] Removing intermediate container 116c6fa82266 [2021-01-19T02:46:30.604Z] ---> a46214a7350f [2021-01-19T02:46:30.604Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:46:30.604Z] ---> Running in 8b9def3daf7c [2021-01-19T02:46:30.866Z] Removing intermediate container 8b9def3daf7c [2021-01-19T02:46:30.866Z] ---> 51c6e3c092a9 [2021-01-19T02:46:30.866Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:46:30.866Z] ---> Running in 2b0975e2fef1 [2021-01-19T02:46:31.832Z] Removing intermediate container 2b0975e2fef1 [2021-01-19T02:46:31.832Z] ---> 162d1d317e88 [2021-01-19T02:46:31.832Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T02:46:31.832Z] ---> Running in 03278ecfd356 [2021-01-19T02:46:32.419Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T02:46:32.571Z] 745a02a5169b: Pull complete [2021-01-19T02:46:32.571Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-19T02:46:32.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-19T02:46:32.571Z] ---> b7e6874047d6 [2021-01-19T02:46:32.571Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:46:33.379Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T02:46:33.962Z] OK: 166 MiB in 39 packages [2021-01-19T02:46:34.227Z] Removing intermediate container 03278ecfd356 [2021-01-19T02:46:34.227Z] ---> 963ad5084873 [2021-01-19T02:46:34.227Z] Step 8/24 : COPY . . [2021-01-19T02:46:35.633Z] ---> c6f943216962 [2021-01-19T02:46:35.634Z] Step 9/24 : RUN ${MAKE} [2021-01-19T02:46:35.634Z] ---> Running in bf7becfa9c02 [2021-01-19T02:46:36.014Z] ---> Running in 93e01b30a27c [2021-01-19T02:46:36.014Z] Removing intermediate container 93e01b30a27c [2021-01-19T02:46:36.014Z] ---> d15fd9e411a3 [2021-01-19T02:46:36.014Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:46:36.014Z] ---> Running in f5ca5f0f9479 [2021-01-19T02:46:36.244Z] 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-01-19T02:46:38.656Z] Removing intermediate container f5ca5f0f9479 [2021-01-19T02:46:38.656Z] ---> c1e488dad544 [2021-01-19T02:46:38.656Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T02:46:38.656Z] ---> Running in f9799df889eb [2021-01-19T02:46:40.119Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T02:46:40.720Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T02:46:41.714Z] OK: 142 MiB in 39 packages [2021-01-19T02:46:43.174Z] Removing intermediate container f9799df889eb [2021-01-19T02:46:43.174Z] ---> 9c2dfe0eec25 [2021-01-19T02:46:43.174Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T02:46:43.174Z] ---> Running in acd4b17a5041 [2021-01-19T02:46:43.774Z] Removing intermediate container acd4b17a5041 [2021-01-19T02:46:43.774Z] ---> b35ea468a1ea [2021-01-19T02:46:43.774Z] Step 7/8 : COPY . . [2021-01-19T02:46:45.216Z] ---> 46fc16f587be [2021-01-19T02:46:45.217Z] Step 8/8 : RUN go mod download [2021-01-19T02:46:45.492Z] ---> Running in 859cc65359e2 [2021-01-19T02:46:46.386Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T02:46:48.321Z] Removing intermediate container bf7becfa9c02 [2021-01-19T02:46:48.321Z] ---> 77bb4d3d41ec [2021-01-19T02:46:48.321Z] Step 10/24 : FROM scratch [2021-01-19T02:46:48.321Z] ---> [2021-01-19T02:46:48.321Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:46:48.321Z] ---> Running in 897fafb2032b [2021-01-19T02:46:48.321Z] Removing intermediate container 897fafb2032b [2021-01-19T02:46:48.321Z] ---> 461dc8605f47 [2021-01-19T02:46:48.321Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T02:46:48.321Z] ---> Running in 0a9f0b4aa8f3 [2021-01-19T02:46:48.586Z] Removing intermediate container 0a9f0b4aa8f3 [2021-01-19T02:46:48.586Z] ---> 715647ba6d63 [2021-01-19T02:46:48.586Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T02:46:48.586Z] ---> Running in 2efbc421d354 [2021-01-19T02:46:48.586Z] Removing intermediate container 2efbc421d354 [2021-01-19T02:46:48.586Z] ---> f74d7b4b499b [2021-01-19T02:46:48.586Z] Step 14/24 : WORKDIR / [2021-01-19T02:46:48.850Z] ---> Running in db378190cf3a [2021-01-19T02:46:48.850Z] Removing intermediate container db378190cf3a [2021-01-19T02:46:48.850Z] ---> 65cee441ef28 [2021-01-19T02:46:48.850Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T02:46:49.437Z] ---> dc95c5982559 [2021-01-19T02:46:49.437Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T02:46:49.699Z] ---> 8f67d7a4527d [2021-01-19T02:46:49.699Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T02:46:49.964Z] ---> 943599ea7016 [2021-01-19T02:46:49.964Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T02:46:49.964Z] ---> 7bf18452634e [2021-01-19T02:46:49.964Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T02:46:50.540Z] ---> 5bce8c78552f [2021-01-19T02:46:50.540Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T02:46:50.540Z] ---> Running in 4834f91a8742 [2021-01-19T02:46:50.540Z] Removing intermediate container 4834f91a8742 [2021-01-19T02:46:50.540Z] ---> 3d31194a711e [2021-01-19T02:46:50.540Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T02:46:50.540Z] ---> Running in 9a635562c221 [2021-01-19T02:46:50.806Z] Removing intermediate container 9a635562c221 [2021-01-19T02:46:50.806Z] ---> 9a2a97ebe80c [2021-01-19T02:46:50.806Z] Step 22/24 : LABEL arch=amd64 [2021-01-19T02:46:50.806Z] ---> Running in ebf1bd5c1cee [2021-01-19T02:46:51.069Z] Removing intermediate container ebf1bd5c1cee [2021-01-19T02:46:51.069Z] ---> 33be802d38bb [2021-01-19T02:46:51.069Z] Step 23/24 : LABEL git_sha=1204a9500ff0c8c746a195a3f0774d96d98a6e6f [2021-01-19T02:46:51.069Z] ---> Running in 48d14fcf44c8 [2021-01-19T02:46:51.332Z] Removing intermediate container 48d14fcf44c8 [2021-01-19T02:46:51.332Z] ---> 2bb4b8eb3a25 [2021-01-19T02:46:51.332Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T02:46:51.332Z] ---> Running in 6f94dbdbf8c2 [2021-01-19T02:46:51.595Z] Removing intermediate container 6f94dbdbf8c2 [2021-01-19T02:46:51.595Z] ---> 2464a908310a [2021-01-19T02:46:51.595Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T02:46:51.595Z] Successfully built 2464a908310a [2021-01-19T02:46:51.595Z] 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-01-19T02:47:12.353Z] Removing intermediate container 859cc65359e2 [2021-01-19T02:47:12.353Z] ---> 6e52d4b4ef33 [2021-01-19T02:47:12.353Z] Successfully built 6e52d4b4ef33 [2021-01-19T02:47:12.353Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:47:12.715Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T02:47:12.716Z] . [Pipeline] withDockerContainer [2021-01-19T02:47:12.970Z] prd-ubuntu18.04-docker-arm64-4c-16g-21055 does not seem to be running inside a container [2021-01-19T02:47:13.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T02:47:14.508Z] $ docker top 77ec5f7b370347465e9c3e90c8b10d02b78cd631e3e4694d60fe5bb5f105e7f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:47:15.490Z] + go version [2021-01-19T02:47:15.490Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-19T02:47:15.524Z] $ docker stop --time=1 77ec5f7b370347465e9c3e90c8b10d02b78cd631e3e4694d60fe5bb5f105e7f8 [2021-01-19T02:47:17.386Z] $ docker rm -f 77ec5f7b370347465e9c3e90c8b10d02b78cd631e3e4694d60fe5bb5f105e7f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:47:18.415Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T02:47:18.415Z] . [Pipeline] withDockerContainer [2021-01-19T02:47:18.693Z] prd-ubuntu18.04-docker-arm64-4c-16g-21055 does not seem to be running inside a container [2021-01-19T02:47:18.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T02:47:20.568Z] $ docker top 4830be899ae901711067b55b22e60c268f0776fc1166a225399b8398af42f26f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:47:21.705Z] + make test [2021-01-19T02:47:21.705Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T02:47:48.580Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T02:48:35.705Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T02:48:35.705Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T02:48:35.705Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T02:48:35.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.166s coverage: 19.4% of statements [2021-01-19T02:48:37.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.247s coverage: 97.1% of statements [2021-01-19T02:49:04.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.137s coverage: 9.4% of statements [2021-01-19T02:49:04.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.165s coverage: 21.7% of statements [2021-01-19T02:49:04.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T02:49:04.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.624s coverage: 42.9% of statements [2021-01-19T02:49:04.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T02:49:04.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.780s coverage: 66.5% of statements [2021-01-19T02:49:04.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T02:49:04.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T02:49:04.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T02:49:04.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T02:49:04.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.214s coverage: 53.8% of statements [2021-01-19T02:49:04.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T02:49:04.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T02:49:04.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.203s coverage: 25.6% of statements [2021-01-19T02:49:04.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.983s coverage: 68.9% of statements [2021-01-19T02:49:04.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements [2021-01-19T02:49:04.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T02:49:04.990Z] GO111MODULE=on go vet ./... [2021-01-19T02:49:44.845Z] gofmt -l . [2021-01-19T02:49:44.845Z] [ "`gofmt -l .`" = "" ] [2021-01-19T02:49:44.845Z] ./bin/test-attribution-txt.sh [2021-01-19T02:49:44.845Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T02:49:44.878Z] $ docker stop --time=1 4830be899ae901711067b55b22e60c268f0776fc1166a225399b8398af42f26f [2021-01-19T02:49:47.188Z] $ docker rm -f 4830be899ae901711067b55b22e60c268f0776fc1166a225399b8398af42f26f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:49:48.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T02:49:48.423Z] Warning: overwriting stash ‘coverage-report’ [2021-01-19T02:49:49.398Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:49:50.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T02:49:50.385Z] + ls -al . [2021-01-19T02:49:50.385Z] total 260 [2021-01-19T02:49:50.385Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:49 . [2021-01-19T02:49:50.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:45 .. [2021-01-19T02:49:50.385Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 02:45 .dockerignore [2021-01-19T02:49:50.385Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:46 .git [2021-01-19T02:49:50.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:45 .github [2021-01-19T02:49:50.385Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 02:45 .gitignore [2021-01-19T02:49:50.385Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 02:45 Dockerfile.build [2021-01-19T02:49:50.385Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 02:45 Jenkinsfile [2021-01-19T02:49:50.385Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 02:45 LICENSE [2021-01-19T02:49:50.385Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 02:45 Makefile [2021-01-19T02:49:50.385Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 02:45 README.md [2021-01-19T02:49:50.385Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 02:45 RELEASE-NOTES.txt [2021-01-19T02:49:50.385Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:43 VERSION [2021-01-19T02:49:50.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:45 bin [2021-01-19T02:49:50.385Z] -rw-r--r-- 1 jenkins jenkins 145101 Jan 19 02:49 coverage.out [2021-01-19T02:49:50.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:45 example [2021-01-19T02:49:50.385Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 19 02:49 go.mod [2021-01-19T02:49:50.385Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 19 02:49 go.sum [2021-01-19T02:49:50.385Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 02:45 internal [2021-01-19T02:49:50.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:45 openapi [2021-01-19T02:49:50.385Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 02:45 pkg [2021-01-19T02:49:50.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:45 snap [2021-01-19T02:49:50.385Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:49:50.769Z] + 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=1204a9500ff0c8c746a195a3f0774d96d98a6e6f --label arch=arm64 --label version=0.0.0 . [2021-01-19T02:49:51.375Z] Sending build context to Docker daemon 2.729MB [2021-01-19T02:49:51.375Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:49:51.375Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T02:49:51.375Z] ---> 6e52d4b4ef33 [2021-01-19T02:49:51.375Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T02:49:51.647Z] ---> Running in 7ce6df89aa69 [2021-01-19T02:49:51.924Z] Removing intermediate container 7ce6df89aa69 [2021-01-19T02:49:51.924Z] ---> 1f8c56ff1fdd [2021-01-19T02:49:51.924Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T02:49:52.198Z] ---> Running in cbf76d970932 [2021-01-19T02:49:52.795Z] Removing intermediate container cbf76d970932 [2021-01-19T02:49:52.795Z] ---> bde1f12df660 [2021-01-19T02:49:52.795Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:49:52.795Z] ---> Running in 39138a472e5c [2021-01-19T02:49:53.423Z] Removing intermediate container 39138a472e5c [2021-01-19T02:49:53.423Z] ---> 4f7265aee4b2 [2021-01-19T02:49:53.423Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:49:53.423Z] ---> Running in b7ef82f55fc4 [2021-01-19T02:49:56.064Z] Removing intermediate container b7ef82f55fc4 [2021-01-19T02:49:56.064Z] ---> be78018d3227 [2021-01-19T02:49:56.064Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T02:49:56.064Z] ---> Running in 73f6bc8764d1 [2021-01-19T02:49:57.079Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T02:49:57.670Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T02:49:58.655Z] OK: 142 MiB in 39 packages [2021-01-19T02:49:59.636Z] Removing intermediate container 73f6bc8764d1 [2021-01-19T02:49:59.636Z] ---> 6d30980e821c [2021-01-19T02:49:59.636Z] Step 8/24 : COPY . . [2021-01-19T02:50:01.074Z] ---> 093f282a20e2 [2021-01-19T02:50:01.074Z] Step 9/24 : RUN ${MAKE} [2021-01-19T02:50:01.349Z] ---> Running in 9bc9aa1557b1 [2021-01-19T02:50:02.351Z] 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-01-19T02:50:29.301Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T02:50:31.922Z] Removing intermediate container 9bc9aa1557b1 [2021-01-19T02:50:31.922Z] ---> c50b6953b4c2 [2021-01-19T02:50:31.922Z] Step 10/24 : FROM scratch [2021-01-19T02:50:31.922Z] ---> [2021-01-19T02:50:31.922Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:50:32.195Z] ---> Running in 514b6a429e4f [2021-01-19T02:50:32.473Z] Removing intermediate container 514b6a429e4f [2021-01-19T02:50:32.473Z] ---> 2253b4fcb2da [2021-01-19T02:50:32.473Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T02:50:32.748Z] ---> Running in 3ec9deb0745b [2021-01-19T02:50:33.357Z] Removing intermediate container 3ec9deb0745b [2021-01-19T02:50:33.357Z] ---> 0466eece1d81 [2021-01-19T02:50:33.357Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T02:50:33.357Z] ---> Running in 17df598f784d [2021-01-19T02:50:33.638Z] Removing intermediate container 17df598f784d [2021-01-19T02:50:33.638Z] ---> feb7810ffc63 [2021-01-19T02:50:33.638Z] Step 14/24 : WORKDIR / [2021-01-19T02:50:33.910Z] ---> Running in 7686f40ef1de [2021-01-19T02:50:34.507Z] Removing intermediate container 7686f40ef1de [2021-01-19T02:50:34.507Z] ---> 5cf717d1457e [2021-01-19T02:50:34.507Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T02:50:35.486Z] ---> 035fc9c4cf1f [2021-01-19T02:50:35.486Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T02:50:36.466Z] ---> 3444b15981f7 [2021-01-19T02:50:36.466Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T02:50:37.064Z] ---> 08ba1be25657 [2021-01-19T02:50:37.064Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T02:50:38.045Z] ---> c085dd4fe55d [2021-01-19T02:50:38.045Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T02:50:38.643Z] ---> d5e1afc1c5b3 [2021-01-19T02:50:38.644Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T02:50:38.918Z] ---> Running in efb085b76047 [2021-01-19T02:50:39.208Z] Removing intermediate container efb085b76047 [2021-01-19T02:50:39.208Z] ---> d8439e887842 [2021-01-19T02:50:39.208Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T02:50:39.481Z] ---> Running in b40af0aa12fd [2021-01-19T02:50:40.077Z] Removing intermediate container b40af0aa12fd [2021-01-19T02:50:40.077Z] ---> ed0d0893f13f [2021-01-19T02:50:40.077Z] Step 22/24 : LABEL arch=arm64 [2021-01-19T02:50:40.077Z] ---> Running in 5fe9c59bfdfc [2021-01-19T02:50:40.671Z] Removing intermediate container 5fe9c59bfdfc [2021-01-19T02:50:40.671Z] ---> fd721b3d3a0f [2021-01-19T02:50:40.671Z] Step 23/24 : LABEL git_sha=1204a9500ff0c8c746a195a3f0774d96d98a6e6f [2021-01-19T02:50:40.943Z] ---> Running in 88b8a2729d19 [2021-01-19T02:50:41.218Z] Removing intermediate container 88b8a2729d19 [2021-01-19T02:50:41.218Z] ---> f940e8222b2d [2021-01-19T02:50:41.218Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T02:50:41.490Z] ---> Running in f46ca732fdc3 [2021-01-19T02:50:42.087Z] Removing intermediate container f46ca732fdc3 [2021-01-19T02:50:42.087Z] ---> 3cab5c0f11f9 [2021-01-19T02:50:42.087Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T02:50:42.087Z] Successfully built 3cab5c0f11f9 [2021-01-19T02:50:42.087Z] 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-01-19T02:50:43.558Z] provisioning config files... [2021-01-19T02:50:43.574Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config4506870687408858566tmp [Pipeline] { [Pipeline] sh [2021-01-19T02:50:43.970Z] + set +x [2021-01-19T02:50:43.970Z] + curl -s https://codecov.io/bash [2021-01-19T02:50:43.970Z] + bash -s -- [2021-01-19T02:50:44.236Z] [2021-01-19T02:50:44.236Z] _____ _ [2021-01-19T02:50:44.236Z] / ____| | | [2021-01-19T02:50:44.236Z] | | ___ __| | ___ ___ _____ __ [2021-01-19T02:50:44.236Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-19T02:50:44.236Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-19T02:50:44.236Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-19T02:50:44.236Z] Bash-20210115-cec3c92 [2021-01-19T02:50:44.236Z] [2021-01-19T02:50:44.236Z] [2021-01-19T02:50:44.236Z] ==> git version 2.24.3 found [2021-01-19T02:50:44.236Z] ==> 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-01-19T02:50:44.236Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-19T02:50:44.236Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-19T02:50:44.236Z] ==> Jenkins CI detected. [2021-01-19T02:50:44.236Z] project root: . [2021-01-19T02:50:44.236Z] --> token set from env [2021-01-19T02:50:44.236Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-19T02:50:44.236Z] ==> Running gcov in . (disable via -X gcov) [2021-01-19T02:50:44.236Z] ==> Python coveragepy not found [2021-01-19T02:50:44.236Z] ==> Searching for coverage reports in: [2021-01-19T02:50:44.236Z] + . [2021-01-19T02:50:44.236Z] -> Found 1 reports [2021-01-19T02:50:44.236Z] ==> Detecting git/mercurial file structure [2021-01-19T02:50:44.236Z] ==> Reading reports [2021-01-19T02:50:44.236Z] + ./coverage.out bytes=145101 [2021-01-19T02:50:44.236Z] ==> Appending adjustments [2021-01-19T02:50:44.236Z] https://docs.codecov.io/docs/fixing-reports [2021-01-19T02:50:44.815Z] + Found adjustments [2021-01-19T02:50:44.815Z] ==> Gzipping contents [2021-01-19T02:50:44.815Z] 24K /tmp/codecov.nkkm8L.gz [2021-01-19T02:50:44.815Z] ==> Uploading reports [2021-01-19T02:50:44.815Z] url: https://codecov.io [2021-01-19T02:50:44.815Z] query: branch=PR-732&commit=1204a9500ff0c8c746a195a3f0774d96d98a6e6f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-01-19T02:50:44.815Z] -> Pinging Codecov [2021-01-19T02:50:44.815Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-732&commit=1204a9500ff0c8c746a195a3f0774d96d98a6e6f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-01-19T02:50:45.399Z] -> Uploading to [2021-01-19T02:50:45.399Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/1204a9500ff0c8c746a195a3f0774d96d98a6e6f/0a5b6b9a-0ca8-46a3-ac2f-a2a9279d5afa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T025045Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b27c5b08951d455f23575b54707d56672ad7c2b93779f5b005d6cb4448aee07b [2021-01-19T02:50:45.399Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-19T02:50:45.399Z] Dload Upload Total Spent Left Speed [2021-01-19T02:50:45.674Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22454 0 0 100 22454 0 49421 --:--:-- --:--:-- --:--:-- 49349 100 22454 0 0 100 22454 0 49393 --:--:-- --:--:-- --:--:-- 49349 [2021-01-19T02:50:45.674Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1204a9500ff0c8c746a195a3f0774d96d98a6e6f [Pipeline] } [2021-01-19T02:50:45.685Z] 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-01-19T02:50:48.474Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:50:49.055Z] ---> package-listing.sh [2021-01-19T02:50:49.056Z] ++ facter osfamily [2021-01-19T02:50:49.056Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-19T02:50:49.056Z] + OS_FAMILY=redhat [2021-01-19T02:50:49.056Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-01-19T02:50:49.056Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-19T02:50:49.056Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-19T02:50:49.056Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-19T02:50:49.056Z] + PACKAGES=/tmp/packages_start.txt [2021-01-19T02:50:49.056Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-01-19T02:50:49.056Z] + PACKAGES=/tmp/packages_end.txt [2021-01-19T02:50:49.056Z] + case "${OS_FAMILY}" in [2021-01-19T02:50:49.056Z] + rpm -qa [2021-01-19T02:50:49.056Z] + sort [2021-01-19T02:50:54.447Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-19T02:50:54.447Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-19T02:50:54.447Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-19T02:50:54.447Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-01-19T02:50:54.447Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [2021-01-19T02:50:54.447Z] + 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-01-19T02:50:54.469Z] 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-01-19T02:50:54.784Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:50:55.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:50:55.110Z] [2021-01-19T02:50:55.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:50:55.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:50:55.481Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-19T02:50:55.481Z] df20fa9351a1: Pulling fs layer [2021-01-19T02:50:55.481Z] 36b3adc4ff6f: Pulling fs layer [2021-01-19T02:50:55.481Z] 8ad3a11d3b57: Pulling fs layer [2021-01-19T02:50:55.481Z] 46f8f816bc3b: Pulling fs layer [2021-01-19T02:50:55.481Z] 93b61091891f: Pulling fs layer [2021-01-19T02:50:55.481Z] 93b9cdb0e59b: Pulling fs layer [2021-01-19T02:50:55.481Z] 5e14af77c1be: Pulling fs layer [2021-01-19T02:50:55.481Z] 01666e4c0597: Pulling fs layer [2021-01-19T02:50:55.481Z] aa168da1d23b: Pulling fs layer [2021-01-19T02:50:55.481Z] 93b9cdb0e59b: Waiting [2021-01-19T02:50:55.481Z] 5e14af77c1be: Waiting [2021-01-19T02:50:55.481Z] 46f8f816bc3b: Waiting [2021-01-19T02:50:55.481Z] 01666e4c0597: Waiting [2021-01-19T02:50:55.481Z] aa168da1d23b: Waiting [2021-01-19T02:50:55.481Z] 93b61091891f: Waiting [2021-01-19T02:50:55.481Z] 36b3adc4ff6f: Verifying Checksum [2021-01-19T02:50:55.481Z] 36b3adc4ff6f: Download complete [2021-01-19T02:50:55.481Z] 46f8f816bc3b: Verifying Checksum [2021-01-19T02:50:55.481Z] 46f8f816bc3b: Download complete [2021-01-19T02:50:55.481Z] df20fa9351a1: Verifying Checksum [2021-01-19T02:50:55.481Z] df20fa9351a1: Download complete [2021-01-19T02:50:55.753Z] 93b9cdb0e59b: Verifying Checksum [2021-01-19T02:50:55.753Z] 93b9cdb0e59b: Download complete [2021-01-19T02:50:55.753Z] 93b61091891f: Verifying Checksum [2021-01-19T02:50:55.753Z] 93b61091891f: Download complete [2021-01-19T02:50:55.753Z] 01666e4c0597: Verifying Checksum [2021-01-19T02:50:55.753Z] 01666e4c0597: Download complete [2021-01-19T02:50:55.753Z] 5e14af77c1be: Verifying Checksum [2021-01-19T02:50:55.753Z] 5e14af77c1be: Download complete [2021-01-19T02:50:55.753Z] 8ad3a11d3b57: Verifying Checksum [2021-01-19T02:50:55.753Z] 8ad3a11d3b57: Download complete [2021-01-19T02:50:56.022Z] df20fa9351a1: Pull complete [2021-01-19T02:50:56.292Z] 36b3adc4ff6f: Pull complete [2021-01-19T02:50:57.780Z] 8ad3a11d3b57: Pull complete [2021-01-19T02:50:58.049Z] 46f8f816bc3b: Pull complete [2021-01-19T02:50:58.321Z] 93b61091891f: Pull complete [2021-01-19T02:50:58.321Z] aa168da1d23b: Verifying Checksum [2021-01-19T02:50:58.321Z] aa168da1d23b: Download complete [2021-01-19T02:50:58.587Z] 93b9cdb0e59b: Pull complete [2021-01-19T02:50:58.587Z] 5e14af77c1be: Pull complete [2021-01-19T02:50:58.855Z] 01666e4c0597: Pull complete [2021-01-19T02:51:07.118Z] aa168da1d23b: Pull complete [2021-01-19T02:51:07.118Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-19T02:51:07.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:51:07.118Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-19T02:51:07.340Z] prd-centos7-docker-4c-2g-21046 does not seem to be running inside a container [2021-01-19T02:51:07.395Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-19T02:51:10.866Z] $ docker top 7bf3a62eeb129c56222a4ced26fdaf18451865da04bef30f8f940fc40d78d65c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:51:11.433Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-19T02:51:11.743Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-19T02:51:12.065Z] + ls /var/log/sa-host [2021-01-19T02:51:12.065Z] + sadf -c /var/log/sa-host/sa19 [2021-01-19T02:51:12.065Z] file_magic: OK [2021-01-19T02:51:12.065Z] HZ: Using current value: 100 [2021-01-19T02:51:12.065Z] file_header: OK [2021-01-19T02:51:12.065Z] 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-01-19T02:51:12.065Z] Statistics: [2021-01-19T02:51:12.065Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-19T02:51:12.065Z] File successfully converted to sysstat format version 12.2.1 [2021-01-19T02:51:12.065Z] + sadf -c /var/log/sa-host/sa23 [2021-01-19T02:51:12.065Z] file_magic: OK [2021-01-19T02:51:12.065Z] HZ: Using current value: 100 [2021-01-19T02:51:12.065Z] file_header: OK [2021-01-19T02:51:12.065Z] 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-01-19T02:51:12.065Z] Statistics: [2021-01-19T02:51:12.065Z] Hnuu...uuuununununu... [2021-01-19T02:51:12.065Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-19T02:51:12.290Z] provisioning config files... [2021-01-19T02:51:12.306Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config6799583956939834790tmp [Pipeline] { [Pipeline] echo [2021-01-19T02:51:12.371Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:12.676Z] ---> create-netrc.sh [Pipeline] } [2021-01-19T02:51:12.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-19T02:51:12.781Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:13.093Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-19T02:51:13.104Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:13.406Z] ---> sudo-logs.sh [2021-01-19T02:51:13.406Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-19T02:51:13.419Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:13.722Z] ---> job-cost.sh [2021-01-19T02:51:13.722Z] lf-activate-venv: SKIPPING [2021-01-19T02:51:13.722Z] INFO: No Stack... [2021-01-19T02:51:14.670Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-19T02:51:14.933Z] INFO: Archiving Costs [Pipeline] echo [2021-01-19T02:51:14.947Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:15.259Z] ---> logs-deploy.sh [2021-01-19T02:51:15.259Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/4 [2021-01-19T02:51:15.259Z] INFO: archiving workspace using pattern(s): [2021-01-19T02:51:17.218Z] Archives upload complete. [2021-01-19T02:51:17.218Z] INFO: archiving logs to Nexus