Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 84ea4a05cef1466ee67975698004463005cbf340 rather than 36433b781bb2ee003898b57ec7acf2c0b8aebae6 Obtained Jenkinsfile from 84ea4a05cef1466ee67975698004463005cbf340 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24077 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [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-753 # 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 > 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/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 36433b781bb2ee003898b57ec7acf2c0b8aebae6 Merge succeeded, producing 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 Checking out Revision 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 (PR-753) > git config core.sparsecheckout # timeout=10 > git checkout -f 36433b781bb2ee003898b57ec7acf2c0b8aebae6 # 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 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 # timeout=10 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-30T02:42:02.370Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee # timeout=10 [2021-01-30T02:42:02.699Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-30T02:42:02.837Z] ========================================================= [2021-01-30T02:42:02.837Z] EdgeX Global Pipelines Version Info [2021-01-30T02:42:02.837Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:42:04.403Z] ------------------- [2021-01-30T02:42:04.403Z] stable info: [2021-01-30T02:42:04.403Z] ------------------- [2021-01-30T02:42:04.403Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-30T02:42:04.403Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-30T02:42:04.403Z] Message: update stable to v1.0.179 [2021-01-30T02:42:05.347Z] ------------------- [2021-01-30T02:42:05.347Z] experimental info: [2021-01-30T02:42:05.347Z] ------------------- [2021-01-30T02:42:05.347Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-30T02:42:05.347Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-30T02:42:05.347Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-30T02:42:05.778Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-30T02:42:05.876Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-30T02:42:05.986Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-30T02:42:06.103Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-30T02:42:06.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-30T02:42:06.306Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-30T02:42:06.422Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-30T02:42:06.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-30T02:42:06.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-30T02:42:06.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-30T02:42:06.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-30T02:42:06.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-30T02:42:07.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-30T02:42:07.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-30T02:42:07.253Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-30T02:42:07.368Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T02:42:07.482Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T02:42:07.579Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T02:42:07.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-30T02:42:07.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-30T02:42:07.918Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-30T02:42:08.007Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-30T02:42:08.114Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-30T02:42:08.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-30T02:42:08.309Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-30T02:42:08.410Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-30T02:42:08.515Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-30T02:42:08.607Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-753 [Pipeline] echo [2021-01-30T02:42:08.713Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-753 [Pipeline] echo [2021-01-30T02:42:08.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-753 [Pipeline] echo [2021-01-30T02:42:08.905Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 [Pipeline] echo [2021-01-30T02:42:08.995Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f4f88d [Pipeline] echo [2021-01-30T02:42:09.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-30T02:42:09.357Z] provisioning config files... [2021-01-30T02:42:09.382Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config750441434527763395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:42:09.738Z] ---> docker-login.sh [2021-01-30T02:42:09.738Z] nexus3.edgexfoundry.org:10001 [2021-01-30T02:42:09.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:42:10.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:42:10.002Z] Configure a credential helper to remove this warning. See [2021-01-30T02:42:10.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:42:10.002Z] [2021-01-30T02:42:10.002Z] Login Succeeded [2021-01-30T02:42:10.002Z] nexus3.edgexfoundry.org:10002 [2021-01-30T02:42:10.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:42:10.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:42:10.262Z] Configure a credential helper to remove this warning. See [2021-01-30T02:42:10.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:42:10.262Z] [2021-01-30T02:42:10.262Z] Login Succeeded [2021-01-30T02:42:10.262Z] nexus3.edgexfoundry.org:10003 [2021-01-30T02:42:10.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:42:10.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:42:10.262Z] Configure a credential helper to remove this warning. See [2021-01-30T02:42:10.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:42:10.262Z] [2021-01-30T02:42:10.262Z] Login Succeeded [2021-01-30T02:42:10.262Z] nexus3.edgexfoundry.org:10004 [2021-01-30T02:42:10.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:42:10.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:42:10.526Z] Configure a credential helper to remove this warning. See [2021-01-30T02:42:10.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:42:10.526Z] [2021-01-30T02:42:10.526Z] Login Succeeded [2021-01-30T02:42:10.526Z] docker.io [2021-01-30T02:42:10.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:42:10.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:42:10.796Z] Configure a credential helper to remove this warning. See [2021-01-30T02:42:10.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:42:10.796Z] [2021-01-30T02:42:10.796Z] Login Succeeded [2021-01-30T02:42:10.796Z] ---> docker-login.sh ends [Pipeline] } [2021-01-30T02:42:10.809Z] 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-30T02:42:11.688Z] + git log --format=format:%s -1 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 [Pipeline] echo [2021-01-30T02:42:11.749Z] GIT_COMMIT: 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3, Commit Message: Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD [Pipeline] echo [2021-01-30T02:42:11.799Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:42:13.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T02:42:13.182Z] [2021-01-30T02:42:13.182Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:42:13.560Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T02:42:13.560Z] latest: Pulling from edgex-devops/git-semver [2021-01-30T02:42:13.560Z] 31603596830f: Pulling fs layer [2021-01-30T02:42:13.560Z] 2a8b12db71e7: Pulling fs layer [2021-01-30T02:42:13.560Z] 6ca5941a6612: Pulling fs layer [2021-01-30T02:42:13.560Z] ecc8261a40a4: Pulling fs layer [2021-01-30T02:42:13.560Z] ecc8261a40a4: Waiting [2021-01-30T02:42:13.560Z] 2a8b12db71e7: Verifying Checksum [2021-01-30T02:42:13.560Z] 2a8b12db71e7: Download complete [2021-01-30T02:42:13.560Z] 31603596830f: Verifying Checksum [2021-01-30T02:42:13.560Z] 31603596830f: Download complete [2021-01-30T02:42:13.828Z] 6ca5941a6612: Verifying Checksum [2021-01-30T02:42:13.828Z] 6ca5941a6612: Download complete [2021-01-30T02:42:13.828Z] ecc8261a40a4: Verifying Checksum [2021-01-30T02:42:13.828Z] ecc8261a40a4: Download complete [2021-01-30T02:42:13.828Z] 31603596830f: Pull complete [2021-01-30T02:42:14.094Z] 2a8b12db71e7: Pull complete [2021-01-30T02:42:14.669Z] 6ca5941a6612: Pull complete [2021-01-30T02:42:14.930Z] ecc8261a40a4: Pull complete [2021-01-30T02:42:14.930Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-30T02:42:14.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T02:42:14.930Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-30T02:42:15.028Z] prd-centos7-docker-4c-2g-24077 does not seem to be running inside a container [2021-01-30T02:42:15.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@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-30T02:42:17.472Z] $ docker top 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-30T02:42:17.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-30T02:42:17.760Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-30T02:42:17.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-30T02:42:17.973Z] $ docker exec 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 ssh-agent [2021-01-30T02:42:18.138Z] SSH_AUTH_SOCK=/tmp/ssh-GIYZJEYi6TWH/agent.12 [2021-01-30T02:42:18.138Z] SSH_AGENT_PID=17 [2021-01-30T02:42:18.147Z] Running ssh-add (command line suppressed) [2021-01-30T02:42:18.261Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_3881350946061279982.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_3881350946061279982.key) [2021-01-30T02:42:18.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-30T02:42:18.651Z] + git tag --points-at HEAD [Pipeline] } [2021-01-30T02:42:18.733Z] $ docker exec --env ******** --env ******** 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 ssh-agent -k [2021-01-30T02:42:18.868Z] unset SSH_AUTH_SOCK; [2021-01-30T02:42:18.868Z] unset SSH_AGENT_PID; [2021-01-30T02:42:18.868Z] echo Agent pid 17 killed; [2021-01-30T02:42:18.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-30T02:42:19.071Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-30T02:42:19.071Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-30T02:42:19.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-30T02:42:19.245Z] $ docker exec 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 ssh-agent [2021-01-30T02:42:19.403Z] SSH_AUTH_SOCK=/tmp/ssh-85wXRuMSPAD5/agent.47 [2021-01-30T02:42:19.403Z] SSH_AGENT_PID=52 [2021-01-30T02:42:19.408Z] Running ssh-add (command line suppressed) [2021-01-30T02:42:19.528Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_8747965353156955994.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_8747965353156955994.key) [2021-01-30T02:42:19.575Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-30T02:42:19.907Z] + git semver init [2021-01-30T02:42:19.907Z] # -> Open(): unable to determine branch for HEAD [2021-01-30T02:42:19.907Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.git [2021-01-30T02:42:19.907Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-753 [2021-01-30T02:42:19.907Z] # $SEMVER_REMOTE_NAME = origin [2021-01-30T02:42:19.907Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-30T02:42:19.907Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-30T02:42:19.907Z] # $SEMVER_BRANCH = PR-753 [2021-01-30T02:42:19.907Z] # $SEMVER_TEMP = /tmp/semver-715434837 [2021-01-30T02:42:19.907Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-30T02:42:20.479Z] # '/tmp/semver-715434837' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver' [2021-01-30T02:42:20.479Z] # -> Force: false [2021-01-30T02:42:20.479Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver [Pipeline] } [2021-01-30T02:42:20.490Z] $ docker exec --env ******** --env ******** 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 ssh-agent -k [2021-01-30T02:42:20.598Z] unset SSH_AUTH_SOCK; [2021-01-30T02:42:20.599Z] unset SSH_AGENT_PID; [2021-01-30T02:42:20.599Z] echo Agent pid 52 killed; [2021-01-30T02:42:20.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-30T02:42:21.152Z] + git semver [Pipeline] } [2021-01-30T02:42:21.170Z] $ docker stop --time=1 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 [2021-01-30T02:42:22.497Z] $ docker rm -f 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-30T02:42:22.960Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-30T02:42:23.327Z] Stashed 1 file(s) [Pipeline] echo [2021-01-30T02:42:23.330Z] [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-30T02:42:38.960Z] Still waiting to schedule task [2021-01-30T02:42:38.960Z] ‘prd-centos7-docker-4c-2g-24072’ is offline; ‘prd-centos7-docker-4c-2g-24078’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-24076’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-24073’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-30T02:42:38.963Z] Still waiting to schedule task [2021-01-30T02:42:38.963Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-30T02:43:34.664Z] Running on prd-centos7-docker-4c-2g-24080 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws [2021-01-30T02:43:34.722Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-30T02:43:37.094Z] using credential edgex-jenkins-ssh [2021-01-30T02:43:37.146Z] Cloning the remote Git repository [2021-01-30T02:43:37.171Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:43:37.265Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-30T02:43:37.323Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:43:37.323Z] > git --version # timeout=10 [2021-01-30T02:43:37.344Z] > git --version # 'git version 2.24.3' [2021-01-30T02:43:37.345Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:43:37.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:43:38.183Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:43:38.193Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:43:38.204Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:43:38.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:43:38.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:43:38.223Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-30T02:43:38.725Z] Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 36433b781bb2ee003898b57ec7acf2c0b8aebae6 [2021-01-30T02:43:38.855Z] Merge succeeded, producing f40303f9a04ee1f5d55fcdd537089f300ce8bcd1 [2021-01-30T02:43:38.856Z] Checking out Revision f40303f9a04ee1f5d55fcdd537089f300ce8bcd1 (PR-753) [2021-01-30T02:43:38.733Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:43:38.739Z] > git checkout -f 36433b781bb2ee003898b57ec7acf2c0b8aebae6 # timeout=10 [2021-01-30T02:43:38.792Z] > git remote # timeout=10 [2021-01-30T02:43:38.798Z] > git config --get remote.origin.url # timeout=10 [2021-01-30T02:43:38.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:43:38.809Z] > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 [2021-01-30T02:43:38.848Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-30T02:43:38.859Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:43:38.870Z] > git checkout -f f40303f9a04ee1f5d55fcdd537089f300ce8bcd1 # timeout=10 [2021-01-30T02:43:42.438Z] Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" [2021-01-30T02:43:42.448Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-30T02:43:42.441Z] > git rev-list --no-walk 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee # timeout=10 [2021-01-30T02:43:43.663Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-30T02:43:43.992Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-30T02:43:44.298Z] + sudo service docker restart [2021-01-30T02:43:44.298Z] + true [2021-01-30T02:43:44.298Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-30T02:43:45.752Z] provisioning config files... [2021-01-30T02:43:45.785Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config9074083440008020450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:43:46.146Z] ---> docker-login.sh [2021-01-30T02:43:46.146Z] nexus3.edgexfoundry.org:10001 [2021-01-30T02:43:46.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:43:46.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:43:46.411Z] Configure a credential helper to remove this warning. See [2021-01-30T02:43:46.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:43:46.411Z] [2021-01-30T02:43:46.411Z] Login Succeeded [2021-01-30T02:43:46.411Z] nexus3.edgexfoundry.org:10002 [2021-01-30T02:43:46.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:43:46.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:43:46.673Z] Configure a credential helper to remove this warning. See [2021-01-30T02:43:46.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:43:46.673Z] [2021-01-30T02:43:46.673Z] Login Succeeded [2021-01-30T02:43:46.673Z] nexus3.edgexfoundry.org:10003 [2021-01-30T02:43:46.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:43:46.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:43:46.936Z] Configure a credential helper to remove this warning. See [2021-01-30T02:43:46.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:43:46.936Z] [2021-01-30T02:43:46.936Z] Login Succeeded [2021-01-30T02:43:46.936Z] nexus3.edgexfoundry.org:10004 [2021-01-30T02:43:46.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:43:46.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:43:46.936Z] Configure a credential helper to remove this warning. See [2021-01-30T02:43:46.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:43:46.936Z] [2021-01-30T02:43:46.936Z] Login Succeeded [2021-01-30T02:43:46.936Z] docker.io [2021-01-30T02:43:47.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:43:47.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:43:47.475Z] Configure a credential helper to remove this warning. See [2021-01-30T02:43:47.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:43:47.475Z] [2021-01-30T02:43:47.475Z] Login Succeeded [2021-01-30T02:43:47.475Z] ---> docker-login.sh ends [Pipeline] } [2021-01-30T02:43:47.486Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-30T02:43:47.820Z] ========================================================= [2021-01-30T02:43:47.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-30T02:43:47.821Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:43:48.180Z] + 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-30T02:43:48.447Z] Sending build context to Docker daemon 2.523MB [2021-01-30T02:43:48.447Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:43:48.447Z] Step 2/8 : FROM ${BASE} [2021-01-30T02:43:48.447Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-30T02:43:48.447Z] 188c0c94c7c5: Pulling fs layer [2021-01-30T02:43:48.447Z] 0ef7d3d256c8: Pulling fs layer [2021-01-30T02:43:48.447Z] de9db76c5a1d: Pulling fs layer [2021-01-30T02:43:48.447Z] bca2f99d35d6: Pulling fs layer [2021-01-30T02:43:48.447Z] 93359f2a8cfa: Pulling fs layer [2021-01-30T02:43:48.447Z] 7c6f9722023f: Pulling fs layer [2021-01-30T02:43:48.447Z] a35cf1a2eb13: Pulling fs layer [2021-01-30T02:43:48.447Z] bca2f99d35d6: Waiting [2021-01-30T02:43:48.447Z] 93359f2a8cfa: Waiting [2021-01-30T02:43:48.447Z] 7c6f9722023f: Waiting [2021-01-30T02:43:48.447Z] a35cf1a2eb13: Waiting [2021-01-30T02:43:48.447Z] 0ef7d3d256c8: Verifying Checksum [2021-01-30T02:43:48.447Z] 0ef7d3d256c8: Download complete [2021-01-30T02:43:48.447Z] de9db76c5a1d: Verifying Checksum [2021-01-30T02:43:48.447Z] de9db76c5a1d: Download complete [2021-01-30T02:43:48.447Z] 93359f2a8cfa: Verifying Checksum [2021-01-30T02:43:48.447Z] 93359f2a8cfa: Download complete [2021-01-30T02:43:48.447Z] 7c6f9722023f: Verifying Checksum [2021-01-30T02:43:48.447Z] 7c6f9722023f: Download complete [2021-01-30T02:43:48.447Z] 188c0c94c7c5: Verifying Checksum [2021-01-30T02:43:48.447Z] 188c0c94c7c5: Download complete [2021-01-30T02:43:48.710Z] 188c0c94c7c5: Pull complete [2021-01-30T02:43:48.977Z] 0ef7d3d256c8: Pull complete [2021-01-30T02:43:48.977Z] de9db76c5a1d: Pull complete [2021-01-30T02:43:51.538Z] a35cf1a2eb13: Verifying Checksum [2021-01-30T02:43:51.538Z] a35cf1a2eb13: Download complete [2021-01-30T02:43:51.538Z] bca2f99d35d6: Verifying Checksum [2021-01-30T02:43:51.538Z] bca2f99d35d6: Download complete [2021-01-30T02:43:56.894Z] bca2f99d35d6: Pull complete [2021-01-30T02:43:56.894Z] 93359f2a8cfa: Pull complete [2021-01-30T02:43:56.894Z] 7c6f9722023f: Pull complete [2021-01-30T02:44:03.226Z] a35cf1a2eb13: Pull complete [2021-01-30T02:44:03.226Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-30T02:44:03.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-30T02:44:03.227Z] ---> a62c8e92a672 [2021-01-30T02:44:03.227Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:44:03.491Z] ---> Running in 5cc445b72cc5 [2021-01-30T02:44:03.756Z] Removing intermediate container 5cc445b72cc5 [2021-01-30T02:44:03.756Z] ---> 5674ae82bc07 [2021-01-30T02:44:03.756Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:44:04.022Z] ---> Running in 48ce028f58ca [2021-01-30T02:44:04.976Z] Removing intermediate container 48ce028f58ca [2021-01-30T02:44:04.976Z] ---> 7c9dc60d504e [2021-01-30T02:44:04.976Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-30T02:44:04.976Z] ---> Running in 58ce0205f7e4 [2021-01-30T02:44:05.929Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-30T02:44:06.879Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-30T02:44:07.141Z] OK: 166 MiB in 39 packages [2021-01-30T02:44:07.717Z] Removing intermediate container 58ce0205f7e4 [2021-01-30T02:44:07.717Z] ---> e42d32b4b6ff [2021-01-30T02:44:07.717Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-30T02:44:07.717Z] ---> Running in c74be52f1ce2 [2021-01-30T02:44:07.986Z] Removing intermediate container c74be52f1ce2 [2021-01-30T02:44:07.986Z] ---> 9b828754da29 [2021-01-30T02:44:07.986Z] Step 7/8 : COPY . . [2021-01-30T02:44:09.384Z] ---> 0b0703ea00e1 [2021-01-30T02:44:09.384Z] Step 8/8 : RUN go mod download [2021-01-30T02:44:09.384Z] ---> Running in 6439d89ca002 [2021-01-30T02:44:27.563Z] Removing intermediate container 6439d89ca002 [2021-01-30T02:44:27.563Z] ---> df5247c304f6 [2021-01-30T02:44:27.563Z] Successfully built df5247c304f6 [2021-01-30T02:44:27.563Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:44:27.876Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-30T02:44:27.876Z] . [Pipeline] withDockerContainer [2021-01-30T02:44:28.140Z] prd-centos7-docker-4c-2g-24080 does not seem to be running inside a container [2021-01-30T02:44:28.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-30T02:44:29.138Z] $ docker top e1a083bd1c8d51864b831564458a7fcb0b9981dfce61ba446b6ff61d075fc773 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:44:29.943Z] + go version [2021-01-30T02:44:29.943Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-30T02:44:29.958Z] $ docker stop --time=1 e1a083bd1c8d51864b831564458a7fcb0b9981dfce61ba446b6ff61d075fc773 [2021-01-30T02:44:31.348Z] $ docker rm -f e1a083bd1c8d51864b831564458a7fcb0b9981dfce61ba446b6ff61d075fc773 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:44:32.254Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-30T02:44:32.254Z] . [Pipeline] withDockerContainer [2021-01-30T02:44:32.347Z] prd-centos7-docker-4c-2g-24080 does not seem to be running inside a container [2021-01-30T02:44:32.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-30T02:44:32.951Z] $ docker top e608f6e83aac340cc1674fdf3ab8658de164d9bd856f32338bc9b54f54a0efba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:44:33.438Z] + make test [2021-01-30T02:44:33.438Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-30T02:44:40.086Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-30T02:44:55.097Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-30T02:44:55.097Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-30T02:44:55.097Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-30T02:44:55.097Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 19.4% of statements [2021-01-30T02:44:57.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.444s coverage: 97.1% of statements [2021-01-30T02:45:24.742Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24082 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws [2021-01-30T02:45:24.796Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-30T02:45:29.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.047s coverage: 9.4% of statements [2021-01-30T02:45:29.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.051s coverage: 21.7% of statements [2021-01-30T02:45:29.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-30T02:45:29.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.222s coverage: 43.6% of statements [2021-01-30T02:45:29.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-30T02:45:29.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.262s coverage: 68.9% of statements [2021-01-30T02:45:29.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-30T02:45:29.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-30T02:45:29.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-30T02:45:29.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-30T02:45:29.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.062s coverage: 53.8% of statements [2021-01-30T02:45:29.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-30T02:45:29.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-30T02:45:29.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.070s coverage: 25.2% of statements [2021-01-30T02:45:29.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.347s coverage: 83.5% of statements [2021-01-30T02:45:29.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.2% of statements [2021-01-30T02:45:29.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-30T02:45:29.845Z] GO111MODULE=on go vet ./... [2021-01-30T02:45:30.156Z] using credential edgex-jenkins-ssh [2021-01-30T02:45:30.216Z] Cloning the remote Git repository [2021-01-30T02:45:30.299Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:45:30.443Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-30T02:45:30.571Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:45:30.573Z] > git --version # timeout=10 [2021-01-30T02:45:30.603Z] > git --version # 'git version 2.17.1' [2021-01-30T02:45:30.605Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:45:30.685Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:45:31.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:45:31.826Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:45:31.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:45:31.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:45:31.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:45:31.921Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-30T02:45:32.504Z] Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 36433b781bb2ee003898b57ec7acf2c0b8aebae6 [2021-01-30T02:45:32.959Z] Merge succeeded, producing 1efe6e8afd44d0df808da98545ea6a5cd4aa1423 [2021-01-30T02:45:32.960Z] Checking out Revision 1efe6e8afd44d0df808da98545ea6a5cd4aa1423 (PR-753) [2021-01-30T02:45:32.525Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:45:32.545Z] > git checkout -f 36433b781bb2ee003898b57ec7acf2c0b8aebae6 # timeout=10 [2021-01-30T02:45:32.720Z] > git remote # timeout=10 [2021-01-30T02:45:32.765Z] > git config --get remote.origin.url # timeout=10 [2021-01-30T02:45:32.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:45:32.820Z] > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 [2021-01-30T02:45:32.942Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-30T02:45:32.965Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:45:32.977Z] > git checkout -f 1efe6e8afd44d0df808da98545ea6a5cd4aa1423 # timeout=10 [2021-01-30T02:45:36.548Z] gofmt -l . [2021-01-30T02:45:36.548Z] [ "`gofmt -l .`" = "" ] [2021-01-30T02:45:36.548Z] ./bin/test-attribution-txt.sh [2021-01-30T02:45:36.548Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-30T02:45:36.827Z] $ docker stop --time=1 e608f6e83aac340cc1674fdf3ab8658de164d9bd856f32338bc9b54f54a0efba [2021-01-30T02:45:37.249Z] Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" [2021-01-30T02:45:37.274Z] First time build. Skipping changelog. [2021-01-30T02:45:37.255Z] > git rev-list --no-walk 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee # timeout=10 [2021-01-30T02:45:38.759Z] $ docker rm -f e608f6e83aac340cc1674fdf3ab8658de164d9bd856f32338bc9b54f54a0efba [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-01-30T02:45:39.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-30T02:45:39.673Z] Stashed 1 file(s) [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-30T02:45:40.570Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh [2021-01-30T02:45:43.901Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-30T02:45:43.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-30T02:45:44.247Z] + sudo service docker restart [2021-01-30T02:45:44.247Z] + true [2021-01-30T02:45:44.314Z] + ls -al . [2021-01-30T02:45:44.314Z] total 216 [2021-01-30T02:45:44.314Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 30 02:45 . [2021-01-30T02:45:44.314Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 30 02:43 .. [2021-01-30T02:45:44.314Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 30 02:43 bin [2021-01-30T02:45:44.314Z] -rw-r--r--. 1 jenkins jenkins 137332 Jan 30 02:45 coverage.out [2021-01-30T02:45:44.314Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 30 02:43 Dockerfile.build [2021-01-30T02:45:44.314Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 30 02:43 .dockerignore [2021-01-30T02:45:44.314Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 30 02:43 example [2021-01-30T02:45:44.314Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 30 02:43 .git [2021-01-30T02:45:44.314Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 30 02:43 .github [2021-01-30T02:45:44.314Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 30 02:43 .gitignore [2021-01-30T02:45:44.314Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 30 02:45 go.mod [2021-01-30T02:45:44.314Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 30 02:45 go.sum [2021-01-30T02:45:44.314Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 30 02:43 internal [2021-01-30T02:45:44.314Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 30 02:43 Jenkinsfile [2021-01-30T02:45:44.314Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 30 02:43 LICENSE [2021-01-30T02:45:44.314Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 30 02:43 Makefile [2021-01-30T02:45:44.314Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 30 02:43 openapi [2021-01-30T02:45:44.314Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 30 02:43 pkg [2021-01-30T02:45:44.314Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 30 02:43 README.md [2021-01-30T02:45:44.314Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 30 02:43 RELEASE-NOTES.txt [2021-01-30T02:45:44.314Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 30 02:43 snap [2021-01-30T02:45:44.314Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 30 02:42 VERSION [2021-01-30T02:45:44.314Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 30 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:45:44.646Z] + 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=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 --label arch=amd64 --label version=0.0.0 . [2021-01-30T02:45:44.911Z] Sending build context to Docker daemon 2.661MB [2021-01-30T02:45:44.911Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:45:44.911Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-30T02:45:44.911Z] ---> df5247c304f6 [2021-01-30T02:45:44.911Z] Step 3/24 : ARG MAKE='make build' [2021-01-30T02:45:45.485Z] ---> Running in 05e2ed83a094 [2021-01-30T02:45:45.485Z] Removing intermediate container 05e2ed83a094 [2021-01-30T02:45:45.485Z] ---> 7089dc45b9fc [2021-01-30T02:45:45.485Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-30T02:45:45.485Z] ---> Running in 474212744b1e [2021-01-30T02:45:45.750Z] Removing intermediate container 474212744b1e [2021-01-30T02:45:45.750Z] ---> 13245aa2b70c [2021-01-30T02:45:45.750Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:45:45.750Z] ---> Running in 16fdca98534f [2021-01-30T02:45:46.013Z] Removing intermediate container 16fdca98534f [2021-01-30T02:45:46.013Z] ---> 7b656e7a56d6 [2021-01-30T02:45:46.013Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:45:46.013Z] ---> Running in f73c105c7852 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-30T02:45:46.950Z] provisioning config files... [2021-01-30T02:45:46.959Z] Removing intermediate container f73c105c7852 [2021-01-30T02:45:46.959Z] ---> 27ee323c05fa [2021-01-30T02:45:46.959Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-30T02:45:46.959Z] ---> Running in 59ede575da9c [2021-01-30T02:45:46.996Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8597414127845336413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:45:47.415Z] ---> docker-login.sh [2021-01-30T02:45:47.415Z] nexus3.edgexfoundry.org:10001 [2021-01-30T02:45:47.535Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-30T02:45:48.109Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-30T02:45:48.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:45:48.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:45:48.677Z] Configure a credential helper to remove this warning. See [2021-01-30T02:45:48.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:45:48.677Z] [2021-01-30T02:45:48.677Z] Login Succeeded [2021-01-30T02:45:48.677Z] nexus3.edgexfoundry.org:10002 [2021-01-30T02:45:48.681Z] OK: 166 MiB in 39 packages [2021-01-30T02:45:48.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:45:49.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:45:49.221Z] Configure a credential helper to remove this warning. See [2021-01-30T02:45:49.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:45:49.221Z] [2021-01-30T02:45:49.221Z] Login Succeeded [2021-01-30T02:45:49.221Z] nexus3.edgexfoundry.org:10003 [2021-01-30T02:45:49.256Z] Removing intermediate container 59ede575da9c [2021-01-30T02:45:49.256Z] ---> 9295d649ac8c [2021-01-30T02:45:49.256Z] Step 8/24 : COPY . . [2021-01-30T02:45:49.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:45:49.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:45:49.497Z] Configure a credential helper to remove this warning. See [2021-01-30T02:45:49.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:45:49.497Z] [2021-01-30T02:45:49.497Z] Login Succeeded [2021-01-30T02:45:49.497Z] nexus3.edgexfoundry.org:10004 [2021-01-30T02:45:50.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:45:50.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:45:50.090Z] Configure a credential helper to remove this warning. See [2021-01-30T02:45:50.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:45:50.090Z] [2021-01-30T02:45:50.090Z] Login Succeeded [2021-01-30T02:45:50.090Z] docker.io [2021-01-30T02:45:50.205Z] ---> 099e4dd86164 [2021-01-30T02:45:50.205Z] Step 9/24 : RUN ${MAKE} [2021-01-30T02:45:50.205Z] ---> Running in 2a922b356014 [2021-01-30T02:45:50.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:45:50.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:45:50.639Z] Configure a credential helper to remove this warning. See [2021-01-30T02:45:50.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:45:50.639Z] [2021-01-30T02:45:50.639Z] Login Succeeded [2021-01-30T02:45:50.639Z] ---> docker-login.sh ends [Pipeline] } [2021-01-30T02:45:50.656Z] Deleting 1 temporary files [Pipeline] // wrap [2021-01-30T02:45:50.789Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-30T02:45:51.194Z] ========================================================= [2021-01-30T02:45:51.194Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-30T02:45:51.194Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:45:51.566Z] + 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-30T02:45:51.843Z] Sending build context to Docker daemon 2.522MB [2021-01-30T02:45:51.843Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:45:51.843Z] Step 2/8 : FROM ${BASE} [2021-01-30T02:45:52.122Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-30T02:45:52.122Z] 5f621e34cdf4: Pulling fs layer [2021-01-30T02:45:52.122Z] a4357932f1b6: Pulling fs layer [2021-01-30T02:45:52.122Z] 18c013af1878: Pulling fs layer [2021-01-30T02:45:52.122Z] 00ac8860ef70: Pulling fs layer [2021-01-30T02:45:52.122Z] 63d7cb157983: Pulling fs layer [2021-01-30T02:45:52.122Z] b116817d02f9: Pulling fs layer [2021-01-30T02:45:52.122Z] 745a02a5169b: Pulling fs layer [2021-01-30T02:45:52.122Z] 00ac8860ef70: Waiting [2021-01-30T02:45:52.122Z] 63d7cb157983: Waiting [2021-01-30T02:45:52.122Z] b116817d02f9: Waiting [2021-01-30T02:45:52.122Z] 745a02a5169b: Waiting [2021-01-30T02:45:52.122Z] 18c013af1878: Verifying Checksum [2021-01-30T02:45:52.122Z] 18c013af1878: Download complete [2021-01-30T02:45:52.122Z] a4357932f1b6: Verifying Checksum [2021-01-30T02:45:52.122Z] a4357932f1b6: Download complete [2021-01-30T02:45:52.122Z] 63d7cb157983: Verifying Checksum [2021-01-30T02:45:52.122Z] 63d7cb157983: Download complete [2021-01-30T02:45:52.122Z] b116817d02f9: Verifying Checksum [2021-01-30T02:45:52.122Z] b116817d02f9: Download complete [2021-01-30T02:45:52.122Z] 5f621e34cdf4: Verifying Checksum [2021-01-30T02:45:52.122Z] 5f621e34cdf4: Download complete [2021-01-30T02:45:53.112Z] 5f621e34cdf4: Pull complete [2021-01-30T02:45:53.726Z] a4357932f1b6: Pull complete [2021-01-30T02:45:54.328Z] 18c013af1878: Pull complete [2021-01-30T02:45:54.604Z] 745a02a5169b: Verifying Checksum [2021-01-30T02:45:54.604Z] 745a02a5169b: Download complete [2021-01-30T02:45:55.597Z] 00ac8860ef70: Verifying Checksum [2021-01-30T02:45:55.597Z] 00ac8860ef70: Download complete [2021-01-30T02:45:59.022Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-30T02:46:00.941Z] Removing intermediate container 2a922b356014 [2021-01-30T02:46:00.941Z] ---> 38fa4a3514ec [2021-01-30T02:46:00.941Z] Step 10/24 : FROM scratch [2021-01-30T02:46:00.941Z] ---> [2021-01-30T02:46:00.941Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:46:01.203Z] ---> Running in dbc9e295ef7f [2021-01-30T02:46:01.203Z] Removing intermediate container dbc9e295ef7f [2021-01-30T02:46:01.203Z] ---> 2037ba111e90 [2021-01-30T02:46:01.203Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-30T02:46:01.466Z] ---> Running in 49d3b0ec11be [2021-01-30T02:46:01.466Z] Removing intermediate container 49d3b0ec11be [2021-01-30T02:46:01.466Z] ---> 3ad0a1b5e4cb [2021-01-30T02:46:01.466Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-30T02:46:01.466Z] ---> Running in 5d297ff0d461 [2021-01-30T02:46:01.730Z] Removing intermediate container 5d297ff0d461 [2021-01-30T02:46:01.730Z] ---> 48e6286cec88 [2021-01-30T02:46:01.730Z] Step 14/24 : WORKDIR / [2021-01-30T02:46:01.730Z] ---> Running in 481236ea4a7b [2021-01-30T02:46:01.994Z] Removing intermediate container 481236ea4a7b [2021-01-30T02:46:01.994Z] ---> a62ca20252c9 [2021-01-30T02:46:01.994Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-30T02:46:02.567Z] ---> 451d6f3b7492 [2021-01-30T02:46:02.567Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-30T02:46:02.567Z] ---> 92e2b5a084a8 [2021-01-30T02:46:02.567Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-30T02:46:02.829Z] ---> 22ecbb0a6d98 [2021-01-30T02:46:02.829Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-30T02:46:03.093Z] ---> e4bdbc04e9ae [2021-01-30T02:46:03.093Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-30T02:46:03.356Z] ---> 8f988aa49ad9 [2021-01-30T02:46:03.356Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-30T02:46:03.356Z] ---> Running in ddd88d6332d9 [2021-01-30T02:46:03.617Z] Removing intermediate container ddd88d6332d9 [2021-01-30T02:46:03.617Z] ---> 2e258a76d624 [2021-01-30T02:46:03.617Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-30T02:46:03.617Z] ---> Running in 294c0fd07d45 [2021-01-30T02:46:03.878Z] Removing intermediate container 294c0fd07d45 [2021-01-30T02:46:03.878Z] ---> 1f7b77491ca0 [2021-01-30T02:46:03.878Z] Step 22/24 : LABEL arch=amd64 [2021-01-30T02:46:03.878Z] ---> Running in f5423fc3e158 [2021-01-30T02:46:04.141Z] Removing intermediate container f5423fc3e158 [2021-01-30T02:46:04.141Z] ---> 27d5ef77a0b0 [2021-01-30T02:46:04.141Z] Step 23/24 : LABEL git_sha=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 [2021-01-30T02:46:04.141Z] ---> Running in 2eaad036bb9b [2021-01-30T02:46:04.404Z] Removing intermediate container 2eaad036bb9b [2021-01-30T02:46:04.404Z] ---> fb34ded8cf20 [2021-01-30T02:46:04.404Z] Step 24/24 : LABEL version=0.0.0 [2021-01-30T02:46:04.404Z] ---> Running in 97c82fb3a03e [2021-01-30T02:46:04.404Z] Removing intermediate container 97c82fb3a03e [2021-01-30T02:46:04.404Z] ---> e7a11fdbd8dc [2021-01-30T02:46:04.404Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-30T02:46:04.404Z] Successfully built e7a11fdbd8dc [2021-01-30T02:46:04.665Z] 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 [2021-01-30T02:46:05.725Z] 00ac8860ef70: Pull complete [2021-01-30T02:46:05.725Z] 63d7cb157983: Pull complete [2021-01-30T02:46:05.725Z] b116817d02f9: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-30T02:46:09.138Z] 745a02a5169b: Pull complete [2021-01-30T02:46:09.139Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-30T02:46:09.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-30T02:46:09.139Z] ---> b7e6874047d6 [2021-01-30T02:46:09.139Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:46:12.522Z] ---> Running in 0f24c9c54c6a [2021-01-30T02:46:12.522Z] Removing intermediate container 0f24c9c54c6a [2021-01-30T02:46:12.522Z] ---> bb7ebdcdde3e [2021-01-30T02:46:12.522Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:46:12.522Z] ---> Running in 8fdf982b3cf1 [2021-01-30T02:46:14.493Z] Removing intermediate container 8fdf982b3cf1 [2021-01-30T02:46:14.493Z] ---> 54c9dea57ff4 [2021-01-30T02:46:14.493Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-30T02:46:14.774Z] ---> Running in a58b144d4eab [2021-01-30T02:46:15.760Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-30T02:46:16.744Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-30T02:46:17.351Z] OK: 142 MiB in 39 packages [2021-01-30T02:46:18.324Z] Removing intermediate container a58b144d4eab [2021-01-30T02:46:18.324Z] ---> 3241862583ce [2021-01-30T02:46:18.324Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-30T02:46:18.603Z] ---> Running in 35cc20aa830f [2021-01-30T02:46:18.886Z] Removing intermediate container 35cc20aa830f [2021-01-30T02:46:18.886Z] ---> df845e89e101 [2021-01-30T02:46:18.886Z] Step 7/8 : COPY . . [2021-01-30T02:46:20.329Z] ---> 5e13de0896a8 [2021-01-30T02:46:20.329Z] Step 8/8 : RUN go mod download [2021-01-30T02:46:20.329Z] ---> Running in 96dd2368ce22 [2021-01-30T02:46:42.491Z] Removing intermediate container 96dd2368ce22 [2021-01-30T02:46:42.491Z] ---> 41954786506c [2021-01-30T02:46:42.491Z] Successfully built 41954786506c [2021-01-30T02:46:42.491Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:46:42.837Z] + docker inspect -f . ci-base-image-arm64 [2021-01-30T02:46:42.837Z] . [Pipeline] withDockerContainer [2021-01-30T02:46:43.081Z] prd-ubuntu18.04-docker-arm64-4c-16g-24082 does not seem to be running inside a container [2021-01-30T02:46:43.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-30T02:46:44.740Z] $ docker top f3bde348b7ff891305f92ba3be6d7836911c14bf030d91e68b5e0df14189973a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:46:45.790Z] + go version [2021-01-30T02:46:45.790Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-30T02:46:45.811Z] $ docker stop --time=1 f3bde348b7ff891305f92ba3be6d7836911c14bf030d91e68b5e0df14189973a [2021-01-30T02:46:47.720Z] $ docker rm -f f3bde348b7ff891305f92ba3be6d7836911c14bf030d91e68b5e0df14189973a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:46:48.759Z] + docker inspect -f . ci-base-image-arm64 [2021-01-30T02:46:48.759Z] . [Pipeline] withDockerContainer [2021-01-30T02:46:48.997Z] prd-ubuntu18.04-docker-arm64-4c-16g-24082 does not seem to be running inside a container [2021-01-30T02:46:49.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-30T02:46:50.631Z] $ docker top ea2d2e67624937bdb1698de63440ed58d981b99fd25e0e4353602d9145700975 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:46:51.609Z] + make test [2021-01-30T02:46:51.610Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-30T02:47:13.780Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-30T02:48:00.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-30T02:48:00.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-30T02:48:00.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-30T02:48:00.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 19.4% of statements [2021-01-30T02:48:01.790Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.442s coverage: 97.1% of statements [2021-01-30T02:48:34.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.139s coverage: 9.4% of statements [2021-01-30T02:48:34.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.137s coverage: 21.7% of statements [2021-01-30T02:48:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-30T02:48:34.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.648s coverage: 43.6% of statements [2021-01-30T02:48:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-30T02:48:34.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.850s coverage: 68.9% of statements [2021-01-30T02:48:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-30T02:48:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-30T02:48:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-30T02:48:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-30T02:48:34.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.235s coverage: 53.8% of statements [2021-01-30T02:48:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-30T02:48:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-30T02:48:34.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.191s coverage: 25.2% of statements [2021-01-30T02:48:34.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.274s coverage: 83.5% of statements [2021-01-30T02:48:34.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.146s coverage: 4.2% of statements [2021-01-30T02:48:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-30T02:48:34.177Z] GO111MODULE=on go vet ./... [2021-01-30T02:49:06.726Z] gofmt -l . [2021-01-30T02:49:06.726Z] [ "`gofmt -l .`" = "" ] [2021-01-30T02:49:06.727Z] ./bin/test-attribution-txt.sh [2021-01-30T02:49:06.727Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-30T02:49:07.037Z] $ docker stop --time=1 ea2d2e67624937bdb1698de63440ed58d981b99fd25e0e4353602d9145700975 [2021-01-30T02:49:09.327Z] $ docker rm -f ea2d2e67624937bdb1698de63440ed58d981b99fd25e0e4353602d9145700975 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-30T02:49:10.569Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-30T02:49:10.708Z] Warning: overwriting stash ‘coverage-report’ [2021-01-30T02:49:11.955Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-30T02:49:12.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-30T02:49:13.011Z] + ls -al . [2021-01-30T02:49:13.011Z] total 252 [2021-01-30T02:49:13.011Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 02:49 . [2021-01-30T02:49:13.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:45 .. [2021-01-30T02:49:13.011Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 02:45 .dockerignore [2021-01-30T02:49:13.011Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 02:45 .git [2021-01-30T02:49:13.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:45 .github [2021-01-30T02:49:13.011Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 30 02:45 .gitignore [2021-01-30T02:49:13.011Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 30 02:45 Dockerfile.build [2021-01-30T02:49:13.011Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 30 02:45 Jenkinsfile [2021-01-30T02:49:13.011Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 02:45 LICENSE [2021-01-30T02:49:13.011Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 30 02:45 Makefile [2021-01-30T02:49:13.011Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 30 02:45 README.md [2021-01-30T02:49:13.011Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 30 02:45 RELEASE-NOTES.txt [2021-01-30T02:49:13.011Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 02:42 VERSION [2021-01-30T02:49:13.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:45 bin [2021-01-30T02:49:13.011Z] -rw-r--r-- 1 jenkins jenkins 137333 Jan 30 02:48 coverage.out [2021-01-30T02:49:13.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:45 example [2021-01-30T02:49:13.011Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 30 02:49 go.mod [2021-01-30T02:49:13.011Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 30 02:49 go.sum [2021-01-30T02:49:13.011Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 30 02:45 internal [2021-01-30T02:49:13.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:45 openapi [2021-01-30T02:49:13.011Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 02:45 pkg [2021-01-30T02:49:13.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:45 snap [2021-01-30T02:49:13.011Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:49:13.363Z] + 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=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 --label arch=arm64 --label version=0.0.0 . [2021-01-30T02:49:13.971Z] Sending build context to Docker daemon 2.66MB [2021-01-30T02:49:13.971Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:49:13.971Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-30T02:49:13.971Z] ---> 41954786506c [2021-01-30T02:49:13.971Z] Step 3/24 : ARG MAKE='make build' [2021-01-30T02:49:14.248Z] ---> Running in d168508c4e30 [2021-01-30T02:49:14.853Z] Removing intermediate container d168508c4e30 [2021-01-30T02:49:14.853Z] ---> 09575d5420f9 [2021-01-30T02:49:14.853Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-30T02:49:14.853Z] ---> Running in d748333ac3df [2021-01-30T02:49:15.460Z] Removing intermediate container d748333ac3df [2021-01-30T02:49:15.460Z] ---> 6fa95a494233 [2021-01-30T02:49:15.460Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:49:15.460Z] ---> Running in 61b39e6a2a35 [2021-01-30T02:49:16.064Z] Removing intermediate container 61b39e6a2a35 [2021-01-30T02:49:16.064Z] ---> 8cd9fa70a8fe [2021-01-30T02:49:16.064Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:49:16.064Z] ---> Running in d7b299115f5e [2021-01-30T02:49:18.690Z] Removing intermediate container d7b299115f5e [2021-01-30T02:49:18.690Z] ---> b5df24589227 [2021-01-30T02:49:18.690Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-30T02:49:18.690Z] ---> Running in c154c373e34d [2021-01-30T02:49:19.687Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-30T02:49:20.669Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-30T02:49:21.267Z] OK: 142 MiB in 39 packages [2021-01-30T02:49:22.698Z] Removing intermediate container c154c373e34d [2021-01-30T02:49:22.698Z] ---> 628d452b4948 [2021-01-30T02:49:22.698Z] Step 8/24 : COPY . . [2021-01-30T02:49:24.147Z] ---> f6a45da333ff [2021-01-30T02:49:24.147Z] Step 9/24 : RUN ${MAKE} [2021-01-30T02:49:24.147Z] ---> Running in a211875268b0 [2021-01-30T02:49:25.124Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-30T02:49:51.945Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-30T02:49:55.333Z] Removing intermediate container a211875268b0 [2021-01-30T02:49:55.333Z] ---> 3d10a8eee477 [2021-01-30T02:49:55.333Z] Step 10/24 : FROM scratch [2021-01-30T02:49:55.333Z] ---> [2021-01-30T02:49:55.333Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:49:55.333Z] ---> Running in f42abc4efae5 [2021-01-30T02:49:55.614Z] Removing intermediate container f42abc4efae5 [2021-01-30T02:49:55.614Z] ---> 73bd8e9ee872 [2021-01-30T02:49:55.614Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-30T02:49:55.886Z] ---> Running in 634eed132255 [2021-01-30T02:49:56.489Z] Removing intermediate container 634eed132255 [2021-01-30T02:49:56.489Z] ---> 52172f36575c [2021-01-30T02:49:56.489Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-30T02:49:56.489Z] ---> Running in 658d38a975a5 [2021-01-30T02:49:56.765Z] Removing intermediate container 658d38a975a5 [2021-01-30T02:49:56.765Z] ---> 07a93545db8c [2021-01-30T02:49:56.765Z] Step 14/24 : WORKDIR / [2021-01-30T02:49:57.040Z] ---> Running in 6e54846d56bc [2021-01-30T02:49:57.635Z] Removing intermediate container 6e54846d56bc [2021-01-30T02:49:57.635Z] ---> d48d5012bf9b [2021-01-30T02:49:57.635Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-30T02:49:58.611Z] ---> 466103e1b082 [2021-01-30T02:49:58.611Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-30T02:49:59.585Z] ---> 1d2c2b4bbc78 [2021-01-30T02:49:59.585Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-30T02:50:00.178Z] ---> 82e255b5553f [2021-01-30T02:50:00.178Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-30T02:50:00.772Z] ---> a817248e2287 [2021-01-30T02:50:00.772Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-30T02:50:01.758Z] ---> b4665ba268cc [2021-01-30T02:50:01.758Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-30T02:50:02.032Z] ---> Running in 7ac5b43549d3 [2021-01-30T02:50:02.632Z] Removing intermediate container 7ac5b43549d3 [2021-01-30T02:50:02.632Z] ---> 1e4645b46303 [2021-01-30T02:50:02.632Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-30T02:50:02.632Z] ---> Running in d7dc08d77de8 [2021-01-30T02:50:03.227Z] Removing intermediate container d7dc08d77de8 [2021-01-30T02:50:03.227Z] ---> 1875e9bf6034 [2021-01-30T02:50:03.227Z] Step 22/24 : LABEL arch=arm64 [2021-01-30T02:50:03.227Z] ---> Running in 7d27acc6476d [2021-01-30T02:50:03.822Z] Removing intermediate container 7d27acc6476d [2021-01-30T02:50:03.822Z] ---> 98a47a2d5760 [2021-01-30T02:50:03.822Z] Step 23/24 : LABEL git_sha=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 [2021-01-30T02:50:03.822Z] ---> Running in c82e9a2eae2b [2021-01-30T02:50:04.416Z] Removing intermediate container c82e9a2eae2b [2021-01-30T02:50:04.416Z] ---> 634169ba0a94 [2021-01-30T02:50:04.416Z] Step 24/24 : LABEL version=0.0.0 [2021-01-30T02:50:04.416Z] ---> Running in 851c61a376e5 [2021-01-30T02:50:05.011Z] Removing intermediate container 851c61a376e5 [2021-01-30T02:50:05.011Z] ---> b6e2e6f7f9d1 [2021-01-30T02:50:05.011Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-30T02:50:05.011Z] Successfully built b6e2e6f7f9d1 [2021-01-30T02:50:05.011Z] 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-30T02:50:06.959Z] provisioning config files... [2021-01-30T02:50:06.971Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config8789048800340475813tmp [Pipeline] { [Pipeline] sh [2021-01-30T02:50:07.351Z] + set +x [2021-01-30T02:50:07.351Z] + curl -s https://codecov.io/bash [2021-01-30T02:50:07.351Z] + bash -s -- [2021-01-30T02:50:07.351Z] [2021-01-30T02:50:07.351Z] _____ _ [2021-01-30T02:50:07.351Z] / ____| | | [2021-01-30T02:50:07.351Z] | | ___ __| | ___ ___ _____ __ [2021-01-30T02:50:07.351Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-30T02:50:07.351Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-30T02:50:07.351Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-30T02:50:07.351Z] Bash-20210129-7c25fce [2021-01-30T02:50:07.351Z] [2021-01-30T02:50:07.351Z] [2021-01-30T02:50:07.351Z] ==> git version 2.24.3 found [2021-01-30T02:50:07.351Z] ==> 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-30T02:50:07.351Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-30T02:50:07.351Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-30T02:50:07.613Z] ==> Jenkins CI detected. [2021-01-30T02:50:07.613Z] project root: . [2021-01-30T02:50:07.613Z] --> token set from env [2021-01-30T02:50:07.613Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-30T02:50:07.613Z] ==> Running gcov in . (disable via -X gcov) [2021-01-30T02:50:07.613Z] ==> Python coveragepy not found [2021-01-30T02:50:07.613Z] ==> Searching for coverage reports in: [2021-01-30T02:50:07.613Z] + . [2021-01-30T02:50:07.613Z] -> Found 1 reports [2021-01-30T02:50:07.613Z] ==> Detecting git/mercurial file structure [2021-01-30T02:50:07.613Z] ==> Reading reports [2021-01-30T02:50:07.613Z] + ./coverage.out bytes=137333 [2021-01-30T02:50:07.613Z] ==> Appending adjustments [2021-01-30T02:50:07.613Z] https://docs.codecov.io/docs/fixing-reports [2021-01-30T02:50:07.876Z] + Found adjustments [2021-01-30T02:50:07.876Z] ==> Gzipping contents [2021-01-30T02:50:08.136Z] 24K /tmp/codecov.DNsdz5.gz [2021-01-30T02:50:08.136Z] ==> Uploading reports [2021-01-30T02:50:08.136Z] url: https://codecov.io [2021-01-30T02:50:08.136Z] query: branch=PR-753&commit=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= [2021-01-30T02:50:08.136Z] -> Pinging Codecov [2021-01-30T02:50:08.136Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-753&commit=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= [2021-01-30T02:50:08.396Z] -> Uploading to [2021-01-30T02:50:08.396Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-30/7E55EF52A471D76F132DFD9A03CDDE97/0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3/6117ab4e-2ab8-4172-aa7a-c9a6f5ffa22c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210130T025008Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c94802883f9a68c43e886ee7c1f23b4785a503659d306e1b568bf3278be0f596 [2021-01-30T02:50:08.396Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-30T02:50:08.396Z] Dload Upload Total Spent Left Speed [2021-01-30T02:50:08.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21656 0 0 100 21656 0 45706 --:--:-- --:--:-- --:--:-- 45784 [2021-01-30T02:50:08.968Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 [Pipeline] } [2021-01-30T02:50:08.977Z] 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-30T02:50:11.869Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:50:12.166Z] ---> package-listing.sh [2021-01-30T02:50:12.166Z] ++ facter osfamily [2021-01-30T02:50:12.166Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-30T02:50:12.166Z] + OS_FAMILY=redhat [2021-01-30T02:50:12.166Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-753 [2021-01-30T02:50:12.166Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-30T02:50:12.166Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-30T02:50:12.166Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-30T02:50:12.166Z] + PACKAGES=/tmp/packages_start.txt [2021-01-30T02:50:12.166Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' [2021-01-30T02:50:12.166Z] + PACKAGES=/tmp/packages_end.txt [2021-01-30T02:50:12.166Z] + case "${OS_FAMILY}" in [2021-01-30T02:50:12.166Z] + rpm -qa [2021-01-30T02:50:12.166Z] + sort [2021-01-30T02:50:17.455Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-30T02:50:17.455Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-30T02:50:17.455Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-30T02:50:17.455Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' [2021-01-30T02:50:17.455Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ [2021-01-30T02:50:17.455Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ [Pipeline] echo [2021-01-30T02:50:17.469Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-753/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-30T02:50:17.756Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:50:18.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T02:50:18.055Z] [2021-01-30T02:50:18.055Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:50:18.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T02:50:18.400Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-30T02:50:18.400Z] df20fa9351a1: Pulling fs layer [2021-01-30T02:50:18.400Z] 36b3adc4ff6f: Pulling fs layer [2021-01-30T02:50:18.400Z] 8ad3a11d3b57: Pulling fs layer [2021-01-30T02:50:18.400Z] 46f8f816bc3b: Pulling fs layer [2021-01-30T02:50:18.400Z] 93b61091891f: Pulling fs layer [2021-01-30T02:50:18.400Z] 93b9cdb0e59b: Pulling fs layer [2021-01-30T02:50:18.400Z] 5e14af77c1be: Pulling fs layer [2021-01-30T02:50:18.400Z] 01666e4c0597: Pulling fs layer [2021-01-30T02:50:18.400Z] aa168da1d23b: Pulling fs layer [2021-01-30T02:50:18.400Z] 46f8f816bc3b: Waiting [2021-01-30T02:50:18.400Z] 93b61091891f: Waiting [2021-01-30T02:50:18.400Z] 93b9cdb0e59b: Waiting [2021-01-30T02:50:18.400Z] 5e14af77c1be: Waiting [2021-01-30T02:50:18.400Z] 01666e4c0597: Waiting [2021-01-30T02:50:18.400Z] aa168da1d23b: Waiting [2021-01-30T02:50:18.400Z] 36b3adc4ff6f: Download complete [2021-01-30T02:50:18.400Z] 46f8f816bc3b: Verifying Checksum [2021-01-30T02:50:18.400Z] 46f8f816bc3b: Download complete [2021-01-30T02:50:18.400Z] df20fa9351a1: Verifying Checksum [2021-01-30T02:50:18.400Z] 93b9cdb0e59b: Verifying Checksum [2021-01-30T02:50:18.400Z] 93b9cdb0e59b: Download complete [2021-01-30T02:50:18.661Z] 5e14af77c1be: Verifying Checksum [2021-01-30T02:50:18.661Z] 5e14af77c1be: Download complete [2021-01-30T02:50:18.661Z] 01666e4c0597: Verifying Checksum [2021-01-30T02:50:18.661Z] 01666e4c0597: Download complete [2021-01-30T02:50:18.661Z] 8ad3a11d3b57: Verifying Checksum [2021-01-30T02:50:18.661Z] 8ad3a11d3b57: Download complete [2021-01-30T02:50:18.926Z] 93b61091891f: Download complete [2021-01-30T02:50:18.926Z] df20fa9351a1: Pull complete [2021-01-30T02:50:19.186Z] 36b3adc4ff6f: Pull complete [2021-01-30T02:50:20.580Z] aa168da1d23b: Verifying Checksum [2021-01-30T02:50:20.580Z] aa168da1d23b: Download complete [2021-01-30T02:50:21.151Z] 8ad3a11d3b57: Pull complete [2021-01-30T02:50:21.412Z] 46f8f816bc3b: Pull complete [2021-01-30T02:50:21.672Z] 93b61091891f: Pull complete [2021-01-30T02:50:21.934Z] 93b9cdb0e59b: Pull complete [2021-01-30T02:50:21.934Z] 5e14af77c1be: Pull complete [2021-01-30T02:50:21.934Z] 01666e4c0597: Pull complete [2021-01-30T02:50:28.549Z] aa168da1d23b: Pull complete [2021-01-30T02:50:28.549Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-30T02:50:28.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T02:50:28.549Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-30T02:50:28.697Z] prd-centos7-docker-4c-2g-24077 does not seem to be running inside a container [2021-01-30T02:50:28.845Z] $ 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-753/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-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@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-30T02:50:31.921Z] $ docker top 8230efbe61ae8e7bb1b356a1ed973e1a854532b5f8950d4480fb9e5b3c1e0ab2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:50:32.513Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-30T02:50:32.810Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-30T02:50:33.102Z] + ls /var/log/sa-host [2021-01-30T02:50:33.102Z] + sadf -c /var/log/sa-host/sa23 [2021-01-30T02:50:33.102Z] file_magic: OK [2021-01-30T02:50:33.102Z] HZ: Using current value: 100 [2021-01-30T02:50:33.102Z] file_header: OK [2021-01-30T02:50:33.102Z] 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-30T02:50:33.102Z] Statistics: [2021-01-30T02:50:33.102Z] Hnuu...uuuununununu... [2021-01-30T02:50:33.102Z] File successfully converted to sysstat format version 12.2.1 [2021-01-30T02:50:33.102Z] + sadf -c /var/log/sa-host/sa30 [2021-01-30T02:50:33.102Z] file_magic: OK [2021-01-30T02:50:33.102Z] HZ: Using current value: 100 [2021-01-30T02:50:33.102Z] file_header: OK [2021-01-30T02:50:33.102Z] 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-30T02:50:33.102Z] Statistics: [2021-01-30T02:50:33.102Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-30T02:50:33.102Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-30T02:50:33.714Z] provisioning config files... [2021-01-30T02:50:33.726Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config3169600645706072911tmp [Pipeline] { [Pipeline] echo [2021-01-30T02:50:33.805Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:50:34.095Z] ---> create-netrc.sh [Pipeline] } [2021-01-30T02:50:34.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-30T02:50:34.194Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:50:34.486Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-30T02:50:34.497Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:50:34.788Z] ---> sudo-logs.sh [2021-01-30T02:50:34.788Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-30T02:50:34.798Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:50:35.089Z] ---> job-cost.sh [2021-01-30T02:50:35.089Z] lf-activate-venv: SKIPPING [2021-01-30T02:50:35.089Z] INFO: No Stack... [2021-01-30T02:50:36.029Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-30T02:50:36.291Z] INFO: Archiving Costs [Pipeline] echo [2021-01-30T02:50:36.302Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:50:36.593Z] ---> logs-deploy.sh [2021-01-30T02:50:36.593Z] lf-activate-venv: SKIPPING [2021-01-30T02:50:36.593Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-753/4 [2021-01-30T02:50:36.593Z] INFO: archiving workspace using pattern(s): [2021-01-30T02:50:37.977Z] Archives upload complete. [2021-01-30T02:50:38.238Z] INFO: archiving logs to Nexus