Pull request #930 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2+81b7d046a48529156768d67edd838b16f3fcd6f5 (60ad819808fc7520b3803610d86264dbe3c5bb37) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2265970845290558186.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7945100134751380107.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-930/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-930/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5152532990830209718.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2941112738606225856.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-930/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-930/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8503996934323804850.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-62 in /w/workspace/dgexfoundry_device-sdk-go_PR-930 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-930 # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp/jenkins-gitclient-ssh6125241974372175318.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 81b7d046a48529156768d67edd838b16f3fcd6f5 into PR head commit 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 Merge succeeded, producing 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 Checking out Revision 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 (PR-930) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp/jenkins-gitclient-ssh5206469892408620009.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/930/head:refs/remotes/origin/PR-930 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp/jenkins-gitclient-ssh3316582299800325370.key > git merge 81b7d046a48529156768d67edd838b16f3fcd6f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 # timeout=10 Commit message: "feat: add Event tagging capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-14T04:04:53.205Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-14T04:04:53.358Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-14T04:04:53.386Z] ========================================================= [2021-05-14T04:04:53.386Z] EdgeX Global Pipelines Version Info [2021-05-14T04:04:53.386Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:04:54.872Z] ------------------- [2021-05-14T04:04:54.872Z] stable info: [2021-05-14T04:04:54.872Z] ------------------- [2021-05-14T04:04:54.872Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-14T04:04:54.872Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T04:04:54.872Z] Message: update stable to v1.0.192 [2021-05-14T04:04:55.822Z] ------------------- [2021-05-14T04:04:55.822Z] experimental info: [2021-05-14T04:04:55.822Z] ------------------- [2021-05-14T04:04:55.822Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-14T04:04:55.822Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T04:04:55.822Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-14T04:04:55.956Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-14T04:04:55.980Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-14T04:04:56.003Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-14T04:04:56.025Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-14T04:04:56.048Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-14T04:04:56.071Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-14T04:04:56.094Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-14T04:04:56.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-14T04:04:56.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-14T04:04:56.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-14T04:04:56.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-14T04:04:56.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-14T04:04:56.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-14T04:04:56.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-14T04:04:56.320Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T04:04:56.343Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T04:04:56.368Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T04:04:56.391Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T04:04:56.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-14T04:04:56.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-14T04:04:56.471Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-14T04:04:56.510Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-14T04:04:56.537Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-14T04:04:56.563Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-14T04:04:56.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-14T04:04:56.610Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-14T04:04:56.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-930 [Pipeline] echo [2021-05-14T04:04:56.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-930 [Pipeline] echo [2021-05-14T04:04:56.679Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-930 [Pipeline] echo [2021-05-14T04:04:56.702Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 [Pipeline] echo [2021-05-14T04:04:56.725Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 149daef [Pipeline] echo [2021-05-14T04:04:56.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T04:04:56.826Z] provisioning config files... [2021-05-14T04:04:56.844Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp/config5237497015839566648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:04:57.174Z] ---> docker-login.sh [2021-05-14T04:04:57.174Z] nexus3.edgexfoundry.org:10001 [2021-05-14T04:04:57.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:04:57.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:04:57.709Z] Configure a credential helper to remove this warning. See [2021-05-14T04:04:57.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:04:57.709Z] [2021-05-14T04:04:57.709Z] Login Succeeded [2021-05-14T04:04:57.709Z] nexus3.edgexfoundry.org:10002 [2021-05-14T04:04:57.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:04:57.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:04:57.709Z] Configure a credential helper to remove this warning. See [2021-05-14T04:04:57.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:04:57.709Z] [2021-05-14T04:04:57.709Z] Login Succeeded [2021-05-14T04:04:57.709Z] nexus3.edgexfoundry.org:10003 [2021-05-14T04:04:57.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:04:57.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:04:57.981Z] Configure a credential helper to remove this warning. See [2021-05-14T04:04:57.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:04:57.981Z] [2021-05-14T04:04:57.981Z] Login Succeeded [2021-05-14T04:04:57.981Z] nexus3.edgexfoundry.org:10004 [2021-05-14T04:04:58.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:04:58.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:04:58.249Z] Configure a credential helper to remove this warning. See [2021-05-14T04:04:58.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:04:58.249Z] [2021-05-14T04:04:58.249Z] Login Succeeded [2021-05-14T04:04:58.249Z] docker.io [2021-05-14T04:04:58.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:04:58.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:04:58.779Z] Configure a credential helper to remove this warning. See [2021-05-14T04:04:58.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:04:58.779Z] [2021-05-14T04:04:58.779Z] Login Succeeded [2021-05-14T04:04:58.779Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T04:04:58.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T04:04:59.402Z] + git log --format=format:%s -1 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 [Pipeline] echo [2021-05-14T04:04:59.453Z] GIT_COMMIT: 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2, Commit Message: feat: add Event tagging capability [Pipeline] echo [2021-05-14T04:04:59.467Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:05:00.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T04:05:00.058Z] [2021-05-14T04:05:00.058Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:05:00.392Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T04:05:00.392Z] latest: Pulling from edgex-devops/git-semver [2021-05-14T04:05:00.392Z] 31603596830f: Pulling fs layer [2021-05-14T04:05:00.392Z] 54011a49482f: Pulling fs layer [2021-05-14T04:05:00.392Z] a6820b24f6d8: Pulling fs layer [2021-05-14T04:05:00.392Z] f581987b2513: Pulling fs layer [2021-05-14T04:05:00.392Z] f581987b2513: Waiting [2021-05-14T04:05:00.392Z] 54011a49482f: Download complete [2021-05-14T04:05:00.392Z] 31603596830f: Download complete [2021-05-14T04:05:00.659Z] a6820b24f6d8: Verifying Checksum [2021-05-14T04:05:00.659Z] a6820b24f6d8: Download complete [2021-05-14T04:05:00.927Z] 31603596830f: Pull complete [2021-05-14T04:05:00.927Z] f581987b2513: Verifying Checksum [2021-05-14T04:05:00.927Z] 54011a49482f: Pull complete [2021-05-14T04:05:02.366Z] a6820b24f6d8: Pull complete [2021-05-14T04:05:02.953Z] f581987b2513: Pull complete [2021-05-14T04:05:02.953Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-14T04:05:02.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T04:05:02.953Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-14T04:05:03.121Z] prd-centos7-docker-4c-2g-62 does not seem to be running inside a container [2021-05-14T04:05:03.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-930 -v /w/workspace/dgexfoundry_device-sdk-go_PR-930:/w/workspace/dgexfoundry_device-sdk-go_PR-930:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-930@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T04:05:05.719Z] $ docker top 79e928bcdc2466bb762cad5e9ec035f785780f17780128eff4292e357bcc2059 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T04:05:05.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T04:05:05.941Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T04:05:06.247Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T04:05:06.253Z] $ docker exec 79e928bcdc2466bb762cad5e9ec035f785780f17780128eff4292e357bcc2059 ssh-agent [2021-05-14T04:05:06.513Z] SSH_AUTH_SOCK=/tmp/ssh-b0FbzzMrAS9W/agent.11 [2021-05-14T04:05:06.513Z] SSH_AGENT_PID=16 [2021-05-14T04:05:06.526Z] Running ssh-add (command line suppressed) [2021-05-14T04:05:06.828Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp/private_key_9222393535664999605.key (/w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp/private_key_9222393535664999605.key) [2021-05-14T04:05:06.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T04:05:07.263Z] + git tag --points-at HEAD [Pipeline] } [2021-05-14T04:05:07.287Z] $ docker exec --env ******** --env ******** 79e928bcdc2466bb762cad5e9ec035f785780f17780128eff4292e357bcc2059 ssh-agent -k [2021-05-14T04:05:07.449Z] unset SSH_AUTH_SOCK; [2021-05-14T04:05:07.450Z] unset SSH_AGENT_PID; [2021-05-14T04:05:07.450Z] echo Agent pid 16 killed; [2021-05-14T04:05:07.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-14T04:05:07.572Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T04:05:07.572Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T04:05:07.791Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T04:05:07.798Z] $ docker exec 79e928bcdc2466bb762cad5e9ec035f785780f17780128eff4292e357bcc2059 ssh-agent [2021-05-14T04:05:08.067Z] SSH_AUTH_SOCK=/tmp/ssh-6XHsSYGTakQX/agent.45 [2021-05-14T04:05:08.067Z] SSH_AGENT_PID=51 [2021-05-14T04:05:08.081Z] Running ssh-add (command line suppressed) [2021-05-14T04:05:08.307Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp/private_key_5160559473626709509.key (/w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp/private_key_5160559473626709509.key) [2021-05-14T04:05:08.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T04:05:08.737Z] + git semver init [2021-05-14T04:05:08.737Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T04:05:08.737Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-930/.git [2021-05-14T04:05:08.737Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-930 [2021-05-14T04:05:08.737Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T04:05:08.737Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T04:05:08.737Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T04:05:08.737Z] # $SEMVER_BRANCH = PR-930 [2021-05-14T04:05:08.737Z] # $SEMVER_TEMP = /tmp/semver-198513033 [2021-05-14T04:05:08.737Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-14T04:05:10.208Z] # '/tmp/semver-198513033' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-930/.semver' [2021-05-14T04:05:10.208Z] # -> Force: false [2021-05-14T04:05:10.208Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-930/.semver [Pipeline] } [2021-05-14T04:05:10.258Z] $ docker exec --env ******** --env ******** 79e928bcdc2466bb762cad5e9ec035f785780f17780128eff4292e357bcc2059 ssh-agent -k [2021-05-14T04:05:10.520Z] unset SSH_AUTH_SOCK; [2021-05-14T04:05:10.520Z] unset SSH_AGENT_PID; [2021-05-14T04:05:10.520Z] echo Agent pid 51 killed; [2021-05-14T04:05:10.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T04:05:11.381Z] + git semver [Pipeline] } [2021-05-14T04:05:11.409Z] $ docker stop --time=1 79e928bcdc2466bb762cad5e9ec035f785780f17780128eff4292e357bcc2059 [2021-05-14T04:05:13.460Z] $ docker rm -f 79e928bcdc2466bb762cad5e9ec035f785780f17780128eff4292e357bcc2059 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T04:05:14.077Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-14T04:05:14.657Z] Stashed 1 file(s) [Pipeline] echo [2021-05-14T04:05:14.661Z] [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-05-14T04:05:29.925Z] Still waiting to schedule task [2021-05-14T04:05:29.925Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-14T04:05:29.928Z] Still waiting to schedule task [2021-05-14T04:05:29.928Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-14T04:08:25.375Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-65 in /w/workspace/dgexfoundry_device-sdk-go_PR-930 [Pipeline] { [Pipeline] ws [2021-05-14T04:08:25.403Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-14T04:08:25.640Z] Selected Git installation does not exist. Using Default [2021-05-14T04:08:25.641Z] The recommended git tool is: NONE [2021-05-14T04:08:31.564Z] using credential edgex-jenkins-ssh [2021-05-14T04:08:31.583Z] Cloning the remote Git repository [2021-05-14T04:08:31.655Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T04:08:31.782Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-14T04:08:31.885Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T04:08:31.886Z] > git --version # timeout=10 [2021-05-14T04:08:31.918Z] > git --version # 'git version 2.17.1' [2021-05-14T04:08:31.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:08:32.018Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T04:08:34.157Z] Merging remotes/origin/master commit 81b7d046a48529156768d67edd838b16f3fcd6f5 into PR head commit 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 [2021-05-14T04:08:34.397Z] Merge succeeded, producing 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 [2021-05-14T04:08:34.398Z] Checking out Revision 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 (PR-930) [2021-05-14T04:08:33.406Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T04:08:33.430Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T04:08:33.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T04:08:33.505Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T04:08:33.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:08:33.520Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/930/head:refs/remotes/origin/PR-930 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T04:08:34.188Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T04:08:34.218Z] > git checkout -f 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 # timeout=10 [2021-05-14T04:08:34.326Z] > git remote # timeout=10 [2021-05-14T04:08:34.347Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T04:08:34.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:08:34.371Z] > git merge 81b7d046a48529156768d67edd838b16f3fcd6f5 # timeout=10 [2021-05-14T04:08:34.394Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T04:08:34.419Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T04:08:34.440Z] > git checkout -f 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 # timeout=10 [2021-05-14T04:08:38.886Z] Commit message: "feat: add Event tagging capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T04:08:40.391Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-14T04:08:40.852Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T04:08:41.193Z] + sudo service docker restart [2021-05-14T04:08:41.193Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T04:08:43.219Z] provisioning config files... [2021-05-14T04:08:43.251Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2730671489712283650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:08:43.644Z] ---> docker-login.sh [2021-05-14T04:08:43.644Z] nexus3.edgexfoundry.org:10001 [2021-05-14T04:08:44.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:08:44.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:08:44.915Z] Configure a credential helper to remove this warning. See [2021-05-14T04:08:44.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:08:44.915Z] [2021-05-14T04:08:44.915Z] Login Succeeded [2021-05-14T04:08:44.915Z] nexus3.edgexfoundry.org:10002 [2021-05-14T04:08:45.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:08:45.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:08:45.518Z] Configure a credential helper to remove this warning. See [2021-05-14T04:08:45.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:08:45.518Z] [2021-05-14T04:08:45.518Z] Login Succeeded [2021-05-14T04:08:45.518Z] nexus3.edgexfoundry.org:10003 [2021-05-14T04:08:46.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:08:46.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:08:46.125Z] Configure a credential helper to remove this warning. See [2021-05-14T04:08:46.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:08:46.125Z] [2021-05-14T04:08:46.125Z] Login Succeeded [2021-05-14T04:08:46.125Z] nexus3.edgexfoundry.org:10004 [2021-05-14T04:08:46.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:08:46.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:08:46.726Z] Configure a credential helper to remove this warning. See [2021-05-14T04:08:46.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:08:46.726Z] [2021-05-14T04:08:46.726Z] Login Succeeded [2021-05-14T04:08:46.726Z] docker.io [2021-05-14T04:08:47.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:08:47.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:08:47.600Z] Configure a credential helper to remove this warning. See [2021-05-14T04:08:47.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:08:47.600Z] [2021-05-14T04:08:47.600Z] Login Succeeded [2021-05-14T04:08:47.600Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T04:08:47.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T04:08:47.956Z] ========================================================= [2021-05-14T04:08:47.956Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-14T04:08:47.956Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:08:48.309Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-14T04:08:48.918Z] Sending build context to Docker daemon 2.578MB [2021-05-14T04:08:48.918Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T04:08:48.918Z] Step 2/8 : FROM ${BASE} [2021-05-14T04:08:48.918Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-14T04:08:48.918Z] 595b0fe564bb: Pulling fs layer [2021-05-14T04:08:48.918Z] 7186ed65a4f7: Pulling fs layer [2021-05-14T04:08:48.918Z] 316046926c0a: Pulling fs layer [2021-05-14T04:08:48.918Z] 4ebd0625c992: Pulling fs layer [2021-05-14T04:08:48.918Z] 207e8628e3a3: Pulling fs layer [2021-05-14T04:08:48.918Z] c791037a9be2: Pulling fs layer [2021-05-14T04:08:48.918Z] ffd874e62e21: Pulling fs layer [2021-05-14T04:08:48.918Z] 207e8628e3a3: Waiting [2021-05-14T04:08:48.918Z] 4ebd0625c992: Waiting [2021-05-14T04:08:48.918Z] c791037a9be2: Waiting [2021-05-14T04:08:48.918Z] ffd874e62e21: Waiting [2021-05-14T04:08:48.918Z] 316046926c0a: Verifying Checksum [2021-05-14T04:08:48.918Z] 316046926c0a: Download complete [2021-05-14T04:08:48.918Z] 7186ed65a4f7: Verifying Checksum [2021-05-14T04:08:48.918Z] 7186ed65a4f7: Download complete [2021-05-14T04:08:48.918Z] 207e8628e3a3: Verifying Checksum [2021-05-14T04:08:48.918Z] 207e8628e3a3: Download complete [2021-05-14T04:08:48.918Z] c791037a9be2: Verifying Checksum [2021-05-14T04:08:48.918Z] c791037a9be2: Download complete [2021-05-14T04:08:48.918Z] 595b0fe564bb: Verifying Checksum [2021-05-14T04:08:48.918Z] 595b0fe564bb: Download complete [2021-05-14T04:08:49.523Z] 595b0fe564bb: Pull complete [2021-05-14T04:08:50.126Z] 7186ed65a4f7: Pull complete [2021-05-14T04:08:50.732Z] 316046926c0a: Pull complete [2021-05-14T04:08:52.174Z] ffd874e62e21: Download complete [2021-05-14T04:08:52.448Z] 4ebd0625c992: Verifying Checksum [2021-05-14T04:08:52.448Z] 4ebd0625c992: Download complete [2021-05-14T04:09:02.638Z] 4ebd0625c992: Pull complete [2021-05-14T04:09:02.638Z] 207e8628e3a3: Pull complete [2021-05-14T04:09:02.914Z] c791037a9be2: Pull complete [2021-05-14T04:09:05.215Z] Running on prd-centos7-docker-4c-2g-66 in /w/workspace/dgexfoundry_device-sdk-go_PR-930 [Pipeline] { [Pipeline] ws [2021-05-14T04:09:05.237Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-14T04:09:05.360Z] Selected Git installation does not exist. Using Default [2021-05-14T04:09:05.360Z] The recommended git tool is: NONE [2021-05-14T04:09:06.335Z] ffd874e62e21: Pull complete [2021-05-14T04:09:06.335Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-14T04:09:06.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-14T04:09:06.335Z] ---> cfc18b08335c [2021-05-14T04:09:06.335Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T04:09:07.895Z] using credential edgex-jenkins-ssh [2021-05-14T04:09:07.914Z] Cloning the remote Git repository [2021-05-14T04:09:07.893Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T04:09:07.974Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-14T04:09:08.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T04:09:08.050Z] > git --version # timeout=10 [2021-05-14T04:09:08.059Z] > git --version # 'git version 2.24.3' [2021-05-14T04:09:08.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:09:08.093Z] [INFO] Currently running in a labeled security context [2021-05-14T04:09:08.093Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T04:09:08.093Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1337716428176081934.key [2021-05-14T04:09:08.110Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T04:09:09.443Z] Merging remotes/origin/master commit 81b7d046a48529156768d67edd838b16f3fcd6f5 into PR head commit 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 [2021-05-14T04:09:09.640Z] Merge succeeded, producing 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 [2021-05-14T04:09:09.641Z] Checking out Revision 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 (PR-930) [2021-05-14T04:09:08.901Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T04:09:08.906Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T04:09:08.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T04:09:08.936Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T04:09:08.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:09:08.939Z] [INFO] Currently running in a labeled security context [2021-05-14T04:09:08.939Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T04:09:08.939Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh2789482280284284952.key [2021-05-14T04:09:08.955Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/930/head:refs/remotes/origin/PR-930 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T04:09:09.454Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T04:09:09.460Z] > git checkout -f 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 # timeout=10 [2021-05-14T04:09:09.514Z] > git remote # timeout=10 [2021-05-14T04:09:09.520Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T04:09:09.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:09:09.527Z] [INFO] Currently running in a labeled security context [2021-05-14T04:09:09.527Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T04:09:09.527Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4898347383623001763.key [2021-05-14T04:09:09.560Z] > git merge 81b7d046a48529156768d67edd838b16f3fcd6f5 # timeout=10 [2021-05-14T04:09:09.609Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T04:09:09.648Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T04:09:09.658Z] > git checkout -f 149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 # timeout=10 [2021-05-14T04:09:09.738Z] ---> Running in 5e2b487e35ad [2021-05-14T04:09:09.738Z] Removing intermediate container 5e2b487e35ad [2021-05-14T04:09:09.738Z] ---> b95363116fdb [2021-05-14T04:09:09.738Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T04:09:09.738Z] ---> Running in 0520f3341931 [2021-05-14T04:09:12.374Z] Removing intermediate container 0520f3341931 [2021-05-14T04:09:12.374Z] ---> b6cf42b42044 [2021-05-14T04:09:12.374Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-14T04:09:12.374Z] ---> Running in bf70209faaea [2021-05-14T04:09:13.313Z] Commit message: "feat: add Event tagging capability" [2021-05-14T04:09:13.361Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T04:09:14.349Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-14T04:09:14.401Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T04:09:14.678Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T04:09:14.981Z] + sudo service docker restart [2021-05-14T04:09:14.981Z] + true [2021-05-14T04:09:14.981Z] Redirecting to /bin/systemctl restart docker.service [2021-05-14T04:09:15.008Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-14T04:09:15.279Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-14T04:09:15.279Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-14T04:09:15.279Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-14T04:09:15.552Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-14T04:09:15.552Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-14T04:09:15.552Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T04:09:15.828Z] OK: 139 MiB in 46 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T04:09:15.973Z] provisioning config files... [2021-05-14T04:09:15.989Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4151098714439429606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:09:16.317Z] ---> docker-login.sh [2021-05-14T04:09:16.317Z] nexus3.edgexfoundry.org:10001 [2021-05-14T04:09:16.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:09:16.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:09:16.583Z] Configure a credential helper to remove this warning. See [2021-05-14T04:09:16.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:09:16.583Z] [2021-05-14T04:09:16.583Z] Login Succeeded [2021-05-14T04:09:16.583Z] nexus3.edgexfoundry.org:10002 [2021-05-14T04:09:16.815Z] Removing intermediate container bf70209faaea [2021-05-14T04:09:16.815Z] ---> f11168688c74 [2021-05-14T04:09:16.815Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-14T04:09:16.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:09:16.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:09:16.851Z] Configure a credential helper to remove this warning. See [2021-05-14T04:09:16.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:09:16.851Z] [2021-05-14T04:09:16.851Z] Login Succeeded [2021-05-14T04:09:16.851Z] nexus3.edgexfoundry.org:10003 [2021-05-14T04:09:17.098Z] ---> Running in ea3f81eeefcd [2021-05-14T04:09:17.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:09:17.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:09:17.112Z] Configure a credential helper to remove this warning. See [2021-05-14T04:09:17.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:09:17.112Z] [2021-05-14T04:09:17.112Z] Login Succeeded [2021-05-14T04:09:17.112Z] nexus3.edgexfoundry.org:10004 [2021-05-14T04:09:17.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:09:17.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:09:17.376Z] Configure a credential helper to remove this warning. See [2021-05-14T04:09:17.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:09:17.376Z] [2021-05-14T04:09:17.376Z] Login Succeeded [2021-05-14T04:09:17.376Z] docker.io [2021-05-14T04:09:17.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:09:17.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:09:17.640Z] Configure a credential helper to remove this warning. See [2021-05-14T04:09:17.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:09:17.640Z] [2021-05-14T04:09:17.640Z] Login Succeeded [2021-05-14T04:09:17.640Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T04:09:17.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2021-05-14T04:09:17.698Z] Removing intermediate container ea3f81eeefcd [2021-05-14T04:09:17.698Z] ---> a96191b5b525 [2021-05-14T04:09:17.698Z] Step 7/8 : COPY . . [Pipeline] unstash [Pipeline] echo [2021-05-14T04:09:17.852Z] ========================================================= [2021-05-14T04:09:17.852Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-14T04:09:17.852Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:09:18.178Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-14T04:09:18.178Z] Sending build context to Docker daemon 2.582MB [2021-05-14T04:09:18.178Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T04:09:18.178Z] Step 2/8 : FROM ${BASE} [2021-05-14T04:09:18.445Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-14T04:09:18.445Z] 540db60ca938: Pulling fs layer [2021-05-14T04:09:18.445Z] adcc1eea9eea: Pulling fs layer [2021-05-14T04:09:18.445Z] 4c4ab2625f07: Pulling fs layer [2021-05-14T04:09:18.445Z] 0510c868ecb4: Pulling fs layer [2021-05-14T04:09:18.445Z] afea3b2eda06: Pulling fs layer [2021-05-14T04:09:18.445Z] 7809a108b3ef: Pulling fs layer [2021-05-14T04:09:18.445Z] f706445af74f: Pulling fs layer [2021-05-14T04:09:18.445Z] afea3b2eda06: Waiting [2021-05-14T04:09:18.445Z] 7809a108b3ef: Waiting [2021-05-14T04:09:18.445Z] 0510c868ecb4: Waiting [2021-05-14T04:09:18.445Z] f706445af74f: Waiting [2021-05-14T04:09:18.445Z] 4c4ab2625f07: Verifying Checksum [2021-05-14T04:09:18.445Z] 4c4ab2625f07: Download complete [2021-05-14T04:09:18.445Z] adcc1eea9eea: Verifying Checksum [2021-05-14T04:09:18.445Z] adcc1eea9eea: Download complete [2021-05-14T04:09:18.445Z] afea3b2eda06: Download complete [2021-05-14T04:09:18.445Z] 7809a108b3ef: Verifying Checksum [2021-05-14T04:09:18.445Z] 7809a108b3ef: Download complete [2021-05-14T04:09:18.445Z] 540db60ca938: Verifying Checksum [2021-05-14T04:09:18.445Z] 540db60ca938: Download complete [2021-05-14T04:09:18.709Z] 540db60ca938: Pull complete [2021-05-14T04:09:18.982Z] adcc1eea9eea: Pull complete [2021-05-14T04:09:18.982Z] 4c4ab2625f07: Pull complete [2021-05-14T04:09:19.144Z] ---> 24edb43dc189 [2021-05-14T04:09:19.144Z] Step 8/8 : RUN go mod download [2021-05-14T04:09:19.144Z] ---> Running in 2f9a514b3c39 [2021-05-14T04:09:20.376Z] f706445af74f: Verifying Checksum [2021-05-14T04:09:20.376Z] f706445af74f: Download complete [2021-05-14T04:09:20.954Z] 0510c868ecb4: Verifying Checksum [2021-05-14T04:09:20.954Z] 0510c868ecb4: Download complete [2021-05-14T04:09:26.349Z] 0510c868ecb4: Pull complete [2021-05-14T04:09:26.349Z] afea3b2eda06: Pull complete [2021-05-14T04:09:26.349Z] 7809a108b3ef: Pull complete [2021-05-14T04:09:32.970Z] f706445af74f: Pull complete [2021-05-14T04:09:32.970Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-14T04:09:32.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-14T04:09:32.970Z] ---> b068be0155e3 [2021-05-14T04:09:32.970Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T04:09:33.920Z] ---> Running in c990ddc09877 [2021-05-14T04:09:34.184Z] Removing intermediate container c990ddc09877 [2021-05-14T04:09:34.184Z] ---> cc8672a5cd89 [2021-05-14T04:09:34.184Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T04:09:34.184Z] ---> Running in 1dde92b8cdad [2021-05-14T04:09:35.594Z] Removing intermediate container 1dde92b8cdad [2021-05-14T04:09:35.594Z] ---> fa825a02ae72 [2021-05-14T04:09:35.594Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-14T04:09:35.594Z] ---> Running in 6c63ad06f297 [2021-05-14T04:09:36.176Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T04:09:36.753Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T04:09:37.330Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-14T04:09:37.330Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-14T04:09:37.599Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-14T04:09:37.599Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-14T04:09:37.864Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-14T04:09:38.445Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-14T04:09:38.445Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T04:09:38.445Z] OK: 150 MiB in 46 packages [2021-05-14T04:09:39.400Z] Removing intermediate container 6c63ad06f297 [2021-05-14T04:09:39.400Z] ---> 9c9cb4ad3cef [2021-05-14T04:09:39.400Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-14T04:09:39.400Z] ---> Running in b2fa4b79784c [2021-05-14T04:09:39.400Z] Removing intermediate container b2fa4b79784c [2021-05-14T04:09:39.400Z] ---> 8226bede1593 [2021-05-14T04:09:39.400Z] Step 7/8 : COPY . . [2021-05-14T04:09:40.810Z] ---> dec7f9dc10fb [2021-05-14T04:09:40.810Z] Step 8/8 : RUN go mod download [2021-05-14T04:09:40.810Z] ---> Running in c4f7bb0dbafd [2021-05-14T04:09:45.947Z] Removing intermediate container 2f9a514b3c39 [2021-05-14T04:09:45.948Z] ---> 162ce3f7c86c [2021-05-14T04:09:45.948Z] Successfully built 162ce3f7c86c [2021-05-14T04:09:45.948Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:09:46.300Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T04:09:46.300Z] . [Pipeline] withDockerContainer [2021-05-14T04:09:46.553Z] prd-ubuntu18.04-docker-arm64-4c-16g-65 does not seem to be running inside a container [2021-05-14T04:09:46.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-14T04:09:48.206Z] $ docker top 3fb6ca1bb2a910b6f72b7e15e6e4bf9414e1b7194e407601fc6d0a144fe34f0c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T04:09:49.195Z] + go version [2021-05-14T04:09:49.196Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-14T04:09:49.229Z] $ docker stop --time=1 3fb6ca1bb2a910b6f72b7e15e6e4bf9414e1b7194e407601fc6d0a144fe34f0c [2021-05-14T04:09:51.126Z] $ docker rm -f 3fb6ca1bb2a910b6f72b7e15e6e4bf9414e1b7194e407601fc6d0a144fe34f0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:09:51.885Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T04:09:51.886Z] . [Pipeline] withDockerContainer [2021-05-14T04:09:52.176Z] prd-ubuntu18.04-docker-arm64-4c-16g-65 does not seem to be running inside a container [2021-05-14T04:09:52.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-14T04:09:53.881Z] $ docker top fa12aae3900321b032a8a093e703dd66377d1371cffa084892b646212cf34194 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T04:09:54.846Z] + go mod tidy [Pipeline] sh [2021-05-14T04:09:56.126Z] + make test [2021-05-14T04:09:56.127Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-14T04:10:07.459Z] Removing intermediate container c4f7bb0dbafd [2021-05-14T04:10:07.460Z] ---> 4e0bf9d2386d [2021-05-14T04:10:07.460Z] Successfully built 4e0bf9d2386d [2021-05-14T04:10:07.460Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:10:07.785Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T04:10:07.785Z] . [Pipeline] withDockerContainer [2021-05-14T04:10:07.908Z] prd-centos7-docker-4c-2g-66 does not seem to be running inside a container [2021-05-14T04:10:07.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-14T04:10:08.747Z] $ docker top aeab4b396a94702bf6d93484b7f6fba641201b0e47c0cf2b9fa81df7989f382c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T04:10:09.171Z] + go version [2021-05-14T04:10:09.172Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-14T04:10:09.191Z] $ docker stop --time=1 aeab4b396a94702bf6d93484b7f6fba641201b0e47c0cf2b9fa81df7989f382c [2021-05-14T04:10:10.529Z] $ docker rm -f aeab4b396a94702bf6d93484b7f6fba641201b0e47c0cf2b9fa81df7989f382c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:10:11.177Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T04:10:11.177Z] . [Pipeline] withDockerContainer [2021-05-14T04:10:11.280Z] prd-centos7-docker-4c-2g-66 does not seem to be running inside a container [2021-05-14T04:10:11.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-14T04:10:11.919Z] $ docker top 1548219d4623e6d576f754f14e661f275cc4a02c676856e0c7b4cdd67dacd815 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T04:10:12.334Z] + go mod tidy [Pipeline] sh [2021-05-14T04:10:13.224Z] + make test [2021-05-14T04:10:13.224Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-14T04:10:21.407Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-14T04:10:23.019Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-14T04:10:43.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-14T04:10:43.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-14T04:10:43.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-14T04:10:47.834Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.088s coverage: 25.4% of statements [2021-05-14T04:10:47.834Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-14T04:10:47.834Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.103s coverage: 28.1% of statements [2021-05-14T04:10:47.834Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.089s coverage: 78.9% of statements [2021-05-14T04:10:48.575Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.077s coverage: 10.7% of statements [2021-05-14T04:10:48.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-14T04:10:48.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-14T04:10:48.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-14T04:10:48.871Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.103s coverage: 30.2% of statements [2021-05-14T04:10:48.871Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-14T04:10:49.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.099s coverage: 83.3% of statements [2021-05-14T04:10:49.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-14T04:10:49.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-14T04:10:49.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.125s coverage: 58.0% of statements [2021-05-14T04:10:51.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.212s coverage: 89.2% of statements [2021-05-14T04:10:51.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-14T04:10:51.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 5.0% of statements [2021-05-14T04:10:51.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-14T04:10:51.222Z] GO111MODULE=on go vet ./... [2021-05-14T04:11:13.332Z] gofmt -l . [2021-05-14T04:11:13.333Z] [ "`gofmt -l .`" = "" ] [2021-05-14T04:11:13.333Z] ./bin/test-attribution-txt.sh [2021-05-14T04:11:13.333Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-14T04:11:13.354Z] $ docker stop --time=1 1548219d4623e6d576f754f14e661f275cc4a02c676856e0c7b4cdd67dacd815 [2021-05-14T04:11:15.121Z] $ docker rm -f 1548219d4623e6d576f754f14e661f275cc4a02c676856e0c7b4cdd67dacd815 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T04:11:15.794Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T04:11:16.204Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-14T04:11:17.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T04:11:17.884Z] + ls -al . [2021-05-14T04:11:17.884Z] total 212 [2021-05-14T04:11:17.884Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 14 04:11 . [2021-05-14T04:11:17.884Z] drwxrwxr-x. 4 jenkins jenkins 28 May 14 04:09 .. [2021-05-14T04:11:17.884Z] drwxrwxr-x. 2 jenkins jenkins 64 May 14 04:09 bin [2021-05-14T04:11:17.884Z] -rw-r--r--. 1 jenkins jenkins 126187 May 14 04:10 coverage.out [2021-05-14T04:11:17.884Z] -rw-rw-r--. 1 jenkins jenkins 987 May 14 04:09 Dockerfile.build [2021-05-14T04:11:17.884Z] -rw-rw-r--. 1 jenkins jenkins 140 May 14 04:09 .dockerignore [2021-05-14T04:11:17.884Z] drwxrwxr-x. 5 jenkins jenkins 62 May 14 04:09 example [2021-05-14T04:11:17.884Z] drwxrwxr-x. 8 jenkins jenkins 179 May 14 04:09 .git [2021-05-14T04:11:17.884Z] drwxrwxr-x. 2 jenkins jenkins 103 May 14 04:09 .github [2021-05-14T04:11:17.884Z] -rw-rw-r--. 1 jenkins jenkins 138 May 14 04:09 .gitignore [2021-05-14T04:11:17.884Z] -rw-r--r--. 1 jenkins jenkins 575 May 14 04:11 go.mod [2021-05-14T04:11:17.884Z] -rw-r--r--. 1 jenkins jenkins 20803 May 14 04:10 go.sum [2021-05-14T04:11:17.884Z] drwxrwxr-x. 15 jenkins jenkins 224 May 14 04:09 internal [2021-05-14T04:11:17.884Z] -rw-rw-r--. 1 jenkins jenkins 894 May 14 04:09 Jenkinsfile [2021-05-14T04:11:17.884Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 14 04:09 LICENSE [2021-05-14T04:11:17.884Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 14 04:09 Makefile [2021-05-14T04:11:17.884Z] drwxrwxr-x. 4 jenkins jenkins 26 May 14 04:09 openapi [2021-05-14T04:11:17.884Z] drwxrwxr-x. 5 jenkins jenkins 50 May 14 04:09 pkg [2021-05-14T04:11:17.884Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 14 04:09 README.md [2021-05-14T04:11:17.884Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 14 04:09 RELEASE-NOTES.txt [2021-05-14T04:11:17.884Z] drwxrwxr-x. 4 jenkins jenkins 54 May 14 04:09 snap [2021-05-14T04:11:17.884Z] -rw-rw-r--. 1 jenkins jenkins 5 May 14 04:05 VERSION [2021-05-14T04:11:17.884Z] -rw-rw-r--. 1 jenkins jenkins 222 May 14 04:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:11:18.205Z] + docker build -t 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=149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 --label arch=amd64 --label version=0.0.0 . [2021-05-14T04:11:18.471Z] Sending build context to Docker daemon 2.709MB [2021-05-14T04:11:18.471Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T04:11:18.471Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-14T04:11:18.471Z] ---> 4e0bf9d2386d [2021-05-14T04:11:18.471Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-14T04:11:19.052Z] ---> Running in 1c8482ca9ee6 [2021-05-14T04:11:19.052Z] Removing intermediate container 1c8482ca9ee6 [2021-05-14T04:11:19.052Z] ---> 86df3a087483 [2021-05-14T04:11:19.052Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T04:11:19.052Z] ---> Running in 8a514fd7cb85 [2021-05-14T04:11:19.316Z] Removing intermediate container 8a514fd7cb85 [2021-05-14T04:11:19.316Z] ---> 0a30ba3808ce [2021-05-14T04:11:19.316Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T04:11:19.316Z] ---> Running in 9074457198e1 [2021-05-14T04:11:20.264Z] Removing intermediate container 9074457198e1 [2021-05-14T04:11:20.264Z] ---> 3215db73a599 [2021-05-14T04:11:20.264Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-14T04:11:20.264Z] ---> Running in 4f176b207149 [2021-05-14T04:11:20.845Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T04:11:21.421Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T04:11:22.000Z] OK: 150 MiB in 46 packages [2021-05-14T04:11:22.265Z] Removing intermediate container 4f176b207149 [2021-05-14T04:11:22.265Z] ---> b7199606e82f [2021-05-14T04:11:22.265Z] Step 7/23 : COPY . . [2021-05-14T04:11:23.677Z] ---> 8aad4372a12b [2021-05-14T04:11:23.677Z] Step 8/23 : RUN go mod download [2021-05-14T04:11:23.677Z] ---> Running in 02c6407bffe0 [2021-05-14T04:11:24.253Z] Removing intermediate container 02c6407bffe0 [2021-05-14T04:11:24.253Z] ---> 6528675d5c97 [2021-05-14T04:11:24.253Z] Step 9/23 : RUN make build [2021-05-14T04:11:24.516Z] ---> Running in 8813498336eb [2021-05-14T04:11:24.791Z] CGO_ENABLED=1 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-05-14T04:11:31.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-14T04:11:31.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-14T04:11:31.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-14T04:11:37.167Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-14T04:11:37.433Z] Removing intermediate container 8813498336eb [2021-05-14T04:11:37.433Z] ---> 1ff208e06e25 [2021-05-14T04:11:37.433Z] Step 10/23 : FROM alpine:3.12 [2021-05-14T04:11:38.010Z] 3.12: Pulling from library/alpine [2021-05-14T04:11:38.010Z] 339de151aab4: Pulling fs layer [2021-05-14T04:11:38.275Z] 339de151aab4: Verifying Checksum [2021-05-14T04:11:38.275Z] 339de151aab4: Download complete [2021-05-14T04:11:38.541Z] 339de151aab4: Pull complete [2021-05-14T04:11:38.541Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T04:11:38.541Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T04:11:38.541Z] ---> 13621d1b12d4 [2021-05-14T04:11:38.541Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T04:11:38.813Z] ---> Running in 26a9f824c54a [2021-05-14T04:11:38.813Z] Removing intermediate container 26a9f824c54a [2021-05-14T04:11:38.813Z] ---> 9ac412554503 [2021-05-14T04:11:38.813Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T04:11:39.085Z] ---> Running in edd8404a8474 [2021-05-14T04:11:40.034Z] Removing intermediate container edd8404a8474 [2021-05-14T04:11:40.034Z] ---> 06c734ad58e5 [2021-05-14T04:11:40.034Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-14T04:11:40.034Z] ---> Running in 51388898299a [2021-05-14T04:11:40.296Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-14T04:11:40.874Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-14T04:11:41.452Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-14T04:11:41.452Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-14T04:11:41.452Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-14T04:11:42.403Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-14T04:11:42.404Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-14T04:11:42.668Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T04:11:42.668Z] OK: 8 MiB in 19 packages [2021-05-14T04:11:43.244Z] Removing intermediate container 51388898299a [2021-05-14T04:11:43.244Z] ---> 9f0b392f90f2 [2021-05-14T04:11:43.244Z] Step 14/23 : WORKDIR / [2021-05-14T04:11:43.244Z] ---> Running in d1ceeccf1c07 [2021-05-14T04:11:43.507Z] Removing intermediate container d1ceeccf1c07 [2021-05-14T04:11:43.507Z] ---> 306ebbf918ae [2021-05-14T04:11:43.507Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-14T04:11:43.771Z] ---> c8a047de246d [2021-05-14T04:11:43.771Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-14T04:11:44.348Z] ---> 840b79937c6f [2021-05-14T04:11:44.348Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-14T04:11:44.348Z] ---> 65a88a6150ae [2021-05-14T04:11:44.348Z] Step 18/23 : EXPOSE 49990 [2021-05-14T04:11:44.613Z] ---> Running in 56f6f789fdc7 [2021-05-14T04:11:44.613Z] Removing intermediate container 56f6f789fdc7 [2021-05-14T04:11:44.613Z] ---> ebaa87538134 [2021-05-14T04:11:44.613Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-14T04:11:44.613Z] ---> Running in b9eb35bf97aa [2021-05-14T04:11:44.876Z] Removing intermediate container b9eb35bf97aa [2021-05-14T04:11:44.876Z] ---> 8532019df2e8 [2021-05-14T04:11:44.876Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-14T04:11:44.876Z] ---> Running in bd47152ba688 [2021-05-14T04:11:45.139Z] Removing intermediate container bd47152ba688 [2021-05-14T04:11:45.139Z] ---> ac98639d8fc2 [2021-05-14T04:11:45.139Z] Step 21/23 : LABEL arch=amd64 [2021-05-14T04:11:45.139Z] ---> Running in 4202a778e3f7 [2021-05-14T04:11:45.401Z] Removing intermediate container 4202a778e3f7 [2021-05-14T04:11:45.401Z] ---> 2380a55c3699 [2021-05-14T04:11:45.401Z] Step 22/23 : LABEL git_sha=149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 [2021-05-14T04:11:45.401Z] ---> Running in 29c883c1037a [2021-05-14T04:11:45.663Z] Removing intermediate container 29c883c1037a [2021-05-14T04:11:45.663Z] ---> 216802b41e0b [2021-05-14T04:11:45.663Z] Step 23/23 : LABEL version=0.0.0 [2021-05-14T04:11:45.663Z] ---> Running in 4ef4602cae66 [2021-05-14T04:11:45.926Z] Removing intermediate container 4ef4602cae66 [2021-05-14T04:11:45.926Z] ---> a59582af02d0 [2021-05-14T04:11:45.926Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-14T04:11:45.926Z] Successfully built a59582af02d0 [2021-05-14T04:11:45.926Z] Successfully tagged 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 Post stage [2021-05-14T04:11:46.286Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.290s coverage: 25.4% of statements [2021-05-14T04:11:46.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-14T04:11:46.286Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.197s coverage: 28.1% of statements [2021-05-14T04:11:46.286Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.231s coverage: 78.9% of statements [2021-05-14T04:11:46.286Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.265s coverage: 10.7% of statements [2021-05-14T04:11:46.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-14T04:11:46.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-14T04:11:46.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:11:46.611Z] ---> job-cost.sh [2021-05-14T04:11:46.611Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-r6qv [2021-05-14T04:11:49.728Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.371s coverage: 30.2% of statements [2021-05-14T04:11:49.728Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-14T04:11:51.728Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.207s coverage: 83.3% of statements [2021-05-14T04:11:51.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-14T04:11:51.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-14T04:11:51.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.369s coverage: 58.0% of statements [2021-05-14T04:11:53.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.288s coverage: 89.2% of statements [2021-05-14T04:11:53.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-14T04:11:53.771Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.187s coverage: 5.0% of statements [2021-05-14T04:11:53.771Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-14T04:11:54.368Z] GO111MODULE=on go vet ./... [2021-05-14T04:12:01.550Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T04:12:28.200Z] lf-activate-venv(): INFO: Adding /tmp/venv-r6qv/bin to PATH [2021-05-14T04:12:28.200Z] INFO: No Stack... [2021-05-14T04:12:28.200Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T04:12:29.152Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T04:12:29.484Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-14T04:12:29.484Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T04:12:29.533Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-930-2-stack-cost] [2021-05-14T04:12:29.549Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-930-2-stack-cost] did not exist. Created. [2021-05-14T04:12:29.550Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-930-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T04:12:29.874Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-14T04:12:30.025Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T04:12:30.043Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-930-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-14T04:12:50.917Z] gofmt -l . [2021-05-14T04:12:50.917Z] [ "`gofmt -l .`" = "" ] [2021-05-14T04:12:50.917Z] ./bin/test-attribution-txt.sh [2021-05-14T04:12:50.917Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-14T04:12:50.985Z] $ docker stop --time=1 fa12aae3900321b032a8a093e703dd66377d1371cffa084892b646212cf34194 [2021-05-14T04:12:53.253Z] $ docker rm -f fa12aae3900321b032a8a093e703dd66377d1371cffa084892b646212cf34194 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T04:12:54.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T04:12:54.378Z] Warning: overwriting stash ‘coverage-report’ [2021-05-14T04:12:55.037Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T04:12:55.587Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T04:12:55.929Z] + ls -al . [2021-05-14T04:12:55.929Z] total 248 [2021-05-14T04:12:55.929Z] drwxrwxr-x 10 jenkins jenkins 4096 May 14 04:12 . [2021-05-14T04:12:55.929Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 04:08 .. [2021-05-14T04:12:55.929Z] -rw-rw-r-- 1 jenkins jenkins 140 May 14 04:08 .dockerignore [2021-05-14T04:12:55.929Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 04:08 .git [2021-05-14T04:12:55.929Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 04:08 .github [2021-05-14T04:12:55.929Z] -rw-rw-r-- 1 jenkins jenkins 138 May 14 04:08 .gitignore [2021-05-14T04:12:55.929Z] -rw-rw-r-- 1 jenkins jenkins 987 May 14 04:08 Dockerfile.build [2021-05-14T04:12:55.929Z] -rw-rw-r-- 1 jenkins jenkins 894 May 14 04:08 Jenkinsfile [2021-05-14T04:12:55.929Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 14 04:08 LICENSE [2021-05-14T04:12:55.929Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 14 04:08 Makefile [2021-05-14T04:12:55.929Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 14 04:08 README.md [2021-05-14T04:12:55.929Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 14 04:08 RELEASE-NOTES.txt [2021-05-14T04:12:55.929Z] -rw-rw-r-- 1 jenkins jenkins 5 May 14 04:05 VERSION [2021-05-14T04:12:55.929Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 04:08 bin [2021-05-14T04:12:55.929Z] -rw-r--r-- 1 jenkins jenkins 126187 May 14 04:11 coverage.out [2021-05-14T04:12:55.929Z] drwxrwxr-x 5 jenkins jenkins 4096 May 14 04:08 example [2021-05-14T04:12:55.929Z] -rw-r--r-- 1 jenkins jenkins 575 May 14 04:12 go.mod [2021-05-14T04:12:55.929Z] -rw-r--r-- 1 jenkins jenkins 20803 May 14 04:09 go.sum [2021-05-14T04:12:55.929Z] drwxrwxr-x 15 jenkins jenkins 4096 May 14 04:08 internal [2021-05-14T04:12:55.929Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 04:08 openapi [2021-05-14T04:12:55.929Z] drwxrwxr-x 5 jenkins jenkins 4096 May 14 04:08 pkg [2021-05-14T04:12:55.929Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 04:08 snap [2021-05-14T04:12:55.929Z] -rw-rw-r-- 1 jenkins jenkins 222 May 14 04:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:12:56.308Z] + docker build -t 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=149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 --label arch=arm64 --label version=0.0.0 . [2021-05-14T04:12:56.929Z] Sending build context to Docker daemon 2.705MB [2021-05-14T04:12:56.929Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T04:12:56.929Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-14T04:12:56.929Z] ---> 162ce3f7c86c [2021-05-14T04:12:56.929Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-14T04:12:57.202Z] ---> Running in 41e0b058247c [2021-05-14T04:12:57.801Z] Removing intermediate container 41e0b058247c [2021-05-14T04:12:57.801Z] ---> baa37de2feb7 [2021-05-14T04:12:57.801Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T04:12:57.801Z] ---> Running in 5698aceda753 [2021-05-14T04:12:58.397Z] Removing intermediate container 5698aceda753 [2021-05-14T04:12:58.397Z] ---> 23994ba83b22 [2021-05-14T04:12:58.397Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T04:12:58.397Z] ---> Running in df01b6245e3b [2021-05-14T04:13:00.376Z] Removing intermediate container df01b6245e3b [2021-05-14T04:13:00.376Z] ---> a32e6e2d9881 [2021-05-14T04:13:00.376Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-14T04:13:00.650Z] ---> Running in b8f2506cb6d8 [2021-05-14T04:13:01.632Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T04:13:02.603Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T04:13:03.576Z] OK: 139 MiB in 46 packages [2021-05-14T04:13:04.547Z] Removing intermediate container b8f2506cb6d8 [2021-05-14T04:13:04.547Z] ---> f56f1c5a8539 [2021-05-14T04:13:04.547Z] Step 7/23 : COPY . . [2021-05-14T04:13:05.971Z] ---> 6f03731ed14a [2021-05-14T04:13:05.971Z] Step 8/23 : RUN go mod download [2021-05-14T04:13:05.971Z] ---> Running in 85be1b851b5e [2021-05-14T04:13:07.947Z] Removing intermediate container 85be1b851b5e [2021-05-14T04:13:07.947Z] ---> fd67c813a59a [2021-05-14T04:13:07.947Z] Step 9/23 : RUN make build [2021-05-14T04:13:08.220Z] ---> Running in 00da06389526 [2021-05-14T04:13:09.201Z] CGO_ENABLED=1 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-05-14T04:13:48.253Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-14T04:13:48.253Z] Removing intermediate container 00da06389526 [2021-05-14T04:13:48.253Z] ---> 3544cdc7ddf9 [2021-05-14T04:13:48.253Z] Step 10/23 : FROM alpine:3.12 [2021-05-14T04:13:48.253Z] 3.12: Pulling from library/alpine [2021-05-14T04:13:48.253Z] d2f70382dc9a: Pulling fs layer [2021-05-14T04:13:48.253Z] d2f70382dc9a: Download complete [2021-05-14T04:13:48.253Z] d2f70382dc9a: Pull complete [2021-05-14T04:13:48.253Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T04:13:48.253Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T04:13:48.253Z] ---> 9852663dfa18 [2021-05-14T04:13:48.253Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T04:13:48.253Z] ---> Running in 3561ec0f3832 [2021-05-14T04:13:48.253Z] Removing intermediate container 3561ec0f3832 [2021-05-14T04:13:48.253Z] ---> 8e2fac034d4e [2021-05-14T04:13:48.253Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T04:13:48.528Z] ---> Running in 96591784bd79 [2021-05-14T04:13:50.503Z] Removing intermediate container 96591784bd79 [2021-05-14T04:13:50.503Z] ---> 442c68aad698 [2021-05-14T04:13:50.503Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-14T04:13:50.776Z] ---> Running in 14c1a3b4b970 [2021-05-14T04:13:51.755Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-14T04:13:52.730Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-14T04:13:54.159Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-14T04:13:54.159Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-14T04:13:54.431Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-14T04:13:54.702Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-14T04:13:54.972Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-14T04:13:55.243Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T04:13:55.243Z] OK: 8 MiB in 19 packages [2021-05-14T04:13:56.222Z] Removing intermediate container 14c1a3b4b970 [2021-05-14T04:13:56.222Z] ---> 5ac1db84cda0 [2021-05-14T04:13:56.222Z] Step 14/23 : WORKDIR / [2021-05-14T04:13:56.497Z] ---> Running in dd4daaf9af6f [2021-05-14T04:13:57.093Z] Removing intermediate container dd4daaf9af6f [2021-05-14T04:13:57.093Z] ---> 7cc273dc4d4b [2021-05-14T04:13:57.093Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-14T04:13:57.685Z] ---> c0e730345136 [2021-05-14T04:13:57.686Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-14T04:13:59.114Z] ---> b7089f9604cc [2021-05-14T04:13:59.114Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-14T04:13:59.709Z] ---> bd85d526cc46 [2021-05-14T04:13:59.709Z] Step 18/23 : EXPOSE 49990 [2021-05-14T04:13:59.709Z] ---> Running in d7bfc0b5bee2 [2021-05-14T04:14:00.313Z] Removing intermediate container d7bfc0b5bee2 [2021-05-14T04:14:00.313Z] ---> 0ba2c5ea21dd [2021-05-14T04:14:00.313Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-14T04:14:00.313Z] ---> Running in 40dd0ad68287 [2021-05-14T04:14:00.585Z] Removing intermediate container 40dd0ad68287 [2021-05-14T04:14:00.585Z] ---> 7d49aa1655a6 [2021-05-14T04:14:00.585Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-14T04:14:00.860Z] ---> Running in 2612b04fe463 [2021-05-14T04:14:01.461Z] Removing intermediate container 2612b04fe463 [2021-05-14T04:14:01.461Z] ---> aae4711ca722 [2021-05-14T04:14:01.461Z] Step 21/23 : LABEL arch=arm64 [2021-05-14T04:14:01.461Z] ---> Running in ecdef8f17deb [2021-05-14T04:14:02.057Z] Removing intermediate container ecdef8f17deb [2021-05-14T04:14:02.057Z] ---> c0b4d508cb26 [2021-05-14T04:14:02.057Z] Step 22/23 : LABEL git_sha=149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 [2021-05-14T04:14:02.057Z] ---> Running in 54b1b6d15f4c [2021-05-14T04:14:02.654Z] Removing intermediate container 54b1b6d15f4c [2021-05-14T04:14:02.654Z] ---> 2a889817bcf8 [2021-05-14T04:14:02.654Z] Step 23/23 : LABEL version=0.0.0 [2021-05-14T04:14:02.654Z] ---> Running in 9efa4e9c25ab [2021-05-14T04:14:03.249Z] Removing intermediate container 9efa4e9c25ab [2021-05-14T04:14:03.249Z] ---> 95fab5a6c160 [2021-05-14T04:14:03.249Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-14T04:14:03.249Z] Successfully built 95fab5a6c160 [2021-05-14T04:14:03.249Z] Successfully tagged 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:14:03.903Z] ---> job-cost.sh [2021-05-14T04:14:03.903Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yYtW [2021-05-14T04:14:50.820Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T04:16:27.608Z] lf-activate-venv(): INFO: Adding /tmp/venv-yYtW/bin to PATH [2021-05-14T04:16:27.608Z] INFO: No Stack... [2021-05-14T04:16:27.608Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-14T04:16:27.608Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T04:16:27.952Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-14T04:16:27.952Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T04:16:28.020Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-930-2-stack-cost] [2021-05-14T04:16:28.037Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-930-2-stack-cost] did not exist. Created. [2021-05-14T04:16:28.037Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-930-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T04:16:28.409Z] /w/workspace/device-sdk-go/2@tmp/durable-9c7ea5f9/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-9c7ea5f9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-14T04:16:28.756Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-14T04:16:28.791Z] Warning: overwriting stash ‘stack-cost’ [2021-05-14T04:16:28.949Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T04:16:28.963Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-930-2-stack-cost] [Pipeline] // lock [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] configFileProvider [2021-05-14T04:16:29.856Z] provisioning config files... [2021-05-14T04:16:29.918Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp/config7768786069837877977tmp [Pipeline] { [Pipeline] sh [2021-05-14T04:16:30.369Z] + set +x [2021-05-14T04:16:30.369Z] + curl -s https://codecov.io/bash [2021-05-14T04:16:30.369Z] + bash -s -- [2021-05-14T04:16:30.646Z] [2021-05-14T04:16:30.646Z] _____ _ [2021-05-14T04:16:30.646Z] / ____| | | [2021-05-14T04:16:30.646Z] | | ___ __| | ___ ___ _____ __ [2021-05-14T04:16:30.646Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-14T04:16:30.646Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-14T04:16:30.646Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-14T04:16:30.646Z] Bash-1.0.2 [2021-05-14T04:16:30.646Z] [2021-05-14T04:16:30.646Z] [2021-05-14T04:16:30.646Z] ==> git version 2.24.3 found [2021-05-14T04:16:30.646Z] ==> 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-05-14T04:16:30.646Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-14T04:16:30.646Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-14T04:16:30.646Z] ==> Jenkins CI detected. [2021-05-14T04:16:30.646Z] project root: . [2021-05-14T04:16:30.646Z] --> token set from env [2021-05-14T04:16:30.646Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-14T04:16:30.646Z] ==> Running gcov in . (disable via -X gcov) [2021-05-14T04:16:30.646Z] ==> Python coveragepy not found [2021-05-14T04:16:30.646Z] ==> Searching for coverage reports in: [2021-05-14T04:16:30.646Z] + . [2021-05-14T04:16:30.928Z] -> Found 1 reports [2021-05-14T04:16:30.928Z] ==> Detecting git/mercurial file structure [2021-05-14T04:16:30.928Z] ==> Reading reports [2021-05-14T04:16:30.928Z] + ./coverage.out bytes=126187 [2021-05-14T04:16:30.928Z] ==> Appending adjustments [2021-05-14T04:16:30.928Z] https://docs.codecov.io/docs/fixing-reports [2021-05-14T04:16:31.556Z] + Found adjustments [2021-05-14T04:16:31.556Z] ==> Gzipping contents [2021-05-14T04:16:31.556Z] 20K /tmp/codecov.pFKjIg.gz [2021-05-14T04:16:31.556Z] ==> Uploading reports [2021-05-14T04:16:31.556Z] url: https://codecov.io [2021-05-14T04:16:31.556Z] query: branch=PR-930&commit=149daef636ba02d045d5c8d7674ff5d4ddcfd7e2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-930%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=930&job=&cmd_args= [2021-05-14T04:16:31.556Z] -> Pinging Codecov [2021-05-14T04:16:31.556Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-930&commit=149daef636ba02d045d5c8d7674ff5d4ddcfd7e2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-930%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=930&job=&cmd_args= [2021-05-14T04:16:32.174Z] -> Uploading to [2021-05-14T04:16:32.174Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-14/7E55EF52A471D76F132DFD9A03CDDE97/149daef636ba02d045d5c8d7674ff5d4ddcfd7e2/f543a92f-0ab8-4a35-acb2-023233943586.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210514%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210514T041632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6fcef733b12268547ae357c77e5e9f7af8c9896b4ea6e24a7d25d80322aa2891 [2021-05-14T04:16:32.174Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-14T04:16:32.174Z] Dload Upload Total Spent Left Speed [2021-05-14T04:16:32.710Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16511 0 0 100 16511 0 34888 --:--:-- --:--:-- --:--:-- 34906 [2021-05-14T04:16:32.710Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/149daef636ba02d045d5c8d7674ff5d4ddcfd7e2 [Pipeline] } [2021-05-14T04:16:32.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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-05-14T04:16:34.411Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:16:35.055Z] ---> package-listing.sh [2021-05-14T04:16:35.055Z] ++ facter osfamily [2021-05-14T04:16:35.055Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-14T04:16:35.055Z] + OS_FAMILY=redhat [2021-05-14T04:16:35.055Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-930 [2021-05-14T04:16:35.055Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-14T04:16:35.055Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-14T04:16:35.055Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-14T04:16:35.055Z] + PACKAGES=/tmp/packages_start.txt [2021-05-14T04:16:35.055Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-930 ']' [2021-05-14T04:16:35.055Z] + PACKAGES=/tmp/packages_end.txt [2021-05-14T04:16:35.055Z] + case "${OS_FAMILY}" in [2021-05-14T04:16:35.055Z] + rpm -qa [2021-05-14T04:16:35.055Z] + sort [2021-05-14T04:16:42.426Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-14T04:16:42.426Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-14T04:16:42.426Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-14T04:16:42.426Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-930 ']' [2021-05-14T04:16:42.426Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-930/archives/ [2021-05-14T04:16:42.426Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-930/archives/ [Pipeline] echo [2021-05-14T04:16:42.454Z] 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-930/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-14T04:16:42.833Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:16:43.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T04:16:43.805Z] [2021-05-14T04:16:43.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:16:44.193Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T04:16:44.193Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-14T04:16:44.193Z] df20fa9351a1: Pulling fs layer [2021-05-14T04:16:44.193Z] 36b3adc4ff6f: Pulling fs layer [2021-05-14T04:16:44.193Z] 8ad3a11d3b57: Pulling fs layer [2021-05-14T04:16:44.193Z] 46f8f816bc3b: Pulling fs layer [2021-05-14T04:16:44.193Z] 93b61091891f: Pulling fs layer [2021-05-14T04:16:44.193Z] 93b9cdb0e59b: Pulling fs layer [2021-05-14T04:16:44.193Z] 5e14af77c1be: Pulling fs layer [2021-05-14T04:16:44.193Z] 01666e4c0597: Pulling fs layer [2021-05-14T04:16:44.193Z] aa168da1d23b: Pulling fs layer [2021-05-14T04:16:44.193Z] 46f8f816bc3b: Waiting [2021-05-14T04:16:44.193Z] 93b61091891f: Waiting [2021-05-14T04:16:44.193Z] 93b9cdb0e59b: Waiting [2021-05-14T04:16:44.193Z] 5e14af77c1be: Waiting [2021-05-14T04:16:44.193Z] 01666e4c0597: Waiting [2021-05-14T04:16:44.193Z] aa168da1d23b: Waiting [2021-05-14T04:16:44.539Z] 36b3adc4ff6f: Verifying Checksum [2021-05-14T04:16:44.539Z] 36b3adc4ff6f: Download complete [2021-05-14T04:16:44.539Z] 46f8f816bc3b: Verifying Checksum [2021-05-14T04:16:44.539Z] 46f8f816bc3b: Download complete [2021-05-14T04:16:44.539Z] df20fa9351a1: Verifying Checksum [2021-05-14T04:16:44.539Z] df20fa9351a1: Download complete [2021-05-14T04:16:44.539Z] 93b9cdb0e59b: Verifying Checksum [2021-05-14T04:16:44.539Z] 93b9cdb0e59b: Download complete [2021-05-14T04:16:44.539Z] 5e14af77c1be: Verifying Checksum [2021-05-14T04:16:44.539Z] 5e14af77c1be: Download complete [2021-05-14T04:16:44.539Z] 01666e4c0597: Verifying Checksum [2021-05-14T04:16:44.539Z] 01666e4c0597: Download complete [2021-05-14T04:16:44.539Z] 93b61091891f: Verifying Checksum [2021-05-14T04:16:44.539Z] 93b61091891f: Download complete [2021-05-14T04:16:45.247Z] df20fa9351a1: Pull complete [2021-05-14T04:16:45.546Z] 8ad3a11d3b57: Verifying Checksum [2021-05-14T04:16:45.546Z] 8ad3a11d3b57: Download complete [2021-05-14T04:16:45.848Z] 36b3adc4ff6f: Pull complete [2021-05-14T04:16:47.568Z] 8ad3a11d3b57: Pull complete [2021-05-14T04:16:47.924Z] 46f8f816bc3b: Pull complete [2021-05-14T04:16:48.611Z] 93b61091891f: Pull complete [2021-05-14T04:16:48.892Z] 93b9cdb0e59b: Pull complete [2021-05-14T04:16:49.249Z] 5e14af77c1be: Pull complete [2021-05-14T04:16:49.862Z] 01666e4c0597: Pull complete [2021-05-14T04:16:51.388Z] aa168da1d23b: Verifying Checksum [2021-05-14T04:16:51.388Z] aa168da1d23b: Download complete [2021-05-14T04:17:03.939Z] aa168da1d23b: Pull complete [2021-05-14T04:17:03.939Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-14T04:17:03.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T04:17:03.939Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-14T04:17:04.406Z] prd-centos7-docker-4c-2g-62 does not seem to be running inside a container [2021-05-14T04:17:04.513Z] $ 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-930/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-930 -v /w/workspace/dgexfoundry_device-sdk-go_PR-930:/w/workspace/dgexfoundry_device-sdk-go_PR-930:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-930@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:10003/edgex-lftools-log-publisher:alpine cat [2021-05-14T04:17:06.996Z] $ docker top 2aa62c97310139adf18d65b0f353a9b2d8da397539aa7c8b23dfbfed7463682a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T04:17:07.444Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-14T04:17:07.786Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-14T04:17:08.099Z] + ls /var/log/sa-host [2021-05-14T04:17:08.099Z] + sadf -c /var/log/sa-host/sa14 [2021-05-14T04:17:08.099Z] file_magic: OK [2021-05-14T04:17:08.099Z] HZ: Using current value: 100 [2021-05-14T04:17:08.099Z] file_header: OK [2021-05-14T04:17:08.099Z] 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-05-14T04:17:08.099Z] Statistics: [2021-05-14T04:17:08.099Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-14T04:17:08.099Z] File successfully converted to sysstat format version 12.2.1 [2021-05-14T04:17:08.099Z] + sadf -c /var/log/sa-host/sa23 [2021-05-14T04:17:08.099Z] file_magic: OK [2021-05-14T04:17:08.099Z] HZ: Using current value: 100 [2021-05-14T04:17:08.099Z] file_header: OK [2021-05-14T04:17:08.099Z] 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-05-14T04:17:08.099Z] Statistics: [2021-05-14T04:17:08.099Z] Hnuu...uuuununununu... [2021-05-14T04:17:08.099Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T04:17:08.309Z] provisioning config files... [2021-05-14T04:17:08.327Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-930@tmp/config1955784016001775289tmp [Pipeline] { [Pipeline] echo [2021-05-14T04:17:08.352Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:17:08.668Z] ---> create-netrc.sh [Pipeline] } [2021-05-14T04:17:08.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-14T04:17:08.709Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:17:09.032Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-14T04:17:09.062Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:17:09.378Z] ---> sudo-logs.sh [2021-05-14T04:17:09.378Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-14T04:17:09.428Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:17:09.753Z] ---> job-cost.sh [2021-05-14T04:17:09.753Z] lf-activate-venv: SKIPPING [2021-05-14T04:17:09.753Z] DEBUG: total: 0.20999999344348907 [2021-05-14T04:17:09.753Z] INFO: Retrieving Stack Cost... [2021-05-14T04:17:10.716Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T04:17:11.296Z] INFO: Archiving Costs [Pipeline] echo [2021-05-14T04:17:11.316Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:17:11.651Z] ---> logs-deploy.sh [2021-05-14T04:17:11.651Z] lf-activate-venv: SKIPPING [2021-05-14T04:17:11.651Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-930/2 [2021-05-14T04:17:11.651Z] INFO: archiving workspace using pattern(s): [2021-05-14T04:17:13.601Z] Archives upload complete. [2021-05-14T04:17:13.864Z] INFO: archiving logs to Nexus