Pull request #978 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f+a24609de80133c139ab476bfa891138650961ed9 (020213bbdc8c7daf3b676193854ed3ef184ae464) 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-ssh7737148847667758706.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-ssh7380299761836996865.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-978/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-978/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3237634091715107912.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-ssh7003881406130207395.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-978/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-978/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5177432503729836549.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-716 in /w/workspace/dgexfoundry_device-sdk-go_PR-978 [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-978 # 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-978@tmp/jenkins-gitclient-ssh5038204729103375339.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-978@tmp/jenkins-gitclient-ssh35644225646771614.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/978/head:refs/remotes/origin/PR-978 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a24609de80133c139ab476bfa891138650961ed9 into PR head commit 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f Merge succeeded, producing 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f Checking out Revision 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f (PR-978) > git config core.sparsecheckout # timeout=10 > git checkout -f 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f # 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-978@tmp/jenkins-gitclient-ssh6849225432279630673.key > git merge a24609de80133c139ab476bfa891138650961ed9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f # timeout=10 Commit message: "fix: fix default value usage in SET command" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk abb91395911a43105054644fbe3df4e0218a601b # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-22T10:15:08.747Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-22T10:15:08.845Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-22T10:15:08.874Z] ========================================================= [2021-06-22T10:15:08.874Z] EdgeX Global Pipelines Version Info [2021-06-22T10:15:08.874Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-22T10:15:10.328Z] ------------------- [2021-06-22T10:15:10.329Z] stable info: [2021-06-22T10:15:10.329Z] ------------------- [2021-06-22T10:15:10.329Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-22T10:15:10.329Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-22T10:15:10.329Z] Message: update stable to v1.0.195 [2021-06-22T10:15:10.907Z] ------------------- [2021-06-22T10:15:10.907Z] experimental info: [2021-06-22T10:15:10.907Z] ------------------- [2021-06-22T10:15:10.907Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-22T10:15:10.907Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-22T10:15:10.907Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-22T10:15:11.040Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-22T10:15:11.065Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-22T10:15:11.089Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-22T10:15:11.114Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-22T10:15:11.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-22T10:15:11.164Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-22T10:15:11.189Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-22T10:15:11.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-22T10:15:11.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-22T10:15:11.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-22T10:15:11.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-22T10:15:11.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-22T10:15:11.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-22T10:15:11.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-22T10:15:11.383Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-22T10:15:11.410Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-22T10:15:11.435Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-22T10:15:11.459Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-22T10:15:11.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-22T10:15:11.507Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-22T10:15:11.533Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-22T10:15:11.569Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-22T10:15:11.595Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-22T10:15:11.620Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-22T10:15:11.645Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-22T10:15:11.671Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-22T10:15:11.701Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-978 [Pipeline] echo [2021-06-22T10:15:11.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-978 [Pipeline] echo [2021-06-22T10:15:11.758Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-978 [Pipeline] echo [2021-06-22T10:15:11.783Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f [Pipeline] echo [2021-06-22T10:15:11.810Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65fbd6f [Pipeline] echo [2021-06-22T10:15:11.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-22T10:15:11.944Z] provisioning config files... [2021-06-22T10:15:11.966Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp/config3319685781897345464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-22T10:15:12.303Z] ---> docker-login.sh [2021-06-22T10:15:12.303Z] nexus3.edgexfoundry.org:10001 [2021-06-22T10:15:12.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:15:12.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:15:12.880Z] Configure a credential helper to remove this warning. See [2021-06-22T10:15:12.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:15:12.880Z] [2021-06-22T10:15:12.880Z] Login Succeeded [2021-06-22T10:15:12.880Z] nexus3.edgexfoundry.org:10002 [2021-06-22T10:15:12.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:15:13.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:15:13.149Z] Configure a credential helper to remove this warning. See [2021-06-22T10:15:13.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:15:13.149Z] [2021-06-22T10:15:13.149Z] Login Succeeded [2021-06-22T10:15:13.149Z] nexus3.edgexfoundry.org:10003 [2021-06-22T10:15:13.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:15:13.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:15:13.149Z] Configure a credential helper to remove this warning. See [2021-06-22T10:15:13.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:15:13.149Z] [2021-06-22T10:15:13.149Z] Login Succeeded [2021-06-22T10:15:13.149Z] nexus3.edgexfoundry.org:10004 [2021-06-22T10:15:13.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:15:13.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:15:13.418Z] Configure a credential helper to remove this warning. See [2021-06-22T10:15:13.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:15:13.418Z] [2021-06-22T10:15:13.418Z] Login Succeeded [2021-06-22T10:15:13.418Z] docker.io [2021-06-22T10:15:13.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:15:13.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:15:13.996Z] Configure a credential helper to remove this warning. See [2021-06-22T10:15:13.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:15:13.996Z] [2021-06-22T10:15:13.996Z] Login Succeeded [2021-06-22T10:15:13.996Z] ---> docker-login.sh ends [Pipeline] } [2021-06-22T10:15:14.006Z] 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-22T10:15:14.537Z] + git log --format=format:%s -1 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f [Pipeline] echo [2021-06-22T10:15:14.587Z] GIT_COMMIT: 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f, Commit Message: fix: fix default value usage in SET command [Pipeline] echo [2021-06-22T10:15:14.602Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:15:15.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-22T10:15:15.189Z] [2021-06-22T10:15:15.189Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:15:15.521Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-22T10:15:15.792Z] latest: Pulling from edgex-devops/git-semver [2021-06-22T10:15:15.792Z] 31603596830f: Pulling fs layer [2021-06-22T10:15:15.792Z] 54011a49482f: Pulling fs layer [2021-06-22T10:15:15.792Z] a6820b24f6d8: Pulling fs layer [2021-06-22T10:15:15.792Z] f581987b2513: Pulling fs layer [2021-06-22T10:15:15.792Z] f581987b2513: Waiting [2021-06-22T10:15:15.792Z] 54011a49482f: Verifying Checksum [2021-06-22T10:15:15.792Z] 54011a49482f: Download complete [2021-06-22T10:15:15.792Z] 31603596830f: Verifying Checksum [2021-06-22T10:15:15.792Z] 31603596830f: Download complete [2021-06-22T10:15:15.792Z] f581987b2513: Verifying Checksum [2021-06-22T10:15:15.792Z] f581987b2513: Download complete [2021-06-22T10:15:16.054Z] a6820b24f6d8: Verifying Checksum [2021-06-22T10:15:16.054Z] a6820b24f6d8: Download complete [2021-06-22T10:15:16.630Z] 31603596830f: Pull complete [2021-06-22T10:15:16.899Z] 54011a49482f: Pull complete [2021-06-22T10:15:17.866Z] a6820b24f6d8: Pull complete [2021-06-22T10:15:18.128Z] f581987b2513: Pull complete [2021-06-22T10:15:18.128Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-22T10:15:18.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-22T10:15:18.403Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-22T10:15:18.498Z] prd-centos7-docker-4c-2g-716 does not seem to be running inside a container [2021-06-22T10:15:18.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-978 -v /w/workspace/dgexfoundry_device-sdk-go_PR-978:/w/workspace/dgexfoundry_device-sdk-go_PR-978:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-22T10:15:20.289Z] $ docker top 15ab9fecaa8ce5ff4b9954d11d617ed326353dd9255faf5ac8cf50de1f194789 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-22T10:15:20.438Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-22T10:15:20.438Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-22T10:15:20.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-22T10:15:20.575Z] $ docker exec 15ab9fecaa8ce5ff4b9954d11d617ed326353dd9255faf5ac8cf50de1f194789 ssh-agent [2021-06-22T10:15:20.702Z] SSH_AUTH_SOCK=/tmp/ssh-jrI5ZQhi0onx/agent.14 [2021-06-22T10:15:20.702Z] SSH_AGENT_PID=20 [2021-06-22T10:15:20.713Z] Running ssh-add (command line suppressed) [2021-06-22T10:15:20.832Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp/private_key_9186776562643746291.key (/w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp/private_key_9186776562643746291.key) [2021-06-22T10:15:20.848Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-22T10:15:21.199Z] + git tag --points-at HEAD [Pipeline] } [2021-06-22T10:15:21.216Z] $ docker exec --env ******** --env ******** 15ab9fecaa8ce5ff4b9954d11d617ed326353dd9255faf5ac8cf50de1f194789 ssh-agent -k [2021-06-22T10:15:21.326Z] unset SSH_AUTH_SOCK; [2021-06-22T10:15:21.326Z] unset SSH_AGENT_PID; [2021-06-22T10:15:21.326Z] echo Agent pid 20 killed; [2021-06-22T10:15:21.342Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-22T10:15:21.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-22T10:15:21.386Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-22T10:15:21.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-22T10:15:21.521Z] $ docker exec 15ab9fecaa8ce5ff4b9954d11d617ed326353dd9255faf5ac8cf50de1f194789 ssh-agent [2021-06-22T10:15:21.641Z] SSH_AUTH_SOCK=/tmp/ssh-qhDej1wOFQkB/agent.54 [2021-06-22T10:15:21.641Z] SSH_AGENT_PID=60 [2021-06-22T10:15:21.655Z] Running ssh-add (command line suppressed) [2021-06-22T10:15:21.779Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp/private_key_5142902741130222285.key (/w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp/private_key_5142902741130222285.key) [2021-06-22T10:15:21.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-22T10:15:22.110Z] + git semver init [2021-06-22T10:15:22.110Z] # -> Open(): unable to determine branch for HEAD [2021-06-22T10:15:22.110Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-978/.git [2021-06-22T10:15:22.110Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-978 [2021-06-22T10:15:22.110Z] # $SEMVER_REMOTE_NAME = origin [2021-06-22T10:15:22.110Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-22T10:15:22.110Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-22T10:15:22.110Z] # $SEMVER_BRANCH = PR-978 [2021-06-22T10:15:22.110Z] # $SEMVER_TEMP = /tmp/semver-235817652 [2021-06-22T10:15:22.110Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-22T10:15:22.710Z] # '/tmp/semver-235817652' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-978/.semver' [2021-06-22T10:15:22.710Z] # -> Force: false [2021-06-22T10:15:22.710Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-978/.semver [Pipeline] } [2021-06-22T10:15:22.724Z] $ docker exec --env ******** --env ******** 15ab9fecaa8ce5ff4b9954d11d617ed326353dd9255faf5ac8cf50de1f194789 ssh-agent -k [2021-06-22T10:15:22.841Z] unset SSH_AUTH_SOCK; [2021-06-22T10:15:22.841Z] unset SSH_AGENT_PID; [2021-06-22T10:15:22.841Z] echo Agent pid 60 killed; [2021-06-22T10:15:22.865Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-22T10:15:23.234Z] + git semver [Pipeline] } [2021-06-22T10:15:23.260Z] $ docker stop --time=1 15ab9fecaa8ce5ff4b9954d11d617ed326353dd9255faf5ac8cf50de1f194789 [2021-06-22T10:15:24.750Z] $ docker rm -f 15ab9fecaa8ce5ff4b9954d11d617ed326353dd9255faf5ac8cf50de1f194789 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-22T10:15:25.136Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-22T10:15:25.446Z] Stashed 1 file(s) [Pipeline] echo [2021-06-22T10:15:25.450Z] [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-22T10:15:40.694Z] Still waiting to schedule task [2021-06-22T10:15:40.695Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-22T10:15:40.697Z] Still waiting to schedule task [2021-06-22T10:15:40.697Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-715’ [2021-06-22T10:18:23.274Z] Running on prd-centos7-docker-4c-2g-719 in /w/workspace/dgexfoundry_device-sdk-go_PR-978 [Pipeline] { [Pipeline] ws [2021-06-22T10:18:23.303Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-22T10:18:23.445Z] Selected Git installation does not exist. Using Default [2021-06-22T10:18:23.446Z] The recommended git tool is: NONE [2021-06-22T10:18:25.884Z] using credential edgex-jenkins-ssh [2021-06-22T10:18:25.969Z] Cloning the remote Git repository [2021-06-22T10:18:25.993Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-22T10:18:26.103Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-06-22T10:18:26.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-22T10:18:26.217Z] > git --version # timeout=10 [2021-06-22T10:18:26.222Z] > git --version # 'git version 2.24.4' [2021-06-22T10:18:26.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-22T10:18:26.288Z] [INFO] Currently running in a labeled security context [2021-06-22T10:18:26.288Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-22T10:18:26.289Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh7697480060443754767.key [2021-06-22T10:18:26.320Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-22T10:18:27.805Z] Merging remotes/origin/master commit a24609de80133c139ab476bfa891138650961ed9 into PR head commit 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f [2021-06-22T10:18:27.905Z] Merge succeeded, producing 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f [2021-06-22T10:18:27.905Z] Checking out Revision 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f (PR-978) [2021-06-22T10:18:27.274Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-22T10:18:27.283Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-22T10:18:27.303Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-22T10:18:27.319Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-22T10:18:27.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-22T10:18:27.321Z] [INFO] Currently running in a labeled security context [2021-06-22T10:18:27.322Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-22T10:18:27.322Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh2689080392567143625.key [2021-06-22T10:18:27.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/978/head:refs/remotes/origin/PR-978 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-22T10:18:27.811Z] > git config core.sparsecheckout # timeout=10 [2021-06-22T10:18:27.818Z] > git checkout -f 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f # timeout=10 [2021-06-22T10:18:27.858Z] > git remote # timeout=10 [2021-06-22T10:18:27.865Z] > git config --get remote.origin.url # timeout=10 [2021-06-22T10:18:27.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-22T10:18:27.879Z] [INFO] Currently running in a labeled security context [2021-06-22T10:18:27.879Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-22T10:18:27.879Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh5741827857323637736.key [2021-06-22T10:18:27.885Z] > git merge a24609de80133c139ab476bfa891138650961ed9 # timeout=10 [2021-06-22T10:18:27.891Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-22T10:18:27.904Z] > git config core.sparsecheckout # timeout=10 [2021-06-22T10:18:27.910Z] > git checkout -f 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f # timeout=10 [2021-06-22T10:18:31.499Z] Commit message: "fix: fix default value usage in SET command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-22T10:18:32.516Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-22T10:18:33.163Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-22T10:18:33.458Z] + sudo service docker restart [2021-06-22T10:18:33.458Z] + true [2021-06-22T10:18:33.458Z] Redirecting to /bin/systemctl restart docker.service [2021-06-22T10:18:33.499Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-718 in /w/workspace/dgexfoundry_device-sdk-go_PR-978 [Pipeline] { [Pipeline] ws [2021-06-22T10:18:33.519Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-22T10:18:33.748Z] Selected Git installation does not exist. Using Default [2021-06-22T10:18:33.748Z] The recommended git tool is: NONE [2021-06-22T10:18:39.508Z] using credential edgex-jenkins-ssh [2021-06-22T10:18:39.539Z] Cloning the remote Git repository [2021-06-22T10:18:39.576Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-22T10:18:39.761Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-06-22T10:18:39.832Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-22T10:18:39.832Z] > git --version # timeout=10 [2021-06-22T10:18:39.849Z] > git --version # 'git version 2.17.1' [2021-06-22T10:18:39.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-22T10:18:39.916Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-22T10:18:41.886Z] Merging remotes/origin/master commit a24609de80133c139ab476bfa891138650961ed9 into PR head commit 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f [2021-06-22T10:18:42.126Z] Merge succeeded, producing 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f [2021-06-22T10:18:42.127Z] Checking out Revision 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f (PR-978) [2021-06-22T10:18:41.129Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-22T10:18:41.153Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-22T10:18:41.183Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-22T10:18:41.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-22T10:18:41.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-22T10:18:41.232Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/978/head:refs/remotes/origin/PR-978 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-22T10:18:41.898Z] > git config core.sparsecheckout # timeout=10 [2021-06-22T10:18:41.925Z] > git checkout -f 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f # timeout=10 [2021-06-22T10:18:42.029Z] > git remote # timeout=10 [2021-06-22T10:18:42.049Z] > git config --get remote.origin.url # timeout=10 [2021-06-22T10:18:42.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-22T10:18:42.072Z] > git merge a24609de80133c139ab476bfa891138650961ed9 # timeout=10 [2021-06-22T10:18:42.095Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-22T10:18:42.114Z] > git config core.sparsecheckout # timeout=10 [2021-06-22T10:18:42.124Z] > git checkout -f 65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f # timeout=10 [2021-06-22T10:18:46.366Z] Commit message: "fix: fix default value usage in SET command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-22T10:18:47.610Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-22T10:18:48.032Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-22T10:18:48.368Z] + sudo service docker restart [2021-06-22T10:18:48.368Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-22T10:18:51.656Z] provisioning config files... [2021-06-22T10:18:51.671Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6283105098444290887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-22T10:18:51.990Z] ---> docker-login.sh [2021-06-22T10:18:51.990Z] nexus3.edgexfoundry.org:10001 [2021-06-22T10:18:52.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:18:52.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:18:52.514Z] Configure a credential helper to remove this warning. See [2021-06-22T10:18:52.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:18:52.514Z] [2021-06-22T10:18:52.514Z] Login Succeeded [2021-06-22T10:18:52.514Z] nexus3.edgexfoundry.org:10002 [2021-06-22T10:18:52.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:18:52.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:18:52.514Z] Configure a credential helper to remove this warning. See [2021-06-22T10:18:52.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:18:52.514Z] [2021-06-22T10:18:52.514Z] Login Succeeded [2021-06-22T10:18:52.514Z] nexus3.edgexfoundry.org:10003 [2021-06-22T10:18:52.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:18:52.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:18:52.777Z] Configure a credential helper to remove this warning. See [2021-06-22T10:18:52.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:18:52.777Z] [2021-06-22T10:18:52.777Z] Login Succeeded [2021-06-22T10:18:52.777Z] nexus3.edgexfoundry.org:10004 [2021-06-22T10:18:52.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:18:52.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:18:52.777Z] Configure a credential helper to remove this warning. See [2021-06-22T10:18:52.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:18:52.777Z] [2021-06-22T10:18:52.777Z] Login Succeeded [2021-06-22T10:18:52.777Z] docker.io [2021-06-22T10:18:53.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:18:53.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:18:53.313Z] Configure a credential helper to remove this warning. See [2021-06-22T10:18:53.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:18:53.313Z] [2021-06-22T10:18:53.313Z] Login Succeeded [2021-06-22T10:18:53.313Z] ---> docker-login.sh ends [Pipeline] } [2021-06-22T10:18:53.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-22T10:18:53.550Z] ========================================================= [2021-06-22T10:18:53.550Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-22T10:18:53.550Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:18:53.860Z] + 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-22T10:18:53.860Z] Sending build context to Docker daemon 2.715MB [2021-06-22T10:18:53.860Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-22T10:18:53.860Z] Step 2/8 : FROM ${BASE} [2021-06-22T10:18:54.126Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-22T10:18:54.126Z] 540db60ca938: Pulling fs layer [2021-06-22T10:18:54.126Z] adcc1eea9eea: Pulling fs layer [2021-06-22T10:18:54.126Z] 4c4ab2625f07: Pulling fs layer [2021-06-22T10:18:54.126Z] 0510c868ecb4: Pulling fs layer [2021-06-22T10:18:54.126Z] afea3b2eda06: Pulling fs layer [2021-06-22T10:18:54.126Z] 7809a108b3ef: Pulling fs layer [2021-06-22T10:18:54.126Z] f706445af74f: Pulling fs layer [2021-06-22T10:18:54.126Z] 0510c868ecb4: Waiting [2021-06-22T10:18:54.126Z] afea3b2eda06: Waiting [2021-06-22T10:18:54.126Z] 7809a108b3ef: Waiting [2021-06-22T10:18:54.126Z] f706445af74f: Waiting [2021-06-22T10:18:54.126Z] 4c4ab2625f07: Verifying Checksum [2021-06-22T10:18:54.126Z] adcc1eea9eea: Verifying Checksum [2021-06-22T10:18:54.126Z] adcc1eea9eea: Download complete [2021-06-22T10:18:54.126Z] afea3b2eda06: Verifying Checksum [2021-06-22T10:18:54.126Z] afea3b2eda06: Download complete [2021-06-22T10:18:54.126Z] 540db60ca938: Verifying Checksum [2021-06-22T10:18:54.126Z] 540db60ca938: Download complete [2021-06-22T10:18:54.126Z] 7809a108b3ef: Verifying Checksum [2021-06-22T10:18:54.126Z] 7809a108b3ef: Download complete [2021-06-22T10:18:54.390Z] 540db60ca938: Pull complete [2021-06-22T10:18:54.653Z] adcc1eea9eea: Pull complete [2021-06-22T10:18:54.916Z] 4c4ab2625f07: Pull complete [2021-06-22T10:18:56.306Z] f706445af74f: Verifying Checksum [2021-06-22T10:18:56.306Z] f706445af74f: Download complete [2021-06-22T10:18:56.579Z] 0510c868ecb4: Verifying Checksum [2021-06-22T10:18:56.579Z] 0510c868ecb4: Download complete [2021-06-22T10:18:59.922Z] 0510c868ecb4: Pull complete [2021-06-22T10:19:00.187Z] afea3b2eda06: Pull complete [2021-06-22T10:19:00.187Z] 7809a108b3ef: Pull complete [2021-06-22T10:19:01.601Z] f706445af74f: Pull complete [2021-06-22T10:19:01.601Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-22T10:19:01.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-22T10:19:01.601Z] ---> b068be0155e3 [2021-06-22T10:19:01.601Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-22T10:19:06.717Z] provisioning config files... [2021-06-22T10:19:06.742Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7510841885817410097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-22T10:19:07.124Z] ---> docker-login.sh [2021-06-22T10:19:07.124Z] nexus3.edgexfoundry.org:10001 [2021-06-22T10:19:08.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:19:08.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:19:08.393Z] Configure a credential helper to remove this warning. See [2021-06-22T10:19:08.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:19:08.393Z] [2021-06-22T10:19:08.393Z] Login Succeeded [2021-06-22T10:19:08.393Z] nexus3.edgexfoundry.org:10002 [2021-06-22T10:19:08.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:19:08.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:19:08.944Z] Configure a credential helper to remove this warning. See [2021-06-22T10:19:08.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:19:08.944Z] [2021-06-22T10:19:08.944Z] Login Succeeded [2021-06-22T10:19:08.944Z] nexus3.edgexfoundry.org:10003 [2021-06-22T10:19:09.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:19:09.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:19:09.507Z] Configure a credential helper to remove this warning. See [2021-06-22T10:19:09.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:19:09.507Z] [2021-06-22T10:19:09.507Z] Login Succeeded [2021-06-22T10:19:09.507Z] nexus3.edgexfoundry.org:10004 [2021-06-22T10:19:09.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:19:10.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:19:10.061Z] Configure a credential helper to remove this warning. See [2021-06-22T10:19:10.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:19:10.061Z] [2021-06-22T10:19:10.061Z] Login Succeeded [2021-06-22T10:19:10.061Z] docker.io [2021-06-22T10:19:10.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T10:19:10.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T10:19:10.941Z] Configure a credential helper to remove this warning. See [2021-06-22T10:19:10.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T10:19:10.941Z] [2021-06-22T10:19:10.941Z] Login Succeeded [2021-06-22T10:19:10.941Z] ---> docker-login.sh ends [Pipeline] } [2021-06-22T10:19:10.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-22T10:19:11.309Z] ========================================================= [2021-06-22T10:19:11.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-22T10:19:11.309Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:19:11.639Z] ---> Running in 2829aabbe06b [2021-06-22T10:19:11.639Z] Removing intermediate container 2829aabbe06b [2021-06-22T10:19:11.639Z] ---> e144c19f239a [2021-06-22T10:19:11.639Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-22T10:19:11.639Z] ---> Running in 1f21361fc634 [2021-06-22T10:19:11.639Z] Removing intermediate container 1f21361fc634 [2021-06-22T10:19:11.639Z] ---> a15d22893b8e [2021-06-22T10:19:11.639Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-22T10:19:11.639Z] ---> Running in 5cc95ac56255 [2021-06-22T10:19:11.672Z] + 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-22T10:19:11.901Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-22T10:19:12.274Z] Sending build context to Docker daemon 2.714MB [2021-06-22T10:19:12.274Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-22T10:19:12.274Z] Step 2/8 : FROM ${BASE} [2021-06-22T10:19:12.559Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-22T10:19:12.559Z] 595b0fe564bb: Pulling fs layer [2021-06-22T10:19:12.559Z] 3088b5b3c5c0: Pulling fs layer [2021-06-22T10:19:12.559Z] 5b7225fbf94c: Pulling fs layer [2021-06-22T10:19:12.559Z] ba82ee9f976e: Pulling fs layer [2021-06-22T10:19:12.559Z] 506bd15cee9f: Pulling fs layer [2021-06-22T10:19:12.559Z] 75a0a4a0db45: Pulling fs layer [2021-06-22T10:19:12.559Z] 618dc40b7e24: Pulling fs layer [2021-06-22T10:19:12.559Z] ba82ee9f976e: Waiting [2021-06-22T10:19:12.559Z] 506bd15cee9f: Waiting [2021-06-22T10:19:12.559Z] 75a0a4a0db45: Waiting [2021-06-22T10:19:12.559Z] 618dc40b7e24: Waiting [2021-06-22T10:19:12.559Z] 5b7225fbf94c: Verifying Checksum [2021-06-22T10:19:12.559Z] 5b7225fbf94c: Download complete [2021-06-22T10:19:12.559Z] 3088b5b3c5c0: Verifying Checksum [2021-06-22T10:19:12.559Z] 3088b5b3c5c0: Download complete [2021-06-22T10:19:12.559Z] 506bd15cee9f: Verifying Checksum [2021-06-22T10:19:12.559Z] 506bd15cee9f: Download complete [2021-06-22T10:19:12.559Z] 595b0fe564bb: Verifying Checksum [2021-06-22T10:19:12.559Z] 595b0fe564bb: Download complete [2021-06-22T10:19:12.559Z] 75a0a4a0db45: Verifying Checksum [2021-06-22T10:19:12.559Z] 75a0a4a0db45: Download complete [2021-06-22T10:19:12.847Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-22T10:19:13.110Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-22T10:19:13.371Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-22T10:19:13.549Z] 595b0fe564bb: Pull complete [2021-06-22T10:19:13.633Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-22T10:19:13.633Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-22T10:19:13.900Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-22T10:19:14.158Z] 3088b5b3c5c0: Pull complete [2021-06-22T10:19:14.162Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-22T10:19:14.162Z] Executing busybox-1.32.1-r6.trigger [2021-06-22T10:19:14.162Z] OK: 150 MiB in 46 packages [2021-06-22T10:19:14.441Z] 618dc40b7e24: Verifying Checksum [2021-06-22T10:19:14.441Z] 618dc40b7e24: Download complete [2021-06-22T10:19:14.441Z] 5b7225fbf94c: Pull complete [2021-06-22T10:19:14.740Z] Removing intermediate container 5cc95ac56255 [2021-06-22T10:19:14.740Z] ---> a3416a164515 [2021-06-22T10:19:14.740Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-22T10:19:15.008Z] ---> Running in ef897a75a046 [2021-06-22T10:19:15.281Z] Removing intermediate container ef897a75a046 [2021-06-22T10:19:15.281Z] ---> f6c1dc169f77 [2021-06-22T10:19:15.281Z] Step 7/8 : COPY . . [2021-06-22T10:19:15.854Z] ---> d9e919bdc6e5 [2021-06-22T10:19:15.854Z] Step 8/8 : RUN go mod download [2021-06-22T10:19:16.120Z] ---> Running in 1fed28767f31 [2021-06-22T10:19:16.424Z] ba82ee9f976e: Verifying Checksum [2021-06-22T10:19:16.424Z] ba82ee9f976e: Download complete [2021-06-22T10:19:26.651Z] ba82ee9f976e: Pull complete [2021-06-22T10:19:26.651Z] 506bd15cee9f: Pull complete [2021-06-22T10:19:27.253Z] 75a0a4a0db45: Pull complete [2021-06-22T10:19:28.411Z] Removing intermediate container 1fed28767f31 [2021-06-22T10:19:28.411Z] ---> 3d477c6bdcd9 [2021-06-22T10:19:28.411Z] Successfully built 3d477c6bdcd9 [2021-06-22T10:19:28.673Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:19:28.984Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-22T10:19:28.984Z] . [Pipeline] withDockerContainer [2021-06-22T10:19:29.081Z] prd-centos7-docker-4c-2g-719 does not seem to be running inside a container [2021-06-22T10:19:29.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-22T10:19:29.615Z] $ docker top 1241cd8eafd99cdcb228cb237c2693b953e79362178c3b789ebfe01a648fd971 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-22T10:19:30.021Z] + go version [2021-06-22T10:19:30.022Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-22T10:19:30.036Z] $ docker stop --time=1 1241cd8eafd99cdcb228cb237c2693b953e79362178c3b789ebfe01a648fd971 [2021-06-22T10:19:30.690Z] 618dc40b7e24: Pull complete [2021-06-22T10:19:30.690Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-22T10:19:30.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-22T10:19:30.980Z] ---> a36622ca3599 [2021-06-22T10:19:30.980Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-22T10:19:31.238Z] $ docker rm -f 1241cd8eafd99cdcb228cb237c2693b953e79362178c3b789ebfe01a648fd971 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:19:31.912Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-22T10:19:31.912Z] . [Pipeline] withDockerContainer [2021-06-22T10:19:32.000Z] prd-centos7-docker-4c-2g-719 does not seem to be running inside a container [2021-06-22T10:19:32.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-22T10:19:32.463Z] $ docker top a1fbefa37f4154110567b129798339ec0029bceb4d3a010765218a198af2ad82 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-22T10:19:32.866Z] + go mod tidy [Pipeline] sh [2021-06-22T10:19:33.435Z] + make test [2021-06-22T10:19:33.435Z] go mod tidy [2021-06-22T10:19:33.635Z] ---> Running in 8f6a09157c09 [2021-06-22T10:19:33.706Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-22T10:19:33.927Z] Removing intermediate container 8f6a09157c09 [2021-06-22T10:19:33.927Z] ---> 9ee8d5525128 [2021-06-22T10:19:33.927Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-22T10:19:33.927Z] ---> Running in ee2bddc0356b [2021-06-22T10:19:36.562Z] Removing intermediate container ee2bddc0356b [2021-06-22T10:19:36.562Z] ---> d00263a00163 [2021-06-22T10:19:36.562Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-22T10:19:36.562Z] ---> Running in 5e5113f1dd34 [2021-06-22T10:19:38.010Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-22T10:19:38.992Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-22T10:19:39.102Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-22T10:19:39.591Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-22T10:19:39.869Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-22T10:19:39.869Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-22T10:19:40.145Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-22T10:19:40.145Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-22T10:19:40.145Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-22T10:19:40.420Z] Executing busybox-1.32.1-r6.trigger [2021-06-22T10:19:40.420Z] OK: 139 MiB in 46 packages [2021-06-22T10:19:41.886Z] Removing intermediate container 5e5113f1dd34 [2021-06-22T10:19:41.886Z] ---> dffa57d0c26e [2021-06-22T10:19:41.886Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-22T10:19:41.886Z] ---> Running in 3a684982a142 [2021-06-22T10:19:42.489Z] Removing intermediate container 3a684982a142 [2021-06-22T10:19:42.489Z] ---> 4ae6fc99ec02 [2021-06-22T10:19:42.489Z] Step 7/8 : COPY . . [2021-06-22T10:19:43.950Z] ---> 11f0544e447f [2021-06-22T10:19:43.950Z] Step 8/8 : RUN go mod download [2021-06-22T10:19:44.225Z] ---> Running in 3c6762b46209 [2021-06-22T10:20:05.821Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-22T10:20:05.821Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-22T10:20:05.821Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-22T10:20:06.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.060s coverage: 24.2% of statements [2021-06-22T10:20:06.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-22T10:20:06.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 28.1% of statements [2021-06-22T10:20:07.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2021-06-22T10:20:07.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2021-06-22T10:20:07.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-22T10:20:07.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-22T10:20:07.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-22T10:20:08.904Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements [2021-06-22T10:20:08.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-22T10:20:09.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.057s coverage: 83.3% of statements [2021-06-22T10:20:09.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-22T10:20:09.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-22T10:20:09.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 58.0% of statements [2021-06-22T10:20:11.052Z] Removing intermediate container 3c6762b46209 [2021-06-22T10:20:11.052Z] ---> dc37c58baf3b [2021-06-22T10:20:11.052Z] Successfully built dc37c58baf3b [2021-06-22T10:20:11.052Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:20:11.264Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.817s coverage: 89.2% of statements [2021-06-22T10:20:11.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-22T10:20:11.264Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.044s coverage: 5.0% of statements [2021-06-22T10:20:11.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-22T10:20:11.264Z] GO111MODULE=on go vet ./... [2021-06-22T10:20:11.405Z] + docker inspect -f . ci-base-image-arm64 [2021-06-22T10:20:11.406Z] . [Pipeline] withDockerContainer [2021-06-22T10:20:11.659Z] prd-ubuntu18.04-docker-arm64-4c-16g-718 does not seem to be running inside a container [2021-06-22T10:20:11.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-22T10:20:13.391Z] $ docker top eb36223934e2f02bdc3a8db638c7aa18e03cb29f7ea2b44a764eff66f9ecb7ca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-22T10:20:14.307Z] + go version [2021-06-22T10:20:14.307Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-22T10:20:14.334Z] $ docker stop --time=1 eb36223934e2f02bdc3a8db638c7aa18e03cb29f7ea2b44a764eff66f9ecb7ca [2021-06-22T10:20:16.105Z] $ docker rm -f eb36223934e2f02bdc3a8db638c7aa18e03cb29f7ea2b44a764eff66f9ecb7ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:20:16.928Z] + docker inspect -f . ci-base-image-arm64 [2021-06-22T10:20:16.928Z] . [Pipeline] withDockerContainer [2021-06-22T10:20:17.161Z] prd-ubuntu18.04-docker-arm64-4c-16g-718 does not seem to be running inside a container [2021-06-22T10:20:17.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-22T10:20:18.798Z] $ docker top 981f5b58f3b624878992033e15e4959cba1177b636270fb4fa871fd2d95f5326 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-22T10:20:19.745Z] + go mod tidy [Pipeline] sh [2021-06-22T10:20:21.019Z] + make test [2021-06-22T10:20:21.019Z] go mod tidy [2021-06-22T10:20:21.628Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-22T10:20:33.346Z] gofmt -l . [2021-06-22T10:20:33.346Z] [ "`gofmt -l .`" = "" ] [2021-06-22T10:20:33.346Z] ./bin/test-attribution-txt.sh [2021-06-22T10:20:33.346Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-22T10:20:33.354Z] $ docker stop --time=1 a1fbefa37f4154110567b129798339ec0029bceb4d3a010765218a198af2ad82 [2021-06-22T10:20:35.013Z] $ docker rm -f a1fbefa37f4154110567b129798339ec0029bceb4d3a010765218a198af2ad82 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-22T10:20:35.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-22T10:20:35.726Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-22T10:20:37.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-22T10:20:38.159Z] + ls -al . [2021-06-22T10:20:38.159Z] total 208 [2021-06-22T10:20:38.159Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 22 10:20 . [2021-06-22T10:20:38.159Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 22 10:18 .. [2021-06-22T10:20:38.159Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 22 10:18 bin [2021-06-22T10:20:38.159Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 22 10:20 coverage.out [2021-06-22T10:20:38.159Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 22 10:18 Dockerfile.build [2021-06-22T10:20:38.159Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 22 10:18 .dockerignore [2021-06-22T10:20:38.159Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 22 10:18 example [2021-06-22T10:20:38.159Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 22 10:18 .git [2021-06-22T10:20:38.159Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 22 10:18 .github [2021-06-22T10:20:38.159Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 22 10:18 .gitignore [2021-06-22T10:20:38.159Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 22 10:20 go.mod [2021-06-22T10:20:38.159Z] -rw-r--r--. 1 jenkins jenkins 20294 Jun 22 10:19 go.sum [2021-06-22T10:20:38.159Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 22 10:18 internal [2021-06-22T10:20:38.159Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 22 10:18 Jenkinsfile [2021-06-22T10:20:38.159Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 22 10:18 LICENSE [2021-06-22T10:20:38.159Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 22 10:18 Makefile [2021-06-22T10:20:38.159Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 22 10:18 openapi [2021-06-22T10:20:38.159Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 22 10:18 pkg [2021-06-22T10:20:38.159Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 22 10:18 README.md [2021-06-22T10:20:38.159Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 22 10:18 RELEASE-NOTES.txt [2021-06-22T10:20:38.159Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 22 10:18 snap [2021-06-22T10:20:38.159Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 22 10:15 VERSION [2021-06-22T10:20:38.159Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 22 10:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:20:38.472Z] + 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=65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f --label arch=amd64 --label version=0.0.0 . [2021-06-22T10:20:38.472Z] Sending build context to Docker daemon 2.841MB [2021-06-22T10:20:38.472Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-22T10:20:38.472Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-22T10:20:38.472Z] ---> 3d477c6bdcd9 [2021-06-22T10:20:38.472Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-22T10:20:38.472Z] ---> Running in 91368711fddc [2021-06-22T10:20:38.735Z] Removing intermediate container 91368711fddc [2021-06-22T10:20:38.735Z] ---> 67c3d1bf73ac [2021-06-22T10:20:38.735Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-22T10:20:38.735Z] ---> Running in d98650184947 [2021-06-22T10:20:38.735Z] Removing intermediate container d98650184947 [2021-06-22T10:20:38.735Z] ---> 2f7ce3283e78 [2021-06-22T10:20:38.736Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-22T10:20:38.736Z] ---> Running in 5b643fdc4e69 [2021-06-22T10:20:39.314Z] Removing intermediate container 5b643fdc4e69 [2021-06-22T10:20:39.314Z] ---> 26c6bcf4061a [2021-06-22T10:20:39.314Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-22T10:20:39.314Z] ---> Running in 5a02afe55dc6 [2021-06-22T10:20:39.575Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-22T10:20:40.522Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-22T10:20:40.785Z] OK: 150 MiB in 46 packages [2021-06-22T10:20:41.051Z] Removing intermediate container 5a02afe55dc6 [2021-06-22T10:20:41.051Z] ---> 989dfa0fe9d6 [2021-06-22T10:20:41.051Z] Step 7/23 : COPY . . [2021-06-22T10:20:41.313Z] ---> 76e3f5f8a37f [2021-06-22T10:20:41.313Z] Step 8/23 : RUN go mod download [2021-06-22T10:20:41.313Z] ---> Running in db02fc668d1c [2021-06-22T10:20:41.894Z] Removing intermediate container db02fc668d1c [2021-06-22T10:20:41.894Z] ---> 4eff450348df [2021-06-22T10:20:41.894Z] Step 9/23 : RUN make build [2021-06-22T10:20:41.894Z] ---> Running in 7b04ca7f124c [2021-06-22T10:20:42.158Z] go mod tidy [2021-06-22T10:20:42.423Z] 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-22T10:20:48.471Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-22T10:20:54.804Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-22T10:20:54.804Z] Removing intermediate container 7b04ca7f124c [2021-06-22T10:20:54.804Z] ---> 6c9e4db36c6d [2021-06-22T10:20:54.804Z] Step 10/23 : FROM alpine:3.12 [2021-06-22T10:20:55.065Z] 3.12: Pulling from library/alpine [2021-06-22T10:20:55.326Z] 339de151aab4: Pulling fs layer [2021-06-22T10:20:55.587Z] 339de151aab4: Download complete [2021-06-22T10:20:55.587Z] 339de151aab4: Pull complete [2021-06-22T10:20:55.587Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-22T10:20:55.587Z] Status: Downloaded newer image for alpine:3.12 [2021-06-22T10:20:55.587Z] ---> 13621d1b12d4 [2021-06-22T10:20:55.587Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-22T10:20:55.851Z] ---> Running in dcd5c436bdae [2021-06-22T10:20:55.851Z] Removing intermediate container dcd5c436bdae [2021-06-22T10:20:55.851Z] ---> 2ff87634d759 [2021-06-22T10:20:55.851Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-22T10:20:55.851Z] ---> Running in 790ecf8d3491 [2021-06-22T10:20:56.439Z] Removing intermediate container 790ecf8d3491 [2021-06-22T10:20:56.439Z] ---> 7f2a1d846b12 [2021-06-22T10:20:56.439Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-22T10:20:56.439Z] ---> Running in bbf75dcf7ad1 [2021-06-22T10:20:56.727Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-22T10:20:57.300Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-22T10:20:57.561Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-22T10:20:57.821Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-22T10:20:57.821Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-22T10:20:58.766Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-22T10:20:58.766Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-22T10:20:58.766Z] Executing busybox-1.31.1-r20.trigger [2021-06-22T10:20:59.028Z] OK: 8 MiB in 19 packages [2021-06-22T10:20:59.290Z] Removing intermediate container bbf75dcf7ad1 [2021-06-22T10:20:59.290Z] ---> 2fa0e5f059a4 [2021-06-22T10:20:59.290Z] Step 14/23 : WORKDIR / [2021-06-22T10:20:59.558Z] ---> Running in b3785a73cea4 [2021-06-22T10:20:59.558Z] Removing intermediate container b3785a73cea4 [2021-06-22T10:20:59.558Z] ---> b764dbc2dcdb [2021-06-22T10:20:59.558Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-22T10:20:59.558Z] ---> 3928ff3f2b37 [2021-06-22T10:20:59.558Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-22T10:21:00.132Z] ---> 93c263a053b5 [2021-06-22T10:21:00.132Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-22T10:21:00.132Z] ---> 82852546dc49 [2021-06-22T10:21:00.132Z] Step 18/23 : EXPOSE 59999 [2021-06-22T10:21:00.404Z] ---> Running in 9d606864d184 [2021-06-22T10:21:00.404Z] Removing intermediate container 9d606864d184 [2021-06-22T10:21:00.404Z] ---> 777239898449 [2021-06-22T10:21:00.404Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-22T10:21:00.404Z] ---> Running in 9bb41205334c [2021-06-22T10:21:00.404Z] Removing intermediate container 9bb41205334c [2021-06-22T10:21:00.404Z] ---> cd953646b26e [2021-06-22T10:21:00.404Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-22T10:21:00.404Z] ---> Running in 72ba999d1611 [2021-06-22T10:21:00.666Z] Removing intermediate container 72ba999d1611 [2021-06-22T10:21:00.666Z] ---> a1a8d97fd7be [2021-06-22T10:21:00.666Z] Step 21/23 : LABEL arch=amd64 [2021-06-22T10:21:00.666Z] ---> Running in e3a6e5d91b61 [2021-06-22T10:21:00.666Z] Removing intermediate container e3a6e5d91b61 [2021-06-22T10:21:00.666Z] ---> 7f02bd5ee247 [2021-06-22T10:21:00.666Z] Step 22/23 : LABEL git_sha=65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f [2021-06-22T10:21:00.666Z] ---> Running in 9bcb94a84f11 [2021-06-22T10:21:00.929Z] Removing intermediate container 9bcb94a84f11 [2021-06-22T10:21:00.929Z] ---> 0967f41b074b [2021-06-22T10:21:00.929Z] Step 23/23 : LABEL version=0.0.0 [2021-06-22T10:21:00.929Z] ---> Running in 9d9354b18e9c [2021-06-22T10:21:00.929Z] Removing intermediate container 9d9354b18e9c [2021-06-22T10:21:00.929Z] ---> eff6c1cf4c6b [2021-06-22T10:21:00.929Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-22T10:21:00.929Z] Successfully built eff6c1cf4c6b [2021-06-22T10:21:00.929Z] 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-22T10:21:01.851Z] ---> job-cost.sh [2021-06-22T10:21:01.852Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zJpQ [2021-06-22T10:21:11.889Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-22T10:21:24.153Z] lf-activate-venv(): INFO: Adding /tmp/venv-zJpQ/bin to PATH [2021-06-22T10:21:24.153Z] INFO: No Stack... [2021-06-22T10:21:24.727Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-22T10:21:25.299Z] INFO: Archiving Costs [Pipeline] sh [2021-06-22T10:21:25.596Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-06-22T10:21:25.596Z] + cut -d, -f6 [Pipeline] lock [2021-06-22T10:21:25.628Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-978-3-stack-cost] [2021-06-22T10:21:25.642Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-978-3-stack-cost] did not exist. Created. [2021-06-22T10:21:25.642Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-978-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-22T10:21:25.969Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-22T10:21:26.036Z] Stashed 1 file(s) [Pipeline] } [2021-06-22T10:21:26.078Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-978-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-22T10:21:56.568Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-22T10:21:56.568Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-22T10:21:56.568Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-22T10:22:02.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.263s coverage: 24.2% of statements [2021-06-22T10:22:02.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-22T10:22:02.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.243s coverage: 28.1% of statements [2021-06-22T10:22:02.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.241s coverage: 78.9% of statements [2021-06-22T10:22:02.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.223s coverage: 9.0% of statements [2021-06-22T10:22:02.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-22T10:22:02.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-22T10:22:02.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-22T10:22:02.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.337s coverage: 28.7% of statements [2021-06-22T10:22:02.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-22T10:22:04.637Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.216s coverage: 83.3% of statements [2021-06-22T10:22:04.638Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-22T10:22:04.638Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-22T10:22:04.638Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.330s coverage: 58.0% of statements [2021-06-22T10:22:08.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.017s coverage: 89.2% of statements [2021-06-22T10:22:08.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-22T10:22:08.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.189s coverage: 5.0% of statements [2021-06-22T10:22:08.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-22T10:22:09.225Z] GO111MODULE=on go vet ./... [2021-06-22T10:23:05.841Z] gofmt -l . [2021-06-22T10:23:05.842Z] [ "`gofmt -l .`" = "" ] [2021-06-22T10:23:05.842Z] ./bin/test-attribution-txt.sh [2021-06-22T10:23:05.842Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-22T10:23:06.475Z] $ docker stop --time=1 981f5b58f3b624878992033e15e4959cba1177b636270fb4fa871fd2d95f5326 [2021-06-22T10:23:08.625Z] $ docker rm -f 981f5b58f3b624878992033e15e4959cba1177b636270fb4fa871fd2d95f5326 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-22T10:23:09.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-22T10:23:09.699Z] Warning: overwriting stash ‘coverage-report’ [2021-06-22T10:23:10.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-22T10:23:10.926Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-22T10:23:11.265Z] + ls -al . [2021-06-22T10:23:11.265Z] total 244 [2021-06-22T10:23:11.265Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 10:23 . [2021-06-22T10:23:11.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 10:18 .. [2021-06-22T10:23:11.265Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 22 10:18 .dockerignore [2021-06-22T10:23:11.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 10:18 .git [2021-06-22T10:23:11.265Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 10:18 .github [2021-06-22T10:23:11.265Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 22 10:18 .gitignore [2021-06-22T10:23:11.265Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 22 10:18 Dockerfile.build [2021-06-22T10:23:11.265Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 22 10:18 Jenkinsfile [2021-06-22T10:23:11.265Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 22 10:18 LICENSE [2021-06-22T10:23:11.265Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 22 10:18 Makefile [2021-06-22T10:23:11.265Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 22 10:18 README.md [2021-06-22T10:23:11.265Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 22 10:18 RELEASE-NOTES.txt [2021-06-22T10:23:11.265Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 10:15 VERSION [2021-06-22T10:23:11.265Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 10:18 bin [2021-06-22T10:23:11.265Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 22 10:22 coverage.out [2021-06-22T10:23:11.265Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 10:18 example [2021-06-22T10:23:11.265Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 22 10:23 go.mod [2021-06-22T10:23:11.265Z] -rw-r--r-- 1 jenkins jenkins 20294 Jun 22 10:20 go.sum [2021-06-22T10:23:11.265Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 22 10:18 internal [2021-06-22T10:23:11.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 10:18 openapi [2021-06-22T10:23:11.265Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 10:18 pkg [2021-06-22T10:23:11.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 10:18 snap [2021-06-22T10:23:11.265Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 22 10:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:23:11.611Z] + 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=65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f --label arch=arm64 --label version=0.0.0 . [2021-06-22T10:23:12.221Z] Sending build context to Docker daemon 2.84MB [2021-06-22T10:23:12.221Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-22T10:23:12.221Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-22T10:23:12.221Z] ---> dc37c58baf3b [2021-06-22T10:23:12.221Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-22T10:23:12.498Z] ---> Running in d3cde388bbaa [2021-06-22T10:23:13.097Z] Removing intermediate container d3cde388bbaa [2021-06-22T10:23:13.097Z] ---> 1f7cc94a7e6d [2021-06-22T10:23:13.097Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-22T10:23:13.097Z] ---> Running in 5c3545e730cf [2021-06-22T10:23:13.698Z] Removing intermediate container 5c3545e730cf [2021-06-22T10:23:13.698Z] ---> 2d3edadabaae [2021-06-22T10:23:13.698Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-22T10:23:13.698Z] ---> Running in e8483c4cba20 [2021-06-22T10:23:16.339Z] Removing intermediate container e8483c4cba20 [2021-06-22T10:23:16.339Z] ---> a1ee4964367b [2021-06-22T10:23:16.339Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-22T10:23:16.339Z] ---> Running in c69d2830d992 [2021-06-22T10:23:17.316Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-22T10:23:18.297Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-22T10:23:18.897Z] OK: 139 MiB in 46 packages [2021-06-22T10:23:19.885Z] Removing intermediate container c69d2830d992 [2021-06-22T10:23:19.885Z] ---> 9e6e20e5b7fa [2021-06-22T10:23:19.885Z] Step 7/23 : COPY . . [2021-06-22T10:23:21.329Z] ---> a8119e7d6bad [2021-06-22T10:23:21.329Z] Step 8/23 : RUN go mod download [2021-06-22T10:23:21.606Z] ---> Running in a09bd60214b3 [2021-06-22T10:23:24.246Z] Removing intermediate container a09bd60214b3 [2021-06-22T10:23:24.246Z] ---> 71bd7899c8df [2021-06-22T10:23:24.246Z] Step 9/23 : RUN make build [2021-06-22T10:23:24.246Z] ---> Running in de138b1e1de3 [2021-06-22T10:23:25.229Z] go mod tidy [2021-06-22T10:23:25.828Z] 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-22T10:23:58.244Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-22T10:24:00.242Z] Removing intermediate container de138b1e1de3 [2021-06-22T10:24:00.242Z] ---> 248294842ea3 [2021-06-22T10:24:00.242Z] Step 10/23 : FROM alpine:3.12 [2021-06-22T10:24:00.838Z] 3.12: Pulling from library/alpine [2021-06-22T10:24:00.838Z] d2f70382dc9a: Pulling fs layer [2021-06-22T10:24:01.112Z] d2f70382dc9a: Download complete [2021-06-22T10:24:01.721Z] d2f70382dc9a: Pull complete [2021-06-22T10:24:01.721Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-22T10:24:01.721Z] Status: Downloaded newer image for alpine:3.12 [2021-06-22T10:24:01.721Z] ---> c4fd0aeabfcf [2021-06-22T10:24:01.721Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-22T10:24:01.998Z] ---> Running in 4135224b09d7 [2021-06-22T10:24:02.602Z] Removing intermediate container 4135224b09d7 [2021-06-22T10:24:02.602Z] ---> 8d8c947e22c3 [2021-06-22T10:24:02.602Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-22T10:24:02.602Z] ---> Running in 6bfc45a2d8e3 [2021-06-22T10:24:05.234Z] Removing intermediate container 6bfc45a2d8e3 [2021-06-22T10:24:05.234Z] ---> ed51185faac6 [2021-06-22T10:24:05.234Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-22T10:24:05.234Z] ---> Running in 8b657973d09c [2021-06-22T10:24:06.218Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-22T10:24:06.816Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-22T10:24:07.798Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-22T10:24:07.798Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-22T10:24:07.798Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-22T10:24:08.071Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-22T10:24:08.350Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-22T10:24:08.350Z] Executing busybox-1.31.1-r20.trigger [2021-06-22T10:24:08.350Z] OK: 8 MiB in 19 packages [2021-06-22T10:24:09.788Z] Removing intermediate container 8b657973d09c [2021-06-22T10:24:09.788Z] ---> 4497f53f786a [2021-06-22T10:24:09.788Z] Step 14/23 : WORKDIR / [2021-06-22T10:24:09.788Z] ---> Running in 86d1ee8dd9a3 [2021-06-22T10:24:10.385Z] Removing intermediate container 86d1ee8dd9a3 [2021-06-22T10:24:10.385Z] ---> c7b7c9e9c17f [2021-06-22T10:24:10.385Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-22T10:24:10.982Z] ---> 4052e83d32ac [2021-06-22T10:24:10.982Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-22T10:24:12.422Z] ---> ee9c2e0a8635 [2021-06-22T10:24:12.422Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-22T10:24:13.021Z] ---> 507db68be7bb [2021-06-22T10:24:13.021Z] Step 18/23 : EXPOSE 59999 [2021-06-22T10:24:13.297Z] ---> Running in d2e9f368bb39 [2021-06-22T10:24:13.896Z] Removing intermediate container d2e9f368bb39 [2021-06-22T10:24:13.896Z] ---> 0cc2d005f624 [2021-06-22T10:24:13.896Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-22T10:24:13.896Z] ---> Running in 09aa32b82304 [2021-06-22T10:24:14.499Z] Removing intermediate container 09aa32b82304 [2021-06-22T10:24:14.499Z] ---> 525bfb49a31a [2021-06-22T10:24:14.499Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-22T10:24:14.499Z] ---> Running in d4201b1e7f77 [2021-06-22T10:24:15.099Z] Removing intermediate container d4201b1e7f77 [2021-06-22T10:24:15.099Z] ---> 3b9eadd193ae [2021-06-22T10:24:15.099Z] Step 21/23 : LABEL arch=arm64 [2021-06-22T10:24:15.099Z] ---> Running in 2ec493627046 [2021-06-22T10:24:15.696Z] Removing intermediate container 2ec493627046 [2021-06-22T10:24:15.696Z] ---> f7b4cb8fd6b9 [2021-06-22T10:24:15.696Z] Step 22/23 : LABEL git_sha=65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f [2021-06-22T10:24:15.977Z] ---> Running in b0b73088f8b2 [2021-06-22T10:24:16.250Z] Removing intermediate container b0b73088f8b2 [2021-06-22T10:24:16.251Z] ---> fe201d27f8a9 [2021-06-22T10:24:16.251Z] Step 23/23 : LABEL version=0.0.0 [2021-06-22T10:24:16.526Z] ---> Running in 6ea28b9163ac [2021-06-22T10:24:17.126Z] Removing intermediate container 6ea28b9163ac [2021-06-22T10:24:17.126Z] ---> 838dbdfbd7e7 [2021-06-22T10:24:17.126Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-22T10:24:17.126Z] Successfully built 838dbdfbd7e7 [2021-06-22T10:24:17.126Z] 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-22T10:24:17.875Z] ---> job-cost.sh [2021-06-22T10:24:17.875Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KyTz [2021-06-22T10:24:56.885Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-22T10:26:18.681Z] lf-activate-venv(): INFO: Adding /tmp/venv-KyTz/bin to PATH [2021-06-22T10:26:18.681Z] INFO: No Stack... [2021-06-22T10:26:19.659Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-22T10:26:20.259Z] INFO: Archiving Costs [Pipeline] sh [2021-06-22T10:26:20.607Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-06-22T10:26:20.607Z] + cut -d, -f6 [Pipeline] lock [2021-06-22T10:26:20.672Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-978-3-stack-cost] [2021-06-22T10:26:20.688Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-978-3-stack-cost] did not exist. Created. [2021-06-22T10:26:20.688Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-978-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-22T10:26:21.060Z] /w/workspace/device-sdk-go/3@tmp/durable-1cb51a1a/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-1cb51a1a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-22T10:26:21.415Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-22T10:26:21.437Z] Warning: overwriting stash ‘stack-cost’ [2021-06-22T10:26:21.599Z] Stashed 1 file(s) [Pipeline] } [2021-06-22T10:26:21.611Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-978-3-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-22T10:26:22.258Z] provisioning config files... [2021-06-22T10:26:22.271Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp/config8881820469224677017tmp [Pipeline] { [Pipeline] sh [2021-06-22T10:26:22.616Z] + set +x [2021-06-22T10:26:22.616Z] + bash -s -- [2021-06-22T10:26:22.616Z] + curl -s https://codecov.io/bash [2021-06-22T10:26:22.616Z] [2021-06-22T10:26:22.616Z] _____ _ [2021-06-22T10:26:22.616Z] / ____| | | [2021-06-22T10:26:22.616Z] | | ___ __| | ___ ___ _____ __ [2021-06-22T10:26:22.616Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-22T10:26:22.616Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-22T10:26:22.616Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-22T10:26:22.616Z] Bash-1.0.3 [2021-06-22T10:26:22.616Z] [2021-06-22T10:26:22.616Z] [2021-06-22T10:26:22.616Z] ==> git version 2.24.4 found [2021-06-22T10:26:22.616Z] ==> 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-22T10:26:22.616Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-22T10:26:22.616Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-22T10:26:22.616Z] ==> Jenkins CI detected. [2021-06-22T10:26:22.616Z] project root: . [2021-06-22T10:26:22.616Z] --> token set from env [2021-06-22T10:26:22.880Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-22T10:26:22.880Z] ==> Running gcov in . (disable via -X gcov) [2021-06-22T10:26:22.880Z] ==> Python coveragepy not found [2021-06-22T10:26:22.880Z] ==> Searching for coverage reports in: [2021-06-22T10:26:22.880Z] + . [2021-06-22T10:26:22.880Z] -> Found 1 reports [2021-06-22T10:26:22.880Z] ==> Detecting git/mercurial file structure [2021-06-22T10:26:22.880Z] ==> Reading reports [2021-06-22T10:26:22.880Z] + ./coverage.out bytes=125634 [2021-06-22T10:26:22.880Z] ==> Appending adjustments [2021-06-22T10:26:22.880Z] https://docs.codecov.io/docs/fixing-reports [2021-06-22T10:26:23.147Z] + Found adjustments [2021-06-22T10:26:23.147Z] ==> Gzipping contents [2021-06-22T10:26:23.147Z] 16K /tmp/codecov.YSmBeq.gz [2021-06-22T10:26:23.147Z] ==> Uploading reports [2021-06-22T10:26:23.147Z] url: https://codecov.io [2021-06-22T10:26:23.147Z] query: branch=PR-978&commit=65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-978%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=978&job=&cmd_args= [2021-06-22T10:26:23.147Z] -> Pinging Codecov [2021-06-22T10:26:23.147Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-978&commit=65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-978%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=978&job=&cmd_args= [2021-06-22T10:26:23.721Z] -> Uploading to [2021-06-22T10:26:23.721Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-22/7E55EF52A471D76F132DFD9A03CDDE97/65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f/3ed9dea2-95b3-46e6-9b5b-7324e3234d87.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210622T102623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e89a986c17e1b604c0065c4314111df557725356ffa06f85e57d2072c548e796 [2021-06-22T10:26:23.721Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-22T10:26:23.721Z] Dload Upload Total Spent Left Speed [2021-06-22T10:26:23.983Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16326 0 0 100 16326 0 35360 --:--:-- --:--:-- --:--:-- 35337 [2021-06-22T10:26:23.983Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/65fbd6f2f06b8d1ba0d28798eecf9f7bb1af3e4f [Pipeline] } [2021-06-22T10:26:23.993Z] 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-22T10:26:25.643Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T10:26:26.219Z] ---> package-listing.sh [2021-06-22T10:26:26.219Z] ++ facter osfamily [2021-06-22T10:26:26.219Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-22T10:26:26.505Z] + OS_FAMILY=redhat [2021-06-22T10:26:26.505Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-978 [2021-06-22T10:26:26.505Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-22T10:26:26.505Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-22T10:26:26.505Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-22T10:26:26.505Z] + PACKAGES=/tmp/packages_start.txt [2021-06-22T10:26:26.505Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-978 ']' [2021-06-22T10:26:26.505Z] + PACKAGES=/tmp/packages_end.txt [2021-06-22T10:26:26.505Z] + case "${OS_FAMILY}" in [2021-06-22T10:26:26.505Z] + rpm -qa [2021-06-22T10:26:26.505Z] + sort [2021-06-22T10:26:27.084Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-22T10:26:27.084Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-22T10:26:27.084Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-22T10:26:27.084Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-978 ']' [2021-06-22T10:26:27.084Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-978/archives/ [2021-06-22T10:26:27.084Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-978/archives/ [Pipeline] echo [2021-06-22T10:26:27.099Z] 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-978/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-22T10:26:27.388Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:26:27.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-22T10:26:27.969Z] [2021-06-22T10:26:27.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-22T10:26:28.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-22T10:26:28.288Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-22T10:26:28.288Z] df20fa9351a1: Pulling fs layer [2021-06-22T10:26:28.288Z] 36b3adc4ff6f: Pulling fs layer [2021-06-22T10:26:28.288Z] 8ad3a11d3b57: Pulling fs layer [2021-06-22T10:26:28.288Z] 46f8f816bc3b: Pulling fs layer [2021-06-22T10:26:28.288Z] 93b61091891f: Pulling fs layer [2021-06-22T10:26:28.288Z] 93b9cdb0e59b: Pulling fs layer [2021-06-22T10:26:28.288Z] 5e14af77c1be: Pulling fs layer [2021-06-22T10:26:28.288Z] 01666e4c0597: Pulling fs layer [2021-06-22T10:26:28.288Z] aa168da1d23b: Pulling fs layer [2021-06-22T10:26:28.288Z] 46f8f816bc3b: Waiting [2021-06-22T10:26:28.288Z] 93b61091891f: Waiting [2021-06-22T10:26:28.288Z] 93b9cdb0e59b: Waiting [2021-06-22T10:26:28.288Z] 5e14af77c1be: Waiting [2021-06-22T10:26:28.288Z] 01666e4c0597: Waiting [2021-06-22T10:26:28.288Z] aa168da1d23b: Waiting [2021-06-22T10:26:28.288Z] 36b3adc4ff6f: Verifying Checksum [2021-06-22T10:26:28.288Z] 36b3adc4ff6f: Download complete [2021-06-22T10:26:28.558Z] 46f8f816bc3b: Verifying Checksum [2021-06-22T10:26:28.558Z] 46f8f816bc3b: Download complete [2021-06-22T10:26:28.558Z] df20fa9351a1: Verifying Checksum [2021-06-22T10:26:28.558Z] df20fa9351a1: Download complete [2021-06-22T10:26:28.558Z] 93b9cdb0e59b: Verifying Checksum [2021-06-22T10:26:28.558Z] 93b9cdb0e59b: Download complete [2021-06-22T10:26:28.558Z] 5e14af77c1be: Verifying Checksum [2021-06-22T10:26:28.558Z] 5e14af77c1be: Download complete [2021-06-22T10:26:28.558Z] 01666e4c0597: Verifying Checksum [2021-06-22T10:26:28.558Z] 01666e4c0597: Download complete [2021-06-22T10:26:28.558Z] 93b61091891f: Verifying Checksum [2021-06-22T10:26:28.558Z] 93b61091891f: Download complete [2021-06-22T10:26:28.820Z] df20fa9351a1: Pull complete [2021-06-22T10:26:28.820Z] 8ad3a11d3b57: Verifying Checksum [2021-06-22T10:26:28.820Z] 8ad3a11d3b57: Download complete [2021-06-22T10:26:29.087Z] 36b3adc4ff6f: Pull complete [2021-06-22T10:26:30.034Z] 8ad3a11d3b57: Pull complete [2021-06-22T10:26:30.034Z] 46f8f816bc3b: Pull complete [2021-06-22T10:26:30.609Z] 93b61091891f: Pull complete [2021-06-22T10:26:30.873Z] aa168da1d23b: Verifying Checksum [2021-06-22T10:26:30.873Z] aa168da1d23b: Download complete [2021-06-22T10:26:30.873Z] 93b9cdb0e59b: Pull complete [2021-06-22T10:26:31.135Z] 5e14af77c1be: Pull complete [2021-06-22T10:26:31.135Z] 01666e4c0597: Pull complete [2021-06-22T10:26:36.466Z] aa168da1d23b: Pull complete [2021-06-22T10:26:36.466Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-22T10:26:36.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-22T10:26:36.466Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-22T10:26:36.553Z] prd-centos7-docker-4c-2g-716 does not seem to be running inside a container [2021-06-22T10:26:36.594Z] $ 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-978/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-978 -v /w/workspace/dgexfoundry_device-sdk-go_PR-978:/w/workspace/dgexfoundry_device-sdk-go_PR-978:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-22T10:26:57.717Z] $ docker top b8282f83f599d8ed32b5a49c075d69c4b544cf9f33cdeacd1899893a563d6c93 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-22T10:26:58.112Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-22T10:26:58.410Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-22T10:26:58.713Z] + ls /var/log/sa-host [2021-06-22T10:26:58.713Z] + sadf -c /var/log/sa-host/sa05 [2021-06-22T10:26:58.713Z] file_magic: OK [2021-06-22T10:26:58.713Z] HZ: Using current value: 100 [2021-06-22T10:26:58.713Z] file_header: OK [2021-06-22T10:26:58.713Z] 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-22T10:26:58.713Z] Statistics: [2021-06-22T10:26:58.713Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-22T10:26:58.713Z] File successfully converted to sysstat format version 12.2.1 [2021-06-22T10:26:58.713Z] + sadf -c /var/log/sa-host/sa22 [2021-06-22T10:26:58.713Z] file_magic: OK [2021-06-22T10:26:58.713Z] HZ: Using current value: 100 [2021-06-22T10:26:58.713Z] file_header: OK [2021-06-22T10:26:58.713Z] 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-22T10:26:58.713Z] Statistics: [2021-06-22T10:26:58.713Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-22T10:26:58.713Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-22T10:26:58.912Z] provisioning config files... [2021-06-22T10:26:58.931Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-978@tmp/config2252166763528016170tmp [Pipeline] { [Pipeline] echo [2021-06-22T10:26:58.955Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T10:26:59.257Z] ---> create-netrc.sh [Pipeline] } [2021-06-22T10:26:59.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-22T10:26:59.638Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-22T10:26:59.648Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T10:26:59.947Z] ---> sudo-logs.sh [2021-06-22T10:26:59.947Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-22T10:26:59.985Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T10:27:00.284Z] ---> job-cost.sh [2021-06-22T10:27:00.284Z] lf-activate-venv: SKIPPING [2021-06-22T10:27:00.284Z] DEBUG: total: 0.18000000715255737 [2021-06-22T10:27:00.284Z] INFO: Retrieving Stack Cost... [2021-06-22T10:27:01.685Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-22T10:27:01.951Z] INFO: Archiving Costs [Pipeline] echo [2021-06-22T10:27:01.966Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T10:27:02.264Z] ---> logs-deploy.sh [2021-06-22T10:27:02.264Z] lf-activate-venv: SKIPPING [2021-06-22T10:27:02.264Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-978/3 [2021-06-22T10:27:02.264Z] INFO: archiving workspace using pattern(s): [2021-06-22T10:27:03.225Z] Archives upload complete. [2021-06-22T10:27:03.226Z] INFO: archiving logs to Nexus