Pull request #971 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 47d78551dfac9ad1fcd6e88a98fd65ee4d348586+2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 (6b15009db292c70c1a2249e0efd63afa43405b70) 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-ssh2749251578478296591.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2652071099377213462.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/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-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8510647916356390557.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7701284941281373089.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/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-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9057097259306790122.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1136 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [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-971 # 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-971@tmp/jenkins-gitclient-ssh676643264649949222.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 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 into PR head commit 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 Merge succeeded, producing 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 Checking out Revision 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 (PR-971) > 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-971@tmp/jenkins-gitclient-ssh4592595084854356549.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 # 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-971@tmp/jenkins-gitclient-ssh1217908395838695350.key > git merge 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-24T09:41:46.699Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-24T09:41:46.800Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-24T09:41:46.831Z] ========================================================= [2021-06-24T09:41:46.831Z] EdgeX Global Pipelines Version Info [2021-06-24T09:41:46.831Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 # timeout=10 [2021-06-24T09:41:48.244Z] ------------------- [2021-06-24T09:41:48.244Z] stable info: [2021-06-24T09:41:48.244Z] ------------------- [2021-06-24T09:41:48.244Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-24T09:41:48.244Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T09:41:48.244Z] Message: update stable to v1.0.195 [2021-06-24T09:41:48.819Z] ------------------- [2021-06-24T09:41:48.819Z] experimental info: [2021-06-24T09:41:48.819Z] ------------------- [2021-06-24T09:41:48.819Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-24T09:41:48.819Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T09:41:48.819Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-24T09:41:48.941Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-24T09:41:48.967Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-24T09:41:48.992Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-24T09:41:49.024Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-24T09:41:49.050Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-24T09:41:49.077Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-24T09:41:49.102Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-24T09:41:49.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-24T09:41:49.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-24T09:41:49.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-24T09:41:49.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-24T09:41:49.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-24T09:41:49.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-24T09:41:49.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-24T09:41:49.310Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T09:41:49.334Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T09:41:49.358Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T09:41:49.383Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T09:41:49.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-24T09:41:49.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-24T09:41:49.456Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-24T09:41:49.484Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-24T09:41:49.510Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-24T09:41:49.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-24T09:41:49.561Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-24T09:41:49.584Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-24T09:41:49.608Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-24T09:41:49.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-24T09:41:49.655Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-24T09:41:49.699Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 [Pipeline] echo [2021-06-24T09:41:49.723Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47d7855 [Pipeline] echo [2021-06-24T09:41:49.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T09:41:49.826Z] provisioning config files... [2021-06-24T09:41:49.841Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config8861505110329124814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:41:50.164Z] ---> docker-login.sh [2021-06-24T09:41:50.164Z] nexus3.edgexfoundry.org:10001 [2021-06-24T09:41:50.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:41:50.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:41:50.425Z] Configure a credential helper to remove this warning. See [2021-06-24T09:41:50.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:41:50.425Z] [2021-06-24T09:41:50.425Z] Login Succeeded [2021-06-24T09:41:50.425Z] nexus3.edgexfoundry.org:10002 [2021-06-24T09:41:50.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:41:50.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:41:50.425Z] Configure a credential helper to remove this warning. See [2021-06-24T09:41:50.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:41:50.425Z] [2021-06-24T09:41:50.425Z] Login Succeeded [2021-06-24T09:41:50.425Z] nexus3.edgexfoundry.org:10003 [2021-06-24T09:41:50.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:41:50.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:41:50.686Z] Configure a credential helper to remove this warning. See [2021-06-24T09:41:50.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:41:50.686Z] [2021-06-24T09:41:50.686Z] Login Succeeded [2021-06-24T09:41:50.686Z] nexus3.edgexfoundry.org:10004 [2021-06-24T09:41:50.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:41:50.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:41:50.686Z] Configure a credential helper to remove this warning. See [2021-06-24T09:41:50.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:41:50.686Z] [2021-06-24T09:41:50.686Z] Login Succeeded [2021-06-24T09:41:50.686Z] docker.io [2021-06-24T09:41:50.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:41:51.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:41:51.259Z] Configure a credential helper to remove this warning. See [2021-06-24T09:41:51.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:41:51.259Z] [2021-06-24T09:41:51.259Z] Login Succeeded [2021-06-24T09:41:51.259Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T09:41:51.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T09:41:53.789Z] + git log --format=format:%s -1 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 [Pipeline] echo [2021-06-24T09:41:53.827Z] GIT_COMMIT: 47d78551dfac9ad1fcd6e88a98fd65ee4d348586, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3 [Pipeline] echo [2021-06-24T09:41:53.842Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:41:54.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T09:41:54.433Z] [2021-06-24T09:41:54.433Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:41:54.746Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T09:41:54.747Z] latest: Pulling from edgex-devops/git-semver [2021-06-24T09:41:54.747Z] 31603596830f: Pulling fs layer [2021-06-24T09:41:54.747Z] 54011a49482f: Pulling fs layer [2021-06-24T09:41:54.747Z] a6820b24f6d8: Pulling fs layer [2021-06-24T09:41:54.747Z] f581987b2513: Pulling fs layer [2021-06-24T09:41:54.747Z] f581987b2513: Waiting [2021-06-24T09:41:54.747Z] 54011a49482f: Verifying Checksum [2021-06-24T09:41:54.747Z] 54011a49482f: Download complete [2021-06-24T09:41:54.747Z] 31603596830f: Verifying Checksum [2021-06-24T09:41:54.747Z] 31603596830f: Download complete [2021-06-24T09:41:55.015Z] f581987b2513: Verifying Checksum [2021-06-24T09:41:55.015Z] f581987b2513: Download complete [2021-06-24T09:41:55.015Z] a6820b24f6d8: Verifying Checksum [2021-06-24T09:41:55.015Z] a6820b24f6d8: Download complete [2021-06-24T09:41:55.015Z] 31603596830f: Pull complete [2021-06-24T09:41:55.015Z] 54011a49482f: Pull complete [2021-06-24T09:41:55.971Z] a6820b24f6d8: Pull complete [2021-06-24T09:41:55.971Z] f581987b2513: Pull complete [2021-06-24T09:41:55.971Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-24T09:41:55.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T09:41:55.971Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-24T09:41:56.053Z] prd-centos7-docker-4c-2g-1136 does not seem to be running inside a container [2021-06-24T09:41:56.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-24T09:41:57.059Z] $ docker top 28657995ffe12e817606c73be8b98b38a31c2696c6ba57070cddd257fab5d7a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T09:41:57.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T09:41:57.187Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T09:41:57.296Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T09:41:57.295Z] $ docker exec 28657995ffe12e817606c73be8b98b38a31c2696c6ba57070cddd257fab5d7a2 ssh-agent [2021-06-24T09:41:57.401Z] SSH_AUTH_SOCK=/tmp/ssh-DbN6g8Kk6bGU/agent.15 [2021-06-24T09:41:57.401Z] SSH_AGENT_PID=21 [2021-06-24T09:41:57.408Z] Running ssh-add (command line suppressed) [2021-06-24T09:41:57.503Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_1622532624763483015.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_1622532624763483015.key) [2021-06-24T09:41:57.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T09:41:57.829Z] + git tag --points-at HEAD [Pipeline] } [2021-06-24T09:41:57.844Z] $ docker exec --env ******** --env ******** 28657995ffe12e817606c73be8b98b38a31c2696c6ba57070cddd257fab5d7a2 ssh-agent -k [2021-06-24T09:41:57.962Z] unset SSH_AUTH_SOCK; [2021-06-24T09:41:57.964Z] unset SSH_AGENT_PID; [2021-06-24T09:41:57.964Z] echo Agent pid 21 killed; [2021-06-24T09:41:57.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-24T09:41:58.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T09:41:58.024Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T09:41:58.140Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T09:41:58.139Z] $ docker exec 28657995ffe12e817606c73be8b98b38a31c2696c6ba57070cddd257fab5d7a2 ssh-agent [2021-06-24T09:41:58.256Z] SSH_AUTH_SOCK=/tmp/ssh-E4h9R01bxhvp/agent.55 [2021-06-24T09:41:58.256Z] SSH_AGENT_PID=61 [2021-06-24T09:41:58.269Z] Running ssh-add (command line suppressed) [2021-06-24T09:41:58.365Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_6191394356730741841.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_6191394356730741841.key) [2021-06-24T09:41:58.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T09:41:58.696Z] + git semver init [2021-06-24T09:41:58.696Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T09:41:58.696Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-24T09:41:58.696Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-24T09:41:58.696Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T09:41:58.696Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T09:41:58.696Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T09:41:58.696Z] # $SEMVER_BRANCH = PR-971 [2021-06-24T09:41:58.696Z] # $SEMVER_TEMP = /tmp/semver-020465527 [2021-06-24T09:41:58.696Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-24T09:41:59.651Z] # '/tmp/semver-020465527' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-24T09:41:59.651Z] # -> Force: false [2021-06-24T09:41:59.651Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-24T09:41:59.658Z] $ docker exec --env ******** --env ******** 28657995ffe12e817606c73be8b98b38a31c2696c6ba57070cddd257fab5d7a2 ssh-agent -k [2021-06-24T09:41:59.764Z] unset SSH_AUTH_SOCK; [2021-06-24T09:41:59.765Z] unset SSH_AGENT_PID; [2021-06-24T09:41:59.765Z] echo Agent pid 61 killed; [2021-06-24T09:41:59.780Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T09:42:00.126Z] + git semver [Pipeline] } [2021-06-24T09:42:00.139Z] $ docker stop --time=1 28657995ffe12e817606c73be8b98b38a31c2696c6ba57070cddd257fab5d7a2 [2021-06-24T09:42:01.487Z] $ docker rm -f 28657995ffe12e817606c73be8b98b38a31c2696c6ba57070cddd257fab5d7a2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T09:42:01.874Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-24T09:42:02.191Z] Stashed 1 file(s) [Pipeline] echo [2021-06-24T09:42:02.194Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-24T09:42:17.496Z] Still waiting to schedule task [2021-06-24T09:42:17.497Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-24T09:42:17.499Z] Still waiting to schedule task [2021-06-24T09:42:17.499Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-24T09:44:21.092Z] Running on prd-centos7-docker-4c-2g-1143 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-24T09:44:21.112Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2021-06-24T09:44:21.258Z] Selected Git installation does not exist. Using Default [2021-06-24T09:44:21.258Z] The recommended git tool is: NONE [2021-06-24T09:44:26.444Z] using credential edgex-jenkins-ssh [2021-06-24T09:44:26.461Z] Cloning the remote Git repository [2021-06-24T09:44:26.391Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:44:26.478Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2021-06-24T09:44:26.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:44:26.519Z] > git --version # timeout=10 [2021-06-24T09:44:26.527Z] > git --version # 'git version 2.24.4' [2021-06-24T09:44:26.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:44:26.554Z] [INFO] Currently running in a labeled security context [2021-06-24T09:44:26.554Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T09:44:26.554Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/15@tmp/jenkins-gitclient-ssh9211908604410376816.key [2021-06-24T09:44:26.586Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T09:44:27.490Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T09:44:27.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T09:44:27.518Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T09:44:27.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:44:27.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:44:27.540Z] [INFO] Currently running in a labeled security context [2021-06-24T09:44:27.540Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T09:44:27.540Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/15@tmp/jenkins-gitclient-ssh5221215280950653102.key [2021-06-24T09:44:27.548Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T09:44:27.961Z] Merging remotes/origin/master commit 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 into PR head commit 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 [2021-06-24T09:44:28.068Z] Merge succeeded, producing 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 [2021-06-24T09:44:28.068Z] Checking out Revision 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 (PR-971) [2021-06-24T09:44:27.967Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T09:44:27.979Z] > git checkout -f 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 # timeout=10 [2021-06-24T09:44:28.016Z] > git remote # timeout=10 [2021-06-24T09:44:28.021Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T09:44:28.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:44:28.028Z] [INFO] Currently running in a labeled security context [2021-06-24T09:44:28.028Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T09:44:28.028Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/15@tmp/jenkins-gitclient-ssh7744176268330998274.key [2021-06-24T09:44:28.046Z] > git merge 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 # timeout=10 [2021-06-24T09:44:28.058Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T09:44:28.068Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T09:44:28.074Z] > git checkout -f 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 # timeout=10 [2021-06-24T09:44:31.804Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T09:44:35.298Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-24T09:44:35.621Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T09:44:35.951Z] + sudo service docker restart [2021-06-24T09:44:35.952Z] + true [2021-06-24T09:44:35.952Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T09:44:56.974Z] provisioning config files... [2021-06-24T09:44:56.993Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/15@tmp/config3681484059576042309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:44:57.344Z] ---> docker-login.sh [2021-06-24T09:44:57.345Z] nexus3.edgexfoundry.org:10001 [2021-06-24T09:44:57.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:44:57.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:44:57.606Z] Configure a credential helper to remove this warning. See [2021-06-24T09:44:57.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:44:57.606Z] [2021-06-24T09:44:57.606Z] Login Succeeded [2021-06-24T09:44:57.607Z] nexus3.edgexfoundry.org:10002 [2021-06-24T09:44:57.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:44:57.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:44:57.607Z] Configure a credential helper to remove this warning. See [2021-06-24T09:44:57.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:44:57.607Z] [2021-06-24T09:44:57.607Z] Login Succeeded [2021-06-24T09:44:57.607Z] nexus3.edgexfoundry.org:10003 [2021-06-24T09:44:57.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:44:57.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:44:57.871Z] Configure a credential helper to remove this warning. See [2021-06-24T09:44:57.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:44:57.871Z] [2021-06-24T09:44:57.871Z] Login Succeeded [2021-06-24T09:44:57.871Z] nexus3.edgexfoundry.org:10004 [2021-06-24T09:44:57.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:44:57.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:44:57.871Z] Configure a credential helper to remove this warning. See [2021-06-24T09:44:57.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:44:57.871Z] [2021-06-24T09:44:57.871Z] Login Succeeded [2021-06-24T09:44:57.871Z] docker.io [2021-06-24T09:44:58.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:44:58.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:44:58.399Z] Configure a credential helper to remove this warning. See [2021-06-24T09:44:58.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:44:58.399Z] [2021-06-24T09:44:58.399Z] Login Succeeded [2021-06-24T09:44:58.399Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T09:44:58.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T09:44:58.616Z] ========================================================= [2021-06-24T09:44:58.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-24T09:44:58.616Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:44:58.950Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-24T09:44:58.950Z] Sending build context to Docker daemon 2.656MB [2021-06-24T09:44:58.950Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T09:44:58.950Z] Step 2/8 : FROM ${BASE} [2021-06-24T09:44:58.950Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-24T09:44:58.950Z] 540db60ca938: Pulling fs layer [2021-06-24T09:44:58.950Z] adcc1eea9eea: Pulling fs layer [2021-06-24T09:44:58.950Z] 4c4ab2625f07: Pulling fs layer [2021-06-24T09:44:58.950Z] 0510c868ecb4: Pulling fs layer [2021-06-24T09:44:58.950Z] afea3b2eda06: Pulling fs layer [2021-06-24T09:44:58.950Z] 7809a108b3ef: Pulling fs layer [2021-06-24T09:44:58.950Z] f706445af74f: Pulling fs layer [2021-06-24T09:44:58.950Z] afea3b2eda06: Waiting [2021-06-24T09:44:58.950Z] 7809a108b3ef: Waiting [2021-06-24T09:44:58.950Z] f706445af74f: Waiting [2021-06-24T09:44:58.950Z] 0510c868ecb4: Waiting [2021-06-24T09:44:59.211Z] 4c4ab2625f07: Verifying Checksum [2021-06-24T09:44:59.211Z] 4c4ab2625f07: Download complete [2021-06-24T09:44:59.211Z] adcc1eea9eea: Verifying Checksum [2021-06-24T09:44:59.211Z] adcc1eea9eea: Download complete [2021-06-24T09:44:59.211Z] afea3b2eda06: Verifying Checksum [2021-06-24T09:44:59.211Z] afea3b2eda06: Download complete [2021-06-24T09:44:59.211Z] 7809a108b3ef: Verifying Checksum [2021-06-24T09:44:59.211Z] 7809a108b3ef: Download complete [2021-06-24T09:44:59.211Z] 540db60ca938: Verifying Checksum [2021-06-24T09:44:59.211Z] 540db60ca938: Download complete [2021-06-24T09:44:59.476Z] 540db60ca938: Pull complete [2021-06-24T09:44:59.476Z] adcc1eea9eea: Pull complete [2021-06-24T09:44:59.737Z] 4c4ab2625f07: Pull complete [2021-06-24T09:45:00.679Z] f706445af74f: Verifying Checksum [2021-06-24T09:45:00.679Z] f706445af74f: Download complete [2021-06-24T09:45:01.263Z] 0510c868ecb4: Verifying Checksum [2021-06-24T09:45:01.263Z] 0510c868ecb4: Download complete [2021-06-24T09:45:04.658Z] 0510c868ecb4: Pull complete [2021-06-24T09:45:04.658Z] afea3b2eda06: Pull complete [2021-06-24T09:45:04.658Z] 7809a108b3ef: Pull complete [2021-06-24T09:45:06.127Z] f706445af74f: Pull complete [2021-06-24T09:45:06.127Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-24T09:45:06.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-24T09:45:06.127Z] ---> b068be0155e3 [2021-06-24T09:45:06.127Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:45:10.295Z] ---> Running in b36fd45edcc2 [2021-06-24T09:45:10.295Z] Removing intermediate container b36fd45edcc2 [2021-06-24T09:45:10.295Z] ---> 588ca151b87d [2021-06-24T09:45:10.295Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:45:10.295Z] ---> Running in 50582fbf95e7 [2021-06-24T09:45:10.871Z] Removing intermediate container 50582fbf95e7 [2021-06-24T09:45:10.871Z] ---> 6c2a6dc10cef [2021-06-24T09:45:10.871Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T09:45:10.871Z] ---> Running in 8d161b3299e9 [2021-06-24T09:45:11.135Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T09:45:12.527Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T09:45:12.791Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T09:45:13.367Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T09:45:13.367Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T09:45:13.367Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T09:45:13.633Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T09:45:13.633Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T09:45:13.633Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T09:45:13.634Z] OK: 150 MiB in 46 packages [2021-06-24T09:45:14.223Z] Removing intermediate container 8d161b3299e9 [2021-06-24T09:45:14.223Z] ---> 1ba438d62b0c [2021-06-24T09:45:14.223Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T09:45:14.485Z] ---> Running in fd137cbc03e8 [2021-06-24T09:45:14.485Z] Removing intermediate container fd137cbc03e8 [2021-06-24T09:45:14.485Z] ---> 80e931bde7ab [2021-06-24T09:45:14.485Z] Step 7/8 : COPY . . [2021-06-24T09:45:15.061Z] ---> 8ee8b528a8f4 [2021-06-24T09:45:15.061Z] Step 8/8 : RUN go mod download [2021-06-24T09:45:15.061Z] ---> Running in 072c782e5779 [2021-06-24T09:45:25.925Z] Removing intermediate container 072c782e5779 [2021-06-24T09:45:25.925Z] ---> 77a853512ae5 [2021-06-24T09:45:25.925Z] Successfully built 77a853512ae5 [2021-06-24T09:45:25.925Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:45:26.232Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T09:45:26.232Z] . [Pipeline] withDockerContainer [2021-06-24T09:45:26.306Z] prd-centos7-docker-4c-2g-1143 does not seem to be running inside a container [2021-06-24T09:45:26.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-24T09:45:29.104Z] $ docker top d74d37de17ff34b2c6ee409452aa702187c6f6227ac42456e189be063970a204 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T09:45:29.624Z] + go version [2021-06-24T09:45:29.624Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-24T09:45:29.634Z] $ docker stop --time=1 d74d37de17ff34b2c6ee409452aa702187c6f6227ac42456e189be063970a204 [2021-06-24T09:45:30.845Z] $ docker rm -f d74d37de17ff34b2c6ee409452aa702187c6f6227ac42456e189be063970a204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:45:31.491Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T09:45:31.491Z] . [Pipeline] withDockerContainer [2021-06-24T09:45:31.564Z] prd-centos7-docker-4c-2g-1143 does not seem to be running inside a container [2021-06-24T09:45:31.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-24T09:45:32.024Z] $ docker top 422cf0b400e2e3806aa7e3249e82d8fca811d8df4e78490a859560495dda4142 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T09:45:32.443Z] + go mod tidy [Pipeline] sh [2021-06-24T09:45:33.010Z] + make test [2021-06-24T09:45:33.010Z] go mod tidy [2021-06-24T09:45:33.010Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T09:45:34.308Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1144 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-24T09:45:34.329Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2021-06-24T09:45:34.548Z] Selected Git installation does not exist. Using Default [2021-06-24T09:45:34.548Z] The recommended git tool is: NONE [2021-06-24T09:45:38.379Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T09:45:41.805Z] using credential edgex-jenkins-ssh [2021-06-24T09:45:41.827Z] Cloning the remote Git repository [2021-06-24T09:45:41.859Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:45:41.963Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2021-06-24T09:45:42.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:45:42.047Z] > git --version # timeout=10 [2021-06-24T09:45:42.061Z] > git --version # 'git version 2.17.1' [2021-06-24T09:45:42.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:45:42.149Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T09:45:43.926Z] Merging remotes/origin/master commit 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 into PR head commit 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 [2021-06-24T09:45:44.118Z] Merge succeeded, producing 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 [2021-06-24T09:45:44.119Z] Checking out Revision 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 (PR-971) [2021-06-24T09:45:43.291Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T09:45:43.309Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T09:45:43.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T09:45:43.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:45:43.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:45:43.373Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T09:45:43.937Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T09:45:43.950Z] > git checkout -f 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 # timeout=10 [2021-06-24T09:45:44.041Z] > git remote # timeout=10 [2021-06-24T09:45:44.054Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T09:45:44.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:45:44.080Z] > git merge 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 # timeout=10 [2021-06-24T09:45:44.099Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T09:45:44.118Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T09:45:44.128Z] > git checkout -f 47d78551dfac9ad1fcd6e88a98fd65ee4d348586 # timeout=10 [2021-06-24T09:45:48.321Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T09:45:49.780Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-24T09:45:50.222Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T09:45:50.569Z] + + sudo servicetrue docker [2021-06-24T09:45:50.569Z] restart [2021-06-24T09:46:03.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T09:46:03.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T09:46:03.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T09:46:05.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.080s coverage: 24.2% of statements [2021-06-24T09:46:05.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T09:46:05.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 28.1% of statements [2021-06-24T09:46:05.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2021-06-24T09:46:06.096Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements [2021-06-24T09:46:06.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T09:46:06.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T09:46:06.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T09:46:06.672Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 28.7% of statements [2021-06-24T09:46:06.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T09:46:10.544Z] provisioning config files... [2021-06-24T09:46:10.582Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/15@tmp/config6721746971050956191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:46:10.975Z] ---> docker-login.sh [2021-06-24T09:46:10.975Z] nexus3.edgexfoundry.org:10001 [2021-06-24T09:46:11.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:46:12.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:46:12.228Z] Configure a credential helper to remove this warning. See [2021-06-24T09:46:12.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:46:12.228Z] [2021-06-24T09:46:12.228Z] Login Succeeded [2021-06-24T09:46:12.228Z] nexus3.edgexfoundry.org:10002 [2021-06-24T09:46:12.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:46:12.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:46:12.500Z] Configure a credential helper to remove this warning. See [2021-06-24T09:46:12.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:46:12.500Z] [2021-06-24T09:46:12.500Z] Login Succeeded [2021-06-24T09:46:12.500Z] nexus3.edgexfoundry.org:10003 [2021-06-24T09:46:13.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:46:13.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:46:13.099Z] Configure a credential helper to remove this warning. See [2021-06-24T09:46:13.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:46:13.099Z] [2021-06-24T09:46:13.099Z] Login Succeeded [2021-06-24T09:46:13.099Z] nexus3.edgexfoundry.org:10004 [2021-06-24T09:46:13.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 6.061s coverage: 83.3% of statements [2021-06-24T09:46:13.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T09:46:13.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T09:46:13.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 58.0% of statements [2021-06-24T09:46:13.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.816s coverage: 89.2% of statements [2021-06-24T09:46:13.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T09:46:13.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements [2021-06-24T09:46:13.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T09:46:13.269Z] GO111MODULE=on go vet ./... [2021-06-24T09:46:13.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:46:13.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:46:13.648Z] Configure a credential helper to remove this warning. See [2021-06-24T09:46:13.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:46:13.648Z] [2021-06-24T09:46:13.648Z] Login Succeeded [2021-06-24T09:46:13.648Z] docker.io [2021-06-24T09:46:13.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:46:14.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:46:14.192Z] Configure a credential helper to remove this warning. See [2021-06-24T09:46:14.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:46:14.192Z] [2021-06-24T09:46:14.192Z] Login Succeeded [2021-06-24T09:46:14.192Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T09:46:14.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T09:46:14.530Z] ========================================================= [2021-06-24T09:46:14.530Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-24T09:46:14.530Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:46:14.873Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-24T09:46:15.148Z] Sending build context to Docker daemon 2.666MB [2021-06-24T09:46:15.425Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T09:46:15.425Z] Step 2/8 : FROM ${BASE} [2021-06-24T09:46:15.425Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-24T09:46:15.425Z] 595b0fe564bb: Pulling fs layer [2021-06-24T09:46:15.425Z] 3088b5b3c5c0: Pulling fs layer [2021-06-24T09:46:15.425Z] 5b7225fbf94c: Pulling fs layer [2021-06-24T09:46:15.425Z] ba82ee9f976e: Pulling fs layer [2021-06-24T09:46:15.425Z] 506bd15cee9f: Pulling fs layer [2021-06-24T09:46:15.425Z] 75a0a4a0db45: Pulling fs layer [2021-06-24T09:46:15.425Z] 618dc40b7e24: Pulling fs layer [2021-06-24T09:46:15.425Z] ba82ee9f976e: Waiting [2021-06-24T09:46:15.425Z] 506bd15cee9f: Waiting [2021-06-24T09:46:15.425Z] 75a0a4a0db45: Waiting [2021-06-24T09:46:15.425Z] 618dc40b7e24: Waiting [2021-06-24T09:46:15.705Z] 5b7225fbf94c: Verifying Checksum [2021-06-24T09:46:15.705Z] 5b7225fbf94c: Download complete [2021-06-24T09:46:15.705Z] 3088b5b3c5c0: Verifying Checksum [2021-06-24T09:46:15.705Z] 3088b5b3c5c0: Download complete [2021-06-24T09:46:15.705Z] 506bd15cee9f: Verifying Checksum [2021-06-24T09:46:15.705Z] 506bd15cee9f: Download complete [2021-06-24T09:46:15.705Z] 75a0a4a0db45: Download complete [2021-06-24T09:46:15.705Z] 595b0fe564bb: Verifying Checksum [2021-06-24T09:46:15.705Z] 595b0fe564bb: Download complete [2021-06-24T09:46:16.694Z] 595b0fe564bb: Pull complete [2021-06-24T09:46:16.969Z] 3088b5b3c5c0: Pull complete [2021-06-24T09:46:17.572Z] 5b7225fbf94c: Pull complete [2021-06-24T09:46:18.170Z] 618dc40b7e24: Verifying Checksum [2021-06-24T09:46:18.171Z] 618dc40b7e24: Download complete [2021-06-24T09:46:19.612Z] ba82ee9f976e: Verifying Checksum [2021-06-24T09:46:19.612Z] ba82ee9f976e: Download complete [2021-06-24T09:46:29.990Z] ba82ee9f976e: Pull complete [2021-06-24T09:46:30.274Z] 506bd15cee9f: Pull complete [2021-06-24T09:46:30.872Z] 75a0a4a0db45: Pull complete [2021-06-24T09:46:32.706Z] gofmt -l . [2021-06-24T09:46:32.706Z] [ "`gofmt -l .`" = "" ] [2021-06-24T09:46:32.706Z] ./bin/test-attribution-txt.sh [2021-06-24T09:46:32.706Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T09:46:32.716Z] $ docker stop --time=1 422cf0b400e2e3806aa7e3249e82d8fca811d8df4e78490a859560495dda4142 [2021-06-24T09:46:34.271Z] 618dc40b7e24: Pull complete [2021-06-24T09:46:34.271Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-24T09:46:34.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-24T09:46:34.271Z] ---> a36622ca3599 [2021-06-24T09:46:34.271Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:46:34.451Z] $ docker rm -f 422cf0b400e2e3806aa7e3249e82d8fca811d8df4e78490a859560495dda4142 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T09:46:34.966Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T09:46:35.217Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-24T09:46:36.264Z] ---> Running in 28ac3d0e96d3 [2021-06-24T09:46:36.317Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T09:46:36.611Z] + ls -al . [2021-06-24T09:46:36.611Z] total 212 [2021-06-24T09:46:36.611Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 24 09:46 . [2021-06-24T09:46:36.611Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 24 09:44 .. [2021-06-24T09:46:36.611Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 24 09:44 bin [2021-06-24T09:46:36.611Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 24 09:46 coverage.out [2021-06-24T09:46:36.611Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 24 09:44 Dockerfile.build [2021-06-24T09:46:36.611Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 24 09:44 .dockerignore [2021-06-24T09:46:36.611Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 24 09:44 example [2021-06-24T09:46:36.611Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 24 09:44 .git [2021-06-24T09:46:36.611Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 24 09:44 .github [2021-06-24T09:46:36.611Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 24 09:44 .gitignore [2021-06-24T09:46:36.611Z] -rw-r--r--. 1 jenkins jenkins 563 Jun 24 09:46 go.mod [2021-06-24T09:46:36.611Z] -rw-r--r--. 1 jenkins jenkins 20598 Jun 24 09:45 go.sum [2021-06-24T09:46:36.611Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 24 09:44 internal [2021-06-24T09:46:36.611Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 24 09:44 Jenkinsfile [2021-06-24T09:46:36.611Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 24 09:44 LICENSE [2021-06-24T09:46:36.611Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 24 09:44 Makefile [2021-06-24T09:46:36.611Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 24 09:44 openapi [2021-06-24T09:46:36.611Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 24 09:44 pkg [2021-06-24T09:46:36.611Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 24 09:44 README.md [2021-06-24T09:46:36.611Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 24 09:44 RELEASE-NOTES.txt [2021-06-24T09:46:36.611Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 24 09:44 snap [2021-06-24T09:46:36.611Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 24 09:42 VERSION [2021-06-24T09:46:36.611Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 24 09:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:46:36.929Z] + 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=47d78551dfac9ad1fcd6e88a98fd65ee4d348586 --label arch=amd64 --label version=0.0.0 . [2021-06-24T09:46:36.929Z] Sending build context to Docker daemon 2.783MB [2021-06-24T09:46:36.929Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T09:46:36.929Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T09:46:36.929Z] ---> 77a853512ae5 [2021-06-24T09:46:36.929Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-24T09:46:36.929Z] ---> Running in 9593193b8cef [2021-06-24T09:46:36.971Z] Removing intermediate container 28ac3d0e96d3 [2021-06-24T09:46:36.971Z] ---> 9f019079f742 [2021-06-24T09:46:36.971Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:46:36.971Z] ---> Running in 868d322b98f8 [2021-06-24T09:46:37.195Z] Removing intermediate container 9593193b8cef [2021-06-24T09:46:37.195Z] ---> 34731151f2a0 [2021-06-24T09:46:37.195Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:46:37.195Z] ---> Running in c58b5ac80744 [2021-06-24T09:46:37.195Z] Removing intermediate container c58b5ac80744 [2021-06-24T09:46:37.195Z] ---> 40f9e2d7acc2 [2021-06-24T09:46:37.195Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:46:37.195Z] ---> Running in 9c67ee29f9ae [2021-06-24T09:46:39.548Z] Removing intermediate container 9c67ee29f9ae [2021-06-24T09:46:39.548Z] ---> 7d9cd6559cfb [2021-06-24T09:46:39.548Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T09:46:39.548Z] ---> Running in 2e4ce2cc4138 [2021-06-24T09:46:39.548Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T09:46:39.548Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T09:46:39.586Z] Removing intermediate container 868d322b98f8 [2021-06-24T09:46:39.586Z] ---> cd97adc33726 [2021-06-24T09:46:39.586Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T09:46:39.586Z] ---> Running in f0b6594e936c [2021-06-24T09:46:39.821Z] OK: 150 MiB in 46 packages [2021-06-24T09:46:40.084Z] Removing intermediate container 2e4ce2cc4138 [2021-06-24T09:46:40.084Z] ---> 242345c3bda2 [2021-06-24T09:46:40.084Z] Step 7/23 : COPY . . [2021-06-24T09:46:40.344Z] ---> 4edb535f08a8 [2021-06-24T09:46:40.344Z] Step 8/23 : RUN go mod download [2021-06-24T09:46:40.344Z] ---> Running in f02e097c2daa [2021-06-24T09:46:40.572Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T09:46:40.930Z] Removing intermediate container f02e097c2daa [2021-06-24T09:46:40.930Z] ---> e2d280b660b9 [2021-06-24T09:46:40.930Z] Step 9/23 : RUN make build [2021-06-24T09:46:40.930Z] ---> Running in 3670e1e90463 [2021-06-24T09:46:41.198Z] go mod tidy [2021-06-24T09:46:41.198Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-24T09:46:41.555Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T09:46:42.153Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T09:46:42.426Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T09:46:42.426Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T09:46:42.426Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T09:46:42.700Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T09:46:42.700Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T09:46:42.700Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T09:46:42.971Z] OK: 139 MiB in 46 packages [2021-06-24T09:46:43.947Z] Removing intermediate container f0b6594e936c [2021-06-24T09:46:43.947Z] ---> b656f56d6af9 [2021-06-24T09:46:43.947Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T09:46:44.220Z] ---> Running in 90acebd7454c [2021-06-24T09:46:44.821Z] Removing intermediate container 90acebd7454c [2021-06-24T09:46:44.821Z] ---> f5a9540bf025 [2021-06-24T09:46:44.821Z] Step 7/8 : COPY . . [2021-06-24T09:46:46.261Z] ---> 23917d401ade [2021-06-24T09:46:46.261Z] Step 8/8 : RUN go mod download [2021-06-24T09:46:46.262Z] ---> Running in 29f185dd6c0d [2021-06-24T09:46:51.312Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T09:46:52.717Z] Removing intermediate container 3670e1e90463 [2021-06-24T09:46:52.717Z] ---> 054dd1df2a9b [2021-06-24T09:46:52.717Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T09:46:52.978Z] 3.12: Pulling from library/alpine [2021-06-24T09:46:53.239Z] 339de151aab4: Pulling fs layer [2021-06-24T09:46:53.500Z] 339de151aab4: Verifying Checksum [2021-06-24T09:46:53.500Z] 339de151aab4: Download complete [2021-06-24T09:46:53.500Z] 339de151aab4: Pull complete [2021-06-24T09:46:53.500Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T09:46:53.500Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T09:46:53.500Z] ---> 13621d1b12d4 [2021-06-24T09:46:53.500Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:46:53.762Z] ---> Running in 426a0ee7a5df [2021-06-24T09:46:53.762Z] Removing intermediate container 426a0ee7a5df [2021-06-24T09:46:53.762Z] ---> c05d1efad0b8 [2021-06-24T09:46:53.762Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:46:53.762Z] ---> Running in 30a96e3f6f8c [2021-06-24T09:46:54.344Z] Removing intermediate container 30a96e3f6f8c [2021-06-24T09:46:54.344Z] ---> cea5d5147936 [2021-06-24T09:46:54.344Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T09:46:54.344Z] ---> Running in ba18e3c70bbf [2021-06-24T09:46:54.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-24T09:46:55.177Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-24T09:46:55.438Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T09:46:55.699Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T09:46:55.699Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T09:46:56.651Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T09:46:56.651Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T09:46:56.651Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T09:46:56.651Z] OK: 8 MiB in 19 packages [2021-06-24T09:46:59.025Z] Removing intermediate container ba18e3c70bbf [2021-06-24T09:46:59.025Z] ---> 434de00cf5dc [2021-06-24T09:46:59.025Z] Step 14/23 : WORKDIR / [2021-06-24T09:46:59.025Z] ---> Running in bff5296bc3be [2021-06-24T09:46:59.025Z] Removing intermediate container bff5296bc3be [2021-06-24T09:46:59.025Z] ---> 7aba4ece2392 [2021-06-24T09:46:59.025Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T09:46:59.025Z] ---> e9a19cea510c [2021-06-24T09:46:59.025Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T09:46:59.025Z] ---> d215912f3cec [2021-06-24T09:46:59.025Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T09:46:59.025Z] ---> 8292f191aa16 [2021-06-24T09:46:59.025Z] Step 18/23 : EXPOSE 59999 [2021-06-24T09:46:59.025Z] ---> Running in b2fd4ae402bc [2021-06-24T09:46:59.025Z] Removing intermediate container b2fd4ae402bc [2021-06-24T09:46:59.025Z] ---> 63c5e70850ff [2021-06-24T09:46:59.025Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T09:46:59.025Z] ---> Running in 124298ee9601 [2021-06-24T09:46:59.025Z] Removing intermediate container 124298ee9601 [2021-06-24T09:46:59.025Z] ---> 4caaa580c180 [2021-06-24T09:46:59.025Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T09:46:59.025Z] ---> Running in f018a12c3102 [2021-06-24T09:46:59.025Z] Removing intermediate container f018a12c3102 [2021-06-24T09:46:59.025Z] ---> 68da58dac3dc [2021-06-24T09:46:59.025Z] Step 21/23 : LABEL arch=amd64 [2021-06-24T09:46:59.025Z] ---> Running in 20bfae23eeb6 [2021-06-24T09:46:59.025Z] Removing intermediate container 20bfae23eeb6 [2021-06-24T09:46:59.025Z] ---> 56e9b454363c [2021-06-24T09:46:59.025Z] Step 22/23 : LABEL git_sha=47d78551dfac9ad1fcd6e88a98fd65ee4d348586 [2021-06-24T09:46:59.025Z] ---> Running in 214c665d290c [2021-06-24T09:46:59.025Z] Removing intermediate container 214c665d290c [2021-06-24T09:46:59.025Z] ---> c41f94be5f30 [2021-06-24T09:46:59.025Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T09:46:59.025Z] ---> Running in 1cc9756c8773 [2021-06-24T09:46:59.025Z] Removing intermediate container 1cc9756c8773 [2021-06-24T09:46:59.025Z] ---> cd4786556066 [2021-06-24T09:46:59.025Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-24T09:46:59.025Z] Successfully built cd4786556066 [2021-06-24T09:46:59.025Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:46:59.845Z] ---> job-cost.sh [2021-06-24T09:46:59.845Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rSiJ [2021-06-24T09:47:09.946Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T09:47:13.876Z] Removing intermediate container 29f185dd6c0d [2021-06-24T09:47:13.876Z] ---> 62efbaf3ad92 [2021-06-24T09:47:13.876Z] Successfully built 62efbaf3ad92 [2021-06-24T09:47:13.876Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:47:14.224Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T09:47:14.224Z] . [Pipeline] withDockerContainer [2021-06-24T09:47:14.460Z] prd-ubuntu18.04-docker-arm64-4c-16g-1144 does not seem to be running inside a container [2021-06-24T09:47:14.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** ci-base-image-arm64 cat [2021-06-24T09:47:16.236Z] $ docker top 61ec0169bf58612d2f1666b3de368613e96158d149c5bb8e4163427ddd4f0308 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T09:47:17.201Z] + go version [2021-06-24T09:47:17.201Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-24T09:47:17.227Z] $ docker stop --time=1 61ec0169bf58612d2f1666b3de368613e96158d149c5bb8e4163427ddd4f0308 [2021-06-24T09:47:19.084Z] $ docker rm -f 61ec0169bf58612d2f1666b3de368613e96158d149c5bb8e4163427ddd4f0308 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:47:19.905Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T09:47:19.905Z] . [Pipeline] withDockerContainer [2021-06-24T09:47:20.152Z] prd-ubuntu18.04-docker-arm64-4c-16g-1144 does not seem to be running inside a container [2021-06-24T09:47:20.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** ci-base-image-arm64 cat [2021-06-24T09:47:21.902Z] $ docker top 3f7fadb75d0f27a24e34158d90248a6823b12b0962f4af76af46d1aa642fadf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T09:47:22.893Z] + go mod tidy [Pipeline] sh [2021-06-24T09:47:26.175Z] + make test [2021-06-24T09:47:26.175Z] go mod tidy [2021-06-24T09:47:26.175Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T09:47:26.195Z] lf-activate-venv(): INFO: Adding /tmp/venv-rSiJ/bin to PATH [2021-06-24T09:47:26.195Z] INFO: No Stack... [2021-06-24T09:47:26.195Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T09:47:26.195Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T09:47:26.508Z] + cat /w/workspace/device-sdk-go/15/archives/cost.csv [2021-06-24T09:47:26.508Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T09:47:26.545Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-15-stack-cost] [2021-06-24T09:47:26.567Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-15-stack-cost] did not exist. Created. [2021-06-24T09:47:26.568Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T09:47:26.896Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-24T09:47:26.984Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T09:47:26.999Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-15-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-24T09:47:53.034Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T09:49:06.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T09:49:06.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T09:49:06.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T09:49:10.493Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.328s coverage: 24.2% of statements [2021-06-24T09:49:10.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T09:49:10.493Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.204s coverage: 28.1% of statements [2021-06-24T09:49:10.493Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.246s coverage: 78.9% of statements [2021-06-24T09:49:10.493Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.211s coverage: 9.0% of statements [2021-06-24T09:49:10.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T09:49:10.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T09:49:10.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T09:49:11.482Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.307s coverage: 28.7% of statements [2021-06-24T09:49:11.482Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-24T09:49:19.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 6.186s coverage: 83.3% of statements [2021-06-24T09:49:19.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T09:49:19.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T09:49:19.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.385s coverage: 58.0% of statements [2021-06-24T09:49:19.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.253s coverage: 89.2% of statements [2021-06-24T09:49:19.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T09:49:19.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.179s coverage: 5.0% of statements [2021-06-24T09:49:19.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T09:49:19.785Z] GO111MODULE=on go vet ./... [2021-06-24T09:50:29.336Z] gofmt -l . [2021-06-24T09:50:29.336Z] [ "`gofmt -l .`" = "" ] [2021-06-24T09:50:29.336Z] ./bin/test-attribution-txt.sh [2021-06-24T09:50:29.336Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T09:50:29.364Z] $ docker stop --time=1 3f7fadb75d0f27a24e34158d90248a6823b12b0962f4af76af46d1aa642fadf9 [2021-06-24T09:50:31.331Z] $ docker rm -f 3f7fadb75d0f27a24e34158d90248a6823b12b0962f4af76af46d1aa642fadf9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T09:50:32.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T09:50:32.482Z] Warning: overwriting stash ‘coverage-report’ [2021-06-24T09:50:35.573Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T09:50:36.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T09:50:36.470Z] + ls -al . [2021-06-24T09:50:36.470Z] total 248 [2021-06-24T09:50:36.470Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 09:50 . [2021-06-24T09:50:36.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 09:45 .. [2021-06-24T09:50:36.470Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 09:45 .dockerignore [2021-06-24T09:50:36.470Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 09:45 .git [2021-06-24T09:50:36.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 09:45 .github [2021-06-24T09:50:36.470Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 24 09:45 .gitignore [2021-06-24T09:50:36.470Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 24 09:45 Dockerfile.build [2021-06-24T09:50:36.470Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 24 09:45 Jenkinsfile [2021-06-24T09:50:36.470Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 24 09:45 LICENSE [2021-06-24T09:50:36.470Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 24 09:45 Makefile [2021-06-24T09:50:36.470Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 24 09:45 README.md [2021-06-24T09:50:36.470Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 24 09:45 RELEASE-NOTES.txt [2021-06-24T09:50:36.470Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 09:42 VERSION [2021-06-24T09:50:36.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 09:45 bin [2021-06-24T09:50:36.470Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 24 09:49 coverage.out [2021-06-24T09:50:36.470Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 09:45 example [2021-06-24T09:50:36.470Z] -rw-r--r-- 1 jenkins jenkins 563 Jun 24 09:50 go.mod [2021-06-24T09:50:36.470Z] -rw-r--r-- 1 jenkins jenkins 20598 Jun 24 09:47 go.sum [2021-06-24T09:50:36.470Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 24 09:45 internal [2021-06-24T09:50:36.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 09:45 openapi [2021-06-24T09:50:36.470Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 09:45 pkg [2021-06-24T09:50:36.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 09:45 snap [2021-06-24T09:50:36.470Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 24 09:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:50:36.903Z] + 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=47d78551dfac9ad1fcd6e88a98fd65ee4d348586 --label arch=arm64 --label version=0.0.0 . [2021-06-24T09:50:37.509Z] Sending build context to Docker daemon 2.792MB [2021-06-24T09:50:37.509Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T09:50:37.509Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T09:50:37.509Z] ---> 62efbaf3ad92 [2021-06-24T09:50:37.509Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-24T09:50:37.784Z] ---> Running in 085868be6255 [2021-06-24T09:50:38.385Z] Removing intermediate container 085868be6255 [2021-06-24T09:50:38.385Z] ---> 357fd57852e0 [2021-06-24T09:50:38.385Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:50:38.669Z] ---> Running in 1899e1fd2f08 [2021-06-24T09:50:38.962Z] Removing intermediate container 1899e1fd2f08 [2021-06-24T09:50:38.962Z] ---> 6106607e680b [2021-06-24T09:50:38.962Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:50:39.258Z] ---> Running in e462d4405b40 [2021-06-24T09:50:42.384Z] Removing intermediate container e462d4405b40 [2021-06-24T09:50:42.384Z] ---> 6778eb0c3e3b [2021-06-24T09:50:42.384Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T09:50:42.384Z] ---> Running in 259e96ddc271 [2021-06-24T09:50:42.665Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T09:50:43.654Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T09:50:44.652Z] OK: 139 MiB in 46 packages [2021-06-24T09:50:47.671Z] Removing intermediate container 259e96ddc271 [2021-06-24T09:50:47.671Z] ---> c48a0c567790 [2021-06-24T09:50:47.671Z] Step 7/23 : COPY . . [2021-06-24T09:50:47.671Z] ---> 1e38ebc91c07 [2021-06-24T09:50:47.672Z] Step 8/23 : RUN go mod download [2021-06-24T09:50:47.672Z] ---> Running in ac6ee695008d [2021-06-24T09:50:49.671Z] Removing intermediate container ac6ee695008d [2021-06-24T09:50:49.671Z] ---> d34725627387 [2021-06-24T09:50:49.671Z] Step 9/23 : RUN make build [2021-06-24T09:50:49.945Z] ---> Running in f84d22d48fab [2021-06-24T09:50:50.947Z] go mod tidy [2021-06-24T09:50:51.558Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-24T09:51:27.406Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T09:51:27.406Z] Removing intermediate container f84d22d48fab [2021-06-24T09:51:27.406Z] ---> 9fc9b1422737 [2021-06-24T09:51:27.406Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T09:51:27.406Z] 3.12: Pulling from library/alpine [2021-06-24T09:51:27.406Z] d2f70382dc9a: Pulling fs layer [2021-06-24T09:51:27.406Z] d2f70382dc9a: Verifying Checksum [2021-06-24T09:51:27.406Z] d2f70382dc9a: Download complete [2021-06-24T09:51:27.406Z] d2f70382dc9a: Pull complete [2021-06-24T09:51:27.406Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T09:51:27.406Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T09:51:27.406Z] ---> c4fd0aeabfcf [2021-06-24T09:51:27.406Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:51:27.406Z] ---> Running in 8467512984ab [2021-06-24T09:51:27.679Z] Removing intermediate container 8467512984ab [2021-06-24T09:51:27.679Z] ---> ab60baae329c [2021-06-24T09:51:27.679Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:51:27.954Z] ---> Running in 828706b7c056 [2021-06-24T09:51:29.930Z] Removing intermediate container 828706b7c056 [2021-06-24T09:51:29.930Z] ---> a2422a33bfd2 [2021-06-24T09:51:29.930Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T09:51:30.204Z] ---> Running in 0f904567d021 [2021-06-24T09:51:31.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-24T09:51:31.925Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-24T09:51:32.901Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T09:51:32.901Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T09:51:32.901Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T09:51:33.172Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T09:51:33.172Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T09:51:33.445Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T09:51:33.445Z] OK: 8 MiB in 19 packages [2021-06-24T09:51:34.422Z] Removing intermediate container 0f904567d021 [2021-06-24T09:51:34.423Z] ---> 523638dc2ba7 [2021-06-24T09:51:34.423Z] Step 14/23 : WORKDIR / [2021-06-24T09:51:34.700Z] ---> Running in 0931271445a1 [2021-06-24T09:51:35.303Z] Removing intermediate container 0931271445a1 [2021-06-24T09:51:35.303Z] ---> 07f3e2d5a807 [2021-06-24T09:51:35.303Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T09:51:36.307Z] ---> 70ff022775f1 [2021-06-24T09:51:36.307Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T09:51:37.288Z] ---> b156d291ca64 [2021-06-24T09:51:37.288Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T09:51:37.896Z] ---> a8a3c61836a5 [2021-06-24T09:51:37.896Z] Step 18/23 : EXPOSE 59999 [2021-06-24T09:51:38.181Z] ---> Running in 9003ea00e166 [2021-06-24T09:51:38.473Z] Removing intermediate container 9003ea00e166 [2021-06-24T09:51:38.473Z] ---> 806607659d68 [2021-06-24T09:51:38.474Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T09:51:40.724Z] ---> Running in 631d2999a074 [2021-06-24T09:51:40.724Z] Removing intermediate container 631d2999a074 [2021-06-24T09:51:40.724Z] ---> 7bb471c0ebdb [2021-06-24T09:51:40.725Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T09:51:40.725Z] ---> Running in c48d73839087 [2021-06-24T09:51:40.725Z] Removing intermediate container c48d73839087 [2021-06-24T09:51:40.725Z] ---> b8d966490eb0 [2021-06-24T09:51:40.725Z] Step 21/23 : LABEL arch=arm64 [2021-06-24T09:51:40.725Z] ---> Running in 3f7c56541223 [2021-06-24T09:51:40.725Z] Removing intermediate container 3f7c56541223 [2021-06-24T09:51:40.725Z] ---> 578d9ba3622a [2021-06-24T09:51:40.725Z] Step 22/23 : LABEL git_sha=47d78551dfac9ad1fcd6e88a98fd65ee4d348586 [2021-06-24T09:51:40.725Z] ---> Running in b68ded908bb1 [2021-06-24T09:51:41.013Z] Removing intermediate container b68ded908bb1 [2021-06-24T09:51:41.013Z] ---> 17fc8e24b4fd [2021-06-24T09:51:41.013Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T09:51:41.296Z] ---> Running in e557eba39bf4 [2021-06-24T09:51:41.571Z] Removing intermediate container e557eba39bf4 [2021-06-24T09:51:41.571Z] ---> d5365b5cc15b [2021-06-24T09:51:41.571Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-24T09:51:41.843Z] Successfully built d5365b5cc15b [2021-06-24T09:51:41.843Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:51:42.488Z] ---> job-cost.sh [2021-06-24T09:51:42.488Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TYRD [2021-06-24T09:52:22.026Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T09:53:50.253Z] lf-activate-venv(): INFO: Adding /tmp/venv-TYRD/bin to PATH [2021-06-24T09:53:50.253Z] INFO: No Stack... [2021-06-24T09:53:50.253Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-24T09:53:50.253Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T09:53:50.618Z] + cat /w/workspace/device-sdk-go/15/archives/cost.csv+ [2021-06-24T09:53:50.618Z] cut -d, -f6 [Pipeline] lock [2021-06-24T09:53:52.691Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-15-stack-cost] [2021-06-24T09:53:52.698Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-15-stack-cost] did not exist. Created. [2021-06-24T09:53:52.698Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T09:53:53.083Z] /w/workspace/device-sdk-go/15@tmp/durable-34e33de3/script.sh: 1: /w/workspace/device-sdk-go/15@tmp/durable-34e33de3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-24T09:53:53.457Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-24T09:53:53.477Z] Warning: overwriting stash ‘stack-cost’ [2021-06-24T09:53:53.713Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T09:53:53.727Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-15-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-24T09:53:54.458Z] provisioning config files... [2021-06-24T09:53:54.471Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config646966763129760902tmp [Pipeline] { [Pipeline] sh [2021-06-24T09:53:54.807Z] + set +x [2021-06-24T09:53:54.807Z] + bash -s -- [2021-06-24T09:53:54.807Z] + curl -s https://codecov.io/bash [2021-06-24T09:53:54.807Z] [2021-06-24T09:53:54.807Z] _____ _ [2021-06-24T09:53:54.807Z] / ____| | | [2021-06-24T09:53:54.807Z] | | ___ __| | ___ ___ _____ __ [2021-06-24T09:53:54.807Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-24T09:53:54.807Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-24T09:53:54.807Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-24T09:53:54.807Z] Bash-1.0.3 [2021-06-24T09:53:54.807Z] [2021-06-24T09:53:54.807Z] [2021-06-24T09:53:54.807Z] ==> git version 2.24.4 found [2021-06-24T09:53:54.807Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-24T09:53:54.807Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-24T09:53:54.807Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-24T09:53:54.807Z] ==> Jenkins CI detected. [2021-06-24T09:53:54.807Z] project root: . [2021-06-24T09:53:54.807Z] --> token set from env [2021-06-24T09:53:54.807Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-24T09:53:54.807Z] ==> Running gcov in . (disable via -X gcov) [2021-06-24T09:53:54.807Z] ==> Python coveragepy not found [2021-06-24T09:53:54.807Z] ==> Searching for coverage reports in: [2021-06-24T09:53:54.807Z] + . [2021-06-24T09:53:55.076Z] -> Found 1 reports [2021-06-24T09:53:55.076Z] ==> Detecting git/mercurial file structure [2021-06-24T09:53:55.077Z] ==> Reading reports [2021-06-24T09:53:55.077Z] + ./coverage.out bytes=125634 [2021-06-24T09:53:55.077Z] ==> Appending adjustments [2021-06-24T09:53:55.077Z] https://docs.codecov.io/docs/fixing-reports [2021-06-24T09:53:55.370Z] + Found adjustments [2021-06-24T09:53:55.370Z] ==> Gzipping contents [2021-06-24T09:53:55.370Z] 16K /tmp/codecov.vk3rQN.gz [2021-06-24T09:53:55.370Z] ==> Uploading reports [2021-06-24T09:53:55.370Z] url: https://codecov.io [2021-06-24T09:53:55.370Z] query: branch=PR-971&commit=47d78551dfac9ad1fcd6e88a98fd65ee4d348586&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-24T09:53:55.370Z] -> Pinging Codecov [2021-06-24T09:53:55.370Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=47d78551dfac9ad1fcd6e88a98fd65ee4d348586&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-24T09:53:55.633Z] -> Uploading to [2021-06-24T09:53:55.633Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-24/7E55EF52A471D76F132DFD9A03CDDE97/47d78551dfac9ad1fcd6e88a98fd65ee4d348586/29fa08ca-125f-4dd9-9103-18969e340bcc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T095355Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=030c4768fa154a9b453473ae87b7ff2712ab45ded04637102177edc27f4ad019 [2021-06-24T09:53:55.633Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-24T09:53:55.633Z] Dload Upload Total Spent Left Speed [2021-06-24T09:53:56.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16342 0 0 100 16342 0 25248 --:--:-- --:--:-- --:--:-- 25574 [2021-06-24T09:53:56.577Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/47d78551dfac9ad1fcd6e88a98fd65ee4d348586 [Pipeline] } [2021-06-24T09:53:56.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:54:00.270Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:54:00.859Z] ---> package-listing.sh [2021-06-24T09:54:00.859Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-24T09:54:00.859Z] ++ facter osfamily [2021-06-24T09:54:01.122Z] + OS_FAMILY=redhat [2021-06-24T09:54:01.122Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-24T09:54:01.122Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-24T09:54:01.122Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-24T09:54:01.122Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-24T09:54:01.122Z] + PACKAGES=/tmp/packages_start.txt [2021-06-24T09:54:01.122Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-24T09:54:01.122Z] + PACKAGES=/tmp/packages_end.txt [2021-06-24T09:54:01.122Z] + case "${OS_FAMILY}" in [2021-06-24T09:54:01.122Z] + rpm -qa [2021-06-24T09:54:01.122Z] + sort [2021-06-24T09:54:02.081Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-24T09:54:02.081Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-24T09:54:02.081Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-24T09:54:02.081Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-24T09:54:02.081Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-24T09:54:02.081Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-06-24T09:54:02.095Z] 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-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-24T09:54:02.386Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:54:02.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T09:54:02.961Z] [2021-06-24T09:54:02.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:54:03.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T09:54:03.282Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-24T09:54:03.282Z] df20fa9351a1: Pulling fs layer [2021-06-24T09:54:03.282Z] 36b3adc4ff6f: Pulling fs layer [2021-06-24T09:54:03.282Z] 8ad3a11d3b57: Pulling fs layer [2021-06-24T09:54:03.282Z] 46f8f816bc3b: Pulling fs layer [2021-06-24T09:54:03.282Z] 93b61091891f: Pulling fs layer [2021-06-24T09:54:03.282Z] 93b9cdb0e59b: Pulling fs layer [2021-06-24T09:54:03.282Z] 5e14af77c1be: Pulling fs layer [2021-06-24T09:54:03.282Z] 01666e4c0597: Pulling fs layer [2021-06-24T09:54:03.282Z] aa168da1d23b: Pulling fs layer [2021-06-24T09:54:03.282Z] 93b61091891f: Waiting [2021-06-24T09:54:03.282Z] 93b9cdb0e59b: Waiting [2021-06-24T09:54:03.282Z] 5e14af77c1be: Waiting [2021-06-24T09:54:03.282Z] 01666e4c0597: Waiting [2021-06-24T09:54:03.282Z] aa168da1d23b: Waiting [2021-06-24T09:54:03.282Z] 46f8f816bc3b: Waiting [2021-06-24T09:54:03.282Z] 36b3adc4ff6f: Verifying Checksum [2021-06-24T09:54:03.282Z] 36b3adc4ff6f: Download complete [2021-06-24T09:54:03.282Z] 46f8f816bc3b: Verifying Checksum [2021-06-24T09:54:03.282Z] 46f8f816bc3b: Download complete [2021-06-24T09:54:03.554Z] df20fa9351a1: Verifying Checksum [2021-06-24T09:54:03.554Z] df20fa9351a1: Download complete [2021-06-24T09:54:03.554Z] 93b9cdb0e59b: Verifying Checksum [2021-06-24T09:54:03.554Z] 93b9cdb0e59b: Download complete [2021-06-24T09:54:03.554Z] 5e14af77c1be: Verifying Checksum [2021-06-24T09:54:03.554Z] 5e14af77c1be: Download complete [2021-06-24T09:54:03.554Z] 93b61091891f: Verifying Checksum [2021-06-24T09:54:03.554Z] 93b61091891f: Download complete [2021-06-24T09:54:03.554Z] 01666e4c0597: Verifying Checksum [2021-06-24T09:54:03.554Z] 01666e4c0597: Download complete [2021-06-24T09:54:03.554Z] 8ad3a11d3b57: Verifying Checksum [2021-06-24T09:54:03.554Z] 8ad3a11d3b57: Download complete [2021-06-24T09:54:03.816Z] df20fa9351a1: Pull complete [2021-06-24T09:54:03.816Z] 36b3adc4ff6f: Pull complete [2021-06-24T09:54:04.787Z] 8ad3a11d3b57: Pull complete [2021-06-24T09:54:04.787Z] 46f8f816bc3b: Pull complete [2021-06-24T09:54:05.052Z] 93b61091891f: Pull complete [2021-06-24T09:54:05.316Z] 93b9cdb0e59b: Pull complete [2021-06-24T09:54:05.316Z] 5e14af77c1be: Pull complete [2021-06-24T09:54:05.588Z] 01666e4c0597: Pull complete [2021-06-24T09:54:05.588Z] aa168da1d23b: Verifying Checksum [2021-06-24T09:54:05.588Z] aa168da1d23b: Download complete [2021-06-24T09:54:10.923Z] aa168da1d23b: Pull complete [2021-06-24T09:54:10.923Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-24T09:54:10.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T09:54:10.923Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-24T09:54:10.996Z] prd-centos7-docker-4c-2g-1136 does not seem to be running inside a container [2021-06-24T09:54:11.036Z] $ 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-971/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-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-24T09:54:14.206Z] $ docker top 173ebf1a6ccde5f92dbe4c07b9b0bd13c68965ae730759a8cf166463e4772035 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T09:54:14.615Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-24T09:54:14.914Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-24T09:54:15.214Z] + ls /var/log/sa-host [2021-06-24T09:54:15.214Z] + sadf -c /var/log/sa-host/sa05 [2021-06-24T09:54:15.214Z] file_magic: OK [2021-06-24T09:54:15.214Z] HZ: Using current value: 100 [2021-06-24T09:54:15.214Z] file_header: OK [2021-06-24T09:54:15.214Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-24T09:54:15.214Z] Statistics: [2021-06-24T09:54:15.214Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T09:54:15.214Z] File successfully converted to sysstat format version 12.2.1 [2021-06-24T09:54:15.214Z] + sadf -c /var/log/sa-host/sa24 [2021-06-24T09:54:15.215Z] file_magic: OK [2021-06-24T09:54:15.215Z] HZ: Using current value: 100 [2021-06-24T09:54:15.215Z] file_header: OK [2021-06-24T09:54:15.215Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-24T09:54:15.215Z] Statistics: [2021-06-24T09:54:15.215Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T09:54:15.215Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T09:54:15.411Z] provisioning config files... [2021-06-24T09:54:15.424Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config2226629682165161883tmp [Pipeline] { [Pipeline] echo [2021-06-24T09:54:15.444Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:54:15.741Z] ---> create-netrc.sh [Pipeline] } [2021-06-24T09:54:15.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:54:16.126Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-24T09:54:16.144Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:54:16.448Z] ---> sudo-logs.sh [2021-06-24T09:54:16.448Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-24T09:54:16.487Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:54:16.796Z] ---> job-cost.sh [2021-06-24T09:54:16.796Z] lf-activate-venv: SKIPPING [2021-06-24T09:54:16.796Z] DEBUG: total: 0.18000000715255737 [2021-06-24T09:54:16.796Z] INFO: Retrieving Stack Cost... [2021-06-24T09:54:17.737Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T09:54:20.305Z] INFO: Archiving Costs [Pipeline] echo [2021-06-24T09:54:20.320Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:54:20.638Z] ---> logs-deploy.sh [2021-06-24T09:54:20.638Z] lf-activate-venv: SKIPPING [2021-06-24T09:54:20.638Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/15 [2021-06-24T09:54:20.638Z] INFO: archiving workspace using pattern(s): [2021-06-24T09:54:21.595Z] Archives upload complete. [2021-06-24T09:54:21.595Z] INFO: archiving logs to Nexus