Pull request #960 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a244db068d9d338f92108e2449d6abf774265388+f91460baaab7f197ca117fe0ead63848762b28df (510e71318bc2949c51cd06e1945b174704403905) 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-ssh7224730056181302524.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh4262733339361888162.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-960/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-960/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6466247154966604679.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh7120646262564346891.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-960/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-960/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4907177549051180015.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 ‘prd-centos7-docker-4c-2g-32’ is offline ‘prd-centos7-docker-4c-2g-35’ is offline ‘prd-centos7-docker-4c-2g-43’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-34’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-38’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-46 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [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-960 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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-960@tmp/jenkins-gitclient-ssh3841368203965714066.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 f91460baaab7f197ca117fe0ead63848762b28df into PR head commit a244db068d9d338f92108e2449d6abf774265388 Merge succeeded, producing a244db068d9d338f92108e2449d6abf774265388 Checking out Revision a244db068d9d338f92108e2449d6abf774265388 (PR-960) > 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-960@tmp/jenkins-gitclient-ssh8087312225120449740.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # 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-960@tmp/jenkins-gitclient-ssh4010985025908737952.key > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T13:18:10.403Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T13:18:10.535Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T13:18:10.565Z] ========================================================= [2021-06-09T13:18:10.565Z] EdgeX Global Pipelines Version Info [2021-06-09T13:18:10.565Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 79864a9efc35071c9b1c277b8e1661acaff94390 # timeout=10 [2021-06-09T13:18:12.008Z] ------------------- [2021-06-09T13:18:12.008Z] stable info: [2021-06-09T13:18:12.008Z] ------------------- [2021-06-09T13:18:12.008Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T13:18:12.008Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T13:18:12.008Z] Message: update stable to v1.0.194 [2021-06-09T13:18:12.598Z] ------------------- [2021-06-09T13:18:12.598Z] experimental info: [2021-06-09T13:18:12.598Z] ------------------- [2021-06-09T13:18:12.598Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T13:18:12.598Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T13:18:12.598Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T13:18:12.742Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-09T13:18:12.770Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-09T13:18:12.799Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T13:18:12.828Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T13:18:12.857Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T13:18:12.884Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T13:18:12.913Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T13:18:12.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T13:18:12.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-09T13:18:13.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T13:18:13.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T13:18:13.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-09T13:18:13.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T13:18:13.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T13:18:13.240Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T13:18:13.309Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T13:18:13.337Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T13:18:13.370Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T13:18:13.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T13:18:13.428Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T13:18:13.455Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-09T13:18:13.480Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-09T13:18:13.504Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T13:18:13.529Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T13:18:13.553Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T13:18:13.576Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T13:18:13.600Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-960 [Pipeline] echo [2021-06-09T13:18:13.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-960 [Pipeline] echo [2021-06-09T13:18:13.648Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-960 [Pipeline] echo [2021-06-09T13:18:13.673Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a244db068d9d338f92108e2449d6abf774265388 [Pipeline] echo [2021-06-09T13:18:13.697Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a244db0 [Pipeline] echo [2021-06-09T13:18:13.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T13:18:13.801Z] provisioning config files... [2021-06-09T13:18:13.817Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config5557861050663807608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:18:14.149Z] ---> docker-login.sh [2021-06-09T13:18:14.149Z] nexus3.edgexfoundry.org:10001 [2021-06-09T13:18:14.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:18:14.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:18:14.419Z] Configure a credential helper to remove this warning. See [2021-06-09T13:18:14.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:18:14.419Z] [2021-06-09T13:18:14.419Z] Login Succeeded [2021-06-09T13:18:14.419Z] nexus3.edgexfoundry.org:10002 [2021-06-09T13:18:14.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:18:14.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:18:14.684Z] Configure a credential helper to remove this warning. See [2021-06-09T13:18:14.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:18:14.684Z] [2021-06-09T13:18:14.684Z] Login Succeeded [2021-06-09T13:18:14.684Z] nexus3.edgexfoundry.org:10003 [2021-06-09T13:18:14.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:18:14.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:18:14.684Z] Configure a credential helper to remove this warning. See [2021-06-09T13:18:14.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:18:14.684Z] [2021-06-09T13:18:14.684Z] Login Succeeded [2021-06-09T13:18:14.684Z] nexus3.edgexfoundry.org:10004 [2021-06-09T13:18:14.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:18:14.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:18:14.947Z] Configure a credential helper to remove this warning. See [2021-06-09T13:18:14.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:18:14.947Z] [2021-06-09T13:18:14.947Z] Login Succeeded [2021-06-09T13:18:14.947Z] docker.io [2021-06-09T13:18:14.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:18:15.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:18:15.209Z] Configure a credential helper to remove this warning. See [2021-06-09T13:18:15.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:18:15.209Z] [2021-06-09T13:18:15.209Z] Login Succeeded [2021-06-09T13:18:15.209Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T13:18:15.217Z] 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-06-09T13:18:15.757Z] + git log --format=format:%s -1 a244db068d9d338f92108e2449d6abf774265388 [Pipeline] echo [2021-06-09T13:18:15.799Z] GIT_COMMIT: a244db068d9d338f92108e2449d6abf774265388, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-06-09T13:18:15.815Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:18:16.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T13:18:16.378Z] [2021-06-09T13:18:16.378Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:18:16.690Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T13:18:16.690Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T13:18:16.690Z] 31603596830f: Pulling fs layer [2021-06-09T13:18:16.690Z] 54011a49482f: Pulling fs layer [2021-06-09T13:18:16.690Z] a6820b24f6d8: Pulling fs layer [2021-06-09T13:18:16.690Z] f581987b2513: Pulling fs layer [2021-06-09T13:18:16.690Z] f581987b2513: Waiting [2021-06-09T13:18:16.690Z] 54011a49482f: Verifying Checksum [2021-06-09T13:18:16.690Z] 54011a49482f: Download complete [2021-06-09T13:18:16.954Z] 31603596830f: Verifying Checksum [2021-06-09T13:18:16.954Z] 31603596830f: Download complete [2021-06-09T13:18:16.954Z] a6820b24f6d8: Verifying Checksum [2021-06-09T13:18:16.954Z] a6820b24f6d8: Download complete [2021-06-09T13:18:16.954Z] f581987b2513: Verifying Checksum [2021-06-09T13:18:16.954Z] f581987b2513: Download complete [2021-06-09T13:18:16.954Z] 31603596830f: Pull complete [2021-06-09T13:18:17.219Z] 54011a49482f: Pull complete [2021-06-09T13:18:17.814Z] a6820b24f6d8: Pull complete [2021-06-09T13:18:18.076Z] f581987b2513: Pull complete [2021-06-09T13:18:18.076Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T13:18:18.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T13:18:18.076Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T13:18:18.153Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-06-09T13:18:18.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-960 -v /w/workspace/dgexfoundry_device-sdk-go_PR-960:/w/workspace/dgexfoundry_device-sdk-go_PR-960:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-960@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-06-09T13:18:19.261Z] $ docker top 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T13:18:19.412Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T13:18:19.412Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T13:18:19.525Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T13:18:19.523Z] $ docker exec 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 ssh-agent [2021-06-09T13:18:19.643Z] SSH_AUTH_SOCK=/tmp/ssh-ox434YqcMeLI/agent.14 [2021-06-09T13:18:19.643Z] SSH_AGENT_PID=20 [2021-06-09T13:18:19.652Z] Running ssh-add (command line suppressed) [2021-06-09T13:18:19.747Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_6037870424050463324.key (/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_6037870424050463324.key) [2021-06-09T13:18:19.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T13:18:20.068Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T13:18:20.077Z] $ docker exec --env ******** --env ******** 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 ssh-agent -k [2021-06-09T13:18:20.178Z] unset SSH_AUTH_SOCK; [2021-06-09T13:18:20.179Z] unset SSH_AGENT_PID; [2021-06-09T13:18:20.179Z] echo Agent pid 20 killed; [2021-06-09T13:18:20.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T13:18:20.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T13:18:20.237Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T13:18:20.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T13:18:20.347Z] $ docker exec 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 ssh-agent [2021-06-09T13:18:20.453Z] SSH_AUTH_SOCK=/tmp/ssh-L2PE6zYlSt6j/agent.55 [2021-06-09T13:18:20.453Z] SSH_AGENT_PID=61 [2021-06-09T13:18:20.458Z] Running ssh-add (command line suppressed) [2021-06-09T13:18:20.555Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_9014065507991224559.key (/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_9014065507991224559.key) [2021-06-09T13:18:20.573Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T13:18:20.877Z] + git semver init [2021-06-09T13:18:20.877Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T13:18:20.877Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-960/.git [2021-06-09T13:18:20.877Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-960 [2021-06-09T13:18:20.877Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T13:18:20.877Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T13:18:20.877Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T13:18:20.877Z] # $SEMVER_BRANCH = PR-960 [2021-06-09T13:18:20.877Z] # $SEMVER_TEMP = /tmp/semver-187528164 [2021-06-09T13:18:20.877Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-09T13:18:21.456Z] # '/tmp/semver-187528164' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-960/.semver' [2021-06-09T13:18:21.456Z] # -> Force: false [2021-06-09T13:18:21.456Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-960/.semver [Pipeline] } [2021-06-09T13:18:21.465Z] $ docker exec --env ******** --env ******** 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 ssh-agent -k [2021-06-09T13:18:21.566Z] unset SSH_AUTH_SOCK; [2021-06-09T13:18:21.566Z] unset SSH_AGENT_PID; [2021-06-09T13:18:21.566Z] echo Agent pid 61 killed; [2021-06-09T13:18:21.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T13:18:21.926Z] + git semver [Pipeline] } [2021-06-09T13:18:21.936Z] $ docker stop --time=1 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 [2021-06-09T13:18:23.210Z] $ docker rm -f 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T13:18:23.578Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T13:18:23.843Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T13:18:23.847Z] [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-06-09T13:18:39.062Z] Still waiting to schedule task [2021-06-09T13:18:39.063Z] ‘prd-centos7-docker-4c-2g-44’ is offline [2021-06-09T13:18:39.063Z] ‘prd-centos7-docker-4c-2g-45’ is offline [2021-06-09T13:18:39.063Z] ‘prd-centos7-docker-4c-2g-47’ is offline [2021-06-09T13:18:39.063Z] ‘prd-centos7-docker-4c-2g-48’ is offline [2021-06-09T13:18:39.063Z] ‘prd-centos7-docker-4c-2g-49’ is offline [2021-06-09T13:18:39.065Z] Still waiting to schedule task [2021-06-09T13:18:39.066Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-41’ [2021-06-09T13:19:04.688Z] Running on prd-centos7-docker-4c-2g-47 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [Pipeline] { [Pipeline] ws [2021-06-09T13:19:04.706Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-09T13:19:04.853Z] Selected Git installation does not exist. Using Default [2021-06-09T13:19:04.853Z] The recommended git tool is: NONE [2021-06-09T13:19:07.259Z] using credential edgex-jenkins-ssh [2021-06-09T13:19:07.289Z] Cloning the remote Git repository [2021-06-09T13:19:07.308Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:19:07.459Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-09T13:19:07.509Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:19:07.509Z] > git --version # timeout=10 [2021-06-09T13:19:07.524Z] > git --version # 'git version 2.24.4' [2021-06-09T13:19:07.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:19:07.561Z] [INFO] Currently running in a labeled security context [2021-06-09T13:19:07.561Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T13:19:07.561Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh9122282577986598324.key [2021-06-09T13:19:07.577Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T13:19:08.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T13:19:08.280Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T13:19:08.291Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T13:19:08.310Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:19:08.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:19:08.312Z] [INFO] Currently running in a labeled security context [2021-06-09T13:19:08.312Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T13:19:08.312Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh8849044876091528214.key [2021-06-09T13:19:08.673Z] Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit a244db068d9d338f92108e2449d6abf774265388 [2021-06-09T13:19:08.777Z] Merge succeeded, producing a244db068d9d338f92108e2449d6abf774265388 [2021-06-09T13:19:08.777Z] Checking out Revision a244db068d9d338f92108e2449d6abf774265388 (PR-960) [2021-06-09T13:19:08.320Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T13:19:08.680Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T13:19:08.694Z] > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 [2021-06-09T13:19:08.728Z] > git remote # timeout=10 [2021-06-09T13:19:08.736Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T13:19:08.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:19:08.745Z] [INFO] Currently running in a labeled security context [2021-06-09T13:19:08.745Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T13:19:08.745Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh1725894938138799801.key [2021-06-09T13:19:08.757Z] > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 [2021-06-09T13:19:08.765Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T13:19:08.776Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T13:19:08.786Z] > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 [2021-06-09T13:19:12.397Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T13:19:13.409Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T13:19:13.741Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T13:19:14.054Z] + sudo service docker restart [2021-06-09T13:19:14.054Z] + true [2021-06-09T13:19:14.054Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T13:19:32.308Z] provisioning config files... [2021-06-09T13:19:32.322Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config2969248361353368557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:19:32.662Z] ---> docker-login.sh [2021-06-09T13:19:32.663Z] nexus3.edgexfoundry.org:10001 [2021-06-09T13:19:32.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:19:32.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:19:32.927Z] Configure a credential helper to remove this warning. See [2021-06-09T13:19:32.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:19:32.927Z] [2021-06-09T13:19:32.927Z] Login Succeeded [2021-06-09T13:19:32.927Z] nexus3.edgexfoundry.org:10002 [2021-06-09T13:19:32.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:19:32.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:19:32.927Z] Configure a credential helper to remove this warning. See [2021-06-09T13:19:32.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:19:32.927Z] [2021-06-09T13:19:32.927Z] Login Succeeded [2021-06-09T13:19:32.927Z] nexus3.edgexfoundry.org:10003 [2021-06-09T13:19:33.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:19:33.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:19:33.190Z] Configure a credential helper to remove this warning. See [2021-06-09T13:19:33.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:19:33.190Z] [2021-06-09T13:19:33.190Z] Login Succeeded [2021-06-09T13:19:33.190Z] nexus3.edgexfoundry.org:10004 [2021-06-09T13:19:33.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:19:33.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:19:33.452Z] Configure a credential helper to remove this warning. See [2021-06-09T13:19:33.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:19:33.452Z] [2021-06-09T13:19:33.452Z] Login Succeeded [2021-06-09T13:19:33.452Z] docker.io [2021-06-09T13:19:33.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:19:33.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:19:33.714Z] Configure a credential helper to remove this warning. See [2021-06-09T13:19:33.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:19:33.714Z] [2021-06-09T13:19:33.714Z] Login Succeeded [2021-06-09T13:19:33.714Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T13:19:33.722Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T13:19:33.896Z] ========================================================= [2021-06-09T13:19:33.896Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T13:19:33.896Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:19:34.207Z] + 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-06-09T13:19:34.207Z] Sending build context to Docker daemon 2.649MB [2021-06-09T13:19:34.207Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T13:19:34.207Z] Step 2/8 : FROM ${BASE} [2021-06-09T13:19:34.470Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T13:19:34.470Z] 540db60ca938: Pulling fs layer [2021-06-09T13:19:34.470Z] adcc1eea9eea: Pulling fs layer [2021-06-09T13:19:34.470Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T13:19:34.470Z] 0510c868ecb4: Pulling fs layer [2021-06-09T13:19:34.470Z] afea3b2eda06: Pulling fs layer [2021-06-09T13:19:34.470Z] 7809a108b3ef: Pulling fs layer [2021-06-09T13:19:34.470Z] f706445af74f: Pulling fs layer [2021-06-09T13:19:34.470Z] 0510c868ecb4: Waiting [2021-06-09T13:19:34.470Z] afea3b2eda06: Waiting [2021-06-09T13:19:34.470Z] 7809a108b3ef: Waiting [2021-06-09T13:19:34.732Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T13:19:34.732Z] 4c4ab2625f07: Download complete [2021-06-09T13:19:34.732Z] adcc1eea9eea: Verifying Checksum [2021-06-09T13:19:34.732Z] adcc1eea9eea: Download complete [2021-06-09T13:19:34.732Z] afea3b2eda06: Verifying Checksum [2021-06-09T13:19:34.732Z] afea3b2eda06: Download complete [2021-06-09T13:19:34.993Z] 7809a108b3ef: Verifying Checksum [2021-06-09T13:19:34.993Z] 7809a108b3ef: Download complete [2021-06-09T13:19:34.993Z] 540db60ca938: Verifying Checksum [2021-06-09T13:19:34.993Z] 540db60ca938: Download complete [2021-06-09T13:19:35.255Z] 540db60ca938: Pull complete [2021-06-09T13:19:35.515Z] adcc1eea9eea: Pull complete [2021-06-09T13:19:35.515Z] 4c4ab2625f07: Pull complete [2021-06-09T13:19:38.063Z] f706445af74f: Verifying Checksum [2021-06-09T13:19:38.063Z] f706445af74f: Download complete [2021-06-09T13:19:39.030Z] 0510c868ecb4: Verifying Checksum [2021-06-09T13:19:39.030Z] 0510c868ecb4: Download complete [2021-06-09T13:19:42.373Z] 0510c868ecb4: Pull complete [2021-06-09T13:19:42.373Z] afea3b2eda06: Pull complete [2021-06-09T13:19:42.644Z] 7809a108b3ef: Pull complete [2021-06-09T13:19:44.032Z] f706445af74f: Pull complete [2021-06-09T13:19:44.032Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T13:19:44.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T13:19:44.032Z] ---> b068be0155e3 [2021-06-09T13:19:44.032Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:19:56.275Z] ---> Running in 4a55b4b0d3e8 [2021-06-09T13:19:56.275Z] Removing intermediate container 4a55b4b0d3e8 [2021-06-09T13:19:56.275Z] ---> d3d5a3c9457a [2021-06-09T13:19:56.275Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:19:56.275Z] ---> Running in a94e81e67f20 [2021-06-09T13:19:56.850Z] Removing intermediate container a94e81e67f20 [2021-06-09T13:19:56.850Z] ---> 9bd41aeca3f3 [2021-06-09T13:19:56.850Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T13:19:56.850Z] ---> Running in 36c808a917d9 [2021-06-09T13:19:57.114Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T13:19:58.058Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T13:19:58.322Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T13:19:58.322Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T13:19:58.583Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T13:19:58.583Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T13:19:58.583Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T13:19:58.846Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T13:19:58.846Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T13:19:58.846Z] OK: 150 MiB in 46 packages [2021-06-09T13:19:59.425Z] Removing intermediate container 36c808a917d9 [2021-06-09T13:19:59.425Z] ---> eb0a8eb40935 [2021-06-09T13:19:59.425Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T13:19:59.425Z] ---> Running in 4fb41eeef333 [2021-06-09T13:19:59.425Z] Removing intermediate container 4fb41eeef333 [2021-06-09T13:19:59.425Z] ---> c47fa88ae234 [2021-06-09T13:19:59.425Z] Step 7/8 : COPY . . [2021-06-09T13:20:00.025Z] ---> e50c4c098666 [2021-06-09T13:20:00.025Z] Step 8/8 : RUN go mod download [2021-06-09T13:20:00.287Z] ---> Running in af1bd614af12 [2021-06-09T13:20:18.450Z] Removing intermediate container af1bd614af12 [2021-06-09T13:20:18.450Z] ---> 055e5bfd5a5b [2021-06-09T13:20:18.450Z] Successfully built 055e5bfd5a5b [2021-06-09T13:20:18.450Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:20:18.758Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T13:20:18.758Z] . [Pipeline] withDockerContainer [2021-06-09T13:20:18.833Z] prd-centos7-docker-4c-2g-47 does not seem to be running inside a container [2021-06-09T13:20:18.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T13:20:19.296Z] $ docker top 04cb76e105cc9c17cdd9c9f83d7663e757737a5ec9c04bdb26101f1c6c62d436 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T13:20:19.686Z] + go version [2021-06-09T13:20:19.686Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T13:20:19.708Z] $ docker stop --time=1 04cb76e105cc9c17cdd9c9f83d7663e757737a5ec9c04bdb26101f1c6c62d436 [2021-06-09T13:20:20.893Z] $ docker rm -f 04cb76e105cc9c17cdd9c9f83d7663e757737a5ec9c04bdb26101f1c6c62d436 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:20:21.504Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T13:20:21.504Z] . [Pipeline] withDockerContainer [2021-06-09T13:20:21.582Z] prd-centos7-docker-4c-2g-47 does not seem to be running inside a container [2021-06-09T13:20:21.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T13:20:22.012Z] $ docker top 8bb987b620456c70122f4f01bdf19d8985a9d32ae00a7da08ec8cd84baee3549 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T13:20:22.406Z] + go mod tidy [Pipeline] sh [2021-06-09T13:20:22.988Z] + make test [2021-06-09T13:20:22.988Z] go mod tidy [2021-06-09T13:20:23.261Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T13:20:28.580Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T13:20:50.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T13:20:50.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T13:20:50.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T13:20:54.030Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.070s coverage: 25.4% of statements [2021-06-09T13:20:54.030Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T13:20:54.030Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 28.1% of statements [2021-06-09T13:20:54.030Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2021-06-09T13:20:54.292Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements [2021-06-09T13:20:54.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T13:20:54.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T13:20:54.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T13:20:54.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 29.2% of statements [2021-06-09T13:20:54.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T13:20:56.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 83.3% of statements [2021-06-09T13:20:56.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T13:20:56.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T13:20:56.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 58.0% of statements [2021-06-09T13:20:57.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.852s coverage: 89.2% of statements [2021-06-09T13:20:57.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T13:20:57.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 5.0% of statements [2021-06-09T13:20:57.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T13:20:57.537Z] GO111MODULE=on go vet ./... [2021-06-09T13:21:15.762Z] gofmt -l . [2021-06-09T13:21:15.762Z] [ "`gofmt -l .`" = "" ] [2021-06-09T13:21:15.762Z] ./bin/test-attribution-txt.sh [2021-06-09T13:21:15.762Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T13:21:15.771Z] $ docker stop --time=1 8bb987b620456c70122f4f01bdf19d8985a9d32ae00a7da08ec8cd84baee3549 [2021-06-09T13:21:17.360Z] $ docker rm -f 8bb987b620456c70122f4f01bdf19d8985a9d32ae00a7da08ec8cd84baee3549 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T13:21:17.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T13:21:18.050Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-09T13:21:22.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T13:21:22.394Z] + ls -al . [2021-06-09T13:21:22.394Z] total 212 [2021-06-09T13:21:22.394Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 9 13:21 . [2021-06-09T13:21:22.394Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 13:19 .. [2021-06-09T13:21:22.394Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 13:19 bin [2021-06-09T13:21:22.394Z] -rw-r--r--. 1 jenkins jenkins 126072 Jun 9 13:20 coverage.out [2021-06-09T13:21:22.394Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 9 13:19 Dockerfile.build [2021-06-09T13:21:22.394Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 9 13:19 .dockerignore [2021-06-09T13:21:22.394Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 9 13:19 example [2021-06-09T13:21:22.394Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 13:19 .git [2021-06-09T13:21:22.394Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 13:19 .github [2021-06-09T13:21:22.394Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 9 13:19 .gitignore [2021-06-09T13:21:22.394Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 9 13:21 go.mod [2021-06-09T13:21:22.394Z] -rw-r--r--. 1 jenkins jenkins 20590 Jun 9 13:20 go.sum [2021-06-09T13:21:22.394Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 9 13:19 internal [2021-06-09T13:21:22.394Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 9 13:19 Jenkinsfile [2021-06-09T13:21:22.394Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 9 13:19 LICENSE [2021-06-09T13:21:22.394Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 9 13:19 Makefile [2021-06-09T13:21:22.394Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 9 13:19 openapi [2021-06-09T13:21:22.394Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 9 13:19 pkg [2021-06-09T13:21:22.394Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 9 13:19 README.md [2021-06-09T13:21:22.394Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 9 13:19 RELEASE-NOTES.txt [2021-06-09T13:21:22.394Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 9 13:19 snap [2021-06-09T13:21:22.394Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 13:18 VERSION [2021-06-09T13:21:22.394Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 9 13:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:21:22.697Z] + 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=a244db068d9d338f92108e2449d6abf774265388 --label arch=amd64 --label version=0.0.0 . [2021-06-09T13:21:22.697Z] Sending build context to Docker daemon 2.776MB [2021-06-09T13:21:22.697Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T13:21:22.697Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T13:21:22.697Z] ---> 055e5bfd5a5b [2021-06-09T13:21:22.697Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T13:21:22.697Z] ---> Running in 0e717283af9e [2021-06-09T13:21:23.295Z] Removing intermediate container 0e717283af9e [2021-06-09T13:21:23.295Z] ---> d2e8bd4df360 [2021-06-09T13:21:23.295Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:21:23.295Z] ---> Running in f5abbf80f3f9 [2021-06-09T13:21:23.295Z] Removing intermediate container f5abbf80f3f9 [2021-06-09T13:21:23.295Z] ---> 49aca8a9fe8e [2021-06-09T13:21:23.295Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:21:23.295Z] ---> Running in dad363672bba [2021-06-09T13:21:24.247Z] Removing intermediate container dad363672bba [2021-06-09T13:21:24.247Z] ---> 1d332296d413 [2021-06-09T13:21:24.247Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T13:21:24.247Z] ---> Running in eedfa9c8199a [2021-06-09T13:21:24.247Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T13:21:25.190Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T13:21:25.456Z] OK: 150 MiB in 46 packages [2021-06-09T13:21:25.723Z] Removing intermediate container eedfa9c8199a [2021-06-09T13:21:25.723Z] ---> 9f78b5ad4af2 [2021-06-09T13:21:25.723Z] Step 7/23 : COPY . . [2021-06-09T13:21:25.984Z] ---> 13279096fd45 [2021-06-09T13:21:25.984Z] Step 8/23 : RUN go mod download [2021-06-09T13:21:26.246Z] ---> Running in b4ce300dbde9 [2021-06-09T13:21:26.820Z] Removing intermediate container b4ce300dbde9 [2021-06-09T13:21:26.820Z] ---> 398db9107dc4 [2021-06-09T13:21:26.820Z] Step 9/23 : RUN make build [2021-06-09T13:21:26.820Z] ---> Running in 8a4659808330 [2021-06-09T13:21:27.080Z] go mod tidy [2021-06-09T13:21:27.362Z] 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-06-09T13:21:37.445Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T13:21:38.834Z] Removing intermediate container 8a4659808330 [2021-06-09T13:21:38.834Z] ---> 911cc10f4d35 [2021-06-09T13:21:38.834Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T13:21:39.407Z] 3.12: Pulling from library/alpine [2021-06-09T13:21:39.407Z] 339de151aab4: Pulling fs layer [2021-06-09T13:21:39.670Z] 339de151aab4: Verifying Checksum [2021-06-09T13:21:39.670Z] 339de151aab4: Download complete [2021-06-09T13:21:39.670Z] 339de151aab4: Pull complete [2021-06-09T13:21:39.670Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T13:21:39.670Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T13:21:39.670Z] ---> 13621d1b12d4 [2021-06-09T13:21:39.670Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:21:39.670Z] ---> Running in fe78c1c791b2 [2021-06-09T13:21:39.931Z] Removing intermediate container fe78c1c791b2 [2021-06-09T13:21:39.931Z] ---> 73f694229dbc [2021-06-09T13:21:39.931Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:21:39.931Z] ---> Running in 20c8cc39e804 [2021-06-09T13:21:40.507Z] Removing intermediate container 20c8cc39e804 [2021-06-09T13:21:40.507Z] ---> c69ba2561a81 [2021-06-09T13:21:40.507Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T13:21:40.507Z] ---> Running in 480959e018c8 [2021-06-09T13:21:40.707Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-51 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [Pipeline] { [Pipeline] ws [2021-06-09T13:21:40.728Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-09T13:21:40.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-09T13:21:40.927Z] Selected Git installation does not exist. Using Default [2021-06-09T13:21:40.927Z] The recommended git tool is: NONE [2021-06-09T13:21:41.711Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T13:21:41.975Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T13:21:41.975Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T13:21:42.238Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T13:21:43.178Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T13:21:43.178Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T13:21:43.178Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T13:21:43.178Z] OK: 8 MiB in 19 packages [2021-06-09T13:21:43.439Z] Removing intermediate container 480959e018c8 [2021-06-09T13:21:43.439Z] ---> 5aec39520ff4 [2021-06-09T13:21:43.439Z] Step 14/23 : WORKDIR / [2021-06-09T13:21:43.439Z] ---> Running in 4b26b44ade5f [2021-06-09T13:21:43.708Z] Removing intermediate container 4b26b44ade5f [2021-06-09T13:21:43.708Z] ---> e1ab256d700a [2021-06-09T13:21:43.708Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T13:21:43.708Z] ---> b77ad745e1da [2021-06-09T13:21:43.708Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T13:21:44.284Z] ---> 5f2d3c0392fb [2021-06-09T13:21:44.284Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T13:21:44.546Z] ---> 1ed0b8eb40a2 [2021-06-09T13:21:44.546Z] Step 18/23 : EXPOSE 59999 [2021-06-09T13:21:44.546Z] ---> Running in 32341e1c398f [2021-06-09T13:21:44.546Z] Removing intermediate container 32341e1c398f [2021-06-09T13:21:44.546Z] ---> 7aa51affe79d [2021-06-09T13:21:44.546Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T13:21:44.807Z] ---> Running in 70b51c9128bc [2021-06-09T13:21:44.807Z] Removing intermediate container 70b51c9128bc [2021-06-09T13:21:44.807Z] ---> aec0f7f323a0 [2021-06-09T13:21:44.807Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T13:21:44.807Z] ---> Running in 3713ee04add9 [2021-06-09T13:21:45.069Z] Removing intermediate container 3713ee04add9 [2021-06-09T13:21:45.069Z] ---> c6e9a271e56a [2021-06-09T13:21:45.069Z] Step 21/23 : LABEL arch=amd64 [2021-06-09T13:21:45.069Z] ---> Running in f59812b9a5fe [2021-06-09T13:21:45.332Z] Removing intermediate container f59812b9a5fe [2021-06-09T13:21:45.332Z] ---> b1ad336982f7 [2021-06-09T13:21:45.332Z] Step 22/23 : LABEL git_sha=a244db068d9d338f92108e2449d6abf774265388 [2021-06-09T13:21:45.332Z] ---> Running in f193ab69bc66 [2021-06-09T13:21:45.332Z] Removing intermediate container f193ab69bc66 [2021-06-09T13:21:45.332Z] ---> 20c7b6a4e690 [2021-06-09T13:21:45.332Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T13:21:45.592Z] ---> Running in 08bfb1897fcc [2021-06-09T13:21:45.592Z] Removing intermediate container 08bfb1897fcc [2021-06-09T13:21:45.592Z] ---> d222edebba63 [2021-06-09T13:21:45.592Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T13:21:45.592Z] Successfully built d222edebba63 [2021-06-09T13:21:45.592Z] 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] } [2021-06-09T13:21:45.917Z] using credential edgex-jenkins-ssh [2021-06-09T13:21:45.941Z] Cloning the remote Git repository [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:21:46.456Z] ---> job-cost.sh [2021-06-09T13:21:46.456Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-a5JW [2021-06-09T13:21:46.000Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:21:46.103Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-09T13:21:46.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:21:46.276Z] > git --version # timeout=10 [2021-06-09T13:21:46.315Z] > git --version # 'git version 2.17.1' [2021-06-09T13:21:46.317Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:21:46.404Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T13:21:48.150Z] Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit a244db068d9d338f92108e2449d6abf774265388 [2021-06-09T13:21:48.354Z] Merge succeeded, producing a244db068d9d338f92108e2449d6abf774265388 [2021-06-09T13:21:48.355Z] Checking out Revision a244db068d9d338f92108e2449d6abf774265388 (PR-960) [2021-06-09T13:21:47.566Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T13:21:47.587Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T13:21:47.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T13:21:47.650Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:21:47.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:21:47.664Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T13:21:48.176Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T13:21:48.196Z] > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 [2021-06-09T13:21:48.290Z] > git remote # timeout=10 [2021-06-09T13:21:48.308Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T13:21:48.318Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:21:48.329Z] > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 [2021-06-09T13:21:48.350Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T13:21:48.368Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T13:21:48.391Z] > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 [2021-06-09T13:21:52.607Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-06-09T13:21:52.933Z] [2021-06-09T13:21:52.933Z] GitHub has been notified of this commit’s build result [2021-06-09T13:21:52.933Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T13:21:53.989Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-09T13:21:54.435Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T13:21:54.778Z] + sudo service docker restart [2021-06-09T13:21:54.778Z] + true [2021-06-09T13:21:56.482Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T13:22:11.414Z] lf-activate-venv(): INFO: Adding /tmp/venv-a5JW/bin to PATH [2021-06-09T13:22:11.414Z] INFO: No Stack... [2021-06-09T13:22:11.414Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T13:22:11.986Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T13:22:12.332Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-06-09T13:22:12.332Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T13:22:12.362Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] [2021-06-09T13:22:12.372Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] did not exist. Created. [2021-06-09T13:22:12.373Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T13:22:12.696Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T13:22:12.757Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T13:22:12.767Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T13:22:13.113Z] provisioning config files... [2021-06-09T13:22:13.139Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4132726717548013549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:22:13.521Z] ---> docker-login.sh [2021-06-09T13:22:13.521Z] nexus3.edgexfoundry.org:10001 [2021-06-09T13:22:14.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:22:14.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:22:14.722Z] Configure a credential helper to remove this warning. See [2021-06-09T13:22:14.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:22:14.722Z] [2021-06-09T13:22:14.722Z] Login Succeeded [2021-06-09T13:22:14.722Z] nexus3.edgexfoundry.org:10002 [2021-06-09T13:22:14.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:22:15.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:22:15.276Z] Configure a credential helper to remove this warning. See [2021-06-09T13:22:15.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:22:15.276Z] [2021-06-09T13:22:15.276Z] Login Succeeded [2021-06-09T13:22:15.276Z] nexus3.edgexfoundry.org:10003 [2021-06-09T13:22:15.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:22:15.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:22:15.827Z] Configure a credential helper to remove this warning. See [2021-06-09T13:22:15.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:22:15.827Z] [2021-06-09T13:22:15.828Z] Login Succeeded [2021-06-09T13:22:15.828Z] nexus3.edgexfoundry.org:10004 [2021-06-09T13:22:16.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:22:16.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:22:16.102Z] Configure a credential helper to remove this warning. See [2021-06-09T13:22:16.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:22:16.102Z] [2021-06-09T13:22:16.102Z] Login Succeeded [2021-06-09T13:22:16.102Z] docker.io [2021-06-09T13:22:16.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:22:16.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:22:16.968Z] Configure a credential helper to remove this warning. See [2021-06-09T13:22:16.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:22:16.968Z] [2021-06-09T13:22:16.968Z] Login Succeeded [2021-06-09T13:22:16.968Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T13:22:16.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T13:22:17.287Z] ========================================================= [2021-06-09T13:22:17.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T13:22:17.287Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:22:17.658Z] + 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-06-09T13:22:17.930Z] Sending build context to Docker daemon 2.647MB [2021-06-09T13:22:18.204Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T13:22:18.204Z] Step 2/8 : FROM ${BASE} [2021-06-09T13:22:18.204Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T13:22:18.204Z] 595b0fe564bb: Pulling fs layer [2021-06-09T13:22:18.204Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T13:22:18.204Z] 316046926c0a: Pulling fs layer [2021-06-09T13:22:18.204Z] 4ebd0625c992: Pulling fs layer [2021-06-09T13:22:18.204Z] 207e8628e3a3: Pulling fs layer [2021-06-09T13:22:18.204Z] c791037a9be2: Pulling fs layer [2021-06-09T13:22:18.204Z] ffd874e62e21: Pulling fs layer [2021-06-09T13:22:18.204Z] 207e8628e3a3: Waiting [2021-06-09T13:22:18.204Z] 4ebd0625c992: Waiting [2021-06-09T13:22:18.204Z] ffd874e62e21: Waiting [2021-06-09T13:22:18.204Z] 316046926c0a: Verifying Checksum [2021-06-09T13:22:18.204Z] 316046926c0a: Download complete [2021-06-09T13:22:18.204Z] 7186ed65a4f7: Verifying Checksum [2021-06-09T13:22:18.204Z] 7186ed65a4f7: Download complete [2021-06-09T13:22:18.477Z] 207e8628e3a3: Verifying Checksum [2021-06-09T13:22:18.477Z] 207e8628e3a3: Download complete [2021-06-09T13:22:18.477Z] c791037a9be2: Download complete [2021-06-09T13:22:18.477Z] 595b0fe564bb: Verifying Checksum [2021-06-09T13:22:18.477Z] 595b0fe564bb: Download complete [2021-06-09T13:22:19.076Z] 595b0fe564bb: Pull complete [2021-06-09T13:22:19.691Z] 7186ed65a4f7: Pull complete [2021-06-09T13:22:19.967Z] 316046926c0a: Pull complete [2021-06-09T13:22:20.563Z] ffd874e62e21: Download complete [2021-06-09T13:22:22.000Z] 4ebd0625c992: Verifying Checksum [2021-06-09T13:22:22.000Z] 4ebd0625c992: Download complete [2021-06-09T13:22:32.159Z] 4ebd0625c992: Pull complete [2021-06-09T13:22:32.159Z] 207e8628e3a3: Pull complete [2021-06-09T13:22:32.436Z] c791037a9be2: Pull complete [2021-06-09T13:22:35.832Z] ffd874e62e21: Pull complete [2021-06-09T13:22:35.833Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T13:22:35.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T13:22:35.833Z] ---> cfc18b08335c [2021-06-09T13:22:35.833Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:22:38.470Z] ---> Running in 0e2d88990fd0 [2021-06-09T13:22:38.470Z] Removing intermediate container 0e2d88990fd0 [2021-06-09T13:22:38.470Z] ---> 1e9fc1c2e685 [2021-06-09T13:22:38.470Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:22:38.470Z] ---> Running in 32431848024e [2021-06-09T13:22:41.174Z] Removing intermediate container 32431848024e [2021-06-09T13:22:41.174Z] ---> 524330e4c62d [2021-06-09T13:22:41.174Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T13:22:41.174Z] ---> Running in f252d780b71a [2021-06-09T13:22:42.612Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T13:22:43.202Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T13:22:44.178Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T13:22:44.178Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T13:22:44.178Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T13:22:44.451Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T13:22:44.451Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T13:22:44.726Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T13:22:44.726Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T13:22:44.726Z] OK: 139 MiB in 46 packages [2021-06-09T13:22:46.159Z] Removing intermediate container f252d780b71a [2021-06-09T13:22:46.159Z] ---> 4b89904c3dcb [2021-06-09T13:22:46.159Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T13:22:46.159Z] ---> Running in 33cbbf9abac3 [2021-06-09T13:22:46.439Z] Removing intermediate container 33cbbf9abac3 [2021-06-09T13:22:46.439Z] ---> 7b4c8d860aba [2021-06-09T13:22:46.439Z] Step 7/8 : COPY . . [2021-06-09T13:22:47.867Z] ---> b991b2b30dd1 [2021-06-09T13:22:47.867Z] Step 8/8 : RUN go mod download [2021-06-09T13:22:47.867Z] ---> Running in 989f90011658 [2021-06-09T13:23:14.678Z] Removing intermediate container 989f90011658 [2021-06-09T13:23:14.678Z] ---> 50cccaf3b713 [2021-06-09T13:23:14.678Z] Successfully built 50cccaf3b713 [2021-06-09T13:23:14.678Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:23:15.047Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T13:23:15.047Z] . [Pipeline] withDockerContainer [2021-06-09T13:23:15.322Z] prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container [2021-06-09T13:23:15.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T13:23:16.887Z] $ docker top 8508c88e8db099d46b53654740d5e76656f3c1ecadaf4c18e5b3c4ae29ceb333 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T13:23:17.813Z] + go version [2021-06-09T13:23:17.813Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T13:23:17.831Z] $ docker stop --time=1 8508c88e8db099d46b53654740d5e76656f3c1ecadaf4c18e5b3c4ae29ceb333 [2021-06-09T13:23:19.615Z] $ docker rm -f 8508c88e8db099d46b53654740d5e76656f3c1ecadaf4c18e5b3c4ae29ceb333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:23:20.446Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T13:23:20.446Z] . [Pipeline] withDockerContainer [2021-06-09T13:23:20.707Z] prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container [2021-06-09T13:23:20.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T13:23:22.392Z] $ docker top 18b698e1f9c812e3aaff45616e6284053fdeb092e7e2c268332c9a024d8c93a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T13:23:23.367Z] + go mod tidy [Pipeline] sh [2021-06-09T13:23:24.647Z] + make test [2021-06-09T13:23:24.647Z] go mod tidy [2021-06-09T13:23:25.252Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T13:23:47.452Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T13:24:55.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T13:24:55.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T13:24:55.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T13:25:03.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.280s coverage: 25.4% of statements [2021-06-09T13:25:03.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T13:25:03.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.278s coverage: 28.1% of statements [2021-06-09T13:25:03.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.230s coverage: 78.9% of statements [2021-06-09T13:25:03.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.259s coverage: 9.0% of statements [2021-06-09T13:25:03.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T13:25:03.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T13:25:03.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T13:25:03.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.367s coverage: 29.2% of statements [2021-06-09T13:25:03.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T13:25:05.870Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.240s coverage: 83.3% of statements [2021-06-09T13:25:05.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T13:25:05.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T13:25:05.870Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.360s coverage: 58.0% of statements [2021-06-09T13:25:10.198Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.036s coverage: 89.2% of statements [2021-06-09T13:25:10.198Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T13:25:10.198Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 5.0% of statements [2021-06-09T13:25:10.198Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T13:25:10.198Z] GO111MODULE=on go vet ./... [2021-06-09T13:26:06.782Z] gofmt -l . [2021-06-09T13:26:06.782Z] [ "`gofmt -l .`" = "" ] [2021-06-09T13:26:06.782Z] ./bin/test-attribution-txt.sh [2021-06-09T13:26:06.782Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T13:26:07.101Z] $ docker stop --time=1 18b698e1f9c812e3aaff45616e6284053fdeb092e7e2c268332c9a024d8c93a4 [2021-06-09T13:26:09.218Z] $ docker rm -f 18b698e1f9c812e3aaff45616e6284053fdeb092e7e2c268332c9a024d8c93a4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T13:26:10.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T13:26:10.428Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T13:26:11.122Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T13:26:11.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T13:26:12.116Z] + ls -al . [2021-06-09T13:26:12.116Z] total 248 [2021-06-09T13:26:12.116Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 13:26 . [2021-06-09T13:26:12.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:21 .. [2021-06-09T13:26:12.116Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 9 13:21 .dockerignore [2021-06-09T13:26:12.116Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 13:21 .git [2021-06-09T13:26:12.116Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 13:21 .github [2021-06-09T13:26:12.117Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 9 13:21 .gitignore [2021-06-09T13:26:12.117Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 9 13:21 Dockerfile.build [2021-06-09T13:26:12.117Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 9 13:21 Jenkinsfile [2021-06-09T13:26:12.117Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 9 13:21 LICENSE [2021-06-09T13:26:12.117Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 9 13:21 Makefile [2021-06-09T13:26:12.117Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 9 13:21 README.md [2021-06-09T13:26:12.117Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 9 13:21 RELEASE-NOTES.txt [2021-06-09T13:26:12.117Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 13:18 VERSION [2021-06-09T13:26:12.117Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 13:21 bin [2021-06-09T13:26:12.117Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 9 13:25 coverage.out [2021-06-09T13:26:12.117Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 13:21 example [2021-06-09T13:26:12.117Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 9 13:26 go.mod [2021-06-09T13:26:12.117Z] -rw-r--r-- 1 jenkins jenkins 20590 Jun 9 13:23 go.sum [2021-06-09T13:26:12.117Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 9 13:21 internal [2021-06-09T13:26:12.117Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:21 openapi [2021-06-09T13:26:12.117Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 13:21 pkg [2021-06-09T13:26:12.117Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:21 snap [2021-06-09T13:26:12.117Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 9 13:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:26:12.630Z] + 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=a244db068d9d338f92108e2449d6abf774265388 --label arch=arm64 --label version=0.0.0 . [2021-06-09T13:26:13.272Z] Sending build context to Docker daemon 2.774MB [2021-06-09T13:26:13.272Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T13:26:13.272Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T13:26:13.272Z] ---> 50cccaf3b713 [2021-06-09T13:26:13.272Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T13:26:13.544Z] ---> Running in ae1d85358ac3 [2021-06-09T13:26:14.150Z] Removing intermediate container ae1d85358ac3 [2021-06-09T13:26:14.150Z] ---> f890dddf5972 [2021-06-09T13:26:14.150Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:26:14.150Z] ---> Running in 4d81fb82d901 [2021-06-09T13:26:14.746Z] Removing intermediate container 4d81fb82d901 [2021-06-09T13:26:14.746Z] ---> c78ae9804450 [2021-06-09T13:26:14.746Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:26:14.746Z] ---> Running in 1cc07198a559 [2021-06-09T13:26:16.738Z] Removing intermediate container 1cc07198a559 [2021-06-09T13:26:16.738Z] ---> adc0f28bc312 [2021-06-09T13:26:16.738Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T13:26:17.012Z] ---> Running in fca1d2bd9185 [2021-06-09T13:26:18.983Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T13:26:19.958Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T13:26:20.557Z] OK: 139 MiB in 46 packages [2021-06-09T13:26:21.539Z] Removing intermediate container fca1d2bd9185 [2021-06-09T13:26:21.539Z] ---> 5d7efc25a3b6 [2021-06-09T13:26:21.539Z] Step 7/23 : COPY . . [2021-06-09T13:26:22.983Z] ---> 4d2c10753e29 [2021-06-09T13:26:22.983Z] Step 8/23 : RUN go mod download [2021-06-09T13:26:23.261Z] ---> Running in 3051e55ede4d [2021-06-09T13:26:25.247Z] Removing intermediate container 3051e55ede4d [2021-06-09T13:26:25.247Z] ---> 5872699616c0 [2021-06-09T13:26:25.247Z] Step 9/23 : RUN make build [2021-06-09T13:26:25.842Z] ---> Running in cd61cca2eddd [2021-06-09T13:26:26.821Z] go mod tidy [2021-06-09T13:26:27.433Z] 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-06-09T13:26:59.796Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T13:27:02.412Z] Removing intermediate container cd61cca2eddd [2021-06-09T13:27:02.412Z] ---> e0e61d902699 [2021-06-09T13:27:02.412Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T13:27:02.684Z] 3.12: Pulling from library/alpine [2021-06-09T13:27:02.958Z] d2f70382dc9a: Pulling fs layer [2021-06-09T13:27:03.231Z] d2f70382dc9a: Verifying Checksum [2021-06-09T13:27:03.231Z] d2f70382dc9a: Download complete [2021-06-09T13:27:03.823Z] d2f70382dc9a: Pull complete [2021-06-09T13:27:03.824Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T13:27:03.824Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T13:27:03.824Z] ---> 9852663dfa18 [2021-06-09T13:27:03.824Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:27:04.096Z] ---> Running in ba3c679f7a09 [2021-06-09T13:27:04.368Z] Removing intermediate container ba3c679f7a09 [2021-06-09T13:27:04.368Z] ---> 0a5ff353a80e [2021-06-09T13:27:04.368Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:27:04.641Z] ---> Running in f18e9e44c844 [2021-06-09T13:27:06.630Z] Removing intermediate container f18e9e44c844 [2021-06-09T13:27:06.630Z] ---> 56ce89f6292d [2021-06-09T13:27:06.630Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T13:27:06.905Z] ---> Running in dc268b92de88 [2021-06-09T13:27:07.884Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T13:27:08.894Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T13:27:09.513Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T13:27:09.513Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T13:27:09.513Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T13:27:09.785Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T13:27:09.785Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T13:27:10.086Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T13:27:10.086Z] OK: 8 MiB in 19 packages [2021-06-09T13:27:11.077Z] Removing intermediate container dc268b92de88 [2021-06-09T13:27:11.077Z] ---> 687f63c4a146 [2021-06-09T13:27:11.077Z] Step 14/23 : WORKDIR / [2021-06-09T13:27:11.077Z] ---> Running in 63e664f38428 [2021-06-09T13:27:12.069Z] Removing intermediate container 63e664f38428 [2021-06-09T13:27:12.069Z] ---> 39573d8f5457 [2021-06-09T13:27:12.069Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T13:27:12.669Z] ---> eddc9d66ab62 [2021-06-09T13:27:12.669Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T13:27:13.659Z] ---> c26b8ac04f76 [2021-06-09T13:27:13.659Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T13:27:14.660Z] ---> e20757db8443 [2021-06-09T13:27:14.660Z] Step 18/23 : EXPOSE 59999 [2021-06-09T13:27:14.660Z] ---> Running in fffef45f67c7 [2021-06-09T13:27:15.261Z] Removing intermediate container fffef45f67c7 [2021-06-09T13:27:15.261Z] ---> aa45a81fd1c6 [2021-06-09T13:27:15.261Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T13:27:15.261Z] ---> Running in edb5f1c8e31e [2021-06-09T13:27:15.861Z] Removing intermediate container edb5f1c8e31e [2021-06-09T13:27:15.861Z] ---> 4d9fcf1aabeb [2021-06-09T13:27:15.861Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T13:27:15.861Z] ---> Running in cdb8deeab7d2 [2021-06-09T13:27:16.461Z] Removing intermediate container cdb8deeab7d2 [2021-06-09T13:27:16.461Z] ---> d6b73c4a228e [2021-06-09T13:27:16.461Z] Step 21/23 : LABEL arch=arm64 [2021-06-09T13:27:16.461Z] ---> Running in 742502cc015f [2021-06-09T13:27:17.062Z] Removing intermediate container 742502cc015f [2021-06-09T13:27:17.062Z] ---> 70ef4e47dc5d [2021-06-09T13:27:17.062Z] Step 22/23 : LABEL git_sha=a244db068d9d338f92108e2449d6abf774265388 [2021-06-09T13:27:17.062Z] ---> Running in 11727574f3e4 [2021-06-09T13:27:17.657Z] Removing intermediate container 11727574f3e4 [2021-06-09T13:27:17.657Z] ---> e5f00ad422f2 [2021-06-09T13:27:17.657Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T13:27:18.254Z] ---> Running in e8d368d410a7 [2021-06-09T13:27:18.856Z] Removing intermediate container e8d368d410a7 [2021-06-09T13:27:18.856Z] ---> ea8404de1649 [2021-06-09T13:27:18.856Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T13:27:18.856Z] Successfully built ea8404de1649 [2021-06-09T13:27:18.856Z] 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-06-09T13:27:19.439Z] ---> job-cost.sh [2021-06-09T13:27:19.439Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eiz1 [2021-06-09T13:27:58.403Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T13:29:20.131Z] lf-activate-venv(): INFO: Adding /tmp/venv-eiz1/bin to PATH [2021-06-09T13:29:20.131Z] INFO: No Stack... [2021-06-09T13:29:20.131Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T13:29:20.400Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T13:29:20.740Z] + cat+ /w/workspace/device-sdk-go/4/archives/cost.csv [2021-06-09T13:29:20.740Z] cut -d, -f6 [Pipeline] lock [2021-06-09T13:29:20.804Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] [2021-06-09T13:29:20.813Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] did not exist. Created. [2021-06-09T13:29:20.813Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T13:29:21.181Z] /w/workspace/device-sdk-go/4@tmp/durable-61142bc6/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-61142bc6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T13:29:21.579Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T13:29:21.622Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T13:29:21.795Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T13:29:21.809Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-960-4-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-06-09T13:29:22.383Z] provisioning config files... [2021-06-09T13:29:22.397Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config1104996324371447790tmp [Pipeline] { [Pipeline] sh [2021-06-09T13:29:22.730Z] + set +x [2021-06-09T13:29:22.730Z] + curl -s https://codecov.io/bash [2021-06-09T13:29:22.730Z] + bash -s -- [2021-06-09T13:29:22.730Z] [2021-06-09T13:29:22.730Z] _____ _ [2021-06-09T13:29:22.730Z] / ____| | | [2021-06-09T13:29:22.730Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T13:29:22.730Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T13:29:22.730Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T13:29:22.730Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T13:29:22.730Z] Bash-1.0.3 [2021-06-09T13:29:22.730Z] [2021-06-09T13:29:22.730Z] [2021-06-09T13:29:22.730Z] ==> git version 2.24.4 found [2021-06-09T13:29:22.730Z] ==> 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-06-09T13:29:22.730Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T13:29:22.730Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T13:29:22.730Z] ==> Jenkins CI detected. [2021-06-09T13:29:22.730Z] project root: . [2021-06-09T13:29:22.730Z] --> token set from env [2021-06-09T13:29:22.730Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T13:29:22.730Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T13:29:22.730Z] ==> Python coveragepy not found [2021-06-09T13:29:22.730Z] ==> Searching for coverage reports in: [2021-06-09T13:29:22.730Z] + . [2021-06-09T13:29:22.730Z] -> Found 1 reports [2021-06-09T13:29:22.730Z] ==> Detecting git/mercurial file structure [2021-06-09T13:29:22.994Z] ==> Reading reports [2021-06-09T13:29:22.994Z] + ./coverage.out bytes=126071 [2021-06-09T13:29:22.994Z] ==> Appending adjustments [2021-06-09T13:29:22.994Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T13:29:23.254Z] + Found adjustments [2021-06-09T13:29:23.254Z] ==> Gzipping contents [2021-06-09T13:29:23.254Z] 20K /tmp/codecov.7LPulu.gz [2021-06-09T13:29:23.254Z] ==> Uploading reports [2021-06-09T13:29:23.254Z] url: https://codecov.io [2021-06-09T13:29:23.254Z] query: branch=PR-960&commit=a244db068d9d338f92108e2449d6abf774265388&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-960%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=960&job=&cmd_args= [2021-06-09T13:29:23.254Z] -> Pinging Codecov [2021-06-09T13:29:23.255Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-960&commit=a244db068d9d338f92108e2449d6abf774265388&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-960%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=960&job=&cmd_args= [2021-06-09T13:29:23.826Z] -> Uploading to [2021-06-09T13:29:23.826Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/7E55EF52A471D76F132DFD9A03CDDE97/a244db068d9d338f92108e2449d6abf774265388/ae4936bc-322b-43ed-9c65-7a3c81c60f5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T132923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=410573595c1e7c1908aa1b2691daff4781b2003bacac06b582dca5e0bd706882 [2021-06-09T13:29:23.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T13:29:23.826Z] Dload Upload Total Spent Left Speed [2021-06-09T13:29:24.398Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16443 0 0 100 16443 0 40642 --:--:-- --:--:-- --:--:-- 40700 [2021-06-09T13:29:24.398Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a244db068d9d338f92108e2449d6abf774265388 [Pipeline] } [2021-06-09T13:29:24.407Z] 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-06-09T13:29:25.923Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:29:26.512Z] ---> package-listing.sh [2021-06-09T13:29:26.512Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T13:29:26.512Z] ++ facter osfamily [2021-06-09T13:29:26.776Z] + OS_FAMILY=redhat [2021-06-09T13:29:26.776Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-960 [2021-06-09T13:29:26.776Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T13:29:26.776Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T13:29:26.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T13:29:26.776Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T13:29:26.776Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-960 ']' [2021-06-09T13:29:26.776Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T13:29:26.776Z] + case "${OS_FAMILY}" in [2021-06-09T13:29:26.776Z] + rpm -qa [2021-06-09T13:29:26.776Z] + sort [2021-06-09T13:29:27.348Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T13:29:27.348Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T13:29:27.348Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T13:29:27.348Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-960 ']' [2021-06-09T13:29:27.348Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-960/archives/ [2021-06-09T13:29:27.348Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-960/archives/ [Pipeline] echo [2021-06-09T13:29:27.360Z] 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-960/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T13:29:27.652Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:29:28.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T13:29:28.220Z] [2021-06-09T13:29:28.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:29:28.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T13:29:28.803Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T13:29:28.803Z] df20fa9351a1: Pulling fs layer [2021-06-09T13:29:28.803Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T13:29:28.803Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T13:29:28.803Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T13:29:28.803Z] 93b61091891f: Pulling fs layer [2021-06-09T13:29:28.803Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T13:29:28.803Z] 5e14af77c1be: Pulling fs layer [2021-06-09T13:29:28.803Z] 01666e4c0597: Pulling fs layer [2021-06-09T13:29:28.803Z] aa168da1d23b: Pulling fs layer [2021-06-09T13:29:28.803Z] 46f8f816bc3b: Waiting [2021-06-09T13:29:28.803Z] 93b61091891f: Waiting [2021-06-09T13:29:28.803Z] 93b9cdb0e59b: Waiting [2021-06-09T13:29:28.803Z] 5e14af77c1be: Waiting [2021-06-09T13:29:28.803Z] 01666e4c0597: Waiting [2021-06-09T13:29:28.803Z] aa168da1d23b: Waiting [2021-06-09T13:29:28.803Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T13:29:28.803Z] 36b3adc4ff6f: Download complete [2021-06-09T13:29:28.803Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T13:29:28.803Z] 46f8f816bc3b: Download complete [2021-06-09T13:29:28.803Z] df20fa9351a1: Verifying Checksum [2021-06-09T13:29:28.803Z] df20fa9351a1: Download complete [2021-06-09T13:29:28.803Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T13:29:28.803Z] 93b9cdb0e59b: Download complete [2021-06-09T13:29:28.803Z] 5e14af77c1be: Verifying Checksum [2021-06-09T13:29:28.803Z] 5e14af77c1be: Download complete [2021-06-09T13:29:28.803Z] 01666e4c0597: Verifying Checksum [2021-06-09T13:29:28.803Z] 01666e4c0597: Download complete [2021-06-09T13:29:28.803Z] 93b61091891f: Verifying Checksum [2021-06-09T13:29:28.803Z] 93b61091891f: Download complete [2021-06-09T13:29:29.068Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T13:29:29.068Z] 8ad3a11d3b57: Download complete [2021-06-09T13:29:29.068Z] df20fa9351a1: Pull complete [2021-06-09T13:29:29.334Z] 36b3adc4ff6f: Pull complete [2021-06-09T13:29:29.910Z] 8ad3a11d3b57: Pull complete [2021-06-09T13:29:29.910Z] 46f8f816bc3b: Pull complete [2021-06-09T13:29:30.487Z] 93b61091891f: Pull complete [2021-06-09T13:29:30.487Z] 93b9cdb0e59b: Pull complete [2021-06-09T13:29:30.751Z] 5e14af77c1be: Pull complete [2021-06-09T13:29:30.751Z] 01666e4c0597: Pull complete [2021-06-09T13:29:31.027Z] aa168da1d23b: Verifying Checksum [2021-06-09T13:29:31.027Z] aa168da1d23b: Download complete [2021-06-09T13:29:35.264Z] aa168da1d23b: Pull complete [2021-06-09T13:29:35.264Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T13:29:35.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T13:29:35.264Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T13:29:35.353Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-06-09T13:29:35.391Z] $ 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-960/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-960 -v /w/workspace/dgexfoundry_device-sdk-go_PR-960:/w/workspace/dgexfoundry_device-sdk-go_PR-960:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-960@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-06-09T13:29:37.169Z] $ docker top 7f20763e204c2b7cf1d11c732be50fcf56269b6351d84d4786177b972de97cdc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T13:29:37.559Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T13:29:37.891Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T13:29:38.187Z] + ls /var/log/sa-host [2021-06-09T13:29:38.187Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T13:29:38.187Z] file_magic: OK [2021-06-09T13:29:38.187Z] HZ: Using current value: 100 [2021-06-09T13:29:38.187Z] file_header: OK [2021-06-09T13:29:38.187Z] 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-06-09T13:29:38.187Z] Statistics: [2021-06-09T13:29:38.187Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T13:29:38.187Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T13:29:38.187Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T13:29:38.187Z] file_magic: OK [2021-06-09T13:29:38.187Z] HZ: Using current value: 100 [2021-06-09T13:29:38.187Z] file_header: OK [2021-06-09T13:29:38.187Z] 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-06-09T13:29:38.187Z] Statistics: [2021-06-09T13:29:38.187Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T13:29:38.187Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T13:29:38.807Z] provisioning config files... [2021-06-09T13:29:38.822Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config5116758814014621177tmp [Pipeline] { [Pipeline] echo [2021-06-09T13:29:38.846Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:29:39.149Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T13:29:39.158Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:29:39.618Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T13:29:39.629Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:29:39.940Z] ---> sudo-logs.sh [2021-06-09T13:29:39.940Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T13:29:39.975Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:29:40.279Z] ---> job-cost.sh [2021-06-09T13:29:40.279Z] lf-activate-venv: SKIPPING [2021-06-09T13:29:40.279Z] DEBUG: total: 0.18000000715255737 [2021-06-09T13:29:40.279Z] INFO: Retrieving Stack Cost... [2021-06-09T13:29:40.859Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T13:29:41.433Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T13:29:41.455Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:29:41.753Z] ---> logs-deploy.sh [2021-06-09T13:29:41.753Z] lf-activate-venv: SKIPPING [2021-06-09T13:29:41.753Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-960/4 [2021-06-09T13:29:41.753Z] INFO: archiving workspace using pattern(s): [2021-06-09T13:29:42.699Z] Archives upload complete. [2021-06-09T13:29:42.699Z] INFO: archiving logs to Nexus