Pull request #763 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 959b1dec2bdc5855b867e6815730988ac415055a+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (a322a3815f19ffec82389a586a75e5ce31e95130) 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-23717 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [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-763 # 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/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 959b1dec2bdc5855b867e6815730988ac415055a Merge succeeded, producing 959b1dec2bdc5855b867e6815730988ac415055a Checking out Revision 959b1dec2bdc5855b867e6815730988ac415055a (PR-763) > git config core.sparsecheckout # timeout=10 > git checkout -f 959b1dec2bdc5855b867e6815730988ac415055a # 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 959b1dec2bdc5855b867e6815730988ac415055a # timeout=10 Commit message: "refactor: leverage go-mod-core-contracts constants" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T08:39:25.619Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 0193f5eabba245e8bfdb43525716dd55d9eed079 # timeout=10 [2021-01-28T08:39:25.905Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T08:39:26.012Z] ========================================================= [2021-01-28T08:39:26.012Z] EdgeX Global Pipelines Version Info [2021-01-28T08:39:26.012Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T08:39:28.335Z] ------------------- [2021-01-28T08:39:28.335Z] stable info: [2021-01-28T08:39:28.335Z] ------------------- [2021-01-28T08:39:28.335Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T08:39:28.335Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T08:39:28.335Z] Message: update stable to v1.0.179 [2021-01-28T08:39:28.926Z] ------------------- [2021-01-28T08:39:28.926Z] experimental info: [2021-01-28T08:39:28.926Z] ------------------- [2021-01-28T08:39:28.926Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T08:39:28.926Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T08:39:28.926Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T08:39:29.308Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T08:39:29.449Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T08:39:29.548Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T08:39:29.651Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T08:39:29.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T08:39:29.835Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T08:39:29.929Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T08:39:30.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T08:39:30.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T08:39:30.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T08:39:30.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T08:39:30.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T08:39:30.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T08:39:30.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T08:39:30.785Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T08:39:30.881Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T08:39:30.972Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T08:39:31.064Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T08:39:31.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T08:39:31.340Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T08:39:31.490Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T08:39:31.581Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T08:39:31.711Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T08:39:31.812Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T08:39:31.903Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T08:39:32.007Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T08:39:32.092Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T08:39:32.248Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-763 [Pipeline] echo [2021-01-28T08:39:32.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-763 [Pipeline] echo [2021-01-28T08:39:32.427Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-763 [Pipeline] echo [2021-01-28T08:39:32.525Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 959b1dec2bdc5855b867e6815730988ac415055a [Pipeline] echo [2021-01-28T08:39:32.617Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 959b1de [Pipeline] echo [2021-01-28T08:39:32.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T08:39:32.872Z] provisioning config files... [2021-01-28T08:39:32.901Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config6210441074260775745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T08:39:33.281Z] ---> docker-login.sh [2021-01-28T08:39:33.281Z] nexus3.edgexfoundry.org:10001 [2021-01-28T08:39:33.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:39:34.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:39:34.165Z] Configure a credential helper to remove this warning. See [2021-01-28T08:39:34.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:39:34.165Z] [2021-01-28T08:39:34.165Z] Login Succeeded [2021-01-28T08:39:34.165Z] nexus3.edgexfoundry.org:10002 [2021-01-28T08:39:34.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:39:34.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:39:34.438Z] Configure a credential helper to remove this warning. See [2021-01-28T08:39:34.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:39:34.438Z] [2021-01-28T08:39:34.438Z] Login Succeeded [2021-01-28T08:39:34.438Z] nexus3.edgexfoundry.org:10003 [2021-01-28T08:39:34.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:39:34.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:39:34.715Z] Configure a credential helper to remove this warning. See [2021-01-28T08:39:34.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:39:34.715Z] [2021-01-28T08:39:34.715Z] Login Succeeded [2021-01-28T08:39:34.715Z] nexus3.edgexfoundry.org:10004 [2021-01-28T08:39:34.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:39:35.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:39:35.287Z] Configure a credential helper to remove this warning. See [2021-01-28T08:39:35.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:39:35.287Z] [2021-01-28T08:39:35.287Z] Login Succeeded [2021-01-28T08:39:35.287Z] docker.io [2021-01-28T08:39:35.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:39:35.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:39:35.840Z] Configure a credential helper to remove this warning. See [2021-01-28T08:39:35.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:39:35.840Z] [2021-01-28T08:39:35.840Z] Login Succeeded [2021-01-28T08:39:35.840Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T08:39:35.857Z] 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-28T08:39:36.690Z] + git log --format=format:%s -1 959b1dec2bdc5855b867e6815730988ac415055a [Pipeline] echo [2021-01-28T08:39:36.800Z] GIT_COMMIT: 959b1dec2bdc5855b867e6815730988ac415055a, Commit Message: refactor: leverage go-mod-core-contracts constants [Pipeline] echo [2021-01-28T08:39:36.844Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:39:37.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T08:39:37.860Z] [2021-01-28T08:39:37.860Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:39:38.254Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T08:39:38.254Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T08:39:38.254Z] 31603596830f: Pulling fs layer [2021-01-28T08:39:38.254Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T08:39:38.254Z] 6ca5941a6612: Pulling fs layer [2021-01-28T08:39:38.254Z] ecc8261a40a4: Pulling fs layer [2021-01-28T08:39:38.254Z] ecc8261a40a4: Waiting [2021-01-28T08:39:38.254Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T08:39:38.254Z] 2a8b12db71e7: Download complete [2021-01-28T08:39:38.560Z] 31603596830f: Download complete [2021-01-28T08:39:38.838Z] ecc8261a40a4: Verifying Checksum [2021-01-28T08:39:38.838Z] ecc8261a40a4: Download complete [2021-01-28T08:39:38.838Z] 6ca5941a6612: Verifying Checksum [2021-01-28T08:39:38.838Z] 6ca5941a6612: Download complete [2021-01-28T08:39:39.428Z] 31603596830f: Pull complete [2021-01-28T08:39:39.428Z] 2a8b12db71e7: Pull complete [2021-01-28T08:39:40.880Z] 6ca5941a6612: Pull complete [2021-01-28T08:39:41.506Z] ecc8261a40a4: Pull complete [2021-01-28T08:39:41.506Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T08:39:41.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T08:39:41.506Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T08:39:41.672Z] prd-centos7-docker-4c-2g-23717 does not seem to be running inside a container [2021-01-28T08:39:41.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@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-28T08:39:44.410Z] $ docker top 6aa51d08cabe2db9c3b7bb6ab95e170fea735d9f2e8def85d0f06e27aa829f28 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T08:39:44.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T08:39:44.774Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T08:39:45.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T08:39:45.097Z] $ docker exec 6aa51d08cabe2db9c3b7bb6ab95e170fea735d9f2e8def85d0f06e27aa829f28 ssh-agent [2021-01-28T08:39:45.361Z] SSH_AUTH_SOCK=/tmp/ssh-RjspHrNuoOo7/agent.11 [2021-01-28T08:39:45.361Z] SSH_AGENT_PID=16 [2021-01-28T08:39:45.374Z] Running ssh-add (command line suppressed) [2021-01-28T08:39:45.566Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_2352143138912821532.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_2352143138912821532.key) [2021-01-28T08:39:45.656Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T08:39:46.011Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T08:39:46.039Z] $ docker exec --env ******** --env ******** 6aa51d08cabe2db9c3b7bb6ab95e170fea735d9f2e8def85d0f06e27aa829f28 ssh-agent -k [2021-01-28T08:39:46.214Z] unset SSH_AUTH_SOCK; [2021-01-28T08:39:46.215Z] unset SSH_AGENT_PID; [2021-01-28T08:39:46.215Z] echo Agent pid 16 killed; [2021-01-28T08:39:46.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T08:39:46.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T08:39:46.440Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T08:39:46.673Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T08:39:46.678Z] $ docker exec 6aa51d08cabe2db9c3b7bb6ab95e170fea735d9f2e8def85d0f06e27aa829f28 ssh-agent [2021-01-28T08:39:46.923Z] SSH_AUTH_SOCK=/tmp/ssh-MiX5UQsRfjRG/agent.47 [2021-01-28T08:39:46.923Z] SSH_AGENT_PID=52 [2021-01-28T08:39:46.977Z] Running ssh-add (command line suppressed) [2021-01-28T08:39:47.235Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_242818842354420155.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_242818842354420155.key) [2021-01-28T08:39:47.355Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T08:39:48.125Z] + git semver init [2021-01-28T08:39:48.125Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T08:39:48.125Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.git [2021-01-28T08:39:48.125Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-763 [2021-01-28T08:39:48.125Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T08:39:48.125Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T08:39:48.125Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T08:39:48.125Z] # $SEMVER_BRANCH = PR-763 [2021-01-28T08:39:48.125Z] # $SEMVER_TEMP = /tmp/semver-348576660 [2021-01-28T08:39:48.125Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T08:39:49.136Z] # '/tmp/semver-348576660' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver' [2021-01-28T08:39:49.136Z] # -> Force: false [2021-01-28T08:39:49.136Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver [Pipeline] } [2021-01-28T08:39:49.164Z] $ docker exec --env ******** --env ******** 6aa51d08cabe2db9c3b7bb6ab95e170fea735d9f2e8def85d0f06e27aa829f28 ssh-agent -k [2021-01-28T08:39:49.392Z] unset SSH_AUTH_SOCK; [2021-01-28T08:39:49.394Z] unset SSH_AGENT_PID; [2021-01-28T08:39:49.394Z] echo Agent pid 52 killed; [2021-01-28T08:39:49.472Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T08:39:49.986Z] + git semver [Pipeline] } [2021-01-28T08:39:50.059Z] $ docker stop --time=1 6aa51d08cabe2db9c3b7bb6ab95e170fea735d9f2e8def85d0f06e27aa829f28 [2021-01-28T08:39:52.000Z] $ docker rm -f 6aa51d08cabe2db9c3b7bb6ab95e170fea735d9f2e8def85d0f06e27aa829f28 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T08:39:52.533Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T08:39:53.573Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T08:39:53.576Z] [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-28T08:40:09.123Z] Still waiting to schedule task [2021-01-28T08:40:09.123Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-28T08:40:09.126Z] Still waiting to schedule task [2021-01-28T08:40:09.126Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-28T08:41:53.700Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23718 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws [2021-01-28T08:41:53.812Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-01-28T08:41:58.871Z] using credential edgex-jenkins-ssh [2021-01-28T08:41:58.930Z] Cloning the remote Git repository [2021-01-28T08:41:58.986Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T08:41:59.098Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-01-28T08:41:59.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T08:41:59.175Z] > git --version # timeout=10 [2021-01-28T08:41:59.197Z] > git --version # 'git version 2.17.1' [2021-01-28T08:41:59.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T08:41:59.280Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T08:42:01.089Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 959b1dec2bdc5855b867e6815730988ac415055a [2021-01-28T08:42:01.343Z] Merge succeeded, producing 959b1dec2bdc5855b867e6815730988ac415055a [2021-01-28T08:42:01.344Z] Checking out Revision 959b1dec2bdc5855b867e6815730988ac415055a (PR-763) [2021-01-28T08:42:00.361Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T08:42:00.387Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T08:42:00.422Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T08:42:00.451Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T08:42:00.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T08:42:00.464Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T08:42:01.116Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T08:42:01.131Z] > git checkout -f 959b1dec2bdc5855b867e6815730988ac415055a # timeout=10 [2021-01-28T08:42:01.261Z] > git remote # timeout=10 [2021-01-28T08:42:01.278Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T08:42:01.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T08:42:01.307Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T08:42:01.330Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T08:42:01.350Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T08:42:01.420Z] > git checkout -f 959b1dec2bdc5855b867e6815730988ac415055a # timeout=10 [2021-01-28T08:42:05.783Z] Commit message: "refactor: leverage go-mod-core-contracts constants" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T08:42:07.461Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-28T08:42:07.876Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T08:42:08.226Z] + sudo service docker restart [2021-01-28T08:42:08.226Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T08:42:10.333Z] provisioning config files... [2021-01-28T08:42:10.377Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config5465639528455302648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T08:42:10.786Z] ---> docker-login.sh [2021-01-28T08:42:10.786Z] nexus3.edgexfoundry.org:10001 [2021-01-28T08:42:11.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:42:11.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:42:11.986Z] Configure a credential helper to remove this warning. See [2021-01-28T08:42:11.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:42:11.986Z] [2021-01-28T08:42:11.986Z] Login Succeeded [2021-01-28T08:42:11.986Z] nexus3.edgexfoundry.org:10002 [2021-01-28T08:42:12.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:42:12.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:42:12.535Z] Configure a credential helper to remove this warning. See [2021-01-28T08:42:12.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:42:12.535Z] [2021-01-28T08:42:12.535Z] Login Succeeded [2021-01-28T08:42:12.535Z] nexus3.edgexfoundry.org:10003 [2021-01-28T08:42:12.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:42:13.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:42:13.079Z] Configure a credential helper to remove this warning. See [2021-01-28T08:42:13.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:42:13.079Z] [2021-01-28T08:42:13.079Z] Login Succeeded [2021-01-28T08:42:13.079Z] nexus3.edgexfoundry.org:10004 [2021-01-28T08:42:13.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:42:13.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:42:13.622Z] Configure a credential helper to remove this warning. See [2021-01-28T08:42:13.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:42:13.622Z] [2021-01-28T08:42:13.622Z] Login Succeeded [2021-01-28T08:42:13.622Z] docker.io [2021-01-28T08:42:13.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:42:14.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:42:14.165Z] Configure a credential helper to remove this warning. See [2021-01-28T08:42:14.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:42:14.165Z] [2021-01-28T08:42:14.165Z] Login Succeeded [2021-01-28T08:42:14.165Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T08:42:14.182Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T08:42:14.666Z] ========================================================= [2021-01-28T08:42:14.666Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T08:42:14.666Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:42:15.046Z] + 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-28T08:42:15.325Z] Sending build context to Docker daemon 2.562MB [2021-01-28T08:42:15.607Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T08:42:15.607Z] Step 2/8 : FROM ${BASE} [2021-01-28T08:42:15.607Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T08:42:15.607Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T08:42:15.607Z] a4357932f1b6: Pulling fs layer [2021-01-28T08:42:15.607Z] 18c013af1878: Pulling fs layer [2021-01-28T08:42:15.607Z] 00ac8860ef70: Pulling fs layer [2021-01-28T08:42:15.607Z] 63d7cb157983: Pulling fs layer [2021-01-28T08:42:15.607Z] b116817d02f9: Pulling fs layer [2021-01-28T08:42:15.607Z] 745a02a5169b: Pulling fs layer [2021-01-28T08:42:15.607Z] 00ac8860ef70: Waiting [2021-01-28T08:42:15.607Z] 63d7cb157983: Waiting [2021-01-28T08:42:15.607Z] b116817d02f9: Waiting [2021-01-28T08:42:15.607Z] 745a02a5169b: Waiting [2021-01-28T08:42:15.607Z] 18c013af1878: Verifying Checksum [2021-01-28T08:42:15.607Z] 18c013af1878: Download complete [2021-01-28T08:42:15.607Z] a4357932f1b6: Verifying Checksum [2021-01-28T08:42:15.882Z] 63d7cb157983: Verifying Checksum [2021-01-28T08:42:15.882Z] 63d7cb157983: Download complete [2021-01-28T08:42:16.480Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T08:42:16.480Z] b116817d02f9: Verifying Checksum [2021-01-28T08:42:16.480Z] b116817d02f9: Download complete [2021-01-28T08:42:17.084Z] 5f621e34cdf4: Pull complete [2021-01-28T08:42:17.704Z] a4357932f1b6: Pull complete [2021-01-28T08:42:17.978Z] 18c013af1878: Pull complete [2021-01-28T08:42:18.978Z] 745a02a5169b: Verifying Checksum [2021-01-28T08:42:18.978Z] 745a02a5169b: Download complete [2021-01-28T08:42:19.973Z] 00ac8860ef70: Verifying Checksum [2021-01-28T08:42:19.973Z] 00ac8860ef70: Download complete [2021-01-28T08:42:30.159Z] 00ac8860ef70: Pull complete [2021-01-28T08:42:30.159Z] 63d7cb157983: Pull complete [2021-01-28T08:42:30.432Z] b116817d02f9: Pull complete [2021-01-28T08:42:34.762Z] 745a02a5169b: Pull complete [2021-01-28T08:42:34.762Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T08:42:34.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T08:42:34.762Z] ---> b7e6874047d6 [2021-01-28T08:42:34.762Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T08:42:35.415Z] Running on prd-centos7-docker-4c-2g-23719 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws [2021-01-28T08:42:35.476Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-01-28T08:42:37.393Z] ---> Running in c19de349077e [2021-01-28T08:42:37.393Z] Removing intermediate container c19de349077e [2021-01-28T08:42:37.393Z] ---> 48517f9478d1 [2021-01-28T08:42:37.393Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T08:42:37.667Z] ---> Running in 166f85a5f4b2 [2021-01-28T08:42:37.742Z] using credential edgex-jenkins-ssh [2021-01-28T08:42:37.797Z] Cloning the remote Git repository [2021-01-28T08:42:37.453Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T08:42:37.521Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-01-28T08:42:37.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T08:42:37.589Z] > git --version # timeout=10 [2021-01-28T08:42:37.595Z] > git --version # 'git version 2.24.3' [2021-01-28T08:42:37.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T08:42:37.622Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T08:42:38.411Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T08:42:38.420Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T08:42:38.437Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T08:42:38.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T08:42:38.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T08:42:38.454Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T08:42:39.257Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 959b1dec2bdc5855b867e6815730988ac415055a [2021-01-28T08:42:39.350Z] Merge succeeded, producing 959b1dec2bdc5855b867e6815730988ac415055a [2021-01-28T08:42:39.351Z] Checking out Revision 959b1dec2bdc5855b867e6815730988ac415055a (PR-763) [2021-01-28T08:42:39.013Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T08:42:39.018Z] > git checkout -f 959b1dec2bdc5855b867e6815730988ac415055a # timeout=10 [2021-01-28T08:42:39.074Z] > git remote # timeout=10 [2021-01-28T08:42:39.080Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T08:42:39.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T08:42:39.089Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T08:42:39.099Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T08:42:39.109Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T08:42:39.113Z] > git checkout -f 959b1dec2bdc5855b867e6815730988ac415055a # timeout=10 [2021-01-28T08:42:40.286Z] Removing intermediate container 166f85a5f4b2 [2021-01-28T08:42:40.287Z] ---> 2ab7600b971e [2021-01-28T08:42:40.287Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T08:42:40.287Z] ---> Running in 33909c127520 [2021-01-28T08:42:41.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T08:42:41.858Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T08:42:42.820Z] Commit message: "refactor: leverage go-mod-core-contracts constants" [2021-01-28T08:42:42.833Z] OK: 142 MiB in 39 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T08:42:43.841Z] Removing intermediate container 33909c127520 [2021-01-28T08:42:43.842Z] ---> 45a17cf64066 [2021-01-28T08:42:43.842Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T08:42:44.044Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T08:42:44.115Z] ---> Running in aa2891fe79bf [2021-01-28T08:42:44.384Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2021-01-28T08:42:44.388Z] Removing intermediate container aa2891fe79bf [2021-01-28T08:42:44.388Z] ---> d89c7b60de96 [2021-01-28T08:42:44.388Z] Step 7/8 : COPY . . [Pipeline] sh [2021-01-28T08:42:44.680Z] + sudo service docker restart [2021-01-28T08:42:44.680Z] + true [2021-01-28T08:42:44.680Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T08:42:45.693Z] provisioning config files... [2021-01-28T08:42:45.724Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config6957104026259170711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T08:42:45.827Z] ---> 2223582ef0aa [2021-01-28T08:42:45.827Z] Step 8/8 : RUN go mod download [2021-01-28T08:42:46.107Z] ---> docker-login.sh [2021-01-28T08:42:46.107Z] nexus3.edgexfoundry.org:10001 [2021-01-28T08:42:46.113Z] ---> Running in 62ed34d0a795 [2021-01-28T08:42:46.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:42:46.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:42:46.370Z] Configure a credential helper to remove this warning. See [2021-01-28T08:42:46.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:42:46.370Z] [2021-01-28T08:42:46.370Z] Login Succeeded [2021-01-28T08:42:46.370Z] nexus3.edgexfoundry.org:10002 [2021-01-28T08:42:46.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:42:46.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:42:46.640Z] Configure a credential helper to remove this warning. See [2021-01-28T08:42:46.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:42:46.640Z] [2021-01-28T08:42:46.640Z] Login Succeeded [2021-01-28T08:42:46.640Z] nexus3.edgexfoundry.org:10003 [2021-01-28T08:42:46.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:42:46.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:42:46.640Z] Configure a credential helper to remove this warning. See [2021-01-28T08:42:46.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:42:46.640Z] [2021-01-28T08:42:46.640Z] Login Succeeded [2021-01-28T08:42:46.640Z] nexus3.edgexfoundry.org:10004 [2021-01-28T08:42:46.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:42:46.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:42:46.902Z] Configure a credential helper to remove this warning. See [2021-01-28T08:42:46.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:42:46.902Z] [2021-01-28T08:42:46.902Z] Login Succeeded [2021-01-28T08:42:46.902Z] docker.io [2021-01-28T08:42:47.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T08:42:47.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T08:42:47.428Z] Configure a credential helper to remove this warning. See [2021-01-28T08:42:47.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T08:42:47.428Z] [2021-01-28T08:42:47.428Z] Login Succeeded [2021-01-28T08:42:47.428Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T08:42:47.437Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T08:42:47.831Z] ========================================================= [2021-01-28T08:42:47.832Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T08:42:47.832Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:42:48.178Z] + 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-28T08:42:48.178Z] Sending build context to Docker daemon 2.563MB [2021-01-28T08:42:48.178Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T08:42:48.178Z] Step 2/8 : FROM ${BASE} [2021-01-28T08:42:48.178Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T08:42:48.178Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T08:42:48.178Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T08:42:48.178Z] de9db76c5a1d: Pulling fs layer [2021-01-28T08:42:48.178Z] bca2f99d35d6: Pulling fs layer [2021-01-28T08:42:48.178Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T08:42:48.178Z] 7c6f9722023f: Pulling fs layer [2021-01-28T08:42:48.178Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T08:42:48.178Z] 93359f2a8cfa: Waiting [2021-01-28T08:42:48.178Z] bca2f99d35d6: Waiting [2021-01-28T08:42:48.178Z] 7c6f9722023f: Waiting [2021-01-28T08:42:48.440Z] de9db76c5a1d: Verifying Checksum [2021-01-28T08:42:48.440Z] de9db76c5a1d: Download complete [2021-01-28T08:42:48.440Z] 0ef7d3d256c8: Verifying Checksum [2021-01-28T08:42:48.440Z] 0ef7d3d256c8: Download complete [2021-01-28T08:42:48.440Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T08:42:48.440Z] 93359f2a8cfa: Download complete [2021-01-28T08:42:48.440Z] 188c0c94c7c5: Download complete [2021-01-28T08:42:48.440Z] 7c6f9722023f: Verifying Checksum [2021-01-28T08:42:48.440Z] 7c6f9722023f: Download complete [2021-01-28T08:42:48.702Z] 188c0c94c7c5: Pull complete [2021-01-28T08:42:48.702Z] 0ef7d3d256c8: Pull complete [2021-01-28T08:42:48.966Z] de9db76c5a1d: Pull complete [2021-01-28T08:42:51.524Z] a35cf1a2eb13: Verifying Checksum [2021-01-28T08:42:51.524Z] a35cf1a2eb13: Download complete [2021-01-28T08:42:52.105Z] bca2f99d35d6: Verifying Checksum [2021-01-28T08:42:52.105Z] bca2f99d35d6: Download complete [2021-01-28T08:42:57.455Z] bca2f99d35d6: Pull complete [2021-01-28T08:42:57.455Z] 93359f2a8cfa: Pull complete [2021-01-28T08:42:57.455Z] 7c6f9722023f: Pull complete [2021-01-28T08:43:07.521Z] a35cf1a2eb13: Pull complete [2021-01-28T08:43:07.521Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T08:43:07.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T08:43:07.521Z] ---> a62c8e92a672 [2021-01-28T08:43:07.521Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T08:43:07.521Z] ---> Running in bf2ee7ff249a [2021-01-28T08:43:07.521Z] Removing intermediate container bf2ee7ff249a [2021-01-28T08:43:07.521Z] ---> 7c3af2de0543 [2021-01-28T08:43:07.521Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T08:43:07.521Z] ---> Running in 608b926b921a [2021-01-28T08:43:07.788Z] Removing intermediate container 608b926b921a [2021-01-28T08:43:07.788Z] ---> 49053044fe8f [2021-01-28T08:43:07.788Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T08:43:08.052Z] ---> Running in f29b85773c9b [2021-01-28T08:43:08.289Z] Removing intermediate container 62ed34d0a795 [2021-01-28T08:43:08.289Z] ---> cb230e8f32bd [2021-01-28T08:43:08.289Z] Successfully built cb230e8f32bd [2021-01-28T08:43:08.289Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:43:08.319Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T08:43:08.633Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T08:43:08.633Z] . [Pipeline] withDockerContainer [2021-01-28T08:43:08.913Z] prd-ubuntu18.04-docker-arm64-4c-16g-23718 does not seem to be running inside a container [2021-01-28T08:43:09.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T08:43:09.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T08:43:09.534Z] OK: 166 MiB in 39 packages [2021-01-28T08:43:10.112Z] Removing intermediate container f29b85773c9b [2021-01-28T08:43:10.112Z] ---> a1de96cfef20 [2021-01-28T08:43:10.112Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T08:43:10.112Z] ---> Running in 5346978b6252 [2021-01-28T08:43:10.112Z] Removing intermediate container 5346978b6252 [2021-01-28T08:43:10.112Z] ---> bf464a78a99c [2021-01-28T08:43:10.112Z] Step 7/8 : COPY . . [2021-01-28T08:43:10.511Z] $ docker top 9525b82f1c8323bb68547f773d0f14cb5406dc25d9070dcc17cf3cef673ae8df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T08:43:11.511Z] ---> a4649d4ed459 [2021-01-28T08:43:11.511Z] Step 8/8 : RUN go mod download [2021-01-28T08:43:11.511Z] ---> Running in 6a31b1082bff [2021-01-28T08:43:11.543Z] + go version [2021-01-28T08:43:11.543Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T08:43:11.574Z] $ docker stop --time=1 9525b82f1c8323bb68547f773d0f14cb5406dc25d9070dcc17cf3cef673ae8df [2021-01-28T08:43:13.476Z] $ docker rm -f 9525b82f1c8323bb68547f773d0f14cb5406dc25d9070dcc17cf3cef673ae8df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:43:14.513Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T08:43:14.513Z] . [Pipeline] withDockerContainer [2021-01-28T08:43:14.777Z] prd-ubuntu18.04-docker-arm64-4c-16g-23718 does not seem to be running inside a container [2021-01-28T08:43:14.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T08:43:16.378Z] $ docker top e0bf53fcf2ad77a545c9ec776e2e462e6f6c4e84e78ceac073b39f97ca70c43d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T08:43:17.404Z] + make test [2021-01-28T08:43:17.404Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T08:43:33.550Z] Removing intermediate container 6a31b1082bff [2021-01-28T08:43:33.550Z] ---> 20d3f7533bbd [2021-01-28T08:43:33.550Z] Successfully built 20d3f7533bbd [2021-01-28T08:43:33.550Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:43:33.923Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T08:43:33.923Z] . [Pipeline] withDockerContainer [2021-01-28T08:43:34.209Z] prd-centos7-docker-4c-2g-23719 does not seem to be running inside a container [2021-01-28T08:43:34.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T08:43:35.113Z] $ docker top e4867537035ac2167a83272b2f5a0d51eca91844d23843c645957c0a475a87b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T08:43:35.619Z] + go version [2021-01-28T08:43:35.619Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T08:43:35.636Z] $ docker stop --time=1 e4867537035ac2167a83272b2f5a0d51eca91844d23843c645957c0a475a87b4 [2021-01-28T08:43:37.006Z] $ docker rm -f e4867537035ac2167a83272b2f5a0d51eca91844d23843c645957c0a475a87b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:43:37.877Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T08:43:37.877Z] . [Pipeline] withDockerContainer [2021-01-28T08:43:37.976Z] prd-centos7-docker-4c-2g-23719 does not seem to be running inside a container [2021-01-28T08:43:38.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T08:43:38.632Z] $ docker top bf906b50413ad491059ac37da2d0ae6d86fde0b237d4a2e95b44af2e8294563c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T08:43:39.118Z] + make test [2021-01-28T08:43:39.118Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T08:43:39.600Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T08:43:45.769Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T08:44:00.786Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T08:44:00.786Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T08:44:00.786Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T08:44:00.786Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 19.4% of statements [2021-01-28T08:44:05.048Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.461s coverage: 97.1% of statements [2021-01-28T08:44:18.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T08:44:18.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T08:44:18.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T08:44:19.625Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.183s coverage: 19.4% of statements [2021-01-28T08:44:26.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.165s coverage: 97.1% of statements [2021-01-28T08:44:31.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.053s coverage: 9.4% of statements [2021-01-28T08:44:31.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.064s coverage: 21.7% of statements [2021-01-28T08:44:31.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T08:44:31.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.235s coverage: 43.6% of statements [2021-01-28T08:44:31.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T08:44:31.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.275s coverage: 68.9% of statements [2021-01-28T08:44:31.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T08:44:31.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T08:44:31.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T08:44:31.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T08:44:31.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.065s coverage: 53.8% of statements [2021-01-28T08:44:31.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T08:44:31.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T08:44:31.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.078s coverage: 25.2% of statements [2021-01-28T08:44:31.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.325s coverage: 83.5% of statements [2021-01-28T08:44:31.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements [2021-01-28T08:44:31.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T08:44:31.686Z] GO111MODULE=on go vet ./... [2021-01-28T08:44:44.067Z] gofmt -l . [2021-01-28T08:44:44.067Z] [ "`gofmt -l .`" = "" ] [2021-01-28T08:44:44.067Z] ./bin/test-attribution-txt.sh [2021-01-28T08:44:44.067Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T08:44:44.090Z] $ docker stop --time=1 bf906b50413ad491059ac37da2d0ae6d86fde0b237d4a2e95b44af2e8294563c [2021-01-28T08:44:46.063Z] $ docker rm -f bf906b50413ad491059ac37da2d0ae6d86fde0b237d4a2e95b44af2e8294563c [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T08:44:46.821Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T08:44:47.234Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T08:44:49.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T08:44:50.185Z] + ls -al . [2021-01-28T08:44:50.185Z] total 216 [2021-01-28T08:44:50.185Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 08:44 . [2021-01-28T08:44:50.185Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 08:42 .. [2021-01-28T08:44:50.185Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 08:42 bin [2021-01-28T08:44:50.185Z] -rw-r--r--. 1 jenkins jenkins 137332 Jan 28 08:44 coverage.out [2021-01-28T08:44:50.185Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 08:42 Dockerfile.build [2021-01-28T08:44:50.185Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 08:42 .dockerignore [2021-01-28T08:44:50.185Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 08:42 example [2021-01-28T08:44:50.185Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 08:42 .git [2021-01-28T08:44:50.185Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 08:42 .github [2021-01-28T08:44:50.185Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 08:42 .gitignore [2021-01-28T08:44:50.185Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 28 08:44 go.mod [2021-01-28T08:44:50.185Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 28 08:44 go.sum [2021-01-28T08:44:50.185Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 08:42 internal [2021-01-28T08:44:50.185Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 08:42 Jenkinsfile [2021-01-28T08:44:50.185Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 08:42 LICENSE [2021-01-28T08:44:50.185Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 08:42 Makefile [2021-01-28T08:44:50.185Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 08:42 openapi [2021-01-28T08:44:50.185Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 08:42 pkg [2021-01-28T08:44:50.185Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 08:42 README.md [2021-01-28T08:44:50.185Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 08:42 RELEASE-NOTES.txt [2021-01-28T08:44:50.185Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 08:42 snap [2021-01-28T08:44:50.185Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 08:39 VERSION [2021-01-28T08:44:50.185Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 08:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:44:50.496Z] + 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=959b1dec2bdc5855b867e6815730988ac415055a --label arch=amd64 --label version=0.0.0 . [2021-01-28T08:44:50.761Z] Sending build context to Docker daemon 2.701MB [2021-01-28T08:44:50.761Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T08:44:50.761Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T08:44:50.761Z] ---> 20d3f7533bbd [2021-01-28T08:44:50.761Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T08:44:51.337Z] ---> Running in 26f25f261a4d [2021-01-28T08:44:51.600Z] Removing intermediate container 26f25f261a4d [2021-01-28T08:44:51.600Z] ---> dd1a24db688c [2021-01-28T08:44:51.600Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T08:44:51.600Z] ---> Running in 40dca0c97512 [2021-01-28T08:44:51.864Z] Removing intermediate container 40dca0c97512 [2021-01-28T08:44:51.864Z] ---> 4024d53d8041 [2021-01-28T08:44:51.864Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T08:44:51.864Z] ---> Running in e23b62b0104a [2021-01-28T08:44:52.126Z] Removing intermediate container e23b62b0104a [2021-01-28T08:44:52.126Z] ---> 516d46d5c0b7 [2021-01-28T08:44:52.126Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T08:44:52.126Z] ---> Running in b06774791231 [2021-01-28T08:44:53.077Z] Removing intermediate container b06774791231 [2021-01-28T08:44:53.077Z] ---> 2ccba812261e [2021-01-28T08:44:53.077Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T08:44:53.077Z] ---> Running in 5d26e365569a [2021-01-28T08:44:53.195Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.187s coverage: 9.4% of statements [2021-01-28T08:44:53.195Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.136s coverage: 21.7% of statements [2021-01-28T08:44:53.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T08:44:53.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.586s coverage: 43.6% of statements [2021-01-28T08:44:53.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T08:44:53.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.732s coverage: 68.9% of statements [2021-01-28T08:44:53.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T08:44:53.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T08:44:53.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T08:44:53.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T08:44:53.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 53.8% of statements [2021-01-28T08:44:53.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T08:44:53.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T08:44:53.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.180s coverage: 25.2% of statements [2021-01-28T08:44:53.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.965s coverage: 83.5% of statements [2021-01-28T08:44:53.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements [2021-01-28T08:44:53.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T08:44:53.196Z] GO111MODULE=on go vet ./... [2021-01-28T08:44:53.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T08:44:54.227Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T08:44:54.802Z] OK: 166 MiB in 39 packages [2021-01-28T08:44:55.067Z] Removing intermediate container 5d26e365569a [2021-01-28T08:44:55.067Z] ---> 8950fc03c863 [2021-01-28T08:44:55.067Z] Step 8/24 : COPY . . [2021-01-28T08:44:56.461Z] ---> fbccdc15c052 [2021-01-28T08:44:56.461Z] Step 9/24 : RUN ${MAKE} [2021-01-28T08:44:56.461Z] ---> Running in 5c5add091079 [2021-01-28T08:44:56.733Z] 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-28T08:45:04.979Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T08:45:07.536Z] Removing intermediate container 5c5add091079 [2021-01-28T08:45:07.536Z] ---> 83279fe2455a [2021-01-28T08:45:07.536Z] Step 10/24 : FROM scratch [2021-01-28T08:45:07.536Z] ---> [2021-01-28T08:45:07.536Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T08:45:07.536Z] ---> Running in 78cb3ccdcd71 [2021-01-28T08:45:07.536Z] Removing intermediate container 78cb3ccdcd71 [2021-01-28T08:45:07.536Z] ---> f8ff17828ee5 [2021-01-28T08:45:07.536Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T08:45:07.536Z] ---> Running in 3af80840c791 [2021-01-28T08:45:07.536Z] Removing intermediate container 3af80840c791 [2021-01-28T08:45:07.536Z] ---> 26c5df9bbbf7 [2021-01-28T08:45:07.536Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T08:45:07.536Z] ---> Running in ef034d847f63 [2021-01-28T08:45:07.798Z] Removing intermediate container ef034d847f63 [2021-01-28T08:45:07.798Z] ---> 6437c4aabfd4 [2021-01-28T08:45:07.798Z] Step 14/24 : WORKDIR / [2021-01-28T08:45:07.798Z] ---> Running in 39c3a9f4e5dd [2021-01-28T08:45:07.798Z] Removing intermediate container 39c3a9f4e5dd [2021-01-28T08:45:07.798Z] ---> fc63a0db7f20 [2021-01-28T08:45:07.798Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T08:45:08.373Z] ---> 12352c476566 [2021-01-28T08:45:08.373Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T08:45:08.636Z] ---> beccf0635f6b [2021-01-28T08:45:08.636Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T08:45:08.900Z] ---> 4a871c3f8350 [2021-01-28T08:45:08.900Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T08:45:09.165Z] ---> 0ef7e494539b [2021-01-28T08:45:09.165Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T08:45:09.429Z] ---> b7b43cc25c1c [2021-01-28T08:45:09.429Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T08:45:09.429Z] ---> Running in cc6e681ff933 [2021-01-28T08:45:09.429Z] Removing intermediate container cc6e681ff933 [2021-01-28T08:45:09.429Z] ---> 3c6ef305a5ce [2021-01-28T08:45:09.429Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T08:45:09.691Z] ---> Running in e9e6e6e22c73 [2021-01-28T08:45:09.691Z] Removing intermediate container e9e6e6e22c73 [2021-01-28T08:45:09.691Z] ---> da9e0f55c919 [2021-01-28T08:45:09.691Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T08:45:09.954Z] ---> Running in cbe66738505a [2021-01-28T08:45:09.954Z] Removing intermediate container cbe66738505a [2021-01-28T08:45:09.954Z] ---> 92fe686c0a10 [2021-01-28T08:45:09.954Z] Step 23/24 : LABEL git_sha=959b1dec2bdc5855b867e6815730988ac415055a [2021-01-28T08:45:09.954Z] ---> Running in 4ee7382c381c [2021-01-28T08:45:10.220Z] Removing intermediate container 4ee7382c381c [2021-01-28T08:45:10.220Z] ---> ce0f128c3ed7 [2021-01-28T08:45:10.220Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T08:45:10.220Z] ---> Running in 730e57331f70 [2021-01-28T08:45:10.483Z] Removing intermediate container 730e57331f70 [2021-01-28T08:45:10.483Z] ---> 4f2a55fa2e9b [2021-01-28T08:45:10.483Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T08:45:10.483Z] Successfully built 4f2a55fa2e9b [2021-01-28T08:45:10.483Z] 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-28T08:45:25.588Z] gofmt -l . [2021-01-28T08:45:25.862Z] [ "`gofmt -l .`" = "" ] [2021-01-28T08:45:26.455Z] ./bin/test-attribution-txt.sh [2021-01-28T08:45:27.432Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T08:45:27.732Z] $ docker stop --time=1 e0bf53fcf2ad77a545c9ec776e2e462e6f6c4e84e78ceac073b39f97ca70c43d [2021-01-28T08:45:29.974Z] $ docker rm -f e0bf53fcf2ad77a545c9ec776e2e462e6f6c4e84e78ceac073b39f97ca70c43d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T08:45:31.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T08:45:31.133Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T08:45:32.079Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T08:45:32.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T08:45:33.188Z] + ls -al . [2021-01-28T08:45:33.188Z] total 252 [2021-01-28T08:45:33.188Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 08:45 . [2021-01-28T08:45:33.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 08:41 .. [2021-01-28T08:45:33.188Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 08:42 .dockerignore [2021-01-28T08:45:33.188Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 08:42 .git [2021-01-28T08:45:33.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 08:42 .github [2021-01-28T08:45:33.188Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 08:42 .gitignore [2021-01-28T08:45:33.188Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 08:42 Dockerfile.build [2021-01-28T08:45:33.188Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 08:42 Jenkinsfile [2021-01-28T08:45:33.188Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 08:42 LICENSE [2021-01-28T08:45:33.188Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 08:42 Makefile [2021-01-28T08:45:33.188Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 08:42 README.md [2021-01-28T08:45:33.188Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 08:42 RELEASE-NOTES.txt [2021-01-28T08:45:33.188Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 08:39 VERSION [2021-01-28T08:45:33.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 08:42 bin [2021-01-28T08:45:33.188Z] -rw-r--r-- 1 jenkins jenkins 137332 Jan 28 08:44 coverage.out [2021-01-28T08:45:33.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 08:42 example [2021-01-28T08:45:33.188Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 28 08:45 go.mod [2021-01-28T08:45:33.188Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 28 08:45 go.sum [2021-01-28T08:45:33.188Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 08:42 internal [2021-01-28T08:45:33.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 08:42 openapi [2021-01-28T08:45:33.188Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 08:42 pkg [2021-01-28T08:45:33.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 08:42 snap [2021-01-28T08:45:33.188Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 08:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:45:33.559Z] + 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=959b1dec2bdc5855b867e6815730988ac415055a --label arch=arm64 --label version=0.0.0 . [2021-01-28T08:45:34.176Z] Sending build context to Docker daemon 2.7MB [2021-01-28T08:45:34.176Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T08:45:34.176Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T08:45:34.176Z] ---> cb230e8f32bd [2021-01-28T08:45:34.176Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T08:45:34.458Z] ---> Running in 38b4c664ec3b [2021-01-28T08:45:35.061Z] Removing intermediate container 38b4c664ec3b [2021-01-28T08:45:35.061Z] ---> 90a3354b6a36 [2021-01-28T08:45:35.061Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T08:45:35.061Z] ---> Running in 9e99b8320345 [2021-01-28T08:45:35.659Z] Removing intermediate container 9e99b8320345 [2021-01-28T08:45:35.659Z] ---> 0b4ce3896cf5 [2021-01-28T08:45:35.659Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T08:45:35.659Z] ---> Running in 25c6df4f98e5 [2021-01-28T08:45:36.254Z] Removing intermediate container 25c6df4f98e5 [2021-01-28T08:45:36.254Z] ---> 98fb9eaace46 [2021-01-28T08:45:36.254Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T08:45:36.254Z] ---> Running in 033b2dd7eead [2021-01-28T08:45:38.888Z] Removing intermediate container 033b2dd7eead [2021-01-28T08:45:38.888Z] ---> 87edbdeb1b6c [2021-01-28T08:45:38.888Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T08:45:38.888Z] ---> Running in 63f0449ec153 [2021-01-28T08:45:39.858Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T08:45:40.447Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T08:45:41.037Z] OK: 142 MiB in 39 packages [2021-01-28T08:45:42.010Z] Removing intermediate container 63f0449ec153 [2021-01-28T08:45:42.010Z] ---> 05c727bd3f01 [2021-01-28T08:45:42.010Z] Step 8/24 : COPY . . [2021-01-28T08:45:43.439Z] ---> e8d7789391d0 [2021-01-28T08:45:43.439Z] Step 9/24 : RUN ${MAKE} [2021-01-28T08:45:43.439Z] ---> Running in d48cfac604e9 [2021-01-28T08:45:44.421Z] 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-28T08:46:11.218Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T08:46:11.489Z] Removing intermediate container d48cfac604e9 [2021-01-28T08:46:11.489Z] ---> 934bba5fd201 [2021-01-28T08:46:11.489Z] Step 10/24 : FROM scratch [2021-01-28T08:46:11.489Z] ---> [2021-01-28T08:46:11.489Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T08:46:11.489Z] ---> Running in a4289bcc3b3c [2021-01-28T08:46:12.083Z] Removing intermediate container a4289bcc3b3c [2021-01-28T08:46:12.083Z] ---> 4b33b1bb3e24 [2021-01-28T08:46:12.083Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T08:46:12.083Z] ---> Running in ff5899fb2dce [2021-01-28T08:46:12.676Z] Removing intermediate container ff5899fb2dce [2021-01-28T08:46:12.676Z] ---> b78560eb2bd2 [2021-01-28T08:46:12.676Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T08:46:12.676Z] ---> Running in efdc305f9b19 [2021-01-28T08:46:13.267Z] Removing intermediate container efdc305f9b19 [2021-01-28T08:46:13.267Z] ---> 66fdac600a9d [2021-01-28T08:46:13.267Z] Step 14/24 : WORKDIR / [2021-01-28T08:46:13.267Z] ---> Running in e4324c20c6e0 [2021-01-28T08:46:13.547Z] Removing intermediate container e4324c20c6e0 [2021-01-28T08:46:13.547Z] ---> 59d6d46c4240 [2021-01-28T08:46:13.547Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T08:46:14.976Z] ---> 80ff6a57d9bb [2021-01-28T08:46:14.976Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T08:46:15.604Z] ---> b56427d4cd56 [2021-01-28T08:46:15.604Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T08:46:16.199Z] ---> 8362ab218507 [2021-01-28T08:46:16.199Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T08:46:16.794Z] ---> 78e5af3da73c [2021-01-28T08:46:16.794Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T08:46:17.768Z] ---> c74447af4aa8 [2021-01-28T08:46:17.768Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T08:46:17.768Z] ---> Running in 7c55b3804320 [2021-01-28T08:46:18.360Z] Removing intermediate container 7c55b3804320 [2021-01-28T08:46:18.360Z] ---> f45cd1e73a15 [2021-01-28T08:46:18.360Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T08:46:18.360Z] ---> Running in 49cc819d3c61 [2021-01-28T08:46:18.956Z] Removing intermediate container 49cc819d3c61 [2021-01-28T08:46:18.956Z] ---> 27aae72d828a [2021-01-28T08:46:18.956Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T08:46:18.956Z] ---> Running in e95f0aabbee8 [2021-01-28T08:46:19.549Z] Removing intermediate container e95f0aabbee8 [2021-01-28T08:46:19.549Z] ---> f98476433fc9 [2021-01-28T08:46:19.549Z] Step 23/24 : LABEL git_sha=959b1dec2bdc5855b867e6815730988ac415055a [2021-01-28T08:46:19.549Z] ---> Running in ddd1593606d2 [2021-01-28T08:46:20.142Z] Removing intermediate container ddd1593606d2 [2021-01-28T08:46:20.142Z] ---> bf617df29a4f [2021-01-28T08:46:20.142Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T08:46:20.142Z] ---> Running in a522cbd7ad25 [2021-01-28T08:46:20.735Z] Removing intermediate container a522cbd7ad25 [2021-01-28T08:46:20.735Z] ---> 9c9c2fb0931c [2021-01-28T08:46:20.735Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T08:46:20.735Z] Successfully built 9c9c2fb0931c [2021-01-28T08:46:20.735Z] 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-28T08:46:22.567Z] provisioning config files... [2021-01-28T08:46:22.587Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config5522853733803380389tmp [Pipeline] { [Pipeline] sh [2021-01-28T08:46:23.056Z] + set +x [2021-01-28T08:46:23.056Z] + curl -s https://codecov.io/bash [2021-01-28T08:46:23.056Z] + bash -s -- [2021-01-28T08:46:23.346Z] [2021-01-28T08:46:23.346Z] _____ _ [2021-01-28T08:46:23.346Z] / ____| | | [2021-01-28T08:46:23.346Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T08:46:23.346Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T08:46:23.346Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T08:46:23.346Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T08:46:23.346Z] Bash-20210128-d4071a2 [2021-01-28T08:46:23.346Z] [2021-01-28T08:46:23.346Z] [2021-01-28T08:46:23.346Z] ==> git version 2.24.3 found [2021-01-28T08:46:23.346Z] ==> 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-28T08:46:23.346Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T08:46:23.346Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T08:46:23.346Z] ==> Jenkins CI detected. [2021-01-28T08:46:23.346Z] project root: . [2021-01-28T08:46:23.346Z] --> token set from env [2021-01-28T08:46:23.346Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T08:46:23.633Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T08:46:23.633Z] ==> Python coveragepy not found [2021-01-28T08:46:23.633Z] ==> Searching for coverage reports in: [2021-01-28T08:46:23.633Z] + . [2021-01-28T08:46:23.633Z] -> Found 1 reports [2021-01-28T08:46:23.633Z] ==> Detecting git/mercurial file structure [2021-01-28T08:46:23.633Z] ==> Reading reports [2021-01-28T08:46:23.633Z] + ./coverage.out bytes=137332 [2021-01-28T08:46:23.633Z] ==> Appending adjustments [2021-01-28T08:46:23.633Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T08:46:24.635Z] + Found adjustments [2021-01-28T08:46:24.635Z] ==> Gzipping contents [2021-01-28T08:46:24.635Z] 24K /tmp/codecov.Goku9q.gz [2021-01-28T08:46:24.635Z] ==> Uploading reports [2021-01-28T08:46:24.635Z] url: https://codecov.io [2021-01-28T08:46:24.635Z] query: branch=PR-763&commit=959b1dec2bdc5855b867e6815730988ac415055a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= [2021-01-28T08:46:24.635Z] -> Pinging Codecov [2021-01-28T08:46:24.635Z] https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-763&commit=959b1dec2bdc5855b867e6815730988ac415055a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= [2021-01-28T08:46:25.233Z] -> Uploading to [2021-01-28T08:46:25.233Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/959b1dec2bdc5855b867e6815730988ac415055a/d52ff746-6f29-4b85-967e-c85f0ac887be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T084624Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2dcf1c62dda1fa861b6195acb16f4f65c70a594276a481d81729adb54b35b85b [2021-01-28T08:46:25.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T08:46:25.233Z] Dload Upload Total Spent Left Speed [2021-01-28T08:46:25.785Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21656 0 0 100 21656 0 42653 --:--:-- --:--:-- --:--:-- 42629 [2021-01-28T08:46:25.785Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/959b1dec2bdc5855b867e6815730988ac415055a [Pipeline] } [2021-01-28T08:46:25.802Z] 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-28T08:46:28.393Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T08:46:28.998Z] ---> package-listing.sh [2021-01-28T08:46:28.998Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T08:46:28.998Z] ++ facter osfamily [2021-01-28T08:46:29.267Z] + OS_FAMILY=redhat [2021-01-28T08:46:29.267Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-763 [2021-01-28T08:46:29.267Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T08:46:29.267Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T08:46:29.267Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T08:46:29.267Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T08:46:29.267Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' [2021-01-28T08:46:29.267Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T08:46:29.267Z] + case "${OS_FAMILY}" in [2021-01-28T08:46:29.267Z] + rpm -qa [2021-01-28T08:46:29.267Z] + sort [2021-01-28T08:46:36.038Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T08:46:36.038Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T08:46:36.038Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T08:46:36.038Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' [2021-01-28T08:46:36.038Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [2021-01-28T08:46:36.038Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [Pipeline] echo [2021-01-28T08:46:36.052Z] 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-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-28T08:46:36.375Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:46:36.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T08:46:36.978Z] [2021-01-28T08:46:36.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T08:46:37.341Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T08:46:37.341Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T08:46:37.341Z] df20fa9351a1: Pulling fs layer [2021-01-28T08:46:37.341Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T08:46:37.341Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T08:46:37.341Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T08:46:37.341Z] 93b61091891f: Pulling fs layer [2021-01-28T08:46:37.341Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T08:46:37.341Z] 5e14af77c1be: Pulling fs layer [2021-01-28T08:46:37.341Z] 01666e4c0597: Pulling fs layer [2021-01-28T08:46:37.341Z] aa168da1d23b: Pulling fs layer [2021-01-28T08:46:37.341Z] 93b9cdb0e59b: Waiting [2021-01-28T08:46:37.341Z] 5e14af77c1be: Waiting [2021-01-28T08:46:37.341Z] 01666e4c0597: Waiting [2021-01-28T08:46:37.341Z] aa168da1d23b: Waiting [2021-01-28T08:46:37.341Z] 46f8f816bc3b: Waiting [2021-01-28T08:46:37.341Z] 93b61091891f: Waiting [2021-01-28T08:46:37.610Z] 36b3adc4ff6f: Verifying Checksum [2021-01-28T08:46:37.610Z] 36b3adc4ff6f: Download complete [2021-01-28T08:46:37.610Z] 46f8f816bc3b: Download complete [2021-01-28T08:46:37.610Z] df20fa9351a1: Verifying Checksum [2021-01-28T08:46:37.610Z] df20fa9351a1: Download complete [2021-01-28T08:46:37.610Z] 93b9cdb0e59b: Download complete [2021-01-28T08:46:37.610Z] 93b61091891f: Verifying Checksum [2021-01-28T08:46:37.610Z] 93b61091891f: Download complete [2021-01-28T08:46:37.883Z] 5e14af77c1be: Verifying Checksum [2021-01-28T08:46:37.883Z] 5e14af77c1be: Download complete [2021-01-28T08:46:37.883Z] 01666e4c0597: Verifying Checksum [2021-01-28T08:46:37.883Z] 01666e4c0597: Download complete [2021-01-28T08:46:38.495Z] df20fa9351a1: Pull complete [2021-01-28T08:46:38.780Z] 8ad3a11d3b57: Verifying Checksum [2021-01-28T08:46:38.780Z] 8ad3a11d3b57: Download complete [2021-01-28T08:46:39.057Z] 36b3adc4ff6f: Pull complete [2021-01-28T08:46:41.127Z] 8ad3a11d3b57: Pull complete [2021-01-28T08:46:41.127Z] 46f8f816bc3b: Pull complete [2021-01-28T08:46:42.642Z] 93b61091891f: Pull complete [2021-01-28T08:46:42.995Z] 93b9cdb0e59b: Pull complete [2021-01-28T08:46:43.311Z] 5e14af77c1be: Pull complete [2021-01-28T08:46:43.592Z] 01666e4c0597: Pull complete [2021-01-28T08:46:43.592Z] aa168da1d23b: Verifying Checksum [2021-01-28T08:46:43.592Z] aa168da1d23b: Download complete [2021-01-28T08:46:56.054Z] aa168da1d23b: Pull complete [2021-01-28T08:46:56.054Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T08:46:56.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T08:46:56.054Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T08:46:56.884Z] prd-centos7-docker-4c-2g-23717 does not seem to be running inside a container [2021-01-28T08:46:57.104Z] $ 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-763/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-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@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-28T08:47:00.385Z] $ docker top a764c77445531fca1907fb696b6226bfab54af40eb24452649dbf26aa4e0510e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T08:47:01.070Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T08:47:01.546Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T08:47:01.923Z] + ls /var/log/sa-host [2021-01-28T08:47:01.923Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T08:47:01.923Z] file_magic: OK [2021-01-28T08:47:01.923Z] HZ: Using current value: 100 [2021-01-28T08:47:01.923Z] file_header: OK [2021-01-28T08:47:01.923Z] 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-28T08:47:01.923Z] Statistics: [2021-01-28T08:47:01.923Z] Hnuu...uuuununununu... [2021-01-28T08:47:01.923Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T08:47:01.923Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T08:47:01.923Z] file_magic: OK [2021-01-28T08:47:01.923Z] HZ: Using current value: 100 [2021-01-28T08:47:01.923Z] file_header: OK [2021-01-28T08:47:01.923Z] 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-28T08:47:01.923Z] Statistics: [2021-01-28T08:47:01.924Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T08:47:01.924Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T08:47:02.657Z] provisioning config files... [2021-01-28T08:47:02.678Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config1311723528758064828tmp [Pipeline] { [Pipeline] echo [2021-01-28T08:47:02.751Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T08:47:03.445Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T08:47:03.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T08:47:03.554Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T08:47:03.874Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T08:47:03.891Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T08:47:04.227Z] ---> sudo-logs.sh [2021-01-28T08:47:04.228Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T08:47:04.241Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T08:47:04.570Z] ---> job-cost.sh [2021-01-28T08:47:04.570Z] lf-activate-venv: SKIPPING [2021-01-28T08:47:04.570Z] INFO: No Stack... [2021-01-28T08:47:05.527Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T08:47:05.806Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T08:47:05.823Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T08:47:06.184Z] ---> logs-deploy.sh [2021-01-28T08:47:06.184Z] lf-activate-venv: SKIPPING [2021-01-28T08:47:06.184Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-763/6 [2021-01-28T08:47:06.184Z] INFO: archiving workspace using pattern(s): [2021-01-28T08:47:08.827Z] Archives upload complete. [2021-01-28T08:47:08.827Z] INFO: archiving logs to Nexus