lenny-intel commented: recheck Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b+4e049b0e61ed820b8a848f7dbb8d7ec208be4474 (15a28ced445387452706417c89f78442be575ece) 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-ssh172710125020438066.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh1862232376792738420.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 6a41506d72e8e131afc862d141935157bee59f41 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-986/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-986/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4324044568405903117.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh5591532150717019074.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-986/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-986/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2186379639045896689.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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-1357’ is offline ‘prd-centos7-docker-4c-2g-1358’ is offline ‘prd-centos7-docker-4c-2g-1362’ is offline ‘prd-centos7-docker-4c-2g-1364’ is offline ‘prd-centos7-docker-4c-2g-915’ is offline ‘prd-ubuntu18.04-docker-8c-8g-1361’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1360’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1363’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1365 in /w/workspace/dgexfoundry_device-sdk-go_PR-986 [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-986 # 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-986@tmp/jenkins-gitclient-ssh3178396592273672555.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 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 into PR head commit 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b Merge succeeded, producing 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b Checking out Revision 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b (PR-986) > 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-986@tmp/jenkins-gitclient-ssh5423317593241488160.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/986/head:refs/remotes/origin/PR-986 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b # 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-986@tmp/jenkins-gitclient-ssh346413077523168224.key > git merge 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b # timeout=10 Commit message: "build: Update remaining go-mods to released version" > git rev-list --no-walk 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-25T00:23:52.061Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-25T00:23:52.169Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-25T00:23:52.203Z] ========================================================= [2021-06-25T00:23:52.203Z] EdgeX Global Pipelines Version Info [2021-06-25T00:23:52.203Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-25T00:23:56.073Z] ------------------- [2021-06-25T00:23:56.073Z] stable info: [2021-06-25T00:23:56.073Z] ------------------- [2021-06-25T00:23:56.073Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-25T00:23:56.073Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T00:23:56.073Z] Message: update stable to v1.0.195 [2021-06-25T00:23:56.655Z] ------------------- [2021-06-25T00:23:56.655Z] experimental info: [2021-06-25T00:23:56.655Z] ------------------- [2021-06-25T00:23:56.655Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-25T00:23:56.655Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T00:23:56.655Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-25T00:23:56.797Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-25T00:23:56.824Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-25T00:23:56.849Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-25T00:23:56.874Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-25T00:23:56.899Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-25T00:23:59.356Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-25T00:23:59.384Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-25T00:23:59.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-25T00:23:59.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-25T00:23:59.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-25T00:23:59.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-25T00:23:59.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-25T00:23:59.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-25T00:23:59.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-25T00:23:59.574Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T00:23:59.598Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T00:23:59.623Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T00:23:59.653Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T00:23:59.678Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-25T00:24:02.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-25T00:24:02.119Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-25T00:24:02.145Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-25T00:24:02.177Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-25T00:24:02.202Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-25T00:24:02.227Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-25T00:24:02.252Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-25T00:24:02.277Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-986 [Pipeline] echo [2021-06-25T00:24:02.328Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-986 [Pipeline] echo [2021-06-25T00:24:02.352Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-986 [Pipeline] echo [2021-06-25T00:24:02.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b [Pipeline] echo [2021-06-25T00:24:02.401Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 62b6d1d [Pipeline] echo [2021-06-25T00:24:04.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T00:24:04.926Z] provisioning config files... [2021-06-25T00:24:04.947Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-986@tmp/config6275270910806407197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T00:24:05.285Z] ---> docker-login.sh [2021-06-25T00:24:05.285Z] nexus3.edgexfoundry.org:10001 [2021-06-25T00:24:05.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:24:05.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:24:05.546Z] Configure a credential helper to remove this warning. See [2021-06-25T00:24:05.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:24:05.546Z] [2021-06-25T00:24:05.546Z] Login Succeeded [2021-06-25T00:24:05.546Z] nexus3.edgexfoundry.org:10002 [2021-06-25T00:24:05.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:24:05.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:24:05.546Z] Configure a credential helper to remove this warning. See [2021-06-25T00:24:05.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:24:05.546Z] [2021-06-25T00:24:05.546Z] Login Succeeded [2021-06-25T00:24:05.546Z] nexus3.edgexfoundry.org:10003 [2021-06-25T00:24:05.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:24:05.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:24:05.809Z] Configure a credential helper to remove this warning. See [2021-06-25T00:24:05.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:24:05.809Z] [2021-06-25T00:24:05.809Z] Login Succeeded [2021-06-25T00:24:05.809Z] nexus3.edgexfoundry.org:10004 [2021-06-25T00:24:05.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:24:05.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:24:05.809Z] Configure a credential helper to remove this warning. See [2021-06-25T00:24:05.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:24:05.809Z] [2021-06-25T00:24:05.809Z] Login Succeeded [2021-06-25T00:24:05.809Z] docker.io [2021-06-25T00:24:06.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:24:06.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:24:06.333Z] Configure a credential helper to remove this warning. See [2021-06-25T00:24:06.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:24:06.333Z] [2021-06-25T00:24:06.333Z] Login Succeeded [2021-06-25T00:24:06.333Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T00:24:06.342Z] 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-25T00:24:09.321Z] + git log --format=format:%s -1 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b [Pipeline] echo [2021-06-25T00:24:09.365Z] GIT_COMMIT: 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b, Commit Message: build: Update remaining go-mods to released version [Pipeline] echo [2021-06-25T00:24:09.380Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:24:19.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T00:24:19.966Z] [2021-06-25T00:24:19.966Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:24:20.295Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T00:24:20.295Z] latest: Pulling from edgex-devops/git-semver [2021-06-25T00:24:20.295Z] 31603596830f: Pulling fs layer [2021-06-25T00:24:20.295Z] 54011a49482f: Pulling fs layer [2021-06-25T00:24:20.295Z] a6820b24f6d8: Pulling fs layer [2021-06-25T00:24:20.295Z] f581987b2513: Pulling fs layer [2021-06-25T00:24:20.295Z] f581987b2513: Waiting [2021-06-25T00:24:20.559Z] 54011a49482f: Verifying Checksum [2021-06-25T00:24:20.559Z] 54011a49482f: Download complete [2021-06-25T00:24:20.559Z] 31603596830f: Verifying Checksum [2021-06-25T00:24:20.559Z] 31603596830f: Download complete [2021-06-25T00:24:20.819Z] 31603596830f: Pull complete [2021-06-25T00:24:20.819Z] f581987b2513: Verifying Checksum [2021-06-25T00:24:20.819Z] f581987b2513: Download complete [2021-06-25T00:24:20.819Z] a6820b24f6d8: Verifying Checksum [2021-06-25T00:24:20.819Z] a6820b24f6d8: Download complete [2021-06-25T00:24:20.819Z] 54011a49482f: Pull complete [2021-06-25T00:24:23.337Z] a6820b24f6d8: Pull complete [2021-06-25T00:24:23.337Z] f581987b2513: Pull complete [2021-06-25T00:24:23.337Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-25T00:24:23.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T00:24:23.337Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-25T00:24:23.431Z] prd-centos7-docker-4c-2g-1365 does not seem to be running inside a container [2021-06-25T00:24:23.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-986 -v /w/workspace/dgexfoundry_device-sdk-go_PR-986:/w/workspace/dgexfoundry_device-sdk-go_PR-986:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-986@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-986@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-25T00:24:26.478Z] $ docker top 71ab475ede1cf2daee37289d7d3f46600e5943fd7fcb3de655ae24bafee0c95c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-25T00:24:26.619Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T00:24:26.619Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T00:24:26.726Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T00:24:26.725Z] $ docker exec 71ab475ede1cf2daee37289d7d3f46600e5943fd7fcb3de655ae24bafee0c95c ssh-agent [2021-06-25T00:24:26.831Z] SSH_AUTH_SOCK=/tmp/ssh-zPemwW6F9vR0/agent.14 [2021-06-25T00:24:26.831Z] SSH_AGENT_PID=21 [2021-06-25T00:24:26.841Z] Running ssh-add (command line suppressed) [2021-06-25T00:24:26.938Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-986@tmp/private_key_1478643208156704956.key (/w/workspace/dgexfoundry_device-sdk-go_PR-986@tmp/private_key_1478643208156704956.key) [2021-06-25T00:24:26.958Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T00:24:29.653Z] + git tag --points-at HEAD [Pipeline] } [2021-06-25T00:24:29.667Z] $ docker exec --env ******** --env ******** 71ab475ede1cf2daee37289d7d3f46600e5943fd7fcb3de655ae24bafee0c95c ssh-agent -k [2021-06-25T00:24:29.762Z] unset SSH_AUTH_SOCK; [2021-06-25T00:24:29.762Z] unset SSH_AGENT_PID; [2021-06-25T00:24:29.762Z] echo Agent pid 21 killed; [2021-06-25T00:24:29.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-25T00:24:29.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T00:24:29.831Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T00:24:29.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T00:24:29.953Z] $ docker exec 71ab475ede1cf2daee37289d7d3f46600e5943fd7fcb3de655ae24bafee0c95c ssh-agent [2021-06-25T00:24:30.057Z] SSH_AUTH_SOCK=/tmp/ssh-Tf5ELQckczMr/agent.55 [2021-06-25T00:24:30.057Z] SSH_AGENT_PID=61 [2021-06-25T00:24:30.062Z] Running ssh-add (command line suppressed) [2021-06-25T00:24:30.156Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-986@tmp/private_key_4420827819074947702.key (/w/workspace/dgexfoundry_device-sdk-go_PR-986@tmp/private_key_4420827819074947702.key) [2021-06-25T00:24:30.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T00:24:32.997Z] + git semver init [2021-06-25T00:24:32.997Z] # -> Open(): unable to determine branch for HEAD [2021-06-25T00:24:32.997Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-986/.git [2021-06-25T00:24:32.997Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-986 [2021-06-25T00:24:32.997Z] # $SEMVER_REMOTE_NAME = origin [2021-06-25T00:24:32.997Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-25T00:24:32.997Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-25T00:24:32.997Z] # $SEMVER_BRANCH = PR-986 [2021-06-25T00:24:32.997Z] # $SEMVER_TEMP = /tmp/semver-210963772 [2021-06-25T00:24:32.997Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-25T00:24:32.997Z] # '/tmp/semver-210963772' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-986/.semver' [2021-06-25T00:24:32.997Z] # -> Force: false [2021-06-25T00:24:32.997Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-986/.semver [Pipeline] } [2021-06-25T00:24:33.005Z] $ docker exec --env ******** --env ******** 71ab475ede1cf2daee37289d7d3f46600e5943fd7fcb3de655ae24bafee0c95c ssh-agent -k [2021-06-25T00:24:33.106Z] unset SSH_AUTH_SOCK; [2021-06-25T00:24:33.107Z] unset SSH_AGENT_PID; [2021-06-25T00:24:33.107Z] echo Agent pid 61 killed; [2021-06-25T00:24:33.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-25T00:24:35.763Z] + git semver [Pipeline] } [2021-06-25T00:24:35.794Z] $ docker stop --time=1 71ab475ede1cf2daee37289d7d3f46600e5943fd7fcb3de655ae24bafee0c95c [2021-06-25T00:24:38.793Z] $ docker rm -f 71ab475ede1cf2daee37289d7d3f46600e5943fd7fcb3de655ae24bafee0c95c [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T00:24:39.169Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-25T00:24:41.801Z] Stashed 1 file(s) [Pipeline] echo [2021-06-25T00:24:41.805Z] [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-25T00:25:01.544Z] Still waiting to schedule task [2021-06-25T00:25:01.545Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-25T00:25:01.545Z] Still waiting to schedule task [2021-06-25T00:25:01.545Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-25T00:27:44.999Z] Running on prd-centos7-docker-4c-2g-1369 in /w/workspace/dgexfoundry_device-sdk-go_PR-986 [Pipeline] { [Pipeline] ws [2021-06-25T00:27:47.333Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-25T00:27:47.453Z] Selected Git installation does not exist. Using Default [2021-06-25T00:27:47.454Z] The recommended git tool is: NONE [2021-06-25T00:27:59.071Z] using credential edgex-jenkins-ssh [2021-06-25T00:27:59.084Z] Cloning the remote Git repository [2021-06-25T00:27:59.113Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T00:27:59.207Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-25T00:27:59.239Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T00:27:59.239Z] > git --version # timeout=10 [2021-06-25T00:27:59.244Z] > git --version # 'git version 2.24.4' [2021-06-25T00:27:59.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T00:27:59.266Z] [INFO] Currently running in a labeled security context [2021-06-25T00:27:59.267Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T00:27:59.267Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh569054063647401400.key [2021-06-25T00:27:59.276Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T00:27:59.949Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T00:27:59.959Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T00:28:01.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T00:28:01.691Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T00:28:01.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T00:28:01.693Z] [INFO] Currently running in a labeled security context [2021-06-25T00:28:01.693Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T00:28:01.693Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3071801877252353897.key [2021-06-25T00:28:01.721Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/986/head:refs/remotes/origin/PR-986 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T00:28:02.302Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1368 in /w/workspace/dgexfoundry_device-sdk-go_PR-986 [Pipeline] { [2021-06-25T00:28:04.715Z] Merging remotes/origin/master commit 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 into PR head commit 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b [Pipeline] ws [2021-06-25T00:28:04.756Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-25T00:28:04.812Z] Merge succeeded, producing 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b [2021-06-25T00:28:04.813Z] Checking out Revision 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b (PR-986) [2021-06-25T00:28:04.990Z] Selected Git installation does not exist. Using Default [2021-06-25T00:28:04.990Z] The recommended git tool is: NONE [2021-06-25T00:28:04.721Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T00:28:04.730Z] > git checkout -f 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b # timeout=10 [2021-06-25T00:28:04.771Z] > git remote # timeout=10 [2021-06-25T00:28:04.777Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T00:28:04.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T00:28:04.786Z] [INFO] Currently running in a labeled security context [2021-06-25T00:28:04.787Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T00:28:04.787Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1700460554841280179.key [2021-06-25T00:28:04.793Z] > git merge 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 # timeout=10 [2021-06-25T00:28:04.802Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T00:28:04.810Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T00:28:04.814Z] > git checkout -f 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b # timeout=10 [2021-06-25T00:28:11.221Z] Commit message: "build: Update remaining go-mods to released version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T00:28:17.567Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-25T00:28:17.912Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T00:28:22.697Z] + sudo service docker restart [2021-06-25T00:28:22.697Z] + true [2021-06-25T00:28:22.697Z] Redirecting to /bin/systemctl restart docker.service [2021-06-25T00:28:26.910Z] using credential edgex-jenkins-ssh [2021-06-25T00:28:26.936Z] Cloning the remote Git repository [2021-06-25T00:28:26.987Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T00:28:27.094Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-25T00:28:27.165Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T00:28:27.166Z] > git --version # timeout=10 [2021-06-25T00:28:27.186Z] > git --version # 'git version 2.17.1' [2021-06-25T00:28:27.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T00:28:27.284Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T00:28:28.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T00:28:28.704Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T00:28:31.165Z] Merging remotes/origin/master commit 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 into PR head commit 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b [2021-06-25T00:28:31.396Z] Merge succeeded, producing 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b [2021-06-25T00:28:31.397Z] Checking out Revision 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b (PR-986) [2021-06-25T00:28:30.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T00:28:30.515Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T00:28:30.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T00:28:30.530Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/986/head:refs/remotes/origin/PR-986 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T00:28:31.192Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T00:28:31.207Z] > git checkout -f 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b # timeout=10 [2021-06-25T00:28:31.317Z] > git remote # timeout=10 [2021-06-25T00:28:31.335Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T00:28:31.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T00:28:31.360Z] > git merge 4e049b0e61ed820b8a848f7dbb8d7ec208be4474 # timeout=10 [2021-06-25T00:28:31.382Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T00:28:31.409Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T00:28:31.421Z] > git checkout -f 62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T00:28:36.041Z] provisioning config files... [2021-06-25T00:28:36.078Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3315039681307383789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T00:28:38.737Z] ---> docker-login.sh [2021-06-25T00:28:38.737Z] nexus3.edgexfoundry.org:10001 [2021-06-25T00:28:38.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:28:38.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:28:38.737Z] Configure a credential helper to remove this warning. See [2021-06-25T00:28:38.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:28:38.737Z] [2021-06-25T00:28:38.737Z] Login Succeeded [2021-06-25T00:28:38.737Z] nexus3.edgexfoundry.org:10002 [2021-06-25T00:28:38.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:28:38.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:28:38.737Z] Configure a credential helper to remove this warning. See [2021-06-25T00:28:38.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:28:38.737Z] [2021-06-25T00:28:38.737Z] Login Succeeded [2021-06-25T00:28:38.737Z] nexus3.edgexfoundry.org:10003 [2021-06-25T00:28:38.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:28:38.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:28:38.737Z] Configure a credential helper to remove this warning. See [2021-06-25T00:28:38.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:28:38.737Z] [2021-06-25T00:28:38.737Z] Login Succeeded [2021-06-25T00:28:38.737Z] nexus3.edgexfoundry.org:10004 [2021-06-25T00:28:38.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:28:38.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:28:38.737Z] Configure a credential helper to remove this warning. See [2021-06-25T00:28:38.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:28:38.737Z] [2021-06-25T00:28:38.737Z] Login Succeeded [2021-06-25T00:28:38.737Z] docker.io [2021-06-25T00:28:38.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:28:38.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:28:38.737Z] Configure a credential helper to remove this warning. See [2021-06-25T00:28:38.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:28:38.737Z] [2021-06-25T00:28:38.737Z] Login Succeeded [2021-06-25T00:28:38.737Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T00:28:38.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T00:28:38.931Z] ========================================================= [2021-06-25T00:28:38.932Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-25T00:28:38.932Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:28:43.894Z] + 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-25T00:28:43.894Z] Sending build context to Docker daemon 2.668MB [2021-06-25T00:28:43.894Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T00:28:43.894Z] Step 2/8 : FROM ${BASE} [2021-06-25T00:28:43.894Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-25T00:28:43.894Z] 540db60ca938: Pulling fs layer [2021-06-25T00:28:43.894Z] adcc1eea9eea: Pulling fs layer [2021-06-25T00:28:43.894Z] 4c4ab2625f07: Pulling fs layer [2021-06-25T00:28:43.894Z] 0510c868ecb4: Pulling fs layer [2021-06-25T00:28:43.894Z] afea3b2eda06: Pulling fs layer [2021-06-25T00:28:43.894Z] 7809a108b3ef: Pulling fs layer [2021-06-25T00:28:43.894Z] f706445af74f: Pulling fs layer [2021-06-25T00:28:43.894Z] afea3b2eda06: Waiting [2021-06-25T00:28:43.894Z] 7809a108b3ef: Waiting [2021-06-25T00:28:43.894Z] f706445af74f: Waiting [2021-06-25T00:28:43.894Z] 0510c868ecb4: Waiting [2021-06-25T00:28:43.894Z] 4c4ab2625f07: Verifying Checksum [2021-06-25T00:28:43.894Z] 4c4ab2625f07: Download complete [2021-06-25T00:28:43.894Z] adcc1eea9eea: Verifying Checksum [2021-06-25T00:28:43.894Z] adcc1eea9eea: Download complete [2021-06-25T00:28:43.894Z] afea3b2eda06: Verifying Checksum [2021-06-25T00:28:43.894Z] afea3b2eda06: Download complete [2021-06-25T00:28:43.894Z] 7809a108b3ef: Verifying Checksum [2021-06-25T00:28:43.894Z] 7809a108b3ef: Download complete [2021-06-25T00:28:43.894Z] 540db60ca938: Verifying Checksum [2021-06-25T00:28:43.894Z] 540db60ca938: Download complete [2021-06-25T00:28:43.894Z] 540db60ca938: Pull complete [2021-06-25T00:28:43.894Z] adcc1eea9eea: Pull complete [2021-06-25T00:28:43.894Z] 4c4ab2625f07: Pull complete [2021-06-25T00:28:43.894Z] f706445af74f: Verifying Checksum [2021-06-25T00:28:43.894Z] f706445af74f: Download complete [2021-06-25T00:28:46.623Z] 0510c868ecb4: Verifying Checksum [2021-06-25T00:28:46.623Z] 0510c868ecb4: Download complete [2021-06-25T00:28:49.259Z] 0510c868ecb4: Pull complete [2021-06-25T00:28:49.259Z] afea3b2eda06: Pull complete [2021-06-25T00:28:49.259Z] 7809a108b3ef: Pull complete [2021-06-25T00:28:49.327Z] Commit message: "build: Update remaining go-mods to released version" [2021-06-25T00:28:51.860Z] f706445af74f: Pull complete [2021-06-25T00:28:51.860Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-25T00:28:51.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-25T00:28:51.860Z] ---> b068be0155e3 [2021-06-25T00:28:51.860Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T00:28:54.322Z] ---> Running in beea60133952 [2021-06-25T00:28:54.322Z] Removing intermediate container beea60133952 [2021-06-25T00:28:54.322Z] ---> f0fe1e6aceb2 [2021-06-25T00:28:54.322Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T00:28:54.322Z] ---> Running in 26fc504fefca [2021-06-25T00:28:54.322Z] Removing intermediate container 26fc504fefca [2021-06-25T00:28:54.322Z] ---> 9da0a98f5b24 [2021-06-25T00:28:54.322Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T00:28:54.322Z] ---> Running in 6032cc02f80e [2021-06-25T00:28:54.322Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T00:28:56.950Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T00:28:56.950Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-25T00:28:56.950Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-25T00:28:56.950Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-25T00:28:56.950Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-25T00:28:56.950Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-25T00:28:56.950Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-25T00:28:56.950Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T00:28:56.950Z] OK: 150 MiB in 46 packages [2021-06-25T00:28:56.950Z] Removing intermediate container 6032cc02f80e [2021-06-25T00:28:56.950Z] ---> 3f3deda5bb47 [2021-06-25T00:28:56.950Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-25T00:28:56.950Z] ---> Running in d087d2666cb9 [2021-06-25T00:28:56.950Z] Removing intermediate container d087d2666cb9 [2021-06-25T00:28:56.950Z] ---> 038c3a901c3d [2021-06-25T00:28:56.950Z] Step 7/8 : COPY . . [2021-06-25T00:28:56.950Z] ---> aee42a885df1 [2021-06-25T00:28:56.950Z] Step 8/8 : RUN go mod download [2021-06-25T00:28:56.950Z] ---> Running in f55ec0c7ddef [2021-06-25T00:29:09.182Z] Removing intermediate container f55ec0c7ddef [2021-06-25T00:29:09.182Z] ---> 02cee212f85b [2021-06-25T00:29:09.182Z] Successfully built 02cee212f85b [2021-06-25T00:29:09.182Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:29:09.292Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-06-25T00:29:11.977Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T00:29:11.977Z] . [Pipeline] withDockerContainer [2021-06-25T00:29:17.031Z] prd-centos7-docker-4c-2g-1369 does not seem to be running inside a container [2021-06-25T00:29:19.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T00:29:23.794Z] $ docker top dfc6ab47b5877b1ad095490e6abea08d00fccb141f20976ae8df9802ff3f3477 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-25T00:29:31.101Z] + go version [2021-06-25T00:29:31.102Z] go version go1.16.3 linux/amd64 [2021-06-25T00:29:31.105Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] } [2021-06-25T00:29:31.141Z] $ docker stop --time=1 dfc6ab47b5877b1ad095490e6abea08d00fccb141f20976ae8df9802ff3f3477 [2021-06-25T00:29:33.731Z] $ docker rm -f dfc6ab47b5877b1ad095490e6abea08d00fccb141f20976ae8df9802ff3f3477 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [2021-06-25T00:29:38.738Z] + + sudo servicetrue docker [2021-06-25T00:29:38.739Z] restart [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:29:43.936Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T00:29:43.936Z] . [Pipeline] withDockerContainer [2021-06-25T00:29:47.203Z] prd-centos7-docker-4c-2g-1369 does not seem to be running inside a container [2021-06-25T00:29:47.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T00:29:49.826Z] $ docker top 0526147fa69ffda58c90eb29282ea7e171e2bae3eb0ed839f78d832dba4c9e44 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T00:29:52.410Z] + go mod tidy [Pipeline] sh [2021-06-25T00:29:54.915Z] + make test [2021-06-25T00:29:54.915Z] go mod tidy [2021-06-25T00:29:54.915Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T00:29:54.969Z] provisioning config files... [2021-06-25T00:29:54.999Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4741701168261934204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T00:29:59.073Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-25T00:29:59.365Z] ---> docker-login.sh [2021-06-25T00:29:59.365Z] nexus3.edgexfoundry.org:10001 [2021-06-25T00:30:02.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:30:02.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:30:02.547Z] Configure a credential helper to remove this warning. See [2021-06-25T00:30:02.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:30:02.547Z] [2021-06-25T00:30:02.547Z] Login Succeeded [2021-06-25T00:30:02.547Z] nexus3.edgexfoundry.org:10002 [2021-06-25T00:30:02.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:30:02.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:30:02.547Z] Configure a credential helper to remove this warning. See [2021-06-25T00:30:02.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:30:02.547Z] [2021-06-25T00:30:02.547Z] Login Succeeded [2021-06-25T00:30:02.547Z] nexus3.edgexfoundry.org:10003 [2021-06-25T00:30:02.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:30:02.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:30:02.547Z] Configure a credential helper to remove this warning. See [2021-06-25T00:30:02.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:30:02.547Z] [2021-06-25T00:30:02.547Z] Login Succeeded [2021-06-25T00:30:02.547Z] nexus3.edgexfoundry.org:10004 [2021-06-25T00:30:02.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:30:02.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:30:02.547Z] Configure a credential helper to remove this warning. See [2021-06-25T00:30:02.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:30:02.547Z] [2021-06-25T00:30:02.547Z] Login Succeeded [2021-06-25T00:30:02.547Z] docker.io [2021-06-25T00:30:02.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T00:30:05.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T00:30:05.282Z] Configure a credential helper to remove this warning. See [2021-06-25T00:30:05.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T00:30:05.282Z] [2021-06-25T00:30:05.282Z] Login Succeeded [2021-06-25T00:30:05.282Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T00:30:05.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T00:30:07.997Z] ========================================================= [2021-06-25T00:30:07.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-25T00:30:07.997Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:30:15.721Z] + 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-25T00:30:15.722Z] Sending build context to Docker daemon 2.666MB [2021-06-25T00:30:15.722Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T00:30:15.722Z] Step 2/8 : FROM ${BASE} [2021-06-25T00:30:15.722Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-25T00:30:15.722Z] 595b0fe564bb: Pulling fs layer [2021-06-25T00:30:15.722Z] 3088b5b3c5c0: Pulling fs layer [2021-06-25T00:30:15.722Z] 5b7225fbf94c: Pulling fs layer [2021-06-25T00:30:15.722Z] ba82ee9f976e: Pulling fs layer [2021-06-25T00:30:15.722Z] 506bd15cee9f: Pulling fs layer [2021-06-25T00:30:15.722Z] 75a0a4a0db45: Pulling fs layer [2021-06-25T00:30:15.722Z] 618dc40b7e24: Pulling fs layer [2021-06-25T00:30:15.722Z] 506bd15cee9f: Waiting [2021-06-25T00:30:15.722Z] 75a0a4a0db45: Waiting [2021-06-25T00:30:15.722Z] 618dc40b7e24: Waiting [2021-06-25T00:30:15.722Z] ba82ee9f976e: Waiting [2021-06-25T00:30:15.722Z] 5b7225fbf94c: Verifying Checksum [2021-06-25T00:30:15.722Z] 5b7225fbf94c: Download complete [2021-06-25T00:30:15.722Z] 3088b5b3c5c0: Verifying Checksum [2021-06-25T00:30:15.722Z] 3088b5b3c5c0: Download complete [2021-06-25T00:30:15.722Z] 506bd15cee9f: Download complete [2021-06-25T00:30:15.722Z] 75a0a4a0db45: Verifying Checksum [2021-06-25T00:30:15.722Z] 75a0a4a0db45: Download complete [2021-06-25T00:30:15.722Z] 595b0fe564bb: Verifying Checksum [2021-06-25T00:30:15.722Z] 595b0fe564bb: Download complete [2021-06-25T00:30:15.722Z] 595b0fe564bb: Pull complete [2021-06-25T00:30:15.722Z] 3088b5b3c5c0: Pull complete [2021-06-25T00:30:15.722Z] 5b7225fbf94c: Pull complete [2021-06-25T00:30:19.088Z] 618dc40b7e24: Verifying Checksum [2021-06-25T00:30:19.088Z] 618dc40b7e24: Download complete [2021-06-25T00:30:19.088Z] ba82ee9f976e: Verifying Checksum [2021-06-25T00:30:19.088Z] ba82ee9f976e: Download complete [2021-06-25T00:30:21.809Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-25T00:30:21.809Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-25T00:30:21.809Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-25T00:30:25.138Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 24.2% of statements [2021-06-25T00:30:25.138Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-25T00:30:25.138Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.052s coverage: 28.1% of statements [2021-06-25T00:30:25.406Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2021-06-25T00:30:25.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.060s coverage: 9.0% of statements [2021-06-25T00:30:25.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-25T00:30:25.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-25T00:30:25.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-25T00:30:26.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2021-06-25T00:30:26.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-25T00:30:27.634Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements [2021-06-25T00:30:27.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-25T00:30:27.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-25T00:30:27.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 58.0% of statements [2021-06-25T00:30:28.018Z] ba82ee9f976e: Pull complete [2021-06-25T00:30:28.018Z] 506bd15cee9f: Pull complete [2021-06-25T00:30:28.018Z] 75a0a4a0db45: Pull complete [2021-06-25T00:30:29.028Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.837s coverage: 89.2% of statements [2021-06-25T00:30:29.028Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-25T00:30:29.028Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements [2021-06-25T00:30:29.028Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-25T00:30:29.028Z] GO111MODULE=on go vet ./... [2021-06-25T00:30:34.553Z] 618dc40b7e24: Pull complete [2021-06-25T00:30:34.553Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-25T00:30:34.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-25T00:30:34.553Z] ---> a36622ca3599 [2021-06-25T00:30:34.553Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T00:30:34.553Z] ---> Running in 64f885f5a12a [2021-06-25T00:30:34.553Z] Removing intermediate container 64f885f5a12a [2021-06-25T00:30:34.553Z] ---> 64d9c51b83e5 [2021-06-25T00:30:34.553Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T00:30:34.553Z] ---> Running in 340449defdc0 [2021-06-25T00:30:36.549Z] Removing intermediate container 340449defdc0 [2021-06-25T00:30:36.549Z] ---> 657f6acf1688 [2021-06-25T00:30:36.549Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T00:30:36.821Z] ---> Running in 466ddcd3fa3a [2021-06-25T00:30:40.511Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T00:30:40.511Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T00:30:40.511Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-25T00:30:40.511Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-25T00:30:40.511Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-25T00:30:40.511Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-25T00:30:40.511Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-25T00:30:40.511Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-25T00:30:40.511Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T00:30:40.511Z] OK: 139 MiB in 46 packages [2021-06-25T00:30:41.969Z] Removing intermediate container 466ddcd3fa3a [2021-06-25T00:30:41.969Z] ---> b317ff436742 [2021-06-25T00:30:41.969Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-25T00:30:41.969Z] ---> Running in 2eb6530a296e [2021-06-25T00:30:42.568Z] Removing intermediate container 2eb6530a296e [2021-06-25T00:30:42.568Z] ---> 8c3334af6ecf [2021-06-25T00:30:42.568Z] Step 7/8 : COPY . . [2021-06-25T00:30:45.113Z] ---> 829184735f04 [2021-06-25T00:30:45.113Z] Step 8/8 : RUN go mod download [2021-06-25T00:30:45.113Z] ---> Running in 64fad8d8d8cd [2021-06-25T00:30:50.016Z] gofmt -l . [2021-06-25T00:30:50.016Z] [ "`gofmt -l .`" = "" ] [2021-06-25T00:30:50.016Z] ./bin/test-attribution-txt.sh [2021-06-25T00:30:50.016Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T00:30:50.028Z] $ docker stop --time=1 0526147fa69ffda58c90eb29282ea7e171e2bae3eb0ed839f78d832dba4c9e44 [2021-06-25T00:30:51.515Z] $ docker rm -f 0526147fa69ffda58c90eb29282ea7e171e2bae3eb0ed839f78d832dba4c9e44 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T00:30:54.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T00:30:54.496Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-25T00:31:10.478Z] Removing intermediate container 64fad8d8d8cd [2021-06-25T00:31:10.478Z] ---> fc15ec5325bd [2021-06-25T00:31:10.478Z] Successfully built fc15ec5325bd [2021-06-25T00:31:10.478Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:31:48.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T00:31:48.584Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T00:31:48.584Z] . [Pipeline] withDockerContainer [2021-06-25T00:31:51.151Z] + ls -al . [2021-06-25T00:31:51.151Z] total 208 [2021-06-25T00:31:51.151Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 25 00:30 . [2021-06-25T00:31:51.151Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 25 00:27 .. [2021-06-25T00:31:51.151Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 25 00:28 bin [2021-06-25T00:31:51.151Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 25 00:30 coverage.out [2021-06-25T00:31:51.151Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 25 00:28 Dockerfile.build [2021-06-25T00:31:51.151Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 25 00:28 .dockerignore [2021-06-25T00:31:51.151Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 25 00:28 example [2021-06-25T00:31:51.151Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 25 00:28 .git [2021-06-25T00:31:51.151Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 25 00:28 .github [2021-06-25T00:31:51.151Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 25 00:28 .gitignore [2021-06-25T00:31:51.151Z] -rw-r--r--. 1 jenkins jenkins 548 Jun 25 00:30 go.mod [2021-06-25T00:31:51.151Z] -rw-r--r--. 1 jenkins jenkins 20210 Jun 25 00:29 go.sum [2021-06-25T00:31:51.151Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 25 00:28 internal [2021-06-25T00:31:51.151Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 25 00:28 Jenkinsfile [2021-06-25T00:31:51.151Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 25 00:28 LICENSE [2021-06-25T00:31:51.151Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 25 00:28 Makefile [2021-06-25T00:31:51.151Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 25 00:28 openapi [2021-06-25T00:31:51.151Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 25 00:28 pkg [2021-06-25T00:31:51.151Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 25 00:28 README.md [2021-06-25T00:31:51.151Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 25 00:28 RELEASE-NOTES.txt [2021-06-25T00:31:51.151Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 25 00:28 snap [2021-06-25T00:31:51.151Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 25 00:24 VERSION [2021-06-25T00:31:51.151Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 25 00:28 version.go [2021-06-25T00:31:51.198Z] prd-ubuntu18.04-docker-arm64-4c-16g-1368 does not seem to be running inside a container [2021-06-25T00:31:53.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T00:31:56.516Z] $ docker top a182481cdc11c5ef42cdc19e3f57ae86e3bbf26730b37b79dec4b5ad7d6ffceb -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:31:59.733Z] + 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=62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b --label arch=amd64 --label version=0.0.0 . [2021-06-25T00:31:59.733Z] Sending build context to Docker daemon 2.794MB [2021-06-25T00:31:59.733Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T00:31:59.733Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-25T00:31:59.733Z] ---> 02cee212f85b [2021-06-25T00:31:59.733Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-25T00:31:59.733Z] ---> Running in 1745ea74e28d [2021-06-25T00:32:02.285Z] + go version [2021-06-25T00:32:02.285Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-25T00:32:02.307Z] Removing intermediate container 1745ea74e28d [2021-06-25T00:32:02.307Z] ---> dc3781b652c9 [2021-06-25T00:32:02.307Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T00:32:02.307Z] ---> Running in 014676ba66db [2021-06-25T00:32:02.307Z] Removing intermediate container 014676ba66db [2021-06-25T00:32:02.307Z] ---> e036b9ece54e [2021-06-25T00:32:02.307Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T00:32:02.307Z] ---> Running in a83727944489 [2021-06-25T00:32:02.307Z] Removing intermediate container a83727944489 [2021-06-25T00:32:02.307Z] ---> 2c54cc101e64 [2021-06-25T00:32:02.307Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-25T00:32:02.307Z] ---> Running in 10d5a83920bc [2021-06-25T00:32:02.307Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T00:32:02.307Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T00:32:02.307Z] OK: 150 MiB in 46 packages [2021-06-25T00:32:02.324Z] $ docker stop --time=1 a182481cdc11c5ef42cdc19e3f57ae86e3bbf26730b37b79dec4b5ad7d6ffceb [2021-06-25T00:32:05.065Z] Removing intermediate container 10d5a83920bc [2021-06-25T00:32:05.065Z] ---> ed9436bff49b [2021-06-25T00:32:05.065Z] Step 7/23 : COPY . . [2021-06-25T00:32:05.065Z] ---> bd4be1dd48a6 [2021-06-25T00:32:05.065Z] Step 8/23 : RUN go mod download [2021-06-25T00:32:05.065Z] ---> Running in 3d3fe46e46d0 [2021-06-25T00:32:05.089Z] $ docker rm -f a182481cdc11c5ef42cdc19e3f57ae86e3bbf26730b37b79dec4b5ad7d6ffceb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-06-25T00:32:07.704Z] Removing intermediate container 3d3fe46e46d0 [2021-06-25T00:32:07.704Z] ---> c606a2ba8c2b [2021-06-25T00:32:07.704Z] Step 9/23 : RUN make build [2021-06-25T00:32:07.704Z] ---> Running in f611c975b390 [2021-06-25T00:32:07.704Z] go mod tidy [2021-06-25T00:32:07.704Z] 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 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:32:13.018Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T00:32:13.018Z] . [Pipeline] withDockerContainer [2021-06-25T00:32:13.294Z] prd-ubuntu18.04-docker-arm64-4c-16g-1368 does not seem to be running inside a container [2021-06-25T00:32:15.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T00:32:18.398Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-25T00:32:18.399Z] Removing intermediate container f611c975b390 [2021-06-25T00:32:18.399Z] ---> d0ba266388ab [2021-06-25T00:32:18.399Z] Step 10/23 : FROM alpine:3.12 [2021-06-25T00:32:18.434Z] $ docker top 8543b635ffb3cad6deacdeee46f67fb0552269b06bc08ba21783c399ac1c9b3d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T00:32:21.191Z] 3.12: Pulling from library/alpine [2021-06-25T00:32:21.191Z] 339de151aab4: Pulling fs layer [2021-06-25T00:32:21.191Z] 339de151aab4: Verifying Checksum [2021-06-25T00:32:21.191Z] 339de151aab4: Download complete [2021-06-25T00:32:21.191Z] 339de151aab4: Pull complete [2021-06-25T00:32:21.191Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T00:32:21.191Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T00:32:21.191Z] ---> 13621d1b12d4 [2021-06-25T00:32:21.191Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T00:32:21.191Z] ---> Running in a70415c123f9 [2021-06-25T00:32:21.191Z] Removing intermediate container a70415c123f9 [2021-06-25T00:32:21.191Z] ---> a64adf0971aa [2021-06-25T00:32:21.191Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T00:32:21.191Z] ---> Running in c428d249d64c [2021-06-25T00:32:21.191Z] Removing intermediate container c428d249d64c [2021-06-25T00:32:21.191Z] ---> 82ab63ed4971 [2021-06-25T00:32:21.191Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-25T00:32:21.191Z] ---> Running in 20b4e3bf36cc [2021-06-25T00:32:21.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-25T00:32:21.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-25T00:32:23.849Z] + go mod tidy [Pipeline] sh [2021-06-25T00:32:26.461Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-25T00:32:26.461Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-25T00:32:26.461Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-25T00:32:26.461Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-25T00:32:26.461Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-25T00:32:26.461Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T00:32:26.461Z] OK: 8 MiB in 19 packages [2021-06-25T00:32:26.461Z] Removing intermediate container 20b4e3bf36cc [2021-06-25T00:32:26.461Z] ---> 1d64eac863be [2021-06-25T00:32:26.461Z] Step 14/23 : WORKDIR / [2021-06-25T00:32:26.461Z] ---> Running in b2941ff3a132 [2021-06-25T00:32:26.461Z] Removing intermediate container b2941ff3a132 [2021-06-25T00:32:26.461Z] ---> dcd52829aa3d [2021-06-25T00:32:26.461Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-25T00:32:26.461Z] ---> 055ec5354adf [2021-06-25T00:32:26.461Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-25T00:32:26.461Z] ---> a58ff7382b69 [2021-06-25T00:32:26.461Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-25T00:32:26.461Z] ---> f6e7b502a0e9 [2021-06-25T00:32:26.461Z] Step 18/23 : EXPOSE 59999 [2021-06-25T00:32:26.461Z] ---> Running in 7f2421b6d7eb [2021-06-25T00:32:26.461Z] Removing intermediate container 7f2421b6d7eb [2021-06-25T00:32:26.461Z] ---> 3f9c0e59e1ce [2021-06-25T00:32:26.461Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-25T00:32:26.461Z] ---> Running in 0a5d96b35a94 [2021-06-25T00:32:26.461Z] Removing intermediate container 0a5d96b35a94 [2021-06-25T00:32:26.461Z] ---> 0c0b4a2f96e8 [2021-06-25T00:32:26.461Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T00:32:26.461Z] ---> Running in e1c0eaf74269 [2021-06-25T00:32:26.461Z] Removing intermediate container e1c0eaf74269 [2021-06-25T00:32:26.461Z] ---> f57c49d4acc5 [2021-06-25T00:32:26.461Z] Step 21/23 : LABEL arch=amd64 [2021-06-25T00:32:26.461Z] ---> Running in 86d240a75924 [2021-06-25T00:32:26.461Z] Removing intermediate container 86d240a75924 [2021-06-25T00:32:26.461Z] ---> 9e84e87cfb29 [2021-06-25T00:32:26.461Z] Step 22/23 : LABEL git_sha=62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b [2021-06-25T00:32:26.461Z] ---> Running in f0138ba0b1e1 [2021-06-25T00:32:26.461Z] Removing intermediate container f0138ba0b1e1 [2021-06-25T00:32:26.461Z] ---> c449e6939a61 [2021-06-25T00:32:26.461Z] Step 23/23 : LABEL version=0.0.0 [2021-06-25T00:32:26.461Z] ---> Running in 0e60d6afa927 [2021-06-25T00:32:26.461Z] Removing intermediate container 0e60d6afa927 [2021-06-25T00:32:26.461Z] ---> 14471b1fb07f [2021-06-25T00:32:26.461Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-25T00:32:26.461Z] Successfully built 14471b1fb07f [2021-06-25T00:32:26.461Z] Successfully tagged device-sdk-simple:latest [2021-06-25T00:32:26.462Z] + make test [2021-06-25T00:32:26.462Z] go mod tidy [2021-06-25T00:32:26.462Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-25T00:32:34.583Z] ---> job-cost.sh [2021-06-25T00:32:34.583Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fooy [2021-06-25T00:32:45.247Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T00:32:48.136Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-25T00:32:58.379Z] lf-activate-venv(): INFO: Adding /tmp/venv-fooy/bin to PATH [2021-06-25T00:32:58.379Z] INFO: No Stack... [2021-06-25T00:32:58.379Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T00:32:58.379Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T00:33:00.982Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-25T00:33:00.982Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T00:33:01.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-986-2-stack-cost] [2021-06-25T00:33:01.054Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-986-2-stack-cost] did not exist. Created. [2021-06-25T00:33:01.054Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-986-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T00:33:06.145Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-25T00:33:06.234Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T00:33:08.671Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-986-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-25T00:33:54.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-25T00:33:54.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-25T00:33:54.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-25T00:34:04.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.345s coverage: 24.2% of statements [2021-06-25T00:34:04.962Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-25T00:34:04.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.184s coverage: 28.1% of statements [2021-06-25T00:34:04.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.244s coverage: 78.9% of statements [2021-06-25T00:34:04.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.181s coverage: 9.0% of statements [2021-06-25T00:34:04.962Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-25T00:34:04.962Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-25T00:34:04.962Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-25T00:34:04.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.332s coverage: 28.7% of statements [2021-06-25T00:34:04.962Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-25T00:34:07.577Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.239s coverage: 83.3% of statements [2021-06-25T00:34:07.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-25T00:34:07.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-25T00:34:07.577Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.351s coverage: 58.0% of statements [2021-06-25T00:34:10.172Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.059s coverage: 89.2% of statements [2021-06-25T00:34:10.172Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-25T00:34:10.172Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.170s coverage: 5.0% of statements [2021-06-25T00:34:10.172Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-25T00:34:10.172Z] GO111MODULE=on go vet ./... [2021-06-25T00:35:04.563Z] gofmt -l . [2021-06-25T00:35:04.563Z] [ "`gofmt -l .`" = "" ] [2021-06-25T00:35:04.563Z] ./bin/test-attribution-txt.sh [2021-06-25T00:35:07.094Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T00:35:07.137Z] $ docker stop --time=1 8543b635ffb3cad6deacdeee46f67fb0552269b06bc08ba21783c399ac1c9b3d [2021-06-25T00:35:09.768Z] $ docker rm -f 8543b635ffb3cad6deacdeee46f67fb0552269b06bc08ba21783c399ac1c9b3d [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T00:35:12.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T00:35:12.746Z] Warning: overwriting stash ‘coverage-report’ [2021-06-25T00:35:15.759Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T00:35:21.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T00:35:23.704Z] + ls -al . [2021-06-25T00:35:23.704Z] total 244 [2021-06-25T00:35:23.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 00:35 . [2021-06-25T00:35:23.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 00:28 .. [2021-06-25T00:35:23.704Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 00:28 .dockerignore [2021-06-25T00:35:23.704Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 00:28 .git [2021-06-25T00:35:23.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 00:28 .github [2021-06-25T00:35:23.704Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 25 00:28 .gitignore [2021-06-25T00:35:23.704Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 25 00:28 Dockerfile.build [2021-06-25T00:35:23.704Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 25 00:28 Jenkinsfile [2021-06-25T00:35:23.704Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 25 00:28 LICENSE [2021-06-25T00:35:23.704Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 25 00:28 Makefile [2021-06-25T00:35:23.704Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 25 00:28 README.md [2021-06-25T00:35:23.704Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 25 00:28 RELEASE-NOTES.txt [2021-06-25T00:35:23.704Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 00:24 VERSION [2021-06-25T00:35:23.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 00:28 bin [2021-06-25T00:35:23.704Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 25 00:34 coverage.out [2021-06-25T00:35:23.704Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 00:28 example [2021-06-25T00:35:23.704Z] -rw-r--r-- 1 jenkins jenkins 548 Jun 25 00:35 go.mod [2021-06-25T00:35:23.704Z] -rw-r--r-- 1 jenkins jenkins 20210 Jun 25 00:32 go.sum [2021-06-25T00:35:23.704Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 25 00:28 internal [2021-06-25T00:35:23.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 00:28 openapi [2021-06-25T00:35:23.704Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 00:28 pkg [2021-06-25T00:35:23.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 00:28 snap [2021-06-25T00:35:23.704Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 25 00:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:35:26.277Z] + 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=62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b --label arch=arm64 --label version=0.0.0 . [2021-06-25T00:35:26.277Z] Sending build context to Docker daemon 2.793MB [2021-06-25T00:35:26.277Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T00:35:26.277Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-25T00:35:26.277Z] ---> fc15ec5325bd [2021-06-25T00:35:26.277Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-25T00:35:26.277Z] ---> Running in f1fee1f1c102 [2021-06-25T00:35:26.277Z] Removing intermediate container f1fee1f1c102 [2021-06-25T00:35:26.277Z] ---> da817cfd2f3f [2021-06-25T00:35:26.277Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T00:35:26.277Z] ---> Running in 640cf30087b9 [2021-06-25T00:35:26.277Z] Removing intermediate container 640cf30087b9 [2021-06-25T00:35:26.277Z] ---> abc9a5a790e3 [2021-06-25T00:35:26.277Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T00:35:26.277Z] ---> Running in dca6fa40e61c [2021-06-25T00:35:29.336Z] Removing intermediate container dca6fa40e61c [2021-06-25T00:35:29.336Z] ---> dd967818e5db [2021-06-25T00:35:29.336Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-25T00:35:29.336Z] ---> Running in 1d309ba1cd4f [2021-06-25T00:35:31.867Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T00:35:31.867Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T00:35:31.867Z] OK: 139 MiB in 46 packages [2021-06-25T00:35:36.521Z] Removing intermediate container 1d309ba1cd4f [2021-06-25T00:35:36.521Z] ---> 4c9d7d4d4d98 [2021-06-25T00:35:36.521Z] Step 7/23 : COPY . . [2021-06-25T00:35:36.521Z] ---> 3e56eeee323d [2021-06-25T00:35:36.521Z] Step 8/23 : RUN go mod download [2021-06-25T00:35:36.521Z] ---> Running in 4bcf5616ebfb [2021-06-25T00:35:36.521Z] Removing intermediate container 4bcf5616ebfb [2021-06-25T00:35:36.521Z] ---> efcf06a39107 [2021-06-25T00:35:36.521Z] Step 9/23 : RUN make build [2021-06-25T00:35:36.521Z] ---> Running in 1ca5a9f809d9 [2021-06-25T00:35:37.509Z] go mod tidy [2021-06-25T00:35:41.917Z] 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-25T00:36:09.567Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-25T00:36:13.667Z] Removing intermediate container 1ca5a9f809d9 [2021-06-25T00:36:13.667Z] ---> 58f709c89615 [2021-06-25T00:36:13.667Z] Step 10/23 : FROM alpine:3.12 [2021-06-25T00:36:13.667Z] 3.12: Pulling from library/alpine [2021-06-25T00:36:13.667Z] d2f70382dc9a: Pulling fs layer [2021-06-25T00:36:13.667Z] d2f70382dc9a: Verifying Checksum [2021-06-25T00:36:13.667Z] d2f70382dc9a: Download complete [2021-06-25T00:36:14.277Z] d2f70382dc9a: Pull complete [2021-06-25T00:36:14.277Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T00:36:14.277Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T00:36:14.277Z] ---> c4fd0aeabfcf [2021-06-25T00:36:14.277Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T00:36:16.949Z] ---> Running in d8626baa9f53 [2021-06-25T00:36:16.949Z] Removing intermediate container d8626baa9f53 [2021-06-25T00:36:16.949Z] ---> 6cea863d081d [2021-06-25T00:36:16.949Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T00:36:16.949Z] ---> Running in 0802d318ad9b [2021-06-25T00:36:17.229Z] Removing intermediate container 0802d318ad9b [2021-06-25T00:36:17.229Z] ---> 4b6cc6cafea7 [2021-06-25T00:36:17.229Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-25T00:36:17.229Z] ---> Running in 962b251f0969 [2021-06-25T00:36:20.086Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-25T00:36:20.086Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-25T00:36:20.086Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-25T00:36:20.086Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-25T00:36:20.086Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-25T00:36:20.086Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-25T00:36:20.360Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-25T00:36:20.360Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T00:36:20.360Z] OK: 8 MiB in 19 packages [2021-06-25T00:36:21.343Z] Removing intermediate container 962b251f0969 [2021-06-25T00:36:21.344Z] ---> 4c61f9785a46 [2021-06-25T00:36:21.344Z] Step 14/23 : WORKDIR / [2021-06-25T00:36:21.635Z] ---> Running in fa6d4d761724 [2021-06-25T00:36:24.356Z] Removing intermediate container fa6d4d761724 [2021-06-25T00:36:24.356Z] ---> cee80662e2c8 [2021-06-25T00:36:24.356Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-25T00:36:24.356Z] ---> abaa259eb138 [2021-06-25T00:36:24.356Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-25T00:36:24.356Z] ---> e805d82dc662 [2021-06-25T00:36:24.356Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-25T00:36:27.363Z] ---> a974fef340f0 [2021-06-25T00:36:27.363Z] Step 18/23 : EXPOSE 59999 [2021-06-25T00:36:27.363Z] ---> Running in 3cf74fb737ea [2021-06-25T00:36:27.363Z] Removing intermediate container 3cf74fb737ea [2021-06-25T00:36:27.363Z] ---> 7b6fcd747d30 [2021-06-25T00:36:27.363Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-25T00:36:27.363Z] ---> Running in 1ff430d46c08 [2021-06-25T00:36:27.363Z] Removing intermediate container 1ff430d46c08 [2021-06-25T00:36:27.363Z] ---> 338acc033fe6 [2021-06-25T00:36:27.363Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T00:36:27.363Z] ---> Running in e715d027b569 [2021-06-25T00:36:27.363Z] Removing intermediate container e715d027b569 [2021-06-25T00:36:27.363Z] ---> d45b821c0b8d [2021-06-25T00:36:27.363Z] Step 21/23 : LABEL arch=arm64 [2021-06-25T00:36:27.363Z] ---> Running in d987a74f9cd0 [2021-06-25T00:36:29.985Z] Removing intermediate container d987a74f9cd0 [2021-06-25T00:36:29.985Z] ---> e10e81e79880 [2021-06-25T00:36:29.985Z] Step 22/23 : LABEL git_sha=62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b [2021-06-25T00:36:29.985Z] ---> Running in dde281874773 [2021-06-25T00:36:29.985Z] Removing intermediate container dde281874773 [2021-06-25T00:36:29.985Z] ---> 2a8bd4c48611 [2021-06-25T00:36:29.985Z] Step 23/23 : LABEL version=0.0.0 [2021-06-25T00:36:29.985Z] ---> Running in b5c65ac79ca5 [2021-06-25T00:36:29.985Z] Removing intermediate container b5c65ac79ca5 [2021-06-25T00:36:29.985Z] ---> 99ca13cd96bb [2021-06-25T00:36:29.985Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-25T00:36:29.985Z] Successfully built 99ca13cd96bb [2021-06-25T00:36:29.986Z] 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-25T00:36:35.596Z] ---> job-cost.sh [2021-06-25T00:36:35.597Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WuTI [2021-06-25T00:37:15.793Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T00:38:56.125Z] lf-activate-venv(): INFO: Adding /tmp/venv-WuTI/bin to PATH [2021-06-25T00:38:56.125Z] INFO: No Stack... [2021-06-25T00:38:56.125Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-25T00:38:56.125Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T00:38:56.464Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-25T00:38:56.465Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T00:38:56.524Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-986-2-stack-cost] [2021-06-25T00:38:56.532Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-986-2-stack-cost] did not exist. Created. [2021-06-25T00:38:56.532Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-986-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T00:38:59.306Z] /w/workspace/device-sdk-go/2@tmp/durable-e2b4d21b/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-e2b4d21b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-25T00:38:59.659Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-25T00:38:59.680Z] Warning: overwriting stash ‘stack-cost’ [2021-06-25T00:39:02.258Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T00:39:02.269Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-986-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-25T00:39:19.823Z] provisioning config files... [2021-06-25T00:39:19.840Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-986@tmp/config4633805115488442362tmp [Pipeline] { [Pipeline] sh [2021-06-25T00:39:24.742Z] + set +x [2021-06-25T00:39:24.742Z] + curl -s https://codecov.io/bash [2021-06-25T00:39:24.742Z] + bash -s -- [2021-06-25T00:39:24.742Z] [2021-06-25T00:39:24.742Z] _____ _ [2021-06-25T00:39:24.742Z] / ____| | | [2021-06-25T00:39:24.742Z] | | ___ __| | ___ ___ _____ __ [2021-06-25T00:39:24.742Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-25T00:39:24.743Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-25T00:39:24.743Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-25T00:39:24.743Z] Bash-1.0.3 [2021-06-25T00:39:24.743Z] [2021-06-25T00:39:24.743Z] [2021-06-25T00:39:24.743Z] ==> git version 2.24.4 found [2021-06-25T00:39:24.743Z] ==> 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-25T00:39:24.743Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-25T00:39:24.743Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-25T00:39:24.743Z] ==> Jenkins CI detected. [2021-06-25T00:39:24.743Z] project root: . [2021-06-25T00:39:24.743Z] --> token set from env [2021-06-25T00:39:24.743Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-25T00:39:24.743Z] ==> Running gcov in . (disable via -X gcov) [2021-06-25T00:39:24.743Z] ==> Python coveragepy not found [2021-06-25T00:39:24.743Z] ==> Searching for coverage reports in: [2021-06-25T00:39:24.743Z] + . [2021-06-25T00:39:24.743Z] -> Found 1 reports [2021-06-25T00:39:24.743Z] ==> Detecting git/mercurial file structure [2021-06-25T00:39:24.743Z] ==> Reading reports [2021-06-25T00:39:24.743Z] + ./coverage.out bytes=125634 [2021-06-25T00:39:24.743Z] ==> Appending adjustments [2021-06-25T00:39:24.743Z] https://docs.codecov.io/docs/fixing-reports [2021-06-25T00:39:24.743Z] + Found adjustments [2021-06-25T00:39:24.743Z] ==> Gzipping contents [2021-06-25T00:39:24.743Z] 16K /tmp/codecov.ZytOTM.gz [2021-06-25T00:39:24.743Z] ==> Uploading reports [2021-06-25T00:39:24.743Z] url: https://codecov.io [2021-06-25T00:39:24.743Z] query: branch=PR-986&commit=62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-986%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=986&job=&cmd_args= [2021-06-25T00:39:24.743Z] -> Pinging Codecov [2021-06-25T00:39:24.743Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-986&commit=62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-986%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=986&job=&cmd_args= [2021-06-25T00:39:24.743Z] -> Uploading to [2021-06-25T00:39:24.743Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-25/7E55EF52A471D76F132DFD9A03CDDE97/62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b/9f1253b9-584a-4b70-ba73-651fd4a2fb7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210625%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210625T003923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2eb9f55473a1b4743604cda94a43d443ae9a5f6eb1cb5e760421f50e31d18fff [2021-06-25T00:39:24.743Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-25T00:39:24.743Z] Dload Upload Total Spent Left Speed [2021-06-25T00:39:24.743Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16319 0 0 100 16319 0 40123 --:--:-- --:--:-- --:--:-- 40095 [2021-06-25T00:39:24.743Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/62b6d1d033e1a413d5c0cf4f01c7e3cb69189f2b [Pipeline] } [2021-06-25T00:39:24.762Z] 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-25T00:40:41.215Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T00:40:46.641Z] ---> package-listing.sh [2021-06-25T00:40:46.641Z] ++ facter osfamily [2021-06-25T00:40:46.641Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-25T00:40:46.641Z] + OS_FAMILY=redhat [2021-06-25T00:40:46.641Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-986 [2021-06-25T00:40:46.641Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-25T00:40:46.641Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-25T00:40:46.641Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-25T00:40:46.641Z] + PACKAGES=/tmp/packages_start.txt [2021-06-25T00:40:46.641Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-986 ']' [2021-06-25T00:40:46.641Z] + PACKAGES=/tmp/packages_end.txt [2021-06-25T00:40:46.641Z] + case "${OS_FAMILY}" in [2021-06-25T00:40:46.641Z] + rpm -qa [2021-06-25T00:40:46.641Z] + sort [2021-06-25T00:40:46.641Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-25T00:40:46.641Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-25T00:40:46.641Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-25T00:40:46.641Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-986 ']' [2021-06-25T00:40:46.641Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-986/archives/ [2021-06-25T00:40:46.641Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-986/archives/ [Pipeline] echo [2021-06-25T00:40:51.963Z] 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-986/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-25T00:40:57.107Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:40:59.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T00:40:59.934Z] [2021-06-25T00:40:59.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-25T00:41:02.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T00:41:02.735Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-25T00:41:02.735Z] df20fa9351a1: Pulling fs layer [2021-06-25T00:41:02.735Z] 36b3adc4ff6f: Pulling fs layer [2021-06-25T00:41:02.735Z] 8ad3a11d3b57: Pulling fs layer [2021-06-25T00:41:02.735Z] 46f8f816bc3b: Pulling fs layer [2021-06-25T00:41:02.735Z] 93b61091891f: Pulling fs layer [2021-06-25T00:41:02.735Z] 93b9cdb0e59b: Pulling fs layer [2021-06-25T00:41:02.735Z] 5e14af77c1be: Pulling fs layer [2021-06-25T00:41:02.735Z] 01666e4c0597: Pulling fs layer [2021-06-25T00:41:02.735Z] aa168da1d23b: Pulling fs layer [2021-06-25T00:41:02.735Z] 93b61091891f: Waiting [2021-06-25T00:41:02.735Z] 93b9cdb0e59b: Waiting [2021-06-25T00:41:02.735Z] 5e14af77c1be: Waiting [2021-06-25T00:41:02.735Z] 01666e4c0597: Waiting [2021-06-25T00:41:02.735Z] aa168da1d23b: Waiting [2021-06-25T00:41:02.735Z] 46f8f816bc3b: Waiting [2021-06-25T00:41:02.735Z] 36b3adc4ff6f: Verifying Checksum [2021-06-25T00:41:02.735Z] 36b3adc4ff6f: Download complete [2021-06-25T00:41:02.735Z] 46f8f816bc3b: Verifying Checksum [2021-06-25T00:41:02.735Z] 46f8f816bc3b: Download complete [2021-06-25T00:41:02.735Z] df20fa9351a1: Verifying Checksum [2021-06-25T00:41:02.735Z] df20fa9351a1: Download complete [2021-06-25T00:41:02.735Z] 93b61091891f: Verifying Checksum [2021-06-25T00:41:02.735Z] 93b61091891f: Download complete [2021-06-25T00:41:02.735Z] 93b9cdb0e59b: Verifying Checksum [2021-06-25T00:41:02.735Z] 93b9cdb0e59b: Download complete [2021-06-25T00:41:02.735Z] 5e14af77c1be: Verifying Checksum [2021-06-25T00:41:02.735Z] 5e14af77c1be: Download complete [2021-06-25T00:41:02.735Z] 01666e4c0597: Verifying Checksum [2021-06-25T00:41:02.735Z] 01666e4c0597: Download complete [2021-06-25T00:41:02.735Z] df20fa9351a1: Pull complete [2021-06-25T00:41:02.735Z] 36b3adc4ff6f: Pull complete [2021-06-25T00:41:02.735Z] 8ad3a11d3b57: Verifying Checksum [2021-06-25T00:41:02.735Z] 8ad3a11d3b57: Download complete [2021-06-25T00:41:02.735Z] 8ad3a11d3b57: Pull complete [2021-06-25T00:41:02.735Z] 46f8f816bc3b: Pull complete [2021-06-25T00:41:02.735Z] 93b61091891f: Pull complete [2021-06-25T00:41:02.735Z] 93b9cdb0e59b: Pull complete [2021-06-25T00:41:02.735Z] 5e14af77c1be: Pull complete [2021-06-25T00:41:02.735Z] 01666e4c0597: Pull complete [2021-06-25T00:41:05.575Z] aa168da1d23b: Verifying Checksum [2021-06-25T00:41:05.575Z] aa168da1d23b: Download complete [2021-06-25T00:41:08.741Z] aa168da1d23b: Pull complete [2021-06-25T00:41:08.741Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-25T00:41:08.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T00:41:08.741Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-25T00:41:08.837Z] prd-centos7-docker-4c-2g-1365 does not seem to be running inside a container [2021-06-25T00:41:08.905Z] $ 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-986/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-986 -v /w/workspace/dgexfoundry_device-sdk-go_PR-986:/w/workspace/dgexfoundry_device-sdk-go_PR-986:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-986@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-986@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-25T00:41:11.383Z] $ docker top 8c95736d08eb9979199f3b3069e0a9c54e8e9f6ebf3eeee4707f21ff29417481 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T00:41:13.890Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-25T00:41:16.501Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-25T00:41:19.041Z] + ls /var/log/sa-host [2021-06-25T00:41:19.041Z] + sadf -c /var/log/sa-host/sa05 [2021-06-25T00:41:19.041Z] file_magic: OK [2021-06-25T00:41:19.041Z] HZ: Using current value: 100 [2021-06-25T00:41:19.041Z] file_header: OK [2021-06-25T00:41:19.041Z] 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-25T00:41:19.041Z] Statistics: [2021-06-25T00:41:19.041Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T00:41:19.041Z] File successfully converted to sysstat format version 12.2.1 [2021-06-25T00:41:19.041Z] + sadf -c /var/log/sa-host/sa25 [2021-06-25T00:41:19.041Z] file_magic: OK [2021-06-25T00:41:19.041Z] HZ: Using current value: 100 [2021-06-25T00:41:19.041Z] file_header: OK [2021-06-25T00:41:19.041Z] 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-25T00:41:19.041Z] Statistics: [2021-06-25T00:41:19.041Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T00:41:19.041Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T00:41:36.526Z] provisioning config files... [2021-06-25T00:41:38.966Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-986@tmp/config9177335512499961358tmp [Pipeline] { [Pipeline] echo [2021-06-25T00:41:38.997Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T00:41:41.619Z] ---> create-netrc.sh [Pipeline] } [2021-06-25T00:41:41.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-25T00:41:46.697Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-25T00:41:46.711Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T00:41:49.214Z] ---> sudo-logs.sh [2021-06-25T00:41:49.214Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-25T00:41:49.259Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T00:41:51.776Z] ---> job-cost.sh [2021-06-25T00:41:51.776Z] lf-activate-venv: SKIPPING [2021-06-25T00:41:51.776Z] DEBUG: total: 0.18000000715255737 [2021-06-25T00:41:51.776Z] INFO: Retrieving Stack Cost... [2021-06-25T00:41:51.776Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T00:41:51.776Z] INFO: Archiving Costs [Pipeline] echo [2021-06-25T00:41:51.868Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh