Pull request #865 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 02c78288b5ebc28a3c14afbc9b27287fcd943bc6+00c5ba735e55045c2b436cba75d2b8d60948dbc8 (de18eca6401fd6d47455fc9c18dfdfd8b42765d8) 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-865/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-865/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33123 in /w/workspace/dgexfoundry_device-sdk-go_PR-865 [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-865 # 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/865/head:refs/remotes/origin/PR-865 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 Merge succeeded, producing 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 Checking out Revision 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 (PR-865) > git config core.sparsecheckout # timeout=10 > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # 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 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 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-07T05:54:31.019Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-07T05:54:31.421Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-07T05:54:31.659Z] ========================================================= [2021-04-07T05:54:31.659Z] EdgeX Global Pipelines Version Info [2021-04-07T05:54:31.659Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-07T05:54:33.203Z] ------------------- [2021-04-07T05:54:33.203Z] stable info: [2021-04-07T05:54:33.203Z] ------------------- [2021-04-07T05:54:33.203Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-07T05:54:33.203Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T05:54:33.203Z] Message: update stable to v1.0.186 [2021-04-07T05:54:34.152Z] ------------------- [2021-04-07T05:54:34.152Z] experimental info: [2021-04-07T05:54:34.152Z] ------------------- [2021-04-07T05:54:34.152Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-07T05:54:34.152Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-07T05:54:34.152Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-07T05:54:34.545Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-07T05:54:34.680Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-07T05:54:34.854Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-07T05:54:34.999Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-07T05:54:35.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-07T05:54:35.279Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-07T05:54:35.422Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-07T05:54:35.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-07T05:54:35.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-07T05:54:35.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-07T05:54:36.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-07T05:54:36.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-07T05:54:36.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-07T05:54:36.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-07T05:54:36.583Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-07T05:54:36.717Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T05:54:36.849Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T05:54:36.980Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T05:54:37.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-07T05:54:37.255Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-07T05:54:37.398Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-07T05:54:37.525Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-07T05:54:37.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-07T05:54:37.796Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-07T05:54:37.925Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-07T05:54:38.074Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-07T05:54:38.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-865 [Pipeline] echo [2021-04-07T05:54:38.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-865 [Pipeline] echo [2021-04-07T05:54:38.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-865 [Pipeline] echo [2021-04-07T05:54:38.573Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [Pipeline] echo [2021-04-07T05:54:38.699Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02c7828 [Pipeline] echo [2021-04-07T05:54:38.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T05:54:39.097Z] provisioning config files... [2021-04-07T05:54:39.128Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/config2440993767325749714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T05:54:39.544Z] ---> docker-login.sh [2021-04-07T05:54:39.544Z] nexus3.edgexfoundry.org:10001 [2021-04-07T05:54:39.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:54:40.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:54:40.069Z] Configure a credential helper to remove this warning. See [2021-04-07T05:54:40.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:54:40.069Z] [2021-04-07T05:54:40.069Z] Login Succeeded [2021-04-07T05:54:40.069Z] nexus3.edgexfoundry.org:10002 [2021-04-07T05:54:40.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:54:40.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:54:40.334Z] Configure a credential helper to remove this warning. See [2021-04-07T05:54:40.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:54:40.334Z] [2021-04-07T05:54:40.334Z] Login Succeeded [2021-04-07T05:54:40.334Z] nexus3.edgexfoundry.org:10003 [2021-04-07T05:54:40.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:54:40.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:54:40.334Z] Configure a credential helper to remove this warning. See [2021-04-07T05:54:40.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:54:40.334Z] [2021-04-07T05:54:40.334Z] Login Succeeded [2021-04-07T05:54:40.334Z] nexus3.edgexfoundry.org:10004 [2021-04-07T05:54:40.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:54:40.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:54:40.599Z] Configure a credential helper to remove this warning. See [2021-04-07T05:54:40.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:54:40.599Z] [2021-04-07T05:54:40.599Z] Login Succeeded [2021-04-07T05:54:40.599Z] docker.io [2021-04-07T05:54:40.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:54:40.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:54:40.867Z] Configure a credential helper to remove this warning. See [2021-04-07T05:54:40.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:54:40.867Z] [2021-04-07T05:54:40.867Z] Login Succeeded [2021-04-07T05:54:40.867Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T05:54:40.891Z] 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-07T05:54:42.117Z] + git log --format=format:%s -1 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [Pipeline] echo [2021-04-07T05:54:42.207Z] GIT_COMMIT: 02c78288b5ebc28a3c14afbc9b27287fcd943bc6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-04-07T05:54:42.281Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-07T05:54:43.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T05:54:43.345Z] [2021-04-07T05:54:43.345Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T05:54:43.752Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T05:54:43.752Z] latest: Pulling from edgex-devops/git-semver [2021-04-07T05:54:43.752Z] 31603596830f: Pulling fs layer [2021-04-07T05:54:43.752Z] 2a8b12db71e7: Pulling fs layer [2021-04-07T05:54:43.752Z] 6ca5941a6612: Pulling fs layer [2021-04-07T05:54:43.752Z] ecc8261a40a4: Pulling fs layer [2021-04-07T05:54:43.752Z] ecc8261a40a4: Waiting [2021-04-07T05:54:43.752Z] 2a8b12db71e7: Verifying Checksum [2021-04-07T05:54:43.753Z] 2a8b12db71e7: Download complete [2021-04-07T05:54:44.020Z] 31603596830f: Verifying Checksum [2021-04-07T05:54:44.020Z] 31603596830f: Download complete [2021-04-07T05:54:44.020Z] 6ca5941a6612: Verifying Checksum [2021-04-07T05:54:44.020Z] 6ca5941a6612: Download complete [2021-04-07T05:54:44.020Z] ecc8261a40a4: Verifying Checksum [2021-04-07T05:54:44.020Z] ecc8261a40a4: Download complete [2021-04-07T05:54:44.284Z] 31603596830f: Pull complete [2021-04-07T05:54:44.284Z] 2a8b12db71e7: Pull complete [2021-04-07T05:54:45.245Z] 6ca5941a6612: Pull complete [2021-04-07T05:54:45.509Z] ecc8261a40a4: Pull complete [2021-04-07T05:54:45.509Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-07T05:54:45.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T05:54:45.509Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-07T05:54:45.637Z] prd-centos7-docker-4c-2g-33123 does not seem to be running inside a container [2021-04-07T05:54:45.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-865 -v /w/workspace/dgexfoundry_device-sdk-go_PR-865:/w/workspace/dgexfoundry_device-sdk-go_PR-865:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-865@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-07T05:54:47.625Z] $ docker top 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T05:54:48.087Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T05:54:48.087Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T05:54:48.334Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T05:54:48.334Z] $ docker exec 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 ssh-agent [2021-04-07T05:54:48.514Z] SSH_AUTH_SOCK=/tmp/ssh-Ggy0gc66Nnmf/agent.12 [2021-04-07T05:54:48.514Z] SSH_AGENT_PID=17 [2021-04-07T05:54:48.524Z] Running ssh-add (command line suppressed) [2021-04-07T05:54:48.645Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/private_key_4330316420455851078.key (/w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/private_key_4330316420455851078.key) [2021-04-07T05:54:48.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T05:54:49.077Z] + git tag --points-at HEAD [Pipeline] } [2021-04-07T05:54:49.106Z] $ docker exec --env ******** --env ******** 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 ssh-agent -k [2021-04-07T05:54:49.218Z] unset SSH_AUTH_SOCK; [2021-04-07T05:54:49.218Z] unset SSH_AGENT_PID; [2021-04-07T05:54:49.218Z] echo Agent pid 17 killed; [2021-04-07T05:54:49.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-07T05:54:49.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T05:54:49.468Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T05:54:49.635Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T05:54:49.635Z] $ docker exec 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 ssh-agent [2021-04-07T05:54:49.805Z] SSH_AUTH_SOCK=/tmp/ssh-8FXuIW407S8M/agent.46 [2021-04-07T05:54:49.805Z] SSH_AGENT_PID=52 [2021-04-07T05:54:49.814Z] Running ssh-add (command line suppressed) [2021-04-07T05:54:49.933Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/private_key_6478251524383867130.key (/w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/private_key_6478251524383867130.key) [2021-04-07T05:54:49.989Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T05:54:50.372Z] + git semver init [2021-04-07T05:54:50.372Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T05:54:50.373Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-865/.git [2021-04-07T05:54:50.373Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-865 [2021-04-07T05:54:50.373Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T05:54:50.373Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T05:54:50.373Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T05:54:50.373Z] # $SEMVER_BRANCH = PR-865 [2021-04-07T05:54:50.373Z] # $SEMVER_TEMP = /tmp/semver-767499809 [2021-04-07T05:54:50.373Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-07T05:54:51.319Z] # '/tmp/semver-767499809' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-865/.semver' [2021-04-07T05:54:51.320Z] # -> Force: false [2021-04-07T05:54:51.320Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-865/.semver [Pipeline] } [2021-04-07T05:54:51.336Z] $ docker exec --env ******** --env ******** 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 ssh-agent -k [2021-04-07T05:54:51.451Z] unset SSH_AUTH_SOCK; [2021-04-07T05:54:51.452Z] unset SSH_AGENT_PID; [2021-04-07T05:54:51.452Z] echo Agent pid 52 killed; [2021-04-07T05:54:51.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T05:54:52.094Z] + git semver [Pipeline] } [2021-04-07T05:54:52.127Z] $ docker stop --time=1 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 [2021-04-07T05:54:53.786Z] $ docker rm -f 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T05:54:54.348Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-07T05:54:54.805Z] Stashed 1 file(s) [Pipeline] echo [2021-04-07T05:54:54.823Z] [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-07T05:55:10.640Z] Still waiting to schedule task [2021-04-07T05:55:10.640Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-07T05:55:10.678Z] Still waiting to schedule task [2021-04-07T05:55:10.678Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline [2021-04-07T05:57:07.744Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33124 in /w/workspace/dgexfoundry_device-sdk-go_PR-865 [Pipeline] { [Pipeline] ws [2021-04-07T05:57:07.846Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-07T05:57:12.763Z] using credential edgex-jenkins-ssh [2021-04-07T05:57:12.841Z] Cloning the remote Git repository [2021-04-07T05:57:12.880Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T05:57:12.994Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-07T05:57:13.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T05:57:13.074Z] > git --version # timeout=10 [2021-04-07T05:57:13.096Z] > git --version # 'git version 2.17.1' [2021-04-07T05:57:13.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T05:57:13.192Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T05:57:15.079Z] Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [2021-04-07T05:57:15.320Z] Merge succeeded, producing 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [2021-04-07T05:57:15.320Z] Checking out Revision 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 (PR-865) [2021-04-07T05:57:14.468Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T05:57:14.494Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T05:57:14.525Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T05:57:14.563Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T05:57:14.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T05:57:14.581Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/865/head:refs/remotes/origin/PR-865 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T05:57:15.086Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T05:57:15.106Z] > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # timeout=10 [2021-04-07T05:57:15.211Z] > git remote # timeout=10 [2021-04-07T05:57:15.240Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T05:57:15.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T05:57:15.264Z] > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 [2021-04-07T05:57:15.289Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T05:57:15.313Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T05:57:15.325Z] > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # timeout=10 [2021-04-07T05:57:19.755Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-04-07T05:57:19.799Z] > git --version # timeout=10 [2021-04-07T05:57:19.814Z] > git --version # 'git version 2.17.1' [2021-04-07T05:57:19.827Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T05:57:21.628Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-07T05:57:22.048Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T05:57:22.405Z] + sudo+ service docker restarttrue [2021-04-07T05:57:22.405Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T05:57:25.178Z] provisioning config files... [2021-04-07T05:57:25.217Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1686374451424836656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T05:57:25.681Z] ---> docker-login.sh [2021-04-07T05:57:25.681Z] nexus3.edgexfoundry.org:10001 [2021-04-07T05:57:26.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:57:26.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:57:26.941Z] Configure a credential helper to remove this warning. See [2021-04-07T05:57:26.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:57:26.941Z] [2021-04-07T05:57:26.941Z] Login Succeeded [2021-04-07T05:57:26.941Z] nexus3.edgexfoundry.org:10002 [2021-04-07T05:57:27.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:57:27.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:57:27.492Z] Configure a credential helper to remove this warning. See [2021-04-07T05:57:27.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:57:27.492Z] [2021-04-07T05:57:27.492Z] Login Succeeded [2021-04-07T05:57:27.492Z] nexus3.edgexfoundry.org:10003 [2021-04-07T05:57:27.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:57:28.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:57:28.042Z] Configure a credential helper to remove this warning. See [2021-04-07T05:57:28.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:57:28.042Z] [2021-04-07T05:57:28.042Z] Login Succeeded [2021-04-07T05:57:28.042Z] nexus3.edgexfoundry.org:10004 [2021-04-07T05:57:28.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:57:28.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:57:28.588Z] Configure a credential helper to remove this warning. See [2021-04-07T05:57:28.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:57:28.588Z] [2021-04-07T05:57:28.588Z] Login Succeeded [2021-04-07T05:57:28.588Z] docker.io [2021-04-07T05:57:28.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:57:29.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:57:29.136Z] Configure a credential helper to remove this warning. See [2021-04-07T05:57:29.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:57:29.136Z] [2021-04-07T05:57:29.136Z] Login Succeeded [2021-04-07T05:57:29.136Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T05:57:29.166Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T05:57:29.715Z] ========================================================= [2021-04-07T05:57:29.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-07T05:57:29.716Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T05:57:30.132Z] + 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-07T05:57:30.599Z] Sending build context to Docker daemon 2.381MB [2021-04-07T05:57:30.599Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T05:57:30.599Z] Step 2/8 : FROM ${BASE} [2021-04-07T05:57:30.599Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-07T05:57:30.599Z] 5f621e34cdf4: Pulling fs layer [2021-04-07T05:57:30.599Z] a4357932f1b6: Pulling fs layer [2021-04-07T05:57:30.599Z] 18c013af1878: Pulling fs layer [2021-04-07T05:57:30.599Z] 00ac8860ef70: Pulling fs layer [2021-04-07T05:57:30.599Z] 63d7cb157983: Pulling fs layer [2021-04-07T05:57:30.599Z] b116817d02f9: Pulling fs layer [2021-04-07T05:57:30.599Z] 745a02a5169b: Pulling fs layer [2021-04-07T05:57:30.599Z] 00ac8860ef70: Waiting [2021-04-07T05:57:30.599Z] 63d7cb157983: Waiting [2021-04-07T05:57:30.599Z] b116817d02f9: Waiting [2021-04-07T05:57:30.599Z] 745a02a5169b: Waiting [2021-04-07T05:57:30.875Z] 18c013af1878: Verifying Checksum [2021-04-07T05:57:30.875Z] 18c013af1878: Download complete [2021-04-07T05:57:30.875Z] a4357932f1b6: Verifying Checksum [2021-04-07T05:57:30.875Z] a4357932f1b6: Download complete [2021-04-07T05:57:30.875Z] 63d7cb157983: Verifying Checksum [2021-04-07T05:57:30.875Z] 63d7cb157983: Download complete [2021-04-07T05:57:30.875Z] b116817d02f9: Download complete [2021-04-07T05:57:30.875Z] 5f621e34cdf4: Verifying Checksum [2021-04-07T05:57:30.875Z] 5f621e34cdf4: Download complete [2021-04-07T05:57:31.477Z] 5f621e34cdf4: Pull complete [2021-04-07T05:57:32.086Z] a4357932f1b6: Pull complete [2021-04-07T05:57:32.686Z] 18c013af1878: Pull complete [2021-04-07T05:57:32.686Z] 745a02a5169b: Verifying Checksum [2021-04-07T05:57:32.686Z] 745a02a5169b: Download complete [2021-04-07T05:57:34.655Z] 00ac8860ef70: Verifying Checksum [2021-04-07T05:57:34.655Z] 00ac8860ef70: Download complete [2021-04-07T05:57:44.815Z] 00ac8860ef70: Pull complete [2021-04-07T05:57:44.815Z] 63d7cb157983: Pull complete [2021-04-07T05:57:44.815Z] b116817d02f9: Pull complete [2021-04-07T05:57:47.434Z] Running on prd-centos7-docker-4c-2g-33125 in /w/workspace/dgexfoundry_device-sdk-go_PR-865 [Pipeline] { [Pipeline] ws [2021-04-07T05:57:47.526Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-07T05:57:49.158Z] 745a02a5169b: Pull complete [2021-04-07T05:57:49.158Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-07T05:57:49.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-07T05:57:49.158Z] ---> b7e6874047d6 [2021-04-07T05:57:49.158Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T05:57:49.991Z] using credential edgex-jenkins-ssh [2021-04-07T05:57:50.046Z] Cloning the remote Git repository [2021-04-07T05:57:49.963Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T05:57:50.036Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-07T05:57:50.098Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T05:57:50.098Z] > git --version # timeout=10 [2021-04-07T05:57:50.105Z] > git --version # 'git version 2.24.3' [2021-04-07T05:57:50.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T05:57:50.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T05:57:50.883Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T05:57:50.898Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T05:57:50.914Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T05:57:51.417Z] Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [2021-04-07T05:57:51.515Z] Merge succeeded, producing 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [2021-04-07T05:57:51.516Z] Checking out Revision 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 (PR-865) [2021-04-07T05:57:51.776Z] ---> Running in 749a0ee8e48e [2021-04-07T05:57:51.776Z] Removing intermediate container 749a0ee8e48e [2021-04-07T05:57:51.776Z] ---> edd7e68f1285 [2021-04-07T05:57:51.776Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T05:57:52.054Z] ---> Running in 0d7d9904ac10 [2021-04-07T05:57:50.934Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T05:57:50.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T05:57:50.945Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/865/head:refs/remotes/origin/PR-865 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T05:57:51.421Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T05:57:51.427Z] > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # timeout=10 [2021-04-07T05:57:51.478Z] > git remote # timeout=10 [2021-04-07T05:57:51.485Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T05:57:51.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T05:57:51.495Z] > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 [2021-04-07T05:57:51.506Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T05:57:51.519Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T05:57:51.524Z] > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # timeout=10 [2021-04-07T05:57:54.691Z] Removing intermediate container 0d7d9904ac10 [2021-04-07T05:57:54.691Z] ---> 64e2ec2176c8 [2021-04-07T05:57:54.691Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T05:57:54.691Z] ---> Running in d3aa49306e4e [2021-04-07T05:57:55.230Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-04-07T05:57:55.255Z] > git --version # timeout=10 [2021-04-07T05:57:55.260Z] > git --version # 'git version 2.24.3' [2021-04-07T05:57:55.265Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T05:57:55.289Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T05:57:56.274Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T05:57:56.515Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-07T05:57:56.864Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2021-04-07T05:57:56.876Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-07T05:57:56.876Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-07T05:57:56.876Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-07T05:57:56.876Z] (4/6) Installing libsodium-dev (1.0.18-r0) [Pipeline] sh [2021-04-07T05:57:57.157Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-07T05:57:57.157Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-07T05:57:57.157Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T05:57:57.186Z] + sudo service docker restart [2021-04-07T05:57:57.186Z] + true [2021-04-07T05:57:57.187Z] Redirecting to /bin/systemctl restart docker.service [2021-04-07T05:57:57.436Z] OK: 144 MiB in 45 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T05:57:58.267Z] provisioning config files... [2021-04-07T05:57:58.293Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1230090861083924960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T05:57:58.772Z] ---> docker-login.sh [2021-04-07T05:57:58.772Z] nexus3.edgexfoundry.org:10001 [2021-04-07T05:57:58.911Z] Removing intermediate container d3aa49306e4e [2021-04-07T05:57:58.911Z] ---> 502b43b52150 [2021-04-07T05:57:58.911Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-07T05:57:58.911Z] ---> Running in 45eacf3574c3 [2021-04-07T05:57:59.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:57:59.187Z] Removing intermediate container 45eacf3574c3 [2021-04-07T05:57:59.187Z] ---> 3d5f8a84df5a [2021-04-07T05:57:59.187Z] Step 7/8 : COPY . . [2021-04-07T05:57:59.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:57:59.307Z] Configure a credential helper to remove this warning. See [2021-04-07T05:57:59.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:57:59.307Z] [2021-04-07T05:57:59.307Z] Login Succeeded [2021-04-07T05:57:59.307Z] nexus3.edgexfoundry.org:10002 [2021-04-07T05:57:59.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:57:59.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:57:59.307Z] Configure a credential helper to remove this warning. See [2021-04-07T05:57:59.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:57:59.307Z] [2021-04-07T05:57:59.307Z] Login Succeeded [2021-04-07T05:57:59.307Z] nexus3.edgexfoundry.org:10003 [2021-04-07T05:57:59.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:57:59.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:57:59.570Z] Configure a credential helper to remove this warning. See [2021-04-07T05:57:59.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:57:59.570Z] [2021-04-07T05:57:59.570Z] Login Succeeded [2021-04-07T05:57:59.570Z] nexus3.edgexfoundry.org:10004 [2021-04-07T05:57:59.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:57:59.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:57:59.837Z] Configure a credential helper to remove this warning. See [2021-04-07T05:57:59.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:57:59.837Z] [2021-04-07T05:57:59.837Z] Login Succeeded [2021-04-07T05:57:59.837Z] docker.io [2021-04-07T05:57:59.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T05:58:00.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T05:58:00.100Z] Configure a credential helper to remove this warning. See [2021-04-07T05:58:00.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T05:58:00.100Z] [2021-04-07T05:58:00.100Z] Login Succeeded [2021-04-07T05:58:00.100Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T05:58:00.123Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-07T05:58:00.624Z] ---> 40c1f6e14f2b [2021-04-07T05:58:00.625Z] Step 8/8 : RUN go mod download [2021-04-07T05:58:00.625Z] ---> Running in 37623054954c [Pipeline] echo [2021-04-07T05:58:00.722Z] ========================================================= [2021-04-07T05:58:00.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-07T05:58:00.722Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T05:58:01.137Z] + 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-07T05:58:01.138Z] Sending build context to Docker daemon 2.382MB [2021-04-07T05:58:01.408Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T05:58:01.408Z] Step 2/8 : FROM ${BASE} [2021-04-07T05:58:01.408Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-07T05:58:01.408Z] 188c0c94c7c5: Pulling fs layer [2021-04-07T05:58:01.408Z] 0ef7d3d256c8: Pulling fs layer [2021-04-07T05:58:01.408Z] de9db76c5a1d: Pulling fs layer [2021-04-07T05:58:01.408Z] bca2f99d35d6: Pulling fs layer [2021-04-07T05:58:01.408Z] 93359f2a8cfa: Pulling fs layer [2021-04-07T05:58:01.408Z] 7c6f9722023f: Pulling fs layer [2021-04-07T05:58:01.408Z] a35cf1a2eb13: Pulling fs layer [2021-04-07T05:58:01.408Z] 93359f2a8cfa: Waiting [2021-04-07T05:58:01.408Z] 7c6f9722023f: Waiting [2021-04-07T05:58:01.408Z] bca2f99d35d6: Waiting [2021-04-07T05:58:01.408Z] a35cf1a2eb13: Waiting [2021-04-07T05:58:01.408Z] de9db76c5a1d: Verifying Checksum [2021-04-07T05:58:01.408Z] de9db76c5a1d: Download complete [2021-04-07T05:58:01.408Z] 0ef7d3d256c8: Download complete [2021-04-07T05:58:01.408Z] 93359f2a8cfa: Verifying Checksum [2021-04-07T05:58:01.408Z] 93359f2a8cfa: Download complete [2021-04-07T05:58:01.408Z] 188c0c94c7c5: Verifying Checksum [2021-04-07T05:58:01.408Z] 188c0c94c7c5: Download complete [2021-04-07T05:58:01.408Z] 7c6f9722023f: Verifying Checksum [2021-04-07T05:58:01.408Z] 7c6f9722023f: Download complete [2021-04-07T05:58:01.677Z] 188c0c94c7c5: Pull complete [2021-04-07T05:58:01.944Z] 0ef7d3d256c8: Pull complete [2021-04-07T05:58:01.944Z] de9db76c5a1d: Pull complete [2021-04-07T05:58:03.877Z] a35cf1a2eb13: Verifying Checksum [2021-04-07T05:58:03.877Z] a35cf1a2eb13: Download complete [2021-04-07T05:58:04.141Z] bca2f99d35d6: Verifying Checksum [2021-04-07T05:58:04.141Z] bca2f99d35d6: Download complete [2021-04-07T05:58:09.488Z] bca2f99d35d6: Pull complete [2021-04-07T05:58:09.488Z] 93359f2a8cfa: Pull complete [2021-04-07T05:58:10.445Z] 7c6f9722023f: Pull complete [2021-04-07T05:58:14.715Z] a35cf1a2eb13: Pull complete [2021-04-07T05:58:14.715Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-07T05:58:14.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-07T05:58:14.715Z] ---> a62c8e92a672 [2021-04-07T05:58:14.715Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T05:58:14.715Z] ---> Running in 0f3d21e11756 [2021-04-07T05:58:14.715Z] Removing intermediate container 0f3d21e11756 [2021-04-07T05:58:14.715Z] ---> cedc27cf9d21 [2021-04-07T05:58:14.715Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T05:58:14.715Z] ---> Running in 857bacf34a89 [2021-04-07T05:58:15.682Z] Removing intermediate container 857bacf34a89 [2021-04-07T05:58:15.682Z] ---> a910fec1619c [2021-04-07T05:58:15.682Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T05:58:15.950Z] ---> Running in ef93973af37c [2021-04-07T05:58:16.907Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T05:58:17.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T05:58:18.077Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-07T05:58:18.077Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-07T05:58:18.077Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-07T05:58:18.346Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-07T05:58:18.346Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-07T05:58:18.346Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-07T05:58:18.610Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T05:58:18.610Z] OK: 167 MiB in 45 packages [2021-04-07T05:58:19.196Z] Removing intermediate container ef93973af37c [2021-04-07T05:58:19.196Z] ---> aa81fd05bea4 [2021-04-07T05:58:19.196Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-07T05:58:19.196Z] ---> Running in 488b6d0498aa [2021-04-07T05:58:19.196Z] Removing intermediate container 488b6d0498aa [2021-04-07T05:58:19.196Z] ---> 1b1c60aa9320 [2021-04-07T05:58:19.197Z] Step 7/8 : COPY . . [2021-04-07T05:58:20.160Z] ---> a90bacc36a1d [2021-04-07T05:58:20.160Z] Step 8/8 : RUN go mod download [2021-04-07T05:58:20.424Z] ---> Running in 77e7d9b3482e [2021-04-07T05:58:27.465Z] Removing intermediate container 37623054954c [2021-04-07T05:58:27.465Z] ---> 9396ceb2407a [2021-04-07T05:58:27.465Z] Successfully built 9396ceb2407a [2021-04-07T05:58:27.465Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T05:58:27.907Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T05:58:27.907Z] . [Pipeline] withDockerContainer [2021-04-07T05:58:28.247Z] prd-ubuntu18.04-docker-arm64-4c-16g-33124 does not seem to be running inside a container [2021-04-07T05:58:28.347Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-07T05:58:29.880Z] $ docker top cd4b54316b83cc8732d62e1f77a832309a9081a4bfba0ad7fa668e219e0e0b05 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T05:58:30.965Z] + go version [2021-04-07T05:58:30.965Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-07T05:58:31.016Z] $ docker stop --time=1 cd4b54316b83cc8732d62e1f77a832309a9081a4bfba0ad7fa668e219e0e0b05 [2021-04-07T05:58:32.936Z] $ docker rm -f cd4b54316b83cc8732d62e1f77a832309a9081a4bfba0ad7fa668e219e0e0b05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T05:58:34.260Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T05:58:34.260Z] . [Pipeline] withDockerContainer [2021-04-07T05:58:34.540Z] prd-ubuntu18.04-docker-arm64-4c-16g-33124 does not seem to be running inside a container [2021-04-07T05:58:34.622Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-07T05:58:36.070Z] $ docker top c282830d6b9dbaab89b2b6ef730be582230896bdf3cf74c9bb20b563756b1e3c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T05:58:37.116Z] + make test [2021-04-07T05:58:37.116Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-07T05:58:47.145Z] Removing intermediate container 77e7d9b3482e [2021-04-07T05:58:47.145Z] ---> 9b688b81e269 [2021-04-07T05:58:47.145Z] Successfully built 9b688b81e269 [2021-04-07T05:58:47.145Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T05:58:47.496Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T05:58:47.496Z] . [Pipeline] withDockerContainer [2021-04-07T05:58:47.635Z] prd-centos7-docker-4c-2g-33125 does not seem to be running inside a container [2021-04-07T05:58:47.690Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-07T05:58:48.559Z] $ docker top 2bfc37d045f3014b6f8e3f98643a71cda451928656fe49aa3e5f0e708b2e9917 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T05:58:49.152Z] + go version [2021-04-07T05:58:49.152Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-07T05:58:49.181Z] $ docker stop --time=1 2bfc37d045f3014b6f8e3f98643a71cda451928656fe49aa3e5f0e708b2e9917 [2021-04-07T05:58:50.518Z] $ docker rm -f 2bfc37d045f3014b6f8e3f98643a71cda451928656fe49aa3e5f0e708b2e9917 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T05:58:51.606Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T05:58:51.606Z] . [Pipeline] withDockerContainer [2021-04-07T05:58:51.728Z] prd-centos7-docker-4c-2g-33125 does not seem to be running inside a container [2021-04-07T05:58:51.781Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-07T05:58:52.432Z] $ docker top 020b52fb75377ceb27e8d012ab6a5df4f8ec1bfc297f98ba423debb118264b9b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T05:58:53.033Z] + make test [2021-04-07T05:58:53.033Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-07T05:58:59.317Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-07T05:59:01.276Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-07T05:59:19.592Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-07T05:59:19.592Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-07T05:59:19.592Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-07T05:59:19.592Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-07T05:59:19.592Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-07T05:59:23.869Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.075s coverage: 28.1% of statements [2021-04-07T05:59:23.869Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements [2021-04-07T05:59:24.460Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.053s coverage: 7.8% of statements [2021-04-07T05:59:24.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-07T05:59:24.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-07T05:59:24.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-07T05:59:24.460Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 32.5% of statements [2021-04-07T05:59:24.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-07T05:59:24.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-07T05:59:24.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T05:59:24.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 57.3% of statements [2021-04-07T05:59:25.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.188s coverage: 6.6% of statements [2021-04-07T05:59:25.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-07T05:59:25.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-07T05:59:25.681Z] GO111MODULE=on go vet ./... [2021-04-07T05:59:40.745Z] gofmt -l . [2021-04-07T05:59:40.745Z] [ "`gofmt -l .`" = "" ] [2021-04-07T05:59:40.745Z] ./bin/test-attribution-txt.sh [2021-04-07T05:59:41.694Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T05:59:41.993Z] $ docker stop --time=1 020b52fb75377ceb27e8d012ab6a5df4f8ec1bfc297f98ba423debb118264b9b [2021-04-07T05:59:43.653Z] $ docker rm -f 020b52fb75377ceb27e8d012ab6a5df4f8ec1bfc297f98ba423debb118264b9b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T05:59:44.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T05:59:44.891Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-07T05:59:46.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-07T05:59:46.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-07T05:59:46.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-07T05:59:46.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-07T05:59:46.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] sh [2021-04-07T05:59:47.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T05:59:48.211Z] + ls -al . [2021-04-07T05:59:48.211Z] total 188 [2021-04-07T05:59:48.211Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 7 05:59 . [2021-04-07T05:59:48.211Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 05:57 .. [2021-04-07T05:59:48.211Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 05:57 bin [2021-04-07T05:59:48.211Z] -rw-r--r--. 1 jenkins jenkins 99189 Apr 7 05:59 coverage.out [2021-04-07T05:59:48.211Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 7 05:57 Dockerfile.build [2021-04-07T05:59:48.211Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 05:57 .dockerignore [2021-04-07T05:59:48.211Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 7 05:57 example [2021-04-07T05:59:48.211Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 05:57 .git [2021-04-07T05:59:48.211Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 05:57 .github [2021-04-07T05:59:48.211Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 7 05:57 .gitignore [2021-04-07T05:59:48.211Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 7 05:59 go.mod [2021-04-07T05:59:48.211Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 7 05:59 go.sum [2021-04-07T05:59:48.211Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 7 05:57 internal [2021-04-07T05:59:48.211Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 7 05:57 Jenkinsfile [2021-04-07T05:59:48.211Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 7 05:57 LICENSE [2021-04-07T05:59:48.211Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 7 05:57 Makefile [2021-04-07T05:59:48.211Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 7 05:57 openapi [2021-04-07T05:59:48.211Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 7 05:57 pkg [2021-04-07T05:59:48.211Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 7 05:57 README.md [2021-04-07T05:59:48.211Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 7 05:57 RELEASE-NOTES.txt [2021-04-07T05:59:48.211Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 05:57 snap [2021-04-07T05:59:48.211Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 05:54 VERSION [2021-04-07T05:59:48.211Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 7 05:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T05:59:48.563Z] + 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=02c78288b5ebc28a3c14afbc9b27287fcd943bc6 --label arch=amd64 --label version=0.0.0 . [2021-04-07T05:59:48.828Z] Sending build context to Docker daemon 2.482MB [2021-04-07T05:59:48.828Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T05:59:48.828Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-07T05:59:48.828Z] ---> 9b688b81e269 [2021-04-07T05:59:48.828Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-07T05:59:49.407Z] ---> Running in 9614e9ca3fff [2021-04-07T05:59:49.407Z] Removing intermediate container 9614e9ca3fff [2021-04-07T05:59:49.407Z] ---> 0ddbdb9eb74f [2021-04-07T05:59:49.407Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T05:59:49.670Z] ---> Running in c69175e32ae7 [2021-04-07T05:59:49.670Z] Removing intermediate container c69175e32ae7 [2021-04-07T05:59:49.670Z] ---> 5108a69d3f74 [2021-04-07T05:59:49.670Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T05:59:49.937Z] ---> Running in 40e0f83fa0c3 [2021-04-07T05:59:50.888Z] Removing intermediate container 40e0f83fa0c3 [2021-04-07T05:59:50.888Z] ---> a288d2089e5d [2021-04-07T05:59:50.888Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-07T05:59:50.888Z] ---> Running in 876aaedc29df [2021-04-07T05:59:51.461Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T05:59:52.036Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T05:59:52.299Z] OK: 167 MiB in 45 packages [2021-04-07T05:59:52.874Z] Removing intermediate container 876aaedc29df [2021-04-07T05:59:52.874Z] ---> 7df23b560af3 [2021-04-07T05:59:52.874Z] Step 7/23 : COPY . . [2021-04-07T05:59:53.820Z] ---> ef5fc5a399b9 [2021-04-07T05:59:53.820Z] Step 8/23 : RUN go mod download [2021-04-07T05:59:53.820Z] ---> Running in d641f31c02c3 [2021-04-07T05:59:54.783Z] Removing intermediate container d641f31c02c3 [2021-04-07T05:59:54.783Z] ---> 194c10eb3f52 [2021-04-07T05:59:54.783Z] Step 9/23 : RUN make build [2021-04-07T05:59:54.783Z] ---> Running in a4823ce2811a [2021-04-07T05:59:55.368Z] 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-07T05:59:58.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 28.1% of statements [2021-04-07T05:59:58.803Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.216s coverage: 78.9% of statements [2021-04-07T05:59:58.803Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.124s coverage: 7.8% of statements [2021-04-07T05:59:58.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-07T05:59:58.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-07T05:59:58.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-07T06:00:00.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.233s coverage: 32.5% of statements [2021-04-07T06:00:00.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-07T06:00:00.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-07T06:00:00.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T06:00:04.605Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.269s coverage: 57.3% of statements [2021-04-07T06:00:04.605Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.065s coverage: 6.6% of statements [2021-04-07T06:00:04.605Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements [2021-04-07T06:00:04.605Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-07T06:00:04.884Z] GO111MODULE=on go vet ./... [2021-04-07T06:00:07.742Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-07T06:00:07.742Z] Removing intermediate container a4823ce2811a [2021-04-07T06:00:07.742Z] ---> 9847d49829d7 [2021-04-07T06:00:07.742Z] Step 10/23 : FROM alpine:3.12 [2021-04-07T06:00:08.319Z] 3.12: Pulling from library/alpine [2021-04-07T06:00:08.319Z] 532819f3e44c: Pulling fs layer [2021-04-07T06:00:08.584Z] 532819f3e44c: Verifying Checksum [2021-04-07T06:00:08.584Z] 532819f3e44c: Pull complete [2021-04-07T06:00:08.849Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T06:00:08.849Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T06:00:08.849Z] ---> 7230e588e954 [2021-04-07T06:00:08.849Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T06:00:08.849Z] ---> Running in 1a8202cf30c7 [2021-04-07T06:00:09.118Z] Removing intermediate container 1a8202cf30c7 [2021-04-07T06:00:09.118Z] ---> 99e31f75063d [2021-04-07T06:00:09.118Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T06:00:09.118Z] ---> Running in c79699160bba [2021-04-07T06:00:11.048Z] Removing intermediate container c79699160bba [2021-04-07T06:00:11.048Z] ---> 134ee60da54d [2021-04-07T06:00:11.048Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-07T06:00:11.048Z] ---> Running in 00dfd8b5e239 [2021-04-07T06:00:11.314Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T06:00:11.893Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T06:00:13.287Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T06:00:13.287Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T06:00:13.287Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T06:00:13.864Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T06:00:14.130Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T06:00:14.408Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T06:00:14.408Z] OK: 8 MiB in 19 packages [2021-04-07T06:00:14.988Z] Removing intermediate container 00dfd8b5e239 [2021-04-07T06:00:14.988Z] ---> d2ad3c933096 [2021-04-07T06:00:14.988Z] Step 14/23 : WORKDIR / [2021-04-07T06:00:14.988Z] ---> Running in dfc67138af2a [2021-04-07T06:00:15.252Z] Removing intermediate container dfc67138af2a [2021-04-07T06:00:15.252Z] ---> 2604e09e3d84 [2021-04-07T06:00:15.252Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-07T06:00:15.515Z] ---> a473fc4b3686 [2021-04-07T06:00:15.515Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-07T06:00:16.095Z] ---> 934fd8a37f74 [2021-04-07T06:00:16.095Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-07T06:00:16.358Z] ---> d1c36f0b35d7 [2021-04-07T06:00:16.358Z] Step 18/23 : EXPOSE 49990 [2021-04-07T06:00:16.358Z] ---> Running in 2f2be91337dc [2021-04-07T06:00:16.358Z] Removing intermediate container 2f2be91337dc [2021-04-07T06:00:16.358Z] ---> 6bde263f7a3e [2021-04-07T06:00:16.358Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-07T06:00:16.622Z] ---> Running in 09595a78b1d9 [2021-04-07T06:00:16.622Z] Removing intermediate container 09595a78b1d9 [2021-04-07T06:00:16.622Z] ---> 2c009e4bf4cf [2021-04-07T06:00:16.622Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T06:00:16.887Z] ---> Running in 2e504e90aea5 [2021-04-07T06:00:16.887Z] Removing intermediate container 2e504e90aea5 [2021-04-07T06:00:16.887Z] ---> 3e023fb40215 [2021-04-07T06:00:16.887Z] Step 21/23 : LABEL arch=amd64 [2021-04-07T06:00:16.887Z] ---> Running in beb6b4f90d48 [2021-04-07T06:00:17.153Z] Removing intermediate container beb6b4f90d48 [2021-04-07T06:00:17.153Z] ---> f574421a3c8c [2021-04-07T06:00:17.153Z] Step 22/23 : LABEL git_sha=02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [2021-04-07T06:00:17.153Z] ---> Running in 94eed6354faf [2021-04-07T06:00:17.414Z] Removing intermediate container 94eed6354faf [2021-04-07T06:00:17.414Z] ---> 47face8e95d9 [2021-04-07T06:00:17.414Z] Step 23/23 : LABEL version=0.0.0 [2021-04-07T06:00:17.414Z] ---> Running in 8db2e5ab6354 [2021-04-07T06:00:17.678Z] Removing intermediate container 8db2e5ab6354 [2021-04-07T06:00:17.678Z] ---> 10a7ce09fb70 [2021-04-07T06:00:17.678Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-07T06:00:17.678Z] Successfully built 10a7ce09fb70 [2021-04-07T06:00:17.678Z] 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-07T06:00:19.102Z] ---> job-cost.sh [2021-04-07T06:00:19.102Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qzSP [2021-04-07T06:00:34.305Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T06:00:51.946Z] gofmt -l . [2021-04-07T06:00:51.946Z] [ "`gofmt -l .`" = "" ] [2021-04-07T06:00:51.946Z] ./bin/test-attribution-txt.sh [2021-04-07T06:00:51.946Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T06:00:52.020Z] $ docker stop --time=1 c282830d6b9dbaab89b2b6ef730be582230896bdf3cf74c9bb20b563756b1e3c [2021-04-07T06:00:54.204Z] $ docker rm -f c282830d6b9dbaab89b2b6ef730be582230896bdf3cf74c9bb20b563756b1e3c [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T06:00:55.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T06:00:55.390Z] Warning: overwriting stash ‘coverage-report’ [2021-04-07T06:00:56.199Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T06:00:57.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T06:00:57.493Z] + ls -al . [2021-04-07T06:00:57.494Z] total 224 [2021-04-07T06:00:57.494Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 06:00 . [2021-04-07T06:00:57.494Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 05:57 .. [2021-04-07T06:00:57.494Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 05:57 .dockerignore [2021-04-07T06:00:57.494Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 05:57 .git [2021-04-07T06:00:57.494Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 05:57 .github [2021-04-07T06:00:57.494Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 7 05:57 .gitignore [2021-04-07T06:00:57.494Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 7 05:57 Dockerfile.build [2021-04-07T06:00:57.494Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 7 05:57 Jenkinsfile [2021-04-07T06:00:57.494Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 05:57 LICENSE [2021-04-07T06:00:57.494Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 7 05:57 Makefile [2021-04-07T06:00:57.494Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 7 05:57 README.md [2021-04-07T06:00:57.494Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 7 05:57 RELEASE-NOTES.txt [2021-04-07T06:00:57.494Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 05:54 VERSION [2021-04-07T06:00:57.494Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 05:57 bin [2021-04-07T06:00:57.494Z] -rw-r--r-- 1 jenkins jenkins 99189 Apr 7 06:00 coverage.out [2021-04-07T06:00:57.494Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 05:57 example [2021-04-07T06:00:57.494Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 7 06:00 go.mod [2021-04-07T06:00:57.494Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 7 06:00 go.sum [2021-04-07T06:00:57.494Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 7 05:57 internal [2021-04-07T06:00:57.494Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 05:57 openapi [2021-04-07T06:00:57.494Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 05:57 pkg [2021-04-07T06:00:57.494Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 05:57 snap [2021-04-07T06:00:57.494Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 05:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T06:00:57.914Z] + 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=02c78288b5ebc28a3c14afbc9b27287fcd943bc6 --label arch=arm64 --label version=0.0.0 . [2021-04-07T06:00:58.213Z] Sending build context to Docker daemon 2.481MB [2021-04-07T06:00:58.213Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T06:00:58.213Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-07T06:00:58.213Z] ---> 9396ceb2407a [2021-04-07T06:00:58.213Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-07T06:00:58.809Z] ---> Running in de9f4f0ed94f [2021-04-07T06:00:59.083Z] Removing intermediate container de9f4f0ed94f [2021-04-07T06:00:59.083Z] ---> b4132901e896 [2021-04-07T06:00:59.083Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T06:00:59.357Z] ---> Running in 3ef4d9244fe1 [2021-04-07T06:00:59.632Z] Removing intermediate container 3ef4d9244fe1 [2021-04-07T06:00:59.632Z] ---> a17e62b4e07e [2021-04-07T06:00:59.632Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T06:00:59.906Z] ---> Running in 78aaeca4d2d5 [2021-04-07T06:01:00.972Z] lf-activate-venv(): INFO: Adding /tmp/venv-qzSP/bin to PATH [2021-04-07T06:01:00.972Z] INFO: No Stack... [2021-04-07T06:01:01.550Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T06:01:01.888Z] Removing intermediate container 78aaeca4d2d5 [2021-04-07T06:01:01.888Z] ---> a1f36a77d50b [2021-04-07T06:01:01.888Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-07T06:01:02.134Z] INFO: Archiving Costs [2021-04-07T06:01:02.158Z] ---> Running in a8a1af3179a5 [Pipeline] sh [2021-04-07T06:01:02.479Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-07T06:01:02.479Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T06:01:02.597Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] [2021-04-07T06:01:02.605Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] did not exist. Created. [2021-04-07T06:01:02.605Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T06:01:03.099Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-07T06:01:03.142Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T06:01:03.243Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T06:01:03.263Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-04-07T06:01:04.121Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } [2021-04-07T06:01:05.093Z] OK: 144 MiB in 45 packages [2021-04-07T06:01:06.537Z] Removing intermediate container a8a1af3179a5 [2021-04-07T06:01:06.537Z] ---> 37c8f726117e [2021-04-07T06:01:06.537Z] Step 7/23 : COPY . . [2021-04-07T06:01:07.515Z] ---> 2625acb486e8 [2021-04-07T06:01:07.515Z] Step 8/23 : RUN go mod download [2021-04-07T06:01:07.790Z] ---> Running in e5b30c3733a4 [2021-04-07T06:01:09.767Z] Removing intermediate container e5b30c3733a4 [2021-04-07T06:01:09.767Z] ---> 870a8e79cac0 [2021-04-07T06:01:09.767Z] Step 9/23 : RUN make build [2021-04-07T06:01:10.040Z] ---> Running in 95452c97b086 [2021-04-07T06:01:11.024Z] 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-07T06:01:43.394Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-07T06:01:46.025Z] Removing intermediate container 95452c97b086 [2021-04-07T06:01:46.025Z] ---> 52b6552c4752 [2021-04-07T06:01:46.025Z] Step 10/23 : FROM alpine:3.12 [2021-04-07T06:01:46.025Z] 3.12: Pulling from library/alpine [2021-04-07T06:01:46.295Z] 9a219e8acc52: Pulling fs layer [2021-04-07T06:01:46.567Z] 9a219e8acc52: Verifying Checksum [2021-04-07T06:01:46.567Z] 9a219e8acc52: Download complete [2021-04-07T06:01:46.840Z] 9a219e8acc52: Pull complete [2021-04-07T06:01:46.840Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T06:01:46.840Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T06:01:46.840Z] ---> d75e27dfc0a0 [2021-04-07T06:01:46.840Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T06:01:47.111Z] ---> Running in 339dc50f9d93 [2021-04-07T06:01:47.710Z] Removing intermediate container 339dc50f9d93 [2021-04-07T06:01:47.710Z] ---> bd5a226a11bc [2021-04-07T06:01:47.710Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T06:01:47.710Z] ---> Running in 7f3fe0b9d233 [2021-04-07T06:01:49.692Z] Removing intermediate container 7f3fe0b9d233 [2021-04-07T06:01:49.692Z] ---> f00ee8b7df03 [2021-04-07T06:01:49.692Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-07T06:01:49.692Z] ---> Running in 2e388e4bfbc4 [2021-04-07T06:01:50.674Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T06:01:51.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T06:01:52.628Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T06:01:52.628Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T06:01:52.898Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T06:01:53.167Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T06:01:53.440Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T06:01:53.440Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T06:01:53.440Z] OK: 8 MiB in 19 packages [2021-04-07T06:01:54.879Z] Removing intermediate container 2e388e4bfbc4 [2021-04-07T06:01:54.879Z] ---> 32b4e65eb598 [2021-04-07T06:01:54.879Z] Step 14/23 : WORKDIR / [2021-04-07T06:01:54.879Z] ---> Running in d6dd48d81f4c [2021-04-07T06:01:55.470Z] Removing intermediate container d6dd48d81f4c [2021-04-07T06:01:55.470Z] ---> 5e4f7d63ed40 [2021-04-07T06:01:55.470Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-07T06:01:56.068Z] ---> 9cfc316508b1 [2021-04-07T06:01:56.068Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-07T06:01:57.506Z] ---> 5e02f9bb8003 [2021-04-07T06:01:57.506Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-07T06:01:58.102Z] ---> 6f37cbc46726 [2021-04-07T06:01:58.102Z] Step 18/23 : EXPOSE 49990 [2021-04-07T06:01:58.102Z] ---> Running in a83e067a6a55 [2021-04-07T06:01:58.699Z] Removing intermediate container a83e067a6a55 [2021-04-07T06:01:58.699Z] ---> 0768f376ca7f [2021-04-07T06:01:58.699Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-07T06:01:58.699Z] ---> Running in 8e87c8b7db7c [2021-04-07T06:01:59.295Z] Removing intermediate container 8e87c8b7db7c [2021-04-07T06:01:59.295Z] ---> 3ae3f957e6b6 [2021-04-07T06:01:59.295Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T06:01:59.295Z] ---> Running in cc3354c0bddc [2021-04-07T06:01:59.889Z] Removing intermediate container cc3354c0bddc [2021-04-07T06:01:59.889Z] ---> 4f8677f30597 [2021-04-07T06:01:59.889Z] Step 21/23 : LABEL arch=arm64 [2021-04-07T06:01:59.889Z] ---> Running in ba4d15e846c8 [2021-04-07T06:02:00.479Z] Removing intermediate container ba4d15e846c8 [2021-04-07T06:02:00.479Z] ---> 3cd1406ca606 [2021-04-07T06:02:00.479Z] Step 22/23 : LABEL git_sha=02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [2021-04-07T06:02:00.479Z] ---> Running in 28c3c1c0e939 [2021-04-07T06:02:01.072Z] Removing intermediate container 28c3c1c0e939 [2021-04-07T06:02:01.072Z] ---> 4de805583856 [2021-04-07T06:02:01.072Z] Step 23/23 : LABEL version=0.0.0 [2021-04-07T06:02:01.072Z] ---> Running in 867ac7f0ec32 [2021-04-07T06:02:01.667Z] Removing intermediate container 867ac7f0ec32 [2021-04-07T06:02:01.667Z] ---> 4d8477fccf76 [2021-04-07T06:02:01.667Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-07T06:02:01.667Z] Successfully built 4d8477fccf76 [2021-04-07T06:02:01.667Z] 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-07T06:02:02.640Z] ---> job-cost.sh [2021-04-07T06:02:02.640Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lH38 [2021-04-07T06:02:41.594Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T06:04:18.353Z] lf-activate-venv(): INFO: Adding /tmp/venv-lH38/bin to PATH [2021-04-07T06:04:18.353Z] INFO: No Stack... [2021-04-07T06:04:18.353Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-07T06:04:18.353Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T06:04:18.769Z] + cut -d, -f6 [2021-04-07T06:04:18.769Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-04-07T06:04:18.929Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] [2021-04-07T06:04:18.937Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] did not exist. Created. [2021-04-07T06:04:18.938Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T06:04:19.508Z] /w/workspace/device-sdk-go/1@tmp/durable-ce0b322f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-ce0b322f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-07T06:04:19.924Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-07T06:04:20.025Z] Warning: overwriting stash ‘stack-cost’ [2021-04-07T06:04:20.181Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T06:04:20.233Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-865-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-07T06:04:22.168Z] provisioning config files... [2021-04-07T06:04:22.183Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/config1904026599048513725tmp [Pipeline] { [Pipeline] sh [2021-04-07T06:04:22.619Z] + set +x [2021-04-07T06:04:22.619Z] + curl -s https://codecov.io/bash [2021-04-07T06:04:22.619Z] + bash -s -- [2021-04-07T06:04:22.882Z] [2021-04-07T06:04:22.882Z] _____ _ [2021-04-07T06:04:22.882Z] / ____| | | [2021-04-07T06:04:22.882Z] | | ___ __| | ___ ___ _____ __ [2021-04-07T06:04:22.882Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-07T06:04:22.882Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-07T06:04:22.882Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-07T06:04:22.882Z] Bash-20210309-2b87ace [2021-04-07T06:04:22.882Z] [2021-04-07T06:04:22.882Z] [2021-04-07T06:04:22.882Z] ==> git version 2.24.3 found [2021-04-07T06:04:22.882Z] ==> 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-07T06:04:22.882Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-07T06:04:22.882Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-07T06:04:22.882Z] ==> Jenkins CI detected. [2021-04-07T06:04:22.882Z] project root: . [2021-04-07T06:04:22.882Z] --> token set from env [2021-04-07T06:04:22.882Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-07T06:04:22.882Z] ==> Running gcov in . (disable via -X gcov) [2021-04-07T06:04:22.882Z] ==> Python coveragepy not found [2021-04-07T06:04:22.882Z] ==> Searching for coverage reports in: [2021-04-07T06:04:22.882Z] + . [2021-04-07T06:04:22.882Z] -> Found 1 reports [2021-04-07T06:04:22.882Z] ==> Detecting git/mercurial file structure [2021-04-07T06:04:22.882Z] ==> Reading reports [2021-04-07T06:04:22.882Z] + ./coverage.out bytes=99189 [2021-04-07T06:04:22.882Z] ==> Appending adjustments [2021-04-07T06:04:22.882Z] https://docs.codecov.io/docs/fixing-reports [2021-04-07T06:04:23.145Z] + Found adjustments [2021-04-07T06:04:23.145Z] ==> Gzipping contents [2021-04-07T06:04:23.145Z] 16K /tmp/codecov.GEdxNJ.gz [2021-04-07T06:04:23.145Z] ==> Uploading reports [2021-04-07T06:04:23.145Z] url: https://codecov.io [2021-04-07T06:04:23.145Z] query: branch=PR-865&commit=02c78288b5ebc28a3c14afbc9b27287fcd943bc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-865%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=865&job=&cmd_args= [2021-04-07T06:04:23.145Z] -> Pinging Codecov [2021-04-07T06:04:23.145Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-865&commit=02c78288b5ebc28a3c14afbc9b27287fcd943bc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-865%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=865&job=&cmd_args= [2021-04-07T06:04:23.722Z] -> Uploading to [2021-04-07T06:04:23.722Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-07/7E55EF52A471D76F132DFD9A03CDDE97/02c78288b5ebc28a3c14afbc9b27287fcd943bc6/65ffe74a-a58c-4949-b21f-48f5cde1acc3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T060423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a4965a71b9542aea0ca5eb869bb4487b99318b5183e95e78173257e4d6651bc [2021-04-07T06:04:23.722Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-07T06:04:23.722Z] Dload Upload Total Spent Left Speed [2021-04-07T06:04:24.304Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13424 0 0 100 13424 0 31766 --:--:-- --:--:-- --:--:-- 31810 [2021-04-07T06:04:24.304Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [Pipeline] } [2021-04-07T06:04:24.339Z] 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-07T06:04:27.841Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T06:04:28.484Z] ---> package-listing.sh [2021-04-07T06:04:28.484Z] ++ facter osfamily [2021-04-07T06:04:28.484Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-07T06:04:28.484Z] + OS_FAMILY=redhat [2021-04-07T06:04:28.484Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-865 [2021-04-07T06:04:28.484Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-07T06:04:28.484Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-07T06:04:28.484Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-07T06:04:28.484Z] + PACKAGES=/tmp/packages_start.txt [2021-04-07T06:04:28.484Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-865 ']' [2021-04-07T06:04:28.484Z] + PACKAGES=/tmp/packages_end.txt [2021-04-07T06:04:28.484Z] + case "${OS_FAMILY}" in [2021-04-07T06:04:28.484Z] + rpm -qa [2021-04-07T06:04:28.484Z] + sort [2021-04-07T06:04:33.829Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-07T06:04:33.829Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-07T06:04:33.829Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-07T06:04:33.829Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-865 ']' [2021-04-07T06:04:33.829Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-865/archives/ [2021-04-07T06:04:33.829Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-865/archives/ [Pipeline] echo [2021-04-07T06:04:33.875Z] 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-865/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-07T06:04:34.228Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-07T06:04:34.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T06:04:34.580Z] [2021-04-07T06:04:34.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-07T06:04:34.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T06:04:34.972Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-07T06:04:34.972Z] df20fa9351a1: Pulling fs layer [2021-04-07T06:04:34.972Z] 36b3adc4ff6f: Pulling fs layer [2021-04-07T06:04:34.972Z] 8ad3a11d3b57: Pulling fs layer [2021-04-07T06:04:34.972Z] 46f8f816bc3b: Pulling fs layer [2021-04-07T06:04:34.972Z] 93b61091891f: Pulling fs layer [2021-04-07T06:04:34.972Z] 93b9cdb0e59b: Pulling fs layer [2021-04-07T06:04:34.972Z] 5e14af77c1be: Pulling fs layer [2021-04-07T06:04:34.972Z] 01666e4c0597: Pulling fs layer [2021-04-07T06:04:34.972Z] aa168da1d23b: Pulling fs layer [2021-04-07T06:04:34.972Z] 93b9cdb0e59b: Waiting [2021-04-07T06:04:34.972Z] 46f8f816bc3b: Waiting [2021-04-07T06:04:34.972Z] 93b61091891f: Waiting [2021-04-07T06:04:34.972Z] 01666e4c0597: Waiting [2021-04-07T06:04:34.972Z] 5e14af77c1be: Waiting [2021-04-07T06:04:34.972Z] aa168da1d23b: Waiting [2021-04-07T06:04:34.972Z] 36b3adc4ff6f: Verifying Checksum [2021-04-07T06:04:34.972Z] 36b3adc4ff6f: Download complete [2021-04-07T06:04:34.972Z] 46f8f816bc3b: Verifying Checksum [2021-04-07T06:04:34.972Z] 46f8f816bc3b: Download complete [2021-04-07T06:04:35.237Z] df20fa9351a1: Verifying Checksum [2021-04-07T06:04:35.237Z] 93b9cdb0e59b: Verifying Checksum [2021-04-07T06:04:35.237Z] 93b9cdb0e59b: Download complete [2021-04-07T06:04:35.237Z] 5e14af77c1be: Verifying Checksum [2021-04-07T06:04:35.237Z] 5e14af77c1be: Download complete [2021-04-07T06:04:35.237Z] 01666e4c0597: Verifying Checksum [2021-04-07T06:04:35.237Z] 01666e4c0597: Download complete [2021-04-07T06:04:35.237Z] 93b61091891f: Verifying Checksum [2021-04-07T06:04:35.237Z] 93b61091891f: Download complete [2021-04-07T06:04:35.504Z] 8ad3a11d3b57: Verifying Checksum [2021-04-07T06:04:35.504Z] 8ad3a11d3b57: Download complete [2021-04-07T06:04:35.504Z] df20fa9351a1: Pull complete [2021-04-07T06:04:35.770Z] 36b3adc4ff6f: Pull complete [2021-04-07T06:04:36.741Z] 8ad3a11d3b57: Pull complete [2021-04-07T06:04:36.741Z] 46f8f816bc3b: Pull complete [2021-04-07T06:04:37.013Z] 93b61091891f: Pull complete [2021-04-07T06:04:37.594Z] 93b9cdb0e59b: Pull complete [2021-04-07T06:04:38.171Z] 5e14af77c1be: Pull complete [2021-04-07T06:04:38.171Z] 01666e4c0597: Pull complete [2021-04-07T06:04:38.439Z] aa168da1d23b: Verifying Checksum [2021-04-07T06:04:38.439Z] aa168da1d23b: Download complete [2021-04-07T06:04:46.631Z] aa168da1d23b: Pull complete [2021-04-07T06:04:46.631Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-07T06:04:46.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T06:04:46.631Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-07T06:04:46.850Z] prd-centos7-docker-4c-2g-33123 does not seem to be running inside a container [2021-04-07T06:04:46.910Z] $ 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-865/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-865 -v /w/workspace/dgexfoundry_device-sdk-go_PR-865:/w/workspace/dgexfoundry_device-sdk-go_PR-865:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-865@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-07T06:04:50.994Z] $ docker top ec31ce8ff9c29954634cc34414ad48b3e308c881ddb235fb31aacdf2af350903 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T06:04:51.573Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-07T06:04:51.898Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-07T06:04:52.222Z] + ls /var/log/sa-host [2021-04-07T06:04:52.222Z] + sadf -c /var/log/sa-host/sa07 [2021-04-07T06:04:52.222Z] file_magic: OK [2021-04-07T06:04:52.222Z] HZ: Using current value: 100 [2021-04-07T06:04:52.222Z] file_header: OK [2021-04-07T06:04:52.222Z] 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-07T06:04:52.222Z] Statistics: [2021-04-07T06:04:52.222Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-07T06:04:52.222Z] File successfully converted to sysstat format version 12.2.1 [2021-04-07T06:04:52.222Z] + sadf -c /var/log/sa-host/sa23 [2021-04-07T06:04:52.222Z] file_magic: OK [2021-04-07T06:04:52.222Z] HZ: Using current value: 100 [2021-04-07T06:04:52.222Z] file_header: OK [2021-04-07T06:04:52.222Z] 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-07T06:04:52.222Z] Statistics: [2021-04-07T06:04:52.222Z] Hnuu...uuuununununu... [2021-04-07T06:04:52.222Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-07T06:04:52.913Z] provisioning config files... [2021-04-07T06:04:52.931Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/config1796574021173481051tmp [Pipeline] { [Pipeline] echo [2021-04-07T06:04:53.047Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T06:04:53.387Z] ---> create-netrc.sh [Pipeline] } [2021-04-07T06:04:53.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-07T06:04:53.569Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T06:04:53.913Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-07T06:04:53.948Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T06:04:54.300Z] ---> sudo-logs.sh [2021-04-07T06:04:54.301Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-07T06:04:54.420Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T06:04:54.760Z] ---> job-cost.sh [2021-04-07T06:04:54.760Z] lf-activate-venv: SKIPPING [2021-04-07T06:04:54.760Z] DEBUG: total: 0.20999999344348907 [2021-04-07T06:04:54.760Z] INFO: Retrieving Stack Cost... [2021-04-07T06:04:56.154Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T06:04:56.729Z] INFO: Archiving Costs [Pipeline] echo [2021-04-07T06:04:56.765Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T06:04:57.105Z] ---> logs-deploy.sh [2021-04-07T06:04:57.105Z] lf-activate-venv: SKIPPING [2021-04-07T06:04:57.105Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-865/1 [2021-04-07T06:04:57.105Z] INFO: archiving workspace using pattern(s): [2021-04-07T06:04:59.027Z] Archives upload complete. [2021-04-07T06:04:59.028Z] INFO: archiving logs to Nexus