Pull request #713 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 24db2b5b4e238afaf0b6f29942a38411e5001777+ae9643155e3faeb030acb175a4c64bf595945178 (22847be01b90c89f04e5a9846fa60f10b62dfd11) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-19803 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [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-713 # 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 ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 24db2b5b4e238afaf0b6f29942a38411e5001777 Merge succeeded, producing 24db2b5b4e238afaf0b6f29942a38411e5001777 Checking out Revision 24db2b5b4e238afaf0b6f29942a38411e5001777 (PR-713) > 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/713/head:refs/remotes/origin/PR-713 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24db2b5b4e238afaf0b6f29942a38411e5001777 # 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 ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24db2b5b4e238afaf0b6f29942a38411e5001777 # timeout=10 Commit message: "refactor: Fixup to change all occurances of `secrets' to `secret`" > git rev-list --no-walk 72dc926d0873de1fc50d64cea13428ffd2bcb227 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-12T20:38:44.822Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-12T20:38:45.091Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-12T20:38:45.202Z] ========================================================= [2021-01-12T20:38:45.202Z] EdgeX Global Pipelines Version Info [2021-01-12T20:38:45.202Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:38:46.744Z] ------------------- [2021-01-12T20:38:46.744Z] stable info: [2021-01-12T20:38:46.744Z] ------------------- [2021-01-12T20:38:46.744Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-12T20:38:46.744Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-12T20:38:46.744Z] Message: update stable to v1.0.173 [2021-01-12T20:38:47.691Z] ------------------- [2021-01-12T20:38:47.692Z] experimental info: [2021-01-12T20:38:47.692Z] ------------------- [2021-01-12T20:38:47.692Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-12T20:38:47.692Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-12T20:38:47.692Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-12T20:38:47.941Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-12T20:38:48.023Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-12T20:38:48.109Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-12T20:38:48.194Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-12T20:38:48.295Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-12T20:38:48.415Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-12T20:38:48.528Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-12T20:38:48.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-12T20:38:48.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-12T20:38:48.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-12T20:38:48.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-12T20:38:49.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-12T20:38:49.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-12T20:38:49.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-12T20:38:49.256Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-12T20:38:49.354Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T20:38:49.441Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T20:38:49.538Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T20:38:49.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-12T20:38:49.721Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-12T20:38:49.807Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-12T20:38:49.890Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-12T20:38:49.988Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-12T20:38:50.184Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-12T20:38:50.297Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-12T20:38:50.377Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-12T20:38:50.487Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-12T20:38:50.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-713 [Pipeline] echo [2021-01-12T20:38:50.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-713 [Pipeline] echo [2021-01-12T20:38:50.755Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-713 [Pipeline] echo [2021-01-12T20:38:50.833Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24db2b5b4e238afaf0b6f29942a38411e5001777 [Pipeline] echo [2021-01-12T20:38:50.966Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24db2b5 [Pipeline] echo [2021-01-12T20:38:51.057Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T20:38:51.230Z] provisioning config files... [2021-01-12T20:38:51.279Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config7071666599122489274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:38:51.683Z] ---> docker-login.sh [2021-01-12T20:38:51.683Z] nexus3.edgexfoundry.org:10001 [2021-01-12T20:38:51.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:38:51.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:38:51.945Z] Configure a credential helper to remove this warning. See [2021-01-12T20:38:51.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:38:51.945Z] [2021-01-12T20:38:51.945Z] Login Succeeded [2021-01-12T20:38:52.207Z] nexus3.edgexfoundry.org:10002 [2021-01-12T20:38:52.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:38:52.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:38:52.207Z] Configure a credential helper to remove this warning. See [2021-01-12T20:38:52.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:38:52.207Z] [2021-01-12T20:38:52.207Z] Login Succeeded [2021-01-12T20:38:52.207Z] nexus3.edgexfoundry.org:10003 [2021-01-12T20:38:52.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:38:52.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:38:52.474Z] Configure a credential helper to remove this warning. See [2021-01-12T20:38:52.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:38:52.474Z] [2021-01-12T20:38:52.474Z] Login Succeeded [2021-01-12T20:38:52.474Z] nexus3.edgexfoundry.org:10004 [2021-01-12T20:38:52.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:38:52.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:38:52.474Z] Configure a credential helper to remove this warning. See [2021-01-12T20:38:52.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:38:52.474Z] [2021-01-12T20:38:52.474Z] Login Succeeded [2021-01-12T20:38:52.736Z] docker.io [2021-01-12T20:38:52.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:38:52.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:38:52.998Z] Configure a credential helper to remove this warning. See [2021-01-12T20:38:52.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:38:52.998Z] [2021-01-12T20:38:52.998Z] Login Succeeded [2021-01-12T20:38:52.998Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T20:38:53.009Z] 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-12T20:38:53.826Z] + git log --format=format:%s -1 24db2b5b4e238afaf0b6f29942a38411e5001777 [Pipeline] echo [2021-01-12T20:38:53.890Z] GIT_COMMIT: 24db2b5b4e238afaf0b6f29942a38411e5001777, Commit Message: refactor: Fixup to change all occurances of `secrets' to `secret` [Pipeline] echo [2021-01-12T20:38:53.933Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:38:54.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T20:38:54.542Z] [2021-01-12T20:38:54.542Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:38:54.910Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T20:38:54.910Z] latest: Pulling from edgex-devops/git-semver [2021-01-12T20:38:54.910Z] 31603596830f: Pulling fs layer [2021-01-12T20:38:54.910Z] 2a8b12db71e7: Pulling fs layer [2021-01-12T20:38:54.910Z] 6ca5941a6612: Pulling fs layer [2021-01-12T20:38:54.910Z] ecc8261a40a4: Pulling fs layer [2021-01-12T20:38:54.910Z] ecc8261a40a4: Waiting [2021-01-12T20:38:54.910Z] 2a8b12db71e7: Verifying Checksum [2021-01-12T20:38:54.910Z] 2a8b12db71e7: Download complete [2021-01-12T20:38:55.173Z] 31603596830f: Verifying Checksum [2021-01-12T20:38:55.173Z] 31603596830f: Download complete [2021-01-12T20:38:55.173Z] ecc8261a40a4: Verifying Checksum [2021-01-12T20:38:55.173Z] ecc8261a40a4: Download complete [2021-01-12T20:38:55.173Z] 6ca5941a6612: Verifying Checksum [2021-01-12T20:38:55.173Z] 6ca5941a6612: Download complete [2021-01-12T20:38:55.441Z] 31603596830f: Pull complete [2021-01-12T20:38:55.441Z] 2a8b12db71e7: Pull complete [2021-01-12T20:38:56.396Z] 6ca5941a6612: Pull complete [2021-01-12T20:38:56.658Z] ecc8261a40a4: Pull complete [2021-01-12T20:38:56.658Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-12T20:38:56.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T20:38:56.658Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-12T20:38:56.759Z] prd-centos7-docker-4c-2g-19803 does not seem to be running inside a container [2021-01-12T20:38:56.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-713 -v /w/workspace/dgexfoundry_device-sdk-go_PR-713:/w/workspace/dgexfoundry_device-sdk-go_PR-713:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-12T20:38:59.476Z] $ docker top 906a533e5bee1e50d40d7751f17b335191792482d5edd08cb9fda83856bfa735 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-12T20:38:59.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T20:38:59.879Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T20:39:00.096Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T20:39:00.099Z] $ docker exec 906a533e5bee1e50d40d7751f17b335191792482d5edd08cb9fda83856bfa735 ssh-agent [2021-01-12T20:39:00.276Z] SSH_AUTH_SOCK=/tmp/ssh-aAYMK8H7SvL8/agent.11 [2021-01-12T20:39:00.277Z] SSH_AGENT_PID=17 [2021-01-12T20:39:00.288Z] Running ssh-add (command line suppressed) [2021-01-12T20:39:00.415Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_1471042065585163081.key (/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_1471042065585163081.key) [2021-01-12T20:39:00.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T20:39:00.809Z] + git tag --points-at HEAD [Pipeline] } [2021-01-12T20:39:00.832Z] $ docker exec --env ******** --env ******** 906a533e5bee1e50d40d7751f17b335191792482d5edd08cb9fda83856bfa735 ssh-agent -k [2021-01-12T20:39:00.959Z] unset SSH_AUTH_SOCK; [2021-01-12T20:39:00.959Z] unset SSH_AGENT_PID; [2021-01-12T20:39:00.960Z] echo Agent pid 17 killed; [2021-01-12T20:39:01.006Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-12T20:39:01.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T20:39:01.142Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T20:39:01.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T20:39:01.309Z] $ docker exec 906a533e5bee1e50d40d7751f17b335191792482d5edd08cb9fda83856bfa735 ssh-agent [2021-01-12T20:39:01.465Z] SSH_AUTH_SOCK=/tmp/ssh-c2aAfd84a488/agent.47 [2021-01-12T20:39:01.465Z] SSH_AGENT_PID=53 [2021-01-12T20:39:01.474Z] Running ssh-add (command line suppressed) [2021-01-12T20:39:01.589Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_612704906438465754.key (/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_612704906438465754.key) [2021-01-12T20:39:01.645Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T20:39:01.989Z] + git semver init [2021-01-12T20:39:01.989Z] # -> Open(): unable to determine branch for HEAD [2021-01-12T20:39:01.989Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-713/.git [2021-01-12T20:39:01.989Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-713 [2021-01-12T20:39:01.989Z] # $SEMVER_REMOTE_NAME = origin [2021-01-12T20:39:01.989Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-12T20:39:01.989Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-12T20:39:01.989Z] # $SEMVER_BRANCH = PR-713 [2021-01-12T20:39:01.989Z] # $SEMVER_TEMP = /tmp/semver-267833874 [2021-01-12T20:39:01.989Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-12T20:39:02.940Z] # '/tmp/semver-267833874' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-713/.semver' [2021-01-12T20:39:02.940Z] # -> Force: false [2021-01-12T20:39:02.940Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-713/.semver [Pipeline] } [2021-01-12T20:39:02.951Z] $ docker exec --env ******** --env ******** 906a533e5bee1e50d40d7751f17b335191792482d5edd08cb9fda83856bfa735 ssh-agent -k [2021-01-12T20:39:03.106Z] unset SSH_AUTH_SOCK; [2021-01-12T20:39:03.107Z] unset SSH_AGENT_PID; [2021-01-12T20:39:03.107Z] echo Agent pid 53 killed; [2021-01-12T20:39:03.163Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-12T20:39:03.664Z] + git semver [Pipeline] } [2021-01-12T20:39:03.682Z] $ docker stop --time=1 906a533e5bee1e50d40d7751f17b335191792482d5edd08cb9fda83856bfa735 [2021-01-12T20:39:05.386Z] $ docker rm -f 906a533e5bee1e50d40d7751f17b335191792482d5edd08cb9fda83856bfa735 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-12T20:39:05.882Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-12T20:39:06.318Z] Stashed 1 file(s) [Pipeline] echo [2021-01-12T20:39:06.321Z] [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-12T20:39:21.804Z] Still waiting to schedule task [2021-01-12T20:39:21.804Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-12T20:39:21.807Z] Still waiting to schedule task [2021-01-12T20:39:21.807Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-12T20:42:22.602Z] Running on prd-centos7-docker-4c-2g-19804 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [Pipeline] { [Pipeline] ws [2021-01-12T20:42:22.659Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-01-12T20:42:25.136Z] using credential edgex-jenkins-ssh [2021-01-12T20:42:25.185Z] Cloning the remote Git repository [2021-01-12T20:42:25.213Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T20:42:25.275Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-01-12T20:42:25.341Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T20:42:25.341Z] > git --version # timeout=10 [2021-01-12T20:42:25.348Z] > git --version # 'git version 2.24.3' [2021-01-12T20:42:25.348Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T20:42:25.375Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T20:42:26.030Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T20:42:26.039Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T20:42:26.051Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T20:42:26.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T20:42:26.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T20:42:26.072Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/713/head:refs/remotes/origin/PR-713 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-12T20:42:26.591Z] Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 24db2b5b4e238afaf0b6f29942a38411e5001777 [2021-01-12T20:42:26.706Z] Merge succeeded, producing 24db2b5b4e238afaf0b6f29942a38411e5001777 [2021-01-12T20:42:26.707Z] Checking out Revision 24db2b5b4e238afaf0b6f29942a38411e5001777 (PR-713) [2021-01-12T20:42:26.600Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T20:42:26.607Z] > git checkout -f 24db2b5b4e238afaf0b6f29942a38411e5001777 # timeout=10 [2021-01-12T20:42:26.672Z] > git remote # timeout=10 [2021-01-12T20:42:26.680Z] > git config --get remote.origin.url # timeout=10 [2021-01-12T20:42:26.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T20:42:26.691Z] > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 [2021-01-12T20:42:26.701Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-12T20:42:26.711Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T20:42:26.715Z] > git checkout -f 24db2b5b4e238afaf0b6f29942a38411e5001777 # timeout=10 [2021-01-12T20:42:30.360Z] Commit message: "refactor: Fixup to change all occurances of `secrets' to `secret`" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T20:42:32.797Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-12T20:42:33.141Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-12T20:42:33.443Z] + sudo service docker restart [2021-01-12T20:42:33.443Z] + true [2021-01-12T20:42:33.443Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T20:42:34.459Z] provisioning config files... [2021-01-12T20:42:34.486Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config188649147370783598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:42:34.853Z] ---> docker-login.sh [2021-01-12T20:42:34.853Z] nexus3.edgexfoundry.org:10001 [2021-01-12T20:42:35.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:42:35.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:42:35.122Z] Configure a credential helper to remove this warning. See [2021-01-12T20:42:35.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:42:35.122Z] [2021-01-12T20:42:35.122Z] Login Succeeded [2021-01-12T20:42:35.122Z] nexus3.edgexfoundry.org:10002 [2021-01-12T20:42:35.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:42:35.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:42:35.385Z] Configure a credential helper to remove this warning. See [2021-01-12T20:42:35.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:42:35.385Z] [2021-01-12T20:42:35.385Z] Login Succeeded [2021-01-12T20:42:35.385Z] nexus3.edgexfoundry.org:10003 [2021-01-12T20:42:35.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:42:35.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:42:35.648Z] Configure a credential helper to remove this warning. See [2021-01-12T20:42:35.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:42:35.648Z] [2021-01-12T20:42:35.648Z] Login Succeeded [2021-01-12T20:42:35.648Z] nexus3.edgexfoundry.org:10004 [2021-01-12T20:42:35.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:42:35.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:42:35.911Z] Configure a credential helper to remove this warning. See [2021-01-12T20:42:35.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:42:35.911Z] [2021-01-12T20:42:35.911Z] Login Succeeded [2021-01-12T20:42:35.911Z] docker.io [2021-01-12T20:42:35.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:42:36.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:42:36.180Z] Configure a credential helper to remove this warning. See [2021-01-12T20:42:36.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:42:36.180Z] [2021-01-12T20:42:36.180Z] Login Succeeded [2021-01-12T20:42:36.180Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T20:42:36.191Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-12T20:42:36.534Z] ========================================================= [2021-01-12T20:42:36.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-12T20:42:36.534Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:42:36.904Z] + 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-12T20:42:36.904Z] Sending build context to Docker daemon 2.555MB [2021-01-12T20:42:36.904Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T20:42:36.904Z] Step 2/8 : FROM ${BASE} [2021-01-12T20:42:37.197Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-12T20:42:37.197Z] 188c0c94c7c5: Pulling fs layer [2021-01-12T20:42:37.197Z] 0ef7d3d256c8: Pulling fs layer [2021-01-12T20:42:37.197Z] de9db76c5a1d: Pulling fs layer [2021-01-12T20:42:37.197Z] bca2f99d35d6: Pulling fs layer [2021-01-12T20:42:37.197Z] 93359f2a8cfa: Pulling fs layer [2021-01-12T20:42:37.197Z] 7c6f9722023f: Pulling fs layer [2021-01-12T20:42:37.197Z] a35cf1a2eb13: Pulling fs layer [2021-01-12T20:42:37.197Z] 93359f2a8cfa: Waiting [2021-01-12T20:42:37.197Z] a35cf1a2eb13: Waiting [2021-01-12T20:42:37.197Z] bca2f99d35d6: Waiting [2021-01-12T20:42:37.197Z] 7c6f9722023f: Waiting [2021-01-12T20:42:37.197Z] de9db76c5a1d: Verifying Checksum [2021-01-12T20:42:37.197Z] de9db76c5a1d: Download complete [2021-01-12T20:42:37.197Z] 188c0c94c7c5: Verifying Checksum [2021-01-12T20:42:37.197Z] 188c0c94c7c5: Download complete [2021-01-12T20:42:37.197Z] 93359f2a8cfa: Verifying Checksum [2021-01-12T20:42:37.197Z] 93359f2a8cfa: Download complete [2021-01-12T20:42:37.197Z] 7c6f9722023f: Verifying Checksum [2021-01-12T20:42:37.197Z] 7c6f9722023f: Download complete [2021-01-12T20:42:37.465Z] 0ef7d3d256c8: Verifying Checksum [2021-01-12T20:42:37.465Z] 0ef7d3d256c8: Download complete [2021-01-12T20:42:37.465Z] 188c0c94c7c5: Pull complete [2021-01-12T20:42:37.734Z] 0ef7d3d256c8: Pull complete [2021-01-12T20:42:38.003Z] de9db76c5a1d: Pull complete [2021-01-12T20:42:38.962Z] a35cf1a2eb13: Verifying Checksum [2021-01-12T20:42:38.962Z] a35cf1a2eb13: Download complete [2021-01-12T20:42:39.539Z] bca2f99d35d6: Download complete [2021-01-12T20:42:44.888Z] bca2f99d35d6: Pull complete [2021-01-12T20:42:44.888Z] 93359f2a8cfa: Pull complete [2021-01-12T20:42:44.888Z] 7c6f9722023f: Pull complete [2021-01-12T20:42:51.543Z] a35cf1a2eb13: Pull complete [2021-01-12T20:42:51.543Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-12T20:42:51.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-12T20:42:51.543Z] ---> a62c8e92a672 [2021-01-12T20:42:51.543Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T20:42:51.809Z] ---> Running in 5e4f9e8c5110 [2021-01-12T20:42:52.386Z] Removing intermediate container 5e4f9e8c5110 [2021-01-12T20:42:52.386Z] ---> b2356a8b4e36 [2021-01-12T20:42:52.386Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T20:42:52.386Z] ---> Running in 4ea8d30e099e [2021-01-12T20:42:53.347Z] Removing intermediate container 4ea8d30e099e [2021-01-12T20:42:53.347Z] ---> 2b4a9982ba19 [2021-01-12T20:42:53.347Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-12T20:42:53.347Z] ---> Running in 1da8fb12ebc9 [2021-01-12T20:42:54.298Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-12T20:42:54.873Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-12T20:42:55.448Z] OK: 166 MiB in 39 packages [2021-01-12T20:42:55.712Z] Removing intermediate container 1da8fb12ebc9 [2021-01-12T20:42:55.712Z] ---> 71650360b28b [2021-01-12T20:42:55.712Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-12T20:42:55.712Z] ---> Running in e7bb341d8af2 [2021-01-12T20:42:55.978Z] Removing intermediate container e7bb341d8af2 [2021-01-12T20:42:55.978Z] ---> a1396730cad9 [2021-01-12T20:42:55.978Z] Step 7/8 : COPY . . [2021-01-12T20:42:57.373Z] ---> d4b9d362539e [2021-01-12T20:42:57.373Z] Step 8/8 : RUN go mod download [2021-01-12T20:42:57.373Z] ---> Running in c90f85b6edb5 [2021-01-12T20:43:16.870Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19805 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [Pipeline] { [Pipeline] ws [2021-01-12T20:43:16.923Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-01-12T20:43:19.454Z] Removing intermediate container c90f85b6edb5 [2021-01-12T20:43:19.454Z] ---> a60346946a58 [2021-01-12T20:43:19.454Z] Successfully built a60346946a58 [2021-01-12T20:43:19.454Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:43:19.770Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-12T20:43:19.770Z] . [Pipeline] withDockerContainer [2021-01-12T20:43:19.902Z] prd-centos7-docker-4c-2g-19804 does not seem to be running inside a container [2021-01-12T20:43:19.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-12T20:43:21.237Z] $ docker top f938bd86174a9d9f98f342c30de6ba77ad71342fede6556915479af5df185d1e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T20:43:21.717Z] + go version [2021-01-12T20:43:21.717Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-12T20:43:21.735Z] $ docker stop --time=1 f938bd86174a9d9f98f342c30de6ba77ad71342fede6556915479af5df185d1e [2021-01-12T20:43:21.891Z] using credential edgex-jenkins-ssh [2021-01-12T20:43:21.953Z] Cloning the remote Git repository [2021-01-12T20:43:22.018Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T20:43:23.117Z] $ docker rm -f f938bd86174a9d9f98f342c30de6ba77ad71342fede6556915479af5df185d1e [Pipeline] // withDockerContainer [2021-01-12T20:43:22.126Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-01-12T20:43:22.194Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T20:43:22.195Z] > git --version # timeout=10 [2021-01-12T20:43:22.210Z] > git --version # 'git version 2.17.1' [2021-01-12T20:43:22.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T20:43:22.289Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:43:24.017Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-12T20:43:24.017Z] . [Pipeline] withDockerContainer [2021-01-12T20:43:24.121Z] Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 24db2b5b4e238afaf0b6f29942a38411e5001777 [2021-01-12T20:43:24.149Z] prd-centos7-docker-4c-2g-19804 does not seem to be running inside a container [2021-01-12T20:43:24.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-12T20:43:24.439Z] Merge succeeded, producing 24db2b5b4e238afaf0b6f29942a38411e5001777 [2021-01-12T20:43:24.440Z] Checking out Revision 24db2b5b4e238afaf0b6f29942a38411e5001777 (PR-713) [2021-01-12T20:43:23.418Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T20:43:23.443Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T20:43:23.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T20:43:23.505Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T20:43:23.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T20:43:23.519Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/713/head:refs/remotes/origin/PR-713 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-12T20:43:24.150Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T20:43:24.166Z] > git checkout -f 24db2b5b4e238afaf0b6f29942a38411e5001777 # timeout=10 [2021-01-12T20:43:24.341Z] > git remote # timeout=10 [2021-01-12T20:43:24.362Z] > git config --get remote.origin.url # timeout=10 [2021-01-12T20:43:24.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T20:43:24.399Z] > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 [2021-01-12T20:43:24.427Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-12T20:43:24.451Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T20:43:24.460Z] > git checkout -f 24db2b5b4e238afaf0b6f29942a38411e5001777 # timeout=10 [2021-01-12T20:43:24.922Z] $ docker top c96749e82e9f8481fceb50c4b0e362357de6fdf6db3f2d4c99b5e2aa452f357c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T20:43:25.442Z] + make test [2021-01-12T20:43:25.442Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-12T20:43:28.798Z] Commit message: "refactor: Fixup to change all occurances of `secrets' to `secret`" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T20:43:30.263Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-12T20:43:30.722Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-12T20:43:31.068Z] + true [2021-01-12T20:43:31.068Z] + sudo service docker restart [2021-01-12T20:43:33.708Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T20:43:33.873Z] provisioning config files... [2021-01-12T20:43:33.913Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config8057543442207294163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:43:34.307Z] ---> docker-login.sh [2021-01-12T20:43:34.307Z] nexus3.edgexfoundry.org:10001 [2021-01-12T20:43:35.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:43:35.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:43:35.566Z] Configure a credential helper to remove this warning. See [2021-01-12T20:43:35.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:43:35.566Z] [2021-01-12T20:43:35.566Z] Login Succeeded [2021-01-12T20:43:35.566Z] nexus3.edgexfoundry.org:10002 [2021-01-12T20:43:35.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:43:36.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:43:36.116Z] Configure a credential helper to remove this warning. See [2021-01-12T20:43:36.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:43:36.116Z] [2021-01-12T20:43:36.116Z] Login Succeeded [2021-01-12T20:43:36.116Z] nexus3.edgexfoundry.org:10003 [2021-01-12T20:43:36.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:43:36.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:43:36.666Z] Configure a credential helper to remove this warning. See [2021-01-12T20:43:36.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:43:36.666Z] [2021-01-12T20:43:36.666Z] Login Succeeded [2021-01-12T20:43:36.666Z] nexus3.edgexfoundry.org:10004 [2021-01-12T20:43:36.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:43:37.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:43:37.231Z] Configure a credential helper to remove this warning. See [2021-01-12T20:43:37.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:43:37.231Z] [2021-01-12T20:43:37.231Z] Login Succeeded [2021-01-12T20:43:37.231Z] docker.io [2021-01-12T20:43:37.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:43:37.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:43:37.816Z] Configure a credential helper to remove this warning. See [2021-01-12T20:43:37.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:43:37.816Z] [2021-01-12T20:43:37.816Z] Login Succeeded [2021-01-12T20:43:37.816Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T20:43:37.843Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-12T20:43:38.396Z] ========================================================= [2021-01-12T20:43:38.396Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-12T20:43:38.396Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:43:38.805Z] + 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-12T20:43:39.433Z] Sending build context to Docker daemon 2.553MB [2021-01-12T20:43:39.433Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T20:43:39.433Z] Step 2/8 : FROM ${BASE} [2021-01-12T20:43:39.433Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-12T20:43:39.433Z] 5f621e34cdf4: Pulling fs layer [2021-01-12T20:43:39.433Z] a4357932f1b6: Pulling fs layer [2021-01-12T20:43:39.433Z] 18c013af1878: Pulling fs layer [2021-01-12T20:43:39.433Z] 00ac8860ef70: Pulling fs layer [2021-01-12T20:43:39.433Z] 63d7cb157983: Pulling fs layer [2021-01-12T20:43:39.433Z] b116817d02f9: Pulling fs layer [2021-01-12T20:43:39.433Z] 745a02a5169b: Pulling fs layer [2021-01-12T20:43:39.433Z] 00ac8860ef70: Waiting [2021-01-12T20:43:39.433Z] 63d7cb157983: Waiting [2021-01-12T20:43:39.433Z] b116817d02f9: Waiting [2021-01-12T20:43:39.433Z] 745a02a5169b: Waiting [2021-01-12T20:43:39.433Z] 18c013af1878: Verifying Checksum [2021-01-12T20:43:39.433Z] 18c013af1878: Download complete [2021-01-12T20:43:39.433Z] a4357932f1b6: Verifying Checksum [2021-01-12T20:43:39.433Z] a4357932f1b6: Download complete [2021-01-12T20:43:39.433Z] 63d7cb157983: Verifying Checksum [2021-01-12T20:43:39.433Z] 63d7cb157983: Download complete [2021-01-12T20:43:39.433Z] b116817d02f9: Verifying Checksum [2021-01-12T20:43:39.433Z] b116817d02f9: Download complete [2021-01-12T20:43:39.724Z] 5f621e34cdf4: Verifying Checksum [2021-01-12T20:43:39.724Z] 5f621e34cdf4: Download complete [2021-01-12T20:43:40.351Z] 5f621e34cdf4: Pull complete [2021-01-12T20:43:40.991Z] a4357932f1b6: Pull complete [2021-01-12T20:43:41.282Z] 18c013af1878: Pull complete [2021-01-12T20:43:43.366Z] 745a02a5169b: Verifying Checksum [2021-01-12T20:43:43.366Z] 745a02a5169b: Download complete [2021-01-12T20:43:45.384Z] 00ac8860ef70: Verifying Checksum [2021-01-12T20:43:45.384Z] 00ac8860ef70: Download complete [2021-01-12T20:43:48.865Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-12T20:43:48.865Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-12T20:43:48.865Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-12T20:43:48.865Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 19.4% of statements [2021-01-12T20:43:52.213Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.466s coverage: 97.1% of statements [2021-01-12T20:43:55.575Z] 00ac8860ef70: Pull complete [2021-01-12T20:43:55.575Z] 63d7cb157983: Pull complete [2021-01-12T20:43:55.575Z] b116817d02f9: Pull complete [2021-01-12T20:43:58.994Z] 745a02a5169b: Pull complete [2021-01-12T20:43:58.994Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-12T20:43:58.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-12T20:43:58.994Z] ---> b7e6874047d6 [2021-01-12T20:43:58.994Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T20:44:02.424Z] ---> Running in 461ce8a02483 [2021-01-12T20:44:02.424Z] Removing intermediate container 461ce8a02483 [2021-01-12T20:44:02.424Z] ---> be4a74617083 [2021-01-12T20:44:02.424Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T20:44:02.424Z] ---> Running in f590772ace8e [2021-01-12T20:44:05.065Z] Removing intermediate container f590772ace8e [2021-01-12T20:44:05.065Z] ---> 676a73b11110 [2021-01-12T20:44:05.065Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-12T20:44:05.065Z] ---> Running in 00aae4120da7 [2021-01-12T20:44:06.048Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-12T20:44:06.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-12T20:44:07.245Z] OK: 142 MiB in 39 packages [2021-01-12T20:44:08.684Z] Removing intermediate container 00aae4120da7 [2021-01-12T20:44:08.684Z] ---> db139a5fd6fc [2021-01-12T20:44:08.684Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-12T20:44:08.684Z] ---> Running in 9a8617a259b3 [2021-01-12T20:44:09.280Z] Removing intermediate container 9a8617a259b3 [2021-01-12T20:44:09.280Z] ---> e7368d98145d [2021-01-12T20:44:09.280Z] Step 7/8 : COPY . . [2021-01-12T20:44:10.712Z] ---> 60235877fc77 [2021-01-12T20:44:10.712Z] Step 8/8 : RUN go mod download [2021-01-12T20:44:10.712Z] ---> Running in 808f27ec5a7c [2021-01-12T20:44:24.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements [2021-01-12T20:44:24.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.7% of statements [2021-01-12T20:44:24.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-12T20:44:24.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.221s coverage: 42.9% of statements [2021-01-12T20:44:24.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-12T20:44:24.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.286s coverage: 68.9% of statements [2021-01-12T20:44:24.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-12T20:44:24.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-12T20:44:24.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-12T20:44:24.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-12T20:44:24.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 53.8% of statements [2021-01-12T20:44:24.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-12T20:44:24.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-12T20:44:24.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.066s coverage: 31.3% of statements [2021-01-12T20:44:24.411Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.392s coverage: 68.9% of statements [2021-01-12T20:44:24.411Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.383s coverage: 4.2% of statements [2021-01-12T20:44:24.411Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-12T20:44:24.411Z] GO111MODULE=on go vet ./... [2021-01-12T20:44:31.115Z] gofmt -l . [2021-01-12T20:44:31.115Z] [ "`gofmt -l .`" = "" ] [2021-01-12T20:44:31.115Z] ./bin/test-attribution-txt.sh [2021-01-12T20:44:31.713Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-12T20:44:32.017Z] $ docker stop --time=1 c96749e82e9f8481fceb50c4b0e362357de6fdf6db3f2d4c99b5e2aa452f357c [2021-01-12T20:44:32.881Z] Removing intermediate container 808f27ec5a7c [2021-01-12T20:44:32.881Z] ---> a554ffdbb932 [2021-01-12T20:44:32.881Z] Successfully built a554ffdbb932 [2021-01-12T20:44:32.881Z] Successfully tagged ci-base-image-arm64:latest [2021-01-12T20:44:34.058Z] $ docker rm -f c96749e82e9f8481fceb50c4b0e362357de6fdf6db3f2d4c99b5e2aa452f357c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:44:34.793Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-12T20:44:34.965Z] + docker inspect -f . ci-base-image-arm64 [2021-01-12T20:44:34.965Z] . [Pipeline] withDockerContainer [2021-01-12T20:44:35.268Z] prd-ubuntu18.04-docker-arm64-4c-16g-19805 does not seem to be running inside a container [2021-01-12T20:44:35.326Z] Stashed 1 file(s) [2021-01-12T20:44:35.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-12T20:44:36.866Z] $ docker top b4724179117a0852854112c68fab63e079f455de2f1d1f68c11c255b25767f9f -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-12T20:44:37.975Z] + go version [2021-01-12T20:44:37.975Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-12T20:44:38.881Z] $ docker stop --time=1 b4724179117a0852854112c68fab63e079f455de2f1d1f68c11c255b25767f9f [2021-01-12T20:44:40.830Z] $ docker rm -f b4724179117a0852854112c68fab63e079f455de2f1d1f68c11c255b25767f9f [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-12T20:44:41.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:44:41.802Z] + ls -al . [2021-01-12T20:44:41.803Z] total 216 [2021-01-12T20:44:41.803Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 12 20:44 . [2021-01-12T20:44:41.803Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 12 20:42 .. [2021-01-12T20:44:41.803Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 12 20:42 bin [2021-01-12T20:44:41.803Z] -rw-r--r--. 1 jenkins jenkins 137952 Jan 12 20:44 coverage.out [2021-01-12T20:44:41.803Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 12 20:42 Dockerfile.build [2021-01-12T20:44:41.803Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 12 20:42 .dockerignore [2021-01-12T20:44:41.803Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 12 20:42 example [2021-01-12T20:44:41.803Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 12 20:42 .git [2021-01-12T20:44:41.803Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 12 20:42 .github [2021-01-12T20:44:41.803Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 12 20:42 .gitignore [2021-01-12T20:44:41.803Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 12 20:44 go.mod [2021-01-12T20:44:41.803Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 12 20:44 go.sum [2021-01-12T20:44:41.803Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 12 20:42 internal [2021-01-12T20:44:41.803Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 12 20:42 Jenkinsfile [2021-01-12T20:44:41.803Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 12 20:42 LICENSE [2021-01-12T20:44:41.803Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 12 20:42 Makefile [2021-01-12T20:44:41.803Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 12 20:42 openapi [2021-01-12T20:44:41.803Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 12 20:42 pkg [2021-01-12T20:44:41.803Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 12 20:42 README.md [2021-01-12T20:44:41.803Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 12 20:42 RELEASE-NOTES.txt [2021-01-12T20:44:41.803Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 12 20:42 snap [2021-01-12T20:44:41.803Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 12 20:39 VERSION [2021-01-12T20:44:41.803Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 12 20:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:44:42.053Z] + docker inspect -f . ci-base-image-arm64 [2021-01-12T20:44:42.053Z] . [Pipeline] withDockerContainer [2021-01-12T20:44:42.131Z] + 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=24db2b5b4e238afaf0b6f29942a38411e5001777 --label arch=amd64 --label version=0.0.0 . [2021-01-12T20:44:42.317Z] prd-ubuntu18.04-docker-arm64-4c-16g-19805 does not seem to be running inside a container [2021-01-12T20:44:42.393Z] Sending build context to Docker daemon 2.694MB [2021-01-12T20:44:42.393Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T20:44:42.393Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-12T20:44:42.393Z] ---> a60346946a58 [2021-01-12T20:44:42.393Z] Step 3/24 : ARG MAKE='make build' [2021-01-12T20:44:42.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-12T20:44:42.969Z] ---> Running in 858f7bf6c2fc [2021-01-12T20:44:43.240Z] Removing intermediate container 858f7bf6c2fc [2021-01-12T20:44:43.240Z] ---> 0f0bec4fd891 [2021-01-12T20:44:43.240Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-12T20:44:43.240Z] ---> Running in c7de8b79d06f [2021-01-12T20:44:43.507Z] Removing intermediate container c7de8b79d06f [2021-01-12T20:44:43.507Z] ---> ebb503d1966c [2021-01-12T20:44:43.507Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T20:44:43.507Z] ---> Running in f26dba1a1f7b [2021-01-12T20:44:43.773Z] Removing intermediate container f26dba1a1f7b [2021-01-12T20:44:43.773Z] ---> d03ab64a3cb7 [2021-01-12T20:44:43.773Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T20:44:43.773Z] ---> Running in dc23cc22c859 [2021-01-12T20:44:43.987Z] $ docker top 080b7a3e6592441bbb3bd5537986c0aafe75d7823eb7510aa2026b20367e9fb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T20:44:45.024Z] + make test [2021-01-12T20:44:45.025Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-12T20:44:45.172Z] Removing intermediate container dc23cc22c859 [2021-01-12T20:44:45.173Z] ---> 92ca17a9a107 [2021-01-12T20:44:45.173Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-12T20:44:45.173Z] ---> Running in 4ab7ea3085de [2021-01-12T20:44:45.756Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-12T20:44:46.423Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-12T20:44:46.697Z] OK: 166 MiB in 39 packages [2021-01-12T20:44:47.309Z] Removing intermediate container 4ab7ea3085de [2021-01-12T20:44:47.309Z] ---> 40c9504cb3a7 [2021-01-12T20:44:47.309Z] Step 8/24 : COPY . . [2021-01-12T20:44:48.285Z] ---> cce934f92f77 [2021-01-12T20:44:48.285Z] Step 9/24 : RUN ${MAKE} [2021-01-12T20:44:48.557Z] ---> Running in 7f123b4a7c00 [2021-01-12T20:44:49.157Z] 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-12T20:44:59.377Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-12T20:45:00.330Z] Removing intermediate container 7f123b4a7c00 [2021-01-12T20:45:00.330Z] ---> 409b367859f1 [2021-01-12T20:45:00.330Z] Step 10/24 : FROM scratch [2021-01-12T20:45:00.330Z] ---> [2021-01-12T20:45:00.330Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T20:45:00.330Z] ---> Running in 960ce3e80964 [2021-01-12T20:45:00.330Z] Removing intermediate container 960ce3e80964 [2021-01-12T20:45:00.330Z] ---> 5e86a61a2949 [2021-01-12T20:45:00.330Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-12T20:45:00.607Z] ---> Running in bac093fbe16a [2021-01-12T20:45:00.607Z] Removing intermediate container bac093fbe16a [2021-01-12T20:45:00.607Z] ---> f3db41fbf80a [2021-01-12T20:45:00.607Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-12T20:45:00.607Z] ---> Running in 17e619e11225 [2021-01-12T20:45:00.878Z] Removing intermediate container 17e619e11225 [2021-01-12T20:45:00.878Z] ---> b7add32c7f47 [2021-01-12T20:45:00.878Z] Step 14/24 : WORKDIR / [2021-01-12T20:45:00.878Z] ---> Running in bcd4ffe54611 [2021-01-12T20:45:01.150Z] Removing intermediate container bcd4ffe54611 [2021-01-12T20:45:01.150Z] ---> 94305ce4261d [2021-01-12T20:45:01.150Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-12T20:45:01.756Z] ---> c406102c9080 [2021-01-12T20:45:01.756Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-12T20:45:01.756Z] ---> 1edeef73bdd9 [2021-01-12T20:45:01.756Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-12T20:45:02.052Z] ---> 040c676c5cf6 [2021-01-12T20:45:02.052Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-12T20:45:02.347Z] ---> 2f303b151822 [2021-01-12T20:45:02.347Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-12T20:45:02.635Z] ---> 9f8c865fed6b [2021-01-12T20:45:02.635Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-12T20:45:02.635Z] ---> Running in 830570f583ec [2021-01-12T20:45:02.918Z] Removing intermediate container 830570f583ec [2021-01-12T20:45:02.918Z] ---> 2d0a223a1a22 [2021-01-12T20:45:02.918Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-12T20:45:02.918Z] ---> Running in 9d2ca8155f11 [2021-01-12T20:45:03.213Z] Removing intermediate container 9d2ca8155f11 [2021-01-12T20:45:03.213Z] ---> c3bf9133d4e8 [2021-01-12T20:45:03.213Z] Step 22/24 : LABEL arch=amd64 [2021-01-12T20:45:03.213Z] ---> Running in 9764e6b7bb38 [2021-01-12T20:45:03.213Z] Removing intermediate container 9764e6b7bb38 [2021-01-12T20:45:03.213Z] ---> 03eeb6163af1 [2021-01-12T20:45:03.213Z] Step 23/24 : LABEL git_sha=24db2b5b4e238afaf0b6f29942a38411e5001777 [2021-01-12T20:45:03.483Z] ---> Running in 2c8a520e9473 [2021-01-12T20:45:03.483Z] Removing intermediate container 2c8a520e9473 [2021-01-12T20:45:03.483Z] ---> d1572d530cf9 [2021-01-12T20:45:03.483Z] Step 24/24 : LABEL version=0.0.0 [2021-01-12T20:45:03.747Z] ---> Running in 3f559284b50c [2021-01-12T20:45:03.747Z] Removing intermediate container 3f559284b50c [2021-01-12T20:45:03.747Z] ---> 86914af7d310 [2021-01-12T20:45:03.747Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-12T20:45:03.747Z] Successfully built 86914af7d310 [2021-01-12T20:45:03.747Z] 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-12T20:45:07.424Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-12T20:45:46.502Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-12T20:45:46.502Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-12T20:45:46.502Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-12T20:45:46.502Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.165s coverage: 19.4% of statements [2021-01-12T20:45:51.945Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.263s coverage: 97.1% of statements [2021-01-12T20:46:18.761Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.128s coverage: 9.4% of statements [2021-01-12T20:46:18.761Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.126s coverage: 21.7% of statements [2021-01-12T20:46:18.761Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-12T20:46:18.761Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.599s coverage: 42.9% of statements [2021-01-12T20:46:18.761Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-12T20:46:18.761Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.739s coverage: 68.9% of statements [2021-01-12T20:46:18.761Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-12T20:46:18.761Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-12T20:46:18.761Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-12T20:46:18.761Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-12T20:46:18.761Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.205s coverage: 53.8% of statements [2021-01-12T20:46:18.761Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-12T20:46:18.761Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-12T20:46:18.761Z] ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.190s coverage: 31.3% of statements [2021-01-12T20:46:18.761Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.727s coverage: 68.9% of statements [2021-01-12T20:46:18.761Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.130s coverage: 4.2% of statements [2021-01-12T20:46:18.761Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-12T20:46:19.357Z] GO111MODULE=on go vet ./... [2021-01-12T20:46:51.823Z] gofmt -l . [2021-01-12T20:46:52.418Z] [ "`gofmt -l .`" = "" ] [2021-01-12T20:46:52.692Z] ./bin/test-attribution-txt.sh [2021-01-12T20:46:53.669Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-12T20:46:53.958Z] $ docker stop --time=1 080b7a3e6592441bbb3bd5537986c0aafe75d7823eb7510aa2026b20367e9fb8 [2021-01-12T20:46:56.152Z] $ docker rm -f 080b7a3e6592441bbb3bd5537986c0aafe75d7823eb7510aa2026b20367e9fb8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-12T20:46:57.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-12T20:46:57.411Z] Warning: overwriting stash ‘coverage-report’ [2021-01-12T20:46:58.255Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T20:46:58.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-12T20:46:59.278Z] + ls -al . [2021-01-12T20:46:59.278Z] total 252 [2021-01-12T20:46:59.278Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 20:46 . [2021-01-12T20:46:59.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 20:43 .. [2021-01-12T20:46:59.278Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 20:43 .dockerignore [2021-01-12T20:46:59.278Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 20:43 .git [2021-01-12T20:46:59.278Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 20:43 .github [2021-01-12T20:46:59.278Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 12 20:43 .gitignore [2021-01-12T20:46:59.278Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 12 20:43 Dockerfile.build [2021-01-12T20:46:59.278Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 12 20:43 Jenkinsfile [2021-01-12T20:46:59.278Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 20:43 LICENSE [2021-01-12T20:46:59.278Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 12 20:43 Makefile [2021-01-12T20:46:59.278Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 12 20:43 README.md [2021-01-12T20:46:59.278Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 12 20:43 RELEASE-NOTES.txt [2021-01-12T20:46:59.278Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 20:39 VERSION [2021-01-12T20:46:59.278Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 20:43 bin [2021-01-12T20:46:59.278Z] -rw-r--r-- 1 jenkins jenkins 137953 Jan 12 20:46 coverage.out [2021-01-12T20:46:59.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 20:43 example [2021-01-12T20:46:59.278Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 12 20:46 go.mod [2021-01-12T20:46:59.278Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 12 20:46 go.sum [2021-01-12T20:46:59.278Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 12 20:43 internal [2021-01-12T20:46:59.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 20:43 openapi [2021-01-12T20:46:59.278Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 20:43 pkg [2021-01-12T20:46:59.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 20:43 snap [2021-01-12T20:46:59.278Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 20:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:46:59.619Z] + 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=24db2b5b4e238afaf0b6f29942a38411e5001777 --label arch=arm64 --label version=0.0.0 . [2021-01-12T20:47:00.217Z] Sending build context to Docker daemon 2.692MB [2021-01-12T20:47:00.217Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T20:47:00.217Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-12T20:47:00.217Z] ---> a554ffdbb932 [2021-01-12T20:47:00.217Z] Step 3/24 : ARG MAKE='make build' [2021-01-12T20:47:00.508Z] ---> Running in 77298bfc9d90 [2021-01-12T20:47:01.105Z] Removing intermediate container 77298bfc9d90 [2021-01-12T20:47:01.105Z] ---> 4ea50eb29d20 [2021-01-12T20:47:01.105Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-12T20:47:01.105Z] ---> Running in b9fa5de6d961 [2021-01-12T20:47:01.706Z] Removing intermediate container b9fa5de6d961 [2021-01-12T20:47:01.706Z] ---> 6053ce389a2d [2021-01-12T20:47:01.706Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T20:47:01.706Z] ---> Running in ac9700374ed3 [2021-01-12T20:47:02.303Z] Removing intermediate container ac9700374ed3 [2021-01-12T20:47:02.303Z] ---> 6510568bc765 [2021-01-12T20:47:02.303Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T20:47:02.303Z] ---> Running in 2b160cc1bd1f [2021-01-12T20:47:04.277Z] Removing intermediate container 2b160cc1bd1f [2021-01-12T20:47:04.277Z] ---> 1871479f30a9 [2021-01-12T20:47:04.277Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-12T20:47:04.551Z] ---> Running in 41c57f222f32 [2021-01-12T20:47:05.541Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-12T20:47:06.508Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-12T20:47:07.096Z] OK: 142 MiB in 39 packages [2021-01-12T20:47:08.077Z] Removing intermediate container 41c57f222f32 [2021-01-12T20:47:08.077Z] ---> e22944c3aab4 [2021-01-12T20:47:08.077Z] Step 8/24 : COPY . . [2021-01-12T20:47:09.508Z] ---> 2f009de2c07d [2021-01-12T20:47:09.508Z] Step 9/24 : RUN ${MAKE} [2021-01-12T20:47:09.780Z] ---> Running in 4fe0d8a4e7e5 [2021-01-12T20:47:10.754Z] 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-12T20:47:37.754Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-12T20:47:37.754Z] Removing intermediate container 4fe0d8a4e7e5 [2021-01-12T20:47:37.754Z] ---> cd090cf9894f [2021-01-12T20:47:37.754Z] Step 10/24 : FROM scratch [2021-01-12T20:47:37.754Z] ---> [2021-01-12T20:47:37.754Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T20:47:37.754Z] ---> Running in ba70a405d8fa [2021-01-12T20:47:38.032Z] Removing intermediate container ba70a405d8fa [2021-01-12T20:47:38.032Z] ---> 03be14929f75 [2021-01-12T20:47:38.032Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-12T20:47:38.032Z] ---> Running in 5a4c53278044 [2021-01-12T20:47:38.624Z] Removing intermediate container 5a4c53278044 [2021-01-12T20:47:38.624Z] ---> 8e2ce7cd48d9 [2021-01-12T20:47:38.624Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-12T20:47:38.624Z] ---> Running in f60bac336614 [2021-01-12T20:47:39.218Z] Removing intermediate container f60bac336614 [2021-01-12T20:47:39.218Z] ---> 6314e9aef7d5 [2021-01-12T20:47:39.218Z] Step 14/24 : WORKDIR / [2021-01-12T20:47:39.218Z] ---> Running in 26d1ed7157ca [2021-01-12T20:47:39.490Z] Removing intermediate container 26d1ed7157ca [2021-01-12T20:47:39.490Z] ---> 1cbb7c25f11d [2021-01-12T20:47:39.490Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-12T20:47:40.919Z] ---> 50381c8a4b0a [2021-01-12T20:47:40.919Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-12T20:47:41.512Z] ---> 269b28d6cc70 [2021-01-12T20:47:41.512Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-12T20:47:42.104Z] ---> a0376d90fbbe [2021-01-12T20:47:42.104Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-12T20:47:43.081Z] ---> dc72bb17503d [2021-01-12T20:47:43.081Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-12T20:47:43.676Z] ---> 6bccbfe5487f [2021-01-12T20:47:43.676Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-12T20:47:43.676Z] ---> Running in 377f9a581e42 [2021-01-12T20:47:44.271Z] Removing intermediate container 377f9a581e42 [2021-01-12T20:47:44.271Z] ---> 354a14a88430 [2021-01-12T20:47:44.271Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-12T20:47:44.271Z] ---> Running in f825d7ca02b4 [2021-01-12T20:47:44.864Z] Removing intermediate container f825d7ca02b4 [2021-01-12T20:47:44.864Z] ---> 0cb042ab71e9 [2021-01-12T20:47:44.865Z] Step 22/24 : LABEL arch=arm64 [2021-01-12T20:47:44.865Z] ---> Running in e78e69c0bdc9 [2021-01-12T20:47:45.459Z] Removing intermediate container e78e69c0bdc9 [2021-01-12T20:47:45.459Z] ---> b417aa1d1af7 [2021-01-12T20:47:45.459Z] Step 23/24 : LABEL git_sha=24db2b5b4e238afaf0b6f29942a38411e5001777 [2021-01-12T20:47:45.459Z] ---> Running in 4ab48635224a [2021-01-12T20:47:46.055Z] Removing intermediate container 4ab48635224a [2021-01-12T20:47:46.055Z] ---> 3d590a3568bb [2021-01-12T20:47:46.055Z] Step 24/24 : LABEL version=0.0.0 [2021-01-12T20:47:46.055Z] ---> Running in f75f7caf38c8 [2021-01-12T20:47:46.647Z] Removing intermediate container f75f7caf38c8 [2021-01-12T20:47:46.647Z] ---> 3e165ed81303 [2021-01-12T20:47:46.647Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-12T20:47:46.647Z] Successfully built 3e165ed81303 [2021-01-12T20:47:46.647Z] 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-12T20:47:48.298Z] provisioning config files... [2021-01-12T20:47:48.310Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config7262976845666887431tmp [Pipeline] { [Pipeline] sh [2021-01-12T20:47:48.694Z] + set +x [2021-01-12T20:47:48.694Z] + curl -s https://codecov.io/bash [2021-01-12T20:47:48.694Z] + bash -s -- [2021-01-12T20:47:48.959Z] [2021-01-12T20:47:48.959Z] _____ _ [2021-01-12T20:47:48.959Z] / ____| | | [2021-01-12T20:47:48.959Z] | | ___ __| | ___ ___ _____ __ [2021-01-12T20:47:48.959Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-12T20:47:48.959Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-12T20:47:48.959Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-12T20:47:48.959Z] Bash-20201231-23d4836 [2021-01-12T20:47:48.959Z] [2021-01-12T20:47:48.959Z] [2021-01-12T20:47:48.959Z] ==> git version 2.24.3 found [2021-01-12T20:47:48.959Z] ==> 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-12T20:47:48.959Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-12T20:47:48.959Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-12T20:47:48.959Z] ==> Jenkins CI detected. [2021-01-12T20:47:48.959Z] project root: . [2021-01-12T20:47:48.959Z] --> token set from env [2021-01-12T20:47:48.959Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-12T20:47:48.959Z] ==> Running gcov in . (disable via -X gcov) [2021-01-12T20:47:48.959Z] ==> Python coveragepy not found [2021-01-12T20:47:48.959Z] ==> Searching for coverage reports in: [2021-01-12T20:47:48.959Z] + . [2021-01-12T20:47:48.959Z] -> Found 1 reports [2021-01-12T20:47:48.959Z] ==> Detecting git/mercurial file structure [2021-01-12T20:47:48.959Z] ==> Reading reports [2021-01-12T20:47:48.959Z] + ./coverage.out bytes=137953 [2021-01-12T20:47:48.959Z] ==> Appending adjustments [2021-01-12T20:47:48.959Z] https://docs.codecov.io/docs/fixing-reports [2021-01-12T20:47:49.543Z] + Found adjustments [2021-01-12T20:47:49.543Z] ==> Gzipping contents [2021-01-12T20:47:49.543Z] 24K /tmp/codecov.O9OVSH.gz [2021-01-12T20:47:49.543Z] ==> Uploading reports [2021-01-12T20:47:49.543Z] url: https://codecov.io [2021-01-12T20:47:49.543Z] query: branch=PR-713&commit=24db2b5b4e238afaf0b6f29942a38411e5001777&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-713%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=713&job=&cmd_args= [2021-01-12T20:47:49.543Z] -> Pinging Codecov [2021-01-12T20:47:49.543Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-713&commit=24db2b5b4e238afaf0b6f29942a38411e5001777&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-713%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=713&job=&cmd_args= [2021-01-12T20:47:49.806Z] -> Uploading to [2021-01-12T20:47:49.806Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-12/7E55EF52A471D76F132DFD9A03CDDE97/24db2b5b4e238afaf0b6f29942a38411e5001777/3854b732-16bc-4948-b8d1-a8060751b7fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210112T204749Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=327abc932f57d7f63e7eb79f6ef61ae6ce2bc74a54a51151b475deb99dceeec3 [2021-01-12T20:47:50.069Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-12T20:47:50.069Z] Dload Upload Total Spent Left Speed [2021-01-12T20:47:50.648Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22076 0 0 100 22076 0 34674 --:--:-- --:--:-- --:--:-- 34710 [2021-01-12T20:47:50.648Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/24db2b5b4e238afaf0b6f29942a38411e5001777 [Pipeline] } [2021-01-12T20:47:50.660Z] 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-12T20:47:53.387Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:47:53.961Z] ---> package-listing.sh [2021-01-12T20:47:53.961Z] ++ facter osfamily [2021-01-12T20:47:53.961Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-12T20:47:53.961Z] + OS_FAMILY=redhat [2021-01-12T20:47:53.961Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-713 [2021-01-12T20:47:53.961Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-12T20:47:53.961Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-12T20:47:53.961Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-12T20:47:53.961Z] + PACKAGES=/tmp/packages_start.txt [2021-01-12T20:47:53.961Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-713 ']' [2021-01-12T20:47:53.961Z] + PACKAGES=/tmp/packages_end.txt [2021-01-12T20:47:53.961Z] + case "${OS_FAMILY}" in [2021-01-12T20:47:53.961Z] + rpm -qa [2021-01-12T20:47:53.961Z] + sort [2021-01-12T20:47:58.194Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-12T20:47:58.194Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-12T20:47:58.194Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-12T20:47:58.194Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-713 ']' [2021-01-12T20:47:58.194Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-713/archives/ [2021-01-12T20:47:58.194Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-713/archives/ [Pipeline] echo [2021-01-12T20:47:58.211Z] 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-713/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-12T20:47:58.506Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:47:58.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T20:47:58.820Z] [2021-01-12T20:47:58.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:47:59.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T20:47:59.173Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-12T20:47:59.173Z] df20fa9351a1: Pulling fs layer [2021-01-12T20:47:59.173Z] 36b3adc4ff6f: Pulling fs layer [2021-01-12T20:47:59.173Z] 8ad3a11d3b57: Pulling fs layer [2021-01-12T20:47:59.173Z] 46f8f816bc3b: Pulling fs layer [2021-01-12T20:47:59.173Z] 93b61091891f: Pulling fs layer [2021-01-12T20:47:59.173Z] 93b9cdb0e59b: Pulling fs layer [2021-01-12T20:47:59.173Z] 5e14af77c1be: Pulling fs layer [2021-01-12T20:47:59.173Z] 01666e4c0597: Pulling fs layer [2021-01-12T20:47:59.173Z] aa168da1d23b: Pulling fs layer [2021-01-12T20:47:59.173Z] 93b61091891f: Waiting [2021-01-12T20:47:59.173Z] 93b9cdb0e59b: Waiting [2021-01-12T20:47:59.173Z] 5e14af77c1be: Waiting [2021-01-12T20:47:59.173Z] 01666e4c0597: Waiting [2021-01-12T20:47:59.174Z] aa168da1d23b: Waiting [2021-01-12T20:47:59.174Z] 46f8f816bc3b: Waiting [2021-01-12T20:47:59.174Z] 36b3adc4ff6f: Verifying Checksum [2021-01-12T20:47:59.174Z] 36b3adc4ff6f: Download complete [2021-01-12T20:47:59.174Z] 46f8f816bc3b: Verifying Checksum [2021-01-12T20:47:59.174Z] 46f8f816bc3b: Download complete [2021-01-12T20:47:59.437Z] df20fa9351a1: Verifying Checksum [2021-01-12T20:47:59.437Z] df20fa9351a1: Download complete [2021-01-12T20:47:59.437Z] 93b61091891f: Verifying Checksum [2021-01-12T20:47:59.437Z] 93b61091891f: Download complete [2021-01-12T20:47:59.437Z] 93b9cdb0e59b: Verifying Checksum [2021-01-12T20:47:59.437Z] 93b9cdb0e59b: Download complete [2021-01-12T20:47:59.437Z] 5e14af77c1be: Download complete [2021-01-12T20:47:59.437Z] 01666e4c0597: Download complete [2021-01-12T20:47:59.700Z] df20fa9351a1: Pull complete [2021-01-12T20:48:00.277Z] 36b3adc4ff6f: Pull complete [2021-01-12T20:48:00.277Z] 8ad3a11d3b57: Verifying Checksum [2021-01-12T20:48:00.277Z] 8ad3a11d3b57: Download complete [2021-01-12T20:48:01.233Z] 8ad3a11d3b57: Pull complete [2021-01-12T20:48:01.233Z] 46f8f816bc3b: Pull complete [2021-01-12T20:48:02.215Z] aa168da1d23b: Verifying Checksum [2021-01-12T20:48:02.477Z] 93b61091891f: Pull complete [2021-01-12T20:48:03.055Z] 93b9cdb0e59b: Pull complete [2021-01-12T20:48:03.055Z] 5e14af77c1be: Pull complete [2021-01-12T20:48:03.319Z] 01666e4c0597: Pull complete [2021-01-12T20:48:11.514Z] aa168da1d23b: Pull complete [2021-01-12T20:48:11.514Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-12T20:48:11.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T20:48:11.514Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-12T20:48:11.719Z] prd-centos7-docker-4c-2g-19803 does not seem to be running inside a container [2021-01-12T20:48:11.767Z] $ 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-713/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-713 -v /w/workspace/dgexfoundry_device-sdk-go_PR-713:/w/workspace/dgexfoundry_device-sdk-go_PR-713:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-713@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-12T20:48:15.094Z] $ docker top c444cd9124e686f5330eaa48dbbfff77dd2b24a1320f017ba3bb66022b2cbdea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T20:48:15.580Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-12T20:48:15.885Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-12T20:48:16.185Z] + ls /var/log/sa-host [2021-01-12T20:48:16.185Z] + sadf -c /var/log/sa-host/sa12 [2021-01-12T20:48:16.185Z] file_magic: OK [2021-01-12T20:48:16.185Z] HZ: Using current value: 100 [2021-01-12T20:48:16.185Z] file_header: OK [2021-01-12T20:48:16.185Z] 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-12T20:48:16.185Z] Statistics: [2021-01-12T20:48:16.185Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-12T20:48:16.185Z] File successfully converted to sysstat format version 12.2.1 [2021-01-12T20:48:16.185Z] + sadf -c /var/log/sa-host/sa23 [2021-01-12T20:48:16.185Z] file_magic: OK [2021-01-12T20:48:16.185Z] HZ: Using current value: 100 [2021-01-12T20:48:16.185Z] file_header: OK [2021-01-12T20:48:16.185Z] 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-12T20:48:16.185Z] Statistics: [2021-01-12T20:48:16.185Z] Hnuu...uuuununununu... [2021-01-12T20:48:16.185Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-12T20:48:16.413Z] provisioning config files... [2021-01-12T20:48:16.432Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config1327600839223156158tmp [Pipeline] { [Pipeline] echo [2021-01-12T20:48:16.512Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:48:16.813Z] ---> create-netrc.sh [Pipeline] } [2021-01-12T20:48:16.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-12T20:48:16.916Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:48:17.220Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-12T20:48:17.231Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:48:17.528Z] ---> sudo-logs.sh [2021-01-12T20:48:17.528Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-12T20:48:17.539Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:48:17.836Z] ---> job-cost.sh [2021-01-12T20:48:17.836Z] lf-activate-venv: SKIPPING [2021-01-12T20:48:17.836Z] INFO: No Stack... [2021-01-12T20:48:18.784Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-12T20:48:19.047Z] INFO: Archiving Costs [Pipeline] echo [2021-01-12T20:48:19.061Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:48:19.355Z] ---> logs-deploy.sh [2021-01-12T20:48:19.355Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-713/8 [2021-01-12T20:48:19.355Z] INFO: archiving workspace using pattern(s): [2021-01-12T20:48:21.276Z] Archives upload complete. [2021-01-12T20:48:21.276Z] INFO: archiving logs to Nexus