Pull request #934 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 177901c0c2e2fd4e232d0c5d67b34206db6cc66d+9b89d7644d3409c1e42d925e84b99a1b27025fab (06ac5a6e2005c32fb3d0cba7f191080e804d6da3) 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-ssh9063275913101553387.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh5210950278659801049.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 9d0281235b943b7ad605f650702698f9078b2862 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-934/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-934/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3723292259472118726.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh8745693222539935374.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-934/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-934/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6071860212851042444.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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-15014 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [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-934 # 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-934@tmp/jenkins-gitclient-ssh7490274128213174777.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/jenkins-gitclient-ssh7780673595092620987.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d Merge succeeded, producing 177901c0c2e2fd4e232d0c5d67b34206db6cc66d Checking out Revision 177901c0c2e2fd4e232d0c5d67b34206db6cc66d (PR-934) > git config core.sparsecheckout # timeout=10 > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/jenkins-gitclient-ssh5415928064865266275.key > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 Commit message: "build: update snap build" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-19T05:57:27.523Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-19T05:57:27.612Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-19T05:57:27.642Z] ========================================================= [2021-05-19T05:57:27.642Z] EdgeX Global Pipelines Version Info [2021-05-19T05:57:27.642Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9f08648ade41faca250647d52fae2d276d6fcbea # timeout=10 [2021-05-19T05:57:29.104Z] ------------------- [2021-05-19T05:57:29.104Z] stable info: [2021-05-19T05:57:29.104Z] ------------------- [2021-05-19T05:57:29.104Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-19T05:57:29.104Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T05:57:29.104Z] Message: update stable to v1.0.192 [2021-05-19T05:57:29.683Z] ------------------- [2021-05-19T05:57:29.683Z] experimental info: [2021-05-19T05:57:29.683Z] ------------------- [2021-05-19T05:57:29.683Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-19T05:57:29.683Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T05:57:29.683Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-19T05:57:29.846Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-19T05:57:29.872Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-19T05:57:29.898Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-19T05:57:29.923Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-19T05:57:29.948Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-19T05:57:29.973Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-19T05:57:29.998Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-19T05:57:30.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-19T05:57:30.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-19T05:57:30.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-19T05:57:30.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-19T05:57:30.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-19T05:57:30.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-19T05:57:30.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-19T05:57:30.199Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-19T05:57:30.229Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T05:57:30.252Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T05:57:30.276Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T05:57:30.302Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-19T05:57:30.328Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-19T05:57:30.358Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-19T05:57:30.383Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-19T05:57:30.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-19T05:57:30.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-19T05:57:30.455Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-19T05:57:30.486Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-19T05:57:30.511Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-934 [Pipeline] echo [2021-05-19T05:57:30.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-934 [Pipeline] echo [2021-05-19T05:57:30.562Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-934 [Pipeline] echo [2021-05-19T05:57:30.628Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [Pipeline] echo [2021-05-19T05:57:30.653Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 177901c [Pipeline] echo [2021-05-19T05:57:30.675Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T05:57:30.756Z] provisioning config files... [2021-05-19T05:57:30.772Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config3588617143266016340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:57:31.094Z] ---> docker-login.sh [2021-05-19T05:57:31.094Z] nexus3.edgexfoundry.org:10001 [2021-05-19T05:57:31.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:57:31.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:57:31.624Z] Configure a credential helper to remove this warning. See [2021-05-19T05:57:31.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:57:31.624Z] [2021-05-19T05:57:31.624Z] Login Succeeded [2021-05-19T05:57:31.624Z] nexus3.edgexfoundry.org:10002 [2021-05-19T05:57:31.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:57:31.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:57:31.624Z] Configure a credential helper to remove this warning. See [2021-05-19T05:57:31.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:57:31.624Z] [2021-05-19T05:57:31.624Z] Login Succeeded [2021-05-19T05:57:31.624Z] nexus3.edgexfoundry.org:10003 [2021-05-19T05:57:31.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:57:31.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:57:31.883Z] Configure a credential helper to remove this warning. See [2021-05-19T05:57:31.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:57:31.883Z] [2021-05-19T05:57:31.883Z] Login Succeeded [2021-05-19T05:57:31.883Z] nexus3.edgexfoundry.org:10004 [2021-05-19T05:57:31.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:57:31.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:57:31.883Z] Configure a credential helper to remove this warning. See [2021-05-19T05:57:31.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:57:31.883Z] [2021-05-19T05:57:31.883Z] Login Succeeded [2021-05-19T05:57:31.883Z] docker.io [2021-05-19T05:57:31.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:57:32.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:57:32.144Z] Configure a credential helper to remove this warning. See [2021-05-19T05:57:32.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:57:32.144Z] [2021-05-19T05:57:32.144Z] Login Succeeded [2021-05-19T05:57:32.144Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T05:57:32.154Z] 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-05-19T05:57:32.648Z] + git log --format=format:%s -1 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [Pipeline] echo [2021-05-19T05:57:32.689Z] GIT_COMMIT: 177901c0c2e2fd4e232d0c5d67b34206db6cc66d, Commit Message: build: update snap build [Pipeline] echo [2021-05-19T05:57:32.702Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:57:33.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T05:57:33.294Z] [2021-05-19T05:57:33.294Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:57:33.609Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T05:57:33.609Z] latest: Pulling from edgex-devops/git-semver [2021-05-19T05:57:33.609Z] 31603596830f: Pulling fs layer [2021-05-19T05:57:33.609Z] 54011a49482f: Pulling fs layer [2021-05-19T05:57:33.609Z] a6820b24f6d8: Pulling fs layer [2021-05-19T05:57:33.609Z] f581987b2513: Pulling fs layer [2021-05-19T05:57:33.609Z] f581987b2513: Waiting [2021-05-19T05:57:33.609Z] 54011a49482f: Verifying Checksum [2021-05-19T05:57:33.609Z] 54011a49482f: Download complete [2021-05-19T05:57:33.870Z] 31603596830f: Verifying Checksum [2021-05-19T05:57:33.870Z] 31603596830f: Download complete [2021-05-19T05:57:33.870Z] f581987b2513: Verifying Checksum [2021-05-19T05:57:33.870Z] f581987b2513: Download complete [2021-05-19T05:57:33.870Z] a6820b24f6d8: Verifying Checksum [2021-05-19T05:57:33.870Z] a6820b24f6d8: Download complete [2021-05-19T05:57:33.870Z] 31603596830f: Pull complete [2021-05-19T05:57:34.140Z] 54011a49482f: Pull complete [2021-05-19T05:57:34.716Z] a6820b24f6d8: Pull complete [2021-05-19T05:57:34.980Z] f581987b2513: Pull complete [2021-05-19T05:57:34.980Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-19T05:57:34.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T05:57:34.980Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-19T05:57:35.056Z] prd-centos7-docker-4c-2g-15014 does not seem to be running inside a container [2021-05-19T05:57:35.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-934 -v /w/workspace/dgexfoundry_device-sdk-go_PR-934:/w/workspace/dgexfoundry_device-sdk-go_PR-934:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-19T05:57:38.092Z] $ docker top 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-19T05:57:38.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T05:57:38.220Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T05:57:38.347Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T05:57:38.354Z] $ docker exec 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c ssh-agent [2021-05-19T05:57:38.494Z] SSH_AUTH_SOCK=/tmp/ssh-I81hQ8cLFfPK/agent.14 [2021-05-19T05:57:38.494Z] SSH_AGENT_PID=20 [2021-05-19T05:57:38.508Z] Running ssh-add (command line suppressed) [2021-05-19T05:57:38.620Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_6407063471451251354.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_6407063471451251354.key) [2021-05-19T05:57:38.633Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T05:57:38.939Z] + git tag --points-at HEAD [Pipeline] } [2021-05-19T05:57:38.957Z] $ docker exec --env ******** --env ******** 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c ssh-agent -k [2021-05-19T05:57:39.069Z] unset SSH_AUTH_SOCK; [2021-05-19T05:57:39.070Z] unset SSH_AGENT_PID; [2021-05-19T05:57:39.070Z] echo Agent pid 20 killed; [2021-05-19T05:57:39.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-19T05:57:39.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T05:57:39.121Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T05:57:39.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T05:57:39.244Z] $ docker exec 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c ssh-agent [2021-05-19T05:57:39.352Z] SSH_AUTH_SOCK=/tmp/ssh-Wvqwg0DrDrdW/agent.56 [2021-05-19T05:57:39.352Z] SSH_AGENT_PID=62 [2021-05-19T05:57:39.358Z] Running ssh-add (command line suppressed) [2021-05-19T05:57:39.457Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_3833685400878566212.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_3833685400878566212.key) [2021-05-19T05:57:39.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T05:57:39.777Z] + git semver init [2021-05-19T05:57:39.777Z] # -> Open(): unable to determine branch for HEAD [2021-05-19T05:57:39.777Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.git [2021-05-19T05:57:39.777Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-19T05:57:39.777Z] # $SEMVER_REMOTE_NAME = origin [2021-05-19T05:57:39.777Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-19T05:57:39.777Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-19T05:57:39.777Z] # $SEMVER_BRANCH = PR-934 [2021-05-19T05:57:39.777Z] # $SEMVER_TEMP = /tmp/semver-809298929 [2021-05-19T05:57:39.777Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-19T05:57:40.362Z] # '/tmp/semver-809298929' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver' [2021-05-19T05:57:40.362Z] # -> Force: false [2021-05-19T05:57:40.362Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver [Pipeline] } [2021-05-19T05:57:40.376Z] $ docker exec --env ******** --env ******** 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c ssh-agent -k [2021-05-19T05:57:40.484Z] unset SSH_AUTH_SOCK; [2021-05-19T05:57:40.485Z] unset SSH_AGENT_PID; [2021-05-19T05:57:40.485Z] echo Agent pid 62 killed; [2021-05-19T05:57:40.493Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-19T05:57:40.827Z] + git semver [Pipeline] } [2021-05-19T05:57:40.847Z] $ docker stop --time=1 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c [2021-05-19T05:57:42.144Z] $ docker rm -f 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T05:57:42.508Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-19T05:57:42.781Z] Stashed 1 file(s) [Pipeline] echo [2021-05-19T05:57:42.786Z] [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-05-19T05:57:58.096Z] Still waiting to schedule task [2021-05-19T05:57:58.096Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-19T05:57:58.100Z] Still waiting to schedule task [2021-05-19T05:57:58.100Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-19T05:59:54.779Z] Running on prd-centos7-docker-4c-2g-15017 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-19T05:59:54.812Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-19T05:59:54.914Z] Selected Git installation does not exist. Using Default [2021-05-19T05:59:54.914Z] The recommended git tool is: NONE [2021-05-19T05:59:57.324Z] using credential edgex-jenkins-ssh [2021-05-19T05:59:57.343Z] Cloning the remote Git repository [2021-05-19T05:59:57.366Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:59:57.436Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-19T05:59:57.472Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:59:57.473Z] > git --version # timeout=10 [2021-05-19T05:59:57.483Z] > git --version # 'git version 2.24.4' [2021-05-19T05:59:57.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:59:57.506Z] [INFO] Currently running in a labeled security context [2021-05-19T05:59:57.506Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T05:59:57.506Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8833732101278862147.key [2021-05-19T05:59:57.524Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T05:59:58.247Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T05:59:58.261Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T05:59:58.277Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T05:59:58.291Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:59:58.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:59:58.293Z] [INFO] Currently running in a labeled security context [2021-05-19T05:59:58.293Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T05:59:58.293Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8434818148312830815.key [2021-05-19T05:59:58.306Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-19T05:59:58.783Z] Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [2021-05-19T05:59:58.891Z] Merge succeeded, producing 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [2021-05-19T05:59:58.892Z] Checking out Revision 177901c0c2e2fd4e232d0c5d67b34206db6cc66d (PR-934) [2021-05-19T05:59:58.793Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T05:59:58.808Z] > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [2021-05-19T05:59:58.845Z] > git remote # timeout=10 [2021-05-19T05:59:58.854Z] > git config --get remote.origin.url # timeout=10 [2021-05-19T05:59:58.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:59:58.864Z] [INFO] Currently running in a labeled security context [2021-05-19T05:59:58.864Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T05:59:58.864Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh6389610287063764355.key [2021-05-19T05:59:58.871Z] > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 [2021-05-19T05:59:58.885Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-19T05:59:58.896Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T05:59:58.906Z] > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [2021-05-19T06:00:02.488Z] Commit message: "build: update snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T06:00:03.665Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-19T06:00:03.991Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T06:00:04.293Z] + sudo service docker restart [2021-05-19T06:00:04.293Z] + true [2021-05-19T06:00:04.293Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T06:00:22.491Z] provisioning config files... [2021-05-19T06:00:22.509Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2465168688802085833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T06:00:22.844Z] ---> docker-login.sh [2021-05-19T06:00:22.844Z] nexus3.edgexfoundry.org:10001 [2021-05-19T06:00:23.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T06:00:23.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T06:00:23.423Z] Configure a credential helper to remove this warning. See [2021-05-19T06:00:23.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T06:00:23.423Z] [2021-05-19T06:00:23.423Z] Login Succeeded [2021-05-19T06:00:23.423Z] nexus3.edgexfoundry.org:10002 [2021-05-19T06:00:23.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T06:00:23.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T06:00:23.687Z] Configure a credential helper to remove this warning. See [2021-05-19T06:00:23.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T06:00:23.687Z] [2021-05-19T06:00:23.687Z] Login Succeeded [2021-05-19T06:00:23.687Z] nexus3.edgexfoundry.org:10003 [2021-05-19T06:00:23.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T06:00:23.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T06:00:23.687Z] Configure a credential helper to remove this warning. See [2021-05-19T06:00:23.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T06:00:23.687Z] [2021-05-19T06:00:23.687Z] Login Succeeded [2021-05-19T06:00:23.687Z] nexus3.edgexfoundry.org:10004 [2021-05-19T06:00:23.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T06:00:23.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T06:00:23.952Z] Configure a credential helper to remove this warning. See [2021-05-19T06:00:23.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T06:00:23.952Z] [2021-05-19T06:00:23.952Z] Login Succeeded [2021-05-19T06:00:23.952Z] docker.io [2021-05-19T06:00:23.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T06:00:24.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T06:00:24.213Z] Configure a credential helper to remove this warning. See [2021-05-19T06:00:24.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T06:00:24.213Z] [2021-05-19T06:00:24.213Z] Login Succeeded [2021-05-19T06:00:24.213Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T06:00:24.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T06:00:24.411Z] ========================================================= [2021-05-19T06:00:24.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-19T06:00:24.411Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T06:00:24.751Z] + 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-05-19T06:00:24.751Z] Sending build context to Docker daemon 2.596MB [2021-05-19T06:00:24.751Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T06:00:24.751Z] Step 2/8 : FROM ${BASE} [2021-05-19T06:00:25.015Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-19T06:00:25.015Z] 540db60ca938: Pulling fs layer [2021-05-19T06:00:25.015Z] adcc1eea9eea: Pulling fs layer [2021-05-19T06:00:25.015Z] 4c4ab2625f07: Pulling fs layer [2021-05-19T06:00:25.015Z] 0510c868ecb4: Pulling fs layer [2021-05-19T06:00:25.015Z] afea3b2eda06: Pulling fs layer [2021-05-19T06:00:25.015Z] 7809a108b3ef: Pulling fs layer [2021-05-19T06:00:25.015Z] f706445af74f: Pulling fs layer [2021-05-19T06:00:25.015Z] afea3b2eda06: Waiting [2021-05-19T06:00:25.015Z] 7809a108b3ef: Waiting [2021-05-19T06:00:25.015Z] f706445af74f: Waiting [2021-05-19T06:00:25.015Z] 0510c868ecb4: Waiting [2021-05-19T06:00:25.015Z] 4c4ab2625f07: Verifying Checksum [2021-05-19T06:00:25.015Z] 4c4ab2625f07: Download complete [2021-05-19T06:00:25.015Z] adcc1eea9eea: Verifying Checksum [2021-05-19T06:00:25.015Z] adcc1eea9eea: Download complete [2021-05-19T06:00:25.015Z] afea3b2eda06: Verifying Checksum [2021-05-19T06:00:25.015Z] afea3b2eda06: Download complete [2021-05-19T06:00:25.015Z] 7809a108b3ef: Verifying Checksum [2021-05-19T06:00:25.015Z] 7809a108b3ef: Download complete [2021-05-19T06:00:25.278Z] 540db60ca938: Verifying Checksum [2021-05-19T06:00:25.278Z] 540db60ca938: Download complete [2021-05-19T06:00:25.540Z] 540db60ca938: Pull complete [2021-05-19T06:00:25.540Z] adcc1eea9eea: Pull complete [2021-05-19T06:00:25.804Z] 4c4ab2625f07: Pull complete [2021-05-19T06:00:26.752Z] f706445af74f: Verifying Checksum [2021-05-19T06:00:26.752Z] f706445af74f: Download complete [2021-05-19T06:00:27.336Z] 0510c868ecb4: Verifying Checksum [2021-05-19T06:00:27.336Z] 0510c868ecb4: Download complete [2021-05-19T06:00:31.584Z] 0510c868ecb4: Pull complete [2021-05-19T06:00:31.584Z] afea3b2eda06: Pull complete [2021-05-19T06:00:31.584Z] 7809a108b3ef: Pull complete [2021-05-19T06:00:32.992Z] f706445af74f: Pull complete [2021-05-19T06:00:32.992Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-19T06:00:32.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-19T06:00:32.992Z] ---> b068be0155e3 [2021-05-19T06:00:32.992Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T06:00:51.160Z] ---> Running in bf7bfc98961d [2021-05-19T06:00:51.160Z] Removing intermediate container bf7bfc98961d [2021-05-19T06:00:51.160Z] ---> ecc95fe88c6c [2021-05-19T06:00:51.160Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T06:00:51.160Z] ---> Running in d229739faa39 [2021-05-19T06:00:51.160Z] Removing intermediate container d229739faa39 [2021-05-19T06:00:51.160Z] ---> d33b84f6a74e [2021-05-19T06:00:51.160Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-19T06:00:51.160Z] ---> Running in 43a3b1e41627 [2021-05-19T06:00:51.160Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T06:00:51.739Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T06:00:52.314Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-19T06:00:52.314Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-19T06:00:52.314Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-19T06:00:52.314Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-19T06:00:52.576Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-19T06:00:52.576Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-19T06:00:52.839Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T06:00:52.839Z] OK: 150 MiB in 46 packages [2021-05-19T06:00:53.415Z] Removing intermediate container 43a3b1e41627 [2021-05-19T06:00:53.415Z] ---> 7d6cbde8c89e [2021-05-19T06:00:53.415Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-19T06:00:53.678Z] ---> Running in 9d1438c89404 [2021-05-19T06:00:53.950Z] Removing intermediate container 9d1438c89404 [2021-05-19T06:00:53.950Z] ---> c8a304564db1 [2021-05-19T06:00:53.950Z] Step 7/8 : COPY . . [2021-05-19T06:00:54.532Z] ---> 34b698158cb5 [2021-05-19T06:00:54.533Z] Step 8/8 : RUN go mod download [2021-05-19T06:00:54.799Z] ---> Running in 029586a615a8 [2021-05-19T06:00:55.024Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15018 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-19T06:00:55.046Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-19T06:00:55.274Z] Selected Git installation does not exist. Using Default [2021-05-19T06:00:55.275Z] The recommended git tool is: NONE [2021-05-19T06:01:01.156Z] using credential edgex-jenkins-ssh [2021-05-19T06:01:01.188Z] Cloning the remote Git repository [2021-05-19T06:01:01.292Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T06:01:01.458Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-19T06:01:01.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T06:01:01.540Z] > git --version # timeout=10 [2021-05-19T06:01:01.588Z] > git --version # 'git version 2.17.1' [2021-05-19T06:01:01.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T06:01:01.681Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T06:01:03.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T06:01:03.980Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T06:01:04.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T06:01:04.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T06:01:04.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T06:01:04.060Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-19T06:01:05.006Z] Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [2021-05-19T06:01:05.208Z] Merge succeeded, producing 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [2021-05-19T06:01:05.208Z] Checking out Revision 177901c0c2e2fd4e232d0c5d67b34206db6cc66d (PR-934) [2021-05-19T06:01:05.030Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T06:01:05.046Z] > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [2021-05-19T06:01:05.141Z] > git remote # timeout=10 [2021-05-19T06:01:05.156Z] > git config --get remote.origin.url # timeout=10 [2021-05-19T06:01:05.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T06:01:05.178Z] > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 [2021-05-19T06:01:05.199Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-19T06:01:05.219Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T06:01:05.237Z] > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [2021-05-19T06:01:09.562Z] Commit message: "build: update snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T06:01:10.827Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-19T06:01:11.279Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T06:01:11.630Z] + sudo service docker restart [2021-05-19T06:01:11.631Z] + true [2021-05-19T06:01:16.808Z] Removing intermediate container 029586a615a8 [2021-05-19T06:01:16.808Z] ---> 68ced58372b6 [2021-05-19T06:01:16.808Z] Successfully built 68ced58372b6 [2021-05-19T06:01:16.808Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T06:01:17.117Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T06:01:17.118Z] . [Pipeline] withDockerContainer [2021-05-19T06:01:17.215Z] prd-centos7-docker-4c-2g-15017 does not seem to be running inside a container [2021-05-19T06:01:17.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-19T06:01:17.718Z] $ docker top 27030cd71925405a7d365ea77642b72ca069a3b1c7f5051f1a3fb211de4679f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T06:01:18.106Z] + go version [2021-05-19T06:01:18.107Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-19T06:01:18.120Z] $ docker stop --time=1 27030cd71925405a7d365ea77642b72ca069a3b1c7f5051f1a3fb211de4679f0 [2021-05-19T06:01:19.333Z] $ docker rm -f 27030cd71925405a7d365ea77642b72ca069a3b1c7f5051f1a3fb211de4679f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T06:01:19.919Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T06:01:19.919Z] . [Pipeline] withDockerContainer [2021-05-19T06:01:20.023Z] prd-centos7-docker-4c-2g-15017 does not seem to be running inside a container [2021-05-19T06:01:20.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-19T06:01:20.484Z] $ docker top 04ac5479596d356c5127d33f0a66830ea21a54d1b634336ef6651d9c7c043524 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T06:01:20.890Z] + go mod tidy [Pipeline] sh [2021-05-19T06:01:21.463Z] + make test [2021-05-19T06:01:21.464Z] go mod tidy [2021-05-19T06:01:21.738Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-19T06:01:28.378Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T06:01:30.005Z] provisioning config files... [2021-05-19T06:01:30.032Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2734134951158812702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T06:01:30.432Z] ---> docker-login.sh [2021-05-19T06:01:30.432Z] nexus3.edgexfoundry.org:10001 [2021-05-19T06:01:31.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T06:01:31.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T06:01:31.690Z] Configure a credential helper to remove this warning. See [2021-05-19T06:01:31.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T06:01:31.690Z] [2021-05-19T06:01:31.690Z] Login Succeeded [2021-05-19T06:01:31.690Z] nexus3.edgexfoundry.org:10002 [2021-05-19T06:01:32.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T06:01:32.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T06:01:32.291Z] Configure a credential helper to remove this warning. See [2021-05-19T06:01:32.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T06:01:32.291Z] [2021-05-19T06:01:32.291Z] Login Succeeded [2021-05-19T06:01:32.291Z] nexus3.edgexfoundry.org:10003 [2021-05-19T06:01:32.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T06:01:32.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T06:01:32.891Z] Configure a credential helper to remove this warning. See [2021-05-19T06:01:32.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T06:01:32.891Z] [2021-05-19T06:01:32.891Z] Login Succeeded [2021-05-19T06:01:32.891Z] nexus3.edgexfoundry.org:10004 [2021-05-19T06:01:33.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T06:01:33.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T06:01:33.491Z] Configure a credential helper to remove this warning. See [2021-05-19T06:01:33.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T06:01:33.491Z] [2021-05-19T06:01:33.491Z] Login Succeeded [2021-05-19T06:01:33.491Z] docker.io [2021-05-19T06:01:34.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T06:01:34.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T06:01:34.370Z] Configure a credential helper to remove this warning. See [2021-05-19T06:01:34.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T06:01:34.370Z] [2021-05-19T06:01:34.370Z] Login Succeeded [2021-05-19T06:01:34.370Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T06:01:34.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T06:01:34.729Z] ========================================================= [2021-05-19T06:01:34.729Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-19T06:01:34.729Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T06:01:35.072Z] + 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-05-19T06:01:35.675Z] Sending build context to Docker daemon 2.595MB [2021-05-19T06:01:35.675Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T06:01:35.675Z] Step 2/8 : FROM ${BASE} [2021-05-19T06:01:35.960Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-19T06:01:35.960Z] 595b0fe564bb: Pulling fs layer [2021-05-19T06:01:35.960Z] 7186ed65a4f7: Pulling fs layer [2021-05-19T06:01:35.960Z] 316046926c0a: Pulling fs layer [2021-05-19T06:01:35.960Z] 4ebd0625c992: Pulling fs layer [2021-05-19T06:01:35.960Z] 207e8628e3a3: Pulling fs layer [2021-05-19T06:01:35.960Z] c791037a9be2: Pulling fs layer [2021-05-19T06:01:35.960Z] ffd874e62e21: Pulling fs layer [2021-05-19T06:01:35.960Z] 207e8628e3a3: Waiting [2021-05-19T06:01:35.960Z] c791037a9be2: Waiting [2021-05-19T06:01:35.960Z] 4ebd0625c992: Waiting [2021-05-19T06:01:35.960Z] ffd874e62e21: Waiting [2021-05-19T06:01:35.960Z] 316046926c0a: Verifying Checksum [2021-05-19T06:01:35.960Z] 316046926c0a: Download complete [2021-05-19T06:01:35.960Z] 7186ed65a4f7: Verifying Checksum [2021-05-19T06:01:35.960Z] 7186ed65a4f7: Download complete [2021-05-19T06:01:35.960Z] 207e8628e3a3: Verifying Checksum [2021-05-19T06:01:35.960Z] 207e8628e3a3: Download complete [2021-05-19T06:01:35.960Z] c791037a9be2: Verifying Checksum [2021-05-19T06:01:35.960Z] c791037a9be2: Download complete [2021-05-19T06:01:36.237Z] 595b0fe564bb: Verifying Checksum [2021-05-19T06:01:36.237Z] 595b0fe564bb: Download complete [2021-05-19T06:01:36.842Z] 595b0fe564bb: Pull complete [2021-05-19T06:01:37.447Z] 7186ed65a4f7: Pull complete [2021-05-19T06:01:38.049Z] 316046926c0a: Pull complete [2021-05-19T06:01:38.650Z] ffd874e62e21: Verifying Checksum [2021-05-19T06:01:38.650Z] ffd874e62e21: Download complete [2021-05-19T06:01:40.095Z] 4ebd0625c992: Verifying Checksum [2021-05-19T06:01:40.095Z] 4ebd0625c992: Download complete [2021-05-19T06:01:50.272Z] 4ebd0625c992: Pull complete [2021-05-19T06:01:50.272Z] 207e8628e3a3: Pull complete [2021-05-19T06:01:50.872Z] c791037a9be2: Pull complete [2021-05-19T06:01:55.134Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-19T06:01:55.134Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-19T06:01:55.134Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-19T06:01:55.201Z] ffd874e62e21: Pull complete [2021-05-19T06:01:55.201Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-19T06:01:55.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-19T06:01:55.201Z] ---> cfc18b08335c [2021-05-19T06:01:55.201Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T06:01:57.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 25.4% of statements [2021-05-19T06:01:57.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-19T06:01:57.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-05-19T06:01:57.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2021-05-19T06:01:57.890Z] ---> Running in 0524a48c212b [2021-05-19T06:01:57.890Z] Removing intermediate container 0524a48c212b [2021-05-19T06:01:57.890Z] ---> 2221ab41ddd0 [2021-05-19T06:01:57.890Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T06:01:58.164Z] ---> Running in 851df90a94e1 [2021-05-19T06:01:59.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.055s coverage: 10.7% of statements [2021-05-19T06:01:59.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-19T06:01:59.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-19T06:01:59.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-19T06:01:59.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 30.2% of statements [2021-05-19T06:01:59.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-19T06:02:00.793Z] Removing intermediate container 851df90a94e1 [2021-05-19T06:02:00.793Z] ---> 23541e9c043e [2021-05-19T06:02:00.793Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-19T06:02:00.793Z] ---> Running in 422f0cf5be3c [2021-05-19T06:02:01.032Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 83.3% of statements [2021-05-19T06:02:01.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-19T06:02:01.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-19T06:02:01.032Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 58.0% of statements [2021-05-19T06:02:02.003Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.829s coverage: 89.2% of statements [2021-05-19T06:02:02.003Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-19T06:02:02.003Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 5.0% of statements [2021-05-19T06:02:02.003Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-19T06:02:02.241Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T06:02:02.268Z] GO111MODULE=on go vet ./... [2021-05-19T06:02:03.221Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T06:02:04.655Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-19T06:02:04.655Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-19T06:02:04.928Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-19T06:02:04.928Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-19T06:02:04.928Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-19T06:02:05.202Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-19T06:02:05.202Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T06:02:05.202Z] OK: 139 MiB in 46 packages [2021-05-19T06:02:06.643Z] Removing intermediate container 422f0cf5be3c [2021-05-19T06:02:06.643Z] ---> 79683dbb95d2 [2021-05-19T06:02:06.643Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-19T06:02:06.919Z] ---> Running in e9b846a08ddc [2021-05-19T06:02:07.519Z] Removing intermediate container e9b846a08ddc [2021-05-19T06:02:07.519Z] ---> ee1a08391da3 [2021-05-19T06:02:07.519Z] Step 7/8 : COPY . . [2021-05-19T06:02:08.974Z] ---> a21d7950e695 [2021-05-19T06:02:08.975Z] Step 8/8 : RUN go mod download [2021-05-19T06:02:09.256Z] ---> Running in 87838a542571 [2021-05-19T06:02:29.020Z] gofmt -l . [2021-05-19T06:02:29.020Z] [ "`gofmt -l .`" = "" ] [2021-05-19T06:02:29.020Z] ./bin/test-attribution-txt.sh [2021-05-19T06:02:29.020Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T06:02:29.035Z] $ docker stop --time=1 04ac5479596d356c5127d33f0a66830ea21a54d1b634336ef6651d9c7c043524 [2021-05-19T06:02:31.411Z] $ docker rm -f 04ac5479596d356c5127d33f0a66830ea21a54d1b634336ef6651d9c7c043524 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T06:02:31.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T06:02:32.124Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-19T06:02:33.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T06:02:33.609Z] + ls -al . [2021-05-19T06:02:33.609Z] total 212 [2021-05-19T06:02:33.609Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 19 06:02 . [2021-05-19T06:02:33.609Z] drwxrwxr-x. 4 jenkins jenkins 28 May 19 05:59 .. [2021-05-19T06:02:33.609Z] drwxrwxr-x. 2 jenkins jenkins 64 May 19 05:59 bin [2021-05-19T06:02:33.609Z] -rw-r--r--. 1 jenkins jenkins 126187 May 19 06:02 coverage.out [2021-05-19T06:02:33.609Z] -rw-rw-r--. 1 jenkins jenkins 987 May 19 05:59 Dockerfile.build [2021-05-19T06:02:33.609Z] -rw-rw-r--. 1 jenkins jenkins 140 May 19 05:59 .dockerignore [2021-05-19T06:02:33.609Z] drwxrwxr-x. 5 jenkins jenkins 62 May 19 05:59 example [2021-05-19T06:02:33.609Z] drwxrwxr-x. 8 jenkins jenkins 179 May 19 06:00 .git [2021-05-19T06:02:33.609Z] drwxrwxr-x. 2 jenkins jenkins 103 May 19 05:59 .github [2021-05-19T06:02:33.609Z] -rw-rw-r--. 1 jenkins jenkins 138 May 19 05:59 .gitignore [2021-05-19T06:02:33.609Z] -rw-r--r--. 1 jenkins jenkins 575 May 19 06:02 go.mod [2021-05-19T06:02:33.609Z] -rw-r--r--. 1 jenkins jenkins 20803 May 19 06:01 go.sum [2021-05-19T06:02:33.609Z] drwxrwxr-x. 15 jenkins jenkins 224 May 19 05:59 internal [2021-05-19T06:02:33.609Z] -rw-rw-r--. 1 jenkins jenkins 894 May 19 05:59 Jenkinsfile [2021-05-19T06:02:33.609Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 19 05:59 LICENSE [2021-05-19T06:02:33.609Z] -rw-rw-r--. 1 jenkins jenkins 997 May 19 05:59 Makefile [2021-05-19T06:02:33.609Z] drwxrwxr-x. 4 jenkins jenkins 26 May 19 05:59 openapi [2021-05-19T06:02:33.609Z] drwxrwxr-x. 5 jenkins jenkins 50 May 19 05:59 pkg [2021-05-19T06:02:33.609Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 19 05:59 README.md [2021-05-19T06:02:33.609Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 19 05:59 RELEASE-NOTES.txt [2021-05-19T06:02:33.609Z] drwxrwxr-x. 4 jenkins jenkins 54 May 19 05:59 snap [2021-05-19T06:02:33.609Z] -rw-rw-r--. 1 jenkins jenkins 5 May 19 05:57 VERSION [2021-05-19T06:02:33.609Z] -rw-rw-r--. 1 jenkins jenkins 222 May 19 05:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T06:02:33.913Z] + 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=177901c0c2e2fd4e232d0c5d67b34206db6cc66d --label arch=amd64 --label version=0.0.0 . [2021-05-19T06:02:33.913Z] Sending build context to Docker daemon 2.723MB [2021-05-19T06:02:33.913Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T06:02:33.913Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-19T06:02:33.913Z] ---> 68ced58372b6 [2021-05-19T06:02:33.913Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-19T06:02:34.488Z] ---> Running in 016ee34ceb2f [2021-05-19T06:02:34.488Z] Removing intermediate container 016ee34ceb2f [2021-05-19T06:02:34.488Z] ---> 1f2d3dc814f6 [2021-05-19T06:02:34.488Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T06:02:34.752Z] ---> Running in 9b59d7bd7db8 [2021-05-19T06:02:34.752Z] Removing intermediate container 9b59d7bd7db8 [2021-05-19T06:02:34.752Z] ---> 24d77fafbe60 [2021-05-19T06:02:34.752Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T06:02:34.752Z] ---> Running in 5b6008e78ea1 [2021-05-19T06:02:35.328Z] Removing intermediate container 5b6008e78ea1 [2021-05-19T06:02:35.328Z] ---> 1f0de4767e0e [2021-05-19T06:02:35.328Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T06:02:35.328Z] ---> Running in 743ba9781113 [2021-05-19T06:02:35.900Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T06:02:36.115Z] Removing intermediate container 87838a542571 [2021-05-19T06:02:36.115Z] ---> b8a9a98498b4 [2021-05-19T06:02:36.115Z] Successfully built b8a9a98498b4 [2021-05-19T06:02:36.115Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T06:02:36.470Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T06:02:36.470Z] . [Pipeline] withDockerContainer [2021-05-19T06:02:36.714Z] prd-ubuntu18.04-docker-arm64-4c-16g-15018 does not seem to be running inside a container [2021-05-19T06:02:36.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-19T06:02:36.843Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T06:02:37.422Z] OK: 150 MiB in 46 packages [2021-05-19T06:02:37.996Z] Removing intermediate container 743ba9781113 [2021-05-19T06:02:37.996Z] ---> f1cdb4e25073 [2021-05-19T06:02:37.996Z] Step 7/23 : COPY . . [2021-05-19T06:02:38.258Z] ---> 7dbd3e3d68e2 [2021-05-19T06:02:38.258Z] Step 8/23 : RUN go mod download [2021-05-19T06:02:38.258Z] ---> Running in 55071aa94dee [2021-05-19T06:02:38.469Z] $ docker top ec065846ba276f53485cf513ed289054a834376ac90497e147d82483e1e2a57b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T06:02:38.831Z] Removing intermediate container 55071aa94dee [2021-05-19T06:02:38.831Z] ---> 7c2c4ad82621 [2021-05-19T06:02:38.831Z] Step 9/23 : RUN make build [2021-05-19T06:02:38.831Z] ---> Running in ea07f169688d [2021-05-19T06:02:39.414Z] go mod tidy [2021-05-19T06:02:39.414Z] 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-05-19T06:02:39.455Z] + go version [2021-05-19T06:02:39.455Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-19T06:02:39.475Z] $ docker stop --time=1 ec065846ba276f53485cf513ed289054a834376ac90497e147d82483e1e2a57b [2021-05-19T06:02:41.385Z] $ docker rm -f ec065846ba276f53485cf513ed289054a834376ac90497e147d82483e1e2a57b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T06:02:42.213Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T06:02:42.213Z] . [Pipeline] withDockerContainer [2021-05-19T06:02:42.492Z] prd-ubuntu18.04-docker-arm64-4c-16g-15018 does not seem to be running inside a container [2021-05-19T06:02:42.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-19T06:02:44.331Z] $ docker top e131eb96ba8be3ddc4123002ddb2d02d525ffcc5f818228d0d74d569f0057e93 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T06:02:45.325Z] + go mod tidy [Pipeline] sh [2021-05-19T06:02:46.600Z] + make test [2021-05-19T06:02:46.600Z] go mod tidy [2021-05-19T06:02:47.212Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-19T06:02:54.404Z] Removing intermediate container ea07f169688d [2021-05-19T06:02:54.404Z] ---> af4d6e7fb2c9 [2021-05-19T06:02:54.404Z] Step 10/23 : FROM alpine:3.12 [2021-05-19T06:02:54.666Z] 3.12: Pulling from library/alpine [2021-05-19T06:02:54.939Z] 339de151aab4: Pulling fs layer [2021-05-19T06:02:54.939Z] 339de151aab4: Download complete [2021-05-19T06:02:55.206Z] 339de151aab4: Pull complete [2021-05-19T06:02:55.206Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T06:02:55.206Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T06:02:55.468Z] ---> 13621d1b12d4 [2021-05-19T06:02:55.468Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T06:02:55.731Z] ---> Running in 4c5a575c566f [2021-05-19T06:02:55.731Z] Removing intermediate container 4c5a575c566f [2021-05-19T06:02:55.731Z] ---> 86b11a59a7a6 [2021-05-19T06:02:55.731Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T06:02:55.731Z] ---> Running in d90e9473e2c2 [2021-05-19T06:02:56.682Z] Removing intermediate container d90e9473e2c2 [2021-05-19T06:02:56.682Z] ---> a334799ba074 [2021-05-19T06:02:56.682Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-19T06:02:56.682Z] ---> Running in 16b53d831e8b [2021-05-19T06:02:56.945Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-19T06:02:58.340Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-19T06:02:58.605Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-19T06:02:58.868Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-19T06:02:58.868Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-19T06:02:59.134Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-19T06:02:59.134Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-19T06:02:59.396Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T06:02:59.396Z] OK: 8 MiB in 19 packages [2021-05-19T06:02:59.659Z] Removing intermediate container 16b53d831e8b [2021-05-19T06:02:59.659Z] ---> 038f2f061e72 [2021-05-19T06:02:59.659Z] Step 14/23 : WORKDIR / [2021-05-19T06:02:59.926Z] ---> Running in b5c04a75a226 [2021-05-19T06:02:59.926Z] Removing intermediate container b5c04a75a226 [2021-05-19T06:02:59.926Z] ---> 61393197b6fb [2021-05-19T06:02:59.926Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-19T06:03:00.190Z] ---> 6e431218df01 [2021-05-19T06:03:00.190Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-19T06:03:00.451Z] ---> 9a740f5aecbb [2021-05-19T06:03:00.451Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-19T06:03:00.714Z] ---> 4c79345c1923 [2021-05-19T06:03:00.714Z] Step 18/23 : EXPOSE 49990 [2021-05-19T06:03:00.714Z] ---> Running in df0da6a8492f [2021-05-19T06:03:00.976Z] Removing intermediate container df0da6a8492f [2021-05-19T06:03:00.976Z] ---> a86015ddcfb1 [2021-05-19T06:03:00.976Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-19T06:03:00.976Z] ---> Running in eaa3f01ce8e8 [2021-05-19T06:03:00.976Z] Removing intermediate container eaa3f01ce8e8 [2021-05-19T06:03:00.976Z] ---> 2a76788f8b8e [2021-05-19T06:03:00.976Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-19T06:03:00.976Z] ---> Running in b54ef8fe7c7d [2021-05-19T06:03:01.254Z] Removing intermediate container b54ef8fe7c7d [2021-05-19T06:03:01.254Z] ---> 1c960d7b8b7f [2021-05-19T06:03:01.254Z] Step 21/23 : LABEL arch=amd64 [2021-05-19T06:03:01.254Z] ---> Running in b3b0dbfe8ed6 [2021-05-19T06:03:01.254Z] Removing intermediate container b3b0dbfe8ed6 [2021-05-19T06:03:01.254Z] ---> ac40bed5bcda [2021-05-19T06:03:01.254Z] Step 22/23 : LABEL git_sha=177901c0c2e2fd4e232d0c5d67b34206db6cc66d [2021-05-19T06:03:01.254Z] ---> Running in d860228107b0 [2021-05-19T06:03:01.517Z] Removing intermediate container d860228107b0 [2021-05-19T06:03:01.517Z] ---> 6be187cd0b4f [2021-05-19T06:03:01.517Z] Step 23/23 : LABEL version=0.0.0 [2021-05-19T06:03:01.517Z] ---> Running in a700d70bfa46 [2021-05-19T06:03:01.517Z] Removing intermediate container a700d70bfa46 [2021-05-19T06:03:01.517Z] ---> a2748a5cfd76 [2021-05-19T06:03:01.517Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-19T06:03:01.517Z] Successfully built a2748a5cfd76 [2021-05-19T06:03:01.517Z] 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-05-19T06:03:02.328Z] ---> job-cost.sh [2021-05-19T06:03:02.328Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-x1pL [2021-05-19T06:03:12.372Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T06:03:14.046Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-19T06:03:27.359Z] lf-activate-venv(): INFO: Adding /tmp/venv-x1pL/bin to PATH [2021-05-19T06:03:27.359Z] INFO: No Stack... [2021-05-19T06:03:28.309Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T06:03:28.882Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T06:03:29.188Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-19T06:03:29.188Z] + cut -d, -f6 [Pipeline] lock [2021-05-19T06:03:29.224Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] [2021-05-19T06:03:29.234Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] did not exist. Created. [2021-05-19T06:03:29.234Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T06:03:29.561Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-19T06:03:29.647Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T06:03:29.663Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-19T06:04:22.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-19T06:04:22.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-19T06:04:22.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-19T06:04:34.628Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.287s coverage: 25.4% of statements [2021-05-19T06:04:34.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-19T06:04:34.628Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.180s coverage: 28.1% of statements [2021-05-19T06:04:34.628Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.265s coverage: 78.9% of statements [2021-05-19T06:04:34.628Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.223s coverage: 10.7% of statements [2021-05-19T06:04:34.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-19T06:04:34.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-19T06:04:34.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-19T06:04:36.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.300s coverage: 30.2% of statements [2021-05-19T06:04:36.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-19T06:04:38.730Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.197s coverage: 83.3% of statements [2021-05-19T06:04:38.730Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-19T06:04:38.730Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-19T06:04:38.730Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.375s coverage: 58.0% of statements [2021-05-19T06:04:39.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.307s coverage: 89.2% of statements [2021-05-19T06:04:39.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-19T06:04:40.716Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.189s coverage: 5.0% of statements [2021-05-19T06:04:40.716Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-19T06:04:41.309Z] GO111MODULE=on go vet ./... [2021-05-19T06:05:49.381Z] gofmt -l . [2021-05-19T06:05:49.381Z] [ "`gofmt -l .`" = "" ] [2021-05-19T06:05:49.381Z] ./bin/test-attribution-txt.sh [2021-05-19T06:05:49.381Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T06:05:49.398Z] $ docker stop --time=1 e131eb96ba8be3ddc4123002ddb2d02d525ffcc5f818228d0d74d569f0057e93 [2021-05-19T06:05:51.574Z] $ docker rm -f e131eb96ba8be3ddc4123002ddb2d02d525ffcc5f818228d0d74d569f0057e93 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T06:05:52.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T06:05:52.906Z] Warning: overwriting stash ‘coverage-report’ [2021-05-19T06:05:53.932Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T06:05:54.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T06:05:54.860Z] + ls -al . [2021-05-19T06:05:54.860Z] total 248 [2021-05-19T06:05:54.860Z] drwxrwxr-x 10 jenkins jenkins 4096 May 19 06:05 . [2021-05-19T06:05:54.860Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 06:01 .. [2021-05-19T06:05:54.860Z] -rw-rw-r-- 1 jenkins jenkins 140 May 19 06:01 .dockerignore [2021-05-19T06:05:54.860Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 06:01 .git [2021-05-19T06:05:54.860Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 06:01 .github [2021-05-19T06:05:54.860Z] -rw-rw-r-- 1 jenkins jenkins 138 May 19 06:01 .gitignore [2021-05-19T06:05:54.860Z] -rw-rw-r-- 1 jenkins jenkins 987 May 19 06:01 Dockerfile.build [2021-05-19T06:05:54.860Z] -rw-rw-r-- 1 jenkins jenkins 894 May 19 06:01 Jenkinsfile [2021-05-19T06:05:54.860Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 19 06:01 LICENSE [2021-05-19T06:05:54.860Z] -rw-rw-r-- 1 jenkins jenkins 997 May 19 06:01 Makefile [2021-05-19T06:05:54.860Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 19 06:01 README.md [2021-05-19T06:05:54.860Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 19 06:01 RELEASE-NOTES.txt [2021-05-19T06:05:54.860Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 05:57 VERSION [2021-05-19T06:05:54.860Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 06:01 bin [2021-05-19T06:05:54.860Z] -rw-r--r-- 1 jenkins jenkins 126187 May 19 06:04 coverage.out [2021-05-19T06:05:54.860Z] drwxrwxr-x 5 jenkins jenkins 4096 May 19 06:01 example [2021-05-19T06:05:54.860Z] -rw-r--r-- 1 jenkins jenkins 575 May 19 06:05 go.mod [2021-05-19T06:05:54.860Z] -rw-r--r-- 1 jenkins jenkins 20803 May 19 06:02 go.sum [2021-05-19T06:05:54.860Z] drwxrwxr-x 15 jenkins jenkins 4096 May 19 06:01 internal [2021-05-19T06:05:54.860Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 06:01 openapi [2021-05-19T06:05:54.860Z] drwxrwxr-x 5 jenkins jenkins 4096 May 19 06:01 pkg [2021-05-19T06:05:54.860Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 06:01 snap [2021-05-19T06:05:54.860Z] -rw-rw-r-- 1 jenkins jenkins 222 May 19 06:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T06:05:55.263Z] + 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=177901c0c2e2fd4e232d0c5d67b34206db6cc66d --label arch=arm64 --label version=0.0.0 . [2021-05-19T06:05:55.895Z] Sending build context to Docker daemon 2.722MB [2021-05-19T06:05:55.895Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T06:05:55.895Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-19T06:05:55.895Z] ---> b8a9a98498b4 [2021-05-19T06:05:55.895Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-19T06:05:56.489Z] ---> Running in 1bb420b2cc69 [2021-05-19T06:05:56.769Z] Removing intermediate container 1bb420b2cc69 [2021-05-19T06:05:56.769Z] ---> b9b103b3b1f8 [2021-05-19T06:05:56.769Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T06:05:57.043Z] ---> Running in f2a9c71543c8 [2021-05-19T06:05:57.643Z] Removing intermediate container f2a9c71543c8 [2021-05-19T06:05:57.643Z] ---> e529dab976a3 [2021-05-19T06:05:57.643Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T06:05:57.643Z] ---> Running in 8d19257955ef [2021-05-19T06:06:00.271Z] Removing intermediate container 8d19257955ef [2021-05-19T06:06:00.271Z] ---> b0b736e489c8 [2021-05-19T06:06:00.271Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T06:06:00.271Z] ---> Running in 86eaafc4afbf [2021-05-19T06:06:01.701Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T06:06:02.680Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T06:06:03.274Z] OK: 139 MiB in 46 packages [2021-05-19T06:06:04.711Z] Removing intermediate container 86eaafc4afbf [2021-05-19T06:06:04.711Z] ---> 0ffdd78f143b [2021-05-19T06:06:04.711Z] Step 7/23 : COPY . . [2021-05-19T06:06:06.145Z] ---> d70fd995699e [2021-05-19T06:06:06.145Z] Step 8/23 : RUN go mod download [2021-05-19T06:06:06.145Z] ---> Running in 2c0aff8d16fc [2021-05-19T06:06:08.762Z] Removing intermediate container 2c0aff8d16fc [2021-05-19T06:06:08.762Z] ---> d97043e2d458 [2021-05-19T06:06:08.762Z] Step 9/23 : RUN make build [2021-05-19T06:06:08.762Z] ---> Running in f142953c190d [2021-05-19T06:06:10.197Z] go mod tidy [2021-05-19T06:06:10.793Z] 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-05-19T06:06:49.818Z] Removing intermediate container f142953c190d [2021-05-19T06:06:49.818Z] ---> fbf3efe1e38a [2021-05-19T06:06:49.818Z] Step 10/23 : FROM alpine:3.12 [2021-05-19T06:06:49.818Z] 3.12: Pulling from library/alpine [2021-05-19T06:06:49.818Z] d2f70382dc9a: Pulling fs layer [2021-05-19T06:06:49.818Z] d2f70382dc9a: Verifying Checksum [2021-05-19T06:06:49.818Z] d2f70382dc9a: Download complete [2021-05-19T06:06:50.091Z] d2f70382dc9a: Pull complete [2021-05-19T06:06:50.364Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T06:06:50.364Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T06:06:50.364Z] ---> 9852663dfa18 [2021-05-19T06:06:50.364Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T06:06:50.637Z] ---> Running in 65cbf0de2c43 [2021-05-19T06:06:50.910Z] Removing intermediate container 65cbf0de2c43 [2021-05-19T06:06:50.910Z] ---> cdf8745b361c [2021-05-19T06:06:50.910Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T06:06:51.185Z] ---> Running in 80623c799f94 [2021-05-19T06:06:53.202Z] Removing intermediate container 80623c799f94 [2021-05-19T06:06:53.202Z] ---> 0e5fe496a21d [2021-05-19T06:06:53.202Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-19T06:06:53.202Z] ---> Running in 1e077210ea67 [2021-05-19T06:06:54.643Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-19T06:06:55.243Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-19T06:06:56.224Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-19T06:06:56.224Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-19T06:06:56.224Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-19T06:06:56.224Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-19T06:06:56.575Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-19T06:06:56.575Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T06:06:56.575Z] OK: 8 MiB in 19 packages [2021-05-19T06:06:58.005Z] Removing intermediate container 1e077210ea67 [2021-05-19T06:06:58.005Z] ---> e4ad542377bb [2021-05-19T06:06:58.005Z] Step 14/23 : WORKDIR / [2021-05-19T06:06:58.005Z] ---> Running in 763584705b0e [2021-05-19T06:06:58.645Z] Removing intermediate container 763584705b0e [2021-05-19T06:06:58.645Z] ---> 48b1652a7ca1 [2021-05-19T06:06:58.645Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-19T06:06:59.247Z] ---> 2832ad932794 [2021-05-19T06:06:59.247Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-19T06:07:00.687Z] ---> a593f31e7c05 [2021-05-19T06:07:00.687Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-19T06:07:01.670Z] ---> 7eae4ee9fc39 [2021-05-19T06:07:01.670Z] Step 18/23 : EXPOSE 49990 [2021-05-19T06:07:01.670Z] ---> Running in dd79f5ed3ef3 [2021-05-19T06:07:02.269Z] Removing intermediate container dd79f5ed3ef3 [2021-05-19T06:07:02.269Z] ---> 59b84ac4975a [2021-05-19T06:07:02.269Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-19T06:07:02.269Z] ---> Running in 9b40b704de1d [2021-05-19T06:07:02.868Z] Removing intermediate container 9b40b704de1d [2021-05-19T06:07:02.868Z] ---> 093c21872bfe [2021-05-19T06:07:02.868Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-19T06:07:02.868Z] ---> Running in 71145cc3e4c7 [2021-05-19T06:07:03.480Z] Removing intermediate container 71145cc3e4c7 [2021-05-19T06:07:03.480Z] ---> d01db05f1a6a [2021-05-19T06:07:03.480Z] Step 21/23 : LABEL arch=arm64 [2021-05-19T06:07:03.480Z] ---> Running in e6df1bf7c070 [2021-05-19T06:07:04.079Z] Removing intermediate container e6df1bf7c070 [2021-05-19T06:07:04.079Z] ---> a67557287c2e [2021-05-19T06:07:04.079Z] Step 22/23 : LABEL git_sha=177901c0c2e2fd4e232d0c5d67b34206db6cc66d [2021-05-19T06:07:04.357Z] ---> Running in a17e3b679a6b [2021-05-19T06:07:04.632Z] Removing intermediate container a17e3b679a6b [2021-05-19T06:07:04.632Z] ---> 4deb44123f41 [2021-05-19T06:07:04.632Z] Step 23/23 : LABEL version=0.0.0 [2021-05-19T06:07:04.906Z] ---> Running in ee9cbf7e27d1 [2021-05-19T06:07:05.506Z] Removing intermediate container ee9cbf7e27d1 [2021-05-19T06:07:05.506Z] ---> 68cf49ef557e [2021-05-19T06:07:05.506Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-19T06:07:05.506Z] Successfully built 68cf49ef557e [2021-05-19T06:07:05.506Z] 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-05-19T06:07:06.166Z] ---> job-cost.sh [2021-05-19T06:07:06.166Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QAqV [2021-05-19T06:07:53.119Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T06:09:29.874Z] lf-activate-venv(): INFO: Adding /tmp/venv-QAqV/bin to PATH [2021-05-19T06:09:29.874Z] INFO: No Stack... [2021-05-19T06:09:29.874Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-19T06:09:30.148Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T06:09:30.577Z] + + cut -d, -f6 [2021-05-19T06:09:30.577Z] cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-05-19T06:09:30.650Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] [2021-05-19T06:09:30.664Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] did not exist. Created. [2021-05-19T06:09:30.664Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T06:09:31.064Z] /w/workspace/device-sdk-go/2@tmp/durable-e0759ae7/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-e0759ae7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-19T06:09:31.446Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-19T06:09:31.469Z] Warning: overwriting stash ‘stack-cost’ [2021-05-19T06:09:31.654Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T06:09:31.668Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-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-05-19T06:09:32.413Z] provisioning config files... [2021-05-19T06:09:32.422Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config2686753978586724716tmp [Pipeline] { [Pipeline] sh [2021-05-19T06:09:32.745Z] + set +x [2021-05-19T06:09:32.745Z] + curl -s https://codecov.io/bash [2021-05-19T06:09:32.745Z] + bash -s -- [2021-05-19T06:09:32.745Z] [2021-05-19T06:09:32.745Z] _____ _ [2021-05-19T06:09:32.745Z] / ____| | | [2021-05-19T06:09:32.745Z] | | ___ __| | ___ ___ _____ __ [2021-05-19T06:09:32.745Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-19T06:09:32.745Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-19T06:09:32.745Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-19T06:09:32.745Z] Bash-1.0.2 [2021-05-19T06:09:32.745Z] [2021-05-19T06:09:32.745Z] [2021-05-19T06:09:32.745Z] ==> git version 2.24.4 found [2021-05-19T06:09:32.745Z] ==> 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-05-19T06:09:32.745Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-19T06:09:32.745Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-19T06:09:32.745Z] ==> Jenkins CI detected. [2021-05-19T06:09:32.745Z] project root: . [2021-05-19T06:09:32.745Z] --> token set from env [2021-05-19T06:09:32.745Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-19T06:09:32.745Z] ==> Running gcov in . (disable via -X gcov) [2021-05-19T06:09:32.745Z] ==> Python coveragepy not found [2021-05-19T06:09:32.745Z] ==> Searching for coverage reports in: [2021-05-19T06:09:32.745Z] + . [2021-05-19T06:09:32.745Z] -> Found 1 reports [2021-05-19T06:09:32.745Z] ==> Detecting git/mercurial file structure [2021-05-19T06:09:32.745Z] ==> Reading reports [2021-05-19T06:09:32.745Z] + ./coverage.out bytes=126187 [2021-05-19T06:09:33.009Z] ==> Appending adjustments [2021-05-19T06:09:33.009Z] https://docs.codecov.io/docs/fixing-reports [2021-05-19T06:09:33.009Z] + Found adjustments [2021-05-19T06:09:33.009Z] ==> Gzipping contents [2021-05-19T06:09:33.272Z] 20K /tmp/codecov.EgVGbg.gz [2021-05-19T06:09:33.272Z] ==> Uploading reports [2021-05-19T06:09:33.272Z] url: https://codecov.io [2021-05-19T06:09:33.272Z] query: branch=PR-934&commit=177901c0c2e2fd4e232d0c5d67b34206db6cc66d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-19T06:09:33.272Z] -> Pinging Codecov [2021-05-19T06:09:33.272Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-934&commit=177901c0c2e2fd4e232d0c5d67b34206db6cc66d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-19T06:09:33.845Z] -> Uploading to [2021-05-19T06:09:33.845Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-19/7E55EF52A471D76F132DFD9A03CDDE97/177901c0c2e2fd4e232d0c5d67b34206db6cc66d/cf671950-9260-4f46-b1eb-983bb374184f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210519T060933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=244a306c8f5b25f1bc4b327e8c1d6f7e044bdb9e7da10cd142e6bd3fce7328b2 [2021-05-19T06:09:33.845Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-19T06:09:33.845Z] Dload Upload Total Spent Left Speed [2021-05-19T06:09:34.106Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16518 0 0 100 16518 0 49440 --:--:-- --:--:-- --:--:-- 49603 [2021-05-19T06:09:34.369Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/177901c0c2e2fd4e232d0c5d67b34206db6cc66d [Pipeline] } [2021-05-19T06:09:34.381Z] 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-05-19T06:09:35.929Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T06:09:36.867Z] ---> package-listing.sh [2021-05-19T06:09:36.867Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-19T06:09:36.867Z] ++ facter osfamily [2021-05-19T06:09:36.867Z] + OS_FAMILY=redhat [2021-05-19T06:09:36.867Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-19T06:09:36.867Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-19T06:09:36.867Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-19T06:09:36.867Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-19T06:09:36.867Z] + PACKAGES=/tmp/packages_start.txt [2021-05-19T06:09:36.867Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-19T06:09:36.867Z] + PACKAGES=/tmp/packages_end.txt [2021-05-19T06:09:36.867Z] + case "${OS_FAMILY}" in [2021-05-19T06:09:36.867Z] + sort [2021-05-19T06:09:37.135Z] + rpm -qa [2021-05-19T06:09:37.727Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-19T06:09:37.727Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-19T06:09:37.727Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-19T06:09:37.727Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-19T06:09:37.727Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [2021-05-19T06:09:37.727Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [Pipeline] echo [2021-05-19T06:09:37.740Z] 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-934/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-19T06:09:38.025Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-19T06:09:38.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T06:09:38.591Z] [2021-05-19T06:09:38.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-19T06:09:38.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T06:09:38.902Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-19T06:09:38.902Z] df20fa9351a1: Pulling fs layer [2021-05-19T06:09:38.902Z] 36b3adc4ff6f: Pulling fs layer [2021-05-19T06:09:38.902Z] 8ad3a11d3b57: Pulling fs layer [2021-05-19T06:09:38.902Z] 46f8f816bc3b: Pulling fs layer [2021-05-19T06:09:38.902Z] 93b61091891f: Pulling fs layer [2021-05-19T06:09:38.902Z] 93b9cdb0e59b: Pulling fs layer [2021-05-19T06:09:38.902Z] 5e14af77c1be: Pulling fs layer [2021-05-19T06:09:38.902Z] 01666e4c0597: Pulling fs layer [2021-05-19T06:09:38.902Z] aa168da1d23b: Pulling fs layer [2021-05-19T06:09:38.902Z] 93b9cdb0e59b: Waiting [2021-05-19T06:09:38.902Z] 5e14af77c1be: Waiting [2021-05-19T06:09:38.902Z] 01666e4c0597: Waiting [2021-05-19T06:09:38.902Z] aa168da1d23b: Waiting [2021-05-19T06:09:38.902Z] 46f8f816bc3b: Waiting [2021-05-19T06:09:38.902Z] 93b61091891f: Waiting [2021-05-19T06:09:38.902Z] 36b3adc4ff6f: Verifying Checksum [2021-05-19T06:09:38.902Z] 36b3adc4ff6f: Download complete [2021-05-19T06:09:38.902Z] 46f8f816bc3b: Verifying Checksum [2021-05-19T06:09:38.902Z] 46f8f816bc3b: Download complete [2021-05-19T06:09:39.170Z] df20fa9351a1: Verifying Checksum [2021-05-19T06:09:39.170Z] df20fa9351a1: Download complete [2021-05-19T06:09:39.170Z] 93b9cdb0e59b: Verifying Checksum [2021-05-19T06:09:39.170Z] 93b9cdb0e59b: Download complete [2021-05-19T06:09:39.170Z] 5e14af77c1be: Verifying Checksum [2021-05-19T06:09:39.170Z] 5e14af77c1be: Download complete [2021-05-19T06:09:39.170Z] 01666e4c0597: Verifying Checksum [2021-05-19T06:09:39.170Z] 01666e4c0597: Download complete [2021-05-19T06:09:39.170Z] 93b61091891f: Verifying Checksum [2021-05-19T06:09:39.170Z] 93b61091891f: Download complete [2021-05-19T06:09:39.170Z] 8ad3a11d3b57: Verifying Checksum [2021-05-19T06:09:39.170Z] 8ad3a11d3b57: Download complete [2021-05-19T06:09:39.170Z] df20fa9351a1: Pull complete [2021-05-19T06:09:39.436Z] 36b3adc4ff6f: Pull complete [2021-05-19T06:09:40.034Z] 8ad3a11d3b57: Pull complete [2021-05-19T06:09:40.034Z] 46f8f816bc3b: Pull complete [2021-05-19T06:09:40.295Z] 93b61091891f: Pull complete [2021-05-19T06:09:40.560Z] 93b9cdb0e59b: Pull complete [2021-05-19T06:09:40.820Z] 5e14af77c1be: Pull complete [2021-05-19T06:09:41.087Z] 01666e4c0597: Pull complete [2021-05-19T06:09:41.087Z] aa168da1d23b: Verifying Checksum [2021-05-19T06:09:41.087Z] aa168da1d23b: Download complete [2021-05-19T06:09:45.330Z] aa168da1d23b: Pull complete [2021-05-19T06:09:45.330Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-19T06:09:45.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T06:09:45.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-19T06:09:45.408Z] prd-centos7-docker-4c-2g-15014 does not seem to be running inside a container [2021-05-19T06:09:45.453Z] $ 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-934/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-934 -v /w/workspace/dgexfoundry_device-sdk-go_PR-934:/w/workspace/dgexfoundry_device-sdk-go_PR-934:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-19T06:09:48.917Z] $ docker top 1520c5abcdc454ad0137cbdeb7416cacb3fa88a412093477772107abaeb41a23 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T06:09:49.285Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-19T06:09:49.599Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-19T06:09:49.895Z] + ls /var/log/sa-host [2021-05-19T06:09:49.895Z] + sadf -c /var/log/sa-host/sa05 [2021-05-19T06:09:49.895Z] file_magic: OK [2021-05-19T06:09:49.895Z] HZ: Using current value: 100 [2021-05-19T06:09:49.895Z] file_header: OK [2021-05-19T06:09:49.895Z] 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-05-19T06:09:49.895Z] Statistics: [2021-05-19T06:09:49.895Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-19T06:09:49.895Z] File successfully converted to sysstat format version 12.2.1 [2021-05-19T06:09:49.895Z] + sadf -c /var/log/sa-host/sa19 [2021-05-19T06:09:49.895Z] file_magic: OK [2021-05-19T06:09:49.895Z] HZ: Using current value: 100 [2021-05-19T06:09:49.895Z] file_header: OK [2021-05-19T06:09:49.895Z] 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-05-19T06:09:49.895Z] Statistics: [2021-05-19T06:09:49.895Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-19T06:09:49.895Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T06:09:50.479Z] provisioning config files... [2021-05-19T06:09:50.492Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config3991639724228497147tmp [Pipeline] { [Pipeline] echo [2021-05-19T06:09:50.520Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T06:09:50.818Z] ---> create-netrc.sh [Pipeline] } [2021-05-19T06:09:50.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-19T06:09:50.854Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T06:09:51.162Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-19T06:09:51.173Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T06:09:51.470Z] ---> sudo-logs.sh [2021-05-19T06:09:51.470Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-19T06:09:51.522Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T06:09:51.825Z] ---> job-cost.sh [2021-05-19T06:09:51.825Z] lf-activate-venv: SKIPPING [2021-05-19T06:09:51.825Z] DEBUG: total: 0.18000000715255737 [2021-05-19T06:09:51.825Z] INFO: Retrieving Stack Cost... [2021-05-19T06:09:52.409Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T06:09:52.987Z] INFO: Archiving Costs [Pipeline] echo [2021-05-19T06:09:53.041Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T06:09:53.353Z] ---> logs-deploy.sh [2021-05-19T06:09:53.353Z] lf-activate-venv: SKIPPING [2021-05-19T06:09:53.353Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-934/2 [2021-05-19T06:09:53.353Z] INFO: archiving workspace using pattern(s): [2021-05-19T06:09:54.302Z] Archives upload complete. [2021-05-19T06:09:54.302Z] INFO: archiving logs to Nexus