Branch indexing 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+e8c677d1df210277adef4aff331a8a81997773cd (bd1bb4ac38bf2a5b081d0c02fde01c44531b41e3) 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-ssh5891404740901300110.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-ssh1515218579075816337.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-ssh6298462138667531440.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-ssh8863044102675571149.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-ssh8895486814694782410.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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-15446 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-ssh8758553891883295484.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d Merge succeeded, producing 5164ea9e726790b501f7b36c6ae4d069831e8574 Checking out Revision 5164ea9e726790b501f7b36c6ae4d069831e8574 (PR-934) > 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-ssh6605197958414562304.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 > 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-ssh6629517333453116042.key > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5164ea9e726790b501f7b36c6ae4d069831e8574 # timeout=10 Commit message: "Merge commit 'e8c677d1df210277adef4aff331a8a81997773cd' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-21T02:42:34.203Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-21T02:42:34.292Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-21T02:42:34.323Z] ========================================================= [2021-05-21T02:42:34.323Z] EdgeX Global Pipelines Version Info [2021-05-21T02:42:34.323Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 29b7ac85919d660d2d3a0656b7fa39e6daad8d1a # timeout=10 [2021-05-21T02:42:35.808Z] ------------------- [2021-05-21T02:42:35.808Z] stable info: [2021-05-21T02:42:35.808Z] ------------------- [2021-05-21T02:42:35.808Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-21T02:42:35.808Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T02:42:35.808Z] Message: update stable to v1.0.192 [2021-05-21T02:42:36.382Z] ------------------- [2021-05-21T02:42:36.382Z] experimental info: [2021-05-21T02:42:36.382Z] ------------------- [2021-05-21T02:42:36.382Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-21T02:42:36.382Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T02:42:36.382Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-21T02:42:36.519Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-21T02:42:36.550Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-21T02:42:36.580Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-21T02:42:36.610Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-21T02:42:36.640Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-21T02:42:36.673Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-21T02:42:36.709Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-21T02:42:36.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-21T02:42:36.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-21T02:42:36.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-21T02:42:36.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-21T02:42:36.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-21T02:42:36.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-21T02:42:36.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-21T02:42:37.010Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-21T02:42:37.071Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T02:42:37.122Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T02:42:37.145Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T02:42:37.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-21T02:42:37.192Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-21T02:42:37.216Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-21T02:42:37.239Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-21T02:42:37.263Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-21T02:42:37.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-21T02:42:37.311Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-21T02:42:37.337Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-21T02:42:37.361Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-934 [Pipeline] echo [2021-05-21T02:42:37.386Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-934 [Pipeline] echo [2021-05-21T02:42:37.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-934 [Pipeline] echo [2021-05-21T02:42:37.459Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5164ea9e726790b501f7b36c6ae4d069831e8574 [Pipeline] echo [2021-05-21T02:42:37.483Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5164ea9 [Pipeline] echo [2021-05-21T02:42:37.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T02:42:37.603Z] provisioning config files... [2021-05-21T02:42:37.621Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config941946060728496775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:42:37.966Z] ---> docker-login.sh [2021-05-21T02:42:37.966Z] nexus3.edgexfoundry.org:10001 [2021-05-21T02:42:38.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:42:38.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:42:38.799Z] Configure a credential helper to remove this warning. See [2021-05-21T02:42:38.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:42:38.799Z] [2021-05-21T02:42:38.799Z] Login Succeeded [2021-05-21T02:42:38.799Z] nexus3.edgexfoundry.org:10002 [2021-05-21T02:42:38.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:42:38.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:42:38.799Z] Configure a credential helper to remove this warning. See [2021-05-21T02:42:38.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:42:38.799Z] [2021-05-21T02:42:38.799Z] Login Succeeded [2021-05-21T02:42:38.799Z] nexus3.edgexfoundry.org:10003 [2021-05-21T02:42:38.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:42:39.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:42:39.063Z] Configure a credential helper to remove this warning. See [2021-05-21T02:42:39.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:42:39.063Z] [2021-05-21T02:42:39.063Z] Login Succeeded [2021-05-21T02:42:39.063Z] nexus3.edgexfoundry.org:10004 [2021-05-21T02:42:39.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:42:39.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:42:39.063Z] Configure a credential helper to remove this warning. See [2021-05-21T02:42:39.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:42:39.063Z] [2021-05-21T02:42:39.063Z] Login Succeeded [2021-05-21T02:42:39.063Z] docker.io [2021-05-21T02:42:39.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:42:39.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:42:39.634Z] Configure a credential helper to remove this warning. See [2021-05-21T02:42:39.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:42:39.634Z] [2021-05-21T02:42:39.634Z] Login Succeeded [2021-05-21T02:42:39.634Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T02:42:39.644Z] 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-21T02:42:40.223Z] + git log --format=format:%s -1 5164ea9e726790b501f7b36c6ae4d069831e8574 [Pipeline] echo [2021-05-21T02:42:40.276Z] GIT_COMMIT: 5164ea9e726790b501f7b36c6ae4d069831e8574, Commit Message: Merge commit 'e8c677d1df210277adef4aff331a8a81997773cd' into HEAD [Pipeline] echo [2021-05-21T02:42:40.291Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:42:41.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T02:42:41.349Z] [2021-05-21T02:42:41.349Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:42:41.664Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T02:42:41.932Z] latest: Pulling from edgex-devops/git-semver [2021-05-21T02:42:41.933Z] 31603596830f: Pulling fs layer [2021-05-21T02:42:41.933Z] 54011a49482f: Pulling fs layer [2021-05-21T02:42:41.933Z] a6820b24f6d8: Pulling fs layer [2021-05-21T02:42:41.933Z] f581987b2513: Pulling fs layer [2021-05-21T02:42:41.933Z] f581987b2513: Waiting [2021-05-21T02:42:41.933Z] 54011a49482f: Verifying Checksum [2021-05-21T02:42:41.933Z] 54011a49482f: Download complete [2021-05-21T02:42:41.933Z] 31603596830f: Verifying Checksum [2021-05-21T02:42:41.933Z] 31603596830f: Download complete [2021-05-21T02:42:42.195Z] a6820b24f6d8: Verifying Checksum [2021-05-21T02:42:42.195Z] a6820b24f6d8: Download complete [2021-05-21T02:42:42.195Z] f581987b2513: Verifying Checksum [2021-05-21T02:42:42.195Z] f581987b2513: Download complete [2021-05-21T02:42:42.195Z] 31603596830f: Pull complete [2021-05-21T02:42:42.456Z] 54011a49482f: Pull complete [2021-05-21T02:42:43.027Z] a6820b24f6d8: Pull complete [2021-05-21T02:42:43.971Z] f581987b2513: Pull complete [2021-05-21T02:42:43.971Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-21T02:42:43.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T02:42:43.971Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-21T02:42:44.050Z] prd-centos7-docker-4c-2g-15446 does not seem to be running inside a container [2021-05-21T02:42:44.093Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-21T02:42:46.529Z] $ docker top be63a1287254071cb6d135dd15489f0b4ccdcd9bc7a8370e0616eb2d1cd8e3c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-21T02:42:46.668Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T02:42:46.668Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T02:42:46.782Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T02:42:46.786Z] $ docker exec be63a1287254071cb6d135dd15489f0b4ccdcd9bc7a8370e0616eb2d1cd8e3c9 ssh-agent [2021-05-21T02:42:46.893Z] SSH_AUTH_SOCK=/tmp/ssh-H5iMMxrhdDN3/agent.14 [2021-05-21T02:42:46.893Z] SSH_AGENT_PID=21 [2021-05-21T02:42:46.901Z] Running ssh-add (command line suppressed) [2021-05-21T02:42:47.003Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_1854909076287905903.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_1854909076287905903.key) [2021-05-21T02:42:47.017Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T02:42:47.345Z] + git tag --points-at HEAD [Pipeline] } [2021-05-21T02:42:47.377Z] $ docker exec --env ******** --env ******** be63a1287254071cb6d135dd15489f0b4ccdcd9bc7a8370e0616eb2d1cd8e3c9 ssh-agent -k [2021-05-21T02:42:47.471Z] unset SSH_AUTH_SOCK; [2021-05-21T02:42:47.472Z] unset SSH_AGENT_PID; [2021-05-21T02:42:47.472Z] echo Agent pid 21 killed; [2021-05-21T02:42:47.484Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-21T02:42:47.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T02:42:47.534Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T02:42:47.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T02:42:47.661Z] $ docker exec be63a1287254071cb6d135dd15489f0b4ccdcd9bc7a8370e0616eb2d1cd8e3c9 ssh-agent [2021-05-21T02:42:47.775Z] SSH_AUTH_SOCK=/tmp/ssh-v4NlIIdBDy6C/agent.54 [2021-05-21T02:42:47.775Z] SSH_AGENT_PID=60 [2021-05-21T02:42:47.784Z] Running ssh-add (command line suppressed) [2021-05-21T02:42:47.877Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_2535231544913525567.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_2535231544913525567.key) [2021-05-21T02:42:47.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T02:42:48.201Z] + git semver init [2021-05-21T02:42:48.201Z] # -> Open(): unable to determine branch for HEAD [2021-05-21T02:42:48.201Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.git [2021-05-21T02:42:48.201Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-21T02:42:48.201Z] # $SEMVER_REMOTE_NAME = origin [2021-05-21T02:42:48.201Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-21T02:42:48.201Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-21T02:42:48.201Z] # $SEMVER_BRANCH = PR-934 [2021-05-21T02:42:48.201Z] # $SEMVER_TEMP = /tmp/semver-549749494 [2021-05-21T02:42:48.201Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-21T02:42:48.777Z] # '/tmp/semver-549749494' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver' [2021-05-21T02:42:48.777Z] # -> Force: false [2021-05-21T02:42:48.777Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver [Pipeline] } [2021-05-21T02:42:48.789Z] $ docker exec --env ******** --env ******** be63a1287254071cb6d135dd15489f0b4ccdcd9bc7a8370e0616eb2d1cd8e3c9 ssh-agent -k [2021-05-21T02:42:48.905Z] unset SSH_AUTH_SOCK; [2021-05-21T02:42:48.905Z] unset SSH_AGENT_PID; [2021-05-21T02:42:48.905Z] echo Agent pid 60 killed; [2021-05-21T02:42:48.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-21T02:42:49.242Z] + git semver [Pipeline] } [2021-05-21T02:42:49.258Z] $ docker stop --time=1 be63a1287254071cb6d135dd15489f0b4ccdcd9bc7a8370e0616eb2d1cd8e3c9 [2021-05-21T02:42:50.968Z] $ docker rm -f be63a1287254071cb6d135dd15489f0b4ccdcd9bc7a8370e0616eb2d1cd8e3c9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T02:42:51.360Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-21T02:42:51.621Z] Stashed 1 file(s) [Pipeline] echo [2021-05-21T02:42:51.625Z] [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-21T02:43:06.873Z] Still waiting to schedule task [2021-05-21T02:43:06.874Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-21T02:43:06.876Z] Still waiting to schedule task [2021-05-21T02:43:06.877Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-21T02:44:21.189Z] Running on prd-centos7-docker-4c-2g-15449 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-21T02:44:21.208Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-05-21T02:44:21.308Z] Selected Git installation does not exist. Using Default [2021-05-21T02:44:21.308Z] The recommended git tool is: NONE [2021-05-21T02:44:23.584Z] using credential edgex-jenkins-ssh [2021-05-21T02:44:23.597Z] Cloning the remote Git repository [2021-05-21T02:44:23.422Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:44:23.497Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-05-21T02:44:23.525Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:44:23.525Z] > git --version # timeout=10 [2021-05-21T02:44:23.533Z] > git --version # 'git version 2.24.4' [2021-05-21T02:44:23.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:44:23.554Z] [INFO] Currently running in a labeled security context [2021-05-21T02:44:23.555Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T02:44:23.556Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh4045115834083140004.key [2021-05-21T02:44:23.564Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T02:44:24.232Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T02:44:24.243Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T02:44:24.255Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T02:44:24.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:44:24.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:44:24.270Z] [INFO] Currently running in a labeled security context [2021-05-21T02:44:24.270Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T02:44:24.270Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh4201506058440185060.key [2021-05-21T02:44:24.282Z] > 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-21T02:44:24.975Z] Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [2021-05-21T02:44:25.062Z] Merge succeeded, producing ba1e872fcb4e19b9245c97ec4ed9c3de7f683d69 [2021-05-21T02:44:25.063Z] Checking out Revision ba1e872fcb4e19b9245c97ec4ed9c3de7f683d69 (PR-934) [2021-05-21T02:44:24.810Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T02:44:24.820Z] > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [2021-05-21T02:44:24.854Z] > git remote # timeout=10 [2021-05-21T02:44:24.858Z] > git config --get remote.origin.url # timeout=10 [2021-05-21T02:44:24.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:44:24.863Z] [INFO] Currently running in a labeled security context [2021-05-21T02:44:24.863Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T02:44:24.864Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh2859902880911151419.key [2021-05-21T02:44:24.870Z] > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 [2021-05-21T02:44:24.890Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-21T02:44:24.899Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T02:44:24.905Z] > git checkout -f ba1e872fcb4e19b9245c97ec4ed9c3de7f683d69 # timeout=10 [2021-05-21T02:44:28.490Z] Commit message: "Merge commit 'e8c677d1df210277adef4aff331a8a81997773cd' into HEAD" [2021-05-21T02:44:28.505Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T02:44:29.491Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-05-21T02:44:28.495Z] > git rev-list --no-walk 29b7ac85919d660d2d3a0656b7fa39e6daad8d1a # timeout=10 [Pipeline] sh [2021-05-21T02:44:29.826Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T02:44:30.134Z] + sudo service docker restart [2021-05-21T02:44:30.134Z] + true [2021-05-21T02:44:30.134Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T02:44:48.299Z] provisioning config files... [2021-05-21T02:44:48.314Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3030205925160520088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:44:48.642Z] ---> docker-login.sh [2021-05-21T02:44:48.642Z] nexus3.edgexfoundry.org:10001 [2021-05-21T02:44:48.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:44:48.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:44:48.904Z] Configure a credential helper to remove this warning. See [2021-05-21T02:44:48.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:44:48.904Z] [2021-05-21T02:44:48.904Z] Login Succeeded [2021-05-21T02:44:48.904Z] nexus3.edgexfoundry.org:10002 [2021-05-21T02:44:48.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:44:48.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:44:48.904Z] Configure a credential helper to remove this warning. See [2021-05-21T02:44:48.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:44:48.904Z] [2021-05-21T02:44:48.904Z] Login Succeeded [2021-05-21T02:44:48.904Z] nexus3.edgexfoundry.org:10003 [2021-05-21T02:44:48.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:44:49.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:44:49.170Z] Configure a credential helper to remove this warning. See [2021-05-21T02:44:49.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:44:49.170Z] [2021-05-21T02:44:49.170Z] Login Succeeded [2021-05-21T02:44:49.170Z] nexus3.edgexfoundry.org:10004 [2021-05-21T02:44:49.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:44:49.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:44:49.170Z] Configure a credential helper to remove this warning. See [2021-05-21T02:44:49.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:44:49.170Z] [2021-05-21T02:44:49.170Z] Login Succeeded [2021-05-21T02:44:49.170Z] docker.io [2021-05-21T02:44:49.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:44:49.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:44:49.691Z] Configure a credential helper to remove this warning. See [2021-05-21T02:44:49.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:44:49.691Z] [2021-05-21T02:44:49.691Z] Login Succeeded [2021-05-21T02:44:49.691Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T02:44:49.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-21T02:44:49.847Z] ========================================================= [2021-05-21T02:44:49.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-21T02:44:49.847Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:44:50.168Z] + 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-21T02:44:50.169Z] Sending build context to Docker daemon 2.6MB [2021-05-21T02:44:50.169Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T02:44:50.169Z] Step 2/8 : FROM ${BASE} [2021-05-21T02:44:50.169Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-21T02:44:50.169Z] 540db60ca938: Pulling fs layer [2021-05-21T02:44:50.169Z] adcc1eea9eea: Pulling fs layer [2021-05-21T02:44:50.169Z] 4c4ab2625f07: Pulling fs layer [2021-05-21T02:44:50.169Z] 0510c868ecb4: Pulling fs layer [2021-05-21T02:44:50.169Z] afea3b2eda06: Pulling fs layer [2021-05-21T02:44:50.169Z] 7809a108b3ef: Pulling fs layer [2021-05-21T02:44:50.169Z] f706445af74f: Pulling fs layer [2021-05-21T02:44:50.169Z] 0510c868ecb4: Waiting [2021-05-21T02:44:50.169Z] afea3b2eda06: Waiting [2021-05-21T02:44:50.169Z] 7809a108b3ef: Waiting [2021-05-21T02:44:50.169Z] f706445af74f: Waiting [2021-05-21T02:44:50.437Z] 4c4ab2625f07: Verifying Checksum [2021-05-21T02:44:50.437Z] 4c4ab2625f07: Download complete [2021-05-21T02:44:50.437Z] adcc1eea9eea: Verifying Checksum [2021-05-21T02:44:50.437Z] adcc1eea9eea: Download complete [2021-05-21T02:44:50.437Z] afea3b2eda06: Verifying Checksum [2021-05-21T02:44:50.437Z] afea3b2eda06: Download complete [2021-05-21T02:44:50.437Z] 7809a108b3ef: Verifying Checksum [2021-05-21T02:44:50.437Z] 7809a108b3ef: Download complete [2021-05-21T02:44:50.437Z] 540db60ca938: Verifying Checksum [2021-05-21T02:44:50.437Z] 540db60ca938: Download complete [2021-05-21T02:44:50.437Z] 540db60ca938: Pull complete [2021-05-21T02:44:50.698Z] adcc1eea9eea: Pull complete [2021-05-21T02:44:50.960Z] 4c4ab2625f07: Pull complete [2021-05-21T02:44:52.348Z] f706445af74f: Verifying Checksum [2021-05-21T02:44:52.348Z] f706445af74f: Download complete [2021-05-21T02:44:52.610Z] 0510c868ecb4: Verifying Checksum [2021-05-21T02:44:52.610Z] 0510c868ecb4: Download complete [2021-05-21T02:44:55.937Z] 0510c868ecb4: Pull complete [2021-05-21T02:44:55.937Z] afea3b2eda06: Pull complete [2021-05-21T02:44:55.937Z] 7809a108b3ef: Pull complete [2021-05-21T02:44:57.340Z] f706445af74f: Pull complete [2021-05-21T02:44:57.340Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-21T02:44:57.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-21T02:44:57.340Z] ---> b068be0155e3 [2021-05-21T02:44:57.340Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:45:00.651Z] ---> Running in fce466bc8dc8 [2021-05-21T02:45:00.651Z] Removing intermediate container fce466bc8dc8 [2021-05-21T02:45:00.651Z] ---> e96f74755446 [2021-05-21T02:45:00.651Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:45:00.651Z] ---> Running in a1ed7da409c5 [2021-05-21T02:45:01.224Z] Removing intermediate container a1ed7da409c5 [2021-05-21T02:45:01.224Z] ---> 0e08f6d3f38f [2021-05-21T02:45:01.224Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-21T02:45:01.224Z] ---> Running in de1c6ba2852c [2021-05-21T02:45:01.487Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T02:45:02.440Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T02:45:02.711Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-21T02:45:02.711Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-21T02:45:02.972Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-21T02:45:02.972Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-21T02:45:02.972Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-21T02:45:03.234Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-21T02:45:03.234Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T02:45:03.234Z] OK: 150 MiB in 46 packages [2021-05-21T02:45:03.498Z] Removing intermediate container de1c6ba2852c [2021-05-21T02:45:03.498Z] ---> 63d3af3b239a [2021-05-21T02:45:03.498Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-21T02:45:03.498Z] ---> Running in 79b0ec09c0e3 [2021-05-21T02:45:03.760Z] Removing intermediate container 79b0ec09c0e3 [2021-05-21T02:45:03.760Z] ---> 971faf66ea04 [2021-05-21T02:45:03.760Z] Step 7/8 : COPY . . [2021-05-21T02:45:04.022Z] ---> af7aedf5fb37 [2021-05-21T02:45:04.022Z] Step 8/8 : RUN go mod download [2021-05-21T02:45:04.022Z] ---> Running in cfddc538fadc [2021-05-21T02:45:09.750Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15448 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-21T02:45:09.771Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-05-21T02:45:09.977Z] Selected Git installation does not exist. Using Default [2021-05-21T02:45:09.977Z] The recommended git tool is: NONE [2021-05-21T02:45:15.241Z] using credential edgex-jenkins-ssh [2021-05-21T02:45:15.259Z] Cloning the remote Git repository [2021-05-21T02:45:15.297Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:45:15.403Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-05-21T02:45:15.476Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:45:15.477Z] > git --version # timeout=10 [2021-05-21T02:45:15.493Z] > git --version # 'git version 2.17.1' [2021-05-21T02:45:15.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:45:15.630Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T02:45:16.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T02:45:16.853Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T02:45:16.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-21T02:45:16.941Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-21T02:45:16.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:45:16.952Z] > 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-21T02:45:17.621Z] Merging remotes/origin/master commit e8c677d1df210277adef4aff331a8a81997773cd into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [2021-05-21T02:45:17.910Z] Merge succeeded, producing 27f1a9b48ac1c02d85311c99ae8ef00881800873 [2021-05-21T02:45:17.910Z] Checking out Revision 27f1a9b48ac1c02d85311c99ae8ef00881800873 (PR-934) [2021-05-21T02:45:17.626Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T02:45:17.644Z] > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 [2021-05-21T02:45:17.747Z] > git remote # timeout=10 [2021-05-21T02:45:17.771Z] > git config --get remote.origin.url # timeout=10 [2021-05-21T02:45:17.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T02:45:17.795Z] > git merge e8c677d1df210277adef4aff331a8a81997773cd # timeout=10 [2021-05-21T02:45:17.872Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-21T02:45:17.905Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T02:45:17.917Z] > git checkout -f 27f1a9b48ac1c02d85311c99ae8ef00881800873 # timeout=10 [2021-05-21T02:45:18.948Z] Removing intermediate container cfddc538fadc [2021-05-21T02:45:18.948Z] ---> dd14e1a63ca0 [2021-05-21T02:45:18.948Z] Successfully built dd14e1a63ca0 [2021-05-21T02:45:18.948Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:45:19.251Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T02:45:19.251Z] . [Pipeline] withDockerContainer [2021-05-21T02:45:19.324Z] prd-centos7-docker-4c-2g-15449 does not seem to be running inside a container [2021-05-21T02:45:19.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-21T02:45:19.734Z] $ docker top 43d1de5a6d45feee23d2a25087368e7dad92bffd31fb2a27e97d30213d28c49f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T02:45:20.108Z] + go version [2021-05-21T02:45:20.108Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-21T02:45:20.120Z] $ docker stop --time=1 43d1de5a6d45feee23d2a25087368e7dad92bffd31fb2a27e97d30213d28c49f [2021-05-21T02:45:21.301Z] $ docker rm -f 43d1de5a6d45feee23d2a25087368e7dad92bffd31fb2a27e97d30213d28c49f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:45:21.820Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T02:45:21.820Z] . [Pipeline] withDockerContainer [2021-05-21T02:45:21.896Z] prd-centos7-docker-4c-2g-15449 does not seem to be running inside a container [2021-05-21T02:45:21.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-21T02:45:22.180Z] Commit message: "Merge commit 'e8c677d1df210277adef4aff331a8a81997773cd' into HEAD" [2021-05-21T02:45:22.199Z] First time build. Skipping changelog. [2021-05-21T02:45:22.306Z] $ docker top 611510bda87ab6fb6b76afd7e08247c15a7ffadc715ce5715bdf6060fc326549 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T02:45:22.686Z] + go mod tidy [2021-05-21T02:45:22.180Z] > git rev-list --no-walk 29b7ac85919d660d2d3a0656b7fa39e6daad8d1a # timeout=10 [Pipeline] sh [2021-05-21T02:45:23.535Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-05-21T02:45:23.560Z] + make test [2021-05-21T02:45:23.560Z] go mod tidy [2021-05-21T02:45:23.560Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] sh [2021-05-21T02:45:23.946Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T02:45:24.289Z] + sudo service docker restart [2021-05-21T02:45:24.289Z] + true [2021-05-21T02:45:29.030Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T02:45:42.635Z] provisioning config files... [2021-05-21T02:45:42.660Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config969680471736370337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:45:43.055Z] ---> docker-login.sh [2021-05-21T02:45:43.055Z] nexus3.edgexfoundry.org:10001 [2021-05-21T02:45:44.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:45:44.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:45:44.313Z] Configure a credential helper to remove this warning. See [2021-05-21T02:45:44.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:45:44.314Z] [2021-05-21T02:45:44.314Z] Login Succeeded [2021-05-21T02:45:44.314Z] nexus3.edgexfoundry.org:10002 [2021-05-21T02:45:44.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:45:44.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:45:44.915Z] Configure a credential helper to remove this warning. See [2021-05-21T02:45:44.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:45:44.915Z] [2021-05-21T02:45:44.915Z] Login Succeeded [2021-05-21T02:45:44.915Z] nexus3.edgexfoundry.org:10003 [2021-05-21T02:45:45.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:45:45.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:45:45.463Z] Configure a credential helper to remove this warning. See [2021-05-21T02:45:45.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:45:45.463Z] [2021-05-21T02:45:45.463Z] Login Succeeded [2021-05-21T02:45:45.463Z] nexus3.edgexfoundry.org:10004 [2021-05-21T02:45:45.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:45:46.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:45:46.019Z] Configure a credential helper to remove this warning. See [2021-05-21T02:45:46.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:45:46.019Z] [2021-05-21T02:45:46.019Z] Login Succeeded [2021-05-21T02:45:46.019Z] docker.io [2021-05-21T02:45:46.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T02:45:46.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T02:45:46.891Z] Configure a credential helper to remove this warning. See [2021-05-21T02:45:46.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T02:45:46.891Z] [2021-05-21T02:45:46.891Z] Login Succeeded [2021-05-21T02:45:46.891Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T02:45:46.908Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-21T02:45:47.230Z] ========================================================= [2021-05-21T02:45:47.230Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-21T02:45:47.230Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:45:47.602Z] + 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-21T02:45:48.247Z] Sending build context to Docker daemon 2.599MB [2021-05-21T02:45:48.247Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T02:45:48.247Z] Step 2/8 : FROM ${BASE} [2021-05-21T02:45:48.247Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-21T02:45:48.247Z] 595b0fe564bb: Pulling fs layer [2021-05-21T02:45:48.247Z] 7186ed65a4f7: Pulling fs layer [2021-05-21T02:45:48.247Z] 316046926c0a: Pulling fs layer [2021-05-21T02:45:48.247Z] 4ebd0625c992: Pulling fs layer [2021-05-21T02:45:48.247Z] 207e8628e3a3: Pulling fs layer [2021-05-21T02:45:48.247Z] c791037a9be2: Pulling fs layer [2021-05-21T02:45:48.247Z] ffd874e62e21: Pulling fs layer [2021-05-21T02:45:48.247Z] 4ebd0625c992: Waiting [2021-05-21T02:45:48.247Z] 207e8628e3a3: Waiting [2021-05-21T02:45:48.247Z] c791037a9be2: Waiting [2021-05-21T02:45:48.247Z] ffd874e62e21: Waiting [2021-05-21T02:45:48.525Z] 316046926c0a: Verifying Checksum [2021-05-21T02:45:48.525Z] 316046926c0a: Download complete [2021-05-21T02:45:48.525Z] 7186ed65a4f7: Verifying Checksum [2021-05-21T02:45:48.525Z] 7186ed65a4f7: Download complete [2021-05-21T02:45:48.525Z] 595b0fe564bb: Download complete [2021-05-21T02:45:48.525Z] c791037a9be2: Verifying Checksum [2021-05-21T02:45:48.525Z] c791037a9be2: Download complete [2021-05-21T02:45:49.129Z] 595b0fe564bb: Pull complete [2021-05-21T02:45:50.122Z] 7186ed65a4f7: Pull complete [2021-05-21T02:45:50.403Z] 316046926c0a: Pull complete [2021-05-21T02:45:50.679Z] ffd874e62e21: Verifying Checksum [2021-05-21T02:45:50.679Z] ffd874e62e21: Download complete [2021-05-21T02:45:51.145Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-21T02:45:51.145Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-21T02:45:51.145Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-21T02:45:52.116Z] 4ebd0625c992: Verifying Checksum [2021-05-21T02:45:52.116Z] 4ebd0625c992: Download complete [2021-05-21T02:45:53.710Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 25.4% of statements [2021-05-21T02:45:53.710Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-21T02:45:53.710Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 28.1% of statements [2021-05-21T02:45:54.308Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-05-21T02:45:55.254Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.045s coverage: 10.7% of statements [2021-05-21T02:45:55.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-21T02:45:55.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-21T02:45:55.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-21T02:45:55.254Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.076s coverage: 30.2% of statements [2021-05-21T02:45:55.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-21T02:45:56.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 83.3% of statements [2021-05-21T02:45:56.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-21T02:45:56.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-21T02:45:56.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 58.0% of statements [2021-05-21T02:45:57.625Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.803s coverage: 89.2% of statements [2021-05-21T02:45:57.625Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-21T02:45:57.625Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 5.0% of statements [2021-05-21T02:45:57.625Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-21T02:45:57.625Z] GO111MODULE=on go vet ./... [2021-05-21T02:46:02.314Z] 4ebd0625c992: Pull complete [2021-05-21T02:46:02.590Z] 207e8628e3a3: Pull complete [2021-05-21T02:46:02.863Z] c791037a9be2: Pull complete [2021-05-21T02:46:06.261Z] ffd874e62e21: Pull complete [2021-05-21T02:46:06.261Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-21T02:46:06.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-21T02:46:06.261Z] ---> cfc18b08335c [2021-05-21T02:46:06.261Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:46:08.235Z] ---> Running in 3ceb3e991384 [2021-05-21T02:46:08.829Z] Removing intermediate container 3ceb3e991384 [2021-05-21T02:46:08.829Z] ---> 2b1ae09d8385 [2021-05-21T02:46:08.829Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:46:09.102Z] ---> Running in efc3bd8d1b89 [2021-05-21T02:46:11.737Z] Removing intermediate container efc3bd8d1b89 [2021-05-21T02:46:11.737Z] ---> 2641d608d511 [2021-05-21T02:46:11.737Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-21T02:46:11.737Z] ---> Running in 19093dde2013 [2021-05-21T02:46:13.183Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T02:46:14.169Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T02:46:14.769Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-21T02:46:14.770Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-21T02:46:15.044Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-21T02:46:15.044Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-21T02:46:15.331Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-21T02:46:15.331Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-21T02:46:15.331Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T02:46:15.331Z] OK: 139 MiB in 46 packages [2021-05-21T02:46:15.871Z] gofmt -l . [2021-05-21T02:46:15.871Z] [ "`gofmt -l .`" = "" ] [2021-05-21T02:46:15.871Z] ./bin/test-attribution-txt.sh [2021-05-21T02:46:15.871Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-21T02:46:15.883Z] $ docker stop --time=1 611510bda87ab6fb6b76afd7e08247c15a7ffadc715ce5715bdf6060fc326549 [2021-05-21T02:46:16.799Z] Removing intermediate container 19093dde2013 [2021-05-21T02:46:16.800Z] ---> cd2931ce9739 [2021-05-21T02:46:16.800Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-21T02:46:17.076Z] ---> Running in d0e99093afd2 [2021-05-21T02:46:17.353Z] Removing intermediate container d0e99093afd2 [2021-05-21T02:46:17.353Z] ---> d73004777c85 [2021-05-21T02:46:17.353Z] Step 7/8 : COPY . . [2021-05-21T02:46:17.364Z] $ docker rm -f 611510bda87ab6fb6b76afd7e08247c15a7ffadc715ce5715bdf6060fc326549 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T02:46:17.818Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-21T02:46:18.035Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-21T02:46:18.797Z] ---> 50cdb8dd9f68 [2021-05-21T02:46:18.797Z] Step 8/8 : RUN go mod download [2021-05-21T02:46:19.118Z] ---> Running in 8af303f6ccd1 [Pipeline] sh [2021-05-21T02:46:20.805Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-21T02:46:21.108Z] + ls -al . [2021-05-21T02:46:21.108Z] total 212 [2021-05-21T02:46:21.108Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 21 02:46 . [2021-05-21T02:46:21.108Z] drwxrwxr-x. 4 jenkins jenkins 28 May 21 02:44 .. [2021-05-21T02:46:21.108Z] drwxrwxr-x. 2 jenkins jenkins 64 May 21 02:44 bin [2021-05-21T02:46:21.109Z] -rw-r--r--. 1 jenkins jenkins 126187 May 21 02:45 coverage.out [2021-05-21T02:46:21.109Z] -rw-rw-r--. 1 jenkins jenkins 987 May 21 02:44 Dockerfile.build [2021-05-21T02:46:21.109Z] -rw-rw-r--. 1 jenkins jenkins 140 May 21 02:44 .dockerignore [2021-05-21T02:46:21.109Z] drwxrwxr-x. 5 jenkins jenkins 62 May 21 02:44 example [2021-05-21T02:46:21.109Z] drwxrwxr-x. 8 jenkins jenkins 179 May 21 02:44 .git [2021-05-21T02:46:21.109Z] drwxrwxr-x. 2 jenkins jenkins 103 May 21 02:44 .github [2021-05-21T02:46:21.109Z] -rw-rw-r--. 1 jenkins jenkins 138 May 21 02:44 .gitignore [2021-05-21T02:46:21.109Z] -rw-r--r--. 1 jenkins jenkins 575 May 21 02:46 go.mod [2021-05-21T02:46:21.109Z] -rw-r--r--. 1 jenkins jenkins 20803 May 21 02:45 go.sum [2021-05-21T02:46:21.109Z] drwxrwxr-x. 15 jenkins jenkins 224 May 21 02:44 internal [2021-05-21T02:46:21.109Z] -rw-rw-r--. 1 jenkins jenkins 894 May 21 02:44 Jenkinsfile [2021-05-21T02:46:21.109Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 21 02:44 LICENSE [2021-05-21T02:46:21.109Z] -rw-rw-r--. 1 jenkins jenkins 997 May 21 02:44 Makefile [2021-05-21T02:46:21.109Z] drwxrwxr-x. 4 jenkins jenkins 26 May 21 02:44 openapi [2021-05-21T02:46:21.109Z] drwxrwxr-x. 5 jenkins jenkins 50 May 21 02:44 pkg [2021-05-21T02:46:21.109Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 21 02:44 README.md [2021-05-21T02:46:21.109Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 21 02:44 RELEASE-NOTES.txt [2021-05-21T02:46:21.109Z] drwxrwxr-x. 4 jenkins jenkins 54 May 21 02:44 snap [2021-05-21T02:46:21.109Z] -rw-rw-r--. 1 jenkins jenkins 5 May 21 02:42 VERSION [2021-05-21T02:46:21.109Z] -rw-rw-r--. 1 jenkins jenkins 222 May 21 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:46:21.414Z] + 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=ba1e872fcb4e19b9245c97ec4ed9c3de7f683d69 --label arch=amd64 --label version=0.0.0 . [2021-05-21T02:46:21.414Z] Sending build context to Docker daemon 2.727MB [2021-05-21T02:46:21.414Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T02:46:21.414Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-21T02:46:21.414Z] ---> dd14e1a63ca0 [2021-05-21T02:46:21.414Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-21T02:46:21.414Z] ---> Running in 55c3b321c77d [2021-05-21T02:46:21.678Z] Removing intermediate container 55c3b321c77d [2021-05-21T02:46:21.679Z] ---> 175083f85846 [2021-05-21T02:46:21.679Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:46:21.679Z] ---> Running in 213da787fc6d [2021-05-21T02:46:21.679Z] Removing intermediate container 213da787fc6d [2021-05-21T02:46:21.679Z] ---> a2687cbea306 [2021-05-21T02:46:21.679Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:46:21.679Z] ---> Running in 49dd7b761713 [2021-05-21T02:46:22.257Z] Removing intermediate container 49dd7b761713 [2021-05-21T02:46:22.257Z] ---> c1f81674676c [2021-05-21T02:46:22.257Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-21T02:46:22.257Z] ---> Running in 08af12385f5f [2021-05-21T02:46:22.517Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T02:46:23.088Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T02:46:23.666Z] OK: 150 MiB in 46 packages [2021-05-21T02:46:23.926Z] Removing intermediate container 08af12385f5f [2021-05-21T02:46:23.926Z] ---> fa90585fb72f [2021-05-21T02:46:23.926Z] Step 7/23 : COPY . . [2021-05-21T02:46:24.185Z] ---> 65e12dda850d [2021-05-21T02:46:24.185Z] Step 8/23 : RUN go mod download [2021-05-21T02:46:24.185Z] ---> Running in db7d950115f3 [2021-05-21T02:46:24.774Z] Removing intermediate container db7d950115f3 [2021-05-21T02:46:24.774Z] ---> c45c68cabc64 [2021-05-21T02:46:24.774Z] Step 9/23 : RUN make build [2021-05-21T02:46:24.774Z] ---> Running in bd04828f69c6 [2021-05-21T02:46:24.774Z] go mod tidy [2021-05-21T02:46:25.036Z] 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-21T02:46:37.356Z] Removing intermediate container bd04828f69c6 [2021-05-21T02:46:37.356Z] ---> 2b5fefdeaf19 [2021-05-21T02:46:37.356Z] Step 10/23 : FROM alpine:3.12 [2021-05-21T02:46:37.356Z] 3.12: Pulling from library/alpine [2021-05-21T02:46:37.356Z] 339de151aab4: Pulling fs layer [2021-05-21T02:46:37.356Z] 339de151aab4: Verifying Checksum [2021-05-21T02:46:37.356Z] 339de151aab4: Download complete [2021-05-21T02:46:37.356Z] 339de151aab4: Pull complete [2021-05-21T02:46:37.356Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-21T02:46:37.356Z] Status: Downloaded newer image for alpine:3.12 [2021-05-21T02:46:37.356Z] ---> 13621d1b12d4 [2021-05-21T02:46:37.356Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:46:37.618Z] ---> Running in 1604e2098b47 [2021-05-21T02:46:37.619Z] Removing intermediate container 1604e2098b47 [2021-05-21T02:46:37.619Z] ---> 532104ce1d11 [2021-05-21T02:46:37.619Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:46:37.619Z] ---> Running in bf40f76a0d34 [2021-05-21T02:46:38.189Z] Removing intermediate container bf40f76a0d34 [2021-05-21T02:46:38.189Z] ---> 236864152756 [2021-05-21T02:46:38.189Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-21T02:46:38.189Z] ---> Running in 5eb838a95e4b [2021-05-21T02:46:38.189Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-21T02:46:39.133Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-21T02:46:39.402Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-21T02:46:39.402Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-21T02:46:39.402Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-21T02:46:40.347Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-21T02:46:40.607Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-21T02:46:40.607Z] Executing busybox-1.31.1-r20.trigger [2021-05-21T02:46:40.607Z] OK: 8 MiB in 19 packages [2021-05-21T02:46:40.869Z] Removing intermediate container 5eb838a95e4b [2021-05-21T02:46:40.869Z] ---> 850eb33f6123 [2021-05-21T02:46:40.869Z] Step 14/23 : WORKDIR / [2021-05-21T02:46:40.869Z] ---> Running in a9b21471281e [2021-05-21T02:46:40.869Z] Removing intermediate container a9b21471281e [2021-05-21T02:46:40.869Z] ---> 1d46d5ccf3cd [2021-05-21T02:46:40.869Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-21T02:46:41.135Z] ---> 5cf92c14143c [2021-05-21T02:46:41.135Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-21T02:46:41.399Z] ---> a8a47ef448d0 [2021-05-21T02:46:41.400Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-21T02:46:41.666Z] ---> 0f38547f5e55 [2021-05-21T02:46:41.666Z] Step 18/23 : EXPOSE 59999 [2021-05-21T02:46:41.666Z] ---> Running in fcf8203d3b12 [2021-05-21T02:46:41.928Z] Removing intermediate container fcf8203d3b12 [2021-05-21T02:46:41.928Z] ---> d7854041b9e7 [2021-05-21T02:46:41.928Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-21T02:46:42.195Z] ---> Running in 3aa648d9ab96 [2021-05-21T02:46:42.195Z] Removing intermediate container 3aa648d9ab96 [2021-05-21T02:46:42.195Z] ---> bddc57274a19 [2021-05-21T02:46:42.195Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-21T02:46:42.195Z] ---> Running in a22508925a91 [2021-05-21T02:46:42.195Z] Removing intermediate container a22508925a91 [2021-05-21T02:46:42.195Z] ---> faf7d5304a43 [2021-05-21T02:46:42.195Z] Step 21/23 : LABEL arch=amd64 [2021-05-21T02:46:42.459Z] ---> Running in 8609ddc15204 [2021-05-21T02:46:42.459Z] Removing intermediate container 8609ddc15204 [2021-05-21T02:46:42.459Z] ---> 7064588ef85e [2021-05-21T02:46:42.459Z] Step 22/23 : LABEL git_sha=ba1e872fcb4e19b9245c97ec4ed9c3de7f683d69 [2021-05-21T02:46:42.459Z] ---> Running in 5dd0fa7bd95f [2021-05-21T02:46:42.459Z] Removing intermediate container 5dd0fa7bd95f [2021-05-21T02:46:42.459Z] ---> 5e9ee061bd23 [2021-05-21T02:46:42.459Z] Step 23/23 : LABEL version=0.0.0 [2021-05-21T02:46:42.459Z] ---> Running in 43a08e4bbc5f [2021-05-21T02:46:42.719Z] Removing intermediate container 43a08e4bbc5f [2021-05-21T02:46:42.719Z] ---> 737feb5a099b [2021-05-21T02:46:42.719Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-21T02:46:42.720Z] Successfully built 737feb5a099b [2021-05-21T02:46:42.720Z] 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-21T02:46:43.626Z] ---> job-cost.sh [2021-05-21T02:46:43.626Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xpqL [2021-05-21T02:46:45.991Z] Removing intermediate container 8af303f6ccd1 [2021-05-21T02:46:45.991Z] ---> 07f1acc3cd96 [2021-05-21T02:46:45.991Z] Successfully built 07f1acc3cd96 [2021-05-21T02:46:45.991Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:46:46.336Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T02:46:46.336Z] . [Pipeline] withDockerContainer [2021-05-21T02:46:46.830Z] prd-ubuntu18.04-docker-arm64-4c-16g-15448 does not seem to be running inside a container [2021-05-21T02:46:46.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-21T02:46:48.655Z] $ docker top bbb100541815caf53e7ff960b60dda4f900438c4b4317db828ae464d9ad36fcf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T02:46:49.686Z] + go version [2021-05-21T02:46:49.686Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-21T02:46:49.729Z] $ docker stop --time=1 bbb100541815caf53e7ff960b60dda4f900438c4b4317db828ae464d9ad36fcf [2021-05-21T02:46:51.648Z] $ docker rm -f bbb100541815caf53e7ff960b60dda4f900438c4b4317db828ae464d9ad36fcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:46:52.407Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T02:46:52.407Z] . [Pipeline] withDockerContainer [2021-05-21T02:46:52.669Z] prd-ubuntu18.04-docker-arm64-4c-16g-15448 does not seem to be running inside a container [2021-05-21T02:46:52.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-21T02:46:53.638Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T02:46:54.396Z] $ docker top 586487bff6e6e58fc86fa2b4fdabc170dedcc69a40ec066b36ecb314122b6e04 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T02:46:55.355Z] + go mod tidy [Pipeline] sh [2021-05-21T02:46:56.617Z] + make test [2021-05-21T02:46:56.617Z] go mod tidy [2021-05-21T02:46:56.897Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-21T02:47:05.942Z] lf-activate-venv(): INFO: Adding /tmp/venv-xpqL/bin to PATH [2021-05-21T02:47:05.942Z] INFO: No Stack... [2021-05-21T02:47:05.942Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T02:47:06.519Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T02:47:06.860Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-05-21T02:47:06.860Z] + cut -d, -f6 [Pipeline] lock [2021-05-21T02:47:06.891Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-4-stack-cost] [2021-05-21T02:47:06.916Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-4-stack-cost] did not exist. Created. [2021-05-21T02:47:06.916Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T02:47:07.254Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-21T02:47:07.326Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T02:47:07.342Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-21T02:47:23.708Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-21T02:48:31.887Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-21T02:48:31.887Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-21T02:48:31.887Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-21T02:48:38.632Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.255s coverage: 25.4% of statements [2021-05-21T02:48:38.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-21T02:48:38.632Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.178s coverage: 28.1% of statements [2021-05-21T02:48:38.632Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.295s coverage: 78.9% of statements [2021-05-21T02:48:38.632Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.286s coverage: 10.7% of statements [2021-05-21T02:48:38.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-21T02:48:38.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-21T02:48:38.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-21T02:48:41.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.348s coverage: 30.2% of statements [2021-05-21T02:48:41.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-21T02:48:41.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.230s coverage: 83.3% of statements [2021-05-21T02:48:41.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-21T02:48:41.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-21T02:48:41.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.351s coverage: 58.0% of statements [2021-05-21T02:48:46.254Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.212s coverage: 89.2% of statements [2021-05-21T02:48:46.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-21T02:48:46.254Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.178s coverage: 5.0% of statements [2021-05-21T02:48:46.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-21T02:48:46.254Z] GO111MODULE=on go vet ./... [2021-05-21T02:49:42.873Z] gofmt -l . [2021-05-21T02:49:42.873Z] [ "`gofmt -l .`" = "" ] [2021-05-21T02:49:42.873Z] ./bin/test-attribution-txt.sh [2021-05-21T02:49:43.474Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-21T02:49:44.114Z] $ docker stop --time=1 586487bff6e6e58fc86fa2b4fdabc170dedcc69a40ec066b36ecb314122b6e04 [2021-05-21T02:49:46.463Z] $ docker rm -f 586487bff6e6e58fc86fa2b4fdabc170dedcc69a40ec066b36ecb314122b6e04 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T02:49:47.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-21T02:49:47.796Z] Warning: overwriting stash ‘coverage-report’ [2021-05-21T02:49:48.551Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T02:49:49.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-21T02:49:49.495Z] + ls -al . [2021-05-21T02:49:49.495Z] total 248 [2021-05-21T02:49:49.495Z] drwxrwxr-x 10 jenkins jenkins 4096 May 21 02:49 . [2021-05-21T02:49:49.495Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 02:45 .. [2021-05-21T02:49:49.495Z] -rw-rw-r-- 1 jenkins jenkins 140 May 21 02:45 .dockerignore [2021-05-21T02:49:49.495Z] drwxrwxr-x 8 jenkins jenkins 4096 May 21 02:45 .git [2021-05-21T02:49:49.495Z] drwxrwxr-x 2 jenkins jenkins 4096 May 21 02:45 .github [2021-05-21T02:49:49.495Z] -rw-rw-r-- 1 jenkins jenkins 138 May 21 02:45 .gitignore [2021-05-21T02:49:49.495Z] -rw-rw-r-- 1 jenkins jenkins 987 May 21 02:45 Dockerfile.build [2021-05-21T02:49:49.495Z] -rw-rw-r-- 1 jenkins jenkins 894 May 21 02:45 Jenkinsfile [2021-05-21T02:49:49.495Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 21 02:45 LICENSE [2021-05-21T02:49:49.495Z] -rw-rw-r-- 1 jenkins jenkins 997 May 21 02:45 Makefile [2021-05-21T02:49:49.495Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 21 02:45 README.md [2021-05-21T02:49:49.495Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 21 02:45 RELEASE-NOTES.txt [2021-05-21T02:49:49.495Z] -rw-rw-r-- 1 jenkins jenkins 5 May 21 02:42 VERSION [2021-05-21T02:49:49.495Z] drwxrwxr-x 2 jenkins jenkins 4096 May 21 02:45 bin [2021-05-21T02:49:49.495Z] -rw-r--r-- 1 jenkins jenkins 126187 May 21 02:48 coverage.out [2021-05-21T02:49:49.495Z] drwxrwxr-x 5 jenkins jenkins 4096 May 21 02:45 example [2021-05-21T02:49:49.495Z] -rw-r--r-- 1 jenkins jenkins 575 May 21 02:49 go.mod [2021-05-21T02:49:49.495Z] -rw-r--r-- 1 jenkins jenkins 20803 May 21 02:46 go.sum [2021-05-21T02:49:49.495Z] drwxrwxr-x 15 jenkins jenkins 4096 May 21 02:45 internal [2021-05-21T02:49:49.495Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 02:45 openapi [2021-05-21T02:49:49.495Z] drwxrwxr-x 5 jenkins jenkins 4096 May 21 02:45 pkg [2021-05-21T02:49:49.495Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 02:45 snap [2021-05-21T02:49:49.495Z] -rw-rw-r-- 1 jenkins jenkins 222 May 21 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:49:49.848Z] + 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=27f1a9b48ac1c02d85311c99ae8ef00881800873 --label arch=arm64 --label version=0.0.0 . [2021-05-21T02:49:50.458Z] Sending build context to Docker daemon 2.726MB [2021-05-21T02:49:50.459Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T02:49:50.459Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-21T02:49:50.459Z] ---> 07f1acc3cd96 [2021-05-21T02:49:50.459Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-21T02:49:50.735Z] ---> Running in fb6dc0a9a35d [2021-05-21T02:49:51.337Z] Removing intermediate container fb6dc0a9a35d [2021-05-21T02:49:51.337Z] ---> 3ea2d89d3acd [2021-05-21T02:49:51.337Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:49:51.337Z] ---> Running in 673fa60924c8 [2021-05-21T02:49:51.935Z] Removing intermediate container 673fa60924c8 [2021-05-21T02:49:51.935Z] ---> 7c1ef4c3c396 [2021-05-21T02:49:51.935Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:49:52.247Z] ---> Running in a48e8ee2def9 [2021-05-21T02:49:54.231Z] Removing intermediate container a48e8ee2def9 [2021-05-21T02:49:54.231Z] ---> d1139cd29fba [2021-05-21T02:49:54.231Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-21T02:49:54.504Z] ---> Running in 6b08e3285b8b [2021-05-21T02:49:55.937Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T02:49:56.527Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T02:49:57.517Z] OK: 139 MiB in 46 packages [2021-05-21T02:49:58.954Z] Removing intermediate container 6b08e3285b8b [2021-05-21T02:49:58.954Z] ---> 464f74babc14 [2021-05-21T02:49:58.954Z] Step 7/23 : COPY . . [2021-05-21T02:50:00.395Z] ---> aa5cc69f79e5 [2021-05-21T02:50:00.395Z] Step 8/23 : RUN go mod download [2021-05-21T02:50:00.395Z] ---> Running in 130d55f592fb [2021-05-21T02:50:03.022Z] Removing intermediate container 130d55f592fb [2021-05-21T02:50:03.022Z] ---> 64c51ab1ecb9 [2021-05-21T02:50:03.022Z] Step 9/23 : RUN make build [2021-05-21T02:50:03.022Z] ---> Running in 5ff1fbf056a1 [2021-05-21T02:50:04.468Z] go mod tidy [2021-05-21T02:50:05.073Z] 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-21T02:50:44.177Z] Removing intermediate container 5ff1fbf056a1 [2021-05-21T02:50:44.177Z] ---> 63008faf9aba [2021-05-21T02:50:44.177Z] Step 10/23 : FROM alpine:3.12 [2021-05-21T02:50:44.773Z] 3.12: Pulling from library/alpine [2021-05-21T02:50:45.048Z] d2f70382dc9a: Pulling fs layer [2021-05-21T02:50:45.048Z] d2f70382dc9a: Verifying Checksum [2021-05-21T02:50:45.048Z] d2f70382dc9a: Download complete [2021-05-21T02:50:46.035Z] d2f70382dc9a: Pull complete [2021-05-21T02:50:46.035Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-21T02:50:46.035Z] Status: Downloaded newer image for alpine:3.12 [2021-05-21T02:50:46.035Z] ---> 9852663dfa18 [2021-05-21T02:50:46.035Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-21T02:50:46.035Z] ---> Running in 2a74c2412834 [2021-05-21T02:50:46.633Z] Removing intermediate container 2a74c2412834 [2021-05-21T02:50:46.633Z] ---> e1ecca8cc50c [2021-05-21T02:50:46.633Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T02:50:46.909Z] ---> Running in 7eaee1db2498 [2021-05-21T02:50:49.553Z] Removing intermediate container 7eaee1db2498 [2021-05-21T02:50:49.553Z] ---> bd0e14761efb [2021-05-21T02:50:49.553Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-21T02:50:49.553Z] ---> Running in 3aaff61cb0a8 [2021-05-21T02:50:50.537Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-21T02:50:51.523Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-21T02:50:52.124Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-21T02:50:52.124Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-21T02:50:52.399Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-21T02:50:52.399Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-21T02:50:52.672Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-21T02:50:52.672Z] Executing busybox-1.31.1-r20.trigger [2021-05-21T02:50:52.672Z] OK: 8 MiB in 19 packages [2021-05-21T02:50:54.115Z] Removing intermediate container 3aaff61cb0a8 [2021-05-21T02:50:54.115Z] ---> 11d63a3ae3bc [2021-05-21T02:50:54.115Z] Step 14/23 : WORKDIR / [2021-05-21T02:50:54.115Z] ---> Running in 738c468bb2f7 [2021-05-21T02:50:54.715Z] Removing intermediate container 738c468bb2f7 [2021-05-21T02:50:54.715Z] ---> ee7e10ffe68c [2021-05-21T02:50:54.715Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-21T02:50:55.698Z] ---> f44c5bf44085 [2021-05-21T02:50:55.698Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-21T02:50:57.188Z] ---> db405c8770f7 [2021-05-21T02:50:57.188Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-21T02:50:57.788Z] ---> 97bcad10c50c [2021-05-21T02:50:58.062Z] Step 18/23 : EXPOSE 59999 [2021-05-21T02:50:58.062Z] ---> Running in 4eefa3554a5e [2021-05-21T02:50:58.661Z] Removing intermediate container 4eefa3554a5e [2021-05-21T02:50:58.661Z] ---> 73406a2187b2 [2021-05-21T02:50:58.661Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-21T02:50:58.661Z] ---> Running in f88d60b15510 [2021-05-21T02:50:59.259Z] Removing intermediate container f88d60b15510 [2021-05-21T02:50:59.259Z] ---> 7717f7249ef2 [2021-05-21T02:50:59.259Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-21T02:50:59.535Z] ---> Running in e82ddbaf53f5 [2021-05-21T02:51:00.134Z] Removing intermediate container e82ddbaf53f5 [2021-05-21T02:51:00.134Z] ---> 2db0d959c501 [2021-05-21T02:51:00.134Z] Step 21/23 : LABEL arch=arm64 [2021-05-21T02:51:00.134Z] ---> Running in 7ed3f8e4aefb [2021-05-21T02:51:00.732Z] Removing intermediate container 7ed3f8e4aefb [2021-05-21T02:51:00.732Z] ---> 3c69095cdb84 [2021-05-21T02:51:00.732Z] Step 22/23 : LABEL git_sha=27f1a9b48ac1c02d85311c99ae8ef00881800873 [2021-05-21T02:51:00.732Z] ---> Running in f793653b8a98 [2021-05-21T02:51:01.329Z] Removing intermediate container f793653b8a98 [2021-05-21T02:51:01.329Z] ---> 020055cef3c8 [2021-05-21T02:51:01.329Z] Step 23/23 : LABEL version=0.0.0 [2021-05-21T02:51:01.603Z] ---> Running in 669f4b1840b1 [2021-05-21T02:51:02.204Z] Removing intermediate container 669f4b1840b1 [2021-05-21T02:51:02.204Z] ---> e1f1b273c00a [2021-05-21T02:51:02.204Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-21T02:51:02.204Z] Successfully built e1f1b273c00a [2021-05-21T02:51:02.204Z] 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-21T02:51:02.959Z] ---> job-cost.sh [2021-05-21T02:51:02.959Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wnpH [2021-05-21T02:51:49.933Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T02:53:26.745Z] lf-activate-venv(): INFO: Adding /tmp/venv-wnpH/bin to PATH [2021-05-21T02:53:26.745Z] INFO: No Stack... [2021-05-21T02:53:26.745Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-21T02:53:26.745Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T02:53:27.151Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-05-21T02:53:27.151Z] + cut -d, -f6 [Pipeline] lock [2021-05-21T02:53:27.215Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-4-stack-cost] [2021-05-21T02:53:27.226Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-4-stack-cost] did not exist. Created. [2021-05-21T02:53:27.226Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T02:53:27.616Z] /w/workspace/device-sdk-go/4@tmp/durable-f5405a33/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-f5405a33/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-21T02:53:27.967Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-21T02:53:28.005Z] Warning: overwriting stash ‘stack-cost’ [2021-05-21T02:53:28.171Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T02:53:28.186Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-21T02:53:29.035Z] provisioning config files... [2021-05-21T02:53:29.045Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config5836938680843508251tmp [Pipeline] { [Pipeline] sh [2021-05-21T02:53:29.386Z] + set +x [2021-05-21T02:53:29.386Z] + curl -s https://codecov.io/bash [2021-05-21T02:53:29.386Z] + bash -s -- [2021-05-21T02:53:29.386Z] [2021-05-21T02:53:29.386Z] _____ _ [2021-05-21T02:53:29.386Z] / ____| | | [2021-05-21T02:53:29.386Z] | | ___ __| | ___ ___ _____ __ [2021-05-21T02:53:29.386Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-21T02:53:29.386Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-21T02:53:29.386Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-21T02:53:29.386Z] Bash-1.0.2 [2021-05-21T02:53:29.386Z] [2021-05-21T02:53:29.386Z] [2021-05-21T02:53:29.386Z] ==> git version 2.24.4 found [2021-05-21T02:53:29.386Z] ==> 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-21T02:53:29.386Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-21T02:53:29.386Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-21T02:53:29.386Z] ==> Jenkins CI detected. [2021-05-21T02:53:29.386Z] project root: . [2021-05-21T02:53:29.386Z] --> token set from env [2021-05-21T02:53:29.647Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-21T02:53:29.647Z] ==> Running gcov in . (disable via -X gcov) [2021-05-21T02:53:29.647Z] ==> Python coveragepy not found [2021-05-21T02:53:29.647Z] ==> Searching for coverage reports in: [2021-05-21T02:53:29.647Z] + . [2021-05-21T02:53:29.647Z] -> Found 1 reports [2021-05-21T02:53:29.647Z] ==> Detecting git/mercurial file structure [2021-05-21T02:53:29.647Z] ==> Reading reports [2021-05-21T02:53:29.647Z] + ./coverage.out bytes=126187 [2021-05-21T02:53:29.647Z] ==> Appending adjustments [2021-05-21T02:53:29.647Z] https://docs.codecov.io/docs/fixing-reports [2021-05-21T02:53:29.908Z] + Found adjustments [2021-05-21T02:53:29.908Z] ==> Gzipping contents [2021-05-21T02:53:29.908Z] 20K /tmp/codecov.gqvbMP.gz [2021-05-21T02:53:29.908Z] ==> Uploading reports [2021-05-21T02:53:29.908Z] url: https://codecov.io [2021-05-21T02:53:29.908Z] query: branch=PR-934&commit=5164ea9e726790b501f7b36c6ae4d069831e8574&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-21T02:53:29.908Z] -> Pinging Codecov [2021-05-21T02:53:29.908Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-934&commit=5164ea9e726790b501f7b36c6ae4d069831e8574&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-21T02:53:30.864Z] -> Uploading to [2021-05-21T02:53:30.864Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-21/7E55EF52A471D76F132DFD9A03CDDE97/5164ea9e726790b501f7b36c6ae4d069831e8574/8f5f4b9a-43ad-4e91-b05e-546ba1184a13.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210521%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210521T025330Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d769e8fc8a876db33a37bd7cae6719141466c4390724811248b73490cbcb66a [2021-05-21T02:53:30.864Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-21T02:53:30.864Z] Dload Upload Total Spent Left Speed [2021-05-21T02:53:31.437Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16470 0 0 100 16470 0 29942 --:--:-- --:--:-- --:--:-- 30000 [2021-05-21T02:53:31.437Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5164ea9e726790b501f7b36c6ae4d069831e8574 [Pipeline] } [2021-05-21T02:53:31.449Z] 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-21T02:53:33.107Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:53:33.685Z] ---> package-listing.sh [2021-05-21T02:53:33.685Z] ++ facter osfamily [2021-05-21T02:53:33.685Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-21T02:53:33.952Z] + OS_FAMILY=redhat [2021-05-21T02:53:33.952Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-21T02:53:33.952Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-21T02:53:33.952Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-21T02:53:33.952Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-21T02:53:33.952Z] + PACKAGES=/tmp/packages_start.txt [2021-05-21T02:53:33.952Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-21T02:53:33.952Z] + PACKAGES=/tmp/packages_end.txt [2021-05-21T02:53:33.952Z] + case "${OS_FAMILY}" in [2021-05-21T02:53:33.952Z] + rpm -qa [2021-05-21T02:53:33.952Z] + sort [2021-05-21T02:53:34.527Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-21T02:53:34.527Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-21T02:53:34.527Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-21T02:53:34.789Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-21T02:53:34.789Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [2021-05-21T02:53:34.789Z] + 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-21T02:53:34.802Z] 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-21T02:53:35.090Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:53:35.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T02:53:35.664Z] [2021-05-21T02:53:35.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-21T02:53:35.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T02:53:36.259Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-21T02:53:36.259Z] df20fa9351a1: Pulling fs layer [2021-05-21T02:53:36.259Z] 36b3adc4ff6f: Pulling fs layer [2021-05-21T02:53:36.259Z] 8ad3a11d3b57: Pulling fs layer [2021-05-21T02:53:36.259Z] 46f8f816bc3b: Pulling fs layer [2021-05-21T02:53:36.259Z] 93b61091891f: Pulling fs layer [2021-05-21T02:53:36.259Z] 93b9cdb0e59b: Pulling fs layer [2021-05-21T02:53:36.259Z] 5e14af77c1be: Pulling fs layer [2021-05-21T02:53:36.259Z] 01666e4c0597: Pulling fs layer [2021-05-21T02:53:36.259Z] aa168da1d23b: Pulling fs layer [2021-05-21T02:53:36.259Z] 93b61091891f: Waiting [2021-05-21T02:53:36.259Z] 93b9cdb0e59b: Waiting [2021-05-21T02:53:36.259Z] 5e14af77c1be: Waiting [2021-05-21T02:53:36.259Z] 01666e4c0597: Waiting [2021-05-21T02:53:36.259Z] aa168da1d23b: Waiting [2021-05-21T02:53:36.259Z] 46f8f816bc3b: Waiting [2021-05-21T02:53:36.259Z] 36b3adc4ff6f: Verifying Checksum [2021-05-21T02:53:36.259Z] 36b3adc4ff6f: Download complete [2021-05-21T02:53:36.259Z] 46f8f816bc3b: Verifying Checksum [2021-05-21T02:53:36.259Z] 46f8f816bc3b: Download complete [2021-05-21T02:53:36.259Z] df20fa9351a1: Verifying Checksum [2021-05-21T02:53:36.259Z] df20fa9351a1: Download complete [2021-05-21T02:53:36.259Z] 93b9cdb0e59b: Verifying Checksum [2021-05-21T02:53:36.259Z] 93b9cdb0e59b: Download complete [2021-05-21T02:53:36.259Z] 5e14af77c1be: Verifying Checksum [2021-05-21T02:53:36.259Z] 5e14af77c1be: Download complete [2021-05-21T02:53:36.259Z] 8ad3a11d3b57: Verifying Checksum [2021-05-21T02:53:36.259Z] 8ad3a11d3b57: Download complete [2021-05-21T02:53:36.522Z] 01666e4c0597: Verifying Checksum [2021-05-21T02:53:36.522Z] 01666e4c0597: Download complete [2021-05-21T02:53:36.784Z] df20fa9351a1: Pull complete [2021-05-21T02:53:37.045Z] 36b3adc4ff6f: Pull complete [2021-05-21T02:53:37.317Z] 93b61091891f: Verifying Checksum [2021-05-21T02:53:37.317Z] 93b61091891f: Download complete [2021-05-21T02:53:37.902Z] 8ad3a11d3b57: Pull complete [2021-05-21T02:53:37.902Z] 46f8f816bc3b: Pull complete [2021-05-21T02:53:37.902Z] aa168da1d23b: Verifying Checksum [2021-05-21T02:53:37.902Z] aa168da1d23b: Download complete [2021-05-21T02:53:38.475Z] 93b61091891f: Pull complete [2021-05-21T02:53:38.475Z] 93b9cdb0e59b: Pull complete [2021-05-21T02:53:38.736Z] 5e14af77c1be: Pull complete [2021-05-21T02:53:39.001Z] 01666e4c0597: Pull complete [2021-05-21T02:53:43.249Z] aa168da1d23b: Pull complete [2021-05-21T02:53:43.249Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-21T02:53:43.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T02:53:43.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-21T02:53:43.328Z] prd-centos7-docker-4c-2g-15446 does not seem to be running inside a container [2021-05-21T02:53:43.385Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-21T02:53:46.344Z] $ docker top fbc186a957afea1847e6456eead31e0d9e4b10ad896d1d5ef8ff7db93d25ed23 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T02:53:46.750Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-21T02:53:47.046Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-21T02:53:47.342Z] + ls /var/log/sa-host [2021-05-21T02:53:47.342Z] + sadf -c /var/log/sa-host/sa05 [2021-05-21T02:53:47.342Z] file_magic: OK [2021-05-21T02:53:47.342Z] HZ: Using current value: 100 [2021-05-21T02:53:47.342Z] file_header: OK [2021-05-21T02:53:47.342Z] 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-21T02:53:47.342Z] Statistics: [2021-05-21T02:53:47.342Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T02:53:47.342Z] File successfully converted to sysstat format version 12.2.1 [2021-05-21T02:53:47.342Z] + sadf -c /var/log/sa-host/sa21 [2021-05-21T02:53:47.342Z] file_magic: OK [2021-05-21T02:53:47.342Z] HZ: Using current value: 100 [2021-05-21T02:53:47.342Z] file_header: OK [2021-05-21T02:53:47.342Z] 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-21T02:53:47.342Z] Statistics: [2021-05-21T02:53:47.342Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T02:53:47.342Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T02:53:48.007Z] provisioning config files... [2021-05-21T02:53:48.020Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config2752107896679722296tmp [Pipeline] { [Pipeline] echo [2021-05-21T02:53:48.042Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:53:48.345Z] ---> create-netrc.sh [Pipeline] } [2021-05-21T02:53:48.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-21T02:53:48.392Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:53:48.704Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-21T02:53:48.715Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:53:49.011Z] ---> sudo-logs.sh [2021-05-21T02:53:49.011Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-21T02:53:49.039Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:53:49.335Z] ---> job-cost.sh [2021-05-21T02:53:49.335Z] lf-activate-venv: SKIPPING [2021-05-21T02:53:49.335Z] DEBUG: total: 0.18000000715255737 [2021-05-21T02:53:49.335Z] INFO: Retrieving Stack Cost... [2021-05-21T02:53:50.279Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T02:53:50.848Z] INFO: Archiving Costs [Pipeline] echo [2021-05-21T02:53:50.862Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T02:53:51.173Z] ---> logs-deploy.sh [2021-05-21T02:53:51.173Z] lf-activate-venv: SKIPPING [2021-05-21T02:53:51.173Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-934/4 [2021-05-21T02:53:51.173Z] INFO: archiving workspace using pattern(s): [2021-05-21T02:53:52.126Z] Archives upload complete. [2021-05-21T02:53:52.126Z] INFO: archiving logs to Nexus