Pull request #718 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 24a7db6aa375322f003ce0c1b6a027f335be965f+619f260ee4c0648af817c78e3551f454d78ccf58 (1c4d44265580f272e8be9cf15ca68d47c2aa1c13) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20475 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [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-718 # 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 619f260ee4c0648af817c78e3551f454d78ccf58 into PR head commit 24a7db6aa375322f003ce0c1b6a027f335be965f Merge succeeded, producing 24a7db6aa375322f003ce0c1b6a027f335be965f Checking out Revision 24a7db6aa375322f003ce0c1b6a027f335be965f (PR-718) > 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/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24a7db6aa375322f003ce0c1b6a027f335be965f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24a7db6aa375322f003ce0c1b6a027f335be965f # timeout=10 Commit message: "docs(v2): update schema to be consistent with edgex-go" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 85d579b54f95be368618b29fdf5b17ec8037a769 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-15T10:08:26.407Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-15T10:08:26.656Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-15T10:08:26.753Z] ========================================================= [2021-01-15T10:08:26.754Z] EdgeX Global Pipelines Version Info [2021-01-15T10:08:26.754Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-15T10:08:28.639Z] ------------------- [2021-01-15T10:08:28.639Z] stable info: [2021-01-15T10:08:28.639Z] ------------------- [2021-01-15T10:08:28.639Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-15T10:08:28.639Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T10:08:28.639Z] Message: update stable to v1.0.177 [2021-01-15T10:08:29.215Z] ------------------- [2021-01-15T10:08:29.215Z] experimental info: [2021-01-15T10:08:29.215Z] ------------------- [2021-01-15T10:08:29.215Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-15T10:08:29.215Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T10:08:29.215Z] Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-15T10:08:29.530Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-15T10:08:29.617Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-15T10:08:29.708Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-15T10:08:29.804Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-15T10:08:29.892Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-15T10:08:29.986Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-15T10:08:30.077Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-15T10:08:30.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-15T10:08:30.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-15T10:08:30.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-15T10:08:30.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-15T10:08:30.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-15T10:08:30.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-15T10:08:30.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-15T10:08:30.931Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-15T10:08:31.039Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T10:08:31.130Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T10:08:31.218Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T10:08:31.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-15T10:08:31.388Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-15T10:08:31.475Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-15T10:08:31.561Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-15T10:08:31.646Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-15T10:08:31.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-15T10:08:31.828Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-15T10:08:31.924Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-15T10:08:32.030Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-15T10:08:32.121Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-718 [Pipeline] echo [2021-01-15T10:08:32.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-718 [Pipeline] echo [2021-01-15T10:08:32.294Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-718 [Pipeline] echo [2021-01-15T10:08:32.403Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24a7db6aa375322f003ce0c1b6a027f335be965f [Pipeline] echo [2021-01-15T10:08:32.487Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24a7db6 [Pipeline] echo [2021-01-15T10:08:32.571Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T10:08:32.730Z] provisioning config files... [2021-01-15T10:08:32.759Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config1015681813370190063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T10:08:33.109Z] ---> docker-login.sh [2021-01-15T10:08:33.109Z] nexus3.edgexfoundry.org:10001 [2021-01-15T10:08:33.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:08:33.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:08:33.635Z] Configure a credential helper to remove this warning. See [2021-01-15T10:08:33.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:08:33.635Z] [2021-01-15T10:08:33.635Z] Login Succeeded [2021-01-15T10:08:33.635Z] nexus3.edgexfoundry.org:10002 [2021-01-15T10:08:33.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:08:33.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:08:33.635Z] Configure a credential helper to remove this warning. See [2021-01-15T10:08:33.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:08:33.635Z] [2021-01-15T10:08:33.635Z] Login Succeeded [2021-01-15T10:08:33.635Z] nexus3.edgexfoundry.org:10003 [2021-01-15T10:08:33.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:08:33.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:08:33.897Z] Configure a credential helper to remove this warning. See [2021-01-15T10:08:33.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:08:33.897Z] [2021-01-15T10:08:33.897Z] Login Succeeded [2021-01-15T10:08:33.897Z] nexus3.edgexfoundry.org:10004 [2021-01-15T10:08:34.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:08:34.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:08:34.159Z] Configure a credential helper to remove this warning. See [2021-01-15T10:08:34.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:08:34.159Z] [2021-01-15T10:08:34.159Z] Login Succeeded [2021-01-15T10:08:34.159Z] docker.io [2021-01-15T10:08:34.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:08:34.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:08:34.421Z] Configure a credential helper to remove this warning. See [2021-01-15T10:08:34.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:08:34.421Z] [2021-01-15T10:08:34.421Z] Login Succeeded [2021-01-15T10:08:34.421Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T10:08:34.431Z] 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-15T10:08:35.226Z] + git log --format=format:%s -1 24a7db6aa375322f003ce0c1b6a027f335be965f [Pipeline] echo [2021-01-15T10:08:35.288Z] GIT_COMMIT: 24a7db6aa375322f003ce0c1b6a027f335be965f, Commit Message: docs(v2): update schema to be consistent with edgex-go [Pipeline] echo [2021-01-15T10:08:35.333Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:08:35.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T10:08:35.955Z] [2021-01-15T10:08:35.955Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:08:36.344Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T10:08:36.344Z] latest: Pulling from edgex-devops/git-semver [2021-01-15T10:08:36.344Z] 31603596830f: Pulling fs layer [2021-01-15T10:08:36.344Z] 2a8b12db71e7: Pulling fs layer [2021-01-15T10:08:36.344Z] 6ca5941a6612: Pulling fs layer [2021-01-15T10:08:36.344Z] ecc8261a40a4: Pulling fs layer [2021-01-15T10:08:36.344Z] ecc8261a40a4: Waiting [2021-01-15T10:08:36.344Z] 2a8b12db71e7: Verifying Checksum [2021-01-15T10:08:36.344Z] 2a8b12db71e7: Download complete [2021-01-15T10:08:36.607Z] 31603596830f: Verifying Checksum [2021-01-15T10:08:36.607Z] 31603596830f: Download complete [2021-01-15T10:08:36.607Z] ecc8261a40a4: Verifying Checksum [2021-01-15T10:08:36.607Z] ecc8261a40a4: Download complete [2021-01-15T10:08:36.607Z] 6ca5941a6612: Verifying Checksum [2021-01-15T10:08:36.607Z] 6ca5941a6612: Download complete [2021-01-15T10:08:36.869Z] 31603596830f: Pull complete [2021-01-15T10:08:37.178Z] 2a8b12db71e7: Pull complete [2021-01-15T10:08:37.789Z] 6ca5941a6612: Pull complete [2021-01-15T10:08:38.052Z] ecc8261a40a4: Pull complete [2021-01-15T10:08:38.052Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-15T10:08:38.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T10:08:38.320Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-15T10:08:38.442Z] prd-centos7-docker-4c-2g-20475 does not seem to be running inside a container [2021-01-15T10:08:38.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-718 -v /w/workspace/dgexfoundry_device-sdk-go_PR-718:/w/workspace/dgexfoundry_device-sdk-go_PR-718:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-15T10:08:40.610Z] $ docker top f4598594e356a6634e53e771a729148ed260c9c54c72e5d03bcd45a79da8ced2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T10:08:41.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T10:08:41.018Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T10:08:41.257Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T10:08:41.260Z] $ docker exec f4598594e356a6634e53e771a729148ed260c9c54c72e5d03bcd45a79da8ced2 ssh-agent [2021-01-15T10:08:41.437Z] SSH_AUTH_SOCK=/tmp/ssh-fudWR12kFux2/agent.13 [2021-01-15T10:08:41.437Z] SSH_AGENT_PID=18 [2021-01-15T10:08:41.456Z] Running ssh-add (command line suppressed) [2021-01-15T10:08:41.583Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_7009204672839543884.key (/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_7009204672839543884.key) [2021-01-15T10:08:41.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T10:08:42.302Z] + git tag --points-at HEAD [Pipeline] } [2021-01-15T10:08:42.322Z] $ docker exec --env ******** --env ******** f4598594e356a6634e53e771a729148ed260c9c54c72e5d03bcd45a79da8ced2 ssh-agent -k [2021-01-15T10:08:42.441Z] unset SSH_AUTH_SOCK; [2021-01-15T10:08:42.441Z] unset SSH_AGENT_PID; [2021-01-15T10:08:42.441Z] echo Agent pid 18 killed; [2021-01-15T10:08:42.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-15T10:08:42.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T10:08:42.634Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T10:08:42.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T10:08:42.854Z] $ docker exec f4598594e356a6634e53e771a729148ed260c9c54c72e5d03bcd45a79da8ced2 ssh-agent [2021-01-15T10:08:43.047Z] SSH_AUTH_SOCK=/tmp/ssh-wLrsHZM862s0/agent.48 [2021-01-15T10:08:43.047Z] SSH_AGENT_PID=53 [2021-01-15T10:08:43.055Z] Running ssh-add (command line suppressed) [2021-01-15T10:08:43.180Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_5413460573171265586.key (/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_5413460573171265586.key) [2021-01-15T10:08:43.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T10:08:43.571Z] + git semver init [2021-01-15T10:08:43.571Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T10:08:43.571Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-718/.git [2021-01-15T10:08:43.571Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-718 [2021-01-15T10:08:43.571Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T10:08:43.571Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T10:08:43.571Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T10:08:43.571Z] # $SEMVER_BRANCH = PR-718 [2021-01-15T10:08:43.571Z] # $SEMVER_TEMP = /tmp/semver-510794430 [2021-01-15T10:08:43.571Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-15T10:08:44.524Z] # '/tmp/semver-510794430' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-718/.semver' [2021-01-15T10:08:44.524Z] # -> Force: false [2021-01-15T10:08:44.524Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-718/.semver [Pipeline] } [2021-01-15T10:08:44.541Z] $ docker exec --env ******** --env ******** f4598594e356a6634e53e771a729148ed260c9c54c72e5d03bcd45a79da8ced2 ssh-agent -k [2021-01-15T10:08:44.663Z] unset SSH_AUTH_SOCK; [2021-01-15T10:08:44.664Z] unset SSH_AGENT_PID; [2021-01-15T10:08:44.664Z] echo Agent pid 53 killed; [2021-01-15T10:08:44.713Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T10:08:45.167Z] + git semver [Pipeline] } [2021-01-15T10:08:45.185Z] $ docker stop --time=1 f4598594e356a6634e53e771a729148ed260c9c54c72e5d03bcd45a79da8ced2 [2021-01-15T10:08:46.999Z] $ docker rm -f f4598594e356a6634e53e771a729148ed260c9c54c72e5d03bcd45a79da8ced2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T10:08:47.480Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-15T10:08:47.973Z] Stashed 1 file(s) [Pipeline] echo [2021-01-15T10:08:47.977Z] [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-15T10:08:48.546Z] Running on prd-centos7-docker-4c-2g-20476 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [Pipeline] { [Pipeline] ws [2021-01-15T10:08:48.602Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-15T10:08:51.004Z] using credential edgex-jenkins-ssh [2021-01-15T10:08:51.054Z] Cloning the remote Git repository [2021-01-15T10:08:51.062Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T10:08:51.142Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-15T10:08:51.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T10:08:51.210Z] > git --version # timeout=10 [2021-01-15T10:08:51.220Z] > git --version # 'git version 2.24.3' [2021-01-15T10:08:51.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T10:08:51.251Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T10:08:52.455Z] Merging remotes/origin/master commit 619f260ee4c0648af817c78e3551f454d78ccf58 into PR head commit 24a7db6aa375322f003ce0c1b6a027f335be965f [2021-01-15T10:08:52.562Z] Merge succeeded, producing 24a7db6aa375322f003ce0c1b6a027f335be965f [2021-01-15T10:08:52.563Z] Checking out Revision 24a7db6aa375322f003ce0c1b6a027f335be965f (PR-718) [2021-01-15T10:08:51.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T10:08:51.975Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T10:08:51.986Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T10:08:52.000Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T10:08:52.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T10:08:52.005Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T10:08:52.464Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T10:08:52.473Z] > git checkout -f 24a7db6aa375322f003ce0c1b6a027f335be965f # timeout=10 [2021-01-15T10:08:52.530Z] > git remote # timeout=10 [2021-01-15T10:08:52.536Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T10:08:52.541Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T10:08:52.546Z] > git merge 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 [2021-01-15T10:08:52.556Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T10:08:52.566Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T10:08:52.571Z] > git checkout -f 24a7db6aa375322f003ce0c1b6a027f335be965f # timeout=10 [2021-01-15T10:08:56.221Z] Commit message: "docs(v2): update schema to be consistent with edgex-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T10:08:57.369Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-15T10:08:57.700Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T10:08:58.002Z] + sudo service docker restart [2021-01-15T10:08:58.002Z] + true [2021-01-15T10:08:58.002Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T10:08:59.010Z] provisioning config files... [2021-01-15T10:08:59.043Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7726972184405134429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T10:08:59.402Z] ---> docker-login.sh [2021-01-15T10:08:59.402Z] nexus3.edgexfoundry.org:10001 [2021-01-15T10:08:59.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:08:59.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:08:59.955Z] Configure a credential helper to remove this warning. See [2021-01-15T10:08:59.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:08:59.955Z] [2021-01-15T10:08:59.955Z] Login Succeeded [2021-01-15T10:08:59.955Z] nexus3.edgexfoundry.org:10002 [2021-01-15T10:09:00.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:09:00.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:09:00.222Z] Configure a credential helper to remove this warning. See [2021-01-15T10:09:00.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:09:00.222Z] [2021-01-15T10:09:00.222Z] Login Succeeded [2021-01-15T10:09:00.222Z] nexus3.edgexfoundry.org:10003 [2021-01-15T10:09:00.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:09:00.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:09:00.491Z] Configure a credential helper to remove this warning. See [2021-01-15T10:09:00.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:09:00.491Z] [2021-01-15T10:09:00.491Z] Login Succeeded [2021-01-15T10:09:00.491Z] nexus3.edgexfoundry.org:10004 [2021-01-15T10:09:00.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:09:00.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:09:00.759Z] Configure a credential helper to remove this warning. See [2021-01-15T10:09:00.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:09:00.759Z] [2021-01-15T10:09:00.759Z] Login Succeeded [2021-01-15T10:09:00.759Z] docker.io [2021-01-15T10:09:00.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:09:01.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:09:01.024Z] Configure a credential helper to remove this warning. See [2021-01-15T10:09:01.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:09:01.024Z] [2021-01-15T10:09:01.024Z] Login Succeeded [2021-01-15T10:09:01.024Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T10:09:01.036Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T10:09:01.368Z] ========================================================= [2021-01-15T10:09:01.368Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-15T10:09:01.368Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:09:01.724Z] + 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-15T10:09:01.724Z] Sending build context to Docker daemon 2.549MB [2021-01-15T10:09:01.998Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T10:09:01.998Z] Step 2/8 : FROM ${BASE} [2021-01-15T10:09:01.998Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-15T10:09:01.998Z] 188c0c94c7c5: Pulling fs layer [2021-01-15T10:09:01.998Z] 0ef7d3d256c8: Pulling fs layer [2021-01-15T10:09:01.998Z] de9db76c5a1d: Pulling fs layer [2021-01-15T10:09:01.998Z] bca2f99d35d6: Pulling fs layer [2021-01-15T10:09:01.998Z] 93359f2a8cfa: Pulling fs layer [2021-01-15T10:09:01.998Z] 7c6f9722023f: Pulling fs layer [2021-01-15T10:09:01.998Z] a35cf1a2eb13: Pulling fs layer [2021-01-15T10:09:01.998Z] 93359f2a8cfa: Waiting [2021-01-15T10:09:01.998Z] 7c6f9722023f: Waiting [2021-01-15T10:09:01.998Z] a35cf1a2eb13: Waiting [2021-01-15T10:09:01.998Z] bca2f99d35d6: Waiting [2021-01-15T10:09:01.998Z] de9db76c5a1d: Verifying Checksum [2021-01-15T10:09:01.998Z] de9db76c5a1d: Download complete [2021-01-15T10:09:01.998Z] 0ef7d3d256c8: Download complete [2021-01-15T10:09:01.998Z] 93359f2a8cfa: Verifying Checksum [2021-01-15T10:09:01.998Z] 93359f2a8cfa: Download complete [2021-01-15T10:09:01.998Z] 7c6f9722023f: Download complete [2021-01-15T10:09:01.998Z] 188c0c94c7c5: Verifying Checksum [2021-01-15T10:09:01.998Z] 188c0c94c7c5: Download complete [2021-01-15T10:09:02.269Z] 188c0c94c7c5: Pull complete [2021-01-15T10:09:02.533Z] 0ef7d3d256c8: Pull complete [2021-01-15T10:09:02.534Z] de9db76c5a1d: Pull complete [2021-01-15T10:09:03.450Z] Still waiting to schedule task [2021-01-15T10:09:03.450Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-15T10:09:04.485Z] a35cf1a2eb13: Verifying Checksum [2021-01-15T10:09:04.485Z] a35cf1a2eb13: Download complete [2021-01-15T10:09:05.068Z] bca2f99d35d6: Verifying Checksum [2021-01-15T10:09:05.068Z] bca2f99d35d6: Download complete [2021-01-15T10:09:11.749Z] bca2f99d35d6: Pull complete [2021-01-15T10:09:11.749Z] 93359f2a8cfa: Pull complete [2021-01-15T10:09:11.749Z] 7c6f9722023f: Pull complete [2021-01-15T10:09:18.412Z] a35cf1a2eb13: Pull complete [2021-01-15T10:09:18.412Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-15T10:09:18.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-15T10:09:18.412Z] ---> a62c8e92a672 [2021-01-15T10:09:18.412Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T10:09:18.412Z] ---> Running in 81ce4b9afeeb [2021-01-15T10:09:18.685Z] Removing intermediate container 81ce4b9afeeb [2021-01-15T10:09:18.685Z] ---> dca9acc8ca14 [2021-01-15T10:09:18.685Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T10:09:18.685Z] ---> Running in caf15e7b2688 [2021-01-15T10:09:19.647Z] Removing intermediate container caf15e7b2688 [2021-01-15T10:09:19.647Z] ---> d496adbf7a71 [2021-01-15T10:09:19.647Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T10:09:19.647Z] ---> Running in 3c83aa2d358f [2021-01-15T10:09:21.056Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T10:09:21.321Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T10:09:21.896Z] OK: 166 MiB in 39 packages [2021-01-15T10:09:22.475Z] Removing intermediate container 3c83aa2d358f [2021-01-15T10:09:22.475Z] ---> ad05bb5712f6 [2021-01-15T10:09:22.475Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T10:09:22.475Z] ---> Running in d538f89b02a9 [2021-01-15T10:09:22.475Z] Removing intermediate container d538f89b02a9 [2021-01-15T10:09:22.475Z] ---> 6456f0498457 [2021-01-15T10:09:22.475Z] Step 7/8 : COPY . . [2021-01-15T10:09:23.868Z] ---> 792625c1f601 [2021-01-15T10:09:23.869Z] Step 8/8 : RUN go mod download [2021-01-15T10:09:24.141Z] ---> Running in 8f8b3a18aee7 [2021-01-15T10:09:42.332Z] Removing intermediate container 8f8b3a18aee7 [2021-01-15T10:09:42.332Z] ---> bb2f6cde35c3 [2021-01-15T10:09:42.332Z] Successfully built bb2f6cde35c3 [2021-01-15T10:09:42.332Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:09:42.703Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T10:09:42.703Z] . [Pipeline] withDockerContainer [2021-01-15T10:09:43.003Z] prd-centos7-docker-4c-2g-20476 does not seem to be running inside a container [2021-01-15T10:09:43.060Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T10:09:43.875Z] $ docker top c2f3254a4cb93d3764b530ad40843519bd5ab14e66c085819470cabe1636526d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T10:09:44.443Z] + go version [2021-01-15T10:09:44.444Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-15T10:09:44.460Z] $ docker stop --time=1 c2f3254a4cb93d3764b530ad40843519bd5ab14e66c085819470cabe1636526d [2021-01-15T10:09:45.828Z] $ docker rm -f c2f3254a4cb93d3764b530ad40843519bd5ab14e66c085819470cabe1636526d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:09:46.649Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T10:09:46.649Z] . [Pipeline] withDockerContainer [2021-01-15T10:09:46.750Z] prd-centos7-docker-4c-2g-20476 does not seem to be running inside a container [2021-01-15T10:09:46.802Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T10:09:47.451Z] $ docker top e23648b772415bf2f6d7955eaa6a65d0aab7f75cd83addb9119e47435d9587b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T10:09:47.928Z] + make test [2021-01-15T10:09:47.928Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T10:09:56.127Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-15T10:10:08.515Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-15T10:10:08.515Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-15T10:10:08.515Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-15T10:10:08.782Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 19.4% of statements [2021-01-15T10:10:13.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.438s coverage: 97.1% of statements [2021-01-15T10:10:39.677Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 9.4% of statements [2021-01-15T10:10:39.677Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.061s coverage: 21.7% of statements [2021-01-15T10:10:39.677Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-15T10:10:39.677Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.209s coverage: 42.9% of statements [2021-01-15T10:10:39.677Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-15T10:10:39.677Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 68.9% of statements [2021-01-15T10:10:39.677Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-15T10:10:39.677Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-15T10:10:39.677Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-15T10:10:39.677Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-15T10:10:39.677Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 53.8% of statements [2021-01-15T10:10:39.677Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-15T10:10:39.677Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-15T10:10:39.677Z] ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.068s coverage: 26.0% of statements [2021-01-15T10:10:39.677Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.250s coverage: 68.9% of statements [2021-01-15T10:10:39.677Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.2% of statements [2021-01-15T10:10:39.677Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-15T10:10:39.942Z] GO111MODULE=on go vet ./... [2021-01-15T10:10:44.308Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20478 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [Pipeline] { [Pipeline] ws [2021-01-15T10:10:44.370Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-15T10:10:49.003Z] using credential edgex-jenkins-ssh [2021-01-15T10:10:49.065Z] Cloning the remote Git repository [2021-01-15T10:10:49.124Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T10:10:49.237Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-15T10:10:50.079Z] gofmt -l . [2021-01-15T10:10:50.079Z] [ "`gofmt -l .`" = "" ] [2021-01-15T10:10:50.342Z] ./bin/test-attribution-txt.sh [2021-01-15T10:10:49.333Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T10:10:49.334Z] > git --version # timeout=10 [2021-01-15T10:10:49.353Z] > git --version # 'git version 2.17.1' [2021-01-15T10:10:49.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T10:10:49.424Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T10:10:50.523Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T10:10:50.927Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T10:10:51.210Z] $ docker stop --time=1 e23648b772415bf2f6d7955eaa6a65d0aab7f75cd83addb9119e47435d9587b2 [2021-01-15T10:10:51.281Z] Merging remotes/origin/master commit 619f260ee4c0648af817c78e3551f454d78ccf58 into PR head commit 24a7db6aa375322f003ce0c1b6a027f335be965f [2021-01-15T10:10:51.518Z] Merge succeeded, producing 24a7db6aa375322f003ce0c1b6a027f335be965f [2021-01-15T10:10:51.518Z] Checking out Revision 24a7db6aa375322f003ce0c1b6a027f335be965f (PR-718) [2021-01-15T10:10:50.546Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T10:10:50.576Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T10:10:50.611Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T10:10:50.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T10:10:50.624Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T10:10:51.304Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T10:10:51.320Z] > git checkout -f 24a7db6aa375322f003ce0c1b6a027f335be965f # timeout=10 [2021-01-15T10:10:51.439Z] > git remote # timeout=10 [2021-01-15T10:10:51.457Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T10:10:51.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T10:10:51.478Z] > git merge 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 [2021-01-15T10:10:51.501Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T10:10:51.527Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T10:10:51.592Z] > git checkout -f 24a7db6aa375322f003ce0c1b6a027f335be965f # timeout=10 [2021-01-15T10:10:53.095Z] $ docker rm -f e23648b772415bf2f6d7955eaa6a65d0aab7f75cd83addb9119e47435d9587b2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T10:10:53.781Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T10:10:54.186Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-15T10:10:55.888Z] Commit message: "docs(v2): update schema to be consistent with edgex-go" [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-15T10:10:56.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh [2021-01-15T10:10:57.130Z] + ls -al . [2021-01-15T10:10:57.130Z] total 216 [2021-01-15T10:10:57.130Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 10:10 . [2021-01-15T10:10:57.130Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 15 10:08 .. [2021-01-15T10:10:57.130Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 10:08 bin [2021-01-15T10:10:57.130Z] -rw-r--r--. 1 jenkins jenkins 139194 Jan 15 10:10 coverage.out [2021-01-15T10:10:57.130Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 10:08 Dockerfile.build [2021-01-15T10:10:57.130Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 10:08 .dockerignore [2021-01-15T10:10:57.130Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 10:08 example [2021-01-15T10:10:57.130Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 15 10:08 .git [2021-01-15T10:10:57.130Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 10:08 .github [2021-01-15T10:10:57.130Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 10:08 .gitignore [2021-01-15T10:10:57.130Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 15 10:10 go.mod [2021-01-15T10:10:57.130Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 15 10:10 go.sum [2021-01-15T10:10:57.130Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 10:08 internal [2021-01-15T10:10:57.130Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 10:08 Jenkinsfile [2021-01-15T10:10:57.130Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 10:08 LICENSE [2021-01-15T10:10:57.130Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 15 10:08 Makefile [2021-01-15T10:10:57.130Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 10:08 openapi [2021-01-15T10:10:57.130Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 10:08 pkg [2021-01-15T10:10:57.130Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 10:08 README.md [2021-01-15T10:10:57.130Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 10:08 RELEASE-NOTES.txt [2021-01-15T10:10:57.130Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 10:08 snap [2021-01-15T10:10:57.130Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 15 10:08 VERSION [2021-01-15T10:10:57.130Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 10:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:10:57.638Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-01-15T10:10:57.661Z] + 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=24a7db6aa375322f003ce0c1b6a027f335be965f --label arch=amd64 --label version=0.0.0 . [Pipeline] sh [2021-01-15T10:10:57.925Z] Sending build context to Docker daemon 2.689MB [2021-01-15T10:10:57.925Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T10:10:57.925Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T10:10:57.925Z] ---> bb2f6cde35c3 [2021-01-15T10:10:57.925Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T10:10:58.062Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T10:10:58.401Z] + sudo+ true [2021-01-15T10:10:58.401Z] service docker restart [2021-01-15T10:10:58.501Z] ---> Running in e91be6de1a65 [2021-01-15T10:10:58.762Z] Removing intermediate container e91be6de1a65 [2021-01-15T10:10:58.762Z] ---> 8a4950066aa8 [2021-01-15T10:10:58.762Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T10:10:58.762Z] ---> Running in 3abfe93ecf12 [2021-01-15T10:10:58.762Z] Removing intermediate container 3abfe93ecf12 [2021-01-15T10:10:58.762Z] ---> 2362236b8328 [2021-01-15T10:10:58.762Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T10:10:59.033Z] ---> Running in 7089735f8b11 [2021-01-15T10:10:59.033Z] Removing intermediate container 7089735f8b11 [2021-01-15T10:10:59.033Z] ---> 9bef4dd7ccf3 [2021-01-15T10:10:59.033Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T10:10:59.033Z] ---> Running in c1ee90885d5c [2021-01-15T10:11:00.433Z] Removing intermediate container c1ee90885d5c [2021-01-15T10:11:00.433Z] ---> 94208b6cbd7f [2021-01-15T10:11:00.433Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T10:11:00.433Z] ---> Running in bc476dff85b3 [2021-01-15T10:11:00.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T10:11:01.084Z] provisioning config files... [2021-01-15T10:11:01.122Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config852553221017128878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T10:11:01.281Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T10:11:01.520Z] ---> docker-login.sh [2021-01-15T10:11:01.520Z] nexus3.edgexfoundry.org:10001 [2021-01-15T10:11:01.858Z] OK: 166 MiB in 39 packages [2021-01-15T10:11:02.119Z] Removing intermediate container bc476dff85b3 [2021-01-15T10:11:02.119Z] ---> d74a4ea83a3b [2021-01-15T10:11:02.119Z] Step 8/24 : COPY . . [2021-01-15T10:11:02.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:11:02.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:11:02.783Z] Configure a credential helper to remove this warning. See [2021-01-15T10:11:02.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:11:02.783Z] [2021-01-15T10:11:02.783Z] Login Succeeded [2021-01-15T10:11:02.783Z] nexus3.edgexfoundry.org:10002 [2021-01-15T10:11:03.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:11:03.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:11:03.335Z] Configure a credential helper to remove this warning. See [2021-01-15T10:11:03.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:11:03.335Z] [2021-01-15T10:11:03.335Z] Login Succeeded [2021-01-15T10:11:03.335Z] nexus3.edgexfoundry.org:10003 [2021-01-15T10:11:03.509Z] ---> ff016281919c [2021-01-15T10:11:03.509Z] Step 9/24 : RUN ${MAKE} [2021-01-15T10:11:03.509Z] ---> Running in 4910347a744b [2021-01-15T10:11:03.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:11:03.779Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-15T10:11:03.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:11:03.887Z] Configure a credential helper to remove this warning. See [2021-01-15T10:11:03.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:11:03.887Z] [2021-01-15T10:11:03.887Z] Login Succeeded [2021-01-15T10:11:03.887Z] nexus3.edgexfoundry.org:10004 [2021-01-15T10:11:04.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:11:04.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:11:04.486Z] Configure a credential helper to remove this warning. See [2021-01-15T10:11:04.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:11:04.486Z] [2021-01-15T10:11:04.486Z] Login Succeeded [2021-01-15T10:11:04.486Z] docker.io [2021-01-15T10:11:04.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T10:11:05.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T10:11:05.369Z] Configure a credential helper to remove this warning. See [2021-01-15T10:11:05.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T10:11:05.369Z] [2021-01-15T10:11:05.369Z] Login Succeeded [2021-01-15T10:11:05.369Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T10:11:05.389Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T10:11:05.811Z] ========================================================= [2021-01-15T10:11:05.812Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-15T10:11:05.812Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:11:06.193Z] + 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-15T10:11:06.799Z] Sending build context to Docker daemon 2.548MB [2021-01-15T10:11:06.799Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T10:11:06.799Z] Step 2/8 : FROM ${BASE} [2021-01-15T10:11:06.799Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-15T10:11:06.799Z] 5f621e34cdf4: Pulling fs layer [2021-01-15T10:11:06.799Z] a4357932f1b6: Pulling fs layer [2021-01-15T10:11:06.799Z] 18c013af1878: Pulling fs layer [2021-01-15T10:11:06.799Z] 00ac8860ef70: Pulling fs layer [2021-01-15T10:11:06.799Z] 63d7cb157983: Pulling fs layer [2021-01-15T10:11:06.799Z] b116817d02f9: Pulling fs layer [2021-01-15T10:11:06.799Z] 745a02a5169b: Pulling fs layer [2021-01-15T10:11:06.799Z] 00ac8860ef70: Waiting [2021-01-15T10:11:06.799Z] 63d7cb157983: Waiting [2021-01-15T10:11:06.799Z] b116817d02f9: Waiting [2021-01-15T10:11:06.799Z] 745a02a5169b: Waiting [2021-01-15T10:11:06.799Z] 18c013af1878: Verifying Checksum [2021-01-15T10:11:06.799Z] 18c013af1878: Download complete [2021-01-15T10:11:06.799Z] a4357932f1b6: Verifying Checksum [2021-01-15T10:11:06.799Z] a4357932f1b6: Download complete [2021-01-15T10:11:06.799Z] 63d7cb157983: Verifying Checksum [2021-01-15T10:11:06.799Z] 63d7cb157983: Download complete [2021-01-15T10:11:07.395Z] b116817d02f9: Download complete [2021-01-15T10:11:07.395Z] 5f621e34cdf4: Verifying Checksum [2021-01-15T10:11:07.395Z] 5f621e34cdf4: Download complete [2021-01-15T10:11:08.003Z] 5f621e34cdf4: Pull complete [2021-01-15T10:11:08.608Z] a4357932f1b6: Pull complete [2021-01-15T10:11:08.883Z] 18c013af1878: Pull complete [2021-01-15T10:11:09.482Z] 745a02a5169b: Verifying Checksum [2021-01-15T10:11:09.482Z] 745a02a5169b: Download complete [2021-01-15T10:11:10.920Z] 00ac8860ef70: Verifying Checksum [2021-01-15T10:11:10.920Z] 00ac8860ef70: Download complete [2021-01-15T10:11:12.036Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T10:11:13.962Z] Removing intermediate container 4910347a744b [2021-01-15T10:11:13.962Z] ---> 14f006d29c70 [2021-01-15T10:11:13.962Z] Step 10/24 : FROM scratch [2021-01-15T10:11:13.962Z] ---> [2021-01-15T10:11:13.962Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T10:11:13.962Z] ---> Running in 195a26fcaa10 [2021-01-15T10:11:13.962Z] Removing intermediate container 195a26fcaa10 [2021-01-15T10:11:13.962Z] ---> 18147c719249 [2021-01-15T10:11:13.962Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T10:11:13.962Z] ---> Running in 562abc4b1df4 [2021-01-15T10:11:13.962Z] Removing intermediate container 562abc4b1df4 [2021-01-15T10:11:13.962Z] ---> 4e92d1606813 [2021-01-15T10:11:13.962Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T10:11:14.225Z] ---> Running in b13278af5f09 [2021-01-15T10:11:14.225Z] Removing intermediate container b13278af5f09 [2021-01-15T10:11:14.225Z] ---> 1b6f4cdbcca9 [2021-01-15T10:11:14.225Z] Step 14/24 : WORKDIR / [2021-01-15T10:11:14.225Z] ---> Running in b7b2985d4406 [2021-01-15T10:11:14.489Z] Removing intermediate container b7b2985d4406 [2021-01-15T10:11:14.489Z] ---> 7a38e3d8bf7e [2021-01-15T10:11:14.489Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T10:11:15.065Z] ---> 8354ad21f812 [2021-01-15T10:11:15.065Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T10:11:15.332Z] ---> 15993b59f120 [2021-01-15T10:11:15.332Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T10:11:15.332Z] ---> f52e7b77b36e [2021-01-15T10:11:15.332Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T10:11:15.594Z] ---> b88126ce43c2 [2021-01-15T10:11:15.594Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T10:11:15.856Z] ---> 94e79a1f3ea3 [2021-01-15T10:11:15.856Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T10:11:15.856Z] ---> Running in 91bb8f32c999 [2021-01-15T10:11:16.119Z] Removing intermediate container 91bb8f32c999 [2021-01-15T10:11:16.119Z] ---> 8a0536a64aad [2021-01-15T10:11:16.119Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T10:11:16.119Z] ---> Running in cfbfa117ca64 [2021-01-15T10:11:16.382Z] Removing intermediate container cfbfa117ca64 [2021-01-15T10:11:16.382Z] ---> b1e6b15c5696 [2021-01-15T10:11:16.382Z] Step 22/24 : LABEL arch=amd64 [2021-01-15T10:11:16.382Z] ---> Running in 91c9d046d6ec [2021-01-15T10:11:16.646Z] Removing intermediate container 91c9d046d6ec [2021-01-15T10:11:16.646Z] ---> 83a3dfbc859c [2021-01-15T10:11:16.646Z] Step 23/24 : LABEL git_sha=24a7db6aa375322f003ce0c1b6a027f335be965f [2021-01-15T10:11:16.646Z] ---> Running in cc7ac4ead142 [2021-01-15T10:11:16.909Z] Removing intermediate container cc7ac4ead142 [2021-01-15T10:11:16.909Z] ---> 204e1c23331f [2021-01-15T10:11:16.909Z] Step 24/24 : LABEL version=0.0.0 [2021-01-15T10:11:16.909Z] ---> Running in efe94b23f026 [2021-01-15T10:11:17.171Z] Removing intermediate container efe94b23f026 [2021-01-15T10:11:17.171Z] ---> 96cb525b4e86 [2021-01-15T10:11:17.172Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T10:11:17.172Z] Successfully built 96cb525b4e86 [2021-01-15T10:11:17.172Z] 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-15T10:11:21.091Z] 00ac8860ef70: Pull complete [2021-01-15T10:11:21.091Z] 63d7cb157983: Pull complete [2021-01-15T10:11:21.091Z] b116817d02f9: Pull complete [2021-01-15T10:11:25.404Z] 745a02a5169b: Pull complete [2021-01-15T10:11:25.405Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-15T10:11:25.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-15T10:11:25.405Z] ---> b7e6874047d6 [2021-01-15T10:11:25.405Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T10:11:28.044Z] ---> Running in 497210169dd1 [2021-01-15T10:11:28.044Z] Removing intermediate container 497210169dd1 [2021-01-15T10:11:28.044Z] ---> fd8fc64313c2 [2021-01-15T10:11:28.044Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T10:11:28.044Z] ---> Running in ab76cd0103e3 [2021-01-15T10:11:30.672Z] Removing intermediate container ab76cd0103e3 [2021-01-15T10:11:30.672Z] ---> 5f22f3f34817 [2021-01-15T10:11:30.672Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T10:11:30.672Z] ---> Running in ccd014e21b09 [2021-01-15T10:11:31.657Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T10:11:32.252Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T10:11:33.232Z] OK: 142 MiB in 39 packages [2021-01-15T10:11:34.211Z] Removing intermediate container ccd014e21b09 [2021-01-15T10:11:34.211Z] ---> 923268025494 [2021-01-15T10:11:34.211Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T10:11:34.211Z] ---> Running in 47220626de5c [2021-01-15T10:11:34.807Z] Removing intermediate container 47220626de5c [2021-01-15T10:11:34.807Z] ---> c2249a3ae230 [2021-01-15T10:11:34.807Z] Step 7/8 : COPY . . [2021-01-15T10:11:36.238Z] ---> e2c3bc39baba [2021-01-15T10:11:36.238Z] Step 8/8 : RUN go mod download [2021-01-15T10:11:36.516Z] ---> Running in 688e83fbc2e5 [2021-01-15T10:11:58.684Z] Removing intermediate container 688e83fbc2e5 [2021-01-15T10:11:58.684Z] ---> e4242bca2df3 [2021-01-15T10:11:58.684Z] Successfully built e4242bca2df3 [2021-01-15T10:11:58.684Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:11:59.032Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T10:11:59.032Z] . [Pipeline] withDockerContainer [2021-01-15T10:11:59.302Z] prd-ubuntu18.04-docker-arm64-4c-16g-20478 does not seem to be running inside a container [2021-01-15T10:11:59.405Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-15T10:12:00.877Z] $ docker top a5c61adb9f42f91101944a0ec2e9c1e9f50554d6dabfcc6f19775ec68e22419a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T10:12:01.901Z] + go version [2021-01-15T10:12:01.901Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-15T10:12:01.937Z] $ docker stop --time=1 a5c61adb9f42f91101944a0ec2e9c1e9f50554d6dabfcc6f19775ec68e22419a [2021-01-15T10:12:03.886Z] $ docker rm -f a5c61adb9f42f91101944a0ec2e9c1e9f50554d6dabfcc6f19775ec68e22419a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:12:04.956Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T10:12:04.956Z] . [Pipeline] withDockerContainer [2021-01-15T10:12:05.221Z] prd-ubuntu18.04-docker-arm64-4c-16g-20478 does not seem to be running inside a container [2021-01-15T10:12:05.315Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-15T10:12:06.784Z] $ docker top 92982eac0800f64d17d4cd1edba16dd52426874b05847832f2eb47cc27b0684f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T10:12:07.792Z] + make test [2021-01-15T10:12:07.792Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T10:12:29.983Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-15T10:13:09.036Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-15T10:13:09.036Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-15T10:13:09.036Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-15T10:13:09.036Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.159s coverage: 19.4% of statements [2021-01-15T10:13:14.457Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.147s coverage: 97.1% of statements [2021-01-15T10:13:41.268Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.138s coverage: 9.4% of statements [2021-01-15T10:13:41.268Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.130s coverage: 21.7% of statements [2021-01-15T10:13:41.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-15T10:13:41.269Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.587s coverage: 42.9% of statements [2021-01-15T10:13:41.269Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-15T10:13:41.269Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.754s coverage: 68.9% of statements [2021-01-15T10:13:41.269Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-15T10:13:41.269Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-15T10:13:41.269Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-15T10:13:41.269Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-15T10:13:41.269Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.208s coverage: 53.8% of statements [2021-01-15T10:13:41.269Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-15T10:13:41.269Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-15T10:13:41.269Z] ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.167s coverage: 26.0% of statements [2021-01-15T10:13:41.269Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.739s coverage: 68.9% of statements [2021-01-15T10:13:41.269Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.143s coverage: 4.2% of statements [2021-01-15T10:13:41.269Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-15T10:13:41.543Z] GO111MODULE=on go vet ./... [2021-01-15T10:14:20.774Z] gofmt -l . [2021-01-15T10:14:20.774Z] [ "`gofmt -l .`" = "" ] [2021-01-15T10:14:20.774Z] ./bin/test-attribution-txt.sh [2021-01-15T10:14:20.774Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T10:14:20.817Z] $ docker stop --time=1 92982eac0800f64d17d4cd1edba16dd52426874b05847832f2eb47cc27b0684f [2021-01-15T10:14:22.931Z] $ docker rm -f 92982eac0800f64d17d4cd1edba16dd52426874b05847832f2eb47cc27b0684f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T10:14:23.979Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T10:14:24.046Z] Warning: overwriting stash ‘coverage-report’ [2021-01-15T10:14:24.821Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T10:14:25.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T10:14:25.903Z] + ls -al . [2021-01-15T10:14:25.903Z] total 252 [2021-01-15T10:14:25.903Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 10:14 . [2021-01-15T10:14:25.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 10:10 .. [2021-01-15T10:14:25.903Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 10:10 .dockerignore [2021-01-15T10:14:25.903Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 10:10 .git [2021-01-15T10:14:25.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 10:10 .github [2021-01-15T10:14:25.903Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 10:10 .gitignore [2021-01-15T10:14:25.903Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 10:10 Dockerfile.build [2021-01-15T10:14:25.903Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 10:10 Jenkinsfile [2021-01-15T10:14:25.903Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 10:10 LICENSE [2021-01-15T10:14:25.903Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 15 10:10 Makefile [2021-01-15T10:14:25.903Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 10:10 README.md [2021-01-15T10:14:25.903Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 10:10 RELEASE-NOTES.txt [2021-01-15T10:14:25.903Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 15 10:08 VERSION [2021-01-15T10:14:25.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 10:10 bin [2021-01-15T10:14:25.903Z] -rw-r--r-- 1 jenkins jenkins 139194 Jan 15 10:13 coverage.out [2021-01-15T10:14:25.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 10:10 example [2021-01-15T10:14:25.903Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 15 10:14 go.mod [2021-01-15T10:14:25.903Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 15 10:14 go.sum [2021-01-15T10:14:25.903Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 10:10 internal [2021-01-15T10:14:25.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 10:10 openapi [2021-01-15T10:14:25.903Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 10:10 pkg [2021-01-15T10:14:25.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 10:10 snap [2021-01-15T10:14:25.903Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 10:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:14:26.249Z] + 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=24a7db6aa375322f003ce0c1b6a027f335be965f --label arch=arm64 --label version=0.0.0 . [2021-01-15T10:14:26.846Z] Sending build context to Docker daemon 2.687MB [2021-01-15T10:14:26.846Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T10:14:26.846Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T10:14:26.846Z] ---> e4242bca2df3 [2021-01-15T10:14:26.846Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T10:14:27.119Z] ---> Running in 40cb0e06f719 [2021-01-15T10:14:27.396Z] Removing intermediate container 40cb0e06f719 [2021-01-15T10:14:27.396Z] ---> 215676c47444 [2021-01-15T10:14:27.396Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T10:14:27.673Z] ---> Running in 7e9c0f7b642e [2021-01-15T10:14:28.268Z] Removing intermediate container 7e9c0f7b642e [2021-01-15T10:14:28.268Z] ---> 81c566506691 [2021-01-15T10:14:28.268Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T10:14:28.268Z] ---> Running in b55298feaa46 [2021-01-15T10:14:28.868Z] Removing intermediate container b55298feaa46 [2021-01-15T10:14:28.868Z] ---> 356ff07bd85b [2021-01-15T10:14:28.868Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T10:14:28.868Z] ---> Running in b8e0175985d4 [2021-01-15T10:14:30.857Z] Removing intermediate container b8e0175985d4 [2021-01-15T10:14:30.857Z] ---> d1c8c3a82f20 [2021-01-15T10:14:30.857Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T10:14:31.134Z] ---> Running in 5b5bc24a6b36 [2021-01-15T10:14:32.109Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T10:14:33.086Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T10:14:33.692Z] OK: 142 MiB in 39 packages [2021-01-15T10:14:34.681Z] Removing intermediate container 5b5bc24a6b36 [2021-01-15T10:14:34.681Z] ---> 2a7a120977e0 [2021-01-15T10:14:34.681Z] Step 8/24 : COPY . . [2021-01-15T10:14:36.103Z] ---> df0c015071b0 [2021-01-15T10:14:36.103Z] Step 9/24 : RUN ${MAKE} [2021-01-15T10:14:36.103Z] ---> Running in 6dccd668eca8 [2021-01-15T10:14:37.075Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-15T10:15:03.897Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T10:15:03.897Z] Removing intermediate container 6dccd668eca8 [2021-01-15T10:15:03.897Z] ---> 1011815fdf8a [2021-01-15T10:15:03.897Z] Step 10/24 : FROM scratch [2021-01-15T10:15:03.897Z] ---> [2021-01-15T10:15:03.897Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T10:15:03.897Z] ---> Running in 4e9d76de7a98 [2021-01-15T10:15:04.170Z] Removing intermediate container 4e9d76de7a98 [2021-01-15T10:15:04.170Z] ---> 0a7402255c56 [2021-01-15T10:15:04.170Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T10:15:04.170Z] ---> Running in 21cbf51d7cff [2021-01-15T10:15:04.769Z] Removing intermediate container 21cbf51d7cff [2021-01-15T10:15:04.769Z] ---> cdd9e7f52cb6 [2021-01-15T10:15:04.769Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T10:15:04.769Z] ---> Running in 5a8927424580 [2021-01-15T10:15:05.042Z] Removing intermediate container 5a8927424580 [2021-01-15T10:15:05.042Z] ---> 7018dd668b41 [2021-01-15T10:15:05.042Z] Step 14/24 : WORKDIR / [2021-01-15T10:15:05.316Z] ---> Running in b24cf35f8ebf [2021-01-15T10:15:05.588Z] Removing intermediate container b24cf35f8ebf [2021-01-15T10:15:05.588Z] ---> 7c2986c0243a [2021-01-15T10:15:05.588Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T10:15:07.025Z] ---> 2cd4c9828dc3 [2021-01-15T10:15:07.025Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T10:15:07.621Z] ---> 33a394f82127 [2021-01-15T10:15:07.621Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T10:15:08.219Z] ---> 03cf9ad255d4 [2021-01-15T10:15:08.219Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T10:15:09.653Z] ---> 67ed3f99735e [2021-01-15T10:15:09.653Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T10:15:10.251Z] ---> 230310b004f3 [2021-01-15T10:15:10.251Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T10:15:10.251Z] ---> Running in 327dd770f267 [2021-01-15T10:15:10.847Z] Removing intermediate container 327dd770f267 [2021-01-15T10:15:10.847Z] ---> ecacf4e0587f [2021-01-15T10:15:10.847Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T10:15:10.847Z] ---> Running in f1345d044b05 [2021-01-15T10:15:11.443Z] Removing intermediate container f1345d044b05 [2021-01-15T10:15:11.443Z] ---> 0286b2088143 [2021-01-15T10:15:11.443Z] Step 22/24 : LABEL arch=arm64 [2021-01-15T10:15:11.443Z] ---> Running in 60d3a94798b2 [2021-01-15T10:15:12.046Z] Removing intermediate container 60d3a94798b2 [2021-01-15T10:15:12.046Z] ---> 9bd765cb71ae [2021-01-15T10:15:12.046Z] Step 23/24 : LABEL git_sha=24a7db6aa375322f003ce0c1b6a027f335be965f [2021-01-15T10:15:12.046Z] ---> Running in 4af19a7cdcdf [2021-01-15T10:15:12.653Z] Removing intermediate container 4af19a7cdcdf [2021-01-15T10:15:12.653Z] ---> 9932ffd0f34e [2021-01-15T10:15:12.653Z] Step 24/24 : LABEL version=0.0.0 [2021-01-15T10:15:12.653Z] ---> Running in 6c6236e42615 [2021-01-15T10:15:13.249Z] Removing intermediate container 6c6236e42615 [2021-01-15T10:15:13.249Z] ---> 8cb1065bec42 [2021-01-15T10:15:13.249Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T10:15:13.249Z] Successfully built 8cb1065bec42 [2021-01-15T10:15:13.249Z] 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-15T10:15:15.010Z] provisioning config files... [2021-01-15T10:15:15.028Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config5729029113473071245tmp [Pipeline] { [Pipeline] sh [2021-01-15T10:15:15.464Z] + set +x [2021-01-15T10:15:15.464Z] + curl -s https://codecov.io/bash [2021-01-15T10:15:15.464Z] + bash -s -- [2021-01-15T10:15:15.728Z] [2021-01-15T10:15:15.728Z] _____ _ [2021-01-15T10:15:15.728Z] / ____| | | [2021-01-15T10:15:15.728Z] | | ___ __| | ___ ___ _____ __ [2021-01-15T10:15:15.728Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-15T10:15:15.728Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-15T10:15:15.728Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-15T10:15:15.728Z] Bash-20201231-23d4836 [2021-01-15T10:15:15.728Z] [2021-01-15T10:15:15.728Z] [2021-01-15T10:15:15.728Z] ==> git version 2.24.3 found [2021-01-15T10:15:15.728Z] ==> 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-15T10:15:15.728Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-15T10:15:15.728Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-15T10:15:15.728Z] ==> Jenkins CI detected. [2021-01-15T10:15:15.728Z] project root: . [2021-01-15T10:15:15.728Z] --> token set from env [2021-01-15T10:15:15.728Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-15T10:15:15.728Z] ==> Running gcov in . (disable via -X gcov) [2021-01-15T10:15:15.728Z] ==> Python coveragepy not found [2021-01-15T10:15:15.728Z] ==> Searching for coverage reports in: [2021-01-15T10:15:15.728Z] + . [2021-01-15T10:15:15.728Z] -> Found 1 reports [2021-01-15T10:15:15.728Z] ==> Detecting git/mercurial file structure [2021-01-15T10:15:15.728Z] ==> Reading reports [2021-01-15T10:15:15.728Z] + ./coverage.out bytes=139194 [2021-01-15T10:15:15.728Z] ==> Appending adjustments [2021-01-15T10:15:15.728Z] https://docs.codecov.io/docs/fixing-reports [2021-01-15T10:15:16.303Z] + Found adjustments [2021-01-15T10:15:16.303Z] ==> Gzipping contents [2021-01-15T10:15:16.303Z] 24K /tmp/codecov.x6irbH.gz [2021-01-15T10:15:16.303Z] ==> Uploading reports [2021-01-15T10:15:16.303Z] url: https://codecov.io [2021-01-15T10:15:16.303Z] query: branch=PR-718&commit=24a7db6aa375322f003ce0c1b6a027f335be965f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-718%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=718&job=&cmd_args= [2021-01-15T10:15:16.303Z] -> Pinging Codecov [2021-01-15T10:15:16.303Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-718&commit=24a7db6aa375322f003ce0c1b6a027f335be965f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-718%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=718&job=&cmd_args= [2021-01-15T10:15:16.877Z] -> Uploading to [2021-01-15T10:15:16.877Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/24a7db6aa375322f003ce0c1b6a027f335be965f/d1e6170e-522b-4343-a574-6e880da3887c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T101516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9fa5eec7515c14cd55ca1907339a333dc45f4aac8b71802637a04ec08a134fbd [2021-01-15T10:15:16.877Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-15T10:15:16.877Z] Dload Upload Total Spent Left Speed [2021-01-15T10:15:17.823Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22256 0 0 100 22256 0 38140 --:--:-- --:--:-- --:--:-- 38174 [2021-01-15T10:15:17.823Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/24a7db6aa375322f003ce0c1b6a027f335be965f [Pipeline] } [2021-01-15T10:15:17.832Z] 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-15T10:15:20.302Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T10:15:20.607Z] ---> package-listing.sh [2021-01-15T10:15:20.607Z] ++ facter osfamily [2021-01-15T10:15:20.607Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-15T10:15:20.607Z] + OS_FAMILY=redhat [2021-01-15T10:15:20.607Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-718 [2021-01-15T10:15:20.607Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-15T10:15:20.607Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-15T10:15:20.607Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-15T10:15:20.607Z] + PACKAGES=/tmp/packages_start.txt [2021-01-15T10:15:20.607Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-718 ']' [2021-01-15T10:15:20.607Z] + PACKAGES=/tmp/packages_end.txt [2021-01-15T10:15:20.607Z] + case "${OS_FAMILY}" in [2021-01-15T10:15:20.607Z] + rpm -qa [2021-01-15T10:15:20.607Z] + sort [2021-01-15T10:15:25.923Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-15T10:15:25.923Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-15T10:15:25.923Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-15T10:15:25.923Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-718 ']' [2021-01-15T10:15:25.923Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-718/archives/ [2021-01-15T10:15:25.923Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-718/archives/ [Pipeline] echo [2021-01-15T10:15:25.947Z] 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-718/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-15T10:15:26.251Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:15:26.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T10:15:26.574Z] [2021-01-15T10:15:26.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-15T10:15:26.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T10:15:26.940Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-15T10:15:26.940Z] df20fa9351a1: Pulling fs layer [2021-01-15T10:15:26.940Z] 36b3adc4ff6f: Pulling fs layer [2021-01-15T10:15:26.940Z] 8ad3a11d3b57: Pulling fs layer [2021-01-15T10:15:26.940Z] 46f8f816bc3b: Pulling fs layer [2021-01-15T10:15:26.940Z] 93b61091891f: Pulling fs layer [2021-01-15T10:15:26.940Z] 93b9cdb0e59b: Pulling fs layer [2021-01-15T10:15:26.940Z] 5e14af77c1be: Pulling fs layer [2021-01-15T10:15:26.940Z] 01666e4c0597: Pulling fs layer [2021-01-15T10:15:26.940Z] aa168da1d23b: Pulling fs layer [2021-01-15T10:15:26.940Z] 93b61091891f: Waiting [2021-01-15T10:15:26.940Z] 46f8f816bc3b: Waiting [2021-01-15T10:15:26.940Z] 5e14af77c1be: Waiting [2021-01-15T10:15:26.940Z] 01666e4c0597: Waiting [2021-01-15T10:15:26.940Z] 93b9cdb0e59b: Waiting [2021-01-15T10:15:26.940Z] aa168da1d23b: Waiting [2021-01-15T10:15:26.940Z] 36b3adc4ff6f: Verifying Checksum [2021-01-15T10:15:26.940Z] 36b3adc4ff6f: Download complete [2021-01-15T10:15:26.940Z] 46f8f816bc3b: Verifying Checksum [2021-01-15T10:15:26.940Z] 46f8f816bc3b: Download complete [2021-01-15T10:15:26.940Z] df20fa9351a1: Download complete [2021-01-15T10:15:27.203Z] 93b9cdb0e59b: Verifying Checksum [2021-01-15T10:15:27.203Z] 93b9cdb0e59b: Download complete [2021-01-15T10:15:27.203Z] 5e14af77c1be: Verifying Checksum [2021-01-15T10:15:27.203Z] 5e14af77c1be: Download complete [2021-01-15T10:15:27.203Z] 93b61091891f: Verifying Checksum [2021-01-15T10:15:27.203Z] 93b61091891f: Download complete [2021-01-15T10:15:27.203Z] 01666e4c0597: Verifying Checksum [2021-01-15T10:15:27.203Z] 01666e4c0597: Download complete [2021-01-15T10:15:27.470Z] df20fa9351a1: Pull complete [2021-01-15T10:15:27.733Z] 36b3adc4ff6f: Pull complete [2021-01-15T10:15:27.733Z] 8ad3a11d3b57: Verifying Checksum [2021-01-15T10:15:27.733Z] 8ad3a11d3b57: Download complete [2021-01-15T10:15:28.684Z] 8ad3a11d3b57: Pull complete [2021-01-15T10:15:28.684Z] 46f8f816bc3b: Pull complete [2021-01-15T10:15:29.271Z] 93b61091891f: Pull complete [2021-01-15T10:15:29.271Z] aa168da1d23b: Verifying Checksum [2021-01-15T10:15:29.271Z] aa168da1d23b: Download complete [2021-01-15T10:15:29.540Z] 93b9cdb0e59b: Pull complete [2021-01-15T10:15:29.540Z] 5e14af77c1be: Pull complete [2021-01-15T10:15:29.810Z] 01666e4c0597: Pull complete [2021-01-15T10:15:36.463Z] aa168da1d23b: Pull complete [2021-01-15T10:15:36.463Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-15T10:15:36.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T10:15:36.463Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-15T10:15:36.684Z] prd-centos7-docker-4c-2g-20475 does not seem to be running inside a container [2021-01-15T10:15:36.748Z] $ 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-718/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-718 -v /w/workspace/dgexfoundry_device-sdk-go_PR-718:/w/workspace/dgexfoundry_device-sdk-go_PR-718:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-15T10:15:46.388Z] $ docker top 733cd72d96aafae6fc632bea1b486bc51aea76c894d7238beb2cb771ceaebbe4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T10:15:47.088Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-15T10:15:47.392Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-15T10:15:47.692Z] + ls /var/log/sa-host [2021-01-15T10:15:47.692Z] + sadf -c /var/log/sa-host/sa15 [2021-01-15T10:15:47.692Z] file_magic: OK [2021-01-15T10:15:47.692Z] HZ: Using current value: 100 [2021-01-15T10:15:47.692Z] file_header: OK [2021-01-15T10:15:47.692Z] 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-15T10:15:47.692Z] Statistics: [2021-01-15T10:15:47.692Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-15T10:15:47.692Z] File successfully converted to sysstat format version 12.2.1 [2021-01-15T10:15:47.692Z] + sadf -c /var/log/sa-host/sa23 [2021-01-15T10:15:47.692Z] file_magic: OK [2021-01-15T10:15:47.692Z] HZ: Using current value: 100 [2021-01-15T10:15:47.692Z] file_header: OK [2021-01-15T10:15:47.692Z] 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-15T10:15:47.692Z] Statistics: [2021-01-15T10:15:47.692Z] Hnuu...uuuununununu... [2021-01-15T10:15:47.692Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-15T10:15:47.893Z] provisioning config files... [2021-01-15T10:15:47.910Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config3999389985788393556tmp [Pipeline] { [Pipeline] echo [2021-01-15T10:15:47.984Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T10:15:48.280Z] ---> create-netrc.sh [Pipeline] } [2021-01-15T10:15:48.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-15T10:15:48.432Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T10:15:48.728Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-15T10:15:48.740Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T10:15:49.041Z] ---> sudo-logs.sh [2021-01-15T10:15:49.041Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-15T10:15:49.052Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T10:15:49.349Z] ---> job-cost.sh [2021-01-15T10:15:49.350Z] lf-activate-venv: SKIPPING [2021-01-15T10:15:49.350Z] INFO: No Stack... [2021-01-15T10:15:50.745Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-15T10:15:51.007Z] INFO: Archiving Costs [Pipeline] echo [2021-01-15T10:15:51.020Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T10:15:51.316Z] ---> logs-deploy.sh [2021-01-15T10:15:51.316Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-718/4 [2021-01-15T10:15:51.316Z] INFO: archiving workspace using pattern(s): [2021-01-15T10:15:53.235Z] Archives upload complete. [2021-01-15T10:15:53.235Z] INFO: archiving logs to Nexus