Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9b4d03481ff393d24f9800b7af4a8231e2ff3b04+a24609de80133c139ab476bfa891138650961ed9 (d28894dddc7a9de2e1547de9c80177f7f5e7261d) 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-ssh1603571893971130312.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-ssh493719068983005531.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-971/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-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1573200835244359829.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-ssh1345954732136974456.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/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-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7966693339397188176.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1825’ is offline Running on prd-centos7-docker-4c-2g-319 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [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-971 # 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-971@tmp/jenkins-gitclient-ssh4508807379330756407.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-971@tmp/jenkins-gitclient-ssh5892838758877116498.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a24609de80133c139ab476bfa891138650961ed9 into PR head commit 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 Merge succeeded, producing b2faf8847055e4d27b6b4863f882f169ca59b078 Checking out Revision b2faf8847055e4d27b6b4863f882f169ca59b078 (PR-971) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # 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-971@tmp/jenkins-gitclient-ssh2098739417510840846.key > git merge a24609de80133c139ab476bfa891138650961ed9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2faf8847055e4d27b6b4863f882f169ca59b078 # timeout=10 Commit message: "Merge commit 'a24609de80133c139ab476bfa891138650961ed9' into HEAD" > git rev-list --no-walk 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-19T06:42:39.438Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-19T06:42:39.528Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-19T06:42:39.554Z] ========================================================= [2021-06-19T06:42:39.554Z] EdgeX Global Pipelines Version Info [2021-06-19T06:42:39.554Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:42:41.004Z] ------------------- [2021-06-19T06:42:41.004Z] stable info: [2021-06-19T06:42:41.004Z] ------------------- [2021-06-19T06:42:41.004Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-19T06:42:41.004Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-19T06:42:41.004Z] Message: update stable to v1.0.195 [2021-06-19T06:42:41.584Z] ------------------- [2021-06-19T06:42:41.584Z] experimental info: [2021-06-19T06:42:41.584Z] ------------------- [2021-06-19T06:42:41.584Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-19T06:42:41.584Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-19T06:42:41.584Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-19T06:42:41.747Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-19T06:42:41.779Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-19T06:42:41.835Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-19T06:42:41.859Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-19T06:42:41.882Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-19T06:42:41.906Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-19T06:42:41.934Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-19T06:42:41.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-19T06:42:41.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-19T06:42:42.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-19T06:42:42.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-19T06:42:42.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-19T06:42:42.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-19T06:42:42.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-19T06:42:42.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-19T06:42:42.166Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-19T06:42:42.198Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-19T06:42:42.226Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-19T06:42:42.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-19T06:42:42.273Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-19T06:42:42.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-19T06:42:42.320Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-19T06:42:42.344Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-19T06:42:42.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-19T06:42:42.391Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-19T06:42:42.414Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-19T06:42:42.439Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-19T06:42:42.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-19T06:42:42.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-19T06:42:42.509Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2faf8847055e4d27b6b4863f882f169ca59b078 [Pipeline] echo [2021-06-19T06:42:42.532Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2faf88 [Pipeline] echo [2021-06-19T06:42:42.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-19T06:42:42.633Z] provisioning config files... [2021-06-19T06:42:42.649Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config9128700526943695891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:42:42.977Z] ---> docker-login.sh [2021-06-19T06:42:42.977Z] nexus3.edgexfoundry.org:10001 [2021-06-19T06:42:42.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:42:43.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:42:43.241Z] Configure a credential helper to remove this warning. See [2021-06-19T06:42:43.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:42:43.241Z] [2021-06-19T06:42:43.241Z] Login Succeeded [2021-06-19T06:42:43.241Z] nexus3.edgexfoundry.org:10002 [2021-06-19T06:42:43.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:42:43.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:42:43.241Z] Configure a credential helper to remove this warning. See [2021-06-19T06:42:43.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:42:43.242Z] [2021-06-19T06:42:43.242Z] Login Succeeded [2021-06-19T06:42:43.242Z] nexus3.edgexfoundry.org:10003 [2021-06-19T06:42:43.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:42:43.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:42:43.504Z] Configure a credential helper to remove this warning. See [2021-06-19T06:42:43.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:42:43.504Z] [2021-06-19T06:42:43.504Z] Login Succeeded [2021-06-19T06:42:43.504Z] nexus3.edgexfoundry.org:10004 [2021-06-19T06:42:43.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:42:43.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:42:43.504Z] Configure a credential helper to remove this warning. See [2021-06-19T06:42:43.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:42:43.504Z] [2021-06-19T06:42:43.504Z] Login Succeeded [2021-06-19T06:42:43.504Z] docker.io [2021-06-19T06:42:43.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:42:44.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:42:44.080Z] Configure a credential helper to remove this warning. See [2021-06-19T06:42:44.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:42:44.080Z] [2021-06-19T06:42:44.080Z] Login Succeeded [2021-06-19T06:42:44.080Z] ---> docker-login.sh ends [Pipeline] } [2021-06-19T06:42:44.089Z] 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-19T06:42:44.618Z] + git log --format=format:%s -1 b2faf8847055e4d27b6b4863f882f169ca59b078 [Pipeline] echo [2021-06-19T06:42:44.662Z] GIT_COMMIT: b2faf8847055e4d27b6b4863f882f169ca59b078, Commit Message: Merge commit 'a24609de80133c139ab476bfa891138650961ed9' into HEAD [Pipeline] echo [2021-06-19T06:42:44.676Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:42:45.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-19T06:42:45.251Z] [2021-06-19T06:42:45.251Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:42:45.560Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-19T06:42:45.560Z] latest: Pulling from edgex-devops/git-semver [2021-06-19T06:42:45.560Z] 31603596830f: Pulling fs layer [2021-06-19T06:42:45.560Z] 54011a49482f: Pulling fs layer [2021-06-19T06:42:45.560Z] a6820b24f6d8: Pulling fs layer [2021-06-19T06:42:45.560Z] f581987b2513: Pulling fs layer [2021-06-19T06:42:45.560Z] f581987b2513: Waiting [2021-06-19T06:42:45.560Z] 54011a49482f: Verifying Checksum [2021-06-19T06:42:45.560Z] 54011a49482f: Download complete [2021-06-19T06:42:45.825Z] 31603596830f: Verifying Checksum [2021-06-19T06:42:45.825Z] 31603596830f: Download complete [2021-06-19T06:42:45.825Z] f581987b2513: Verifying Checksum [2021-06-19T06:42:45.825Z] f581987b2513: Download complete [2021-06-19T06:42:45.825Z] a6820b24f6d8: Verifying Checksum [2021-06-19T06:42:45.825Z] a6820b24f6d8: Download complete [2021-06-19T06:42:45.825Z] 31603596830f: Pull complete [2021-06-19T06:42:46.086Z] 54011a49482f: Pull complete [2021-06-19T06:42:46.659Z] a6820b24f6d8: Pull complete [2021-06-19T06:42:46.659Z] f581987b2513: Pull complete [2021-06-19T06:42:46.659Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-19T06:42:46.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-19T06:42:46.921Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-19T06:42:47.000Z] prd-centos7-docker-4c-2g-319 does not seem to be running inside a container [2021-06-19T06:42:47.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-19T06:42:48.109Z] $ docker top 325785486f11d0bdd82c606f0c749d9c6078c69d747d32f0507d62554eaaceb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-19T06:42:48.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-19T06:42:48.230Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-19T06:42:48.329Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-19T06:42:48.327Z] $ docker exec 325785486f11d0bdd82c606f0c749d9c6078c69d747d32f0507d62554eaaceb8 ssh-agent [2021-06-19T06:42:48.436Z] SSH_AUTH_SOCK=/tmp/ssh-2CLAn2FT0SmT/agent.13 [2021-06-19T06:42:48.436Z] SSH_AGENT_PID=20 [2021-06-19T06:42:48.445Z] Running ssh-add (command line suppressed) [2021-06-19T06:42:48.536Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_384904631957587863.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_384904631957587863.key) [2021-06-19T06:42:48.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-19T06:42:48.854Z] + git tag --points-at HEAD [Pipeline] } [2021-06-19T06:42:48.864Z] $ docker exec --env ******** --env ******** 325785486f11d0bdd82c606f0c749d9c6078c69d747d32f0507d62554eaaceb8 ssh-agent -k [2021-06-19T06:42:48.953Z] unset SSH_AUTH_SOCK; [2021-06-19T06:42:48.953Z] unset SSH_AGENT_PID; [2021-06-19T06:42:48.953Z] echo Agent pid 20 killed; [2021-06-19T06:42:48.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-19T06:42:49.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-19T06:42:49.029Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-19T06:42:49.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-19T06:42:49.143Z] $ docker exec 325785486f11d0bdd82c606f0c749d9c6078c69d747d32f0507d62554eaaceb8 ssh-agent [2021-06-19T06:42:49.259Z] SSH_AUTH_SOCK=/tmp/ssh-NGKbFJWpq0AM/agent.51 [2021-06-19T06:42:49.259Z] SSH_AGENT_PID=58 [2021-06-19T06:42:49.264Z] Running ssh-add (command line suppressed) [2021-06-19T06:42:49.361Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_5645097956004374375.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_5645097956004374375.key) [2021-06-19T06:42:49.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-19T06:42:49.688Z] + git semver init [2021-06-19T06:42:49.689Z] # -> Open(): unable to determine branch for HEAD [2021-06-19T06:42:49.689Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-19T06:42:49.689Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-19T06:42:49.689Z] # $SEMVER_REMOTE_NAME = origin [2021-06-19T06:42:49.689Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-19T06:42:49.689Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-19T06:42:49.689Z] # $SEMVER_BRANCH = PR-971 [2021-06-19T06:42:49.689Z] # $SEMVER_TEMP = /tmp/semver-038102801 [2021-06-19T06:42:49.689Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-19T06:42:50.269Z] # '/tmp/semver-038102801' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-19T06:42:50.269Z] # -> Force: false [2021-06-19T06:42:50.269Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-19T06:42:50.274Z] $ docker exec --env ******** --env ******** 325785486f11d0bdd82c606f0c749d9c6078c69d747d32f0507d62554eaaceb8 ssh-agent -k [2021-06-19T06:42:50.364Z] unset SSH_AUTH_SOCK; [2021-06-19T06:42:50.365Z] unset SSH_AGENT_PID; [2021-06-19T06:42:50.365Z] echo Agent pid 58 killed; [2021-06-19T06:42:50.380Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-19T06:42:50.715Z] + git semver [Pipeline] } [2021-06-19T06:42:50.725Z] $ docker stop --time=1 325785486f11d0bdd82c606f0c749d9c6078c69d747d32f0507d62554eaaceb8 [2021-06-19T06:42:51.959Z] $ docker rm -f 325785486f11d0bdd82c606f0c749d9c6078c69d747d32f0507d62554eaaceb8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-19T06:42:52.340Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-19T06:42:52.596Z] Stashed 1 file(s) [Pipeline] echo [2021-06-19T06:42:52.599Z] [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-19T06:43:07.957Z] Still waiting to schedule task [2021-06-19T06:43:07.958Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-19T06:43:07.959Z] Still waiting to schedule task [2021-06-19T06:43:07.960Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-19T06:45:06.406Z] Running on prd-centos7-docker-4c-2g-322 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-19T06:45:06.426Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-19T06:45:06.548Z] Selected Git installation does not exist. Using Default [2021-06-19T06:45:06.548Z] The recommended git tool is: NONE [2021-06-19T06:45:09.113Z] using credential edgex-jenkins-ssh [2021-06-19T06:45:09.133Z] Cloning the remote Git repository [2021-06-19T06:45:08.934Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-19T06:45:09.010Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-19T06:45:09.044Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-19T06:45:09.045Z] > git --version # timeout=10 [2021-06-19T06:45:09.058Z] > git --version # 'git version 2.24.4' [2021-06-19T06:45:09.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-19T06:45:09.084Z] [INFO] Currently running in a labeled security context [2021-06-19T06:45:09.084Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-19T06:45:09.085Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh8293891068587373225.key [2021-06-19T06:45:09.113Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-19T06:45:10.465Z] Merging remotes/origin/master commit a24609de80133c139ab476bfa891138650961ed9 into PR head commit 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [2021-06-19T06:45:10.570Z] Merge succeeded, producing 4fca21a5b9430d7078f10cea7ef6a35f13a52fec [2021-06-19T06:45:10.570Z] Checking out Revision 4fca21a5b9430d7078f10cea7ef6a35f13a52fec (PR-971) [2021-06-19T06:45:09.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-19T06:45:09.901Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-19T06:45:09.916Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-19T06:45:09.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-19T06:45:09.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-19T06:45:09.929Z] [INFO] Currently running in a labeled security context [2021-06-19T06:45:09.929Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-19T06:45:09.930Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh5295530160912379514.key [2021-06-19T06:45:09.941Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-19T06:45:10.359Z] > git config core.sparsecheckout # timeout=10 [2021-06-19T06:45:10.369Z] > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [2021-06-19T06:45:10.408Z] > git remote # timeout=10 [2021-06-19T06:45:10.417Z] > git config --get remote.origin.url # timeout=10 [2021-06-19T06:45:10.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-19T06:45:10.427Z] [INFO] Currently running in a labeled security context [2021-06-19T06:45:10.427Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-19T06:45:10.427Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh3923726355550749560.key [2021-06-19T06:45:10.434Z] > git merge a24609de80133c139ab476bfa891138650961ed9 # timeout=10 [2021-06-19T06:45:10.454Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-19T06:45:10.467Z] > git config core.sparsecheckout # timeout=10 [2021-06-19T06:45:10.480Z] > git checkout -f 4fca21a5b9430d7078f10cea7ef6a35f13a52fec # timeout=10 [2021-06-19T06:45:14.129Z] Commit message: "Merge commit 'a24609de80133c139ab476bfa891138650961ed9' into HEAD" [2021-06-19T06:45:14.129Z] > git rev-list --no-walk 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-19T06:45:15.160Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-19T06:45:15.489Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-19T06:45:15.800Z] + sudo service docker restart [2021-06-19T06:45:15.800Z] + true [2021-06-19T06:45:15.800Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-19T06:45:34.009Z] provisioning config files... [2021-06-19T06:45:34.025Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4954882336187902193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:45:34.357Z] ---> docker-login.sh [2021-06-19T06:45:34.357Z] nexus3.edgexfoundry.org:10001 [2021-06-19T06:45:34.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:45:34.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:45:34.621Z] Configure a credential helper to remove this warning. See [2021-06-19T06:45:34.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:45:34.621Z] [2021-06-19T06:45:34.621Z] Login Succeeded [2021-06-19T06:45:34.621Z] nexus3.edgexfoundry.org:10002 [2021-06-19T06:45:34.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:45:34.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:45:34.621Z] Configure a credential helper to remove this warning. See [2021-06-19T06:45:34.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:45:34.621Z] [2021-06-19T06:45:34.621Z] Login Succeeded [2021-06-19T06:45:34.621Z] nexus3.edgexfoundry.org:10003 [2021-06-19T06:45:34.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:45:34.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:45:34.887Z] Configure a credential helper to remove this warning. See [2021-06-19T06:45:34.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:45:34.887Z] [2021-06-19T06:45:34.887Z] Login Succeeded [2021-06-19T06:45:34.887Z] nexus3.edgexfoundry.org:10004 [2021-06-19T06:45:34.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:45:35.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:45:35.150Z] Configure a credential helper to remove this warning. See [2021-06-19T06:45:35.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:45:35.150Z] [2021-06-19T06:45:35.150Z] Login Succeeded [2021-06-19T06:45:35.150Z] docker.io [2021-06-19T06:45:35.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:45:35.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:45:35.412Z] Configure a credential helper to remove this warning. See [2021-06-19T06:45:35.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:45:35.412Z] [2021-06-19T06:45:35.412Z] Login Succeeded [2021-06-19T06:45:35.412Z] ---> docker-login.sh ends [Pipeline] } [2021-06-19T06:45:35.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-19T06:45:35.602Z] ========================================================= [2021-06-19T06:45:35.602Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-19T06:45:35.602Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:45:35.913Z] + 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-19T06:45:35.913Z] Sending build context to Docker daemon 2.69MB [2021-06-19T06:45:35.913Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-19T06:45:35.913Z] Step 2/8 : FROM ${BASE} [2021-06-19T06:45:36.177Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-19T06:45:36.177Z] 540db60ca938: Pulling fs layer [2021-06-19T06:45:36.177Z] adcc1eea9eea: Pulling fs layer [2021-06-19T06:45:36.177Z] 4c4ab2625f07: Pulling fs layer [2021-06-19T06:45:36.177Z] 0510c868ecb4: Pulling fs layer [2021-06-19T06:45:36.177Z] afea3b2eda06: Pulling fs layer [2021-06-19T06:45:36.177Z] 7809a108b3ef: Pulling fs layer [2021-06-19T06:45:36.177Z] f706445af74f: Pulling fs layer [2021-06-19T06:45:36.177Z] 0510c868ecb4: Waiting [2021-06-19T06:45:36.177Z] afea3b2eda06: Waiting [2021-06-19T06:45:36.177Z] 7809a108b3ef: Waiting [2021-06-19T06:45:36.177Z] f706445af74f: Waiting [2021-06-19T06:45:36.177Z] 4c4ab2625f07: Verifying Checksum [2021-06-19T06:45:36.177Z] 4c4ab2625f07: Download complete [2021-06-19T06:45:36.177Z] adcc1eea9eea: Verifying Checksum [2021-06-19T06:45:36.177Z] adcc1eea9eea: Download complete [2021-06-19T06:45:36.177Z] afea3b2eda06: Verifying Checksum [2021-06-19T06:45:36.177Z] afea3b2eda06: Download complete [2021-06-19T06:45:36.177Z] 7809a108b3ef: Verifying Checksum [2021-06-19T06:45:36.177Z] 7809a108b3ef: Download complete [2021-06-19T06:45:36.177Z] 540db60ca938: Verifying Checksum [2021-06-19T06:45:36.177Z] 540db60ca938: Download complete [2021-06-19T06:45:36.440Z] 540db60ca938: Pull complete [2021-06-19T06:45:36.440Z] adcc1eea9eea: Pull complete [2021-06-19T06:45:36.702Z] 4c4ab2625f07: Pull complete [2021-06-19T06:45:37.653Z] f706445af74f: Verifying Checksum [2021-06-19T06:45:37.653Z] f706445af74f: Download complete [2021-06-19T06:45:38.231Z] 0510c868ecb4: Verifying Checksum [2021-06-19T06:45:38.231Z] 0510c868ecb4: Download complete [2021-06-19T06:45:42.485Z] 0510c868ecb4: Pull complete [2021-06-19T06:45:42.485Z] afea3b2eda06: Pull complete [2021-06-19T06:45:42.485Z] 7809a108b3ef: Pull complete [2021-06-19T06:45:43.903Z] f706445af74f: Pull complete [2021-06-19T06:45:43.903Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-19T06:45:43.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-19T06:45:43.903Z] ---> b068be0155e3 [2021-06-19T06:45:43.903Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-19T06:45:47.253Z] ---> Running in cd1ed222ab7d [2021-06-19T06:45:47.253Z] Removing intermediate container cd1ed222ab7d [2021-06-19T06:45:47.253Z] ---> a5044f8e5e84 [2021-06-19T06:45:47.253Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-19T06:45:47.253Z] ---> Running in 31a14586b61c [2021-06-19T06:45:47.834Z] Removing intermediate container 31a14586b61c [2021-06-19T06:45:47.834Z] ---> 5d05e92080b7 [2021-06-19T06:45:47.834Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-19T06:45:47.834Z] ---> Running in ac2cc890cbac [2021-06-19T06:45:48.430Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-19T06:45:49.006Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-19T06:45:49.580Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-19T06:45:49.580Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-19T06:45:49.580Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-19T06:45:49.842Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-19T06:45:49.842Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-19T06:45:49.842Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-19T06:45:50.106Z] Executing busybox-1.32.1-r6.trigger [2021-06-19T06:45:50.107Z] OK: 150 MiB in 46 packages [2021-06-19T06:45:50.375Z] Removing intermediate container ac2cc890cbac [2021-06-19T06:45:50.375Z] ---> 50dc2faad5d4 [2021-06-19T06:45:50.375Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-19T06:45:50.375Z] ---> Running in d7e3b92e7253 [2021-06-19T06:45:50.644Z] Removing intermediate container d7e3b92e7253 [2021-06-19T06:45:50.644Z] ---> 77ec7647f327 [2021-06-19T06:45:50.644Z] Step 7/8 : COPY . . [2021-06-19T06:45:50.922Z] ---> e0856ba9f4b5 [2021-06-19T06:45:50.922Z] Step 8/8 : RUN go mod download [2021-06-19T06:45:50.922Z] ---> Running in 200a2d06deb0 [2021-06-19T06:46:02.258Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-323 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-19T06:46:02.278Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-19T06:46:02.549Z] Selected Git installation does not exist. Using Default [2021-06-19T06:46:02.549Z] The recommended git tool is: NONE [2021-06-19T06:46:03.208Z] Removing intermediate container 200a2d06deb0 [2021-06-19T06:46:03.208Z] ---> b810d264242c [2021-06-19T06:46:03.208Z] Successfully built b810d264242c [2021-06-19T06:46:03.208Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:46:03.522Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-19T06:46:03.522Z] . [Pipeline] withDockerContainer [2021-06-19T06:46:03.614Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-06-19T06:46:03.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-19T06:46:04.110Z] $ docker top 268a6028b295847923eeb4002fb47557f2c0f629c830e8b3cd6fe1d357710025 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-19T06:46:04.519Z] + go version [2021-06-19T06:46:04.519Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-19T06:46:04.528Z] $ docker stop --time=1 268a6028b295847923eeb4002fb47557f2c0f629c830e8b3cd6fe1d357710025 [2021-06-19T06:46:05.738Z] $ docker rm -f 268a6028b295847923eeb4002fb47557f2c0f629c830e8b3cd6fe1d357710025 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:46:06.302Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-19T06:46:06.302Z] . [Pipeline] withDockerContainer [2021-06-19T06:46:06.387Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-06-19T06:46:06.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-19T06:46:06.892Z] $ docker top e651e9cd339a2c9a24d247b1194adee44c1f2d1d1cd2b8bf0096e92b9be8c6c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-19T06:46:07.298Z] + go mod tidy [Pipeline] sh [2021-06-19T06:46:07.869Z] + make test [2021-06-19T06:46:07.869Z] go mod tidy [2021-06-19T06:46:07.886Z] using credential edgex-jenkins-ssh [2021-06-19T06:46:07.923Z] Cloning the remote Git repository [2021-06-19T06:46:08.139Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-19T06:46:07.988Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-19T06:46:08.095Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-19T06:46:08.166Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-19T06:46:08.166Z] > git --version # timeout=10 [2021-06-19T06:46:08.181Z] > git --version # 'git version 2.17.1' [2021-06-19T06:46:08.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-19T06:46:08.296Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-19T06:46:09.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-19T06:46:09.597Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-19T06:46:09.622Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-19T06:46:09.655Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-19T06:46:09.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-19T06:46:09.670Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-19T06:46:10.171Z] Merging remotes/origin/master commit a24609de80133c139ab476bfa891138650961ed9 into PR head commit 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 [2021-06-19T06:46:10.447Z] Merge succeeded, producing f39f95200854f0cf558984a7d00ae0e3ef99ca3a [2021-06-19T06:46:10.448Z] Checking out Revision f39f95200854f0cf558984a7d00ae0e3ef99ca3a (PR-971) [2021-06-19T06:46:10.186Z] > git config core.sparsecheckout # timeout=10 [2021-06-19T06:46:10.208Z] > git checkout -f 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [2021-06-19T06:46:10.308Z] > git remote # timeout=10 [2021-06-19T06:46:10.329Z] > git config --get remote.origin.url # timeout=10 [2021-06-19T06:46:10.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-19T06:46:10.353Z] > git merge a24609de80133c139ab476bfa891138650961ed9 # timeout=10 [2021-06-19T06:46:10.427Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-19T06:46:10.447Z] > git config core.sparsecheckout # timeout=10 [2021-06-19T06:46:10.456Z] > git checkout -f f39f95200854f0cf558984a7d00ae0e3ef99ca3a # timeout=10 [2021-06-19T06:46:14.639Z] Commit message: "Merge commit 'a24609de80133c139ab476bfa891138650961ed9' into HEAD" [2021-06-19T06:46:14.640Z] > git rev-list --no-walk 9b4d03481ff393d24f9800b7af4a8231e2ff3b04 # timeout=10 [2021-06-19T06:46:14.799Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-19T06:46:15.965Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-19T06:46:16.394Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-19T06:46:16.745Z] + sudo service docker restart+ [2021-06-19T06:46:16.745Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-19T06:46:35.102Z] provisioning config files... [2021-06-19T06:46:35.128Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8378877045087581960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:46:35.498Z] ---> docker-login.sh [2021-06-19T06:46:35.499Z] nexus3.edgexfoundry.org:10001 [2021-06-19T06:46:36.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:46:36.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:46:36.711Z] Configure a credential helper to remove this warning. See [2021-06-19T06:46:36.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:46:36.711Z] [2021-06-19T06:46:36.711Z] Login Succeeded [2021-06-19T06:46:36.711Z] nexus3.edgexfoundry.org:10002 [2021-06-19T06:46:36.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:46:37.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:46:37.256Z] Configure a credential helper to remove this warning. See [2021-06-19T06:46:37.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:46:37.256Z] [2021-06-19T06:46:37.256Z] Login Succeeded [2021-06-19T06:46:37.256Z] nexus3.edgexfoundry.org:10003 [2021-06-19T06:46:37.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:46:37.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:46:37.810Z] Configure a credential helper to remove this warning. See [2021-06-19T06:46:37.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:46:37.810Z] [2021-06-19T06:46:37.810Z] Login Succeeded [2021-06-19T06:46:37.810Z] nexus3.edgexfoundry.org:10004 [2021-06-19T06:46:38.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:46:38.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:46:38.358Z] Configure a credential helper to remove this warning. See [2021-06-19T06:46:38.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:46:38.358Z] [2021-06-19T06:46:38.358Z] Login Succeeded [2021-06-19T06:46:38.358Z] docker.io [2021-06-19T06:46:38.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-19T06:46:38.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-19T06:46:38.911Z] Configure a credential helper to remove this warning. See [2021-06-19T06:46:38.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-19T06:46:38.911Z] [2021-06-19T06:46:38.911Z] Login Succeeded [2021-06-19T06:46:38.911Z] ---> docker-login.sh ends [Pipeline] } [2021-06-19T06:46:38.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-19T06:46:39.476Z] ========================================================= [2021-06-19T06:46:39.476Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-19T06:46:39.476Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:46:39.873Z] + 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-19T06:46:40.483Z] Sending build context to Docker daemon 2.69MB [2021-06-19T06:46:40.483Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-19T06:46:40.483Z] Step 2/8 : FROM ${BASE} [2021-06-19T06:46:40.757Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-19T06:46:40.757Z] 595b0fe564bb: Pulling fs layer [2021-06-19T06:46:40.757Z] 3088b5b3c5c0: Pulling fs layer [2021-06-19T06:46:40.757Z] 5b7225fbf94c: Pulling fs layer [2021-06-19T06:46:40.757Z] ba82ee9f976e: Pulling fs layer [2021-06-19T06:46:40.757Z] 506bd15cee9f: Pulling fs layer [2021-06-19T06:46:40.757Z] 75a0a4a0db45: Pulling fs layer [2021-06-19T06:46:40.757Z] 618dc40b7e24: Pulling fs layer [2021-06-19T06:46:40.757Z] 506bd15cee9f: Waiting [2021-06-19T06:46:40.757Z] 618dc40b7e24: Waiting [2021-06-19T06:46:40.757Z] 75a0a4a0db45: Waiting [2021-06-19T06:46:40.757Z] ba82ee9f976e: Waiting [2021-06-19T06:46:40.757Z] 5b7225fbf94c: Download complete [2021-06-19T06:46:40.757Z] 3088b5b3c5c0: Verifying Checksum [2021-06-19T06:46:40.757Z] 3088b5b3c5c0: Download complete [2021-06-19T06:46:40.757Z] 506bd15cee9f: Download complete [2021-06-19T06:46:40.757Z] 75a0a4a0db45: Download complete [2021-06-19T06:46:40.757Z] 595b0fe564bb: Download complete [2021-06-19T06:46:41.353Z] 595b0fe564bb: Pull complete [2021-06-19T06:46:41.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-19T06:46:41.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-19T06:46:41.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-19T06:46:41.595Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.068s coverage: 25.4% of statements [2021-06-19T06:46:41.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-19T06:46:41.595Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.090s coverage: 28.1% of statements [2021-06-19T06:46:41.595Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements [2021-06-19T06:46:41.595Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.063s coverage: 9.0% of statements [2021-06-19T06:46:41.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-19T06:46:41.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-19T06:46:41.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-19T06:46:41.961Z] 3088b5b3c5c0: Pull complete [2021-06-19T06:46:42.184Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 29.2% of statements [2021-06-19T06:46:42.184Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-19T06:46:42.558Z] 5b7225fbf94c: Pull complete [2021-06-19T06:46:43.156Z] 618dc40b7e24: Verifying Checksum [2021-06-19T06:46:43.156Z] 618dc40b7e24: Download complete [2021-06-19T06:46:44.138Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.081s coverage: 83.3% of statements [2021-06-19T06:46:44.138Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-19T06:46:44.138Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-19T06:46:44.138Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 58.0% of statements [2021-06-19T06:46:44.600Z] ba82ee9f976e: Verifying Checksum [2021-06-19T06:46:44.600Z] ba82ee9f976e: Download complete [2021-06-19T06:46:44.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.880s coverage: 89.2% of statements [2021-06-19T06:46:44.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-19T06:46:44.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 5.0% of statements [2021-06-19T06:46:44.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-19T06:46:44.987Z] GO111MODULE=on go vet ./... [2021-06-19T06:46:54.758Z] ba82ee9f976e: Pull complete [2021-06-19T06:46:55.031Z] 506bd15cee9f: Pull complete [2021-06-19T06:46:55.628Z] 75a0a4a0db45: Pull complete [2021-06-19T06:46:59.024Z] 618dc40b7e24: Pull complete [2021-06-19T06:46:59.024Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-19T06:46:59.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-19T06:46:59.310Z] ---> a36622ca3599 [2021-06-19T06:46:59.310Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-19T06:47:01.302Z] ---> Running in 075f5bdcd7ca [2021-06-19T06:47:01.901Z] Removing intermediate container 075f5bdcd7ca [2021-06-19T06:47:01.901Z] ---> 7e3ece97aab9 [2021-06-19T06:47:01.901Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-19T06:47:01.901Z] ---> Running in 810a28cafe4d [2021-06-19T06:47:04.540Z] Removing intermediate container 810a28cafe4d [2021-06-19T06:47:04.540Z] ---> 33c745416f28 [2021-06-19T06:47:04.540Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-19T06:47:04.540Z] ---> Running in dd44add2c99a [2021-06-19T06:47:05.519Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-19T06:47:06.497Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-19T06:47:07.071Z] gofmt -l . [2021-06-19T06:47:07.071Z] [ "`gofmt -l .`" = "" ] [2021-06-19T06:47:07.071Z] ./bin/test-attribution-txt.sh [2021-06-19T06:47:07.071Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-19T06:47:07.081Z] $ docker stop --time=1 e651e9cd339a2c9a24d247b1194adee44c1f2d1d1cd2b8bf0096e92b9be8c6c3 [2021-06-19T06:47:07.472Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-19T06:47:07.473Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-19T06:47:07.473Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-19T06:47:07.744Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-19T06:47:07.744Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-19T06:47:07.744Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-19T06:47:08.022Z] Executing busybox-1.32.1-r6.trigger [2021-06-19T06:47:08.022Z] OK: 139 MiB in 46 packages [2021-06-19T06:47:08.886Z] $ docker rm -f e651e9cd339a2c9a24d247b1194adee44c1f2d1d1cd2b8bf0096e92b9be8c6c3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-19T06:47:09.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-19T06:47:09.458Z] Removing intermediate container dd44add2c99a [2021-06-19T06:47:09.458Z] ---> d1a0297cb97d [2021-06-19T06:47:09.458Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-19T06:47:09.458Z] ---> Running in ca1d7aac60cd [2021-06-19T06:47:09.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-06-19T06:47:09.732Z] Removing intermediate container ca1d7aac60cd [2021-06-19T06:47:09.732Z] ---> 17666d33304c [2021-06-19T06:47:09.732Z] Step 7/8 : COPY . . [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-19T06:47:10.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-19T06:47:11.166Z] ---> 614bb58bc72c [2021-06-19T06:47:11.166Z] Step 8/8 : RUN go mod download [2021-06-19T06:47:11.188Z] + ls -al . [2021-06-19T06:47:11.188Z] total 208 [2021-06-19T06:47:11.188Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 19 06:47 . [2021-06-19T06:47:11.188Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 19 06:45 .. [2021-06-19T06:47:11.188Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 19 06:45 bin [2021-06-19T06:47:11.188Z] -rw-r--r--. 1 jenkins jenkins 126073 Jun 19 06:46 coverage.out [2021-06-19T06:47:11.188Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 19 06:45 Dockerfile.build [2021-06-19T06:47:11.188Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 19 06:45 .dockerignore [2021-06-19T06:47:11.188Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 19 06:45 example [2021-06-19T06:47:11.188Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 19 06:45 .git [2021-06-19T06:47:11.188Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 19 06:45 .github [2021-06-19T06:47:11.188Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 19 06:45 .gitignore [2021-06-19T06:47:11.188Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 19 06:47 go.mod [2021-06-19T06:47:11.188Z] -rw-r--r--. 1 jenkins jenkins 20385 Jun 19 06:46 go.sum [2021-06-19T06:47:11.188Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 19 06:45 internal [2021-06-19T06:47:11.188Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 19 06:45 Jenkinsfile [2021-06-19T06:47:11.188Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 19 06:45 LICENSE [2021-06-19T06:47:11.188Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 19 06:45 Makefile [2021-06-19T06:47:11.188Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 19 06:45 openapi [2021-06-19T06:47:11.188Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 19 06:45 pkg [2021-06-19T06:47:11.188Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 19 06:45 README.md [2021-06-19T06:47:11.188Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 19 06:45 RELEASE-NOTES.txt [2021-06-19T06:47:11.188Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 19 06:45 snap [2021-06-19T06:47:11.188Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 19 06:42 VERSION [2021-06-19T06:47:11.188Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 19 06:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:47:11.440Z] ---> Running in b5a81eb0e553 [2021-06-19T06:47:11.502Z] + 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=4fca21a5b9430d7078f10cea7ef6a35f13a52fec --label arch=amd64 --label version=0.0.0 . [2021-06-19T06:47:11.502Z] Sending build context to Docker daemon 2.817MB [2021-06-19T06:47:11.502Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-19T06:47:11.502Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-19T06:47:11.502Z] ---> b810d264242c [2021-06-19T06:47:11.502Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-19T06:47:11.502Z] ---> Running in bb92f5f61f89 [2021-06-19T06:47:11.770Z] Removing intermediate container bb92f5f61f89 [2021-06-19T06:47:11.770Z] ---> 974e4910f3c1 [2021-06-19T06:47:11.770Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-19T06:47:11.770Z] ---> Running in c1a89ce4b8b8 [2021-06-19T06:47:11.770Z] Removing intermediate container c1a89ce4b8b8 [2021-06-19T06:47:11.770Z] ---> 00260b401f9f [2021-06-19T06:47:11.770Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-19T06:47:11.770Z] ---> Running in fa7ef004fd31 [2021-06-19T06:47:12.345Z] Removing intermediate container fa7ef004fd31 [2021-06-19T06:47:12.345Z] ---> 601f1885fc78 [2021-06-19T06:47:12.345Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-19T06:47:12.345Z] ---> Running in 411003fc32ad [2021-06-19T06:47:12.610Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-19T06:47:13.556Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-19T06:47:14.135Z] OK: 150 MiB in 46 packages [2021-06-19T06:47:14.398Z] Removing intermediate container 411003fc32ad [2021-06-19T06:47:14.398Z] ---> dd0c9b1a32ed [2021-06-19T06:47:14.398Z] Step 7/23 : COPY . . [2021-06-19T06:47:14.669Z] ---> 4baf1bbbc492 [2021-06-19T06:47:14.669Z] Step 8/23 : RUN go mod download [2021-06-19T06:47:14.669Z] ---> Running in 2923309fb5ee [2021-06-19T06:47:15.254Z] Removing intermediate container 2923309fb5ee [2021-06-19T06:47:15.254Z] ---> 4a7b819272a7 [2021-06-19T06:47:15.254Z] Step 9/23 : RUN make build [2021-06-19T06:47:15.254Z] ---> Running in c697df4be6ed [2021-06-19T06:47:15.527Z] go mod tidy [2021-06-19T06:47:15.792Z] 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-19T06:47:28.146Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-19T06:47:28.410Z] Removing intermediate container c697df4be6ed [2021-06-19T06:47:28.410Z] ---> fb5f7787ce63 [2021-06-19T06:47:28.410Z] Step 10/23 : FROM alpine:3.12 [2021-06-19T06:47:28.987Z] 3.12: Pulling from library/alpine [2021-06-19T06:47:29.248Z] 339de151aab4: Pulling fs layer [2021-06-19T06:47:29.248Z] 339de151aab4: Download complete [2021-06-19T06:47:29.511Z] 339de151aab4: Pull complete [2021-06-19T06:47:29.511Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-19T06:47:29.511Z] Status: Downloaded newer image for alpine:3.12 [2021-06-19T06:47:29.511Z] ---> 13621d1b12d4 [2021-06-19T06:47:29.511Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-19T06:47:29.511Z] ---> Running in be8397051c3c [2021-06-19T06:47:29.781Z] Removing intermediate container be8397051c3c [2021-06-19T06:47:29.781Z] ---> 312845dbc704 [2021-06-19T06:47:29.781Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-19T06:47:29.781Z] ---> Running in 83432372eec9 [2021-06-19T06:47:30.379Z] Removing intermediate container 83432372eec9 [2021-06-19T06:47:30.379Z] ---> e5faa7ef5b09 [2021-06-19T06:47:30.379Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-19T06:47:30.379Z] ---> Running in 2e68e1f7a08e [2021-06-19T06:47:30.645Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-19T06:47:31.219Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-19T06:47:32.168Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-19T06:47:32.168Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-19T06:47:32.745Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-19T06:47:33.018Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-19T06:47:33.018Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-19T06:47:33.018Z] Executing busybox-1.31.1-r20.trigger [2021-06-19T06:47:33.018Z] OK: 8 MiB in 19 packages [2021-06-19T06:47:33.294Z] Removing intermediate container 2e68e1f7a08e [2021-06-19T06:47:33.294Z] ---> c16f988c4dd0 [2021-06-19T06:47:33.294Z] Step 14/23 : WORKDIR / [2021-06-19T06:47:33.294Z] ---> Running in b623bd195d7e [2021-06-19T06:47:33.561Z] Removing intermediate container b623bd195d7e [2021-06-19T06:47:33.561Z] ---> a36fdadf9a24 [2021-06-19T06:47:33.561Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-19T06:47:33.561Z] ---> 525828e13c5a [2021-06-19T06:47:33.561Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-19T06:47:34.137Z] ---> 19f8a55c7367 [2021-06-19T06:47:34.137Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-19T06:47:34.137Z] ---> c2363cdd6475 [2021-06-19T06:47:34.137Z] Step 18/23 : EXPOSE 59999 [2021-06-19T06:47:34.402Z] ---> Running in 9446d520dc1c [2021-06-19T06:47:34.402Z] Removing intermediate container 9446d520dc1c [2021-06-19T06:47:34.402Z] ---> f14307ba324f [2021-06-19T06:47:34.402Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-19T06:47:34.402Z] ---> Running in 27a4b0140c48 [2021-06-19T06:47:34.402Z] Removing intermediate container 27a4b0140c48 [2021-06-19T06:47:34.402Z] ---> ab9c61fbacca [2021-06-19T06:47:34.402Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-19T06:47:34.402Z] ---> Running in f00c37663fe8 [2021-06-19T06:47:34.665Z] Removing intermediate container f00c37663fe8 [2021-06-19T06:47:34.665Z] ---> 584890b535bf [2021-06-19T06:47:34.665Z] Step 21/23 : LABEL arch=amd64 [2021-06-19T06:47:34.665Z] ---> Running in ad75b4e9cfaf [2021-06-19T06:47:34.665Z] Removing intermediate container ad75b4e9cfaf [2021-06-19T06:47:34.665Z] ---> 94db950dd13c [2021-06-19T06:47:34.665Z] Step 22/23 : LABEL git_sha=4fca21a5b9430d7078f10cea7ef6a35f13a52fec [2021-06-19T06:47:34.665Z] ---> Running in 8b00ff487880 [2021-06-19T06:47:34.928Z] Removing intermediate container 8b00ff487880 [2021-06-19T06:47:34.928Z] ---> a5437ec97131 [2021-06-19T06:47:34.928Z] Step 23/23 : LABEL version=0.0.0 [2021-06-19T06:47:34.928Z] ---> Running in d24da616897f [2021-06-19T06:47:34.928Z] Removing intermediate container d24da616897f [2021-06-19T06:47:34.928Z] ---> 737a95fb9c22 [2021-06-19T06:47:34.928Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-19T06:47:34.928Z] Successfully built 737a95fb9c22 [2021-06-19T06:47:34.928Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:47:35.610Z] ---> job-cost.sh [2021-06-19T06:47:35.611Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tWVI [2021-06-19T06:47:38.284Z] Removing intermediate container b5a81eb0e553 [2021-06-19T06:47:38.284Z] ---> f6f6c952245c [2021-06-19T06:47:38.284Z] Successfully built f6f6c952245c [2021-06-19T06:47:38.284Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:47:38.631Z] + docker inspect -f . ci-base-image-arm64 [2021-06-19T06:47:38.632Z] . [Pipeline] withDockerContainer [2021-06-19T06:47:38.867Z] prd-ubuntu18.04-docker-arm64-4c-16g-323 does not seem to be running inside a container [2021-06-19T06:47:38.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-19T06:47:40.542Z] $ docker top edba5f0b473be46e9403dd00c9e15f76cd48165fbaca6fb3b8d95de429ec6ea5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-19T06:47:41.487Z] + go version [2021-06-19T06:47:41.487Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-19T06:47:41.507Z] $ docker stop --time=1 edba5f0b473be46e9403dd00c9e15f76cd48165fbaca6fb3b8d95de429ec6ea5 [2021-06-19T06:47:43.323Z] $ docker rm -f edba5f0b473be46e9403dd00c9e15f76cd48165fbaca6fb3b8d95de429ec6ea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:47:44.123Z] + docker inspect -f . ci-base-image-arm64 [2021-06-19T06:47:44.124Z] . [Pipeline] withDockerContainer [2021-06-19T06:47:44.384Z] prd-ubuntu18.04-docker-arm64-4c-16g-323 does not seem to be running inside a container [2021-06-19T06:47:44.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-19T06:47:45.656Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-19T06:47:46.087Z] $ docker top a63b988658e95446309967356c3f797d0a2598c59bd223453923cd26c1caa463 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-19T06:47:47.074Z] + go mod tidy [Pipeline] sh [2021-06-19T06:47:48.345Z] + make test [2021-06-19T06:47:48.345Z] go mod tidy [2021-06-19T06:47:48.942Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-19T06:47:57.946Z] lf-activate-venv(): INFO: Adding /tmp/venv-tWVI/bin to PATH [2021-06-19T06:47:57.946Z] INFO: No Stack... [2021-06-19T06:47:58.892Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-19T06:47:59.154Z] INFO: Archiving Costs [Pipeline] sh [2021-06-19T06:47:59.454Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-06-19T06:47:59.454Z] + cut -d, -f6 [Pipeline] lock [2021-06-19T06:47:59.487Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-4-stack-cost] [2021-06-19T06:47:59.494Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-4-stack-cost] did not exist. Created. [2021-06-19T06:47:59.494Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-19T06:47:59.823Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-19T06:47:59.921Z] Stashed 1 file(s) [Pipeline] } [2021-06-19T06:47:59.930Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-19T06:48:11.145Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-19T06:49:19.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-19T06:49:19.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-19T06:49:19.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-19T06:49:24.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.246s coverage: 25.4% of statements [2021-06-19T06:49:24.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-19T06:49:24.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.226s coverage: 28.1% of statements [2021-06-19T06:49:24.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.220s coverage: 78.9% of statements [2021-06-19T06:49:24.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.177s coverage: 9.0% of statements [2021-06-19T06:49:24.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-19T06:49:24.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-19T06:49:24.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-19T06:49:26.172Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.317s coverage: 29.2% of statements [2021-06-19T06:49:26.172Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-19T06:49:28.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.194s coverage: 83.3% of statements [2021-06-19T06:49:28.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-19T06:49:28.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-19T06:49:28.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.414s coverage: 58.0% of statements [2021-06-19T06:49:30.245Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.088s coverage: 89.2% of statements [2021-06-19T06:49:30.245Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-19T06:49:30.518Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.166s coverage: 5.0% of statements [2021-06-19T06:49:30.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-19T06:49:31.115Z] GO111MODULE=on go vet ./... [2021-06-19T06:50:27.726Z] gofmt -l . [2021-06-19T06:50:27.726Z] [ "`gofmt -l .`" = "" ] [2021-06-19T06:50:27.726Z] ./bin/test-attribution-txt.sh [2021-06-19T06:50:27.726Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-19T06:50:27.743Z] $ docker stop --time=1 a63b988658e95446309967356c3f797d0a2598c59bd223453923cd26c1caa463 [2021-06-19T06:50:29.705Z] $ docker rm -f a63b988658e95446309967356c3f797d0a2598c59bd223453923cd26c1caa463 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-19T06:50:30.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-19T06:50:30.780Z] Warning: overwriting stash ‘coverage-report’ [2021-06-19T06:50:31.421Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-19T06:50:31.993Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-19T06:50:32.337Z] + ls -al . [2021-06-19T06:50:32.338Z] total 244 [2021-06-19T06:50:32.338Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 06:50 . [2021-06-19T06:50:32.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:46 .. [2021-06-19T06:50:32.338Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 06:46 .dockerignore [2021-06-19T06:50:32.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 06:46 .git [2021-06-19T06:50:32.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:46 .github [2021-06-19T06:50:32.338Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 19 06:46 .gitignore [2021-06-19T06:50:32.338Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 19 06:46 Dockerfile.build [2021-06-19T06:50:32.338Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 19 06:46 Jenkinsfile [2021-06-19T06:50:32.338Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 19 06:46 LICENSE [2021-06-19T06:50:32.338Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 19 06:46 Makefile [2021-06-19T06:50:32.338Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 19 06:46 README.md [2021-06-19T06:50:32.338Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 19 06:46 RELEASE-NOTES.txt [2021-06-19T06:50:32.338Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 19 06:42 VERSION [2021-06-19T06:50:32.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:46 bin [2021-06-19T06:50:32.338Z] -rw-r--r-- 1 jenkins jenkins 126073 Jun 19 06:49 coverage.out [2021-06-19T06:50:32.338Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 19 06:46 example [2021-06-19T06:50:32.338Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 19 06:50 go.mod [2021-06-19T06:50:32.338Z] -rw-r--r-- 1 jenkins jenkins 20385 Jun 19 06:47 go.sum [2021-06-19T06:50:32.338Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 19 06:46 internal [2021-06-19T06:50:32.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:46 openapi [2021-06-19T06:50:32.338Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 19 06:46 pkg [2021-06-19T06:50:32.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:46 snap [2021-06-19T06:50:32.338Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 19 06:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:50:32.686Z] + 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=f39f95200854f0cf558984a7d00ae0e3ef99ca3a --label arch=arm64 --label version=0.0.0 . [2021-06-19T06:50:33.308Z] Sending build context to Docker daemon 2.817MB [2021-06-19T06:50:33.308Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-19T06:50:33.308Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-19T06:50:33.308Z] ---> f6f6c952245c [2021-06-19T06:50:33.308Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-19T06:50:33.590Z] ---> Running in d0911bb47bc4 [2021-06-19T06:50:34.193Z] Removing intermediate container d0911bb47bc4 [2021-06-19T06:50:34.193Z] ---> 883313fee6b5 [2021-06-19T06:50:34.193Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-19T06:50:34.193Z] ---> Running in c0ef2373102e [2021-06-19T06:50:34.793Z] Removing intermediate container c0ef2373102e [2021-06-19T06:50:34.793Z] ---> b422f9b63da8 [2021-06-19T06:50:34.793Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-19T06:50:34.794Z] ---> Running in 7c8e736afde4 [2021-06-19T06:50:36.774Z] Removing intermediate container 7c8e736afde4 [2021-06-19T06:50:36.774Z] ---> 634854cda33d [2021-06-19T06:50:36.774Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-19T06:50:37.049Z] ---> Running in 189226cef85d [2021-06-19T06:50:38.029Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-19T06:50:39.007Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-19T06:50:39.990Z] OK: 139 MiB in 46 packages [2021-06-19T06:50:40.981Z] Removing intermediate container 189226cef85d [2021-06-19T06:50:40.981Z] ---> 5892f31df159 [2021-06-19T06:50:40.981Z] Step 7/23 : COPY . . [2021-06-19T06:50:42.414Z] ---> 478cf395fd6a [2021-06-19T06:50:42.414Z] Step 8/23 : RUN go mod download [2021-06-19T06:50:42.414Z] ---> Running in 95d3c1969eec [2021-06-19T06:50:45.052Z] Removing intermediate container 95d3c1969eec [2021-06-19T06:50:45.053Z] ---> 3ba104f615f1 [2021-06-19T06:50:45.053Z] Step 9/23 : RUN make build [2021-06-19T06:50:45.053Z] ---> Running in d1551d8cbe5a [2021-06-19T06:50:50.469Z] go mod tidy [2021-06-19T06:50:50.469Z] 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-19T06:51:22.885Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-19T06:51:24.320Z] Removing intermediate container d1551d8cbe5a [2021-06-19T06:51:24.320Z] ---> e0103b1ab008 [2021-06-19T06:51:24.320Z] Step 10/23 : FROM alpine:3.12 [2021-06-19T06:51:24.915Z] 3.12: Pulling from library/alpine [2021-06-19T06:51:24.915Z] d2f70382dc9a: Pulling fs layer [2021-06-19T06:51:25.188Z] d2f70382dc9a: Verifying Checksum [2021-06-19T06:51:25.787Z] d2f70382dc9a: Pull complete [2021-06-19T06:51:25.787Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-19T06:51:25.787Z] Status: Downloaded newer image for alpine:3.12 [2021-06-19T06:51:25.787Z] ---> c4fd0aeabfcf [2021-06-19T06:51:25.787Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-19T06:51:26.387Z] ---> Running in 21f3aa11ab17 [2021-06-19T06:51:26.658Z] Removing intermediate container 21f3aa11ab17 [2021-06-19T06:51:26.658Z] ---> dcc1f3f7aba6 [2021-06-19T06:51:26.658Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-19T06:51:26.932Z] ---> Running in 6ce9dbd816d0 [2021-06-19T06:51:28.909Z] Removing intermediate container 6ce9dbd816d0 [2021-06-19T06:51:28.909Z] ---> 0b49b9ce2230 [2021-06-19T06:51:28.909Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-19T06:51:29.185Z] ---> Running in ea4334b72107 [2021-06-19T06:51:30.171Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-19T06:51:30.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-19T06:51:31.751Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-19T06:51:31.751Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-19T06:51:31.751Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-19T06:51:32.025Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-19T06:51:32.025Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-19T06:51:32.302Z] Executing busybox-1.31.1-r20.trigger [2021-06-19T06:51:32.302Z] OK: 8 MiB in 19 packages [2021-06-19T06:51:33.289Z] Removing intermediate container ea4334b72107 [2021-06-19T06:51:33.289Z] ---> 463ac6b8d052 [2021-06-19T06:51:33.289Z] Step 14/23 : WORKDIR / [2021-06-19T06:51:33.562Z] ---> Running in c0fecaa98a39 [2021-06-19T06:51:33.836Z] Removing intermediate container c0fecaa98a39 [2021-06-19T06:51:33.836Z] ---> 10d05e4af47b [2021-06-19T06:51:33.836Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-19T06:51:34.815Z] ---> dc16c719efff [2021-06-19T06:51:34.815Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-19T06:51:36.261Z] ---> 89a3b99960d5 [2021-06-19T06:51:36.261Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-19T06:51:36.863Z] ---> e2929d5ee30d [2021-06-19T06:51:36.863Z] Step 18/23 : EXPOSE 59999 [2021-06-19T06:51:37.137Z] ---> Running in a832da06db20 [2021-06-19T06:51:37.411Z] Removing intermediate container a832da06db20 [2021-06-19T06:51:37.411Z] ---> c3527ae85768 [2021-06-19T06:51:37.411Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-19T06:51:37.684Z] ---> Running in 56bb66c774d2 [2021-06-19T06:51:37.959Z] Removing intermediate container 56bb66c774d2 [2021-06-19T06:51:37.959Z] ---> f15031e073e0 [2021-06-19T06:51:37.959Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-19T06:51:38.233Z] ---> Running in 96e07c86f7bd [2021-06-19T06:51:38.832Z] Removing intermediate container 96e07c86f7bd [2021-06-19T06:51:38.832Z] ---> 56b7c4ff194d [2021-06-19T06:51:38.832Z] Step 21/23 : LABEL arch=arm64 [2021-06-19T06:51:38.832Z] ---> Running in a1c47772eaef [2021-06-19T06:51:39.430Z] Removing intermediate container a1c47772eaef [2021-06-19T06:51:39.430Z] ---> 3abeec6798f2 [2021-06-19T06:51:39.430Z] Step 22/23 : LABEL git_sha=f39f95200854f0cf558984a7d00ae0e3ef99ca3a [2021-06-19T06:51:39.430Z] ---> Running in f76ff032a5b3 [2021-06-19T06:51:40.029Z] Removing intermediate container f76ff032a5b3 [2021-06-19T06:51:40.029Z] ---> 36e3bc3382cf [2021-06-19T06:51:40.029Z] Step 23/23 : LABEL version=0.0.0 [2021-06-19T06:51:40.029Z] ---> Running in 2193f0591bc0 [2021-06-19T06:51:40.625Z] Removing intermediate container 2193f0591bc0 [2021-06-19T06:51:40.625Z] ---> 432779dd7225 [2021-06-19T06:51:40.625Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-19T06:51:40.625Z] Successfully built 432779dd7225 [2021-06-19T06:51:40.625Z] 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-19T06:51:41.240Z] ---> job-cost.sh [2021-06-19T06:51:41.240Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qvVC [2021-06-19T06:52:20.219Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-19T06:53:41.959Z] lf-activate-venv(): INFO: Adding /tmp/venv-qvVC/bin to PATH [2021-06-19T06:53:41.959Z] INFO: No Stack... [2021-06-19T06:53:41.959Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-19T06:53:41.959Z] INFO: Archiving Costs [Pipeline] sh [2021-06-19T06:53:42.304Z] + cut -d, -f6 [2021-06-19T06:53:42.304Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2021-06-19T06:53:42.368Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-4-stack-cost] [2021-06-19T06:53:42.379Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-4-stack-cost] did not exist. Created. [2021-06-19T06:53:42.379Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-19T06:53:42.755Z] /w/workspace/device-sdk-go/4@tmp/durable-9d9e3382/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-9d9e3382/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-19T06:53:43.097Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-19T06:53:43.129Z] Warning: overwriting stash ‘stack-cost’ [2021-06-19T06:53:43.296Z] Stashed 1 file(s) [Pipeline] } [2021-06-19T06:53:43.317Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-19T06:53:43.886Z] provisioning config files... [2021-06-19T06:53:43.895Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config1998648971721125047tmp [Pipeline] { [Pipeline] sh [2021-06-19T06:53:44.248Z] + set +x [2021-06-19T06:53:44.248Z] + bash -s -- [2021-06-19T06:53:44.248Z] + curl -s https://codecov.io/bash [2021-06-19T06:53:44.248Z] [2021-06-19T06:53:44.248Z] _____ _ [2021-06-19T06:53:44.248Z] / ____| | | [2021-06-19T06:53:44.248Z] | | ___ __| | ___ ___ _____ __ [2021-06-19T06:53:44.248Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-19T06:53:44.248Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-19T06:53:44.248Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-19T06:53:44.248Z] Bash-1.0.3 [2021-06-19T06:53:44.248Z] [2021-06-19T06:53:44.248Z] [2021-06-19T06:53:44.248Z] ==> git version 2.24.4 found [2021-06-19T06:53:44.248Z] ==> 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-19T06:53:44.248Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-19T06:53:44.249Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-19T06:53:44.249Z] ==> Jenkins CI detected. [2021-06-19T06:53:44.249Z] project root: . [2021-06-19T06:53:44.249Z] --> token set from env [2021-06-19T06:53:44.249Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-19T06:53:44.249Z] ==> Running gcov in . (disable via -X gcov) [2021-06-19T06:53:44.249Z] ==> Python coveragepy not found [2021-06-19T06:53:44.249Z] ==> Searching for coverage reports in: [2021-06-19T06:53:44.249Z] + . [2021-06-19T06:53:44.249Z] -> Found 1 reports [2021-06-19T06:53:44.249Z] ==> Detecting git/mercurial file structure [2021-06-19T06:53:44.514Z] ==> Reading reports [2021-06-19T06:53:44.514Z] + ./coverage.out bytes=126073 [2021-06-19T06:53:44.514Z] ==> Appending adjustments [2021-06-19T06:53:44.514Z] https://docs.codecov.io/docs/fixing-reports [2021-06-19T06:53:44.776Z] + Found adjustments [2021-06-19T06:53:44.776Z] ==> Gzipping contents [2021-06-19T06:53:44.776Z] 20K /tmp/codecov.uF89fs.gz [2021-06-19T06:53:44.776Z] ==> Uploading reports [2021-06-19T06:53:44.776Z] url: https://codecov.io [2021-06-19T06:53:44.776Z] query: branch=PR-971&commit=b2faf8847055e4d27b6b4863f882f169ca59b078&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-19T06:53:44.776Z] -> Pinging Codecov [2021-06-19T06:53:44.776Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=b2faf8847055e4d27b6b4863f882f169ca59b078&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-19T06:53:45.044Z] -> Uploading to [2021-06-19T06:53:45.044Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-19/7E55EF52A471D76F132DFD9A03CDDE97/b2faf8847055e4d27b6b4863f882f169ca59b078/00ed6fc5-deee-45f4-9f63-6926714fc6ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210619%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210619T065344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=805840e80d440bdadf0acbe5208f6c32f80b75db4c4d5b5ec9a69f3fff926d7f [2021-06-19T06:53:45.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-19T06:53:45.044Z] Dload Upload Total Spent Left Speed [2021-06-19T06:53:45.625Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16422 0 0 100 16422 0 34404 --:--:-- --:--:-- --:--:-- 34355 100 16422 0 0 100 16422 0 34395 --:--:-- --:--:-- --:--:-- 34355 [2021-06-19T06:53:45.625Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b2faf8847055e4d27b6b4863f882f169ca59b078 [Pipeline] } [2021-06-19T06:53:45.637Z] 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-19T06:53:47.089Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:53:47.657Z] ---> package-listing.sh [2021-06-19T06:53:47.657Z] ++ facter osfamily [2021-06-19T06:53:47.657Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-19T06:53:47.920Z] + OS_FAMILY=redhat [2021-06-19T06:53:47.920Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-19T06:53:47.920Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-19T06:53:47.920Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-19T06:53:47.920Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-19T06:53:47.920Z] + PACKAGES=/tmp/packages_start.txt [2021-06-19T06:53:47.920Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-19T06:53:47.920Z] + PACKAGES=/tmp/packages_end.txt [2021-06-19T06:53:47.920Z] + case "${OS_FAMILY}" in [2021-06-19T06:53:47.920Z] + rpm -qa [2021-06-19T06:53:47.920Z] + sort [2021-06-19T06:53:48.494Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-19T06:53:48.494Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-19T06:53:48.494Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-19T06:53:48.494Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-19T06:53:48.494Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-19T06:53:48.494Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-06-19T06:53:48.510Z] 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-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-19T06:53:48.811Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:53:49.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-19T06:53:49.383Z] [2021-06-19T06:53:49.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-19T06:53:49.698Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-19T06:53:49.698Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-19T06:53:49.698Z] df20fa9351a1: Pulling fs layer [2021-06-19T06:53:49.698Z] 36b3adc4ff6f: Pulling fs layer [2021-06-19T06:53:49.698Z] 8ad3a11d3b57: Pulling fs layer [2021-06-19T06:53:49.698Z] 46f8f816bc3b: Pulling fs layer [2021-06-19T06:53:49.698Z] 93b61091891f: Pulling fs layer [2021-06-19T06:53:49.698Z] 93b9cdb0e59b: Pulling fs layer [2021-06-19T06:53:49.698Z] 5e14af77c1be: Pulling fs layer [2021-06-19T06:53:49.698Z] 01666e4c0597: Pulling fs layer [2021-06-19T06:53:49.698Z] aa168da1d23b: Pulling fs layer [2021-06-19T06:53:49.698Z] 93b9cdb0e59b: Waiting [2021-06-19T06:53:49.698Z] 5e14af77c1be: Waiting [2021-06-19T06:53:49.698Z] 01666e4c0597: Waiting [2021-06-19T06:53:49.698Z] aa168da1d23b: Waiting [2021-06-19T06:53:49.698Z] 46f8f816bc3b: Waiting [2021-06-19T06:53:49.698Z] 93b61091891f: Waiting [2021-06-19T06:53:49.698Z] 36b3adc4ff6f: Verifying Checksum [2021-06-19T06:53:49.698Z] 36b3adc4ff6f: Download complete [2021-06-19T06:53:49.698Z] 46f8f816bc3b: Verifying Checksum [2021-06-19T06:53:49.698Z] 46f8f816bc3b: Download complete [2021-06-19T06:53:49.962Z] 93b61091891f: Verifying Checksum [2021-06-19T06:53:49.962Z] 93b61091891f: Download complete [2021-06-19T06:53:49.962Z] 93b9cdb0e59b: Verifying Checksum [2021-06-19T06:53:49.962Z] 93b9cdb0e59b: Download complete [2021-06-19T06:53:49.962Z] df20fa9351a1: Verifying Checksum [2021-06-19T06:53:49.962Z] df20fa9351a1: Download complete [2021-06-19T06:53:49.962Z] 5e14af77c1be: Verifying Checksum [2021-06-19T06:53:49.962Z] 5e14af77c1be: Download complete [2021-06-19T06:53:49.962Z] 01666e4c0597: Verifying Checksum [2021-06-19T06:53:49.962Z] 01666e4c0597: Download complete [2021-06-19T06:53:50.227Z] df20fa9351a1: Pull complete [2021-06-19T06:53:50.489Z] 36b3adc4ff6f: Pull complete [2021-06-19T06:53:51.063Z] 8ad3a11d3b57: Verifying Checksum [2021-06-19T06:53:51.063Z] 8ad3a11d3b57: Download complete [2021-06-19T06:53:51.685Z] 8ad3a11d3b57: Pull complete [2021-06-19T06:53:51.685Z] 46f8f816bc3b: Pull complete [2021-06-19T06:53:51.947Z] 93b61091891f: Pull complete [2021-06-19T06:53:51.947Z] 93b9cdb0e59b: Pull complete [2021-06-19T06:53:51.947Z] 5e14af77c1be: Pull complete [2021-06-19T06:53:52.209Z] 01666e4c0597: Pull complete [2021-06-19T06:53:52.782Z] aa168da1d23b: Verifying Checksum [2021-06-19T06:53:52.782Z] aa168da1d23b: Download complete [2021-06-19T06:53:57.020Z] aa168da1d23b: Pull complete [2021-06-19T06:53:57.020Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-19T06:53:57.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-19T06:53:57.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-19T06:53:57.096Z] prd-centos7-docker-4c-2g-319 does not seem to be running inside a container [2021-06-19T06:53:57.138Z] $ 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-971/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-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-19T06:53:59.372Z] $ docker top f07d9ea050bdabb50fa82415c863bbd26632d5662efd7f389de7bcfd7ae76ebc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-19T06:53:59.759Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-19T06:54:00.057Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-19T06:54:00.364Z] + ls /var/log/sa-host [2021-06-19T06:54:00.364Z] + sadf -c /var/log/sa-host/sa05 [2021-06-19T06:54:00.364Z] file_magic: OK [2021-06-19T06:54:00.364Z] HZ: Using current value: 100 [2021-06-19T06:54:00.364Z] file_header: OK [2021-06-19T06:54:00.364Z] 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-19T06:54:00.364Z] Statistics: [2021-06-19T06:54:00.364Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-19T06:54:00.364Z] File successfully converted to sysstat format version 12.2.1 [2021-06-19T06:54:00.364Z] + sadf -c /var/log/sa-host/sa19 [2021-06-19T06:54:00.364Z] file_magic: OK [2021-06-19T06:54:00.364Z] HZ: Using current value: 100 [2021-06-19T06:54:00.364Z] file_header: OK [2021-06-19T06:54:00.364Z] 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-19T06:54:00.364Z] Statistics: [2021-06-19T06:54:00.364Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-19T06:54:00.364Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-19T06:54:00.552Z] provisioning config files... [2021-06-19T06:54:00.567Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config5640040741944112249tmp [Pipeline] { [Pipeline] echo [2021-06-19T06:54:00.589Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:54:00.892Z] ---> create-netrc.sh [Pipeline] } [2021-06-19T06:54:00.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:54:01.271Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-19T06:54:01.285Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:54:01.583Z] ---> sudo-logs.sh [2021-06-19T06:54:01.583Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-19T06:54:01.616Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:54:01.920Z] ---> job-cost.sh [2021-06-19T06:54:01.920Z] lf-activate-venv: SKIPPING [2021-06-19T06:54:01.920Z] DEBUG: total: 0.18000000715255737 [2021-06-19T06:54:01.920Z] INFO: Retrieving Stack Cost... [2021-06-19T06:54:03.312Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-19T06:54:03.576Z] INFO: Archiving Costs [Pipeline] echo [2021-06-19T06:54:03.588Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-19T06:54:03.890Z] ---> logs-deploy.sh [2021-06-19T06:54:03.890Z] lf-activate-venv: SKIPPING [2021-06-19T06:54:03.890Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/4 [2021-06-19T06:54:03.890Z] INFO: archiving workspace using pattern(s): [2021-06-19T06:54:04.837Z] Archives upload complete. [2021-06-19T06:54:04.837Z] INFO: archiving logs to Nexus