Pull request #855 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from db824b875dc02d1a30db4b13af66b223f6c4436d+4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 (0b5ecec15b4692a2778099baa4eb1a5b7ee134cf) Running in Durability level: MAX_SURVIVABILITY 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-855/workspace@libs/edgex-global-pipelines # timeout=10 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-855/workspace@libs/lf-pipelines # timeout=10 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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:docker-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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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-32447 in /w/workspace/dgexfoundry_device-sdk-go_PR-855 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-855 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/855/head:refs/remotes/origin/PR-855 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit db824b875dc02d1a30db4b13af66b223f6c4436d Merge succeeded, producing db824b875dc02d1a30db4b13af66b223f6c4436d Checking out Revision db824b875dc02d1a30db4b13af66b223f6c4436d (PR-855) > git config core.sparsecheckout # timeout=10 > git checkout -f db824b875dc02d1a30db4b13af66b223f6c4436d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db824b875dc02d1a30db4b13af66b223f6c4436d # timeout=10 Commit message: "fix: add device OperatingState check in device command API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-01T08:22:14.494Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-01T08:22:14.846Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-01T08:22:15.052Z] ========================================================= [2021-04-01T08:22:15.052Z] EdgeX Global Pipelines Version Info [2021-04-01T08:22:15.052Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-01T08:22:16.655Z] ------------------- [2021-04-01T08:22:16.655Z] stable info: [2021-04-01T08:22:16.655Z] ------------------- [2021-04-01T08:22:16.655Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-01T08:22:16.655Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-01T08:22:16.655Z] Message: update stable to v1.0.186 [2021-04-01T08:22:17.600Z] ------------------- [2021-04-01T08:22:17.600Z] experimental info: [2021-04-01T08:22:17.600Z] ------------------- [2021-04-01T08:22:17.600Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-01T08:22:17.600Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-01T08:22:17.600Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-01T08:22:17.987Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-01T08:22:18.124Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-01T08:22:18.250Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-01T08:22:18.369Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-01T08:22:18.495Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-01T08:22:18.618Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-01T08:22:18.748Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-01T08:22:18.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-01T08:22:19.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-01T08:22:19.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-01T08:22:19.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-01T08:22:19.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-01T08:22:19.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-01T08:22:19.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-01T08:22:19.855Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-01T08:22:19.984Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-01T08:22:20.121Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-01T08:22:20.267Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-01T08:22:20.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-01T08:22:20.551Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-01T08:22:20.677Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-01T08:22:20.795Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-01T08:22:20.927Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-01T08:22:21.076Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-01T08:22:21.194Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-01T08:22:21.319Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-01T08:22:21.438Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-855 [Pipeline] echo [2021-04-01T08:22:21.559Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-855 [Pipeline] echo [2021-04-01T08:22:21.676Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-855 [Pipeline] echo [2021-04-01T08:22:21.814Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db824b875dc02d1a30db4b13af66b223f6c4436d [Pipeline] echo [2021-04-01T08:22:21.940Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db824b8 [Pipeline] echo [2021-04-01T08:22:22.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-01T08:22:22.339Z] provisioning config files... [2021-04-01T08:22:22.370Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-855@tmp/config5318799467581738138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-01T08:22:22.800Z] ---> docker-login.sh [2021-04-01T08:22:22.800Z] nexus3.edgexfoundry.org:10001 [2021-04-01T08:22:23.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:22:23.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:22:23.062Z] Configure a credential helper to remove this warning. See [2021-04-01T08:22:23.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:22:23.062Z] [2021-04-01T08:22:23.062Z] Login Succeeded [2021-04-01T08:22:23.062Z] nexus3.edgexfoundry.org:10002 [2021-04-01T08:22:23.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:22:23.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:22:23.326Z] Configure a credential helper to remove this warning. See [2021-04-01T08:22:23.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:22:23.326Z] [2021-04-01T08:22:23.326Z] Login Succeeded [2021-04-01T08:22:23.326Z] nexus3.edgexfoundry.org:10003 [2021-04-01T08:22:23.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:22:23.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:22:23.590Z] Configure a credential helper to remove this warning. See [2021-04-01T08:22:23.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:22:23.590Z] [2021-04-01T08:22:23.590Z] Login Succeeded [2021-04-01T08:22:23.590Z] nexus3.edgexfoundry.org:10004 [2021-04-01T08:22:23.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:22:23.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:22:23.852Z] Configure a credential helper to remove this warning. See [2021-04-01T08:22:23.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:22:23.852Z] [2021-04-01T08:22:23.852Z] Login Succeeded [2021-04-01T08:22:23.852Z] docker.io [2021-04-01T08:22:23.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:22:24.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:22:24.114Z] Configure a credential helper to remove this warning. See [2021-04-01T08:22:24.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:22:24.114Z] [2021-04-01T08:22:24.114Z] Login Succeeded [2021-04-01T08:22:24.114Z] ---> docker-login.sh ends [Pipeline] } [2021-04-01T08:22:24.136Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-01T08:22:25.202Z] + git log --format=format:%s -1 db824b875dc02d1a30db4b13af66b223f6c4436d [Pipeline] echo [2021-04-01T08:22:25.280Z] GIT_COMMIT: db824b875dc02d1a30db4b13af66b223f6c4436d, Commit Message: fix: add device OperatingState check in device command API [Pipeline] echo [2021-04-01T08:22:25.390Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:22:26.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-01T08:22:26.457Z] [2021-04-01T08:22:26.457Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:22:26.847Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-01T08:22:26.847Z] latest: Pulling from edgex-devops/git-semver [2021-04-01T08:22:26.847Z] 31603596830f: Pulling fs layer [2021-04-01T08:22:26.847Z] 2a8b12db71e7: Pulling fs layer [2021-04-01T08:22:26.847Z] 6ca5941a6612: Pulling fs layer [2021-04-01T08:22:26.847Z] ecc8261a40a4: Pulling fs layer [2021-04-01T08:22:26.847Z] ecc8261a40a4: Waiting [2021-04-01T08:22:26.847Z] 2a8b12db71e7: Verifying Checksum [2021-04-01T08:22:26.847Z] 2a8b12db71e7: Download complete [2021-04-01T08:22:26.847Z] 31603596830f: Verifying Checksum [2021-04-01T08:22:26.847Z] 31603596830f: Download complete [2021-04-01T08:22:27.111Z] ecc8261a40a4: Verifying Checksum [2021-04-01T08:22:27.111Z] ecc8261a40a4: Download complete [2021-04-01T08:22:27.111Z] 6ca5941a6612: Verifying Checksum [2021-04-01T08:22:27.111Z] 6ca5941a6612: Download complete [2021-04-01T08:22:27.378Z] 31603596830f: Pull complete [2021-04-01T08:22:27.378Z] 2a8b12db71e7: Pull complete [2021-04-01T08:22:28.330Z] 6ca5941a6612: Pull complete [2021-04-01T08:22:28.593Z] ecc8261a40a4: Pull complete [2021-04-01T08:22:28.593Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-01T08:22:28.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-01T08:22:28.593Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-01T08:22:28.726Z] prd-centos7-docker-4c-2g-32447 does not seem to be running inside a container [2021-04-01T08:22:28.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-855 -v /w/workspace/dgexfoundry_device-sdk-go_PR-855:/w/workspace/dgexfoundry_device-sdk-go_PR-855:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-855@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-855@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-01T08:22:31.035Z] $ docker top b40ff86d401a2367b6eb84d89447b080209ec7d32a322783d2e21a9279a24930 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-01T08:22:31.524Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-01T08:22:31.524Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-01T08:22:31.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-01T08:22:31.752Z] $ docker exec b40ff86d401a2367b6eb84d89447b080209ec7d32a322783d2e21a9279a24930 ssh-agent [2021-04-01T08:22:31.927Z] SSH_AUTH_SOCK=/tmp/ssh-dbYvNnmAzjXU/agent.12 [2021-04-01T08:22:31.927Z] SSH_AGENT_PID=17 [2021-04-01T08:22:31.940Z] Running ssh-add (command line suppressed) [2021-04-01T08:22:32.067Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-855@tmp/private_key_2506514731886124668.key (/w/workspace/dgexfoundry_device-sdk-go_PR-855@tmp/private_key_2506514731886124668.key) [2021-04-01T08:22:32.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-01T08:22:32.494Z] + git tag --points-at HEAD [Pipeline] } [2021-04-01T08:22:32.522Z] $ docker exec --env ******** --env ******** b40ff86d401a2367b6eb84d89447b080209ec7d32a322783d2e21a9279a24930 ssh-agent -k [2021-04-01T08:22:32.631Z] unset SSH_AUTH_SOCK; [2021-04-01T08:22:32.631Z] unset SSH_AGENT_PID; [2021-04-01T08:22:32.631Z] echo Agent pid 17 killed; [2021-04-01T08:22:32.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-01T08:22:32.862Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-01T08:22:32.862Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-01T08:22:33.026Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-01T08:22:33.029Z] $ docker exec b40ff86d401a2367b6eb84d89447b080209ec7d32a322783d2e21a9279a24930 ssh-agent [2021-04-01T08:22:33.190Z] SSH_AUTH_SOCK=/tmp/ssh-KRvetYDfHFoM/agent.46 [2021-04-01T08:22:33.190Z] SSH_AGENT_PID=51 [2021-04-01T08:22:33.197Z] Running ssh-add (command line suppressed) [2021-04-01T08:22:33.313Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-855@tmp/private_key_5512753224637591703.key (/w/workspace/dgexfoundry_device-sdk-go_PR-855@tmp/private_key_5512753224637591703.key) [2021-04-01T08:22:33.367Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-01T08:22:33.773Z] + git semver init [2021-04-01T08:22:33.773Z] # -> Open(): unable to determine branch for HEAD [2021-04-01T08:22:33.773Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-855/.git [2021-04-01T08:22:33.773Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-855 [2021-04-01T08:22:33.773Z] # $SEMVER_REMOTE_NAME = origin [2021-04-01T08:22:33.773Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-01T08:22:33.773Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-01T08:22:33.773Z] # $SEMVER_BRANCH = PR-855 [2021-04-01T08:22:33.773Z] # $SEMVER_TEMP = /tmp/semver-693787485 [2021-04-01T08:22:33.773Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-01T08:22:35.691Z] # '/tmp/semver-693787485' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-855/.semver' [2021-04-01T08:22:35.691Z] # -> Force: false [2021-04-01T08:22:35.691Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-855/.semver [Pipeline] } [2021-04-01T08:22:35.708Z] $ docker exec --env ******** --env ******** b40ff86d401a2367b6eb84d89447b080209ec7d32a322783d2e21a9279a24930 ssh-agent -k [2021-04-01T08:22:35.826Z] unset SSH_AUTH_SOCK; [2021-04-01T08:22:35.827Z] unset SSH_AGENT_PID; [2021-04-01T08:22:35.827Z] echo Agent pid 51 killed; [2021-04-01T08:22:35.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-01T08:22:36.437Z] + git semver [Pipeline] } [2021-04-01T08:22:36.471Z] $ docker stop --time=1 b40ff86d401a2367b6eb84d89447b080209ec7d32a322783d2e21a9279a24930 [2021-04-01T08:22:37.859Z] $ docker rm -f b40ff86d401a2367b6eb84d89447b080209ec7d32a322783d2e21a9279a24930 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-01T08:22:38.419Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-01T08:22:38.882Z] Stashed 1 file(s) [Pipeline] echo [2021-04-01T08:22:38.901Z] [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-04-01T08:22:54.725Z] Still waiting to schedule task [2021-04-01T08:22:54.726Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-01T08:22:54.751Z] Still waiting to schedule task [2021-04-01T08:22:54.751Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-01T08:24:43.068Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32448 in /w/workspace/dgexfoundry_device-sdk-go_PR-855 [Pipeline] { [Pipeline] ws [2021-04-01T08:24:43.161Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-01T08:24:47.874Z] using credential edgex-jenkins-ssh [2021-04-01T08:24:47.941Z] Cloning the remote Git repository [2021-04-01T08:24:48.006Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T08:24:48.115Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-01T08:24:48.198Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T08:24:48.198Z] > git --version # timeout=10 [2021-04-01T08:24:48.222Z] > git --version # 'git version 2.17.1' [2021-04-01T08:24:48.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T08:24:48.290Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T08:24:49.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T08:24:49.419Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T08:24:49.444Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T08:24:50.052Z] Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit db824b875dc02d1a30db4b13af66b223f6c4436d [2021-04-01T08:24:50.341Z] Merge succeeded, producing db824b875dc02d1a30db4b13af66b223f6c4436d [2021-04-01T08:24:50.341Z] Checking out Revision db824b875dc02d1a30db4b13af66b223f6c4436d (PR-855) [2021-04-01T08:24:49.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T08:24:49.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T08:24:49.490Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/855/head:refs/remotes/origin/PR-855 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-01T08:24:50.078Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T08:24:50.096Z] > git checkout -f db824b875dc02d1a30db4b13af66b223f6c4436d # timeout=10 [2021-04-01T08:24:50.192Z] > git remote # timeout=10 [2021-04-01T08:24:50.248Z] > git config --get remote.origin.url # timeout=10 [2021-04-01T08:24:50.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T08:24:50.292Z] > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 [2021-04-01T08:24:50.322Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-01T08:24:50.357Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T08:24:50.389Z] > git checkout -f db824b875dc02d1a30db4b13af66b223f6c4436d # timeout=10 [2021-04-01T08:24:54.555Z] Commit message: "fix: add device OperatingState check in device command API" [2021-04-01T08:24:54.619Z] > git --version # timeout=10 [2021-04-01T08:24:54.634Z] > git --version # 'git version 2.17.1' [2021-04-01T08:24:54.650Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-01T08:24:56.564Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-01T08:24:57.048Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-01T08:24:57.410Z] + sudo service docker restart [2021-04-01T08:24:57.410Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-01T08:25:00.215Z] provisioning config files... [2021-04-01T08:25:00.253Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8103336013317799111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-01T08:25:00.717Z] ---> docker-login.sh [2021-04-01T08:25:00.717Z] nexus3.edgexfoundry.org:10001 [2021-04-01T08:25:01.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:25:01.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:25:01.974Z] Configure a credential helper to remove this warning. See [2021-04-01T08:25:01.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:25:01.974Z] [2021-04-01T08:25:01.974Z] Login Succeeded [2021-04-01T08:25:01.974Z] nexus3.edgexfoundry.org:10002 [2021-04-01T08:25:02.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:25:02.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:25:02.526Z] Configure a credential helper to remove this warning. See [2021-04-01T08:25:02.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:25:02.526Z] [2021-04-01T08:25:02.526Z] Login Succeeded [2021-04-01T08:25:02.526Z] nexus3.edgexfoundry.org:10003 [2021-04-01T08:25:02.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:25:03.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:25:03.079Z] Configure a credential helper to remove this warning. See [2021-04-01T08:25:03.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:25:03.079Z] [2021-04-01T08:25:03.079Z] Login Succeeded [2021-04-01T08:25:03.079Z] nexus3.edgexfoundry.org:10004 [2021-04-01T08:25:03.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:25:03.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:25:03.631Z] Configure a credential helper to remove this warning. See [2021-04-01T08:25:03.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:25:03.631Z] [2021-04-01T08:25:03.631Z] Login Succeeded [2021-04-01T08:25:03.631Z] docker.io [2021-04-01T08:25:03.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:25:04.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:25:04.221Z] Configure a credential helper to remove this warning. See [2021-04-01T08:25:04.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:25:04.221Z] [2021-04-01T08:25:04.221Z] Login Succeeded [2021-04-01T08:25:04.221Z] ---> docker-login.sh ends [Pipeline] } [2021-04-01T08:25:04.266Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-01T08:25:04.846Z] ========================================================= [2021-04-01T08:25:04.846Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-01T08:25:04.846Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:25:05.264Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-01T08:25:05.540Z] Sending build context to Docker daemon 2.377MB [2021-04-01T08:25:05.540Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T08:25:05.540Z] Step 2/8 : FROM ${BASE} [2021-04-01T08:25:05.817Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-01T08:25:05.817Z] 5f621e34cdf4: Pulling fs layer [2021-04-01T08:25:05.817Z] a4357932f1b6: Pulling fs layer [2021-04-01T08:25:05.817Z] 18c013af1878: Pulling fs layer [2021-04-01T08:25:05.817Z] 00ac8860ef70: Pulling fs layer [2021-04-01T08:25:05.817Z] 63d7cb157983: Pulling fs layer [2021-04-01T08:25:05.817Z] b116817d02f9: Pulling fs layer [2021-04-01T08:25:05.817Z] 745a02a5169b: Pulling fs layer [2021-04-01T08:25:05.817Z] 00ac8860ef70: Waiting [2021-04-01T08:25:05.817Z] 63d7cb157983: Waiting [2021-04-01T08:25:05.817Z] b116817d02f9: Waiting [2021-04-01T08:25:05.817Z] 745a02a5169b: Waiting [2021-04-01T08:25:05.817Z] a4357932f1b6: Verifying Checksum [2021-04-01T08:25:05.817Z] 18c013af1878: Verifying Checksum [2021-04-01T08:25:05.817Z] 18c013af1878: Download complete [2021-04-01T08:25:05.817Z] a4357932f1b6: Download complete [2021-04-01T08:25:05.817Z] 63d7cb157983: Download complete [2021-04-01T08:25:05.817Z] b116817d02f9: Verifying Checksum [2021-04-01T08:25:05.817Z] b116817d02f9: Download complete [2021-04-01T08:25:05.817Z] 5f621e34cdf4: Verifying Checksum [2021-04-01T08:25:05.817Z] 5f621e34cdf4: Download complete [2021-04-01T08:25:05.828Z] Running on prd-centos7-docker-4c-2g-32449 in /w/workspace/dgexfoundry_device-sdk-go_PR-855 [Pipeline] { [Pipeline] ws [2021-04-01T08:25:05.923Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-01T08:25:06.440Z] 5f621e34cdf4: Pull complete [2021-04-01T08:25:07.053Z] a4357932f1b6: Pull complete [2021-04-01T08:25:07.326Z] 18c013af1878: Pull complete [2021-04-01T08:25:08.304Z] 745a02a5169b: Verifying Checksum [2021-04-01T08:25:08.304Z] 745a02a5169b: Download complete [2021-04-01T08:25:08.511Z] using credential edgex-jenkins-ssh [2021-04-01T08:25:08.565Z] Cloning the remote Git repository [2021-04-01T08:25:08.322Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T08:25:08.524Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-01T08:25:08.609Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T08:25:08.609Z] > git --version # timeout=10 [2021-04-01T08:25:08.628Z] > git --version # 'git version 2.24.3' [2021-04-01T08:25:08.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T08:25:08.659Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T08:25:09.739Z] 00ac8860ef70: Verifying Checksum [2021-04-01T08:25:09.739Z] 00ac8860ef70: Download complete [2021-04-01T08:25:10.181Z] Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit db824b875dc02d1a30db4b13af66b223f6c4436d [2021-04-01T08:25:10.275Z] Merge succeeded, producing db824b875dc02d1a30db4b13af66b223f6c4436d [2021-04-01T08:25:10.276Z] Checking out Revision db824b875dc02d1a30db4b13af66b223f6c4436d (PR-855) [2021-04-01T08:25:09.434Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T08:25:09.442Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T08:25:09.458Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T08:25:09.474Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T08:25:09.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T08:25:09.479Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/855/head:refs/remotes/origin/PR-855 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-01T08:25:10.020Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T08:25:10.029Z] > git checkout -f db824b875dc02d1a30db4b13af66b223f6c4436d # timeout=10 [2021-04-01T08:25:10.079Z] > git remote # timeout=10 [2021-04-01T08:25:10.084Z] > git config --get remote.origin.url # timeout=10 [2021-04-01T08:25:10.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T08:25:10.096Z] > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 [2021-04-01T08:25:10.106Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-01T08:25:10.116Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T08:25:10.122Z] > git checkout -f db824b875dc02d1a30db4b13af66b223f6c4436d # timeout=10 [2021-04-01T08:25:13.736Z] Commit message: "fix: add device OperatingState check in device command API" [2021-04-01T08:25:13.767Z] > git --version # timeout=10 [2021-04-01T08:25:13.772Z] > git --version # 'git version 2.24.3' [2021-04-01T08:25:13.779Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-01T08:25:15.310Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-01T08:25:15.652Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-01T08:25:15.969Z] + sudo service docker restart [2021-04-01T08:25:15.969Z] + true [2021-04-01T08:25:15.969Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-01T08:25:17.490Z] provisioning config files... [2021-04-01T08:25:17.519Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1064437067622750861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-01T08:25:17.956Z] ---> docker-login.sh [2021-04-01T08:25:17.956Z] nexus3.edgexfoundry.org:10001 [2021-04-01T08:25:18.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:25:18.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:25:18.220Z] Configure a credential helper to remove this warning. See [2021-04-01T08:25:18.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:25:18.220Z] [2021-04-01T08:25:18.220Z] Login Succeeded [2021-04-01T08:25:18.220Z] nexus3.edgexfoundry.org:10002 [2021-04-01T08:25:18.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:25:18.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:25:18.485Z] Configure a credential helper to remove this warning. See [2021-04-01T08:25:18.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:25:18.485Z] [2021-04-01T08:25:18.485Z] Login Succeeded [2021-04-01T08:25:18.485Z] nexus3.edgexfoundry.org:10003 [2021-04-01T08:25:18.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:25:18.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:25:18.751Z] Configure a credential helper to remove this warning. See [2021-04-01T08:25:18.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:25:18.751Z] [2021-04-01T08:25:18.751Z] Login Succeeded [2021-04-01T08:25:18.751Z] nexus3.edgexfoundry.org:10004 [2021-04-01T08:25:18.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:25:19.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:25:19.014Z] Configure a credential helper to remove this warning. See [2021-04-01T08:25:19.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:25:19.014Z] [2021-04-01T08:25:19.014Z] Login Succeeded [2021-04-01T08:25:19.014Z] docker.io [2021-04-01T08:25:19.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T08:25:19.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T08:25:19.276Z] Configure a credential helper to remove this warning. See [2021-04-01T08:25:19.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T08:25:19.276Z] [2021-04-01T08:25:19.276Z] Login Succeeded [2021-04-01T08:25:19.276Z] ---> docker-login.sh ends [Pipeline] } [2021-04-01T08:25:19.311Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-01T08:25:19.851Z] ========================================================= [2021-04-01T08:25:19.851Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-01T08:25:19.851Z] ========================================================= [2021-04-01T08:25:19.908Z] 00ac8860ef70: Pull complete [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:25:20.182Z] 63d7cb157983: Pull complete [2021-04-01T08:25:20.233Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-01T08:25:20.453Z] b116817d02f9: Pull complete [2021-04-01T08:25:20.501Z] Sending build context to Docker daemon 2.359MB [2021-04-01T08:25:20.502Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T08:25:20.502Z] Step 2/8 : FROM ${BASE} [2021-04-01T08:25:20.502Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-01T08:25:20.502Z] 188c0c94c7c5: Pulling fs layer [2021-04-01T08:25:20.502Z] 0ef7d3d256c8: Pulling fs layer [2021-04-01T08:25:20.502Z] de9db76c5a1d: Pulling fs layer [2021-04-01T08:25:20.502Z] bca2f99d35d6: Pulling fs layer [2021-04-01T08:25:20.502Z] 93359f2a8cfa: Pulling fs layer [2021-04-01T08:25:20.502Z] 7c6f9722023f: Pulling fs layer [2021-04-01T08:25:20.502Z] a35cf1a2eb13: Pulling fs layer [2021-04-01T08:25:20.502Z] 93359f2a8cfa: Waiting [2021-04-01T08:25:20.502Z] 7c6f9722023f: Waiting [2021-04-01T08:25:20.502Z] a35cf1a2eb13: Waiting [2021-04-01T08:25:20.502Z] bca2f99d35d6: Waiting [2021-04-01T08:25:20.502Z] de9db76c5a1d: Verifying Checksum [2021-04-01T08:25:20.502Z] de9db76c5a1d: Download complete [2021-04-01T08:25:20.502Z] 0ef7d3d256c8: Verifying Checksum [2021-04-01T08:25:20.502Z] 0ef7d3d256c8: Download complete [2021-04-01T08:25:20.502Z] 93359f2a8cfa: Verifying Checksum [2021-04-01T08:25:20.502Z] 93359f2a8cfa: Download complete [2021-04-01T08:25:20.502Z] 188c0c94c7c5: Verifying Checksum [2021-04-01T08:25:20.502Z] 188c0c94c7c5: Download complete [2021-04-01T08:25:20.502Z] 7c6f9722023f: Download complete [2021-04-01T08:25:20.766Z] 188c0c94c7c5: Pull complete [2021-04-01T08:25:21.031Z] 0ef7d3d256c8: Pull complete [2021-04-01T08:25:21.295Z] de9db76c5a1d: Pull complete [2021-04-01T08:25:22.697Z] a35cf1a2eb13: Verifying Checksum [2021-04-01T08:25:22.697Z] a35cf1a2eb13: Download complete [2021-04-01T08:25:23.276Z] bca2f99d35d6: Verifying Checksum [2021-04-01T08:25:23.276Z] bca2f99d35d6: Download complete [2021-04-01T08:25:24.778Z] 745a02a5169b: Pull complete [2021-04-01T08:25:24.778Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-01T08:25:24.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-01T08:25:24.778Z] ---> b7e6874047d6 [2021-04-01T08:25:24.778Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T08:25:27.404Z] ---> Running in c58140a40ae9 [2021-04-01T08:25:27.404Z] Removing intermediate container c58140a40ae9 [2021-04-01T08:25:27.404Z] ---> e5553db355c9 [2021-04-01T08:25:27.404Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T08:25:27.674Z] ---> Running in e7689a5e687b [2021-04-01T08:25:29.676Z] Removing intermediate container e7689a5e687b [2021-04-01T08:25:29.676Z] ---> 9b94102f674e [2021-04-01T08:25:29.676Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-01T08:25:29.899Z] bca2f99d35d6: Pull complete [2021-04-01T08:25:29.899Z] 93359f2a8cfa: Pull complete [2021-04-01T08:25:29.899Z] 7c6f9722023f: Pull complete [2021-04-01T08:25:29.958Z] ---> Running in 2c73118607af [2021-04-01T08:25:30.938Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-01T08:25:31.913Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-01T08:25:32.896Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-01T08:25:32.896Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-01T08:25:33.169Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-01T08:25:33.169Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-01T08:25:33.169Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-01T08:25:33.239Z] a35cf1a2eb13: Pull complete [2021-04-01T08:25:33.239Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-01T08:25:33.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-01T08:25:33.239Z] ---> a62c8e92a672 [2021-04-01T08:25:33.239Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T08:25:33.444Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-01T08:25:33.445Z] Executing busybox-1.31.1-r19.trigger [2021-04-01T08:25:33.445Z] OK: 144 MiB in 45 packages [2021-04-01T08:25:33.819Z] ---> Running in c6912fd82c5a [2021-04-01T08:25:33.819Z] Removing intermediate container c6912fd82c5a [2021-04-01T08:25:33.819Z] ---> 8b353c959abe [2021-04-01T08:25:33.819Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T08:25:34.085Z] ---> Running in b60e8197c935 [2021-04-01T08:25:34.877Z] Removing intermediate container 2c73118607af [2021-04-01T08:25:34.877Z] ---> 87a43dbdd446 [2021-04-01T08:25:34.877Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-01T08:25:34.877Z] ---> Running in d8257574c09f [2021-04-01T08:25:35.039Z] Removing intermediate container b60e8197c935 [2021-04-01T08:25:35.039Z] ---> 59d8f189c838 [2021-04-01T08:25:35.039Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-01T08:25:35.302Z] ---> Running in 39e65757e248 [2021-04-01T08:25:35.476Z] Removing intermediate container d8257574c09f [2021-04-01T08:25:35.476Z] ---> 7178a9cb2d9d [2021-04-01T08:25:35.476Z] Step 7/8 : COPY . . [2021-04-01T08:25:36.252Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-01T08:25:36.914Z] ---> aa7129c2f297 [2021-04-01T08:25:36.914Z] Step 8/8 : RUN go mod download [2021-04-01T08:25:36.914Z] ---> Running in 74f27e0e24be [2021-04-01T08:25:37.202Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-01T08:25:37.778Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-01T08:25:37.778Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-01T08:25:37.778Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-01T08:25:38.040Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-01T08:25:38.040Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-01T08:25:38.303Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-01T08:25:38.303Z] Executing busybox-1.31.1-r19.trigger [2021-04-01T08:25:38.303Z] OK: 167 MiB in 45 packages [2021-04-01T08:25:38.881Z] Removing intermediate container 39e65757e248 [2021-04-01T08:25:38.881Z] ---> 755afba737ad [2021-04-01T08:25:38.881Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-01T08:25:39.145Z] ---> Running in 769ad8ee1869 [2021-04-01T08:25:39.145Z] Removing intermediate container 769ad8ee1869 [2021-04-01T08:25:39.145Z] ---> e95d80f27136 [2021-04-01T08:25:39.145Z] Step 7/8 : COPY . . [2021-04-01T08:25:40.542Z] ---> b4a34c6c934e [2021-04-01T08:25:40.542Z] Step 8/8 : RUN go mod download [2021-04-01T08:25:40.542Z] ---> Running in 0ab9aabe8cf1 [2021-04-01T08:26:02.584Z] Removing intermediate container 0ab9aabe8cf1 [2021-04-01T08:26:02.584Z] ---> 0450e9428844 [2021-04-01T08:26:02.584Z] Successfully built 0450e9428844 [2021-04-01T08:26:02.584Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:26:02.955Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-01T08:26:02.955Z] . [Pipeline] withDockerContainer [2021-04-01T08:26:03.098Z] prd-centos7-docker-4c-2g-32449 does not seem to be running inside a container [2021-04-01T08:26:03.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-x86_64 cat [2021-04-01T08:26:03.711Z] Removing intermediate container 74f27e0e24be [2021-04-01T08:26:03.711Z] ---> 7d611a476aa7 [2021-04-01T08:26:03.711Z] Successfully built 7d611a476aa7 [2021-04-01T08:26:03.711Z] Successfully tagged ci-base-image-arm64:latest [2021-04-01T08:26:04.018Z] $ docker top 2475652d19e34cff1f8015278bb864329e6fefd54b0ba4e73d3bb3976f1d3b09 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:26:04.636Z] + go version [2021-04-01T08:26:04.636Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-01T08:26:04.687Z] $ docker stop --time=1 2475652d19e34cff1f8015278bb864329e6fefd54b0ba4e73d3bb3976f1d3b09 [2021-04-01T08:26:04.816Z] + docker inspect -f . ci-base-image-arm64 [2021-04-01T08:26:04.816Z] . [2021-04-01T08:26:06.079Z] $ docker rm -f 2475652d19e34cff1f8015278bb864329e6fefd54b0ba4e73d3bb3976f1d3b09 [Pipeline] // withDockerContainer [Pipeline] withDockerContainer [2021-04-01T08:26:06.572Z] prd-ubuntu18.04-docker-arm64-4c-16g-32448 does not seem to be running inside a container [2021-04-01T08:26:06.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-04-01T08:26:08.272Z] $ docker top a8117a118716e4c191d3f37ff884f245f3f64a591c9bc838b6c4a74caafc5990 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:26:09.376Z] + go version [2021-04-01T08:26:09.376Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-01T08:26:09.417Z] $ docker stop --time=1 a8117a118716e4c191d3f37ff884f245f3f64a591c9bc838b6c4a74caafc5990 [2021-04-01T08:26:09.473Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-01T08:26:09.473Z] . [2021-04-01T08:26:11.359Z] $ docker rm -f a8117a118716e4c191d3f37ff884f245f3f64a591c9bc838b6c4a74caafc5990 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-04-01T08:26:11.878Z] prd-centos7-docker-4c-2g-32449 does not seem to be running inside a container [2021-04-01T08:26:11.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-x86_64 cat [2021-04-01T08:26:12.708Z] $ docker top 0922abc224af2113d7d3c7b810238d1abf69f6b04234885164995f72d097f763 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-04-01T08:26:13.365Z] + make test [2021-04-01T08:26:13.365Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:26:13.882Z] + docker inspect -f . ci-base-image-arm64 [2021-04-01T08:26:13.882Z] . [Pipeline] withDockerContainer [2021-04-01T08:26:14.222Z] prd-ubuntu18.04-docker-arm64-4c-16g-32448 does not seem to be running inside a container [2021-04-01T08:26:14.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-04-01T08:26:15.914Z] $ docker top f3bd5e393ba332d2a2e1d7926e352a3a7d47a67428a02367046748f0abbb7aeb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T08:26:16.978Z] + make test [2021-04-01T08:26:16.978Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-01T08:26:21.645Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-01T08:26:39.173Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-01T08:26:43.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-01T08:26:43.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-01T08:26:43.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-01T08:26:43.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-01T08:26:43.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-01T08:26:44.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.096s coverage: 28.1% of statements [2021-04-01T08:26:44.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 81.2% of statements [2021-04-01T08:26:45.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.061s coverage: 7.8% of statements [2021-04-01T08:26:45.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-01T08:26:45.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-01T08:26:45.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-01T08:26:45.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.097s coverage: 32.5% of statements [2021-04-01T08:26:45.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-01T08:26:45.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-01T08:26:45.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-01T08:26:45.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 57.3% of statements [2021-04-01T08:26:46.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.287s coverage: 6.6% of statements [2021-04-01T08:26:46.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 5.0% of statements [2021-04-01T08:26:46.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-01T08:26:46.501Z] GO111MODULE=on go vet ./... [2021-04-01T08:27:04.772Z] gofmt -l . [2021-04-01T08:27:04.772Z] [ "`gofmt -l .`" = "" ] [2021-04-01T08:27:04.772Z] ./bin/test-attribution-txt.sh [2021-04-01T08:27:04.772Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-01T08:27:04.812Z] $ docker stop --time=1 0922abc224af2113d7d3c7b810238d1abf69f6b04234885164995f72d097f763 [2021-04-01T08:27:06.459Z] $ docker rm -f 0922abc224af2113d7d3c7b810238d1abf69f6b04234885164995f72d097f763 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-01T08:27:07.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-01T08:27:07.725Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-01T08:27:10.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-01T08:27:11.095Z] + ls -al . [2021-04-01T08:27:11.095Z] total 188 [2021-04-01T08:27:11.095Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 1 08:27 . [2021-04-01T08:27:11.095Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 1 08:25 .. [2021-04-01T08:27:11.095Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 1 08:25 bin [2021-04-01T08:27:11.095Z] -rw-r--r--. 1 jenkins jenkins 101239 Apr 1 08:26 coverage.out [2021-04-01T08:27:11.095Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 1 08:25 Dockerfile.build [2021-04-01T08:27:11.095Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 1 08:25 .dockerignore [2021-04-01T08:27:11.095Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 1 08:25 example [2021-04-01T08:27:11.095Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 1 08:25 .git [2021-04-01T08:27:11.095Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 1 08:25 .github [2021-04-01T08:27:11.095Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 1 08:25 .gitignore [2021-04-01T08:27:11.095Z] -rw-r--r--. 1 jenkins jenkins 537 Apr 1 08:27 go.mod [2021-04-01T08:27:11.095Z] -rw-r--r--. 1 jenkins jenkins 21117 Apr 1 08:27 go.sum [2021-04-01T08:27:11.095Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 1 08:25 internal [2021-04-01T08:27:11.095Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 1 08:25 Jenkinsfile [2021-04-01T08:27:11.095Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 1 08:25 LICENSE [2021-04-01T08:27:11.095Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 1 08:25 Makefile [2021-04-01T08:27:11.095Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 1 08:25 openapi [2021-04-01T08:27:11.095Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 1 08:25 pkg [2021-04-01T08:27:11.095Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 1 08:25 README.md [2021-04-01T08:27:11.095Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 1 08:25 RELEASE-NOTES.txt [2021-04-01T08:27:11.095Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 1 08:25 snap [2021-04-01T08:27:11.095Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 1 08:22 VERSION [2021-04-01T08:27:11.095Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 1 08:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:27:11.455Z] + docker build -t docker-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=db824b875dc02d1a30db4b13af66b223f6c4436d --label arch=amd64 --label version=0.0.0 . [2021-04-01T08:27:11.723Z] Sending build context to Docker daemon 2.461MB [2021-04-01T08:27:11.723Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T08:27:11.723Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-01T08:27:11.723Z] ---> 0450e9428844 [2021-04-01T08:27:11.723Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-01T08:27:12.317Z] ---> Running in 770a76a35a69 [2021-04-01T08:27:12.599Z] Removing intermediate container 770a76a35a69 [2021-04-01T08:27:12.599Z] ---> a6f55e0cab34 [2021-04-01T08:27:12.599Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T08:27:12.599Z] ---> Running in 4d7f501a6afe [2021-04-01T08:27:12.863Z] Removing intermediate container 4d7f501a6afe [2021-04-01T08:27:12.863Z] ---> 22c2c9136e2b [2021-04-01T08:27:12.863Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T08:27:12.863Z] ---> Running in 138622a90d23 [2021-04-01T08:27:13.838Z] Removing intermediate container 138622a90d23 [2021-04-01T08:27:13.838Z] ---> ea790de32d03 [2021-04-01T08:27:13.838Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-01T08:27:13.838Z] ---> Running in b869b6e7af21 [2021-04-01T08:27:14.430Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-01T08:27:15.024Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-01T08:27:15.981Z] OK: 167 MiB in 45 packages [2021-04-01T08:27:16.247Z] Removing intermediate container b869b6e7af21 [2021-04-01T08:27:16.247Z] ---> 040286968ecf [2021-04-01T08:27:16.247Z] Step 7/23 : COPY . . [2021-04-01T08:27:17.214Z] ---> 454552e129fb [2021-04-01T08:27:17.214Z] Step 8/23 : RUN go mod download [2021-04-01T08:27:17.478Z] ---> Running in 1f26e429ac6c [2021-04-01T08:27:18.440Z] Removing intermediate container 1f26e429ac6c [2021-04-01T08:27:18.440Z] ---> bbf364d65f2d [2021-04-01T08:27:18.440Z] Step 9/23 : RUN make build [2021-04-01T08:27:18.706Z] ---> Running in 65db7eb3aab2 [2021-04-01T08:27:18.972Z] 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-04-01T08:27:31.341Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-01T08:27:32.738Z] Removing intermediate container 65db7eb3aab2 [2021-04-01T08:27:32.738Z] ---> c404e5532557 [2021-04-01T08:27:32.738Z] Step 10/23 : FROM alpine:3.12 [2021-04-01T08:27:33.326Z] 3.12: Pulling from library/alpine [2021-04-01T08:27:33.326Z] 532819f3e44c: Pulling fs layer [2021-04-01T08:27:33.592Z] 532819f3e44c: Verifying Checksum [2021-04-01T08:27:33.592Z] 532819f3e44c: Download complete [2021-04-01T08:27:33.855Z] 532819f3e44c: Pull complete [2021-04-01T08:27:33.855Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-01T08:27:33.855Z] Status: Downloaded newer image for alpine:3.12 [2021-04-01T08:27:33.855Z] ---> 7230e588e954 [2021-04-01T08:27:33.855Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T08:27:33.855Z] ---> Running in eeb087270a65 [2021-04-01T08:27:34.117Z] Removing intermediate container eeb087270a65 [2021-04-01T08:27:34.117Z] ---> c65d067cc9a0 [2021-04-01T08:27:34.117Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T08:27:34.117Z] ---> Running in a939827bcc28 [2021-04-01T08:27:35.096Z] Removing intermediate container a939827bcc28 [2021-04-01T08:27:35.096Z] ---> 33b09b5f7188 [2021-04-01T08:27:35.096Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-01T08:27:35.096Z] ---> Running in 2c3d52ab6c6c [2021-04-01T08:27:35.745Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-01T08:27:35.834Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-01T08:27:35.834Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-01T08:27:35.834Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-01T08:27:35.834Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-01T08:27:35.834Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-01T08:27:36.320Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-01T08:27:37.715Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-01T08:27:37.715Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-01T08:27:37.715Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-01T08:27:37.850Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 28.1% of statements [2021-04-01T08:27:38.290Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-01T08:27:38.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.203s coverage: 81.2% of statements [2021-04-01T08:27:38.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.157s coverage: 7.8% of statements [2021-04-01T08:27:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-01T08:27:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-01T08:27:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-01T08:27:38.554Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-01T08:27:38.554Z] Executing busybox-1.31.1-r20.trigger [2021-04-01T08:27:38.554Z] OK: 8 MiB in 19 packages [2021-04-01T08:27:39.130Z] Removing intermediate container 2c3d52ab6c6c [2021-04-01T08:27:39.130Z] ---> c4c9dd569be1 [2021-04-01T08:27:39.130Z] Step 14/23 : WORKDIR / [2021-04-01T08:27:39.130Z] ---> Running in 1e92b85566f3 [2021-04-01T08:27:39.391Z] Removing intermediate container 1e92b85566f3 [2021-04-01T08:27:39.391Z] ---> 1cf1d5caea91 [2021-04-01T08:27:39.391Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-01T08:27:39.655Z] ---> 10a64bb97083 [2021-04-01T08:27:39.655Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-01T08:27:39.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.253s coverage: 32.5% of statements [2021-04-01T08:27:39.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-01T08:27:39.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-01T08:27:39.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-01T08:27:40.234Z] ---> 81d5cec9f44b [2021-04-01T08:27:40.234Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-01T08:27:40.814Z] ---> 73c994fa474b [2021-04-01T08:27:40.814Z] Step 18/23 : EXPOSE 49990 [2021-04-01T08:27:40.814Z] ---> Running in bb938a919be5 [2021-04-01T08:27:40.814Z] Removing intermediate container bb938a919be5 [2021-04-01T08:27:40.814Z] ---> d468e66cd4cd [2021-04-01T08:27:40.814Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-01T08:27:41.076Z] ---> Running in 610ba54e388a [2021-04-01T08:27:41.076Z] Removing intermediate container 610ba54e388a [2021-04-01T08:27:41.076Z] ---> 55338b924d41 [2021-04-01T08:27:41.076Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-01T08:27:41.076Z] ---> Running in 0206d1934488 [2021-04-01T08:27:41.341Z] Removing intermediate container 0206d1934488 [2021-04-01T08:27:41.341Z] ---> 10745608a310 [2021-04-01T08:27:41.341Z] Step 21/23 : LABEL arch=amd64 [2021-04-01T08:27:41.341Z] ---> Running in b8401db76556 [2021-04-01T08:27:41.605Z] Removing intermediate container b8401db76556 [2021-04-01T08:27:41.605Z] ---> 8ee03460e2b7 [2021-04-01T08:27:41.605Z] Step 22/23 : LABEL git_sha=db824b875dc02d1a30db4b13af66b223f6c4436d [2021-04-01T08:27:41.605Z] ---> Running in fb1fdd9b60e4 [2021-04-01T08:27:41.868Z] Removing intermediate container fb1fdd9b60e4 [2021-04-01T08:27:41.868Z] ---> b8d7df2958d1 [2021-04-01T08:27:41.868Z] Step 23/23 : LABEL version=0.0.0 [2021-04-01T08:27:41.868Z] ---> Running in 0caf1a3124a1 [2021-04-01T08:27:42.135Z] Removing intermediate container 0caf1a3124a1 [2021-04-01T08:27:42.135Z] ---> bdfa2e5e8114 [2021-04-01T08:27:42.135Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-01T08:27:42.135Z] Successfully built bdfa2e5e8114 [2021-04-01T08:27:42.135Z] Successfully tagged docker-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-04-01T08:27:43.685Z] ---> job-cost.sh [2021-04-01T08:27:43.685Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MASU [2021-04-01T08:27:44.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.318s coverage: 57.3% of statements [2021-04-01T08:27:44.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.108s coverage: 6.6% of statements [2021-04-01T08:27:44.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.0% of statements [2021-04-01T08:27:44.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-01T08:27:44.542Z] GO111MODULE=on go vet ./... [2021-04-01T08:27:58.635Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-01T08:28:25.313Z] lf-activate-venv(): INFO: Adding /tmp/venv-MASU/bin to PATH [2021-04-01T08:28:25.313Z] INFO: No Stack... [2021-04-01T08:28:25.313Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-01T08:28:25.904Z] INFO: Archiving Costs [Pipeline] sh [2021-04-01T08:28:26.239Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-01T08:28:26.239Z] + cut -d, -f6 [Pipeline] lock [2021-04-01T08:28:26.345Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-855-1-stack-cost] [2021-04-01T08:28:26.351Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-855-1-stack-cost] did not exist. Created. [2021-04-01T08:28:26.351Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-855-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-01T08:28:26.870Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-01T08:28:27.029Z] Stashed 1 file(s) [Pipeline] } [2021-04-01T08:28:27.052Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-855-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-01T08:28:31.745Z] gofmt -l . [2021-04-01T08:28:31.745Z] [ "`gofmt -l .`" = "" ] [2021-04-01T08:28:31.745Z] ./bin/test-attribution-txt.sh [2021-04-01T08:28:31.745Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-01T08:28:31.800Z] $ docker stop --time=1 f3bd5e393ba332d2a2e1d7926e352a3a7d47a67428a02367046748f0abbb7aeb [2021-04-01T08:28:34.120Z] $ docker rm -f f3bd5e393ba332d2a2e1d7926e352a3a7d47a67428a02367046748f0abbb7aeb [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-01T08:28:35.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-01T08:28:35.386Z] Warning: overwriting stash ‘coverage-report’ [2021-04-01T08:28:36.177Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-01T08:28:37.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-01T08:28:37.413Z] + ls -al . [2021-04-01T08:28:37.414Z] total 224 [2021-04-01T08:28:37.414Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 08:28 . [2021-04-01T08:28:37.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 08:24 .. [2021-04-01T08:28:37.414Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 08:24 .dockerignore [2021-04-01T08:28:37.414Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 08:24 .git [2021-04-01T08:28:37.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 08:24 .github [2021-04-01T08:28:37.414Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 1 08:24 .gitignore [2021-04-01T08:28:37.414Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 1 08:24 Dockerfile.build [2021-04-01T08:28:37.414Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 1 08:24 Jenkinsfile [2021-04-01T08:28:37.414Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 1 08:24 LICENSE [2021-04-01T08:28:37.414Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 1 08:24 Makefile [2021-04-01T08:28:37.414Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 1 08:24 README.md [2021-04-01T08:28:37.414Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 1 08:24 RELEASE-NOTES.txt [2021-04-01T08:28:37.414Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 08:22 VERSION [2021-04-01T08:28:37.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 08:24 bin [2021-04-01T08:28:37.414Z] -rw-r--r-- 1 jenkins jenkins 101239 Apr 1 08:27 coverage.out [2021-04-01T08:28:37.414Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 08:24 example [2021-04-01T08:28:37.414Z] -rw-r--r-- 1 jenkins jenkins 537 Apr 1 08:28 go.mod [2021-04-01T08:28:37.414Z] -rw-r--r-- 1 jenkins jenkins 21117 Apr 1 08:28 go.sum [2021-04-01T08:28:37.414Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 1 08:24 internal [2021-04-01T08:28:37.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 08:24 openapi [2021-04-01T08:28:37.414Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 08:24 pkg [2021-04-01T08:28:37.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 08:24 snap [2021-04-01T08:28:37.414Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 1 08:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:28:37.787Z] + docker build -t docker-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=db824b875dc02d1a30db4b13af66b223f6c4436d --label arch=arm64 --label version=0.0.0 . [2021-04-01T08:28:38.383Z] Sending build context to Docker daemon 2.479MB [2021-04-01T08:28:38.383Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T08:28:38.383Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-01T08:28:38.383Z] ---> 7d611a476aa7 [2021-04-01T08:28:38.383Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-01T08:28:38.657Z] ---> Running in af70c6a9f827 [2021-04-01T08:28:39.251Z] Removing intermediate container af70c6a9f827 [2021-04-01T08:28:39.251Z] ---> 41599ebe7639 [2021-04-01T08:28:39.251Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T08:28:39.251Z] ---> Running in ce1e8755f842 [2021-04-01T08:28:39.846Z] Removing intermediate container ce1e8755f842 [2021-04-01T08:28:39.846Z] ---> def730b901a4 [2021-04-01T08:28:39.846Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T08:28:39.846Z] ---> Running in 4a08254735e2 [2021-04-01T08:28:41.824Z] Removing intermediate container 4a08254735e2 [2021-04-01T08:28:41.824Z] ---> 6bc7f9837024 [2021-04-01T08:28:41.824Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-01T08:28:42.097Z] ---> Running in 40187a0bbee0 [2021-04-01T08:28:43.086Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-01T08:28:44.518Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-01T08:28:45.492Z] OK: 144 MiB in 45 packages [2021-04-01T08:28:46.921Z] Removing intermediate container 40187a0bbee0 [2021-04-01T08:28:46.921Z] ---> a9161acbd9c1 [2021-04-01T08:28:46.921Z] Step 7/23 : COPY . . [2021-04-01T08:28:47.927Z] ---> 7503c595d7af [2021-04-01T08:28:47.927Z] Step 8/23 : RUN go mod download [2021-04-01T08:28:48.217Z] ---> Running in 584aac8c504b [2021-04-01T08:28:50.859Z] Removing intermediate container 584aac8c504b [2021-04-01T08:28:50.859Z] ---> 7b2083c5378d [2021-04-01T08:28:50.859Z] Step 9/23 : RUN make build [2021-04-01T08:28:50.859Z] ---> Running in 28437c5941f2 [2021-04-01T08:28:51.837Z] 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-04-01T08:29:24.248Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-01T08:29:26.870Z] Removing intermediate container 28437c5941f2 [2021-04-01T08:29:26.870Z] ---> 6a5be1d0327d [2021-04-01T08:29:26.870Z] Step 10/23 : FROM alpine:3.12 [2021-04-01T08:29:26.870Z] 3.12: Pulling from library/alpine [2021-04-01T08:29:26.870Z] 9a219e8acc52: Pulling fs layer [2021-04-01T08:29:27.140Z] 9a219e8acc52: Download complete [2021-04-01T08:29:27.751Z] 9a219e8acc52: Pull complete [2021-04-01T08:29:27.751Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-01T08:29:27.751Z] Status: Downloaded newer image for alpine:3.12 [2021-04-01T08:29:27.751Z] ---> d75e27dfc0a0 [2021-04-01T08:29:27.751Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T08:29:27.751Z] ---> Running in 58d9293c1c6e [2021-04-01T08:29:28.362Z] Removing intermediate container 58d9293c1c6e [2021-04-01T08:29:28.362Z] ---> 7c2276e604df [2021-04-01T08:29:28.362Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T08:29:28.362Z] ---> Running in 3721e2990134 [2021-04-01T08:29:30.989Z] Removing intermediate container 3721e2990134 [2021-04-01T08:29:30.989Z] ---> 46723880e71c [2021-04-01T08:29:30.989Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-01T08:29:30.989Z] ---> Running in b0fa6fa7a9c7 [2021-04-01T08:29:31.584Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-01T08:29:32.555Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-01T08:29:33.521Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-01T08:29:33.521Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-01T08:29:33.793Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-01T08:29:34.062Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-01T08:29:34.332Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-01T08:29:34.332Z] Executing busybox-1.31.1-r20.trigger [2021-04-01T08:29:34.332Z] OK: 8 MiB in 19 packages [2021-04-01T08:29:35.765Z] Removing intermediate container b0fa6fa7a9c7 [2021-04-01T08:29:35.765Z] ---> af4e143283d6 [2021-04-01T08:29:35.765Z] Step 14/23 : WORKDIR / [2021-04-01T08:29:35.765Z] ---> Running in fba30016ddf8 [2021-04-01T08:29:36.038Z] Removing intermediate container fba30016ddf8 [2021-04-01T08:29:36.038Z] ---> 0a3fb57d452b [2021-04-01T08:29:36.038Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-01T08:29:37.015Z] ---> 1037e4f16c8b [2021-04-01T08:29:37.015Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-01T08:29:38.446Z] ---> 10551bb83d6d [2021-04-01T08:29:38.446Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-01T08:29:39.041Z] ---> cec7cf9832bd [2021-04-01T08:29:39.041Z] Step 18/23 : EXPOSE 49990 [2021-04-01T08:29:39.041Z] ---> Running in 60fbf255c4f5 [2021-04-01T08:29:39.313Z] Removing intermediate container 60fbf255c4f5 [2021-04-01T08:29:39.313Z] ---> f765cfb69261 [2021-04-01T08:29:39.313Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-01T08:29:39.592Z] ---> Running in 8a192249bc51 [2021-04-01T08:29:39.871Z] Removing intermediate container 8a192249bc51 [2021-04-01T08:29:39.871Z] ---> 1b6bba1f801d [2021-04-01T08:29:39.871Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-01T08:29:40.148Z] ---> Running in db00aca63ccd [2021-04-01T08:29:40.741Z] Removing intermediate container db00aca63ccd [2021-04-01T08:29:40.741Z] ---> 6ebf011c47fb [2021-04-01T08:29:40.741Z] Step 21/23 : LABEL arch=arm64 [2021-04-01T08:29:40.741Z] ---> Running in 1e5328a47dda [2021-04-01T08:29:41.334Z] Removing intermediate container 1e5328a47dda [2021-04-01T08:29:41.335Z] ---> 5590592f7a23 [2021-04-01T08:29:41.335Z] Step 22/23 : LABEL git_sha=db824b875dc02d1a30db4b13af66b223f6c4436d [2021-04-01T08:29:41.335Z] ---> Running in 65d0a6942e1a [2021-04-01T08:29:41.930Z] Removing intermediate container 65d0a6942e1a [2021-04-01T08:29:41.930Z] ---> 21941b9a88ac [2021-04-01T08:29:41.930Z] Step 23/23 : LABEL version=0.0.0 [2021-04-01T08:29:41.930Z] ---> Running in 3434d445cfe6 [2021-04-01T08:29:42.524Z] Removing intermediate container 3434d445cfe6 [2021-04-01T08:29:42.524Z] ---> 874bcbd73f89 [2021-04-01T08:29:42.524Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-01T08:29:42.524Z] Successfully built 874bcbd73f89 [2021-04-01T08:29:42.524Z] Successfully tagged docker-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-04-01T08:29:43.593Z] ---> job-cost.sh [2021-04-01T08:29:43.593Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rxCl [2021-04-01T08:30:22.557Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-01T08:31:59.310Z] lf-activate-venv(): INFO: Adding /tmp/venv-rxCl/bin to PATH [2021-04-01T08:31:59.310Z] INFO: No Stack... [2021-04-01T08:31:59.310Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-01T08:31:59.310Z] INFO: Archiving Costs [Pipeline] sh [2021-04-01T08:31:59.666Z] + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 [2021-04-01T08:31:59.667Z] [Pipeline] lock [2021-04-01T08:31:59.807Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-855-1-stack-cost] [2021-04-01T08:31:59.814Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-855-1-stack-cost] did not exist. Created. [2021-04-01T08:31:59.814Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-855-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-01T08:32:00.353Z] /w/workspace/device-sdk-go/1@tmp/durable-52689b27/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-52689b27/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-01T08:32:00.727Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-01T08:32:00.770Z] Warning: overwriting stash ‘stack-cost’ [2021-04-01T08:32:00.924Z] Stashed 1 file(s) [Pipeline] } [2021-04-01T08:32:00.947Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-855-1-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] wrap [2021-04-01T08:32:03.125Z] provisioning config files... [2021-04-01T08:32:03.136Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-855@tmp/config1752863364962896929tmp [Pipeline] { [Pipeline] sh [2021-04-01T08:32:03.584Z] + set +x [2021-04-01T08:32:03.584Z] + curl -s https://codecov.io/bash [2021-04-01T08:32:03.584Z] + bash -s -- [2021-04-01T08:32:03.847Z] [2021-04-01T08:32:03.847Z] _____ _ [2021-04-01T08:32:03.847Z] / ____| | | [2021-04-01T08:32:03.847Z] | | ___ __| | ___ ___ _____ __ [2021-04-01T08:32:03.847Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-01T08:32:03.847Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-01T08:32:03.847Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-01T08:32:03.847Z] Bash-20210309-2b87ace [2021-04-01T08:32:03.847Z] [2021-04-01T08:32:03.847Z] [2021-04-01T08:32:03.847Z] ==> git version 2.24.3 found [2021-04-01T08:32:03.847Z] ==> 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-04-01T08:32:03.847Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-01T08:32:03.847Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-01T08:32:03.847Z] ==> Jenkins CI detected. [2021-04-01T08:32:03.847Z] project root: . [2021-04-01T08:32:03.847Z] --> token set from env [2021-04-01T08:32:03.847Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-01T08:32:03.847Z] ==> Running gcov in . (disable via -X gcov) [2021-04-01T08:32:03.848Z] ==> Python coveragepy not found [2021-04-01T08:32:03.848Z] ==> Searching for coverage reports in: [2021-04-01T08:32:03.848Z] + . [2021-04-01T08:32:03.848Z] -> Found 1 reports [2021-04-01T08:32:03.848Z] ==> Detecting git/mercurial file structure [2021-04-01T08:32:03.848Z] ==> Reading reports [2021-04-01T08:32:03.848Z] + ./coverage.out bytes=101239 [2021-04-01T08:32:03.848Z] ==> Appending adjustments [2021-04-01T08:32:03.848Z] https://docs.codecov.io/docs/fixing-reports [2021-04-01T08:32:04.110Z] + Found adjustments [2021-04-01T08:32:04.110Z] ==> Gzipping contents [2021-04-01T08:32:04.110Z] 16K /tmp/codecov.XMZz3A.gz [2021-04-01T08:32:04.373Z] ==> Uploading reports [2021-04-01T08:32:04.373Z] url: https://codecov.io [2021-04-01T08:32:04.373Z] query: branch=PR-855&commit=db824b875dc02d1a30db4b13af66b223f6c4436d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-855%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=855&job=&cmd_args= [2021-04-01T08:32:04.373Z] -> Pinging Codecov [2021-04-01T08:32:04.373Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-855&commit=db824b875dc02d1a30db4b13af66b223f6c4436d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-855%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=855&job=&cmd_args= [2021-04-01T08:32:04.636Z] -> Uploading to [2021-04-01T08:32:04.636Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-01/7E55EF52A471D76F132DFD9A03CDDE97/db824b875dc02d1a30db4b13af66b223f6c4436d/5631620f-cd1b-4f6f-ba6f-132b08c1bfa0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210401T083204Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74f43fa2502903c153b73ba639378ede7885aa7204ced2227a9986ac7727d52e [2021-04-01T08:32:04.636Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-01T08:32:04.636Z] Dload Upload Total Spent Left Speed [2021-04-01T08:32:04.899Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13681 0 0 100 13681 0 36542 --:--:-- --:--:-- --:--:-- 36482 100 13681 0 0 100 13681 0 36513 --:--:-- --:--:-- --:--:-- 36482 [2021-04-01T08:32:04.899Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/db824b875dc02d1a30db4b13af66b223f6c4436d [Pipeline] } [2021-04-01T08:32:04.924Z] Deleting 1 temporary files [Pipeline] // wrap [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-04-01T08:32:08.540Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T08:32:08.889Z] ---> package-listing.sh [2021-04-01T08:32:08.889Z] ++ facter osfamily [2021-04-01T08:32:08.889Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-01T08:32:08.889Z] + OS_FAMILY=redhat [2021-04-01T08:32:08.889Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-855 [2021-04-01T08:32:08.889Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-01T08:32:08.889Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-01T08:32:08.889Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-01T08:32:08.889Z] + PACKAGES=/tmp/packages_start.txt [2021-04-01T08:32:08.889Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-855 ']' [2021-04-01T08:32:08.889Z] + PACKAGES=/tmp/packages_end.txt [2021-04-01T08:32:08.889Z] + case "${OS_FAMILY}" in [2021-04-01T08:32:08.889Z] + rpm -qa [2021-04-01T08:32:08.889Z] + sort [2021-04-01T08:32:14.222Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-01T08:32:14.222Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-01T08:32:14.222Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-01T08:32:14.222Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-855 ']' [2021-04-01T08:32:14.222Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-855/archives/ [2021-04-01T08:32:14.222Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-855/archives/ [Pipeline] echo [2021-04-01T08:32:14.255Z] 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-855/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-01T08:32:14.565Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:32:14.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-01T08:32:14.902Z] [2021-04-01T08:32:14.902Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-01T08:32:15.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-01T08:32:15.339Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-01T08:32:15.339Z] df20fa9351a1: Pulling fs layer [2021-04-01T08:32:15.339Z] 36b3adc4ff6f: Pulling fs layer [2021-04-01T08:32:15.339Z] 8ad3a11d3b57: Pulling fs layer [2021-04-01T08:32:15.339Z] 46f8f816bc3b: Pulling fs layer [2021-04-01T08:32:15.339Z] 93b61091891f: Pulling fs layer [2021-04-01T08:32:15.339Z] 93b9cdb0e59b: Pulling fs layer [2021-04-01T08:32:15.339Z] 5e14af77c1be: Pulling fs layer [2021-04-01T08:32:15.339Z] 01666e4c0597: Pulling fs layer [2021-04-01T08:32:15.339Z] aa168da1d23b: Pulling fs layer [2021-04-01T08:32:15.339Z] 93b9cdb0e59b: Waiting [2021-04-01T08:32:15.339Z] 5e14af77c1be: Waiting [2021-04-01T08:32:15.339Z] 01666e4c0597: Waiting [2021-04-01T08:32:15.339Z] aa168da1d23b: Waiting [2021-04-01T08:32:15.339Z] 46f8f816bc3b: Waiting [2021-04-01T08:32:15.339Z] 93b61091891f: Waiting [2021-04-01T08:32:15.339Z] 36b3adc4ff6f: Verifying Checksum [2021-04-01T08:32:15.339Z] 36b3adc4ff6f: Download complete [2021-04-01T08:32:15.339Z] 46f8f816bc3b: Verifying Checksum [2021-04-01T08:32:15.339Z] 46f8f816bc3b: Download complete [2021-04-01T08:32:15.601Z] df20fa9351a1: Verifying Checksum [2021-04-01T08:32:15.601Z] df20fa9351a1: Download complete [2021-04-01T08:32:15.601Z] 93b9cdb0e59b: Verifying Checksum [2021-04-01T08:32:15.601Z] 93b9cdb0e59b: Download complete [2021-04-01T08:32:15.601Z] 5e14af77c1be: Verifying Checksum [2021-04-01T08:32:15.601Z] 5e14af77c1be: Download complete [2021-04-01T08:32:15.602Z] 01666e4c0597: Verifying Checksum [2021-04-01T08:32:15.602Z] 01666e4c0597: Download complete [2021-04-01T08:32:15.602Z] 93b61091891f: Download complete [2021-04-01T08:32:15.868Z] df20fa9351a1: Pull complete [2021-04-01T08:32:16.130Z] 36b3adc4ff6f: Pull complete [2021-04-01T08:32:16.397Z] 8ad3a11d3b57: Verifying Checksum [2021-04-01T08:32:16.397Z] 8ad3a11d3b57: Download complete [2021-04-01T08:32:17.367Z] 8ad3a11d3b57: Pull complete [2021-04-01T08:32:17.367Z] 46f8f816bc3b: Pull complete [2021-04-01T08:32:17.946Z] 93b61091891f: Pull complete [2021-04-01T08:32:18.208Z] aa168da1d23b: Verifying Checksum [2021-04-01T08:32:18.208Z] aa168da1d23b: Download complete [2021-04-01T08:32:18.208Z] 93b9cdb0e59b: Pull complete [2021-04-01T08:32:18.472Z] 5e14af77c1be: Pull complete [2021-04-01T08:32:18.738Z] 01666e4c0597: Pull complete [2021-04-01T08:32:25.389Z] aa168da1d23b: Pull complete [2021-04-01T08:32:25.389Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-01T08:32:25.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-01T08:32:25.389Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-01T08:32:25.589Z] prd-centos7-docker-4c-2g-32447 does not seem to be running inside a container [2021-04-01T08:32:25.633Z] $ 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-855/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-855 -v /w/workspace/dgexfoundry_device-sdk-go_PR-855:/w/workspace/dgexfoundry_device-sdk-go_PR-855:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-855@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-855@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-01T08:32:28.553Z] $ docker top 403a685eb9171b7c85d45ae68925b35bd142b1d44ac66c1ef689913988d7fd17 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T08:32:29.183Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-01T08:32:29.524Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-01T08:32:29.858Z] + ls /var/log/sa-host [2021-04-01T08:32:29.859Z] + sadf -c /var/log/sa-host/sa01 [2021-04-01T08:32:29.859Z] file_magic: OK [2021-04-01T08:32:29.859Z] HZ: Using current value: 100 [2021-04-01T08:32:29.859Z] file_header: OK [2021-04-01T08:32:29.859Z] 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-04-01T08:32:29.859Z] Statistics: [2021-04-01T08:32:29.859Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-01T08:32:29.859Z] File successfully converted to sysstat format version 12.2.1 [2021-04-01T08:32:29.859Z] + sadf -c /var/log/sa-host/sa23 [2021-04-01T08:32:29.859Z] file_magic: OK [2021-04-01T08:32:29.859Z] HZ: Using current value: 100 [2021-04-01T08:32:29.859Z] file_header: OK [2021-04-01T08:32:29.859Z] 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-04-01T08:32:29.859Z] Statistics: [2021-04-01T08:32:29.859Z] Hnuu...uuuununununu... [2021-04-01T08:32:29.859Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-01T08:32:30.628Z] provisioning config files... [2021-04-01T08:32:30.648Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-855@tmp/config323884206332315333tmp [Pipeline] { [Pipeline] echo [2021-04-01T08:32:30.775Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T08:32:31.110Z] ---> create-netrc.sh [Pipeline] } [2021-04-01T08:32:31.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-01T08:32:31.298Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T08:32:31.628Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-01T08:32:31.659Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T08:32:31.991Z] ---> sudo-logs.sh [2021-04-01T08:32:31.991Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-01T08:32:32.110Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T08:32:32.440Z] ---> job-cost.sh [2021-04-01T08:32:32.440Z] lf-activate-venv: SKIPPING [2021-04-01T08:32:32.440Z] DEBUG: total: 0.20999999344348907 [2021-04-01T08:32:32.440Z] INFO: Retrieving Stack Cost... [2021-04-01T08:32:33.386Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-01T08:32:33.961Z] INFO: Archiving Costs [Pipeline] echo [2021-04-01T08:32:33.994Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T08:32:34.328Z] ---> logs-deploy.sh [2021-04-01T08:32:34.328Z] lf-activate-venv: SKIPPING [2021-04-01T08:32:34.328Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-855/1 [2021-04-01T08:32:34.328Z] INFO: archiving workspace using pattern(s): [2021-04-01T08:32:36.254Z] Archives upload complete. [2021-04-01T08:32:36.254Z] INFO: archiving logs to Nexus