Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4226f0ad5c9ea1cff809c5b314d321b691040421+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (20d83c8814c41999994ebb9daf63080d99914f10) 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-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23650’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23652 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [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-746 # 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/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 Merge succeeded, producing 6ef1006609c049153182a52ffb8a1ded103bbe31 Checking out Revision 6ef1006609c049153182a52ffb8a1ded103bbe31 (PR-746) > git config core.sparsecheckout # timeout=10 > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # 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 6ef1006609c049153182a52ffb8a1ded103bbe31 # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T02:42:03.484Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 4297071cdc2afffe196d9dcb42730d68727fb67a # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-28T02:42:03.724Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T02:42:03.814Z] ========================================================= [2021-01-28T02:42:03.814Z] EdgeX Global Pipelines Version Info [2021-01-28T02:42:03.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:42:05.269Z] ------------------- [2021-01-28T02:42:05.269Z] stable info: [2021-01-28T02:42:05.269Z] ------------------- [2021-01-28T02:42:05.269Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T02:42:05.269Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T02:42:05.269Z] Message: update stable to v1.0.179 [2021-01-28T02:42:06.223Z] ------------------- [2021-01-28T02:42:06.223Z] experimental info: [2021-01-28T02:42:06.223Z] ------------------- [2021-01-28T02:42:06.223Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T02:42:06.223Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T02:42:06.223Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T02:42:06.511Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T02:42:06.606Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T02:42:06.695Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T02:42:06.780Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T02:42:06.874Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T02:42:06.956Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T02:42:07.043Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T02:42:07.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T02:42:07.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T02:42:07.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T02:42:07.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T02:42:07.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T02:42:07.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T02:42:07.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T02:42:07.807Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T02:42:07.894Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:42:07.984Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:42:08.072Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T02:42:08.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T02:42:08.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T02:42:08.328Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T02:42:08.411Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T02:42:08.497Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T02:42:08.587Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T02:42:08.676Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T02:42:08.762Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T02:42:08.845Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T02:42:08.927Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo [2021-01-28T02:42:09.016Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo [2021-01-28T02:42:09.104Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo [2021-01-28T02:42:09.195Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ef1006609c049153182a52ffb8a1ded103bbe31 [Pipeline] echo [2021-01-28T02:42:09.379Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ef1006 [Pipeline] echo [2021-01-28T02:42:09.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:42:09.684Z] provisioning config files... [2021-01-28T02:42:09.718Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config7390207615775678624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:42:10.069Z] ---> docker-login.sh [2021-01-28T02:42:10.069Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:42:10.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:42:10.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:42:10.331Z] Configure a credential helper to remove this warning. See [2021-01-28T02:42:10.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:42:10.331Z] [2021-01-28T02:42:10.331Z] Login Succeeded [2021-01-28T02:42:10.331Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:42:10.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:42:10.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:42:10.593Z] Configure a credential helper to remove this warning. See [2021-01-28T02:42:10.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:42:10.593Z] [2021-01-28T02:42:10.593Z] Login Succeeded [2021-01-28T02:42:10.593Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:42:10.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:42:10.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:42:10.856Z] Configure a credential helper to remove this warning. See [2021-01-28T02:42:10.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:42:10.856Z] [2021-01-28T02:42:10.856Z] Login Succeeded [2021-01-28T02:42:10.856Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:42:10.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:42:10.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:42:10.856Z] Configure a credential helper to remove this warning. See [2021-01-28T02:42:10.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:42:10.856Z] [2021-01-28T02:42:10.856Z] Login Succeeded [2021-01-28T02:42:10.856Z] docker.io [2021-01-28T02:42:11.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:42:11.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:42:11.381Z] Configure a credential helper to remove this warning. See [2021-01-28T02:42:11.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:42:11.381Z] [2021-01-28T02:42:11.381Z] Login Succeeded [2021-01-28T02:42:11.381Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:42:11.391Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:42:12.236Z] + git log --format=format:%s -1 6ef1006609c049153182a52ffb8a1ded103bbe31 [Pipeline] echo [2021-01-28T02:42:12.304Z] GIT_COMMIT: 6ef1006609c049153182a52ffb8a1ded103bbe31, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo [2021-01-28T02:42:12.347Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:42:12.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:42:12.936Z] [2021-01-28T02:42:12.936Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:42:13.287Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:42:13.287Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T02:42:13.287Z] 31603596830f: Pulling fs layer [2021-01-28T02:42:13.287Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T02:42:13.287Z] 6ca5941a6612: Pulling fs layer [2021-01-28T02:42:13.287Z] ecc8261a40a4: Pulling fs layer [2021-01-28T02:42:13.287Z] ecc8261a40a4: Waiting [2021-01-28T02:42:13.287Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T02:42:13.287Z] 2a8b12db71e7: Download complete [2021-01-28T02:42:13.287Z] 31603596830f: Verifying Checksum [2021-01-28T02:42:13.287Z] 31603596830f: Download complete [2021-01-28T02:42:13.549Z] ecc8261a40a4: Verifying Checksum [2021-01-28T02:42:13.549Z] ecc8261a40a4: Download complete [2021-01-28T02:42:13.549Z] 6ca5941a6612: Verifying Checksum [2021-01-28T02:42:13.549Z] 6ca5941a6612: Download complete [2021-01-28T02:42:13.812Z] 31603596830f: Pull complete [2021-01-28T02:42:13.812Z] 2a8b12db71e7: Pull complete [2021-01-28T02:42:14.766Z] 6ca5941a6612: Pull complete [2021-01-28T02:42:15.027Z] ecc8261a40a4: Pull complete [2021-01-28T02:42:15.027Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T02:42:15.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T02:42:15.027Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T02:42:15.128Z] prd-centos7-docker-4c-2g-23652 does not seem to be running inside a container [2021-01-28T02:42:15.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T02:42:17.484Z] $ docker top b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T02:42:17.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T02:42:17.777Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T02:42:18.010Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T02:42:18.016Z] $ docker exec b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 ssh-agent [2021-01-28T02:42:18.184Z] SSH_AUTH_SOCK=/tmp/ssh-6AtYfZ2SujSY/agent.11 [2021-01-28T02:42:18.184Z] SSH_AGENT_PID=16 [2021-01-28T02:42:18.196Z] Running ssh-add (command line suppressed) [2021-01-28T02:42:18.319Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_43047637060158755.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_43047637060158755.key) [2021-01-28T02:42:18.376Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T02:42:18.730Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T02:42:18.824Z] $ docker exec --env ******** --env ******** b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 ssh-agent -k [2021-01-28T02:42:18.943Z] unset SSH_AUTH_SOCK; [2021-01-28T02:42:18.944Z] unset SSH_AGENT_PID; [2021-01-28T02:42:18.944Z] echo Agent pid 16 killed; [2021-01-28T02:42:18.992Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T02:42:19.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T02:42:19.143Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T02:42:19.310Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T02:42:19.315Z] $ docker exec b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 ssh-agent [2021-01-28T02:42:19.478Z] SSH_AUTH_SOCK=/tmp/ssh-QNVSGbaoufqP/agent.45 [2021-01-28T02:42:19.478Z] SSH_AGENT_PID=50 [2021-01-28T02:42:19.486Z] Running ssh-add (command line suppressed) [2021-01-28T02:42:19.605Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_3351785423510003815.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_3351785423510003815.key) [2021-01-28T02:42:19.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T02:42:19.996Z] + git semver init [2021-01-28T02:42:19.996Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T02:42:19.996Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git [2021-01-28T02:42:19.996Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-28T02:42:19.996Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T02:42:19.996Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T02:42:19.996Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T02:42:19.996Z] # $SEMVER_BRANCH = PR-746 [2021-01-28T02:42:19.996Z] # $SEMVER_TEMP = /tmp/semver-949993149 [2021-01-28T02:42:19.996Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T02:42:20.943Z] # '/tmp/semver-949993149' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' [2021-01-28T02:42:20.943Z] # -> Force: false [2021-01-28T02:42:20.943Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } [2021-01-28T02:42:20.957Z] $ docker exec --env ******** --env ******** b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 ssh-agent -k [2021-01-28T02:42:21.078Z] unset SSH_AUTH_SOCK; [2021-01-28T02:42:21.079Z] unset SSH_AGENT_PID; [2021-01-28T02:42:21.079Z] echo Agent pid 50 killed; [2021-01-28T02:42:21.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T02:42:21.603Z] + git semver [Pipeline] } [2021-01-28T02:42:21.884Z] $ docker stop --time=1 b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 [2021-01-28T02:42:23.338Z] $ docker rm -f b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T02:42:23.850Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T02:42:24.213Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T02:42:24.216Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-28T02:42:39.743Z] Still waiting to schedule task [2021-01-28T02:42:39.743Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23654’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-28T02:42:39.746Z] Still waiting to schedule task [2021-01-28T02:42:39.746Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-28T02:43:44.919Z] Running on prd-centos7-docker-4c-2g-23657 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-28T02:43:44.972Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-01-28T02:43:47.388Z] using credential edgex-jenkins-ssh [2021-01-28T02:43:47.472Z] Cloning the remote Git repository [2021-01-28T02:43:47.514Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:43:47.627Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-01-28T02:43:47.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:43:47.694Z] > git --version # timeout=10 [2021-01-28T02:43:47.700Z] > git --version # 'git version 2.24.3' [2021-01-28T02:43:47.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:43:47.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:43:48.467Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:43:48.475Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:43:48.487Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:43:48.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:43:48.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:43:48.504Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T02:43:48.992Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 [2021-01-28T02:43:49.122Z] Merge succeeded, producing 32ee7143e52e3ba06f0bb0e6e1ae9f4d660d9235 [2021-01-28T02:43:49.122Z] Checking out Revision 32ee7143e52e3ba06f0bb0e6e1ae9f4d660d9235 (PR-746) [2021-01-28T02:43:49.001Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:43:49.009Z] > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [2021-01-28T02:43:49.058Z] > git remote # timeout=10 [2021-01-28T02:43:49.063Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T02:43:49.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:43:49.073Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T02:43:49.110Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T02:43:49.125Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:43:49.133Z] > git checkout -f 32ee7143e52e3ba06f0bb0e6e1ae9f4d660d9235 # timeout=10 [2021-01-28T02:43:52.836Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T02:43:52.848Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:43:52.839Z] > git rev-list --no-walk 4297071cdc2afffe196d9dcb42730d68727fb67a # timeout=10 [2021-01-28T02:43:54.049Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:43:54.377Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:43:54.676Z] + sudo service docker restart [2021-01-28T02:43:54.676Z] + true [2021-01-28T02:43:54.676Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:43:56.134Z] provisioning config files... [2021-01-28T02:43:56.160Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config2170264229466663298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:43:56.521Z] ---> docker-login.sh [2021-01-28T02:43:56.522Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:43:56.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:56.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:56.786Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:56.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:56.786Z] [2021-01-28T02:43:56.786Z] Login Succeeded [2021-01-28T02:43:56.786Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:43:57.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:57.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:57.049Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:57.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:57.049Z] [2021-01-28T02:43:57.049Z] Login Succeeded [2021-01-28T02:43:57.049Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:43:57.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:57.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:57.311Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:57.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:57.311Z] [2021-01-28T02:43:57.311Z] Login Succeeded [2021-01-28T02:43:57.311Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:43:57.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:57.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:57.575Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:57.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:57.575Z] [2021-01-28T02:43:57.575Z] Login Succeeded [2021-01-28T02:43:57.575Z] docker.io [2021-01-28T02:43:57.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:43:57.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:43:57.837Z] Configure a credential helper to remove this warning. See [2021-01-28T02:43:57.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:43:57.837Z] [2021-01-28T02:43:57.838Z] Login Succeeded [2021-01-28T02:43:57.838Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:43:57.850Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T02:43:58.136Z] ========================================================= [2021-01-28T02:43:58.136Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T02:43:58.136Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:43:58.472Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-28T02:43:58.736Z] Sending build context to Docker daemon 2.545MB [2021-01-28T02:43:58.736Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:43:58.736Z] Step 2/8 : FROM ${BASE} [2021-01-28T02:43:58.736Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T02:43:58.736Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T02:43:58.736Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T02:43:58.736Z] de9db76c5a1d: Pulling fs layer [2021-01-28T02:43:58.736Z] bca2f99d35d6: Pulling fs layer [2021-01-28T02:43:58.736Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T02:43:58.736Z] 7c6f9722023f: Pulling fs layer [2021-01-28T02:43:58.736Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T02:43:58.736Z] 93359f2a8cfa: Waiting [2021-01-28T02:43:58.736Z] 7c6f9722023f: Waiting [2021-01-28T02:43:58.736Z] a35cf1a2eb13: Waiting [2021-01-28T02:43:58.736Z] bca2f99d35d6: Waiting [2021-01-28T02:43:58.736Z] de9db76c5a1d: Download complete [2021-01-28T02:43:58.736Z] 0ef7d3d256c8: Verifying Checksum [2021-01-28T02:43:58.736Z] 0ef7d3d256c8: Download complete [2021-01-28T02:43:58.736Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T02:43:58.736Z] 93359f2a8cfa: Download complete [2021-01-28T02:43:58.736Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T02:43:58.736Z] 188c0c94c7c5: Download complete [2021-01-28T02:43:58.736Z] 7c6f9722023f: Verifying Checksum [2021-01-28T02:43:58.736Z] 7c6f9722023f: Download complete [2021-01-28T02:43:59.000Z] 188c0c94c7c5: Pull complete [2021-01-28T02:43:59.261Z] 0ef7d3d256c8: Pull complete [2021-01-28T02:43:59.524Z] de9db76c5a1d: Pull complete [2021-01-28T02:44:00.922Z] a35cf1a2eb13: Verifying Checksum [2021-01-28T02:44:00.922Z] a35cf1a2eb13: Download complete [2021-01-28T02:44:01.510Z] bca2f99d35d6: Verifying Checksum [2021-01-28T02:44:01.510Z] bca2f99d35d6: Download complete [2021-01-28T02:44:06.859Z] bca2f99d35d6: Pull complete [2021-01-28T02:44:06.859Z] 93359f2a8cfa: Pull complete [2021-01-28T02:44:06.859Z] 7c6f9722023f: Pull complete [2021-01-28T02:44:12.204Z] a35cf1a2eb13: Pull complete [2021-01-28T02:44:12.204Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T02:44:12.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T02:44:12.204Z] ---> a62c8e92a672 [2021-01-28T02:44:12.204Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:44:12.204Z] ---> Running in f1a9269b2892 [2021-01-28T02:44:12.467Z] Removing intermediate container f1a9269b2892 [2021-01-28T02:44:12.467Z] ---> 08cf9c374574 [2021-01-28T02:44:12.467Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:44:12.467Z] ---> Running in ec84f5887985 [2021-01-28T02:44:13.429Z] Removing intermediate container ec84f5887985 [2021-01-28T02:44:13.430Z] ---> e52c6e8a1897 [2021-01-28T02:44:13.430Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T02:44:13.430Z] ---> Running in e6bc06e13692 [2021-01-28T02:44:14.007Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T02:44:14.584Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T02:44:15.161Z] OK: 166 MiB in 39 packages [2021-01-28T02:44:15.741Z] Removing intermediate container e6bc06e13692 [2021-01-28T02:44:15.742Z] ---> 3268c1bdfdef [2021-01-28T02:44:15.742Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T02:44:15.742Z] ---> Running in ae85dd1e4f44 [2021-01-28T02:44:16.004Z] Removing intermediate container ae85dd1e4f44 [2021-01-28T02:44:16.004Z] ---> a0c30bf580fb [2021-01-28T02:44:16.004Z] Step 7/8 : COPY . . [2021-01-28T02:44:17.413Z] ---> 8c52590aabd0 [2021-01-28T02:44:17.413Z] Step 8/8 : RUN go mod download [2021-01-28T02:44:17.413Z] ---> Running in 75dbae0a2a2e [2021-01-28T02:44:35.635Z] Removing intermediate container 75dbae0a2a2e [2021-01-28T02:44:35.635Z] ---> 1bb4804b5b6a [2021-01-28T02:44:35.635Z] Successfully built 1bb4804b5b6a [2021-01-28T02:44:35.635Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:44:35.955Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T02:44:35.955Z] . [Pipeline] withDockerContainer [2021-01-28T02:44:36.097Z] prd-centos7-docker-4c-2g-23657 does not seem to be running inside a container [2021-01-28T02:44:36.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T02:44:37.403Z] $ docker top fecd6416d1e79abe04810842dfef426a7370861b0c8ab1f43c0f081d41342771 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:44:37.978Z] + go version [2021-01-28T02:44:37.978Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T02:44:37.999Z] $ docker stop --time=1 fecd6416d1e79abe04810842dfef426a7370861b0c8ab1f43c0f081d41342771 [2021-01-28T02:44:39.616Z] $ docker rm -f fecd6416d1e79abe04810842dfef426a7370861b0c8ab1f43c0f081d41342771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:44:40.603Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T02:44:40.603Z] . [Pipeline] withDockerContainer [2021-01-28T02:44:40.749Z] prd-centos7-docker-4c-2g-23657 does not seem to be running inside a container [2021-01-28T02:44:40.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T02:44:42.528Z] $ docker top 4b80a114020e479d0d5f8940b72ad0a5b3fc857c33854559c6c4bdbe69e0ddfb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:44:43.052Z] + make test [2021-01-28T02:44:43.052Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T02:44:51.558Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T02:45:06.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T02:45:06.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T02:45:06.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T02:45:06.641Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 24.3% of statements [2021-01-28T02:45:06.914Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.444s coverage: 97.1% of statements [2021-01-28T02:45:39.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.066s coverage: 9.4% of statements [2021-01-28T02:45:39.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.060s coverage: 22.9% of statements [2021-01-28T02:45:39.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T02:45:39.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.071s coverage: 84.8% of statements [2021-01-28T02:45:39.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T02:45:39.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T02:45:39.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T02:45:39.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T02:45:39.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 53.8% of statements [2021-01-28T02:45:39.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T02:45:39.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T02:45:39.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 26.8% of statements [2021-01-28T02:45:39.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.408s coverage: 83.5% of statements [2021-01-28T02:45:39.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.066s coverage: 4.2% of statements [2021-01-28T02:45:39.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T02:45:39.112Z] GO111MODULE=on go vet ./... [2021-01-28T02:45:47.366Z] gofmt -l . [2021-01-28T02:45:47.366Z] [ "`gofmt -l .`" = "" ] [2021-01-28T02:45:47.366Z] ./bin/test-attribution-txt.sh [2021-01-28T02:45:47.945Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T02:45:47.966Z] $ docker stop --time=1 4b80a114020e479d0d5f8940b72ad0a5b3fc857c33854559c6c4bdbe69e0ddfb [2021-01-28T02:45:48.572Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23662 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-28T02:45:50.214Z] $ docker rm -f 4b80a114020e479d0d5f8940b72ad0a5b3fc857c33854559c6c4bdbe69e0ddfb [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws [2021-01-28T02:45:50.741Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-01-28T02:45:50.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T02:45:51.325Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T02:45:52.540Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T02:45:52.842Z] + ls -al . [2021-01-28T02:45:52.842Z] total 188 [2021-01-28T02:45:52.842Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 02:45 . [2021-01-28T02:45:52.842Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 02:43 .. [2021-01-28T02:45:52.842Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 02:43 bin [2021-01-28T02:45:52.842Z] -rw-r--r--. 1 jenkins jenkins 109745 Jan 28 02:45 coverage.out [2021-01-28T02:45:52.842Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 02:43 Dockerfile.build [2021-01-28T02:45:52.842Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 02:43 .dockerignore [2021-01-28T02:45:52.842Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 02:43 example [2021-01-28T02:45:52.842Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 02:43 .git [2021-01-28T02:45:52.842Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 02:43 .github [2021-01-28T02:45:52.842Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 02:43 .gitignore [2021-01-28T02:45:52.842Z] -rw-r--r--. 1 jenkins jenkins 479 Jan 28 02:45 go.mod [2021-01-28T02:45:52.842Z] -rw-r--r--. 1 jenkins jenkins 13930 Jan 28 02:45 go.sum [2021-01-28T02:45:52.842Z] drwxrwxr-x. 14 jenkins jenkins 196 Jan 28 02:43 internal [2021-01-28T02:45:52.842Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 02:43 Jenkinsfile [2021-01-28T02:45:52.842Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 02:43 LICENSE [2021-01-28T02:45:52.842Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 02:43 Makefile [2021-01-28T02:45:52.842Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 02:43 openapi [2021-01-28T02:45:52.842Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 02:43 pkg [2021-01-28T02:45:52.842Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 02:43 README.md [2021-01-28T02:45:52.842Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 02:43 RELEASE-NOTES.txt [2021-01-28T02:45:52.842Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 02:43 snap [2021-01-28T02:45:52.842Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 02:42 VERSION [2021-01-28T02:45:52.842Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:45:53.148Z] + 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=6ef1006609c049153182a52ffb8a1ded103bbe31 --label arch=amd64 --label version=0.0.0 . [2021-01-28T02:45:53.412Z] Sending build context to Docker daemon 2.656MB [2021-01-28T02:45:53.412Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:45:53.412Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T02:45:53.412Z] ---> 1bb4804b5b6a [2021-01-28T02:45:53.412Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T02:45:54.000Z] ---> Running in 01aec5f934f2 [2021-01-28T02:45:54.278Z] Removing intermediate container 01aec5f934f2 [2021-01-28T02:45:54.278Z] ---> e2480da31ec1 [2021-01-28T02:45:54.278Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T02:45:54.278Z] ---> Running in b73268fd39e2 [2021-01-28T02:45:54.542Z] Removing intermediate container b73268fd39e2 [2021-01-28T02:45:54.542Z] ---> 3dcf90d2afef [2021-01-28T02:45:54.542Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:45:54.542Z] ---> Running in 1f562f92b156 [2021-01-28T02:45:54.805Z] Removing intermediate container 1f562f92b156 [2021-01-28T02:45:54.805Z] ---> 0814494a6fc2 [2021-01-28T02:45:54.805Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:45:54.805Z] ---> Running in 97b11d21dfe5 [2021-01-28T02:45:55.904Z] using credential edgex-jenkins-ssh [2021-01-28T02:45:55.996Z] Cloning the remote Git repository [2021-01-28T02:45:56.727Z] Removing intermediate container 97b11d21dfe5 [2021-01-28T02:45:56.727Z] ---> 0007134c764d [2021-01-28T02:45:56.727Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T02:45:56.727Z] ---> Running in 4913dc46dd07 [2021-01-28T02:45:56.054Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:45:56.175Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-01-28T02:45:56.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:45:56.260Z] > git --version # timeout=10 [2021-01-28T02:45:56.280Z] > git --version # 'git version 2.17.1' [2021-01-28T02:45:56.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:45:56.359Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:45:57.679Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T02:45:57.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:45:57.844Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T02:45:57.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T02:45:57.916Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T02:45:57.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:45:57.929Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T02:45:58.574Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 [2021-01-28T02:45:59.014Z] Merge succeeded, producing 7f731e40d56734519448c5e195030db02485a52e [2021-01-28T02:45:59.014Z] Checking out Revision 7f731e40d56734519448c5e195030db02485a52e (PR-746) [2021-01-28T02:45:59.080Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T02:45:58.599Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:45:58.623Z] > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [2021-01-28T02:45:58.741Z] > git remote # timeout=10 [2021-01-28T02:45:58.815Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T02:45:58.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T02:45:58.861Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T02:45:58.983Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T02:45:59.016Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T02:45:59.044Z] > git checkout -f 7f731e40d56734519448c5e195030db02485a52e # timeout=10 [2021-01-28T02:46:01.676Z] OK: 166 MiB in 39 packages [2021-01-28T02:46:02.630Z] Removing intermediate container 4913dc46dd07 [2021-01-28T02:46:02.630Z] ---> 8381d34bd337 [2021-01-28T02:46:02.630Z] Step 8/24 : COPY . . [2021-01-28T02:46:03.461Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T02:46:03.492Z] First time build. Skipping changelog. [2021-01-28T02:46:03.589Z] ---> b40132a6b364 [2021-01-28T02:46:03.589Z] Step 9/24 : RUN ${MAKE} [2021-01-28T02:46:03.589Z] ---> Running in 4755454c1dbe [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:46:03.468Z] > git rev-list --no-walk 4297071cdc2afffe196d9dcb42730d68727fb67a # timeout=10 [2021-01-28T02:46:04.549Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-28T02:46:05.030Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:46:05.449Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T02:46:05.788Z] + true [2021-01-28T02:46:05.788Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T02:46:08.554Z] provisioning config files... [2021-01-28T02:46:08.601Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config3394767901884926497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:46:09.011Z] ---> docker-login.sh [2021-01-28T02:46:09.011Z] nexus3.edgexfoundry.org:10001 [2021-01-28T02:46:10.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:46:10.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:46:10.273Z] Configure a credential helper to remove this warning. See [2021-01-28T02:46:10.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:46:10.273Z] [2021-01-28T02:46:10.273Z] Login Succeeded [2021-01-28T02:46:10.273Z] nexus3.edgexfoundry.org:10002 [2021-01-28T02:46:10.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:46:10.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:46:10.552Z] Configure a credential helper to remove this warning. See [2021-01-28T02:46:10.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:46:10.552Z] [2021-01-28T02:46:10.552Z] Login Succeeded [2021-01-28T02:46:10.552Z] nexus3.edgexfoundry.org:10003 [2021-01-28T02:46:10.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:46:11.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:46:11.099Z] Configure a credential helper to remove this warning. See [2021-01-28T02:46:11.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:46:11.099Z] [2021-01-28T02:46:11.099Z] Login Succeeded [2021-01-28T02:46:11.099Z] nexus3.edgexfoundry.org:10004 [2021-01-28T02:46:11.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:46:11.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:46:11.654Z] Configure a credential helper to remove this warning. See [2021-01-28T02:46:11.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:46:11.654Z] [2021-01-28T02:46:11.654Z] Login Succeeded [2021-01-28T02:46:11.654Z] docker.io [2021-01-28T02:46:12.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T02:46:12.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T02:46:12.531Z] Configure a credential helper to remove this warning. See [2021-01-28T02:46:12.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T02:46:12.532Z] [2021-01-28T02:46:12.532Z] Login Succeeded [2021-01-28T02:46:12.532Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T02:46:12.550Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-28T02:46:12.784Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] echo [2021-01-28T02:46:13.067Z] ========================================================= [2021-01-28T02:46:13.067Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T02:46:13.067Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:46:13.471Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-28T02:46:14.091Z] Sending build context to Docker daemon 2.546MB [2021-01-28T02:46:14.091Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:46:14.091Z] Step 2/8 : FROM ${BASE} [2021-01-28T02:46:14.091Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T02:46:14.091Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T02:46:14.091Z] a4357932f1b6: Pulling fs layer [2021-01-28T02:46:14.091Z] 18c013af1878: Pulling fs layer [2021-01-28T02:46:14.091Z] 00ac8860ef70: Pulling fs layer [2021-01-28T02:46:14.091Z] 63d7cb157983: Pulling fs layer [2021-01-28T02:46:14.091Z] b116817d02f9: Pulling fs layer [2021-01-28T02:46:14.091Z] 745a02a5169b: Pulling fs layer [2021-01-28T02:46:14.091Z] 63d7cb157983: Waiting [2021-01-28T02:46:14.091Z] b116817d02f9: Waiting [2021-01-28T02:46:14.091Z] 00ac8860ef70: Waiting [2021-01-28T02:46:14.091Z] 745a02a5169b: Waiting [2021-01-28T02:46:14.091Z] a4357932f1b6: Verifying Checksum [2021-01-28T02:46:14.091Z] 18c013af1878: Verifying Checksum [2021-01-28T02:46:14.091Z] a4357932f1b6: Download complete [2021-01-28T02:46:14.091Z] 18c013af1878: Download complete [2021-01-28T02:46:14.091Z] 63d7cb157983: Verifying Checksum [2021-01-28T02:46:14.091Z] 63d7cb157983: Download complete [2021-01-28T02:46:14.091Z] b116817d02f9: Verifying Checksum [2021-01-28T02:46:14.091Z] b116817d02f9: Download complete [2021-01-28T02:46:14.091Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T02:46:14.091Z] 5f621e34cdf4: Download complete [2021-01-28T02:46:15.090Z] 5f621e34cdf4: Pull complete [2021-01-28T02:46:15.341Z] Removing intermediate container 4755454c1dbe [2021-01-28T02:46:15.341Z] ---> 5817317ed70c [2021-01-28T02:46:15.341Z] Step 10/24 : FROM scratch [2021-01-28T02:46:15.341Z] ---> [2021-01-28T02:46:15.341Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:46:15.605Z] ---> Running in 8e3ef0bad69a [2021-01-28T02:46:15.605Z] Removing intermediate container 8e3ef0bad69a [2021-01-28T02:46:15.605Z] ---> 95968071f033 [2021-01-28T02:46:15.605Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T02:46:15.605Z] ---> Running in 5f31711c1cf3 [2021-01-28T02:46:15.710Z] a4357932f1b6: Pull complete [2021-01-28T02:46:15.871Z] Removing intermediate container 5f31711c1cf3 [2021-01-28T02:46:15.871Z] ---> 2fe8ea6d90ee [2021-01-28T02:46:15.871Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T02:46:15.871Z] ---> Running in 720ef52f1efc [2021-01-28T02:46:15.998Z] 18c013af1878: Pull complete [2021-01-28T02:46:16.134Z] Removing intermediate container 720ef52f1efc [2021-01-28T02:46:16.134Z] ---> ecac7b5903ff [2021-01-28T02:46:16.134Z] Step 14/24 : WORKDIR / [2021-01-28T02:46:16.134Z] ---> Running in 57c5d114b39c [2021-01-28T02:46:16.398Z] Removing intermediate container 57c5d114b39c [2021-01-28T02:46:16.398Z] ---> 9d166de2a898 [2021-01-28T02:46:16.398Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T02:46:16.974Z] ---> 16bc95b42386 [2021-01-28T02:46:16.975Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T02:46:16.975Z] ---> 5a08f6b47031 [2021-01-28T02:46:16.975Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T02:46:17.241Z] ---> e59fffdd572f [2021-01-28T02:46:17.241Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T02:46:17.504Z] ---> c079408fb616 [2021-01-28T02:46:17.504Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T02:46:17.767Z] ---> f2f55c775122 [2021-01-28T02:46:17.767Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T02:46:18.005Z] 745a02a5169b: Verifying Checksum [2021-01-28T02:46:18.005Z] 745a02a5169b: Download complete [2021-01-28T02:46:18.005Z] 00ac8860ef70: Verifying Checksum [2021-01-28T02:46:18.005Z] 00ac8860ef70: Download complete [2021-01-28T02:46:18.031Z] ---> Running in da299b4187c7 [2021-01-28T02:46:18.031Z] Removing intermediate container da299b4187c7 [2021-01-28T02:46:18.031Z] ---> 00af992e6724 [2021-01-28T02:46:18.031Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T02:46:18.031Z] ---> Running in b08a0f3686d7 [2021-01-28T02:46:18.294Z] Removing intermediate container b08a0f3686d7 [2021-01-28T02:46:18.294Z] ---> 5023bc649172 [2021-01-28T02:46:18.294Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T02:46:18.294Z] ---> Running in faa576cdcd53 [2021-01-28T02:46:18.556Z] Removing intermediate container faa576cdcd53 [2021-01-28T02:46:18.556Z] ---> c27ee3c23c43 [2021-01-28T02:46:18.556Z] Step 23/24 : LABEL git_sha=6ef1006609c049153182a52ffb8a1ded103bbe31 [2021-01-28T02:46:18.556Z] ---> Running in e723c2fbe81e [2021-01-28T02:46:18.818Z] Removing intermediate container e723c2fbe81e [2021-01-28T02:46:18.818Z] ---> 87650d8dd934 [2021-01-28T02:46:18.818Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T02:46:18.818Z] ---> Running in 8dccc1943343 [2021-01-28T02:46:19.085Z] Removing intermediate container 8dccc1943343 [2021-01-28T02:46:19.085Z] ---> 251251307264 [2021-01-28T02:46:19.085Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T02:46:19.085Z] Successfully built 251251307264 [2021-01-28T02:46:19.085Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-28T02:46:28.202Z] 00ac8860ef70: Pull complete [2021-01-28T02:46:28.203Z] 63d7cb157983: Pull complete [2021-01-28T02:46:28.203Z] b116817d02f9: Pull complete [2021-01-28T02:46:31.589Z] 745a02a5169b: Pull complete [2021-01-28T02:46:31.589Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T02:46:31.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T02:46:31.589Z] ---> b7e6874047d6 [2021-01-28T02:46:31.589Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:46:34.202Z] ---> Running in f189631edcf4 [2021-01-28T02:46:34.473Z] Removing intermediate container f189631edcf4 [2021-01-28T02:46:34.473Z] ---> 3d16d0ac9d01 [2021-01-28T02:46:34.473Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:46:34.747Z] ---> Running in ad7b16e25352 [2021-01-28T02:46:36.735Z] Removing intermediate container ad7b16e25352 [2021-01-28T02:46:36.736Z] ---> ce392a84ef8e [2021-01-28T02:46:36.736Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T02:46:37.011Z] ---> Running in 608dce49cddf [2021-01-28T02:46:38.005Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T02:46:38.979Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T02:46:40.424Z] OK: 142 MiB in 39 packages [2021-01-28T02:46:41.409Z] Removing intermediate container 608dce49cddf [2021-01-28T02:46:41.409Z] ---> 0e2759b19ba2 [2021-01-28T02:46:41.409Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T02:46:41.409Z] ---> Running in dc4331fe1adb [2021-01-28T02:46:42.007Z] Removing intermediate container dc4331fe1adb [2021-01-28T02:46:42.007Z] ---> a206bb3bae9c [2021-01-28T02:46:42.007Z] Step 7/8 : COPY . . [2021-01-28T02:46:42.993Z] ---> 62ee4859337f [2021-01-28T02:46:42.993Z] Step 8/8 : RUN go mod download [2021-01-28T02:46:43.267Z] ---> Running in 4e246c66e7ad [2021-01-28T02:47:05.997Z] Removing intermediate container 4e246c66e7ad [2021-01-28T02:47:05.997Z] ---> 14c31815e9f2 [2021-01-28T02:47:05.997Z] Successfully built 14c31815e9f2 [2021-01-28T02:47:05.997Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:47:06.337Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T02:47:06.337Z] . [Pipeline] withDockerContainer [2021-01-28T02:47:06.572Z] prd-ubuntu18.04-docker-arm64-4c-16g-23662 does not seem to be running inside a container [2021-01-28T02:47:06.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T02:47:08.077Z] $ docker top 885e14f19edae7128594da139863e90493574558e64f20ecc22ad13c889073fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:47:09.069Z] + go version [2021-01-28T02:47:09.069Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T02:47:09.097Z] $ docker stop --time=1 885e14f19edae7128594da139863e90493574558e64f20ecc22ad13c889073fe [2021-01-28T02:47:11.009Z] $ docker rm -f 885e14f19edae7128594da139863e90493574558e64f20ecc22ad13c889073fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:47:12.156Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T02:47:12.156Z] . [Pipeline] withDockerContainer [2021-01-28T02:47:12.392Z] prd-ubuntu18.04-docker-arm64-4c-16g-23662 does not seem to be running inside a container [2021-01-28T02:47:12.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T02:47:14.085Z] $ docker top 7d43e2e52852ff5cbe2b4a1e8a203ca10d804999f481dbe76f7863306de18283 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:47:15.140Z] + make test [2021-01-28T02:47:15.140Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T02:47:37.358Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T02:48:24.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T02:48:24.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T02:48:24.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T02:48:24.358Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.130s coverage: 24.3% of statements [2021-01-28T02:48:24.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.322s coverage: 97.1% of statements [2021-01-28T02:48:57.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.169s coverage: 9.4% of statements [2021-01-28T02:48:57.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 22.9% of statements [2021-01-28T02:48:57.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T02:48:57.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.166s coverage: 84.8% of statements [2021-01-28T02:48:57.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T02:48:57.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T02:48:57.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T02:48:57.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T02:48:57.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.196s coverage: 53.8% of statements [2021-01-28T02:48:57.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T02:48:57.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T02:48:57.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.184s coverage: 26.8% of statements [2021-01-28T02:48:57.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.236s coverage: 83.5% of statements [2021-01-28T02:48:57.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.163s coverage: 4.2% of statements [2021-01-28T02:48:57.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T02:48:57.426Z] GO111MODULE=on go vet ./... [2021-01-28T02:49:29.870Z] gofmt -l . [2021-01-28T02:49:29.870Z] [ "`gofmt -l .`" = "" ] [2021-01-28T02:49:29.870Z] ./bin/test-attribution-txt.sh [2021-01-28T02:49:29.870Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T02:49:29.896Z] $ docker stop --time=1 7d43e2e52852ff5cbe2b4a1e8a203ca10d804999f481dbe76f7863306de18283 [2021-01-28T02:49:32.252Z] $ docker rm -f 7d43e2e52852ff5cbe2b4a1e8a203ca10d804999f481dbe76f7863306de18283 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T02:49:33.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T02:49:33.549Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T02:49:34.460Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T02:49:35.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T02:49:35.497Z] + ls -al . [2021-01-28T02:49:35.497Z] total 224 [2021-01-28T02:49:35.497Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 02:49 . [2021-01-28T02:49:35.497Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 .. [2021-01-28T02:49:35.497Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 02:45 .dockerignore [2021-01-28T02:49:35.497Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 02:46 .git [2021-01-28T02:49:35.497Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:45 .github [2021-01-28T02:49:35.497Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 02:45 .gitignore [2021-01-28T02:49:35.497Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 02:45 Dockerfile.build [2021-01-28T02:49:35.497Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 02:45 Jenkinsfile [2021-01-28T02:49:35.497Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 02:45 LICENSE [2021-01-28T02:49:35.497Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 02:45 Makefile [2021-01-28T02:49:35.497Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 02:45 README.md [2021-01-28T02:49:35.497Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 02:45 RELEASE-NOTES.txt [2021-01-28T02:49:35.497Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 02:42 VERSION [2021-01-28T02:49:35.497Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:45 bin [2021-01-28T02:49:35.497Z] -rw-r--r-- 1 jenkins jenkins 109745 Jan 28 02:48 coverage.out [2021-01-28T02:49:35.497Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 example [2021-01-28T02:49:35.497Z] -rw-r--r-- 1 jenkins jenkins 479 Jan 28 02:49 go.mod [2021-01-28T02:49:35.497Z] -rw-r--r-- 1 jenkins jenkins 13930 Jan 28 02:49 go.sum [2021-01-28T02:49:35.497Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 28 02:45 internal [2021-01-28T02:49:35.497Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 openapi [2021-01-28T02:49:35.497Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 02:45 pkg [2021-01-28T02:49:35.497Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 snap [2021-01-28T02:49:35.497Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:49:35.844Z] + 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=6ef1006609c049153182a52ffb8a1ded103bbe31 --label arch=arm64 --label version=0.0.0 . [2021-01-28T02:49:36.440Z] Sending build context to Docker daemon 2.656MB [2021-01-28T02:49:36.440Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T02:49:36.440Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T02:49:36.440Z] ---> 14c31815e9f2 [2021-01-28T02:49:36.440Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T02:49:36.714Z] ---> Running in c2470a915d0c [2021-01-28T02:49:36.990Z] Removing intermediate container c2470a915d0c [2021-01-28T02:49:36.990Z] ---> f142c7dc63bc [2021-01-28T02:49:36.990Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T02:49:37.273Z] ---> Running in 8d6d732d4f34 [2021-01-28T02:49:37.870Z] Removing intermediate container 8d6d732d4f34 [2021-01-28T02:49:37.870Z] ---> 6869d6511ab7 [2021-01-28T02:49:37.870Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:49:37.870Z] ---> Running in 1daf50f8039d [2021-01-28T02:49:38.467Z] Removing intermediate container 1daf50f8039d [2021-01-28T02:49:38.467Z] ---> 6ae455d3d374 [2021-01-28T02:49:38.467Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T02:49:38.467Z] ---> Running in 3eef4cf9f791 [2021-01-28T02:49:41.091Z] Removing intermediate container 3eef4cf9f791 [2021-01-28T02:49:41.091Z] ---> d2c5a095761a [2021-01-28T02:49:41.091Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T02:49:41.091Z] ---> Running in c642d209acbd [2021-01-28T02:49:42.075Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T02:49:43.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T02:49:44.494Z] OK: 142 MiB in 39 packages [2021-01-28T02:49:45.519Z] Removing intermediate container c642d209acbd [2021-01-28T02:49:45.519Z] ---> 1fa855fdd210 [2021-01-28T02:49:45.519Z] Step 8/24 : COPY . . [2021-01-28T02:49:46.958Z] ---> a75ab2ce7ac8 [2021-01-28T02:49:46.958Z] Step 9/24 : RUN ${MAKE} [2021-01-28T02:49:47.234Z] ---> Running in 9fbffb100ba7 [2021-01-28T02:49:48.214Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-28T02:50:15.072Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T02:50:16.507Z] Removing intermediate container 9fbffb100ba7 [2021-01-28T02:50:16.507Z] ---> a1138443331f [2021-01-28T02:50:16.507Z] Step 10/24 : FROM scratch [2021-01-28T02:50:16.507Z] ---> [2021-01-28T02:50:16.507Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T02:50:16.507Z] ---> Running in beffabb7b873 [2021-01-28T02:50:16.779Z] Removing intermediate container beffabb7b873 [2021-01-28T02:50:16.779Z] ---> 371b17e8623d [2021-01-28T02:50:16.779Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T02:50:17.050Z] ---> Running in 25aa1e17ff75 [2021-01-28T02:50:17.320Z] Removing intermediate container 25aa1e17ff75 [2021-01-28T02:50:17.320Z] ---> 642287b4d468 [2021-01-28T02:50:17.320Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T02:50:17.590Z] ---> Running in 57068523e49a [2021-01-28T02:50:17.859Z] Removing intermediate container 57068523e49a [2021-01-28T02:50:17.859Z] ---> 2875c5c184ce [2021-01-28T02:50:17.859Z] Step 14/24 : WORKDIR / [2021-01-28T02:50:18.132Z] ---> Running in 92868b30c733 [2021-01-28T02:50:18.403Z] Removing intermediate container 92868b30c733 [2021-01-28T02:50:18.403Z] ---> 1f5676a35df1 [2021-01-28T02:50:18.403Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T02:50:19.850Z] ---> 95f41b758d1c [2021-01-28T02:50:19.850Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T02:50:20.445Z] ---> b13021735af8 [2021-01-28T02:50:20.445Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T02:50:21.042Z] ---> 1efe77609cff [2021-01-28T02:50:21.042Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T02:50:22.019Z] ---> fcff4fbe699d [2021-01-28T02:50:22.019Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T02:50:22.613Z] ---> e73233e3e73b [2021-01-28T02:50:22.613Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T02:50:22.613Z] ---> Running in 7797fa9a4be5 [2021-01-28T02:50:23.209Z] Removing intermediate container 7797fa9a4be5 [2021-01-28T02:50:23.209Z] ---> a15a294d9648 [2021-01-28T02:50:23.209Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T02:50:23.209Z] ---> Running in 868deae79b7b [2021-01-28T02:50:23.805Z] Removing intermediate container 868deae79b7b [2021-01-28T02:50:23.805Z] ---> f0583f2581c3 [2021-01-28T02:50:23.805Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T02:50:24.078Z] ---> Running in 4f0ab2f33c6c [2021-01-28T02:50:24.350Z] Removing intermediate container 4f0ab2f33c6c [2021-01-28T02:50:24.350Z] ---> 124dd89e621e [2021-01-28T02:50:24.350Z] Step 23/24 : LABEL git_sha=6ef1006609c049153182a52ffb8a1ded103bbe31 [2021-01-28T02:50:24.624Z] ---> Running in 3d23418a787f [2021-01-28T02:50:25.230Z] Removing intermediate container 3d23418a787f [2021-01-28T02:50:25.230Z] ---> 27dd0333d296 [2021-01-28T02:50:25.230Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T02:50:25.230Z] ---> Running in ac96028d2861 [2021-01-28T02:50:25.828Z] Removing intermediate container ac96028d2861 [2021-01-28T02:50:25.828Z] ---> 73d388fe8777 [2021-01-28T02:50:25.828Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T02:50:25.828Z] Successfully built 73d388fe8777 [2021-01-28T02:50:25.828Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-28T02:50:28.397Z] provisioning config files... [2021-01-28T02:50:28.410Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config6549498021865944115tmp [Pipeline] { [Pipeline] sh [2021-01-28T02:50:28.791Z] + set +x [2021-01-28T02:50:28.792Z] + curl -s https://codecov.io/bash [2021-01-28T02:50:28.792Z] + bash -s -- [2021-01-28T02:50:29.053Z] [2021-01-28T02:50:29.053Z] _____ _ [2021-01-28T02:50:29.053Z] / ____| | | [2021-01-28T02:50:29.053Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T02:50:29.053Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T02:50:29.053Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T02:50:29.053Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T02:50:29.053Z] Bash-20210128-d4071a2 [2021-01-28T02:50:29.053Z] [2021-01-28T02:50:29.053Z] [2021-01-28T02:50:29.053Z] ==> git version 2.24.3 found [2021-01-28T02:50:29.053Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-28T02:50:29.053Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T02:50:29.053Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T02:50:29.053Z] ==> Jenkins CI detected. [2021-01-28T02:50:29.053Z] project root: . [2021-01-28T02:50:29.053Z] --> token set from env [2021-01-28T02:50:29.054Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T02:50:29.054Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T02:50:29.054Z] ==> Python coveragepy not found [2021-01-28T02:50:29.054Z] ==> Searching for coverage reports in: [2021-01-28T02:50:29.054Z] + . [2021-01-28T02:50:29.054Z] -> Found 1 reports [2021-01-28T02:50:29.054Z] ==> Detecting git/mercurial file structure [2021-01-28T02:50:29.054Z] ==> Reading reports [2021-01-28T02:50:29.054Z] + ./coverage.out bytes=109745 [2021-01-28T02:50:29.054Z] ==> Appending adjustments [2021-01-28T02:50:29.054Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T02:50:29.630Z] + Found adjustments [2021-01-28T02:50:29.630Z] ==> Gzipping contents [2021-01-28T02:50:29.630Z] 20K /tmp/codecov.maFCSq.gz [2021-01-28T02:50:29.630Z] ==> Uploading reports [2021-01-28T02:50:29.630Z] url: https://codecov.io [2021-01-28T02:50:29.630Z] query: branch=PR-746&commit=6ef1006609c049153182a52ffb8a1ded103bbe31&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-28T02:50:29.630Z] -> Pinging Codecov [2021-01-28T02:50:29.630Z] https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-746&commit=6ef1006609c049153182a52ffb8a1ded103bbe31&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-28T02:50:30.576Z] -> Uploading to [2021-01-28T02:50:30.576Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/6ef1006609c049153182a52ffb8a1ded103bbe31/8903dbe2-a363-4690-93a3-69dd203ce421.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T025030Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dbb8fb66ad26195f648037d656ad11ff206e9e33432af41db61c3779464ae617 [2021-01-28T02:50:30.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T02:50:30.576Z] Dload Upload Total Spent Left Speed [2021-01-28T02:50:31.100Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18039 0 0 100 18039 0 40591 --:--:-- --:--:-- --:--:-- 40537 [2021-01-28T02:50:31.100Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6ef1006609c049153182a52ffb8a1ded103bbe31 [Pipeline] } [2021-01-28T02:50:31.110Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:33.509Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:33.812Z] ---> package-listing.sh [2021-01-28T02:50:33.812Z] ++ facter osfamily [2021-01-28T02:50:33.812Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T02:50:33.812Z] + OS_FAMILY=redhat [2021-01-28T02:50:33.812Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-28T02:50:33.812Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T02:50:33.812Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T02:50:33.812Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T02:50:33.812Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T02:50:33.812Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-28T02:50:33.812Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T02:50:33.812Z] + case "${OS_FAMILY}" in [2021-01-28T02:50:33.812Z] + rpm -qa [2021-01-28T02:50:33.812Z] + sort [2021-01-28T02:50:38.029Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T02:50:38.029Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T02:50:38.029Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T02:50:38.029Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-28T02:50:38.029Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [2021-01-28T02:50:38.029Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [Pipeline] echo [2021-01-28T02:50:38.042Z] 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-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-28T02:50:38.329Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:50:38.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:50:38.631Z] [2021-01-28T02:50:38.631Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T02:50:38.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:50:38.980Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T02:50:38.980Z] df20fa9351a1: Pulling fs layer [2021-01-28T02:50:38.980Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T02:50:38.980Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T02:50:38.980Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T02:50:38.980Z] 93b61091891f: Pulling fs layer [2021-01-28T02:50:38.980Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T02:50:38.980Z] 5e14af77c1be: Pulling fs layer [2021-01-28T02:50:38.980Z] 01666e4c0597: Pulling fs layer [2021-01-28T02:50:38.980Z] aa168da1d23b: Pulling fs layer [2021-01-28T02:50:38.980Z] 93b9cdb0e59b: Waiting [2021-01-28T02:50:38.980Z] 5e14af77c1be: Waiting [2021-01-28T02:50:38.980Z] 01666e4c0597: Waiting [2021-01-28T02:50:38.980Z] aa168da1d23b: Waiting [2021-01-28T02:50:38.980Z] 46f8f816bc3b: Waiting [2021-01-28T02:50:38.980Z] 93b61091891f: Waiting [2021-01-28T02:50:38.980Z] 36b3adc4ff6f: Download complete [2021-01-28T02:50:38.980Z] 46f8f816bc3b: Verifying Checksum [2021-01-28T02:50:38.980Z] 46f8f816bc3b: Download complete [2021-01-28T02:50:38.980Z] df20fa9351a1: Verifying Checksum [2021-01-28T02:50:38.980Z] df20fa9351a1: Download complete [2021-01-28T02:50:38.980Z] 93b9cdb0e59b: Verifying Checksum [2021-01-28T02:50:38.980Z] 93b9cdb0e59b: Download complete [2021-01-28T02:50:39.244Z] 5e14af77c1be: Verifying Checksum [2021-01-28T02:50:39.244Z] 5e14af77c1be: Download complete [2021-01-28T02:50:39.244Z] 93b61091891f: Verifying Checksum [2021-01-28T02:50:39.244Z] 93b61091891f: Download complete [2021-01-28T02:50:39.244Z] 01666e4c0597: Verifying Checksum [2021-01-28T02:50:39.244Z] 01666e4c0597: Download complete [2021-01-28T02:50:39.244Z] 8ad3a11d3b57: Verifying Checksum [2021-01-28T02:50:39.244Z] 8ad3a11d3b57: Download complete [2021-01-28T02:50:39.244Z] df20fa9351a1: Pull complete [2021-01-28T02:50:39.820Z] 36b3adc4ff6f: Pull complete [2021-01-28T02:50:40.400Z] 8ad3a11d3b57: Pull complete [2021-01-28T02:50:40.667Z] 46f8f816bc3b: Pull complete [2021-01-28T02:50:41.247Z] aa168da1d23b: Verifying Checksum [2021-01-28T02:50:41.247Z] aa168da1d23b: Download complete [2021-01-28T02:50:42.194Z] 93b61091891f: Pull complete [2021-01-28T02:50:42.194Z] 93b9cdb0e59b: Pull complete [2021-01-28T02:50:42.456Z] 5e14af77c1be: Pull complete [2021-01-28T02:50:42.456Z] 01666e4c0597: Pull complete [2021-01-28T02:50:49.075Z] aa168da1d23b: Pull complete [2021-01-28T02:50:49.075Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T02:50:49.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T02:50:49.075Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T02:50:49.209Z] prd-centos7-docker-4c-2g-23652 does not seem to be running inside a container [2021-01-28T02:50:49.257Z] $ 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-746/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-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-28T02:50:52.373Z] $ docker top 6ba8c60a58ac9e93884ee3c53c8929ef9336c32f3d73b7fab682b353e2ea71fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T02:50:52.861Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T02:50:53.160Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T02:50:53.458Z] + ls /var/log/sa-host [2021-01-28T02:50:53.459Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T02:50:53.459Z] file_magic: OK [2021-01-28T02:50:53.459Z] HZ: Using current value: 100 [2021-01-28T02:50:53.459Z] file_header: OK [2021-01-28T02:50:53.459Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-28T02:50:53.459Z] Statistics: [2021-01-28T02:50:53.459Z] Hnuu...uuuununununu... [2021-01-28T02:50:53.459Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T02:50:53.459Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T02:50:53.459Z] file_magic: OK [2021-01-28T02:50:53.459Z] HZ: Using current value: 100 [2021-01-28T02:50:53.459Z] file_header: OK [2021-01-28T02:50:53.459Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-28T02:50:53.459Z] Statistics: [2021-01-28T02:50:53.459Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T02:50:53.459Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T02:50:53.681Z] provisioning config files... [2021-01-28T02:50:53.694Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config2552337491418456378tmp [Pipeline] { [Pipeline] echo [2021-01-28T02:50:53.774Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:54.068Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T02:50:54.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T02:50:54.166Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:54.465Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T02:50:54.475Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:54.775Z] ---> sudo-logs.sh [2021-01-28T02:50:54.775Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T02:50:54.785Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:55.077Z] ---> job-cost.sh [2021-01-28T02:50:55.077Z] lf-activate-venv: SKIPPING [2021-01-28T02:50:55.077Z] INFO: No Stack... [2021-01-28T02:50:56.495Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T02:50:57.072Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T02:50:57.096Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T02:50:57.395Z] ---> logs-deploy.sh [2021-01-28T02:50:57.395Z] lf-activate-venv: SKIPPING [2021-01-28T02:50:57.395Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/8 [2021-01-28T02:50:57.395Z] INFO: archiving workspace using pattern(s): [2021-01-28T02:50:58.791Z] Archives upload complete. [2021-01-28T02:50:59.051Z] INFO: archiving logs to Nexus