Pull request #753 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/device-sdk-go Loading trusted files from base branch master at d510da1b257a72a1ecadf2ee4e04e7d54b2df89d rather than 36433b781bb2ee003898b57ec7acf2c0b8aebae6 Obtained Jenkinsfile from d510da1b257a72a1ecadf2ee4e04e7d54b2df89d 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-23650 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 36433b781bb2ee003898b57ec7acf2c0b8aebae6 Merge succeeded, producing 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee Checking out Revision 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee (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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 42626c2ceaa3cff6cd32781b3c376ece08d9814c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T02:41:15.843Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-28T02:41:16.119Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T02:41:16.213Z] ========================================================= [2021-01-28T02:41:16.213Z] EdgeX Global Pipelines Version Info [2021-01-28T02:41:16.213Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:41:20.089Z] ------------------- [2021-01-28T02:41:20.089Z] stable info: [2021-01-28T02:41:20.089Z] ------------------- [2021-01-28T02:41:20.089Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T02:41:20.089Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T02:41:20.089Z] Message: update stable to v1.0.179 [2021-01-28T02:41:20.721Z] ------------------- [2021-01-28T02:41:20.721Z] experimental info: [2021-01-28T02:41:20.721Z] ------------------- [2021-01-28T02:41:20.721Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T02:41:20.721Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T02:41:20.721Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T02:41:21.010Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T02:41:21.103Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T02:41:21.237Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T02:41:21.336Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T02:41:21.423Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T02:41:21.553Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T02:41:21.663Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T02:41:21.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T02:41:21.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T02:41:21.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T02:41:22.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T02:41:22.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T02:41:22.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T02:41:22.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T02:41:22.420Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T02:41:22.506Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:41:22.593Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:41:22.688Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:41:22.787Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T02:41:22.915Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T02:41:22.999Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T02:41:23.084Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T02:41:23.168Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T02:41:23.259Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T02:41:23.400Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T02:41:23.493Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T02:41:23.577Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T02:41:23.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-753 [Pipeline] echo [2021-01-28T02:41:23.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-753 [Pipeline] echo [2021-01-28T02:41:23.832Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-753 [Pipeline] echo [2021-01-28T02:41:23.916Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee [Pipeline] echo [2021-01-28T02:41:24.053Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c99c0b [Pipeline] echo [2021-01-28T02:41:24.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:41:24.306Z] provisioning config files... [2021-01-28T02:41:24.343Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config1185446411820682658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:41:24.758Z] ---> docker-login.sh [2021-01-28T02:41:24.758Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:41:25.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:41:25.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:41:25.691Z] Configure a credential helper to remove this warning. See [2021-01-28T02:41:25.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:41:25.691Z] [2021-01-28T02:41:25.691Z] Login Succeeded [2021-01-28T02:41:25.691Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:41:25.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:41:26.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:41:26.233Z] Configure a credential helper to remove this warning. See [2021-01-28T02:41:26.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:41:26.233Z] [2021-01-28T02:41:26.233Z] Login Succeeded [2021-01-28T02:41:26.233Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:41:26.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:41:26.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:41:26.233Z] Configure a credential helper to remove this warning. See [2021-01-28T02:41:26.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:41:26.233Z] [2021-01-28T02:41:26.233Z] Login Succeeded [2021-01-28T02:41:26.233Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:41:26.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:41:26.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:41:26.810Z] Configure a credential helper to remove this warning. See [2021-01-28T02:41:26.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:41:26.810Z] [2021-01-28T02:41:26.810Z] Login Succeeded [2021-01-28T02:41:26.810Z] docker.io [2021-01-28T02:41:27.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:41:27.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:41:27.346Z] Configure a credential helper to remove this warning. See [2021-01-28T02:41:27.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:41:27.346Z] [2021-01-28T02:41:27.346Z] Login Succeeded [2021-01-28T02:41:27.346Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:41:27.358Z] 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-28T02:41:28.207Z] + git log --format=format:%s -1 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee [Pipeline] echo [2021-01-28T02:41:28.311Z] GIT_COMMIT: 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo [2021-01-28T02:41:28.357Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:41:29.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:41:29.457Z] [2021-01-28T02:41:29.457Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:41:29.878Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:41:29.878Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T02:41:29.878Z] 31603596830f: Pulling fs layer [2021-01-28T02:41:29.878Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T02:41:29.878Z] 6ca5941a6612: Pulling fs layer [2021-01-28T02:41:29.878Z] ecc8261a40a4: Pulling fs layer [2021-01-28T02:41:29.878Z] ecc8261a40a4: Waiting [2021-01-28T02:41:29.878Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T02:41:29.878Z] 2a8b12db71e7: Download complete [2021-01-28T02:41:30.498Z] 31603596830f: Verifying Checksum [2021-01-28T02:41:30.498Z] 31603596830f: Download complete [2021-01-28T02:41:30.498Z] 6ca5941a6612: Verifying Checksum [2021-01-28T02:41:30.498Z] 6ca5941a6612: Download complete [2021-01-28T02:41:30.788Z] ecc8261a40a4: Verifying Checksum [2021-01-28T02:41:30.788Z] ecc8261a40a4: Download complete [2021-01-28T02:41:31.062Z] 31603596830f: Pull complete [2021-01-28T02:41:31.062Z] 2a8b12db71e7: Pull complete [2021-01-28T02:41:33.806Z] 6ca5941a6612: Pull complete [2021-01-28T02:41:34.415Z] ecc8261a40a4: Pull complete [2021-01-28T02:41:34.415Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T02:41:34.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:41:34.415Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T02:41:34.626Z] prd-centos7-docker-4c-2g-23650 does not seem to be running inside a container [2021-01-28T02:41:34.713Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T02:41:37.318Z] $ docker top 2c0ea320a433cb5e254767b60a986dbd724210ebcffdfb1db19a480cfebce162 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T02:41:37.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T02:41:37.827Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T02:41:38.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T02:41:38.309Z] $ docker exec 2c0ea320a433cb5e254767b60a986dbd724210ebcffdfb1db19a480cfebce162 ssh-agent [2021-01-28T02:41:38.669Z] SSH_AUTH_SOCK=/tmp/ssh-G1WWws5EQN6T/agent.12 [2021-01-28T02:41:38.669Z] SSH_AGENT_PID=17 [2021-01-28T02:41:38.724Z] Running ssh-add (command line suppressed) [2021-01-28T02:41:38.927Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_7478929464341742829.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_7478929464341742829.key) [2021-01-28T02:41:39.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T02:41:39.822Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T02:41:39.872Z] $ docker exec --env ******** --env ******** 2c0ea320a433cb5e254767b60a986dbd724210ebcffdfb1db19a480cfebce162 ssh-agent -k [2021-01-28T02:41:40.080Z] unset SSH_AUTH_SOCK; [2021-01-28T02:41:40.080Z] unset SSH_AGENT_PID; [2021-01-28T02:41:40.080Z] echo Agent pid 17 killed; [2021-01-28T02:41:40.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T02:41:40.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T02:41:40.424Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T02:41:40.665Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T02:41:40.671Z] $ docker exec 2c0ea320a433cb5e254767b60a986dbd724210ebcffdfb1db19a480cfebce162 ssh-agent [2021-01-28T02:41:40.894Z] SSH_AUTH_SOCK=/tmp/ssh-F9alClnO7QXU/agent.45 [2021-01-28T02:41:40.894Z] SSH_AGENT_PID=51 [2021-01-28T02:41:40.904Z] Running ssh-add (command line suppressed) [2021-01-28T02:41:41.138Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_3586627949717182711.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_3586627949717182711.key) [2021-01-28T02:41:41.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T02:41:41.606Z] + git semver init [2021-01-28T02:41:41.606Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T02:41:41.606Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.git [2021-01-28T02:41:41.606Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-753 [2021-01-28T02:41:41.606Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T02:41:41.606Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T02:41:41.606Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T02:41:41.606Z] # $SEMVER_BRANCH = PR-753 [2021-01-28T02:41:41.606Z] # $SEMVER_TEMP = /tmp/semver-859487033 [2021-01-28T02:41:41.606Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T02:41:42.610Z] # '/tmp/semver-859487033' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver' [2021-01-28T02:41:42.610Z] # -> Force: false [2021-01-28T02:41:42.610Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver [Pipeline] } [2021-01-28T02:41:42.636Z] $ docker exec --env ******** --env ******** 2c0ea320a433cb5e254767b60a986dbd724210ebcffdfb1db19a480cfebce162 ssh-agent -k [2021-01-28T02:41:42.959Z] unset SSH_AUTH_SOCK; [2021-01-28T02:41:42.961Z] unset SSH_AGENT_PID; [2021-01-28T02:41:42.961Z] echo Agent pid 51 killed; [2021-01-28T02:41:43.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T02:41:43.598Z] + git semver [Pipeline] } [2021-01-28T02:41:43.628Z] $ docker stop --time=1 2c0ea320a433cb5e254767b60a986dbd724210ebcffdfb1db19a480cfebce162 [2021-01-28T02:41:45.218Z] $ docker rm -f 2c0ea320a433cb5e254767b60a986dbd724210ebcffdfb1db19a480cfebce162 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T02:41:45.886Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T02:41:47.460Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T02:41:47.463Z] [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-28T02:42:02.946Z] Still waiting to schedule task [2021-01-28T02:42:02.946Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-28T02:42:02.948Z] Still waiting to schedule task [2021-01-28T02:42:02.948Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-28T02:43:09.166Z] Running on prd-centos7-docker-4c-2g-23655 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws [2021-01-28T02:43:09.216Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-28T02:43:11.712Z] using credential edgex-jenkins-ssh [2021-01-28T02:43:11.766Z] Cloning the remote Git repository [2021-01-28T02:43:11.395Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:43:11.469Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-28T02:43:11.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:43:11.544Z] > git --version # timeout=10 [2021-01-28T02:43:11.552Z] > git --version # 'git version 2.24.3' [2021-01-28T02:43:11.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:43:11.584Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:43:13.142Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 36433b781bb2ee003898b57ec7acf2c0b8aebae6 [2021-01-28T02:43:13.278Z] Merge succeeded, producing 40fa0b7ab555e7aab7ea5594cdacc6fa7da8e3b9 [2021-01-28T02:43:13.279Z] Checking out Revision 40fa0b7ab555e7aab7ea5594cdacc6fa7da8e3b9 (PR-753) [2021-01-28T02:43:12.299Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:43:12.307Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:43:12.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:43:12.333Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:43:12.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:43:12.338Z] > 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-28T02:43:12.861Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:43:12.867Z] > git checkout -f 36433b781bb2ee003898b57ec7acf2c0b8aebae6 # timeout=10 [2021-01-28T02:43:12.917Z] > git remote # timeout=10 [2021-01-28T02:43:12.926Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T02:43:12.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:43:12.938Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T02:43:12.991Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T02:43:13.004Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:43:13.011Z] > git checkout -f 40fa0b7ab555e7aab7ea5594cdacc6fa7da8e3b9 # timeout=10 [2021-01-28T02:43:16.647Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T02:43:16.659Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:43:16.654Z] > git rev-list --no-walk 42626c2ceaa3cff6cd32781b3c376ece08d9814c # timeout=10 [2021-01-28T02:43:17.809Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:43:18.140Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:43:18.439Z] + sudo service docker restart [2021-01-28T02:43:18.439Z] + true [2021-01-28T02:43:18.439Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:43:19.902Z] provisioning config files... [2021-01-28T02:43:19.928Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8463982166406605502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:43:20.293Z] ---> docker-login.sh [2021-01-28T02:43:20.293Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:43:20.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:20.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:20.830Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:20.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:20.830Z] [2021-01-28T02:43:20.830Z] Login Succeeded [2021-01-28T02:43:20.830Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:43:20.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:20.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:20.830Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:20.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:20.830Z] [2021-01-28T02:43:20.830Z] Login Succeeded [2021-01-28T02:43:20.830Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:43:21.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:21.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:21.092Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:21.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:21.092Z] [2021-01-28T02:43:21.092Z] Login Succeeded [2021-01-28T02:43:21.092Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:43:21.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:21.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:21.355Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:21.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:21.355Z] [2021-01-28T02:43:21.355Z] Login Succeeded [2021-01-28T02:43:21.355Z] docker.io [2021-01-28T02:43:21.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:21.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:21.617Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:21.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:21.617Z] [2021-01-28T02:43:21.617Z] Login Succeeded [2021-01-28T02:43:21.617Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:43:21.626Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T02:43:21.985Z] ========================================================= [2021-01-28T02:43:21.985Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T02:43:21.985Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:43:22.329Z] + 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-28T02:43:22.329Z] Sending build context to Docker daemon 2.599MB [2021-01-28T02:43:22.329Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:43:22.329Z] Step 2/8 : FROM ${BASE} [2021-01-28T02:43:22.597Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T02:43:22.597Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T02:43:22.597Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T02:43:22.597Z] de9db76c5a1d: Pulling fs layer [2021-01-28T02:43:22.597Z] bca2f99d35d6: Pulling fs layer [2021-01-28T02:43:22.597Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T02:43:22.597Z] 7c6f9722023f: Pulling fs layer [2021-01-28T02:43:22.597Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T02:43:22.597Z] 93359f2a8cfa: Waiting [2021-01-28T02:43:22.597Z] 7c6f9722023f: Waiting [2021-01-28T02:43:22.597Z] a35cf1a2eb13: Waiting [2021-01-28T02:43:22.597Z] bca2f99d35d6: Waiting [2021-01-28T02:43:22.597Z] de9db76c5a1d: Verifying Checksum [2021-01-28T02:43:22.597Z] de9db76c5a1d: Download complete [2021-01-28T02:43:22.597Z] 0ef7d3d256c8: Verifying Checksum [2021-01-28T02:43:22.597Z] 0ef7d3d256c8: Download complete [2021-01-28T02:43:22.597Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T02:43:22.597Z] 93359f2a8cfa: Download complete [2021-01-28T02:43:22.597Z] 7c6f9722023f: Verifying Checksum [2021-01-28T02:43:22.597Z] 7c6f9722023f: Download complete [2021-01-28T02:43:22.597Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T02:43:22.597Z] 188c0c94c7c5: Download complete [2021-01-28T02:43:22.873Z] 188c0c94c7c5: Pull complete [2021-01-28T02:43:23.135Z] 0ef7d3d256c8: Pull complete [2021-01-28T02:43:23.135Z] de9db76c5a1d: Pull complete [2021-01-28T02:43:25.059Z] a35cf1a2eb13: Verifying Checksum [2021-01-28T02:43:25.059Z] a35cf1a2eb13: Download complete [2021-01-28T02:43:25.643Z] bca2f99d35d6: Verifying Checksum [2021-01-28T02:43:25.643Z] bca2f99d35d6: Download complete [2021-01-28T02:43:32.313Z] bca2f99d35d6: Pull complete [2021-01-28T02:43:32.313Z] 93359f2a8cfa: Pull complete [2021-01-28T02:43:32.313Z] 7c6f9722023f: Pull complete [2021-01-28T02:43:36.572Z] a35cf1a2eb13: Pull complete [2021-01-28T02:43:36.572Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T02:43:36.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T02:43:36.572Z] ---> a62c8e92a672 [2021-01-28T02:43:36.572Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:43:36.572Z] ---> Running in 8690c1080ad7 [2021-01-28T02:43:36.572Z] Removing intermediate container 8690c1080ad7 [2021-01-28T02:43:36.572Z] ---> 9176cfeee97a [2021-01-28T02:43:36.572Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:43:36.572Z] ---> Running in 02bd0270d409 [2021-01-28T02:43:38.002Z] Removing intermediate container 02bd0270d409 [2021-01-28T02:43:38.002Z] ---> 65a8db347e14 [2021-01-28T02:43:38.002Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T02:43:38.002Z] ---> Running in 3583137c133b [2021-01-28T02:43:39.402Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T02:43:39.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T02:43:40.251Z] OK: 166 MiB in 39 packages [2021-01-28T02:43:40.829Z] Removing intermediate container 3583137c133b [2021-01-28T02:43:40.829Z] ---> da40d63577b4 [2021-01-28T02:43:40.829Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T02:43:40.829Z] ---> Running in 15896f9682f7 [2021-01-28T02:43:40.829Z] Removing intermediate container 15896f9682f7 [2021-01-28T02:43:40.829Z] ---> ae5c28fa5da1 [2021-01-28T02:43:40.829Z] Step 7/8 : COPY . . [2021-01-28T02:43:42.233Z] ---> 6a02f6154e8d [2021-01-28T02:43:42.233Z] Step 8/8 : RUN go mod download [2021-01-28T02:43:42.233Z] ---> Running in da1a708d6361 [2021-01-28T02:44:04.439Z] Removing intermediate container da1a708d6361 [2021-01-28T02:44:04.439Z] ---> 85fb37278662 [2021-01-28T02:44:04.439Z] Successfully built 85fb37278662 [2021-01-28T02:44:04.439Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:44:04.780Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T02:44:04.780Z] . [Pipeline] withDockerContainer [2021-01-28T02:44:04.916Z] prd-centos7-docker-4c-2g-23655 does not seem to be running inside a container [2021-01-28T02:44:04.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T02:44:05.864Z] $ docker top dd6edc3c089490e8fae8a257045180399ee874504dfaf8f64e33ffb500364c6c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:44:06.349Z] + go version [2021-01-28T02:44:06.349Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T02:44:06.367Z] $ docker stop --time=1 dd6edc3c089490e8fae8a257045180399ee874504dfaf8f64e33ffb500364c6c [2021-01-28T02:44:07.719Z] $ docker rm -f dd6edc3c089490e8fae8a257045180399ee874504dfaf8f64e33ffb500364c6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:44:08.691Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T02:44:08.692Z] . [Pipeline] withDockerContainer [2021-01-28T02:44:08.910Z] prd-centos7-docker-4c-2g-23655 does not seem to be running inside a container [2021-01-28T02:44:08.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T02:44:09.621Z] $ docker top c7a71feff2a05482f1af223f486e5a8e75d77caf91510ff68a4c62c242a3be18 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:44:10.123Z] + make test [2021-01-28T02:44:10.123Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T02:44:18.402Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T02:44:36.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T02:44:36.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T02:44:36.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T02:44:36.706Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 19.4% of statements [2021-01-28T02:44:37.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.534s coverage: 97.1% of statements [2021-01-28T02:44:42.452Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23658 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws [2021-01-28T02:44:42.532Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-28T02:44:48.362Z] using credential edgex-jenkins-ssh [2021-01-28T02:44:48.449Z] Cloning the remote Git repository [2021-01-28T02:44:48.531Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:44:48.654Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-28T02:44:48.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:44:48.749Z] > git --version # timeout=10 [2021-01-28T02:44:48.772Z] > git --version # 'git version 2.17.1' [2021-01-28T02:44:48.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:44:48.864Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:44:51.250Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 36433b781bb2ee003898b57ec7acf2c0b8aebae6 [2021-01-28T02:44:51.663Z] Merge succeeded, producing 6fab408975a76ca20d2974bd9b57cf453fd204e2 [2021-01-28T02:44:51.664Z] Checking out Revision 6fab408975a76ca20d2974bd9b57cf453fd204e2 (PR-753) [2021-01-28T02:44:50.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:44:50.563Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:44:50.602Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:44:50.646Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:44:50.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:44:50.658Z] > 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-28T02:44:51.271Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:44:51.296Z] > git checkout -f 36433b781bb2ee003898b57ec7acf2c0b8aebae6 # timeout=10 [2021-01-28T02:44:51.412Z] > git remote # timeout=10 [2021-01-28T02:44:51.434Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T02:44:51.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:44:51.464Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T02:44:51.584Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T02:44:51.673Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:44:51.706Z] > git checkout -f 6fab408975a76ca20d2974bd9b57cf453fd204e2 # timeout=10 [2021-01-28T02:44:56.251Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T02:44:56.280Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:44:56.263Z] > git rev-list --no-walk 42626c2ceaa3cff6cd32781b3c376ece08d9814c # timeout=10 [2021-01-28T02:44:57.785Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:44:58.217Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:44:58.635Z] + sudo service docker restart [2021-01-28T02:44:58.635Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:45:01.398Z] provisioning config files... [2021-01-28T02:45:01.441Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6676438564737229189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:45:01.878Z] ---> docker-login.sh [2021-01-28T02:45:01.878Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:45:02.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:45:03.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:45:03.093Z] Configure a credential helper to remove this warning. See [2021-01-28T02:45:03.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:45:03.093Z] [2021-01-28T02:45:03.093Z] Login Succeeded [2021-01-28T02:45:03.093Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:45:03.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:45:03.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:45:03.651Z] Configure a credential helper to remove this warning. See [2021-01-28T02:45:03.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:45:03.651Z] [2021-01-28T02:45:03.651Z] Login Succeeded [2021-01-28T02:45:03.651Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:45:03.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:45:04.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:45:04.221Z] Configure a credential helper to remove this warning. See [2021-01-28T02:45:04.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:45:04.221Z] [2021-01-28T02:45:04.221Z] Login Succeeded [2021-01-28T02:45:04.221Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:45:04.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:45:04.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:45:04.774Z] Configure a credential helper to remove this warning. See [2021-01-28T02:45:04.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:45:04.774Z] [2021-01-28T02:45:04.774Z] Login Succeeded [2021-01-28T02:45:04.774Z] docker.io [2021-01-28T02:45:05.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:45:05.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:45:05.647Z] Configure a credential helper to remove this warning. See [2021-01-28T02:45:05.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:45:05.647Z] [2021-01-28T02:45:05.647Z] Login Succeeded [2021-01-28T02:45:05.647Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:45:05.664Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T02:45:06.111Z] ========================================================= [2021-01-28T02:45:06.111Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T02:45:06.111Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:45:06.502Z] + 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-28T02:45:07.109Z] Sending build context to Docker daemon 2.59MB [2021-01-28T02:45:07.109Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:45:07.109Z] Step 2/8 : FROM ${BASE} [2021-01-28T02:45:07.109Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T02:45:07.109Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T02:45:07.109Z] a4357932f1b6: Pulling fs layer [2021-01-28T02:45:07.109Z] 18c013af1878: Pulling fs layer [2021-01-28T02:45:07.109Z] 00ac8860ef70: Pulling fs layer [2021-01-28T02:45:07.109Z] 63d7cb157983: Pulling fs layer [2021-01-28T02:45:07.109Z] b116817d02f9: Pulling fs layer [2021-01-28T02:45:07.109Z] 745a02a5169b: Pulling fs layer [2021-01-28T02:45:07.109Z] 00ac8860ef70: Waiting [2021-01-28T02:45:07.109Z] 63d7cb157983: Waiting [2021-01-28T02:45:07.109Z] b116817d02f9: Waiting [2021-01-28T02:45:07.109Z] 745a02a5169b: Waiting [2021-01-28T02:45:07.109Z] 18c013af1878: Verifying Checksum [2021-01-28T02:45:07.109Z] 18c013af1878: Download complete [2021-01-28T02:45:07.109Z] a4357932f1b6: Verifying Checksum [2021-01-28T02:45:07.109Z] a4357932f1b6: Download complete [2021-01-28T02:45:07.109Z] 63d7cb157983: Verifying Checksum [2021-01-28T02:45:07.109Z] 63d7cb157983: Download complete [2021-01-28T02:45:07.109Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T02:45:07.109Z] 5f621e34cdf4: Download complete [2021-01-28T02:45:07.393Z] b116817d02f9: Verifying Checksum [2021-01-28T02:45:07.393Z] b116817d02f9: Download complete [2021-01-28T02:45:07.997Z] 5f621e34cdf4: Pull complete [2021-01-28T02:45:08.630Z] a4357932f1b6: Pull complete [2021-01-28T02:45:08.909Z] 18c013af1878: Pull complete [2021-01-28T02:45:09.517Z] 745a02a5169b: Verifying Checksum [2021-01-28T02:45:09.517Z] 745a02a5169b: Download complete [2021-01-28T02:45:10.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.053s coverage: 9.4% of statements [2021-01-28T02:45:10.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.060s coverage: 21.7% of statements [2021-01-28T02:45:10.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T02:45:10.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.287s coverage: 43.2% of statements [2021-01-28T02:45:10.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T02:45:10.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.362s coverage: 68.9% of statements [2021-01-28T02:45:10.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T02:45:10.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T02:45:10.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T02:45:10.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T02:45:10.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.082s coverage: 53.8% of statements [2021-01-28T02:45:10.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T02:45:10.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T02:45:10.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.094s coverage: 26.8% of statements [2021-01-28T02:45:10.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.629s coverage: 83.5% of statements [2021-01-28T02:45:10.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.086s coverage: 4.2% of statements [2021-01-28T02:45:10.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T02:45:10.000Z] GO111MODULE=on go vet ./... [2021-01-28T02:45:10.951Z] 00ac8860ef70: Verifying Checksum [2021-01-28T02:45:10.951Z] 00ac8860ef70: Download complete [2021-01-28T02:45:18.258Z] gofmt -l . [2021-01-28T02:45:18.522Z] [ "`gofmt -l .`" = "" ] [2021-01-28T02:45:18.522Z] ./bin/test-attribution-txt.sh [2021-01-28T02:45:19.470Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T02:45:19.496Z] $ docker stop --time=1 c7a71feff2a05482f1af223f486e5a8e75d77caf91510ff68a4c62c242a3be18 [2021-01-28T02:45:21.110Z] 00ac8860ef70: Pull complete [2021-01-28T02:45:21.110Z] 63d7cb157983: Pull complete [2021-01-28T02:45:21.110Z] b116817d02f9: Pull complete [2021-01-28T02:45:21.484Z] $ docker rm -f c7a71feff2a05482f1af223f486e5a8e75d77caf91510ff68a4c62c242a3be18 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T02:45:22.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T02:45:22.615Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T02:45:23.765Z] 745a02a5169b: Pull complete [2021-01-28T02:45:23.765Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T02:45:23.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T02:45:23.765Z] ---> b7e6874047d6 [2021-01-28T02:45:23.765Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:45:23.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T02:45:24.126Z] + ls -al . [2021-01-28T02:45:24.126Z] total 216 [2021-01-28T02:45:24.126Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 02:45 . [2021-01-28T02:45:24.126Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 02:43 .. [2021-01-28T02:45:24.126Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 02:43 bin [2021-01-28T02:45:24.126Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 02:45 coverage.out [2021-01-28T02:45:24.126Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 02:43 Dockerfile.build [2021-01-28T02:45:24.126Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 02:43 .dockerignore [2021-01-28T02:45:24.126Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 02:43 example [2021-01-28T02:45:24.126Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 02:43 .git [2021-01-28T02:45:24.126Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 02:43 .github [2021-01-28T02:45:24.126Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 02:43 .gitignore [2021-01-28T02:45:24.126Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 28 02:45 go.mod [2021-01-28T02:45:24.126Z] -rw-r--r--. 1 jenkins jenkins 14101 Jan 28 02:45 go.sum [2021-01-28T02:45:24.126Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 02:43 internal [2021-01-28T02:45:24.126Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 02:43 Jenkinsfile [2021-01-28T02:45:24.126Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 02:43 LICENSE [2021-01-28T02:45:24.126Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 02:43 Makefile [2021-01-28T02:45:24.126Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 02:43 openapi [2021-01-28T02:45:24.126Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 02:43 pkg [2021-01-28T02:45:24.126Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 02:43 README.md [2021-01-28T02:45:24.126Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 02:43 RELEASE-NOTES.txt [2021-01-28T02:45:24.126Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 02:43 snap [2021-01-28T02:45:24.126Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 02:41 VERSION [2021-01-28T02:45:24.126Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:45:24.440Z] + 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=0c99c0bf9d0355358eea2d22ef532bc0f34a76ee --label arch=amd64 --label version=0.0.0 . [2021-01-28T02:45:24.703Z] Sending build context to Docker daemon 2.737MB [2021-01-28T02:45:24.703Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:45:24.703Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T02:45:24.703Z] ---> 85fb37278662 [2021-01-28T02:45:24.703Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T02:45:25.285Z] ---> Running in c90da4fd4746 [2021-01-28T02:45:25.550Z] Removing intermediate container c90da4fd4746 [2021-01-28T02:45:25.550Z] ---> 5ecea9e447bc [2021-01-28T02:45:25.550Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T02:45:25.550Z] ---> Running in 223beeaf4ff0 [2021-01-28T02:45:25.813Z] Removing intermediate container 223beeaf4ff0 [2021-01-28T02:45:25.813Z] ---> 4780f5518cad [2021-01-28T02:45:25.813Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:45:25.813Z] ---> Running in 736c481e7277 [2021-01-28T02:45:26.085Z] Removing intermediate container 736c481e7277 [2021-01-28T02:45:26.085Z] ---> c6139874e67f [2021-01-28T02:45:26.085Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:45:26.085Z] ---> Running in 0e89149bb021 [2021-01-28T02:45:27.045Z] Removing intermediate container 0e89149bb021 [2021-01-28T02:45:27.045Z] ---> f22aa705332c [2021-01-28T02:45:27.045Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T02:45:27.045Z] ---> Running in fc45f157034e [2021-01-28T02:45:27.182Z] ---> Running in c265ecf70019 [2021-01-28T02:45:27.454Z] Removing intermediate container c265ecf70019 [2021-01-28T02:45:27.454Z] ---> 6e25d83a4541 [2021-01-28T02:45:27.454Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:45:27.627Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T02:45:28.058Z] ---> Running in 4efaf03be32d [2021-01-28T02:45:28.577Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T02:45:29.526Z] OK: 166 MiB in 39 packages [2021-01-28T02:45:30.104Z] Removing intermediate container fc45f157034e [2021-01-28T02:45:30.104Z] ---> 054ecd5d0282 [2021-01-28T02:45:30.104Z] Step 8/24 : COPY . . [2021-01-28T02:45:30.692Z] Removing intermediate container 4efaf03be32d [2021-01-28T02:45:30.692Z] ---> 39f9c57c8898 [2021-01-28T02:45:30.692Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T02:45:31.054Z] ---> 69a2620b48e9 [2021-01-28T02:45:31.054Z] Step 9/24 : RUN ${MAKE} [2021-01-28T02:45:31.054Z] ---> Running in b3dadd0033a2 [2021-01-28T02:45:31.296Z] ---> Running in 25e24be6e322 [2021-01-28T02:45:32.278Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T02:45:32.452Z] 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-28T02:45:33.259Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T02:45:34.243Z] OK: 142 MiB in 39 packages [2021-01-28T02:45:36.220Z] Removing intermediate container 25e24be6e322 [2021-01-28T02:45:36.220Z] ---> c11dfefe3f3c [2021-01-28T02:45:36.220Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T02:45:36.497Z] ---> Running in 9e20714fc6a7 [2021-01-28T02:45:37.096Z] Removing intermediate container 9e20714fc6a7 [2021-01-28T02:45:37.096Z] ---> 1389c23c43c9 [2021-01-28T02:45:37.096Z] Step 7/8 : COPY . . [2021-01-28T02:45:38.555Z] ---> 59770112ee56 [2021-01-28T02:45:38.555Z] Step 8/8 : RUN go mod download [2021-01-28T02:45:39.153Z] ---> Running in c4bf4d492b4b [2021-01-28T02:45:42.600Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T02:45:43.554Z] Removing intermediate container b3dadd0033a2 [2021-01-28T02:45:43.554Z] ---> c807a5e788d9 [2021-01-28T02:45:43.554Z] Step 10/24 : FROM scratch [2021-01-28T02:45:43.554Z] ---> [2021-01-28T02:45:43.554Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:45:43.554Z] ---> Running in 0a130f50864b [2021-01-28T02:45:43.554Z] Removing intermediate container 0a130f50864b [2021-01-28T02:45:43.554Z] ---> 95a67b736470 [2021-01-28T02:45:43.554Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T02:45:43.821Z] ---> Running in 36d758d4d20e [2021-01-28T02:45:43.821Z] Removing intermediate container 36d758d4d20e [2021-01-28T02:45:43.821Z] ---> ed57ff1d07b2 [2021-01-28T02:45:43.821Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T02:45:43.821Z] ---> Running in c1a93ed06406 [2021-01-28T02:45:44.084Z] Removing intermediate container c1a93ed06406 [2021-01-28T02:45:44.084Z] ---> 27122e1a0af5 [2021-01-28T02:45:44.084Z] Step 14/24 : WORKDIR / [2021-01-28T02:45:44.084Z] ---> Running in 3c52a8212fd4 [2021-01-28T02:45:44.347Z] Removing intermediate container 3c52a8212fd4 [2021-01-28T02:45:44.347Z] ---> 2f5068ae163f [2021-01-28T02:45:44.347Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T02:45:44.935Z] ---> 655e50e4bd9c [2021-01-28T02:45:44.935Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T02:45:44.935Z] ---> 9220937e7fe6 [2021-01-28T02:45:44.935Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T02:45:45.210Z] ---> dc08500ee7e8 [2021-01-28T02:45:45.210Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T02:45:45.489Z] ---> de840595c2bc [2021-01-28T02:45:45.489Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T02:45:45.754Z] ---> 82996f803415 [2021-01-28T02:45:45.754Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T02:45:46.016Z] ---> Running in b417dd547a2a [2021-01-28T02:45:46.016Z] Removing intermediate container b417dd547a2a [2021-01-28T02:45:46.016Z] ---> 18ac884ba5d2 [2021-01-28T02:45:46.016Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T02:45:46.016Z] ---> Running in 9b9bfe573a96 [2021-01-28T02:45:46.281Z] Removing intermediate container 9b9bfe573a96 [2021-01-28T02:45:46.281Z] ---> 6a8aebbd2886 [2021-01-28T02:45:46.281Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T02:45:46.281Z] ---> Running in 2fb624ac1db8 [2021-01-28T02:45:46.544Z] Removing intermediate container 2fb624ac1db8 [2021-01-28T02:45:46.544Z] ---> 56178f4d59ff [2021-01-28T02:45:46.544Z] Step 23/24 : LABEL git_sha=0c99c0bf9d0355358eea2d22ef532bc0f34a76ee [2021-01-28T02:45:46.544Z] ---> Running in b286804e5854 [2021-01-28T02:45:46.806Z] Removing intermediate container b286804e5854 [2021-01-28T02:45:46.806Z] ---> 258efb9e5efe [2021-01-28T02:45:46.806Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T02:45:46.806Z] ---> Running in ba7a7d2451b7 [2021-01-28T02:45:47.077Z] Removing intermediate container ba7a7d2451b7 [2021-01-28T02:45:47.077Z] ---> f070296e64f7 [2021-01-28T02:45:47.077Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T02:45:47.077Z] Successfully built f070296e64f7 [2021-01-28T02:45:47.077Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-28T02:46:01.394Z] Removing intermediate container c4bf4d492b4b [2021-01-28T02:46:01.394Z] ---> 78b067b9ccb5 [2021-01-28T02:46:01.394Z] Successfully built 78b067b9ccb5 [2021-01-28T02:46:01.394Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:46:01.755Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T02:46:01.755Z] . [Pipeline] withDockerContainer [2021-01-28T02:46:02.087Z] prd-ubuntu18.04-docker-arm64-4c-16g-23658 does not seem to be running inside a container [2021-01-28T02:46:02.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-28T02:46:04.037Z] $ docker top 22ba26fedb8a0cbbdf4cd70494128e60f147788b0ea572eb133525843c699dfb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:46:05.161Z] + go version [2021-01-28T02:46:05.161Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T02:46:05.198Z] $ docker stop --time=1 22ba26fedb8a0cbbdf4cd70494128e60f147788b0ea572eb133525843c699dfb [2021-01-28T02:46:07.327Z] $ docker rm -f 22ba26fedb8a0cbbdf4cd70494128e60f147788b0ea572eb133525843c699dfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:46:08.520Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T02:46:08.520Z] . [Pipeline] withDockerContainer [2021-01-28T02:46:08.775Z] prd-ubuntu18.04-docker-arm64-4c-16g-23658 does not seem to be running inside a container [2021-01-28T02:46:08.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-28T02:46:10.385Z] $ docker top 34b5b04a2d3e935abe4d498ee8d144ae0d17bb91b8a5b563ee54591d85ae92da -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:46:11.387Z] + make test [2021-01-28T02:46:11.387Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T02:46:33.592Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T02:47:22.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T02:47:22.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T02:47:22.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T02:47:22.339Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 19.4% of statements [2021-01-28T02:47:29.140Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.327s coverage: 97.1% of statements [2021-01-28T02:47:51.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.128s coverage: 9.4% of statements [2021-01-28T02:47:51.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 21.7% of statements [2021-01-28T02:47:51.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T02:47:51.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.653s coverage: 43.2% of statements [2021-01-28T02:47:51.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T02:47:51.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.798s coverage: 68.9% of statements [2021-01-28T02:47:51.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T02:47:51.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T02:47:51.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T02:47:51.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T02:47:51.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.206s coverage: 53.8% of statements [2021-01-28T02:47:51.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T02:47:51.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T02:47:51.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.182s coverage: 26.8% of statements [2021-01-28T02:47:51.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.188s coverage: 83.5% of statements [2021-01-28T02:47:51.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.152s coverage: 4.2% of statements [2021-01-28T02:47:51.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T02:47:51.452Z] GO111MODULE=on go vet ./... [2021-01-28T02:48:30.649Z] gofmt -l . [2021-01-28T02:48:30.649Z] [ "`gofmt -l .`" = "" ] [2021-01-28T02:48:30.649Z] ./bin/test-attribution-txt.sh [2021-01-28T02:48:30.649Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T02:48:30.669Z] $ docker stop --time=1 34b5b04a2d3e935abe4d498ee8d144ae0d17bb91b8a5b563ee54591d85ae92da [2021-01-28T02:48:32.835Z] $ docker rm -f 34b5b04a2d3e935abe4d498ee8d144ae0d17bb91b8a5b563ee54591d85ae92da [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T02:48:33.962Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T02:48:34.032Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T02:48:35.013Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:48:35.819Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T02:48:36.154Z] + ls -al . [2021-01-28T02:48:36.154Z] total 252 [2021-01-28T02:48:36.154Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 02:48 . [2021-01-28T02:48:36.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:44 .. [2021-01-28T02:48:36.154Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 02:44 .dockerignore [2021-01-28T02:48:36.154Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 02:44 .git [2021-01-28T02:48:36.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:44 .github [2021-01-28T02:48:36.154Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 02:44 .gitignore [2021-01-28T02:48:36.154Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 02:44 Dockerfile.build [2021-01-28T02:48:36.154Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 02:44 Jenkinsfile [2021-01-28T02:48:36.154Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 02:44 LICENSE [2021-01-28T02:48:36.154Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 02:44 Makefile [2021-01-28T02:48:36.154Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 02:44 README.md [2021-01-28T02:48:36.154Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 02:44 RELEASE-NOTES.txt [2021-01-28T02:48:36.154Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 02:41 VERSION [2021-01-28T02:48:36.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:44 bin [2021-01-28T02:48:36.154Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 02:47 coverage.out [2021-01-28T02:48:36.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:44 example [2021-01-28T02:48:36.154Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 28 02:48 go.mod [2021-01-28T02:48:36.154Z] -rw-r--r-- 1 jenkins jenkins 14101 Jan 28 02:48 go.sum [2021-01-28T02:48:36.154Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 02:44 internal [2021-01-28T02:48:36.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:44 openapi [2021-01-28T02:48:36.154Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 02:44 pkg [2021-01-28T02:48:36.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:44 snap [2021-01-28T02:48:36.154Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:48:36.499Z] + 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=0c99c0bf9d0355358eea2d22ef532bc0f34a76ee --label arch=arm64 --label version=0.0.0 . [2021-01-28T02:48:36.781Z] Sending build context to Docker daemon 2.727MB [2021-01-28T02:48:37.052Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:48:37.052Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T02:48:37.052Z] ---> 78b067b9ccb5 [2021-01-28T02:48:37.052Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T02:48:37.334Z] ---> Running in 01f09e48100c [2021-01-28T02:48:37.945Z] Removing intermediate container 01f09e48100c [2021-01-28T02:48:37.945Z] ---> 180a0140af72 [2021-01-28T02:48:37.945Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T02:48:38.219Z] ---> Running in 7916b464fac6 [2021-01-28T02:48:38.826Z] Removing intermediate container 7916b464fac6 [2021-01-28T02:48:38.826Z] ---> 7b92ca3ab376 [2021-01-28T02:48:38.826Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:48:38.826Z] ---> Running in 3d8494421020 [2021-01-28T02:48:39.423Z] Removing intermediate container 3d8494421020 [2021-01-28T02:48:39.423Z] ---> 30c3b91a9ad6 [2021-01-28T02:48:39.423Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:48:39.423Z] ---> Running in 6388056af596 [2021-01-28T02:48:41.400Z] Removing intermediate container 6388056af596 [2021-01-28T02:48:41.400Z] ---> 1ffd39098d0c [2021-01-28T02:48:41.400Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T02:48:41.675Z] ---> Running in bca39ca5580d [2021-01-28T02:48:42.665Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T02:48:44.096Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T02:48:45.106Z] OK: 142 MiB in 39 packages [2021-01-28T02:48:46.532Z] Removing intermediate container bca39ca5580d [2021-01-28T02:48:46.532Z] ---> b2e9a8cbcb09 [2021-01-28T02:48:46.532Z] Step 8/24 : COPY . . [2021-01-28T02:48:47.976Z] ---> cd3f6e991f0b [2021-01-28T02:48:47.976Z] Step 9/24 : RUN ${MAKE} [2021-01-28T02:48:47.976Z] ---> Running in 9a946ffc9d09 [2021-01-28T02:48:48.960Z] 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-28T02:49:21.347Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T02:49:21.348Z] Removing intermediate container 9a946ffc9d09 [2021-01-28T02:49:21.348Z] ---> 8fe28c8406b3 [2021-01-28T02:49:21.348Z] Step 10/24 : FROM scratch [2021-01-28T02:49:21.348Z] ---> [2021-01-28T02:49:21.348Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:49:21.348Z] ---> Running in 13696d682614 [2021-01-28T02:49:21.348Z] Removing intermediate container 13696d682614 [2021-01-28T02:49:21.348Z] ---> 37f4d64783a3 [2021-01-28T02:49:21.348Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T02:49:21.348Z] ---> Running in f477f17bf039 [2021-01-28T02:49:21.348Z] Removing intermediate container f477f17bf039 [2021-01-28T02:49:21.348Z] ---> 3f947bbe4dd9 [2021-01-28T02:49:21.348Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T02:49:21.348Z] ---> Running in 3a6f193bb1fc [2021-01-28T02:49:21.348Z] Removing intermediate container 3a6f193bb1fc [2021-01-28T02:49:21.348Z] ---> 0895099d1546 [2021-01-28T02:49:21.348Z] Step 14/24 : WORKDIR / [2021-01-28T02:49:21.348Z] ---> Running in 490a8c12194a [2021-01-28T02:49:21.619Z] Removing intermediate container 490a8c12194a [2021-01-28T02:49:21.619Z] ---> aaea10493a66 [2021-01-28T02:49:21.619Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T02:49:23.042Z] ---> 77f088d99300 [2021-01-28T02:49:23.042Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T02:49:23.314Z] ---> b7f877cf04bb [2021-01-28T02:49:23.314Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T02:49:24.292Z] ---> 49c820dc52d9 [2021-01-28T02:49:24.292Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T02:49:24.884Z] ---> a8677d9fca0d [2021-01-28T02:49:24.884Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T02:49:25.477Z] ---> 28de44d0c68c [2021-01-28T02:49:25.477Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T02:49:25.477Z] ---> Running in 753ba1ce1a5a [2021-01-28T02:49:26.073Z] Removing intermediate container 753ba1ce1a5a [2021-01-28T02:49:26.073Z] ---> 6a52bb5936e8 [2021-01-28T02:49:26.073Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T02:49:26.353Z] ---> Running in 97224cfb867c [2021-01-28T02:49:26.628Z] Removing intermediate container 97224cfb867c [2021-01-28T02:49:26.628Z] ---> b96f60deafe2 [2021-01-28T02:49:26.628Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T02:49:26.904Z] ---> Running in 56ede1c1e3e3 [2021-01-28T02:49:27.180Z] Removing intermediate container 56ede1c1e3e3 [2021-01-28T02:49:27.180Z] ---> 1892e304ac39 [2021-01-28T02:49:27.180Z] Step 23/24 : LABEL git_sha=0c99c0bf9d0355358eea2d22ef532bc0f34a76ee [2021-01-28T02:49:27.463Z] ---> Running in 84652ee0cd77 [2021-01-28T02:49:28.058Z] Removing intermediate container 84652ee0cd77 [2021-01-28T02:49:28.058Z] ---> fc3c034d07f4 [2021-01-28T02:49:28.058Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T02:49:28.058Z] ---> Running in 8f6ffb5845ae [2021-01-28T02:49:28.653Z] Removing intermediate container 8f6ffb5845ae [2021-01-28T02:49:28.653Z] ---> d9875ce2c9df [2021-01-28T02:49:28.653Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T02:49:28.653Z] Successfully built d9875ce2c9df [2021-01-28T02:49:28.653Z] 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-28T02:49:30.687Z] provisioning config files... [2021-01-28T02:49:30.701Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config2078393046384974055tmp [Pipeline] { [Pipeline] sh [2021-01-28T02:49:31.146Z] + set +x [2021-01-28T02:49:31.146Z] + curl -s https://codecov.io/bash [2021-01-28T02:49:31.146Z] + bash -s -- [2021-01-28T02:49:31.413Z] [2021-01-28T02:49:31.413Z] _____ _ [2021-01-28T02:49:31.413Z] / ____| | | [2021-01-28T02:49:31.413Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T02:49:31.413Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T02:49:31.413Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T02:49:31.413Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T02:49:31.413Z] Bash-20210128-d4071a2 [2021-01-28T02:49:31.413Z] [2021-01-28T02:49:31.413Z] [2021-01-28T02:49:31.413Z] ==> git version 2.24.3 found [2021-01-28T02:49:31.413Z] ==> 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-28T02:49:31.413Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T02:49:31.413Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T02:49:31.413Z] ==> Jenkins CI detected. [2021-01-28T02:49:31.413Z] project root: . [2021-01-28T02:49:31.413Z] --> token set from env [2021-01-28T02:49:31.413Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T02:49:31.700Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T02:49:31.700Z] ==> Python coveragepy not found [2021-01-28T02:49:31.700Z] ==> Searching for coverage reports in: [2021-01-28T02:49:31.700Z] + . [2021-01-28T02:49:31.700Z] -> Found 1 reports [2021-01-28T02:49:31.700Z] ==> Detecting git/mercurial file structure [2021-01-28T02:49:31.700Z] ==> Reading reports [2021-01-28T02:49:31.700Z] + ./coverage.out bytes=136842 [2021-01-28T02:49:31.700Z] ==> Appending adjustments [2021-01-28T02:49:31.700Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T02:49:32.734Z] + Found adjustments [2021-01-28T02:49:32.734Z] ==> Gzipping contents [2021-01-28T02:49:32.734Z] 24K /tmp/codecov.97yllV.gz [2021-01-28T02:49:32.734Z] ==> Uploading reports [2021-01-28T02:49:32.734Z] url: https://codecov.io [2021-01-28T02:49:32.734Z] query: branch=PR-753&commit=0c99c0bf9d0355358eea2d22ef532bc0f34a76ee&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= [2021-01-28T02:49:32.734Z] -> Pinging Codecov [2021-01-28T02:49:32.734Z] https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-753&commit=0c99c0bf9d0355358eea2d22ef532bc0f34a76ee&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= [2021-01-28T02:49:33.735Z] -> Uploading to [2021-01-28T02:49:33.735Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/0c99c0bf9d0355358eea2d22ef532bc0f34a76ee/465b466e-2519-49a9-b05b-57040a92d68c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T024933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94c95b6272be7222f7c9ade9affe22aea0580a3c3d89cc97bc54d00380c78244 [2021-01-28T02:49:33.735Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T02:49:33.735Z] Dload Upload Total Spent Left Speed [2021-01-28T02:49:34.000Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21529 0 0 100 21529 0 42964 --:--:-- --:--:-- --:--:-- 43058 [2021-01-28T02:49:34.000Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0c99c0bf9d0355358eea2d22ef532bc0f34a76ee [Pipeline] } [2021-01-28T02:49:34.012Z] 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-28T02:49:36.766Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:49:37.385Z] ---> package-listing.sh [2021-01-28T02:49:37.385Z] ++ facter osfamily [2021-01-28T02:49:37.385Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T02:49:37.665Z] + OS_FAMILY=redhat [2021-01-28T02:49:37.665Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-753 [2021-01-28T02:49:37.665Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T02:49:37.665Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T02:49:37.665Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T02:49:37.665Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T02:49:37.665Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' [2021-01-28T02:49:37.665Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T02:49:37.665Z] + case "${OS_FAMILY}" in [2021-01-28T02:49:37.665Z] + sort [2021-01-28T02:49:37.665Z] + rpm -qa [2021-01-28T02:49:44.431Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T02:49:44.431Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T02:49:44.431Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T02:49:44.431Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' [2021-01-28T02:49:44.431Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ [2021-01-28T02:49:44.431Z] + 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-28T02:49:44.449Z] 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-28T02:49:44.776Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:49:45.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:49:45.647Z] [2021-01-28T02:49:45.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:49:46.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:49:46.020Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T02:49:46.020Z] df20fa9351a1: Pulling fs layer [2021-01-28T02:49:46.020Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T02:49:46.020Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T02:49:46.020Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T02:49:46.020Z] 93b61091891f: Pulling fs layer [2021-01-28T02:49:46.020Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T02:49:46.020Z] 5e14af77c1be: Pulling fs layer [2021-01-28T02:49:46.020Z] 01666e4c0597: Pulling fs layer [2021-01-28T02:49:46.020Z] aa168da1d23b: Pulling fs layer [2021-01-28T02:49:46.020Z] 01666e4c0597: Waiting [2021-01-28T02:49:46.020Z] 93b9cdb0e59b: Waiting [2021-01-28T02:49:46.020Z] 5e14af77c1be: Waiting [2021-01-28T02:49:46.020Z] aa168da1d23b: Waiting [2021-01-28T02:49:46.020Z] 46f8f816bc3b: Waiting [2021-01-28T02:49:46.020Z] 93b61091891f: Waiting [2021-01-28T02:49:46.297Z] 36b3adc4ff6f: Verifying Checksum [2021-01-28T02:49:46.297Z] 36b3adc4ff6f: Download complete [2021-01-28T02:49:46.297Z] 46f8f816bc3b: Verifying Checksum [2021-01-28T02:49:46.297Z] 46f8f816bc3b: Download complete [2021-01-28T02:49:46.297Z] df20fa9351a1: Download complete [2021-01-28T02:49:46.576Z] 93b9cdb0e59b: Verifying Checksum [2021-01-28T02:49:46.576Z] 93b9cdb0e59b: Download complete [2021-01-28T02:49:46.576Z] 5e14af77c1be: Verifying Checksum [2021-01-28T02:49:46.576Z] 5e14af77c1be: Download complete [2021-01-28T02:49:46.576Z] 01666e4c0597: Verifying Checksum [2021-01-28T02:49:46.576Z] 01666e4c0597: Download complete [2021-01-28T02:49:46.576Z] 93b61091891f: Verifying Checksum [2021-01-28T02:49:46.576Z] 93b61091891f: Download complete [2021-01-28T02:49:47.188Z] df20fa9351a1: Pull complete [2021-01-28T02:49:47.467Z] 36b3adc4ff6f: Pull complete [2021-01-28T02:49:47.467Z] 8ad3a11d3b57: Download complete [2021-01-28T02:49:48.936Z] 8ad3a11d3b57: Pull complete [2021-01-28T02:49:49.234Z] 46f8f816bc3b: Pull complete [2021-01-28T02:49:50.332Z] 93b61091891f: Pull complete [2021-01-28T02:49:50.663Z] 93b9cdb0e59b: Pull complete [2021-01-28T02:49:51.388Z] 5e14af77c1be: Pull complete [2021-01-28T02:49:51.388Z] aa168da1d23b: Verifying Checksum [2021-01-28T02:49:51.388Z] aa168da1d23b: Download complete [2021-01-28T02:49:51.673Z] 01666e4c0597: Pull complete [2021-01-28T02:50:06.943Z] aa168da1d23b: Pull complete [2021-01-28T02:50:06.943Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T02:50:06.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:50:06.943Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T02:50:07.400Z] prd-centos7-docker-4c-2g-23650 does not seem to be running inside a container [2021-01-28T02:50:07.496Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-28T02:50:12.313Z] $ docker top 45964fbb335188c441da8027c06adff3c705dfbfd722f2035a8dc3688aecc63c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:50:13.766Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T02:50:14.104Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T02:50:14.470Z] + ls /var/log/sa-host [2021-01-28T02:50:14.470Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T02:50:14.470Z] file_magic: OK [2021-01-28T02:50:14.470Z] HZ: Using current value: 100 [2021-01-28T02:50:14.470Z] file_header: OK [2021-01-28T02:50:14.470Z] 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-28T02:50:14.470Z] Statistics: [2021-01-28T02:50:14.470Z] Hnuu...uuuununununu... [2021-01-28T02:50:14.470Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T02:50:14.470Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T02:50:14.470Z] file_magic: OK [2021-01-28T02:50:14.470Z] HZ: Using current value: 100 [2021-01-28T02:50:14.470Z] file_header: OK [2021-01-28T02:50:14.470Z] 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-28T02:50:14.470Z] Statistics: [2021-01-28T02:50:14.470Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T02:50:14.470Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T02:50:14.690Z] provisioning config files... [2021-01-28T02:50:14.709Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config5121068066787322342tmp [Pipeline] { [Pipeline] echo [2021-01-28T02:50:14.781Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:15.126Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T02:50:15.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T02:50:15.516Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:15.871Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T02:50:15.887Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:16.244Z] ---> sudo-logs.sh [2021-01-28T02:50:16.245Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T02:50:16.535Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:17.243Z] ---> job-cost.sh [2021-01-28T02:50:17.243Z] lf-activate-venv: SKIPPING [2021-01-28T02:50:17.243Z] INFO: No Stack... [2021-01-28T02:50:18.224Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T02:50:18.819Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T02:50:18.844Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:19.538Z] ---> logs-deploy.sh [2021-01-28T02:50:19.538Z] lf-activate-venv: SKIPPING [2021-01-28T02:50:19.538Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-753/3 [2021-01-28T02:50:19.538Z] INFO: archiving workspace using pattern(s): [2021-01-28T02:50:22.151Z] Archives upload complete. [2021-01-28T02:50:22.424Z] INFO: archiving logs to Nexus