Pull request #973 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dba30b92d04db2bac41e3876e475d60b1c7fc8ce+3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef (0405f86aa0b18e1615516f60f4c6805bcb9ae18d) 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-ssh2991423735902586537.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-ssh2938583667318835194.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-973/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-973/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh626019127593951321.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-ssh3526944364822888285.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-973/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-973/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4397920829938636241.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-882 in /w/workspace/dgexfoundry_device-sdk-go_PR-973 [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-973 # 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-973@tmp/jenkins-gitclient-ssh1397685461367107658.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-973@tmp/jenkins-gitclient-ssh2179483260410088182.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/973/head:refs/remotes/origin/PR-973 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef into PR head commit dba30b92d04db2bac41e3876e475d60b1c7fc8ce Merge succeeded, producing dba30b92d04db2bac41e3876e475d60b1c7fc8ce Checking out Revision dba30b92d04db2bac41e3876e475d60b1c7fc8ce (PR-973) > git config core.sparsecheckout # timeout=10 > git checkout -f dba30b92d04db2bac41e3876e475d60b1c7fc8ce # 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-973@tmp/jenkins-gitclient-ssh5919566450265284710.key > git merge 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dba30b92d04db2bac41e3876e475d60b1c7fc8ce # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-23T07:16:38.950Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-23T07:16:39.083Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-23T07:16:39.118Z] ========================================================= [2021-06-23T07:16:39.118Z] EdgeX Global Pipelines Version Info [2021-06-23T07:16:39.118Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ba85a58666f3502a499db6e8c4997734d28e3f60 # timeout=10 [2021-06-23T07:16:40.549Z] ------------------- [2021-06-23T07:16:40.549Z] stable info: [2021-06-23T07:16:40.549Z] ------------------- [2021-06-23T07:16:40.549Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-23T07:16:40.549Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-23T07:16:40.549Z] Message: update stable to v1.0.195 [2021-06-23T07:16:41.134Z] ------------------- [2021-06-23T07:16:41.134Z] experimental info: [2021-06-23T07:16:41.134Z] ------------------- [2021-06-23T07:16:41.134Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-23T07:16:41.134Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-23T07:16:41.134Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-23T07:16:41.293Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-23T07:16:41.322Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-23T07:16:41.402Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-23T07:16:41.437Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-23T07:16:41.464Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-23T07:16:41.489Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-23T07:16:41.515Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-23T07:16:41.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-23T07:16:41.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-23T07:16:41.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-23T07:16:41.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-23T07:16:41.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-23T07:16:41.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-23T07:16:41.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-23T07:16:41.730Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-23T07:16:41.760Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T07:16:41.802Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T07:16:41.829Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T07:16:41.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-23T07:16:41.886Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-23T07:16:41.917Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-23T07:16:41.946Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-23T07:16:41.975Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-23T07:16:42.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-23T07:16:42.032Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-23T07:16:42.061Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-23T07:16:42.088Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-973 [Pipeline] echo [2021-06-23T07:16:42.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-973 [Pipeline] echo [2021-06-23T07:16:42.148Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-973 [Pipeline] echo [2021-06-23T07:16:42.175Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dba30b92d04db2bac41e3876e475d60b1c7fc8ce [Pipeline] echo [2021-06-23T07:16:42.202Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dba30b9 [Pipeline] echo [2021-06-23T07:16:42.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T07:16:42.331Z] provisioning config files... [2021-06-23T07:16:42.352Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/config5350000384269232473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:16:42.692Z] ---> docker-login.sh [2021-06-23T07:16:42.692Z] nexus3.edgexfoundry.org:10001 [2021-06-23T07:16:42.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:16:43.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:16:43.215Z] Configure a credential helper to remove this warning. See [2021-06-23T07:16:43.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:16:43.215Z] [2021-06-23T07:16:43.215Z] Login Succeeded [2021-06-23T07:16:43.215Z] nexus3.edgexfoundry.org:10002 [2021-06-23T07:16:43.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:16:43.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:16:43.477Z] Configure a credential helper to remove this warning. See [2021-06-23T07:16:43.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:16:43.477Z] [2021-06-23T07:16:43.477Z] Login Succeeded [2021-06-23T07:16:43.477Z] nexus3.edgexfoundry.org:10003 [2021-06-23T07:16:43.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:16:43.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:16:43.744Z] Configure a credential helper to remove this warning. See [2021-06-23T07:16:43.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:16:43.744Z] [2021-06-23T07:16:43.744Z] Login Succeeded [2021-06-23T07:16:43.744Z] nexus3.edgexfoundry.org:10004 [2021-06-23T07:16:44.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:16:44.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:16:44.007Z] Configure a credential helper to remove this warning. See [2021-06-23T07:16:44.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:16:44.007Z] [2021-06-23T07:16:44.007Z] Login Succeeded [2021-06-23T07:16:44.007Z] docker.io [2021-06-23T07:16:44.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:16:44.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:16:44.269Z] Configure a credential helper to remove this warning. See [2021-06-23T07:16:44.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:16:44.269Z] [2021-06-23T07:16:44.269Z] Login Succeeded [2021-06-23T07:16:44.269Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T07:16:44.283Z] 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-23T07:16:44.808Z] + git log --format=format:%s -1 dba30b92d04db2bac41e3876e475d60b1c7fc8ce [Pipeline] echo [2021-06-23T07:16:44.874Z] GIT_COMMIT: dba30b92d04db2bac41e3876e475d60b1c7fc8ce, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-06-23T07:16:44.889Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:16:45.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T07:16:45.519Z] [2021-06-23T07:16:45.519Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:16:45.834Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T07:16:45.834Z] latest: Pulling from edgex-devops/git-semver [2021-06-23T07:16:45.834Z] 31603596830f: Pulling fs layer [2021-06-23T07:16:45.834Z] 54011a49482f: Pulling fs layer [2021-06-23T07:16:45.834Z] a6820b24f6d8: Pulling fs layer [2021-06-23T07:16:45.834Z] f581987b2513: Pulling fs layer [2021-06-23T07:16:45.834Z] f581987b2513: Waiting [2021-06-23T07:16:45.834Z] 54011a49482f: Verifying Checksum [2021-06-23T07:16:45.834Z] 54011a49482f: Download complete [2021-06-23T07:16:46.099Z] 31603596830f: Verifying Checksum [2021-06-23T07:16:46.099Z] 31603596830f: Download complete [2021-06-23T07:16:46.099Z] f581987b2513: Verifying Checksum [2021-06-23T07:16:46.099Z] f581987b2513: Download complete [2021-06-23T07:16:46.099Z] a6820b24f6d8: Verifying Checksum [2021-06-23T07:16:46.099Z] a6820b24f6d8: Download complete [2021-06-23T07:16:46.099Z] 31603596830f: Pull complete [2021-06-23T07:16:46.365Z] 54011a49482f: Pull complete [2021-06-23T07:16:46.943Z] a6820b24f6d8: Pull complete [2021-06-23T07:16:46.943Z] f581987b2513: Pull complete [2021-06-23T07:16:47.206Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-23T07:16:47.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T07:16:47.206Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-23T07:16:47.285Z] prd-centos7-docker-4c-2g-882 does not seem to be running inside a container [2021-06-23T07:16:47.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-973 -v /w/workspace/dgexfoundry_device-sdk-go_PR-973:/w/workspace/dgexfoundry_device-sdk-go_PR-973:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-23T07:16:48.655Z] $ docker top b709ac532ba39d753a7e785a94f076d329b59d80491d1c6cb07165475981994c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-23T07:16:48.779Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-23T07:16:48.779Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-23T07:16:48.891Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-23T07:16:48.890Z] $ docker exec b709ac532ba39d753a7e785a94f076d329b59d80491d1c6cb07165475981994c ssh-agent [2021-06-23T07:16:48.994Z] SSH_AUTH_SOCK=/tmp/ssh-iPmriC5HYkIz/agent.14 [2021-06-23T07:16:48.994Z] SSH_AGENT_PID=21 [2021-06-23T07:16:49.001Z] Running ssh-add (command line suppressed) [2021-06-23T07:16:49.100Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_6328051934931378092.key (/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_6328051934931378092.key) [2021-06-23T07:16:49.120Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-23T07:16:49.489Z] + git tag --points-at HEAD [Pipeline] } [2021-06-23T07:16:49.503Z] $ docker exec --env ******** --env ******** b709ac532ba39d753a7e785a94f076d329b59d80491d1c6cb07165475981994c ssh-agent -k [2021-06-23T07:16:49.613Z] unset SSH_AUTH_SOCK; [2021-06-23T07:16:49.614Z] unset SSH_AGENT_PID; [2021-06-23T07:16:49.614Z] echo Agent pid 21 killed; [2021-06-23T07:16:49.632Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-23T07:16:49.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-23T07:16:49.678Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-23T07:16:49.790Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-23T07:16:49.789Z] $ docker exec b709ac532ba39d753a7e785a94f076d329b59d80491d1c6cb07165475981994c ssh-agent [2021-06-23T07:16:49.897Z] SSH_AUTH_SOCK=/tmp/ssh-9YH3ZXk748dG/agent.55 [2021-06-23T07:16:49.897Z] SSH_AGENT_PID=62 [2021-06-23T07:16:49.903Z] Running ssh-add (command line suppressed) [2021-06-23T07:16:50.003Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_2284261844213384358.key (/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_2284261844213384358.key) [2021-06-23T07:16:50.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-23T07:16:50.334Z] + git semver init [2021-06-23T07:16:50.334Z] # -> Open(): unable to determine branch for HEAD [2021-06-23T07:16:50.335Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-973/.git [2021-06-23T07:16:50.335Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-973 [2021-06-23T07:16:50.335Z] # $SEMVER_REMOTE_NAME = origin [2021-06-23T07:16:50.335Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-23T07:16:50.335Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-23T07:16:50.335Z] # $SEMVER_BRANCH = PR-973 [2021-06-23T07:16:50.335Z] # $SEMVER_TEMP = /tmp/semver-112199472 [2021-06-23T07:16:50.335Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-23T07:16:51.278Z] # '/tmp/semver-112199472' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-973/.semver' [2021-06-23T07:16:51.278Z] # -> Force: false [2021-06-23T07:16:51.278Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-973/.semver [Pipeline] } [2021-06-23T07:16:51.286Z] $ docker exec --env ******** --env ******** b709ac532ba39d753a7e785a94f076d329b59d80491d1c6cb07165475981994c ssh-agent -k [2021-06-23T07:16:51.383Z] unset SSH_AUTH_SOCK; [2021-06-23T07:16:51.383Z] unset SSH_AGENT_PID; [2021-06-23T07:16:51.383Z] echo Agent pid 62 killed; [2021-06-23T07:16:51.403Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-23T07:16:51.749Z] + git semver [Pipeline] } [2021-06-23T07:16:51.765Z] $ docker stop --time=1 b709ac532ba39d753a7e785a94f076d329b59d80491d1c6cb07165475981994c [2021-06-23T07:16:53.069Z] $ docker rm -f b709ac532ba39d753a7e785a94f076d329b59d80491d1c6cb07165475981994c [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T07:16:53.445Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-23T07:16:53.729Z] Stashed 1 file(s) [Pipeline] echo [2021-06-23T07:16:53.733Z] [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-23T07:17:09.055Z] Still waiting to schedule task [2021-06-23T07:17:09.056Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-23T07:17:09.058Z] Still waiting to schedule task [2021-06-23T07:17:09.059Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-23T07:17:27.663Z] Running on prd-centos7-docker-4c-2g-884 in /w/workspace/dgexfoundry_device-sdk-go_PR-973 [Pipeline] { [Pipeline] ws [2021-06-23T07:17:27.683Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-06-23T07:17:27.790Z] Selected Git installation does not exist. Using Default [2021-06-23T07:17:27.790Z] The recommended git tool is: NONE [2021-06-23T07:17:30.291Z] using credential edgex-jenkins-ssh [2021-06-23T07:17:30.313Z] Cloning the remote Git repository [2021-06-23T07:17:30.335Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:17:30.402Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-06-23T07:17:30.431Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:17:30.431Z] > git --version # timeout=10 [2021-06-23T07:17:30.438Z] > git --version # 'git version 2.24.4' [2021-06-23T07:17:30.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:17:30.460Z] [INFO] Currently running in a labeled security context [2021-06-23T07:17:30.460Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T07:17:30.460Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh4188663221091836690.key [2021-06-23T07:17:30.477Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T07:17:31.823Z] Merging remotes/origin/master commit 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef into PR head commit dba30b92d04db2bac41e3876e475d60b1c7fc8ce [2021-06-23T07:17:31.912Z] Merge succeeded, producing dba30b92d04db2bac41e3876e475d60b1c7fc8ce [2021-06-23T07:17:31.912Z] Checking out Revision dba30b92d04db2bac41e3876e475d60b1c7fc8ce (PR-973) [2021-06-23T07:17:31.272Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T07:17:31.282Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T07:17:31.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T07:17:31.309Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:17:31.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:17:31.310Z] [INFO] Currently running in a labeled security context [2021-06-23T07:17:31.310Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T07:17:31.310Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh2684784293002857008.key [2021-06-23T07:17:31.316Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/973/head:refs/remotes/origin/PR-973 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-23T07:17:31.827Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T07:17:31.834Z] > git checkout -f dba30b92d04db2bac41e3876e475d60b1c7fc8ce # timeout=10 [2021-06-23T07:17:31.871Z] > git remote # timeout=10 [2021-06-23T07:17:31.876Z] > git config --get remote.origin.url # timeout=10 [2021-06-23T07:17:31.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:17:31.885Z] [INFO] Currently running in a labeled security context [2021-06-23T07:17:31.885Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T07:17:31.885Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh8616119432531397112.key [2021-06-23T07:17:31.890Z] > git merge 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef # timeout=10 [2021-06-23T07:17:31.901Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-23T07:17:31.910Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T07:17:31.913Z] > git checkout -f dba30b92d04db2bac41e3876e475d60b1c7fc8ce # timeout=10 [2021-06-23T07:17:35.584Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T07:17:36.590Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-23T07:17:36.917Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-23T07:17:37.220Z] + true [2021-06-23T07:17:37.220Z] + sudo service docker restart [2021-06-23T07:17:37.220Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T07:17:55.426Z] provisioning config files... [2021-06-23T07:17:55.442Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3282955120377224770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:17:55.772Z] ---> docker-login.sh [2021-06-23T07:17:55.772Z] nexus3.edgexfoundry.org:10001 [2021-06-23T07:17:56.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:17:56.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:17:56.036Z] Configure a credential helper to remove this warning. See [2021-06-23T07:17:56.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:17:56.036Z] [2021-06-23T07:17:56.036Z] Login Succeeded [2021-06-23T07:17:56.036Z] nexus3.edgexfoundry.org:10002 [2021-06-23T07:17:56.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:17:56.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:17:56.297Z] Configure a credential helper to remove this warning. See [2021-06-23T07:17:56.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:17:56.297Z] [2021-06-23T07:17:56.297Z] Login Succeeded [2021-06-23T07:17:56.297Z] nexus3.edgexfoundry.org:10003 [2021-06-23T07:17:56.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:17:56.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:17:56.297Z] Configure a credential helper to remove this warning. See [2021-06-23T07:17:56.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:17:56.297Z] [2021-06-23T07:17:56.297Z] Login Succeeded [2021-06-23T07:17:56.297Z] nexus3.edgexfoundry.org:10004 [2021-06-23T07:17:56.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:17:56.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:17:56.559Z] Configure a credential helper to remove this warning. See [2021-06-23T07:17:56.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:17:56.559Z] [2021-06-23T07:17:56.559Z] Login Succeeded [2021-06-23T07:17:56.559Z] docker.io [2021-06-23T07:17:56.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:17:56.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:17:56.821Z] Configure a credential helper to remove this warning. See [2021-06-23T07:17:56.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:17:56.821Z] [2021-06-23T07:17:56.821Z] Login Succeeded [2021-06-23T07:17:56.821Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T07:17:56.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-23T07:17:57.005Z] ========================================================= [2021-06-23T07:17:57.005Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-23T07:17:57.005Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:17:57.319Z] + 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-23T07:17:57.319Z] Sending build context to Docker daemon 2.692MB [2021-06-23T07:17:57.319Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T07:17:57.319Z] Step 2/8 : FROM ${BASE} [2021-06-23T07:17:57.586Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-23T07:17:57.586Z] 540db60ca938: Pulling fs layer [2021-06-23T07:17:57.586Z] adcc1eea9eea: Pulling fs layer [2021-06-23T07:17:57.586Z] 4c4ab2625f07: Pulling fs layer [2021-06-23T07:17:57.586Z] 0510c868ecb4: Pulling fs layer [2021-06-23T07:17:57.586Z] afea3b2eda06: Pulling fs layer [2021-06-23T07:17:57.586Z] 7809a108b3ef: Pulling fs layer [2021-06-23T07:17:57.586Z] f706445af74f: Pulling fs layer [2021-06-23T07:17:57.586Z] 0510c868ecb4: Waiting [2021-06-23T07:17:57.586Z] afea3b2eda06: Waiting [2021-06-23T07:17:57.586Z] 7809a108b3ef: Waiting [2021-06-23T07:17:57.586Z] f706445af74f: Waiting [2021-06-23T07:17:57.586Z] 4c4ab2625f07: Verifying Checksum [2021-06-23T07:17:57.586Z] 4c4ab2625f07: Download complete [2021-06-23T07:17:57.586Z] adcc1eea9eea: Verifying Checksum [2021-06-23T07:17:57.586Z] adcc1eea9eea: Download complete [2021-06-23T07:17:57.586Z] afea3b2eda06: Verifying Checksum [2021-06-23T07:17:57.586Z] afea3b2eda06: Download complete [2021-06-23T07:17:57.586Z] 7809a108b3ef: Verifying Checksum [2021-06-23T07:17:57.586Z] 7809a108b3ef: Download complete [2021-06-23T07:17:57.586Z] 540db60ca938: Verifying Checksum [2021-06-23T07:17:57.586Z] 540db60ca938: Download complete [2021-06-23T07:17:57.586Z] 540db60ca938: Pull complete [2021-06-23T07:17:57.849Z] adcc1eea9eea: Pull complete [2021-06-23T07:17:57.849Z] 4c4ab2625f07: Pull complete [2021-06-23T07:17:59.771Z] f706445af74f: Verifying Checksum [2021-06-23T07:17:59.771Z] f706445af74f: Download complete [2021-06-23T07:18:00.043Z] 0510c868ecb4: Verifying Checksum [2021-06-23T07:18:00.043Z] 0510c868ecb4: Download complete [2021-06-23T07:18:03.394Z] 0510c868ecb4: Pull complete [2021-06-23T07:18:03.394Z] afea3b2eda06: Pull complete [2021-06-23T07:18:03.394Z] 7809a108b3ef: Pull complete [2021-06-23T07:18:04.808Z] f706445af74f: Pull complete [2021-06-23T07:18:04.808Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-23T07:18:04.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-23T07:18:04.808Z] ---> b068be0155e3 [2021-06-23T07:18:04.808Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:18:09.030Z] ---> Running in a97aabe216d4 [2021-06-23T07:18:09.030Z] Removing intermediate container a97aabe216d4 [2021-06-23T07:18:09.030Z] ---> acd20b36ce63 [2021-06-23T07:18:09.030Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:18:09.030Z] ---> Running in 5f919e36a267 [2021-06-23T07:18:09.607Z] Removing intermediate container 5f919e36a267 [2021-06-23T07:18:09.607Z] ---> 384ab7234edb [2021-06-23T07:18:09.607Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-23T07:18:09.607Z] ---> Running in c2ef6374f054 [2021-06-23T07:18:09.869Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-23T07:18:10.821Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-23T07:18:11.399Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-23T07:18:11.663Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-23T07:18:11.663Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-23T07:18:11.663Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-23T07:18:11.931Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-23T07:18:11.931Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-23T07:18:11.931Z] Executing busybox-1.32.1-r6.trigger [2021-06-23T07:18:11.931Z] OK: 150 MiB in 46 packages [2021-06-23T07:18:12.525Z] Removing intermediate container c2ef6374f054 [2021-06-23T07:18:12.525Z] ---> a5f6e0bd84d1 [2021-06-23T07:18:12.525Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-23T07:18:12.525Z] ---> Running in 3d9f0e02b491 [2021-06-23T07:18:12.525Z] Removing intermediate container 3d9f0e02b491 [2021-06-23T07:18:12.525Z] ---> f4f8133392aa [2021-06-23T07:18:12.525Z] Step 7/8 : COPY . . [2021-06-23T07:18:12.788Z] ---> 8b0bec3bbf23 [2021-06-23T07:18:12.788Z] Step 8/8 : RUN go mod download [2021-06-23T07:18:12.788Z] ---> Running in 2a561f038731 [2021-06-23T07:18:25.065Z] Removing intermediate container 2a561f038731 [2021-06-23T07:18:25.065Z] ---> 8ba6865bbef2 [2021-06-23T07:18:25.065Z] Successfully built 8ba6865bbef2 [2021-06-23T07:18:25.065Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:18:25.378Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-23T07:18:25.378Z] . [Pipeline] withDockerContainer [2021-06-23T07:18:25.461Z] prd-centos7-docker-4c-2g-884 does not seem to be running inside a container [2021-06-23T07:18:25.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-23T07:18:25.865Z] $ docker top 455ae3decc98eb8a593516eb944b7fc4bfda4f224a794105607c7891c9df70f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T07:18:26.276Z] + go version [2021-06-23T07:18:26.276Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-23T07:18:26.284Z] $ docker stop --time=1 455ae3decc98eb8a593516eb944b7fc4bfda4f224a794105607c7891c9df70f1 [2021-06-23T07:18:27.462Z] $ docker rm -f 455ae3decc98eb8a593516eb944b7fc4bfda4f224a794105607c7891c9df70f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:18:28.063Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-23T07:18:28.063Z] . [Pipeline] withDockerContainer [2021-06-23T07:18:28.142Z] prd-centos7-docker-4c-2g-884 does not seem to be running inside a container [2021-06-23T07:18:28.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-23T07:18:28.557Z] $ docker top 489c4014306713fe88f31204182b12cc03372fdeb41c58c196bbe82afc4fd8d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T07:18:28.975Z] + go mod tidy [Pipeline] sh [2021-06-23T07:18:29.564Z] + make test [2021-06-23T07:18:29.564Z] go mod tidy [2021-06-23T07:18:29.564Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-23T07:18:35.310Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-23T07:18:57.416Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-23T07:18:57.416Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-23T07:18:57.416Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-23T07:19:00.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.049s coverage: 24.2% of statements [2021-06-23T07:19:00.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-23T07:19:00.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.045s coverage: 28.1% of statements [2021-06-23T07:19:00.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements [2021-06-23T07:19:00.279Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.058s coverage: 9.0% of statements [2021-06-23T07:19:00.279Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-23T07:19:00.279Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-23T07:19:00.279Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-23T07:19:00.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 28.7% of statements [2021-06-23T07:19:00.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-23T07:19:02.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 83.3% of statements [2021-06-23T07:19:02.275Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-23T07:19:02.275Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-23T07:19:02.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-06-23T07:19:03.254Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.818s coverage: 89.2% of statements [2021-06-23T07:19:03.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-23T07:19:03.254Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements [2021-06-23T07:19:03.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-23T07:19:03.254Z] GO111MODULE=on go vet ./... [2021-06-23T07:19:21.471Z] gofmt -l . [2021-06-23T07:19:21.471Z] [ "`gofmt -l .`" = "" ] [2021-06-23T07:19:21.471Z] ./bin/test-attribution-txt.sh [2021-06-23T07:19:21.471Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-23T07:19:21.483Z] $ docker stop --time=1 489c4014306713fe88f31204182b12cc03372fdeb41c58c196bbe82afc4fd8d7 [2021-06-23T07:19:23.101Z] $ docker rm -f 489c4014306713fe88f31204182b12cc03372fdeb41c58c196bbe82afc4fd8d7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T07:19:23.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-23T07:19:23.799Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-23T07:19:25.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-23T07:19:25.440Z] + ls -al . [2021-06-23T07:19:25.440Z] total 208 [2021-06-23T07:19:25.440Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 23 07:19 . [2021-06-23T07:19:25.440Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 07:17 .. [2021-06-23T07:19:25.440Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 07:17 bin [2021-06-23T07:19:25.440Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 23 07:19 coverage.out [2021-06-23T07:19:25.440Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 23 07:17 Dockerfile.build [2021-06-23T07:19:25.440Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 23 07:17 .dockerignore [2021-06-23T07:19:25.440Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 23 07:17 example [2021-06-23T07:19:25.440Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 07:17 .git [2021-06-23T07:19:25.440Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 23 07:17 .github [2021-06-23T07:19:25.440Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 23 07:17 .gitignore [2021-06-23T07:19:25.440Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 23 07:19 go.mod [2021-06-23T07:19:25.440Z] -rw-r--r--. 1 jenkins jenkins 20413 Jun 23 07:18 go.sum [2021-06-23T07:19:25.440Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 23 07:17 internal [2021-06-23T07:19:25.440Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 23 07:17 Jenkinsfile [2021-06-23T07:19:25.440Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 23 07:17 LICENSE [2021-06-23T07:19:25.440Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 23 07:17 Makefile [2021-06-23T07:19:25.440Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 23 07:17 openapi [2021-06-23T07:19:25.440Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 23 07:17 pkg [2021-06-23T07:19:25.440Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 23 07:17 README.md [2021-06-23T07:19:25.440Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 23 07:17 RELEASE-NOTES.txt [2021-06-23T07:19:25.440Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 23 07:17 snap [2021-06-23T07:19:25.440Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 07:16 VERSION [2021-06-23T07:19:25.440Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 23 07:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:19:25.751Z] + 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=dba30b92d04db2bac41e3876e475d60b1c7fc8ce --label arch=amd64 --label version=0.0.0 . [2021-06-23T07:19:25.751Z] Sending build context to Docker daemon 2.819MB [2021-06-23T07:19:25.751Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T07:19:25.751Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-23T07:19:25.751Z] ---> 8ba6865bbef2 [2021-06-23T07:19:25.751Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-23T07:19:25.751Z] ---> Running in f8c1a1e9cb00 [2021-06-23T07:19:26.015Z] Removing intermediate container f8c1a1e9cb00 [2021-06-23T07:19:26.015Z] ---> 4bc4f34c8138 [2021-06-23T07:19:26.015Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:19:26.015Z] ---> Running in 70603975e686 [2021-06-23T07:19:26.015Z] Removing intermediate container 70603975e686 [2021-06-23T07:19:26.015Z] ---> 0a0aa05759cb [2021-06-23T07:19:26.015Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:19:26.015Z] ---> Running in aa291efa49eb [2021-06-23T07:19:26.608Z] Removing intermediate container aa291efa49eb [2021-06-23T07:19:26.608Z] ---> c0f3b9ea8efa [2021-06-23T07:19:26.608Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-23T07:19:26.608Z] ---> Running in 9ada16affba0 [2021-06-23T07:19:26.870Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-23T07:19:27.815Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-23T07:19:28.077Z] OK: 150 MiB in 46 packages [2021-06-23T07:19:28.357Z] Removing intermediate container 9ada16affba0 [2021-06-23T07:19:28.357Z] ---> a80988a793ea [2021-06-23T07:19:28.357Z] Step 7/23 : COPY . . [2021-06-23T07:19:28.631Z] ---> 8c9944a0c39b [2021-06-23T07:19:28.631Z] Step 8/23 : RUN go mod download [2021-06-23T07:19:28.631Z] ---> Running in c1064c5c86c8 [2021-06-23T07:19:28.767Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-885 in /w/workspace/dgexfoundry_device-sdk-go_PR-973 [Pipeline] { [Pipeline] ws [2021-06-23T07:19:28.799Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-06-23T07:19:29.112Z] Selected Git installation does not exist. Using Default [2021-06-23T07:19:29.112Z] The recommended git tool is: NONE [2021-06-23T07:19:29.221Z] Removing intermediate container c1064c5c86c8 [2021-06-23T07:19:29.221Z] ---> 044d4587ccd8 [2021-06-23T07:19:29.221Z] Step 9/23 : RUN make build [2021-06-23T07:19:29.221Z] ---> Running in aa1d6d1618cd [2021-06-23T07:19:29.491Z] go mod tidy [2021-06-23T07:19:29.491Z] 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-23T07:19:35.176Z] using credential edgex-jenkins-ssh [2021-06-23T07:19:35.201Z] Cloning the remote Git repository [2021-06-23T07:19:35.269Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:19:35.384Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-06-23T07:19:35.501Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:19:35.502Z] > git --version # timeout=10 [2021-06-23T07:19:35.521Z] > git --version # 'git version 2.17.1' [2021-06-23T07:19:35.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:19:35.612Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T07:19:37.643Z] Merging remotes/origin/master commit 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef into PR head commit dba30b92d04db2bac41e3876e475d60b1c7fc8ce [2021-06-23T07:19:37.883Z] Merge succeeded, producing dba30b92d04db2bac41e3876e475d60b1c7fc8ce [2021-06-23T07:19:37.884Z] Checking out Revision dba30b92d04db2bac41e3876e475d60b1c7fc8ce (PR-973) [2021-06-23T07:19:36.866Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T07:19:36.897Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T07:19:36.929Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T07:19:36.977Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:19:36.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:19:36.994Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/973/head:refs/remotes/origin/PR-973 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-23T07:19:37.662Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T07:19:37.681Z] > git checkout -f dba30b92d04db2bac41e3876e475d60b1c7fc8ce # timeout=10 [2021-06-23T07:19:37.789Z] > git remote # timeout=10 [2021-06-23T07:19:37.808Z] > git config --get remote.origin.url # timeout=10 [2021-06-23T07:19:37.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:19:37.834Z] > git merge 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef # timeout=10 [2021-06-23T07:19:37.862Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-23T07:19:37.885Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T07:19:37.896Z] > git checkout -f dba30b92d04db2bac41e3876e475d60b1c7fc8ce # timeout=10 [2021-06-23T07:19:39.639Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-23T07:19:40.215Z] Removing intermediate container aa1d6d1618cd [2021-06-23T07:19:40.215Z] ---> 08ec11730f37 [2021-06-23T07:19:40.215Z] Step 10/23 : FROM alpine:3.12 [2021-06-23T07:19:40.787Z] 3.12: Pulling from library/alpine [2021-06-23T07:19:41.051Z] 339de151aab4: Pulling fs layer [2021-06-23T07:19:41.051Z] 339de151aab4: Download complete [2021-06-23T07:19:41.317Z] 339de151aab4: Pull complete [2021-06-23T07:19:41.317Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-23T07:19:41.317Z] Status: Downloaded newer image for alpine:3.12 [2021-06-23T07:19:41.317Z] ---> 13621d1b12d4 [2021-06-23T07:19:41.317Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:19:41.317Z] ---> Running in 831f9f56658b [2021-06-23T07:19:41.317Z] Removing intermediate container 831f9f56658b [2021-06-23T07:19:41.317Z] ---> 0ee809191023 [2021-06-23T07:19:41.317Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:19:41.317Z] ---> Running in 3d4b00cd9c5b [2021-06-23T07:19:41.894Z] Removing intermediate container 3d4b00cd9c5b [2021-06-23T07:19:41.894Z] ---> 18e8669c91a7 [2021-06-23T07:19:41.894Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-23T07:19:41.894Z] ---> Running in 2fde5d92b42b [2021-06-23T07:19:42.154Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-23T07:19:42.356Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-06-23T07:19:42.727Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T07:19:42.989Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-23T07:19:43.250Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-23T07:19:43.250Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-23T07:19:43.928Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-23T07:19:44.200Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-23T07:19:44.200Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-23T07:19:44.200Z] Executing busybox-1.31.1-r20.trigger [2021-06-23T07:19:44.200Z] OK: 8 MiB in 19 packages [2021-06-23T07:19:44.355Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-23T07:19:44.461Z] Removing intermediate container 2fde5d92b42b [2021-06-23T07:19:44.461Z] ---> 43378ef93e7f [2021-06-23T07:19:44.461Z] Step 14/23 : WORKDIR / [2021-06-23T07:19:44.461Z] ---> Running in 786f16018e19 [2021-06-23T07:19:44.705Z] + sudo service docker restart [2021-06-23T07:19:44.705Z] + true [2021-06-23T07:19:44.725Z] Removing intermediate container 786f16018e19 [2021-06-23T07:19:44.725Z] ---> 7889e8f30cf8 [2021-06-23T07:19:44.725Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-23T07:19:44.725Z] ---> b2d3db62c4ef [2021-06-23T07:19:44.725Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-23T07:19:45.314Z] ---> 53b28ed68075 [2021-06-23T07:19:45.314Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-23T07:19:45.314Z] ---> 24acba34ddf7 [2021-06-23T07:19:45.314Z] Step 18/23 : EXPOSE 59999 [2021-06-23T07:19:45.314Z] ---> Running in f4560c679266 [2021-06-23T07:19:45.314Z] Removing intermediate container f4560c679266 [2021-06-23T07:19:45.314Z] ---> a666efe7788d [2021-06-23T07:19:45.314Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-23T07:19:45.580Z] ---> Running in 73e7fbe3c3b4 [2021-06-23T07:19:45.580Z] Removing intermediate container 73e7fbe3c3b4 [2021-06-23T07:19:45.580Z] ---> 93553d382b79 [2021-06-23T07:19:45.580Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-23T07:19:45.580Z] ---> Running in f57cbe38fca6 [2021-06-23T07:19:45.580Z] Removing intermediate container f57cbe38fca6 [2021-06-23T07:19:45.580Z] ---> d33db57d7fab [2021-06-23T07:19:45.580Z] Step 21/23 : LABEL arch=amd64 [2021-06-23T07:19:45.580Z] ---> Running in c85db78af463 [2021-06-23T07:19:45.841Z] Removing intermediate container c85db78af463 [2021-06-23T07:19:45.841Z] ---> 72409d918b32 [2021-06-23T07:19:45.841Z] Step 22/23 : LABEL git_sha=dba30b92d04db2bac41e3876e475d60b1c7fc8ce [2021-06-23T07:19:45.841Z] ---> Running in fc8589525d36 [2021-06-23T07:19:45.841Z] Removing intermediate container fc8589525d36 [2021-06-23T07:19:45.841Z] ---> 27c1ba854f50 [2021-06-23T07:19:45.841Z] Step 23/23 : LABEL version=0.0.0 [2021-06-23T07:19:45.841Z] ---> Running in 1411d8adc6a1 [2021-06-23T07:19:46.103Z] Removing intermediate container 1411d8adc6a1 [2021-06-23T07:19:46.103Z] ---> 95ab4c013fa4 [2021-06-23T07:19:46.103Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-23T07:19:46.103Z] Successfully built 95ab4c013fa4 [2021-06-23T07:19:46.103Z] 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-23T07:19:46.849Z] ---> job-cost.sh [2021-06-23T07:19:46.849Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3dvM [2021-06-23T07:19:56.910Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T07:20:03.194Z] provisioning config files... [2021-06-23T07:20:03.225Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5574425508755506426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:20:03.621Z] ---> docker-login.sh [2021-06-23T07:20:03.621Z] nexus3.edgexfoundry.org:10001 [2021-06-23T07:20:04.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:20:04.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:20:04.885Z] Configure a credential helper to remove this warning. See [2021-06-23T07:20:04.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:20:04.885Z] [2021-06-23T07:20:04.885Z] Login Succeeded [2021-06-23T07:20:04.885Z] nexus3.edgexfoundry.org:10002 [2021-06-23T07:20:05.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:20:05.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:20:05.488Z] Configure a credential helper to remove this warning. See [2021-06-23T07:20:05.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:20:05.488Z] [2021-06-23T07:20:05.488Z] Login Succeeded [2021-06-23T07:20:05.488Z] nexus3.edgexfoundry.org:10003 [2021-06-23T07:20:06.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:20:06.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:20:06.091Z] Configure a credential helper to remove this warning. See [2021-06-23T07:20:06.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:20:06.091Z] [2021-06-23T07:20:06.091Z] Login Succeeded [2021-06-23T07:20:06.091Z] nexus3.edgexfoundry.org:10004 [2021-06-23T07:20:06.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:20:06.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:20:06.695Z] Configure a credential helper to remove this warning. See [2021-06-23T07:20:06.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:20:06.695Z] [2021-06-23T07:20:06.695Z] Login Succeeded [2021-06-23T07:20:06.695Z] docker.io [2021-06-23T07:20:06.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:20:07.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:20:07.575Z] Configure a credential helper to remove this warning. See [2021-06-23T07:20:07.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:20:07.575Z] [2021-06-23T07:20:07.575Z] Login Succeeded [2021-06-23T07:20:07.575Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T07:20:07.593Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-23T07:20:07.921Z] ========================================================= [2021-06-23T07:20:07.921Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-23T07:20:07.921Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:20:08.277Z] + 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-23T07:20:08.882Z] Sending build context to Docker daemon 2.691MB [2021-06-23T07:20:08.882Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T07:20:08.882Z] Step 2/8 : FROM ${BASE} [2021-06-23T07:20:09.158Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-23T07:20:09.158Z] 595b0fe564bb: Pulling fs layer [2021-06-23T07:20:09.158Z] 3088b5b3c5c0: Pulling fs layer [2021-06-23T07:20:09.158Z] 5b7225fbf94c: Pulling fs layer [2021-06-23T07:20:09.158Z] ba82ee9f976e: Pulling fs layer [2021-06-23T07:20:09.158Z] 506bd15cee9f: Pulling fs layer [2021-06-23T07:20:09.158Z] 75a0a4a0db45: Pulling fs layer [2021-06-23T07:20:09.158Z] 618dc40b7e24: Pulling fs layer [2021-06-23T07:20:09.158Z] ba82ee9f976e: Waiting [2021-06-23T07:20:09.158Z] 506bd15cee9f: Waiting [2021-06-23T07:20:09.158Z] 75a0a4a0db45: Waiting [2021-06-23T07:20:09.158Z] 618dc40b7e24: Waiting [2021-06-23T07:20:09.158Z] 5b7225fbf94c: Download complete [2021-06-23T07:20:09.158Z] 3088b5b3c5c0: Verifying Checksum [2021-06-23T07:20:09.158Z] 3088b5b3c5c0: Download complete [2021-06-23T07:20:09.158Z] 506bd15cee9f: Verifying Checksum [2021-06-23T07:20:09.158Z] 506bd15cee9f: Download complete [2021-06-23T07:20:09.158Z] 75a0a4a0db45: Verifying Checksum [2021-06-23T07:20:09.158Z] 75a0a4a0db45: Download complete [2021-06-23T07:20:09.158Z] 595b0fe564bb: Download complete [2021-06-23T07:20:09.213Z] lf-activate-venv(): INFO: Adding /tmp/venv-3dvM/bin to PATH [2021-06-23T07:20:09.213Z] INFO: No Stack... [2021-06-23T07:20:09.213Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-23T07:20:09.769Z] 595b0fe564bb: Pull complete [2021-06-23T07:20:09.795Z] INFO: Archiving Costs [Pipeline] sh [2021-06-23T07:20:10.096Z] + cut -d, -f6 [2021-06-23T07:20:10.096Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2021-06-23T07:20:10.124Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-973-5-stack-cost] [2021-06-23T07:20:10.133Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-973-5-stack-cost] did not exist. Created. [2021-06-23T07:20:10.133Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-973-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-23T07:20:10.459Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-23T07:20:10.564Z] Stashed 1 file(s) [Pipeline] } [2021-06-23T07:20:10.578Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-973-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-06-23T07:20:10.770Z] 3088b5b3c5c0: Pull complete [Pipeline] // stage [Pipeline] } [2021-06-23T07:20:11.047Z] 5b7225fbf94c: Pull complete [2021-06-23T07:20:12.042Z] 618dc40b7e24: Verifying Checksum [2021-06-23T07:20:12.042Z] 618dc40b7e24: Download complete [2021-06-23T07:20:13.493Z] ba82ee9f976e: Verifying Checksum [2021-06-23T07:20:13.493Z] ba82ee9f976e: Download complete [2021-06-23T07:20:23.696Z] ba82ee9f976e: Pull complete [2021-06-23T07:20:23.696Z] 506bd15cee9f: Pull complete [2021-06-23T07:20:24.299Z] 75a0a4a0db45: Pull complete [2021-06-23T07:20:27.697Z] 618dc40b7e24: Pull complete [2021-06-23T07:20:27.697Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-23T07:20:27.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-23T07:20:27.697Z] ---> a36622ca3599 [2021-06-23T07:20:27.697Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:20:28.975Z] ---> Running in fe7c99896cb1 [2021-06-23T07:20:29.662Z] Removing intermediate container fe7c99896cb1 [2021-06-23T07:20:29.662Z] ---> 7262898ee6a5 [2021-06-23T07:20:29.662Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:20:29.950Z] ---> Running in 1db00f77ba22 [2021-06-23T07:20:32.583Z] Removing intermediate container 1db00f77ba22 [2021-06-23T07:20:32.584Z] ---> 5904b1ef4429 [2021-06-23T07:20:32.584Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-23T07:20:32.584Z] ---> Running in 060b9bcdfca3 [2021-06-23T07:20:34.023Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-23T07:20:35.002Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-23T07:20:35.985Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-23T07:20:35.985Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-23T07:20:35.985Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-23T07:20:36.259Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-23T07:20:36.259Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-23T07:20:36.536Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-23T07:20:36.536Z] Executing busybox-1.32.1-r6.trigger [2021-06-23T07:20:36.536Z] OK: 139 MiB in 46 packages [2021-06-23T07:20:37.983Z] Removing intermediate container 060b9bcdfca3 [2021-06-23T07:20:37.983Z] ---> 9bb200e3009b [2021-06-23T07:20:37.983Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-23T07:20:38.257Z] ---> Running in 3782a17214bd [2021-06-23T07:20:38.855Z] Removing intermediate container 3782a17214bd [2021-06-23T07:20:38.855Z] ---> ac089f5ebd47 [2021-06-23T07:20:38.855Z] Step 7/8 : COPY . . [2021-06-23T07:20:40.297Z] ---> b63f7e773b9f [2021-06-23T07:20:40.297Z] Step 8/8 : RUN go mod download [2021-06-23T07:20:40.297Z] ---> Running in c98af38fe8bd [2021-06-23T07:21:12.682Z] Removing intermediate container c98af38fe8bd [2021-06-23T07:21:12.682Z] ---> e3b62d22b139 [2021-06-23T07:21:12.682Z] Successfully built e3b62d22b139 [2021-06-23T07:21:12.682Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:21:13.030Z] + docker inspect -f . ci-base-image-arm64 [2021-06-23T07:21:13.030Z] . [Pipeline] withDockerContainer [2021-06-23T07:21:13.260Z] prd-ubuntu18.04-docker-arm64-4c-16g-885 does not seem to be running inside a container [2021-06-23T07:21:13.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-23T07:21:15.043Z] $ docker top f46a2a1fddeb000036a8c638213f9538723fe1196dea75955cc464a1bb3eef12 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T07:21:16.025Z] + go version [2021-06-23T07:21:16.025Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-23T07:21:16.045Z] $ docker stop --time=1 f46a2a1fddeb000036a8c638213f9538723fe1196dea75955cc464a1bb3eef12 [2021-06-23T07:21:17.941Z] $ docker rm -f f46a2a1fddeb000036a8c638213f9538723fe1196dea75955cc464a1bb3eef12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:21:18.764Z] + docker inspect -f . ci-base-image-arm64 [2021-06-23T07:21:18.764Z] . [Pipeline] withDockerContainer [2021-06-23T07:21:19.049Z] prd-ubuntu18.04-docker-arm64-4c-16g-885 does not seem to be running inside a container [2021-06-23T07:21:19.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-23T07:21:20.858Z] $ docker top 6d388c4378bb8ad158b8434f12dae65aae0f52c4695746d288aa4b9b55a16af9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T07:21:21.886Z] + go mod tidy [Pipeline] sh [2021-06-23T07:21:23.159Z] + make test [2021-06-23T07:21:23.159Z] go mod tidy [2021-06-23T07:21:23.764Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-23T07:21:50.604Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-23T07:22:58.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-23T07:22:58.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-23T07:22:58.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-23T07:23:13.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.290s coverage: 24.2% of statements [2021-06-23T07:23:13.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-23T07:23:13.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.243s coverage: 28.1% of statements [2021-06-23T07:23:13.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.250s coverage: 78.9% of statements [2021-06-23T07:23:13.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.287s coverage: 9.0% of statements [2021-06-23T07:23:13.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-23T07:23:13.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-23T07:23:13.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-23T07:23:14.154Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.326s coverage: 28.7% of statements [2021-06-23T07:23:14.154Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-23T07:23:16.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.243s coverage: 83.3% of statements [2021-06-23T07:23:16.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-23T07:23:16.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-23T07:23:16.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.411s coverage: 58.0% of statements [2021-06-23T07:23:17.821Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.208s coverage: 89.2% of statements [2021-06-23T07:23:17.821Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-23T07:23:18.809Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.190s coverage: 5.0% of statements [2021-06-23T07:23:18.809Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-23T07:23:19.087Z] GO111MODULE=on go vet ./... [2021-06-23T07:24:15.693Z] gofmt -l . [2021-06-23T07:24:15.693Z] [ "`gofmt -l .`" = "" ] [2021-06-23T07:24:15.693Z] ./bin/test-attribution-txt.sh [2021-06-23T07:24:17.669Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-23T07:24:17.955Z] $ docker stop --time=1 6d388c4378bb8ad158b8434f12dae65aae0f52c4695746d288aa4b9b55a16af9 [2021-06-23T07:24:20.215Z] $ docker rm -f 6d388c4378bb8ad158b8434f12dae65aae0f52c4695746d288aa4b9b55a16af9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T07:24:21.433Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-23T07:24:21.467Z] Warning: overwriting stash ‘coverage-report’ [2021-06-23T07:24:22.173Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T07:24:22.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-23T07:24:23.017Z] + ls -al . [2021-06-23T07:24:23.017Z] total 244 [2021-06-23T07:24:23.017Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 07:24 . [2021-06-23T07:24:23.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 07:19 .. [2021-06-23T07:24:23.017Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 07:19 .dockerignore [2021-06-23T07:24:23.017Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 07:19 .git [2021-06-23T07:24:23.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 07:19 .github [2021-06-23T07:24:23.017Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 23 07:19 .gitignore [2021-06-23T07:24:23.017Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 23 07:19 Dockerfile.build [2021-06-23T07:24:23.017Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 23 07:19 Jenkinsfile [2021-06-23T07:24:23.017Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 23 07:19 LICENSE [2021-06-23T07:24:23.017Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 23 07:19 Makefile [2021-06-23T07:24:23.017Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 23 07:19 README.md [2021-06-23T07:24:23.017Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 23 07:19 RELEASE-NOTES.txt [2021-06-23T07:24:23.017Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 07:16 VERSION [2021-06-23T07:24:23.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 07:19 bin [2021-06-23T07:24:23.017Z] -rw-r--r-- 1 jenkins jenkins 125635 Jun 23 07:23 coverage.out [2021-06-23T07:24:23.017Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 23 07:19 example [2021-06-23T07:24:23.017Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 23 07:24 go.mod [2021-06-23T07:24:23.017Z] -rw-r--r-- 1 jenkins jenkins 20413 Jun 23 07:21 go.sum [2021-06-23T07:24:23.017Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 23 07:19 internal [2021-06-23T07:24:23.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 07:19 openapi [2021-06-23T07:24:23.017Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 23 07:19 pkg [2021-06-23T07:24:23.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 07:19 snap [2021-06-23T07:24:23.017Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 23 07:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:24:23.372Z] + 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=dba30b92d04db2bac41e3876e475d60b1c7fc8ce --label arch=arm64 --label version=0.0.0 . [2021-06-23T07:24:23.975Z] Sending build context to Docker daemon 2.818MB [2021-06-23T07:24:23.975Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T07:24:23.975Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-23T07:24:23.975Z] ---> e3b62d22b139 [2021-06-23T07:24:23.975Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-23T07:24:24.253Z] ---> Running in 6642a9e9718b [2021-06-23T07:24:24.851Z] Removing intermediate container 6642a9e9718b [2021-06-23T07:24:24.851Z] ---> 084c37ab8ca2 [2021-06-23T07:24:24.851Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:24:24.851Z] ---> Running in d173d0a56c24 [2021-06-23T07:24:25.452Z] Removing intermediate container d173d0a56c24 [2021-06-23T07:24:25.452Z] ---> 23f3ee414777 [2021-06-23T07:24:25.452Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:24:25.727Z] ---> Running in 0ba95ac6b6d2 [2021-06-23T07:24:27.714Z] Removing intermediate container 0ba95ac6b6d2 [2021-06-23T07:24:27.714Z] ---> eacbfcaa8ffe [2021-06-23T07:24:27.714Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-23T07:24:27.988Z] ---> Running in 0f848a32410b [2021-06-23T07:24:29.432Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-23T07:24:30.029Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-23T07:24:32.019Z] OK: 139 MiB in 46 packages [2021-06-23T07:24:33.001Z] Removing intermediate container 0f848a32410b [2021-06-23T07:24:33.001Z] ---> 50cb84a09d8c [2021-06-23T07:24:33.001Z] Step 7/23 : COPY . . [2021-06-23T07:24:34.442Z] ---> 45c122a87155 [2021-06-23T07:24:34.442Z] Step 8/23 : RUN go mod download [2021-06-23T07:24:34.442Z] ---> Running in 535c256b216b [2021-06-23T07:24:37.097Z] Removing intermediate container 535c256b216b [2021-06-23T07:24:37.097Z] ---> 3f8e9dc7eb05 [2021-06-23T07:24:37.097Z] Step 9/23 : RUN make build [2021-06-23T07:24:37.097Z] ---> Running in f94fef6e09f2 [2021-06-23T07:24:38.554Z] go mod tidy [2021-06-23T07:24:39.158Z] 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-23T07:25:18.264Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-23T07:25:18.264Z] Removing intermediate container f94fef6e09f2 [2021-06-23T07:25:18.264Z] ---> e957d71798bf [2021-06-23T07:25:18.264Z] Step 10/23 : FROM alpine:3.12 [2021-06-23T07:25:18.264Z] 3.12: Pulling from library/alpine [2021-06-23T07:25:18.264Z] d2f70382dc9a: Pulling fs layer [2021-06-23T07:25:18.264Z] d2f70382dc9a: Verifying Checksum [2021-06-23T07:25:18.264Z] d2f70382dc9a: Download complete [2021-06-23T07:25:18.540Z] d2f70382dc9a: Pull complete [2021-06-23T07:25:18.540Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-23T07:25:18.540Z] Status: Downloaded newer image for alpine:3.12 [2021-06-23T07:25:18.540Z] ---> c4fd0aeabfcf [2021-06-23T07:25:18.540Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:25:18.816Z] ---> Running in 2e159da53b5d [2021-06-23T07:25:19.416Z] Removing intermediate container 2e159da53b5d [2021-06-23T07:25:19.416Z] ---> 1a4e8fc99a68 [2021-06-23T07:25:19.416Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:25:19.416Z] ---> Running in 0c2905655a3a [2021-06-23T07:25:21.404Z] Removing intermediate container 0c2905655a3a [2021-06-23T07:25:21.404Z] ---> db2d348d2b56 [2021-06-23T07:25:21.404Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-23T07:25:21.678Z] ---> Running in 68bdb667884b [2021-06-23T07:25:22.657Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-23T07:25:23.637Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-23T07:25:24.233Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-23T07:25:24.233Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-23T07:25:24.508Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-23T07:25:24.508Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-23T07:25:24.781Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-23T07:25:24.781Z] Executing busybox-1.31.1-r20.trigger [2021-06-23T07:25:24.781Z] OK: 8 MiB in 19 packages [2021-06-23T07:25:26.218Z] Removing intermediate container 68bdb667884b [2021-06-23T07:25:26.218Z] ---> 4b0fda17e498 [2021-06-23T07:25:26.218Z] Step 14/23 : WORKDIR / [2021-06-23T07:25:26.218Z] ---> Running in 491a7e59528f [2021-06-23T07:25:26.491Z] Removing intermediate container 491a7e59528f [2021-06-23T07:25:26.491Z] ---> b7dd2a871f1d [2021-06-23T07:25:26.491Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-23T07:25:27.472Z] ---> 8a72a4228b01 [2021-06-23T07:25:27.472Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-23T07:25:28.912Z] ---> 9b763620270b [2021-06-23T07:25:28.912Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-23T07:25:29.511Z] ---> b9086b571037 [2021-06-23T07:25:29.511Z] Step 18/23 : EXPOSE 59999 [2021-06-23T07:25:29.511Z] ---> Running in 79834685f6be [2021-06-23T07:25:30.104Z] Removing intermediate container 79834685f6be [2021-06-23T07:25:30.104Z] ---> aa7f61dfc713 [2021-06-23T07:25:30.104Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-23T07:25:30.104Z] ---> Running in a0778901c201 [2021-06-23T07:25:30.758Z] Removing intermediate container a0778901c201 [2021-06-23T07:25:30.758Z] ---> 6b7150a3257b [2021-06-23T07:25:30.758Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-23T07:25:30.758Z] ---> Running in 53536745889f [2021-06-23T07:25:31.356Z] Removing intermediate container 53536745889f [2021-06-23T07:25:31.356Z] ---> ba24ce2f6287 [2021-06-23T07:25:31.356Z] Step 21/23 : LABEL arch=arm64 [2021-06-23T07:25:31.356Z] ---> Running in 78d60c68e315 [2021-06-23T07:25:31.956Z] Removing intermediate container 78d60c68e315 [2021-06-23T07:25:31.956Z] ---> 6770d5e1085f [2021-06-23T07:25:31.956Z] Step 22/23 : LABEL git_sha=dba30b92d04db2bac41e3876e475d60b1c7fc8ce [2021-06-23T07:25:31.956Z] ---> Running in a5cd9f8d37ec [2021-06-23T07:25:32.557Z] Removing intermediate container a5cd9f8d37ec [2021-06-23T07:25:32.557Z] ---> 6743b733176b [2021-06-23T07:25:32.557Z] Step 23/23 : LABEL version=0.0.0 [2021-06-23T07:25:32.557Z] ---> Running in fda22746ada2 [2021-06-23T07:25:32.832Z] Removing intermediate container fda22746ada2 [2021-06-23T07:25:32.832Z] ---> 97f2a9282f37 [2021-06-23T07:25:33.104Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-23T07:25:33.104Z] Successfully built 97f2a9282f37 [2021-06-23T07:25:33.104Z] 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-23T07:25:33.698Z] ---> job-cost.sh [2021-06-23T07:25:33.698Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SkFW [2021-06-23T07:26:12.681Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-23T07:27:49.481Z] lf-activate-venv(): INFO: Adding /tmp/venv-SkFW/bin to PATH [2021-06-23T07:27:49.481Z] INFO: No Stack... [2021-06-23T07:27:49.481Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-23T07:27:49.481Z] INFO: Archiving Costs [Pipeline] sh [2021-06-23T07:27:49.832Z] + cat+ /w/workspace/device-sdk-go/5/archives/cost.csv [2021-06-23T07:27:49.832Z] cut -d, -f6 [Pipeline] lock [2021-06-23T07:27:49.900Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-973-5-stack-cost] [2021-06-23T07:27:49.911Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-973-5-stack-cost] did not exist. Created. [2021-06-23T07:27:49.911Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-973-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-23T07:27:50.298Z] /w/workspace/device-sdk-go/5@tmp/durable-867d53c7/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-867d53c7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-23T07:27:50.656Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-23T07:27:50.689Z] Warning: overwriting stash ‘stack-cost’ [2021-06-23T07:27:50.865Z] Stashed 1 file(s) [Pipeline] } [2021-06-23T07:27:50.877Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-973-5-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-23T07:27:51.487Z] provisioning config files... [2021-06-23T07:27:51.497Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/config8609555981957454271tmp [Pipeline] { [Pipeline] sh [2021-06-23T07:27:51.817Z] + set +x [2021-06-23T07:27:51.817Z] + curl -s https://codecov.io/bash [2021-06-23T07:27:51.817Z] + bash -s -- [2021-06-23T07:27:51.817Z] [2021-06-23T07:27:51.817Z] _____ _ [2021-06-23T07:27:51.817Z] / ____| | | [2021-06-23T07:27:51.817Z] | | ___ __| | ___ ___ _____ __ [2021-06-23T07:27:51.817Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-23T07:27:51.817Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-23T07:27:51.817Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-23T07:27:51.817Z] Bash-1.0.3 [2021-06-23T07:27:51.817Z] [2021-06-23T07:27:51.817Z] [2021-06-23T07:27:51.817Z] ==> git version 2.24.4 found [2021-06-23T07:27:51.817Z] ==> 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-23T07:27:51.817Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-23T07:27:51.817Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-23T07:27:51.817Z] ==> Jenkins CI detected. [2021-06-23T07:27:51.817Z] project root: . [2021-06-23T07:27:51.817Z] --> token set from env [2021-06-23T07:27:51.817Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-23T07:27:51.817Z] ==> Running gcov in . (disable via -X gcov) [2021-06-23T07:27:52.080Z] ==> Python coveragepy not found [2021-06-23T07:27:52.080Z] ==> Searching for coverage reports in: [2021-06-23T07:27:52.080Z] + . [2021-06-23T07:27:52.080Z] -> Found 1 reports [2021-06-23T07:27:52.080Z] ==> Detecting git/mercurial file structure [2021-06-23T07:27:52.080Z] ==> Reading reports [2021-06-23T07:27:52.080Z] + ./coverage.out bytes=125635 [2021-06-23T07:27:52.080Z] ==> Appending adjustments [2021-06-23T07:27:52.080Z] https://docs.codecov.io/docs/fixing-reports [2021-06-23T07:27:52.345Z] + Found adjustments [2021-06-23T07:27:52.345Z] ==> Gzipping contents [2021-06-23T07:27:52.345Z] 16K /tmp/codecov.q0C8E8.gz [2021-06-23T07:27:52.345Z] ==> Uploading reports [2021-06-23T07:27:52.345Z] url: https://codecov.io [2021-06-23T07:27:52.345Z] query: branch=PR-973&commit=dba30b92d04db2bac41e3876e475d60b1c7fc8ce&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-973%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=973&job=&cmd_args= [2021-06-23T07:27:52.345Z] -> Pinging Codecov [2021-06-23T07:27:52.345Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-973&commit=dba30b92d04db2bac41e3876e475d60b1c7fc8ce&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-973%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=973&job=&cmd_args= [2021-06-23T07:27:52.921Z] -> Uploading to [2021-06-23T07:27:52.921Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-23/7E55EF52A471D76F132DFD9A03CDDE97/dba30b92d04db2bac41e3876e475d60b1c7fc8ce/c644b717-27ad-468b-baa4-0c591469bf20.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210623T072752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f20d9afb2a85ad853c2bb2a45a4a89d0c22a02cf9f231bfa6ae7ca6bd261e704 [2021-06-23T07:27:52.921Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-23T07:27:52.921Z] Dload Upload Total Spent Left Speed [2021-06-23T07:27:53.183Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16346 0 0 100 16346 0 38429 --:--:-- --:--:-- --:--:-- 38461 [2021-06-23T07:27:53.183Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dba30b92d04db2bac41e3876e475d60b1c7fc8ce [Pipeline] } [2021-06-23T07:27:53.192Z] 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-23T07:27:54.860Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:27:55.432Z] ---> package-listing.sh [2021-06-23T07:27:55.432Z] ++ facter osfamily [2021-06-23T07:27:55.432Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-23T07:27:55.698Z] + OS_FAMILY=redhat [2021-06-23T07:27:55.698Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-973 [2021-06-23T07:27:55.698Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-23T07:27:55.698Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-23T07:27:55.698Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-23T07:27:55.698Z] + PACKAGES=/tmp/packages_start.txt [2021-06-23T07:27:55.698Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-973 ']' [2021-06-23T07:27:55.698Z] + PACKAGES=/tmp/packages_end.txt [2021-06-23T07:27:55.698Z] + case "${OS_FAMILY}" in [2021-06-23T07:27:55.698Z] + rpm -qa [2021-06-23T07:27:55.698Z] + sort [2021-06-23T07:27:56.278Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-23T07:27:56.278Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-23T07:27:56.278Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-23T07:27:56.278Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-973 ']' [2021-06-23T07:27:56.278Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-973/archives/ [2021-06-23T07:27:56.278Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-973/archives/ [Pipeline] echo [2021-06-23T07:27:56.292Z] 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-973/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-23T07:27:56.580Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:27:57.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T07:27:57.159Z] [2021-06-23T07:27:57.159Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:27:57.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T07:27:57.479Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-23T07:27:57.479Z] df20fa9351a1: Pulling fs layer [2021-06-23T07:27:57.479Z] 36b3adc4ff6f: Pulling fs layer [2021-06-23T07:27:57.479Z] 8ad3a11d3b57: Pulling fs layer [2021-06-23T07:27:57.479Z] 46f8f816bc3b: Pulling fs layer [2021-06-23T07:27:57.479Z] 93b61091891f: Pulling fs layer [2021-06-23T07:27:57.479Z] 93b9cdb0e59b: Pulling fs layer [2021-06-23T07:27:57.479Z] 5e14af77c1be: Pulling fs layer [2021-06-23T07:27:57.479Z] 01666e4c0597: Pulling fs layer [2021-06-23T07:27:57.479Z] aa168da1d23b: Pulling fs layer [2021-06-23T07:27:57.479Z] 93b9cdb0e59b: Waiting [2021-06-23T07:27:57.479Z] 5e14af77c1be: Waiting [2021-06-23T07:27:57.479Z] 01666e4c0597: Waiting [2021-06-23T07:27:57.479Z] aa168da1d23b: Waiting [2021-06-23T07:27:57.479Z] 46f8f816bc3b: Waiting [2021-06-23T07:27:57.479Z] 36b3adc4ff6f: Verifying Checksum [2021-06-23T07:27:57.479Z] 36b3adc4ff6f: Download complete [2021-06-23T07:27:57.741Z] 46f8f816bc3b: Verifying Checksum [2021-06-23T07:27:57.741Z] 46f8f816bc3b: Download complete [2021-06-23T07:27:57.741Z] df20fa9351a1: Verifying Checksum [2021-06-23T07:27:57.741Z] df20fa9351a1: Download complete [2021-06-23T07:27:57.741Z] 93b9cdb0e59b: Verifying Checksum [2021-06-23T07:27:57.741Z] 93b9cdb0e59b: Download complete [2021-06-23T07:27:57.741Z] 93b61091891f: Verifying Checksum [2021-06-23T07:27:57.741Z] 93b61091891f: Download complete [2021-06-23T07:27:57.741Z] 01666e4c0597: Verifying Checksum [2021-06-23T07:27:57.741Z] 01666e4c0597: Download complete [2021-06-23T07:27:58.006Z] 8ad3a11d3b57: Verifying Checksum [2021-06-23T07:27:58.006Z] 8ad3a11d3b57: Download complete [2021-06-23T07:27:58.006Z] df20fa9351a1: Pull complete [2021-06-23T07:27:58.006Z] 5e14af77c1be: Verifying Checksum [2021-06-23T07:27:58.006Z] 5e14af77c1be: Download complete [2021-06-23T07:27:58.006Z] 36b3adc4ff6f: Pull complete [2021-06-23T07:27:58.595Z] 8ad3a11d3b57: Pull complete [2021-06-23T07:27:58.595Z] 46f8f816bc3b: Pull complete [2021-06-23T07:27:58.861Z] 93b61091891f: Pull complete [2021-06-23T07:27:59.123Z] 93b9cdb0e59b: Pull complete [2021-06-23T07:27:59.123Z] 5e14af77c1be: Pull complete [2021-06-23T07:27:59.123Z] 01666e4c0597: Pull complete [2021-06-23T07:28:00.069Z] aa168da1d23b: Verifying Checksum [2021-06-23T07:28:00.069Z] aa168da1d23b: Download complete [2021-06-23T07:28:04.320Z] aa168da1d23b: Pull complete [2021-06-23T07:28:04.320Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-23T07:28:04.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T07:28:04.320Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-23T07:28:04.399Z] prd-centos7-docker-4c-2g-882 does not seem to be running inside a container [2021-06-23T07:28:04.435Z] $ 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-973/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-973 -v /w/workspace/dgexfoundry_device-sdk-go_PR-973:/w/workspace/dgexfoundry_device-sdk-go_PR-973:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-23T07:28:07.034Z] $ docker top 4d2b8b94f5579986fef86c19eb3bfef7aa97f83d48d27ff974ef0be95b392219 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T07:28:07.415Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-23T07:28:07.714Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-23T07:28:08.011Z] + ls /var/log/sa-host [2021-06-23T07:28:08.011Z] + sadf -c /var/log/sa-host/sa05 [2021-06-23T07:28:08.011Z] file_magic: OK [2021-06-23T07:28:08.011Z] HZ: Using current value: 100 [2021-06-23T07:28:08.011Z] file_header: OK [2021-06-23T07:28:08.011Z] 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-23T07:28:08.011Z] Statistics: [2021-06-23T07:28:08.011Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-23T07:28:08.011Z] File successfully converted to sysstat format version 12.2.1 [2021-06-23T07:28:08.011Z] + sadf -c /var/log/sa-host/sa23 [2021-06-23T07:28:08.011Z] file_magic: OK [2021-06-23T07:28:08.011Z] HZ: Using current value: 100 [2021-06-23T07:28:08.011Z] file_header: OK [2021-06-23T07:28:08.011Z] 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-23T07:28:08.011Z] Statistics: [2021-06-23T07:28:08.011Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-23T07:28:08.011Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T07:28:08.200Z] provisioning config files... [2021-06-23T07:28:08.212Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/config3972018069955595123tmp [Pipeline] { [Pipeline] echo [2021-06-23T07:28:08.232Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:08.530Z] ---> create-netrc.sh [Pipeline] } [2021-06-23T07:28:08.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:08.920Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-23T07:28:08.930Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:09.239Z] ---> sudo-logs.sh [2021-06-23T07:28:09.239Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-23T07:28:09.272Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:09.567Z] ---> job-cost.sh [2021-06-23T07:28:09.568Z] lf-activate-venv: SKIPPING [2021-06-23T07:28:09.568Z] DEBUG: total: 0.18000000715255737 [2021-06-23T07:28:09.568Z] INFO: Retrieving Stack Cost... [2021-06-23T07:28:10.955Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-23T07:28:11.214Z] INFO: Archiving Costs [Pipeline] echo [2021-06-23T07:28:11.226Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:11.523Z] ---> logs-deploy.sh [2021-06-23T07:28:11.523Z] lf-activate-venv: SKIPPING [2021-06-23T07:28:11.523Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-973/5 [2021-06-23T07:28:11.523Z] INFO: archiving workspace using pattern(s): [2021-06-23T07:28:12.490Z] Archives upload complete. [2021-06-23T07:28:12.490Z] INFO: archiving logs to Nexus