Pull request #989 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d389b4c374e7e0b458fa8680c3b59ea3fb785880+5b9873fc5658fb4b4c48b057788cd55a404aa657 (b9cc5077489218b8f5c40cbe0b9b0fdd7388878a) 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-ssh6554339301087443573.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-ssh120578297242318633.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-989/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-989/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4731042153538625534.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-ssh4495167697314485306.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-989/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-989/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7391779182102277008.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-34 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [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-989 # 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-989@tmp/jenkins-gitclient-ssh9078992723861336708.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 5b9873fc5658fb4b4c48b057788cd55a404aa657 into PR head commit d389b4c374e7e0b458fa8680c3b59ea3fb785880 > 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-989@tmp/jenkins-gitclient-ssh3884310780619385176.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d389b4c374e7e0b458fa8680c3b59ea3fb785880 # timeout=10 Merge succeeded, producing d389b4c374e7e0b458fa8680c3b59ea3fb785880 Checking out Revision d389b4c374e7e0b458fa8680c3b59ea3fb785880 (PR-989) > 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-989@tmp/jenkins-gitclient-ssh8834358928504082123.key > git merge 5b9873fc5658fb4b4c48b057788cd55a404aa657 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d389b4c374e7e0b458fa8680c3b59ea3fb785880 # timeout=10 Commit message: "docs: add Changelog for Ireland release" First time build. Skipping changelog. > git rev-list --no-walk f46723479a4d5b75f667bcc3f9a0b5e03b108cbc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-25T10:11:26.158Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-25T10:11:26.267Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-25T10:11:26.299Z] ========================================================= [2021-06-25T10:11:26.299Z] EdgeX Global Pipelines Version Info [2021-06-25T10:11:26.299Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:11:27.807Z] ------------------- [2021-06-25T10:11:27.807Z] stable info: [2021-06-25T10:11:27.807Z] ------------------- [2021-06-25T10:11:27.807Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-25T10:11:27.807Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T10:11:27.807Z] Message: update stable to v1.0.195 [2021-06-25T10:11:28.386Z] ------------------- [2021-06-25T10:11:28.386Z] experimental info: [2021-06-25T10:11:28.386Z] ------------------- [2021-06-25T10:11:28.386Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-25T10:11:28.386Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T10:11:28.386Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-25T10:11:28.712Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-25T10:11:28.738Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-25T10:11:28.774Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-25T10:11:28.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-25T10:11:28.834Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-25T10:11:28.857Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-25T10:11:28.894Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-25T10:11:28.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-25T10:11:28.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-25T10:11:28.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-25T10:11:29.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-25T10:11:29.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-25T10:11:29.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-25T10:11:29.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-25T10:11:29.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T10:11:29.187Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:11:29.236Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:11:29.275Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:11:29.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-25T10:11:29.337Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-25T10:11:29.378Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-25T10:11:29.414Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-25T10:11:29.437Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-25T10:11:29.460Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-25T10:11:29.484Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-25T10:11:29.514Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-25T10:11:29.550Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-989 [Pipeline] echo [2021-06-25T10:11:29.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-989 [Pipeline] echo [2021-06-25T10:11:29.607Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-989 [Pipeline] echo [2021-06-25T10:11:29.631Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d389b4c374e7e0b458fa8680c3b59ea3fb785880 [Pipeline] echo [2021-06-25T10:11:29.656Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d389b4c [Pipeline] echo [2021-06-25T10:11:29.680Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:11:29.776Z] provisioning config files... [2021-06-25T10:11:29.797Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config4714047194699789447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:11:30.139Z] ---> docker-login.sh [2021-06-25T10:11:30.139Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:11:30.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:11:30.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:11:30.420Z] Configure a credential helper to remove this warning. See [2021-06-25T10:11:30.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:11:30.420Z] [2021-06-25T10:11:30.420Z] Login Succeeded [2021-06-25T10:11:30.420Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:11:30.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:11:30.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:11:30.420Z] Configure a credential helper to remove this warning. See [2021-06-25T10:11:30.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:11:30.420Z] [2021-06-25T10:11:30.420Z] Login Succeeded [2021-06-25T10:11:30.683Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:11:30.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:11:30.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:11:30.683Z] Configure a credential helper to remove this warning. See [2021-06-25T10:11:30.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:11:30.683Z] [2021-06-25T10:11:30.683Z] Login Succeeded [2021-06-25T10:11:30.683Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:11:30.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:11:30.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:11:30.948Z] Configure a credential helper to remove this warning. See [2021-06-25T10:11:30.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:11:30.948Z] [2021-06-25T10:11:30.948Z] Login Succeeded [2021-06-25T10:11:30.948Z] docker.io [2021-06-25T10:11:30.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:11:31.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:11:31.212Z] Configure a credential helper to remove this warning. See [2021-06-25T10:11:31.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:11:31.212Z] [2021-06-25T10:11:31.212Z] Login Succeeded [2021-06-25T10:11:31.212Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:11:31.223Z] 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-25T10:11:31.771Z] + git log --format=format:%s -1 d389b4c374e7e0b458fa8680c3b59ea3fb785880 [Pipeline] echo [2021-06-25T10:11:31.817Z] GIT_COMMIT: d389b4c374e7e0b458fa8680c3b59ea3fb785880, Commit Message: docs: add Changelog for Ireland release [Pipeline] echo [2021-06-25T10:11:31.840Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:11:32.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:11:32.807Z] [2021-06-25T10:11:32.808Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:11:33.143Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:11:33.143Z] latest: Pulling from edgex-devops/git-semver [2021-06-25T10:11:33.143Z] 31603596830f: Pulling fs layer [2021-06-25T10:11:33.143Z] 54011a49482f: Pulling fs layer [2021-06-25T10:11:33.143Z] a6820b24f6d8: Pulling fs layer [2021-06-25T10:11:33.143Z] f581987b2513: Pulling fs layer [2021-06-25T10:11:33.143Z] f581987b2513: Waiting [2021-06-25T10:11:33.143Z] 54011a49482f: Verifying Checksum [2021-06-25T10:11:33.143Z] 54011a49482f: Download complete [2021-06-25T10:11:33.414Z] 31603596830f: Verifying Checksum [2021-06-25T10:11:33.414Z] 31603596830f: Download complete [2021-06-25T10:11:33.414Z] f581987b2513: Verifying Checksum [2021-06-25T10:11:33.414Z] f581987b2513: Download complete [2021-06-25T10:11:33.414Z] a6820b24f6d8: Verifying Checksum [2021-06-25T10:11:33.414Z] a6820b24f6d8: Download complete [2021-06-25T10:11:33.414Z] 31603596830f: Pull complete [2021-06-25T10:11:33.682Z] 54011a49482f: Pull complete [2021-06-25T10:11:34.284Z] a6820b24f6d8: Pull complete [2021-06-25T10:11:34.546Z] f581987b2513: Pull complete [2021-06-25T10:11:34.546Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-25T10:11:34.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:11:34.546Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-25T10:11:34.646Z] prd-centos7-docker-4c-2g-34 does not seem to be running inside a container [2021-06-25T10:11:34.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-989 -v /w/workspace/dgexfoundry_device-sdk-go_PR-989:/w/workspace/dgexfoundry_device-sdk-go_PR-989:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-25T10:11:36.226Z] $ docker top bb56b90f029ea99459fcb65519d78e03673a8598994c2d6e251ae6da4b5387ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-25T10:11:36.363Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T10:11:36.363Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T10:11:36.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T10:11:36.499Z] $ docker exec bb56b90f029ea99459fcb65519d78e03673a8598994c2d6e251ae6da4b5387ea ssh-agent [2021-06-25T10:11:36.632Z] SSH_AUTH_SOCK=/tmp/ssh-ipfBmoWffD2p/agent.15 [2021-06-25T10:11:36.632Z] SSH_AGENT_PID=21 [2021-06-25T10:11:36.643Z] Running ssh-add (command line suppressed) [2021-06-25T10:11:36.751Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_8784430034025593256.key (/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_8784430034025593256.key) [2021-06-25T10:11:36.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T10:11:37.082Z] + git tag --points-at HEAD [Pipeline] } [2021-06-25T10:11:37.097Z] $ docker exec --env ******** --env ******** bb56b90f029ea99459fcb65519d78e03673a8598994c2d6e251ae6da4b5387ea ssh-agent -k [2021-06-25T10:11:37.215Z] unset SSH_AUTH_SOCK; [2021-06-25T10:11:37.215Z] unset SSH_AGENT_PID; [2021-06-25T10:11:37.215Z] echo Agent pid 21 killed; [2021-06-25T10:11:37.238Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-25T10:11:37.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T10:11:37.295Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T10:11:37.424Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T10:11:37.424Z] $ docker exec bb56b90f029ea99459fcb65519d78e03673a8598994c2d6e251ae6da4b5387ea ssh-agent [2021-06-25T10:11:37.565Z] SSH_AUTH_SOCK=/tmp/ssh-yTvn4C5X5XjH/agent.54 [2021-06-25T10:11:37.565Z] SSH_AGENT_PID=60 [2021-06-25T10:11:37.574Z] Running ssh-add (command line suppressed) [2021-06-25T10:11:37.677Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_347072279689489337.key (/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_347072279689489337.key) [2021-06-25T10:11:37.699Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T10:11:38.029Z] + git semver init [2021-06-25T10:11:38.029Z] # -> Open(): unable to determine branch for HEAD [2021-06-25T10:11:38.029Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-989/.git [2021-06-25T10:11:38.029Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-989 [2021-06-25T10:11:38.029Z] # $SEMVER_REMOTE_NAME = origin [2021-06-25T10:11:38.029Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-25T10:11:38.029Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-25T10:11:38.029Z] # $SEMVER_BRANCH = PR-989 [2021-06-25T10:11:38.029Z] # $SEMVER_TEMP = /tmp/semver-557696626 [2021-06-25T10:11:38.029Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-25T10:11:38.606Z] # '/tmp/semver-557696626' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-989/.semver' [2021-06-25T10:11:38.606Z] # -> Force: false [2021-06-25T10:11:38.606Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-989/.semver [Pipeline] } [2021-06-25T10:11:38.616Z] $ docker exec --env ******** --env ******** bb56b90f029ea99459fcb65519d78e03673a8598994c2d6e251ae6da4b5387ea ssh-agent -k [2021-06-25T10:11:38.718Z] unset SSH_AUTH_SOCK; [2021-06-25T10:11:38.719Z] unset SSH_AGENT_PID; [2021-06-25T10:11:38.719Z] echo Agent pid 60 killed; [2021-06-25T10:11:38.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-25T10:11:39.095Z] + git semver [Pipeline] } [2021-06-25T10:11:39.109Z] $ docker stop --time=1 bb56b90f029ea99459fcb65519d78e03673a8598994c2d6e251ae6da4b5387ea [2021-06-25T10:11:40.728Z] $ docker rm -f bb56b90f029ea99459fcb65519d78e03673a8598994c2d6e251ae6da4b5387ea [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:11:41.117Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-25T10:11:41.441Z] Stashed 1 file(s) [Pipeline] echo [2021-06-25T10:11:41.447Z] [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-25T10:11:56.730Z] Still waiting to schedule task [2021-06-25T10:11:56.730Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-25T10:11:56.732Z] Still waiting to schedule task [2021-06-25T10:11:56.733Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-25T10:13:34.785Z] Running on prd-centos7-docker-4c-2g-36 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [Pipeline] { [Pipeline] ws [2021-06-25T10:13:34.804Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-25T10:13:34.928Z] Selected Git installation does not exist. Using Default [2021-06-25T10:13:34.929Z] The recommended git tool is: NONE [2021-06-25T10:13:37.350Z] using credential edgex-jenkins-ssh [2021-06-25T10:13:37.363Z] Cloning the remote Git repository [2021-06-25T10:13:37.084Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:13:37.156Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-25T10:13:37.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:13:37.196Z] > git --version # timeout=10 [2021-06-25T10:13:37.217Z] > git --version # 'git version 2.24.4' [2021-06-25T10:13:37.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:13:37.246Z] [INFO] Currently running in a labeled security context [2021-06-25T10:13:37.246Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:13:37.246Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh275036060277422172.key [2021-06-25T10:13:37.264Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:13:38.872Z] Merging remotes/origin/master commit 5b9873fc5658fb4b4c48b057788cd55a404aa657 into PR head commit d389b4c374e7e0b458fa8680c3b59ea3fb785880 [2021-06-25T10:13:39.006Z] Merge succeeded, producing d389b4c374e7e0b458fa8680c3b59ea3fb785880 [2021-06-25T10:13:39.007Z] Checking out Revision d389b4c374e7e0b458fa8680c3b59ea3fb785880 (PR-989) [2021-06-25T10:13:38.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:13:38.082Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:13:38.099Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:13:38.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:13:38.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:13:38.119Z] [INFO] Currently running in a labeled security context [2021-06-25T10:13:38.119Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:13:38.120Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1844210862277528553.key [2021-06-25T10:13:38.129Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T10:13:38.706Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:13:38.731Z] > git checkout -f d389b4c374e7e0b458fa8680c3b59ea3fb785880 # timeout=10 [2021-06-25T10:13:38.785Z] > git remote # timeout=10 [2021-06-25T10:13:38.798Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T10:13:38.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:13:38.812Z] [INFO] Currently running in a labeled security context [2021-06-25T10:13:38.812Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:13:38.813Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8662082023583264153.key [2021-06-25T10:13:38.820Z] > git merge 5b9873fc5658fb4b4c48b057788cd55a404aa657 # timeout=10 [2021-06-25T10:13:38.830Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T10:13:38.846Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:13:38.857Z] > git checkout -f d389b4c374e7e0b458fa8680c3b59ea3fb785880 # timeout=10 [2021-06-25T10:13:42.562Z] Commit message: "docs: add Changelog for Ireland release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:13:43.624Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:13:43.947Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:13:44.242Z] + sudo service docker restart [2021-06-25T10:13:44.242Z] + true [2021-06-25T10:13:44.242Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:14:02.435Z] provisioning config files... [2021-06-25T10:14:02.460Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2990651719667041335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:14:02.784Z] ---> docker-login.sh [2021-06-25T10:14:02.784Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:14:03.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:14:03.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:14:03.049Z] Configure a credential helper to remove this warning. See [2021-06-25T10:14:03.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:14:03.049Z] [2021-06-25T10:14:03.049Z] Login Succeeded [2021-06-25T10:14:03.049Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:14:03.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:14:03.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:14:03.310Z] Configure a credential helper to remove this warning. See [2021-06-25T10:14:03.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:14:03.310Z] [2021-06-25T10:14:03.310Z] Login Succeeded [2021-06-25T10:14:03.310Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:14:03.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:14:03.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:14:03.570Z] Configure a credential helper to remove this warning. See [2021-06-25T10:14:03.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:14:03.570Z] [2021-06-25T10:14:03.570Z] Login Succeeded [2021-06-25T10:14:03.570Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:14:03.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:14:03.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:14:03.570Z] Configure a credential helper to remove this warning. See [2021-06-25T10:14:03.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:14:03.570Z] [2021-06-25T10:14:03.570Z] Login Succeeded [2021-06-25T10:14:03.570Z] docker.io [2021-06-25T10:14:03.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:14:04.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:14:04.093Z] Configure a credential helper to remove this warning. See [2021-06-25T10:14:04.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:14:04.093Z] [2021-06-25T10:14:04.093Z] Login Succeeded [2021-06-25T10:14:04.093Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:14:04.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T10:14:04.268Z] ========================================================= [2021-06-25T10:14:04.268Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-25T10:14:04.268Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:14:04.582Z] + 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-25T10:14:04.582Z] Sending build context to Docker daemon 2.704MB [2021-06-25T10:14:04.582Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:14:04.582Z] Step 2/8 : FROM ${BASE} [2021-06-25T10:14:04.822Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-35 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [Pipeline] { [Pipeline] ws [2021-06-25T10:14:04.840Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [2021-06-25T10:14:04.851Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-25T10:14:04.851Z] 540db60ca938: Pulling fs layer [2021-06-25T10:14:04.851Z] adcc1eea9eea: Pulling fs layer [2021-06-25T10:14:04.851Z] 4c4ab2625f07: Pulling fs layer [2021-06-25T10:14:04.851Z] 0510c868ecb4: Pulling fs layer [2021-06-25T10:14:04.851Z] afea3b2eda06: Pulling fs layer [2021-06-25T10:14:04.851Z] 7809a108b3ef: Pulling fs layer [2021-06-25T10:14:04.851Z] f706445af74f: Pulling fs layer [2021-06-25T10:14:04.851Z] 0510c868ecb4: Waiting [2021-06-25T10:14:04.851Z] afea3b2eda06: Waiting [2021-06-25T10:14:04.851Z] 7809a108b3ef: Waiting [2021-06-25T10:14:04.851Z] f706445af74f: Waiting [2021-06-25T10:14:04.851Z] 4c4ab2625f07: Verifying Checksum [2021-06-25T10:14:04.851Z] 4c4ab2625f07: Download complete [2021-06-25T10:14:04.851Z] adcc1eea9eea: Verifying Checksum [2021-06-25T10:14:04.851Z] adcc1eea9eea: Download complete [2021-06-25T10:14:04.851Z] afea3b2eda06: Verifying Checksum [2021-06-25T10:14:04.851Z] afea3b2eda06: Download complete [2021-06-25T10:14:04.851Z] 540db60ca938: Verifying Checksum [2021-06-25T10:14:04.851Z] 540db60ca938: Download complete [2021-06-25T10:14:04.851Z] 7809a108b3ef: Verifying Checksum [2021-06-25T10:14:04.851Z] 7809a108b3ef: Download complete [Pipeline] checkout [2021-06-25T10:14:05.061Z] Selected Git installation does not exist. Using Default [2021-06-25T10:14:05.061Z] The recommended git tool is: NONE [2021-06-25T10:14:05.117Z] 540db60ca938: Pull complete [2021-06-25T10:14:05.117Z] adcc1eea9eea: Pull complete [2021-06-25T10:14:05.384Z] 4c4ab2625f07: Pull complete [2021-06-25T10:14:06.776Z] f706445af74f: Verifying Checksum [2021-06-25T10:14:06.776Z] f706445af74f: Download complete [2021-06-25T10:14:07.355Z] 0510c868ecb4: Verifying Checksum [2021-06-25T10:14:07.355Z] 0510c868ecb4: Download complete [2021-06-25T10:14:10.346Z] using credential edgex-jenkins-ssh [2021-06-25T10:14:10.368Z] Cloning the remote Git repository [2021-06-25T10:14:10.785Z] 0510c868ecb4: Pull complete [2021-06-25T10:14:10.785Z] afea3b2eda06: Pull complete [2021-06-25T10:14:10.785Z] 7809a108b3ef: Pull complete [2021-06-25T10:14:10.403Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:14:10.506Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-25T10:14:10.574Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:14:10.575Z] > git --version # timeout=10 [2021-06-25T10:14:10.608Z] > git --version # 'git version 2.17.1' [2021-06-25T10:14:10.610Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:14:10.704Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:14:12.190Z] f706445af74f: Pull complete [2021-06-25T10:14:12.190Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-25T10:14:12.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-25T10:14:12.190Z] ---> b068be0155e3 [2021-06-25T10:14:12.190Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:14:12.057Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:14:12.074Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:14:12.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:14:12.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:14:12.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:14:12.138Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T10:14:12.810Z] Merging remotes/origin/master commit 5b9873fc5658fb4b4c48b057788cd55a404aa657 into PR head commit d389b4c374e7e0b458fa8680c3b59ea3fb785880 [2021-06-25T10:14:13.033Z] Merge succeeded, producing d389b4c374e7e0b458fa8680c3b59ea3fb785880 [2021-06-25T10:14:13.034Z] Checking out Revision d389b4c374e7e0b458fa8680c3b59ea3fb785880 (PR-989) [2021-06-25T10:14:12.800Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:14:12.815Z] > git checkout -f d389b4c374e7e0b458fa8680c3b59ea3fb785880 # timeout=10 [2021-06-25T10:14:12.922Z] > git remote # timeout=10 [2021-06-25T10:14:12.941Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T10:14:12.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:14:12.966Z] > git merge 5b9873fc5658fb4b4c48b057788cd55a404aa657 # timeout=10 [2021-06-25T10:14:12.989Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T10:14:13.010Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:14:13.026Z] > git checkout -f d389b4c374e7e0b458fa8680c3b59ea3fb785880 # timeout=10 [2021-06-25T10:14:15.502Z] ---> Running in a9caa16565ea [2021-06-25T10:14:15.774Z] Removing intermediate container a9caa16565ea [2021-06-25T10:14:15.774Z] ---> 321365e6a56e [2021-06-25T10:14:15.775Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:14:15.775Z] ---> Running in ff8405a278fc [2021-06-25T10:14:16.355Z] Removing intermediate container ff8405a278fc [2021-06-25T10:14:16.355Z] ---> 511fe102ecbc [2021-06-25T10:14:16.355Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T10:14:16.355Z] ---> Running in e802e430e4f8 [2021-06-25T10:14:16.927Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:14:17.316Z] Commit message: "docs: add Changelog for Ireland release" [2021-06-25T10:14:17.504Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:14:18.465Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-25T10:14:18.730Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-25T10:14:18.730Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-25T10:14:18.730Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-25T10:14:18.963Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-06-25T10:14:18.992Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-25T10:14:18.992Z] (6/6) Installing zeromq-dev (4.3.3-r1) [Pipeline] sh [2021-06-25T10:14:19.257Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T10:14:19.257Z] OK: 150 MiB in 46 packages [2021-06-25T10:14:19.391Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:14:19.519Z] Removing intermediate container e802e430e4f8 [2021-06-25T10:14:19.519Z] ---> c325225a0533 [2021-06-25T10:14:19.519Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-25T10:14:19.519Z] ---> Running in 80d1b0b1e193 [2021-06-25T10:14:19.519Z] Removing intermediate container 80d1b0b1e193 [2021-06-25T10:14:19.519Z] ---> d6a7bf234072 [2021-06-25T10:14:19.519Z] Step 7/8 : COPY . . [2021-06-25T10:14:19.740Z] + + sudotrue service [2021-06-25T10:14:19.740Z] docker restart [2021-06-25T10:14:20.098Z] ---> 7826fe1cfc77 [2021-06-25T10:14:20.099Z] Step 8/8 : RUN go mod download [2021-06-25T10:14:20.099Z] ---> Running in 391fb4ed945a [2021-06-25T10:14:32.376Z] Removing intermediate container 391fb4ed945a [2021-06-25T10:14:32.376Z] ---> 505a5bdda20c [2021-06-25T10:14:32.376Z] Successfully built 505a5bdda20c [2021-06-25T10:14:32.376Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:14:32.686Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T10:14:32.686Z] . [Pipeline] withDockerContainer [2021-06-25T10:14:32.775Z] prd-centos7-docker-4c-2g-36 does not seem to be running inside a container [2021-06-25T10:14:32.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T10:14:33.160Z] $ docker top 7cc115897f677217b92dd404c73a9dca4ab4fadbfaf6600d0cb9fbf0fa152e41 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:14:33.555Z] + go version [2021-06-25T10:14:33.555Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-25T10:14:33.565Z] $ docker stop --time=1 7cc115897f677217b92dd404c73a9dca4ab4fadbfaf6600d0cb9fbf0fa152e41 [2021-06-25T10:14:34.752Z] $ docker rm -f 7cc115897f677217b92dd404c73a9dca4ab4fadbfaf6600d0cb9fbf0fa152e41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:14:35.290Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T10:14:35.290Z] . [Pipeline] withDockerContainer [2021-06-25T10:14:35.369Z] prd-centos7-docker-4c-2g-36 does not seem to be running inside a container [2021-06-25T10:14:35.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T10:14:35.763Z] $ docker top 4fba8d29ccae6c98de3403f777679eff2de9904a4f6a7aa50bc50f6b49474be8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:14:36.166Z] + go mod tidy [Pipeline] sh [2021-06-25T10:14:36.742Z] + make test [2021-06-25T10:14:36.742Z] go mod tidy [2021-06-25T10:14:37.021Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:14:38.111Z] provisioning config files... [2021-06-25T10:14:38.142Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8728303882128544466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:14:38.527Z] ---> docker-login.sh [2021-06-25T10:14:38.527Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:14:39.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:14:39.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:14:39.786Z] Configure a credential helper to remove this warning. See [2021-06-25T10:14:39.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:14:39.786Z] [2021-06-25T10:14:39.786Z] Login Succeeded [2021-06-25T10:14:39.786Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:14:40.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:14:40.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:14:40.386Z] Configure a credential helper to remove this warning. See [2021-06-25T10:14:40.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:14:40.386Z] [2021-06-25T10:14:40.386Z] Login Succeeded [2021-06-25T10:14:40.386Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:14:40.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:14:40.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:14:40.986Z] Configure a credential helper to remove this warning. See [2021-06-25T10:14:40.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:14:40.986Z] [2021-06-25T10:14:40.986Z] Login Succeeded [2021-06-25T10:14:40.986Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:14:41.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:14:41.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:14:41.590Z] Configure a credential helper to remove this warning. See [2021-06-25T10:14:41.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:14:41.590Z] [2021-06-25T10:14:41.590Z] Login Succeeded [2021-06-25T10:14:41.590Z] docker.io [2021-06-25T10:14:42.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:14:42.445Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-25T10:14:42.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:14:42.470Z] Configure a credential helper to remove this warning. See [2021-06-25T10:14:42.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:14:42.470Z] [2021-06-25T10:14:42.470Z] Login Succeeded [2021-06-25T10:14:42.470Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:14:42.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T10:14:42.794Z] ========================================================= [2021-06-25T10:14:42.794Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-25T10:14:42.794Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:14:43.142Z] + 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-25T10:14:43.419Z] Sending build context to Docker daemon 2.703MB [2021-06-25T10:14:43.693Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:14:43.694Z] Step 2/8 : FROM ${BASE} [2021-06-25T10:14:43.694Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-25T10:14:43.694Z] 595b0fe564bb: Pulling fs layer [2021-06-25T10:14:43.694Z] 3088b5b3c5c0: Pulling fs layer [2021-06-25T10:14:43.694Z] 5b7225fbf94c: Pulling fs layer [2021-06-25T10:14:43.694Z] ba82ee9f976e: Pulling fs layer [2021-06-25T10:14:43.694Z] 506bd15cee9f: Pulling fs layer [2021-06-25T10:14:43.694Z] 75a0a4a0db45: Pulling fs layer [2021-06-25T10:14:43.694Z] 618dc40b7e24: Pulling fs layer [2021-06-25T10:14:43.694Z] 75a0a4a0db45: Waiting [2021-06-25T10:14:43.694Z] 618dc40b7e24: Waiting [2021-06-25T10:14:43.694Z] ba82ee9f976e: Waiting [2021-06-25T10:14:43.694Z] 506bd15cee9f: Waiting [2021-06-25T10:14:43.694Z] 5b7225fbf94c: Verifying Checksum [2021-06-25T10:14:43.694Z] 5b7225fbf94c: Download complete [2021-06-25T10:14:43.971Z] 3088b5b3c5c0: Verifying Checksum [2021-06-25T10:14:43.971Z] 3088b5b3c5c0: Download complete [2021-06-25T10:14:43.971Z] 506bd15cee9f: Verifying Checksum [2021-06-25T10:14:43.971Z] 506bd15cee9f: Download complete [2021-06-25T10:14:43.971Z] 75a0a4a0db45: Verifying Checksum [2021-06-25T10:14:43.971Z] 75a0a4a0db45: Download complete [2021-06-25T10:14:43.971Z] 595b0fe564bb: Verifying Checksum [2021-06-25T10:14:43.971Z] 595b0fe564bb: Download complete [2021-06-25T10:14:44.574Z] 595b0fe564bb: Pull complete [2021-06-25T10:14:45.564Z] 3088b5b3c5c0: Pull complete [2021-06-25T10:14:45.838Z] 5b7225fbf94c: Pull complete [2021-06-25T10:14:46.435Z] 618dc40b7e24: Verifying Checksum [2021-06-25T10:14:46.435Z] 618dc40b7e24: Download complete [2021-06-25T10:14:47.033Z] ba82ee9f976e: Verifying Checksum [2021-06-25T10:14:47.033Z] ba82ee9f976e: Download complete [2021-06-25T10:14:57.212Z] ba82ee9f976e: Pull complete [2021-06-25T10:14:57.822Z] 506bd15cee9f: Pull complete [2021-06-25T10:14:58.095Z] 75a0a4a0db45: Pull complete [2021-06-25T10:15:02.421Z] 618dc40b7e24: Pull complete [2021-06-25T10:15:02.421Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-25T10:15:02.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-25T10:15:02.421Z] ---> a36622ca3599 [2021-06-25T10:15:02.421Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:15:03.879Z] ---> Running in 05ce85211ea8 [2021-06-25T10:15:04.517Z] Removing intermediate container 05ce85211ea8 [2021-06-25T10:15:04.517Z] ---> 1a096147b28b [2021-06-25T10:15:04.517Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:15:04.804Z] ---> Running in b5299d137e91 [2021-06-25T10:15:07.444Z] Removing intermediate container b5299d137e91 [2021-06-25T10:15:07.444Z] ---> e8cd63aeb2da [2021-06-25T10:15:07.444Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T10:15:07.444Z] ---> Running in 40ffcbbd1017 [2021-06-25T10:15:08.423Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:15:09.170Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-25T10:15:09.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-25T10:15:09.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-25T10:15:09.407Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:15:09.767Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 24.2% of statements [2021-06-25T10:15:09.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-25T10:15:09.767Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.052s coverage: 28.1% of statements [2021-06-25T10:15:10.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-06-25T10:15:10.313Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.037s coverage: 9.0% of statements [2021-06-25T10:15:10.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-25T10:15:10.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-25T10:15:10.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-25T10:15:10.386Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-25T10:15:10.386Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-25T10:15:10.386Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-25T10:15:10.659Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-25T10:15:10.659Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-25T10:15:10.659Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-25T10:15:10.931Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T10:15:10.931Z] OK: 139 MiB in 46 packages [2021-06-25T10:15:11.279Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 28.7% of statements [2021-06-25T10:15:11.279Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-25T10:15:12.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 83.3% of statements [2021-06-25T10:15:12.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-25T10:15:12.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-25T10:15:12.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 58.0% of statements [2021-06-25T10:15:12.369Z] Removing intermediate container 40ffcbbd1017 [2021-06-25T10:15:12.369Z] ---> bdf692372f89 [2021-06-25T10:15:12.369Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-25T10:15:12.369Z] ---> Running in 8dc63290e79d [2021-06-25T10:15:12.966Z] Removing intermediate container 8dc63290e79d [2021-06-25T10:15:12.966Z] ---> 8df2129541b9 [2021-06-25T10:15:12.966Z] Step 7/8 : COPY . . [2021-06-25T10:15:13.668Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.841s coverage: 89.2% of statements [2021-06-25T10:15:13.668Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-25T10:15:13.668Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 5.0% of statements [2021-06-25T10:15:13.668Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-25T10:15:13.936Z] GO111MODULE=on go vet ./... [2021-06-25T10:15:14.427Z] ---> b7f608e3cbe7 [2021-06-25T10:15:14.427Z] Step 8/8 : RUN go mod download [2021-06-25T10:15:14.427Z] ---> Running in 92cb21312f3c [2021-06-25T10:15:32.180Z] gofmt -l . [2021-06-25T10:15:32.180Z] [ "`gofmt -l .`" = "" ] [2021-06-25T10:15:32.180Z] ./bin/test-attribution-txt.sh [2021-06-25T10:15:32.180Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T10:15:32.190Z] $ docker stop --time=1 4fba8d29ccae6c98de3403f777679eff2de9904a4f6a7aa50bc50f6b49474be8 [2021-06-25T10:15:33.853Z] $ docker rm -f 4fba8d29ccae6c98de3403f777679eff2de9904a4f6a7aa50bc50f6b49474be8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:15:34.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T10:15:34.602Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-25T10:15:35.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T10:15:36.169Z] + ls -al . [2021-06-25T10:15:36.169Z] total 228 [2021-06-25T10:15:36.169Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 25 10:15 . [2021-06-25T10:15:36.169Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 25 10:13 .. [2021-06-25T10:15:36.169Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 25 10:13 bin [2021-06-25T10:15:36.169Z] -rw-rw-r--. 1 jenkins jenkins 25429 Jun 25 10:13 CHANGELOG.md [2021-06-25T10:15:36.169Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 25 10:15 coverage.out [2021-06-25T10:15:36.169Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 25 10:13 Dockerfile.build [2021-06-25T10:15:36.169Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 25 10:13 .dockerignore [2021-06-25T10:15:36.169Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 25 10:13 example [2021-06-25T10:15:36.169Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 25 10:13 .git [2021-06-25T10:15:36.169Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 25 10:13 .github [2021-06-25T10:15:36.169Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 25 10:13 .gitignore [2021-06-25T10:15:36.169Z] -rw-r--r--. 1 jenkins jenkins 548 Jun 25 10:15 go.mod [2021-06-25T10:15:36.169Z] -rw-r--r--. 1 jenkins jenkins 20210 Jun 25 10:14 go.sum [2021-06-25T10:15:36.169Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 25 10:13 internal [2021-06-25T10:15:36.169Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 25 10:13 Jenkinsfile [2021-06-25T10:15:36.169Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 25 10:13 LICENSE [2021-06-25T10:15:36.169Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 25 10:13 Makefile [2021-06-25T10:15:36.169Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 25 10:13 openapi [2021-06-25T10:15:36.169Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 25 10:13 pkg [2021-06-25T10:15:36.169Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 25 10:13 README.md [2021-06-25T10:15:36.169Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 25 10:13 snap [2021-06-25T10:15:36.169Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 25 10:11 VERSION [2021-06-25T10:15:36.169Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 25 10:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:15:36.475Z] + 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=d389b4c374e7e0b458fa8680c3b59ea3fb785880 --label arch=amd64 --label version=0.0.0 . [2021-06-25T10:15:36.475Z] Sending build context to Docker daemon 2.831MB [2021-06-25T10:15:36.475Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:15:36.475Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-25T10:15:36.475Z] ---> 505a5bdda20c [2021-06-25T10:15:36.475Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-25T10:15:36.475Z] ---> Running in 6e6dae0b8999 [2021-06-25T10:15:36.743Z] Removing intermediate container 6e6dae0b8999 [2021-06-25T10:15:36.743Z] ---> e014a448f7cb [2021-06-25T10:15:36.743Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:15:36.743Z] ---> Running in 7184b2315caf [2021-06-25T10:15:36.743Z] Removing intermediate container 7184b2315caf [2021-06-25T10:15:36.743Z] ---> 62ca1a8b6b53 [2021-06-25T10:15:36.743Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:15:36.743Z] ---> Running in 2581f8b32ccf [2021-06-25T10:15:37.323Z] Removing intermediate container 2581f8b32ccf [2021-06-25T10:15:37.323Z] ---> a72c4eef6598 [2021-06-25T10:15:37.323Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-25T10:15:37.323Z] ---> Running in 23908e1db373 [2021-06-25T10:15:37.593Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:15:38.541Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:15:38.806Z] OK: 150 MiB in 46 packages [2021-06-25T10:15:39.067Z] Removing intermediate container 23908e1db373 [2021-06-25T10:15:39.067Z] ---> c42aa46186d1 [2021-06-25T10:15:39.067Z] Step 7/23 : COPY . . [2021-06-25T10:15:39.650Z] ---> 6143a366f748 [2021-06-25T10:15:39.651Z] Step 8/23 : RUN go mod download [2021-06-25T10:15:39.651Z] ---> Running in 5b215042eb9d [2021-06-25T10:15:40.227Z] Removing intermediate container 5b215042eb9d [2021-06-25T10:15:40.227Z] ---> 6c3090512bb7 [2021-06-25T10:15:40.227Z] Step 9/23 : RUN make build [2021-06-25T10:15:40.227Z] ---> Running in 13f04e92aab1 [2021-06-25T10:15:40.492Z] go mod tidy [2021-06-25T10:15:40.769Z] 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-25T10:15:41.266Z] Removing intermediate container 92cb21312f3c [2021-06-25T10:15:41.266Z] ---> 0336fd0e6795 [2021-06-25T10:15:41.266Z] Successfully built 0336fd0e6795 [2021-06-25T10:15:41.266Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:15:41.631Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T10:15:41.631Z] . [Pipeline] withDockerContainer [2021-06-25T10:15:41.903Z] prd-ubuntu18.04-docker-arm64-4c-16g-35 does not seem to be running inside a container [2021-06-25T10:15:41.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T10:15:43.612Z] $ docker top 030a4336acf10a19847c73c36475b46f87b413e30e52ab641be6f5351538628f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:15:44.644Z] + go version [2021-06-25T10:15:44.644Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-25T10:15:44.643Z] $ docker stop --time=1 030a4336acf10a19847c73c36475b46f87b413e30e52ab641be6f5351538628f [2021-06-25T10:15:46.496Z] $ docker rm -f 030a4336acf10a19847c73c36475b46f87b413e30e52ab641be6f5351538628f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:15:47.455Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T10:15:47.455Z] . [Pipeline] withDockerContainer [2021-06-25T10:15:47.738Z] prd-ubuntu18.04-docker-arm64-4c-16g-35 does not seem to be running inside a container [2021-06-25T10:15:47.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T10:15:49.404Z] $ docker top b919eda06ab4b795dbbdaebec7759226757cb180a403fc602f96ccbf95873dc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:15:50.420Z] + go mod tidy [2021-06-25T10:15:50.869Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] sh [2021-06-25T10:15:51.706Z] + make test [2021-06-25T10:15:51.706Z] go mod tidy [2021-06-25T10:15:52.256Z] Removing intermediate container 13f04e92aab1 [2021-06-25T10:15:52.257Z] ---> 7e889f17055f [2021-06-25T10:15:52.257Z] Step 10/23 : FROM alpine:3.12 [2021-06-25T10:15:52.306Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-25T10:15:52.834Z] 3.12: Pulling from library/alpine [2021-06-25T10:15:52.834Z] 339de151aab4: Pulling fs layer [2021-06-25T10:15:53.100Z] 339de151aab4: Verifying Checksum [2021-06-25T10:15:53.100Z] 339de151aab4: Download complete [2021-06-25T10:15:53.100Z] 339de151aab4: Pull complete [2021-06-25T10:15:53.100Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T10:15:53.100Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T10:15:53.100Z] ---> 13621d1b12d4 [2021-06-25T10:15:53.100Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:15:53.368Z] ---> Running in 55109da87839 [2021-06-25T10:15:53.368Z] Removing intermediate container 55109da87839 [2021-06-25T10:15:53.368Z] ---> 9f851d5a3328 [2021-06-25T10:15:53.368Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:15:53.368Z] ---> Running in 9a9f6d5a081b [2021-06-25T10:15:53.948Z] Removing intermediate container 9a9f6d5a081b [2021-06-25T10:15:53.948Z] ---> 2a37bf9dd166 [2021-06-25T10:15:53.948Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-25T10:15:53.948Z] ---> Running in 3bd3a98b05c1 [2021-06-25T10:15:54.211Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:15:54.781Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:15:55.359Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-25T10:15:55.359Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-25T10:15:55.359Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-25T10:15:56.308Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-25T10:15:56.308Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-25T10:15:56.308Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T10:15:56.308Z] OK: 8 MiB in 19 packages [2021-06-25T10:15:56.571Z] Removing intermediate container 3bd3a98b05c1 [2021-06-25T10:15:56.571Z] ---> 347fa57d5ebe [2021-06-25T10:15:56.571Z] Step 14/23 : WORKDIR / [2021-06-25T10:15:56.834Z] ---> Running in 9683e28a24b5 [2021-06-25T10:15:56.834Z] Removing intermediate container 9683e28a24b5 [2021-06-25T10:15:56.834Z] ---> 804e24a92425 [2021-06-25T10:15:56.834Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-25T10:15:56.834Z] ---> d679d12ab982 [2021-06-25T10:15:56.834Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-25T10:15:57.409Z] ---> 594e14234ae9 [2021-06-25T10:15:57.409Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-25T10:15:57.671Z] ---> 35a2d51c3385 [2021-06-25T10:15:57.671Z] Step 18/23 : EXPOSE 59999 [2021-06-25T10:15:57.671Z] ---> Running in 464dfee375cd [2021-06-25T10:15:57.671Z] Removing intermediate container 464dfee375cd [2021-06-25T10:15:57.671Z] ---> cc63b030f771 [2021-06-25T10:15:57.671Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-25T10:15:57.671Z] ---> Running in 851854e8fadb [2021-06-25T10:15:57.671Z] Removing intermediate container 851854e8fadb [2021-06-25T10:15:57.671Z] ---> bf6ec22ed52c [2021-06-25T10:15:57.671Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T10:15:57.949Z] ---> Running in cf4eff27c9a6 [2021-06-25T10:15:57.949Z] Removing intermediate container cf4eff27c9a6 [2021-06-25T10:15:57.949Z] ---> de79938b88c7 [2021-06-25T10:15:57.949Z] Step 21/23 : LABEL arch=amd64 [2021-06-25T10:15:57.949Z] ---> Running in fb4377d9f097 [2021-06-25T10:15:57.949Z] Removing intermediate container fb4377d9f097 [2021-06-25T10:15:57.949Z] ---> 45eecbb65788 [2021-06-25T10:15:57.949Z] Step 22/23 : LABEL git_sha=d389b4c374e7e0b458fa8680c3b59ea3fb785880 [2021-06-25T10:15:57.949Z] ---> Running in c42413236a4c [2021-06-25T10:15:58.212Z] Removing intermediate container c42413236a4c [2021-06-25T10:15:58.212Z] ---> 00a3c866a47e [2021-06-25T10:15:58.212Z] Step 23/23 : LABEL version=0.0.0 [2021-06-25T10:15:58.212Z] ---> Running in 0c0faa3daee4 [2021-06-25T10:15:58.212Z] Removing intermediate container 0c0faa3daee4 [2021-06-25T10:15:58.212Z] ---> 8ce0c7153780 [2021-06-25T10:15:58.212Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-25T10:15:58.212Z] Successfully built 8ce0c7153780 [2021-06-25T10:15:58.212Z] 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-25T10:15:58.984Z] ---> job-cost.sh [2021-06-25T10:15:58.984Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oDRW [2021-06-25T10:16:09.021Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T10:16:14.482Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-25T10:16:21.296Z] lf-activate-venv(): INFO: Adding /tmp/venv-oDRW/bin to PATH [2021-06-25T10:16:21.296Z] INFO: No Stack... [2021-06-25T10:16:21.296Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T10:16:21.556Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T10:16:21.887Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-25T10:16:21.887Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T10:16:21.917Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-989-2-stack-cost] [2021-06-25T10:16:21.926Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-989-2-stack-cost] did not exist. Created. [2021-06-25T10:16:21.926Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-989-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T10:16:22.250Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-25T10:16:22.320Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T10:16:22.349Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-989-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-25T10:17:22.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-25T10:17:22.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-25T10:17:22.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-25T10:17:30.890Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.484s coverage: 24.2% of statements [2021-06-25T10:17:30.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-25T10:17:30.890Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.219s coverage: 28.1% of statements [2021-06-25T10:17:30.890Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.334s coverage: 78.9% of statements [2021-06-25T10:17:30.890Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.170s coverage: 9.0% of statements [2021-06-25T10:17:30.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-25T10:17:30.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-25T10:17:30.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-25T10:17:30.890Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.322s coverage: 28.7% of statements [2021-06-25T10:17:30.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-25T10:17:34.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.222s coverage: 83.3% of statements [2021-06-25T10:17:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-25T10:17:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-25T10:17:34.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.350s coverage: 58.0% of statements [2021-06-25T10:17:35.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.103s coverage: 89.2% of statements [2021-06-25T10:17:35.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-25T10:17:35.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.198s coverage: 5.0% of statements [2021-06-25T10:17:35.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-25T10:17:36.365Z] GO111MODULE=on go vet ./... [2021-06-25T10:18:32.968Z] gofmt -l . [2021-06-25T10:18:32.968Z] [ "`gofmt -l .`" = "" ] [2021-06-25T10:18:32.968Z] ./bin/test-attribution-txt.sh [2021-06-25T10:18:32.968Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T10:18:32.977Z] $ docker stop --time=1 b919eda06ab4b795dbbdaebec7759226757cb180a403fc602f96ccbf95873dc5 [2021-06-25T10:18:35.081Z] $ docker rm -f b919eda06ab4b795dbbdaebec7759226757cb180a403fc602f96ccbf95873dc5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:18:36.218Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T10:18:36.239Z] Warning: overwriting stash ‘coverage-report’ [2021-06-25T10:18:36.818Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:18:37.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T10:18:37.645Z] + ls -al . [2021-06-25T10:18:37.645Z] total 264 [2021-06-25T10:18:37.645Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 10:18 . [2021-06-25T10:18:37.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 10:14 .. [2021-06-25T10:18:37.645Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 10:14 .dockerignore [2021-06-25T10:18:37.645Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 10:14 .git [2021-06-25T10:18:37.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 10:14 .github [2021-06-25T10:18:37.645Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 25 10:14 .gitignore [2021-06-25T10:18:37.645Z] -rw-rw-r-- 1 jenkins jenkins 25429 Jun 25 10:14 CHANGELOG.md [2021-06-25T10:18:37.645Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 25 10:14 Dockerfile.build [2021-06-25T10:18:37.645Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 25 10:14 Jenkinsfile [2021-06-25T10:18:37.645Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 25 10:14 LICENSE [2021-06-25T10:18:37.645Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 25 10:14 Makefile [2021-06-25T10:18:37.645Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 25 10:14 README.md [2021-06-25T10:18:37.645Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 10:11 VERSION [2021-06-25T10:18:37.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 10:14 bin [2021-06-25T10:18:37.645Z] -rw-r--r-- 1 jenkins jenkins 125635 Jun 25 10:17 coverage.out [2021-06-25T10:18:37.645Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 10:14 example [2021-06-25T10:18:37.645Z] -rw-r--r-- 1 jenkins jenkins 548 Jun 25 10:18 go.mod [2021-06-25T10:18:37.645Z] -rw-r--r-- 1 jenkins jenkins 20210 Jun 25 10:15 go.sum [2021-06-25T10:18:37.645Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 25 10:14 internal [2021-06-25T10:18:37.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 10:14 openapi [2021-06-25T10:18:37.645Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 10:14 pkg [2021-06-25T10:18:37.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 10:14 snap [2021-06-25T10:18:37.645Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 25 10:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:18:38.000Z] + 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=d389b4c374e7e0b458fa8680c3b59ea3fb785880 --label arch=arm64 --label version=0.0.0 . [2021-06-25T10:18:38.599Z] Sending build context to Docker daemon 2.83MB [2021-06-25T10:18:38.599Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:18:38.599Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-25T10:18:38.599Z] ---> 0336fd0e6795 [2021-06-25T10:18:38.599Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-25T10:18:38.873Z] ---> Running in 4a589d6db2a7 [2021-06-25T10:18:39.470Z] Removing intermediate container 4a589d6db2a7 [2021-06-25T10:18:39.470Z] ---> 4e2ed1429fba [2021-06-25T10:18:39.470Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:18:39.470Z] ---> Running in d0aa0f40cd80 [2021-06-25T10:18:40.073Z] Removing intermediate container d0aa0f40cd80 [2021-06-25T10:18:40.073Z] ---> 79aca5a947c0 [2021-06-25T10:18:40.073Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:18:40.073Z] ---> Running in 40d93658e1ac [2021-06-25T10:18:42.716Z] Removing intermediate container 40d93658e1ac [2021-06-25T10:18:42.716Z] ---> d27cbef032cb [2021-06-25T10:18:42.716Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-25T10:18:42.716Z] ---> Running in 320b6a2495bd [2021-06-25T10:18:43.695Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:18:44.709Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:18:45.689Z] OK: 139 MiB in 46 packages [2021-06-25T10:18:46.674Z] Removing intermediate container 320b6a2495bd [2021-06-25T10:18:46.674Z] ---> 8374e79ce787 [2021-06-25T10:18:46.674Z] Step 7/23 : COPY . . [2021-06-25T10:18:48.109Z] ---> a4a1a7529a8b [2021-06-25T10:18:48.109Z] Step 8/23 : RUN go mod download [2021-06-25T10:18:48.396Z] ---> Running in 4cf6fb0e5e13 [2021-06-25T10:18:51.023Z] Removing intermediate container 4cf6fb0e5e13 [2021-06-25T10:18:51.023Z] ---> 30658c829fd7 [2021-06-25T10:18:51.023Z] Step 9/23 : RUN make build [2021-06-25T10:18:51.023Z] ---> Running in 501b6a9c6800 [2021-06-25T10:18:52.004Z] go mod tidy [2021-06-25T10:18:52.607Z] 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-25T10:19:24.996Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-25T10:19:26.981Z] Removing intermediate container 501b6a9c6800 [2021-06-25T10:19:26.981Z] ---> 6b2d59b98314 [2021-06-25T10:19:26.981Z] Step 10/23 : FROM alpine:3.12 [2021-06-25T10:19:27.254Z] 3.12: Pulling from library/alpine [2021-06-25T10:19:27.528Z] d2f70382dc9a: Pulling fs layer [2021-06-25T10:19:27.804Z] d2f70382dc9a: Verifying Checksum [2021-06-25T10:19:27.804Z] d2f70382dc9a: Download complete [2021-06-25T10:19:28.403Z] d2f70382dc9a: Pull complete [2021-06-25T10:19:28.403Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T10:19:28.403Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T10:19:28.403Z] ---> c4fd0aeabfcf [2021-06-25T10:19:28.403Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:19:28.677Z] ---> Running in 33299d0153bc [2021-06-25T10:19:29.276Z] Removing intermediate container 33299d0153bc [2021-06-25T10:19:29.276Z] ---> 078bf1e807e4 [2021-06-25T10:19:29.276Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:19:29.276Z] ---> Running in a147c23f988f [2021-06-25T10:19:31.267Z] Removing intermediate container a147c23f988f [2021-06-25T10:19:31.267Z] ---> 9001383cd044 [2021-06-25T10:19:31.267Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-25T10:19:31.540Z] ---> Running in 3dfb36f9929a [2021-06-25T10:19:32.521Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:19:33.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:19:34.091Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-25T10:19:34.091Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-25T10:19:34.091Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-25T10:19:34.364Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-25T10:19:34.636Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-25T10:19:34.636Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T10:19:34.636Z] OK: 8 MiB in 19 packages [2021-06-25T10:19:36.070Z] Removing intermediate container 3dfb36f9929a [2021-06-25T10:19:36.070Z] ---> 375730f3e085 [2021-06-25T10:19:36.070Z] Step 14/23 : WORKDIR / [2021-06-25T10:19:36.070Z] ---> Running in 7abf4515067f [2021-06-25T10:19:36.344Z] Removing intermediate container 7abf4515067f [2021-06-25T10:19:36.344Z] ---> 5877d8210dca [2021-06-25T10:19:36.344Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-25T10:19:37.327Z] ---> 49803dfbc12d [2021-06-25T10:19:37.327Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-25T10:19:38.311Z] ---> 1de469e0ce8d [2021-06-25T10:19:38.311Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-25T10:19:39.296Z] ---> 2e2e8eb3eb06 [2021-06-25T10:19:39.296Z] Step 18/23 : EXPOSE 59999 [2021-06-25T10:19:39.296Z] ---> Running in 32be54963b93 [2021-06-25T10:19:39.894Z] Removing intermediate container 32be54963b93 [2021-06-25T10:19:39.894Z] ---> 60a7e5902ca7 [2021-06-25T10:19:39.894Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-25T10:19:39.894Z] ---> Running in 6ac848aceb44 [2021-06-25T10:19:40.492Z] Removing intermediate container 6ac848aceb44 [2021-06-25T10:19:40.492Z] ---> 8b70040815be [2021-06-25T10:19:40.492Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T10:19:40.492Z] ---> Running in 09423fe8ae04 [2021-06-25T10:19:41.089Z] Removing intermediate container 09423fe8ae04 [2021-06-25T10:19:41.089Z] ---> 25f457b7fa17 [2021-06-25T10:19:41.089Z] Step 21/23 : LABEL arch=arm64 [2021-06-25T10:19:41.089Z] ---> Running in d3a80c933e48 [2021-06-25T10:19:41.689Z] Removing intermediate container d3a80c933e48 [2021-06-25T10:19:41.689Z] ---> c5e54a18d8ef [2021-06-25T10:19:41.689Z] Step 22/23 : LABEL git_sha=d389b4c374e7e0b458fa8680c3b59ea3fb785880 [2021-06-25T10:19:41.689Z] ---> Running in 2206efccab79 [2021-06-25T10:19:42.286Z] Removing intermediate container 2206efccab79 [2021-06-25T10:19:42.287Z] ---> 5fd9c8967368 [2021-06-25T10:19:42.287Z] Step 23/23 : LABEL version=0.0.0 [2021-06-25T10:19:42.287Z] ---> Running in b3d8a365d990 [2021-06-25T10:19:42.886Z] Removing intermediate container b3d8a365d990 [2021-06-25T10:19:42.886Z] ---> 39289a564607 [2021-06-25T10:19:42.886Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-25T10:19:42.886Z] Successfully built 39289a564607 [2021-06-25T10:19:42.886Z] 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-25T10:19:43.540Z] ---> job-cost.sh [2021-06-25T10:19:43.541Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5iYj [2021-06-25T10:20:22.533Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T10:21:59.324Z] lf-activate-venv(): INFO: Adding /tmp/venv-5iYj/bin to PATH [2021-06-25T10:21:59.324Z] INFO: No Stack... [2021-06-25T10:21:59.324Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-25T10:21:59.324Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T10:21:59.674Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-25T10:21:59.675Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T10:21:59.742Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-989-2-stack-cost] [2021-06-25T10:21:59.753Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-989-2-stack-cost] did not exist. Created. [2021-06-25T10:21:59.753Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-989-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T10:22:00.128Z] /w/workspace/device-sdk-go/2@tmp/durable-a0d75209/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-a0d75209/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-25T10:22:00.475Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-25T10:22:00.508Z] Warning: overwriting stash ‘stack-cost’ [2021-06-25T10:22:00.673Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T10:22:00.683Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-989-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-25T10:22:01.322Z] provisioning config files... [2021-06-25T10:22:01.333Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config8992655613121901164tmp [Pipeline] { [Pipeline] sh [2021-06-25T10:22:01.668Z] + set +x [2021-06-25T10:22:01.669Z] + curl -s https://codecov.io/bash [2021-06-25T10:22:01.669Z] + bash -s -- [2021-06-25T10:22:01.669Z] [2021-06-25T10:22:01.669Z] _____ _ [2021-06-25T10:22:01.669Z] / ____| | | [2021-06-25T10:22:01.669Z] | | ___ __| | ___ ___ _____ __ [2021-06-25T10:22:01.669Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-25T10:22:01.669Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-25T10:22:01.669Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-25T10:22:01.669Z] Bash-1.0.3 [2021-06-25T10:22:01.669Z] [2021-06-25T10:22:01.669Z] [2021-06-25T10:22:01.669Z] ==> git version 2.24.4 found [2021-06-25T10:22:01.669Z] ==> 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-25T10:22:01.669Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-25T10:22:01.669Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-25T10:22:01.939Z] ==> Jenkins CI detected. [2021-06-25T10:22:01.939Z] project root: . [2021-06-25T10:22:01.939Z] --> token set from env [2021-06-25T10:22:01.939Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-25T10:22:01.939Z] ==> Running gcov in . (disable via -X gcov) [2021-06-25T10:22:01.939Z] ==> Python coveragepy not found [2021-06-25T10:22:01.939Z] ==> Searching for coverage reports in: [2021-06-25T10:22:01.939Z] + . [2021-06-25T10:22:01.939Z] -> Found 1 reports [2021-06-25T10:22:01.939Z] ==> Detecting git/mercurial file structure [2021-06-25T10:22:01.939Z] ==> Reading reports [2021-06-25T10:22:01.939Z] + ./coverage.out bytes=125635 [2021-06-25T10:22:01.939Z] ==> Appending adjustments [2021-06-25T10:22:01.939Z] https://docs.codecov.io/docs/fixing-reports [2021-06-25T10:22:02.202Z] + Found adjustments [2021-06-25T10:22:02.202Z] ==> Gzipping contents [2021-06-25T10:22:02.202Z] 16K /tmp/codecov.TGASto.gz [2021-06-25T10:22:02.202Z] ==> Uploading reports [2021-06-25T10:22:02.202Z] url: https://codecov.io [2021-06-25T10:22:02.202Z] query: branch=PR-989&commit=d389b4c374e7e0b458fa8680c3b59ea3fb785880&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-989%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=989&job=&cmd_args= [2021-06-25T10:22:02.202Z] -> Pinging Codecov [2021-06-25T10:22:02.202Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-989&commit=d389b4c374e7e0b458fa8680c3b59ea3fb785880&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-989%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=989&job=&cmd_args= [2021-06-25T10:22:02.774Z] -> Uploading to [2021-06-25T10:22:02.774Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-25/7E55EF52A471D76F132DFD9A03CDDE97/d389b4c374e7e0b458fa8680c3b59ea3fb785880/f2529ca9-e266-48f5-ac83-ffd63df4a82d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210625%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210625T102202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f035dd239c25c4c7f3c082ea1375dd5f3a7d282a2a1dc89575a13e28c2fb249 [2021-06-25T10:22:02.774Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-25T10:22:02.774Z] Dload Upload Total Spent Left Speed [2021-06-25T10:22:03.351Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16304 0 0 100 16304 0 29447 --:--:-- --:--:-- --:--:-- 29482 [2021-06-25T10:22:03.351Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d389b4c374e7e0b458fa8680c3b59ea3fb785880 [Pipeline] } [2021-06-25T10:22:03.360Z] 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-25T10:22:05.059Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:22:05.639Z] ---> package-listing.sh [2021-06-25T10:22:05.639Z] ++ facter osfamily [2021-06-25T10:22:05.639Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-25T10:22:05.902Z] + OS_FAMILY=redhat [2021-06-25T10:22:05.902Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-989 [2021-06-25T10:22:05.902Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-25T10:22:05.902Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-25T10:22:05.902Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-25T10:22:05.902Z] + PACKAGES=/tmp/packages_start.txt [2021-06-25T10:22:05.902Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-989 ']' [2021-06-25T10:22:05.902Z] + PACKAGES=/tmp/packages_end.txt [2021-06-25T10:22:05.902Z] + case "${OS_FAMILY}" in [2021-06-25T10:22:05.902Z] + rpm -qa [2021-06-25T10:22:05.902Z] + sort [2021-06-25T10:22:06.854Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-25T10:22:06.854Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-25T10:22:06.854Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-25T10:22:06.854Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-989 ']' [2021-06-25T10:22:06.854Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-989/archives/ [2021-06-25T10:22:06.854Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-989/archives/ [Pipeline] echo [2021-06-25T10:22:06.869Z] 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-989/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-25T10:22:07.163Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:22:07.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:22:07.763Z] [2021-06-25T10:22:07.763Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:22:08.084Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:22:08.085Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-25T10:22:08.085Z] df20fa9351a1: Pulling fs layer [2021-06-25T10:22:08.085Z] 36b3adc4ff6f: Pulling fs layer [2021-06-25T10:22:08.085Z] 8ad3a11d3b57: Pulling fs layer [2021-06-25T10:22:08.085Z] 46f8f816bc3b: Pulling fs layer [2021-06-25T10:22:08.085Z] 93b61091891f: Pulling fs layer [2021-06-25T10:22:08.085Z] 93b9cdb0e59b: Pulling fs layer [2021-06-25T10:22:08.085Z] 5e14af77c1be: Pulling fs layer [2021-06-25T10:22:08.085Z] 01666e4c0597: Pulling fs layer [2021-06-25T10:22:08.085Z] aa168da1d23b: Pulling fs layer [2021-06-25T10:22:08.085Z] 93b9cdb0e59b: Waiting [2021-06-25T10:22:08.085Z] 5e14af77c1be: Waiting [2021-06-25T10:22:08.085Z] 01666e4c0597: Waiting [2021-06-25T10:22:08.085Z] aa168da1d23b: Waiting [2021-06-25T10:22:08.085Z] 46f8f816bc3b: Waiting [2021-06-25T10:22:08.085Z] 93b61091891f: Waiting [2021-06-25T10:22:08.085Z] 36b3adc4ff6f: Verifying Checksum [2021-06-25T10:22:08.085Z] 36b3adc4ff6f: Download complete [2021-06-25T10:22:08.085Z] 46f8f816bc3b: Verifying Checksum [2021-06-25T10:22:08.085Z] 46f8f816bc3b: Download complete [2021-06-25T10:22:08.085Z] df20fa9351a1: Verifying Checksum [2021-06-25T10:22:08.085Z] df20fa9351a1: Download complete [2021-06-25T10:22:08.357Z] 93b9cdb0e59b: Verifying Checksum [2021-06-25T10:22:08.357Z] 93b9cdb0e59b: Download complete [2021-06-25T10:22:08.357Z] 5e14af77c1be: Verifying Checksum [2021-06-25T10:22:08.357Z] 5e14af77c1be: Download complete [2021-06-25T10:22:08.357Z] 01666e4c0597: Verifying Checksum [2021-06-25T10:22:08.357Z] 01666e4c0597: Download complete [2021-06-25T10:22:08.357Z] 8ad3a11d3b57: Verifying Checksum [2021-06-25T10:22:08.357Z] 8ad3a11d3b57: Download complete [2021-06-25T10:22:08.357Z] df20fa9351a1: Pull complete [2021-06-25T10:22:08.619Z] 93b61091891f: Verifying Checksum [2021-06-25T10:22:08.619Z] 93b61091891f: Download complete [2021-06-25T10:22:08.619Z] 36b3adc4ff6f: Pull complete [2021-06-25T10:22:09.195Z] 8ad3a11d3b57: Pull complete [2021-06-25T10:22:09.456Z] 46f8f816bc3b: Pull complete [2021-06-25T10:22:09.719Z] 93b61091891f: Pull complete [2021-06-25T10:22:09.719Z] 93b9cdb0e59b: Pull complete [2021-06-25T10:22:09.982Z] 5e14af77c1be: Pull complete [2021-06-25T10:22:09.982Z] 01666e4c0597: Pull complete [2021-06-25T10:22:10.242Z] aa168da1d23b: Verifying Checksum [2021-06-25T10:22:10.242Z] aa168da1d23b: Download complete [2021-06-25T10:22:15.599Z] aa168da1d23b: Pull complete [2021-06-25T10:22:15.599Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-25T10:22:15.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:22:15.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-25T10:22:15.699Z] prd-centos7-docker-4c-2g-34 does not seem to be running inside a container [2021-06-25T10:22:15.749Z] $ 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-989/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-989 -v /w/workspace/dgexfoundry_device-sdk-go_PR-989:/w/workspace/dgexfoundry_device-sdk-go_PR-989:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-989@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-25T10:22:18.965Z] $ docker top a7b580237ab0dfa652b517372009fdbdbafa493ca5ebf696c755c5ef6abf0c91 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:22:19.374Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-25T10:22:19.672Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-25T10:22:19.977Z] + ls /var/log/sa-host [2021-06-25T10:22:19.978Z] + sadf -c /var/log/sa-host/sa05 [2021-06-25T10:22:19.978Z] file_magic: OK [2021-06-25T10:22:19.978Z] HZ: Using current value: 100 [2021-06-25T10:22:19.978Z] file_header: OK [2021-06-25T10:22:19.978Z] 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-25T10:22:19.978Z] Statistics: [2021-06-25T10:22:19.978Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T10:22:19.978Z] File successfully converted to sysstat format version 12.2.1 [2021-06-25T10:22:19.978Z] + sadf -c /var/log/sa-host/sa25 [2021-06-25T10:22:19.978Z] file_magic: OK [2021-06-25T10:22:19.978Z] HZ: Using current value: 100 [2021-06-25T10:22:19.978Z] file_header: OK [2021-06-25T10:22:19.978Z] 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-25T10:22:19.978Z] Statistics: [2021-06-25T10:22:19.978Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T10:22:19.978Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:22:20.616Z] provisioning config files... [2021-06-25T10:22:20.636Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config2355870718082892896tmp [Pipeline] { [Pipeline] echo [2021-06-25T10:22:20.657Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:22:20.955Z] ---> create-netrc.sh [Pipeline] } [2021-06-25T10:22:20.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:22:21.409Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-25T10:22:21.420Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:22:21.722Z] ---> sudo-logs.sh [2021-06-25T10:22:21.722Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-25T10:22:21.751Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:22:22.118Z] ---> job-cost.sh [2021-06-25T10:22:22.118Z] lf-activate-venv: SKIPPING [2021-06-25T10:22:22.118Z] DEBUG: total: 0.18000000715255737 [2021-06-25T10:22:22.118Z] INFO: Retrieving Stack Cost... [2021-06-25T10:22:23.076Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T10:22:23.337Z] INFO: Archiving Costs [Pipeline] echo [2021-06-25T10:22:23.355Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:22:23.674Z] ---> logs-deploy.sh [2021-06-25T10:22:23.674Z] lf-activate-venv: SKIPPING [2021-06-25T10:22:23.674Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-989/2 [2021-06-25T10:22:23.674Z] INFO: archiving workspace using pattern(s): [2021-06-25T10:22:24.623Z] Archives upload complete. [2021-06-25T10:22:24.623Z] INFO: archiving logs to Nexus