Pull request #701 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 42e5a1ea61e0adb23423a933a3224d1395f33e87 rather than 77ddc78a6a928df8f117d7338f979ae30f2e58ff Obtained Jenkinsfile from 42e5a1ea61e0adb23423a933a3224d1395f33e87 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-18095 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [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-701 # 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 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 77ddc78a6a928df8f117d7338f979ae30f2e58ff Merge succeeded, producing 77ddc78a6a928df8f117d7338f979ae30f2e58ff Checking out Revision 77ddc78a6a928df8f117d7338f979ae30f2e58ff (PR-701) > 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/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 77ddc78a6a928df8f117d7338f979ae30f2e58ff # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 77ddc78a6a928df8f117d7338f979ae30f2e58ff # timeout=10 Commit message: "feat: Upgrade core-contracts, go-mod-bootstrap, go-mod-registry lib" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T06:06:46.943Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk f7e26946eb1c27985fba750238850478c356cdb1 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T06:06:47.324Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T06:06:47.418Z] ========================================================= [2021-01-04T06:06:47.418Z] EdgeX Global Pipelines Version Info [2021-01-04T06:06:47.418Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:06:48.908Z] ------------------- [2021-01-04T06:06:48.908Z] stable info: [2021-01-04T06:06:48.908Z] ------------------- [2021-01-04T06:06:48.908Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T06:06:48.908Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T06:06:48.908Z] Message: update stable to v1.0.173 [2021-01-04T06:06:49.857Z] ------------------- [2021-01-04T06:06:49.857Z] experimental info: [2021-01-04T06:06:49.857Z] ------------------- [2021-01-04T06:06:49.857Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T06:06:49.857Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T06:06:49.857Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T06:06:50.152Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-04T06:06:50.244Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-04T06:06:50.336Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T06:06:50.428Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T06:06:50.537Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T06:06:50.645Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T06:06:50.734Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T06:06:50.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T06:06:50.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-04T06:06:51.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T06:06:51.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T06:06:51.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-04T06:06:51.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T06:06:51.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T06:06:51.495Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T06:06:51.625Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:06:51.713Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:06:51.802Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:06:51.899Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T06:06:51.989Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-04T06:06:52.075Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-04T06:06:52.163Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-04T06:06:52.250Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T06:06:52.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T06:06:52.438Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T06:06:52.533Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T06:06:52.634Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T06:06:52.723Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-701 [Pipeline] echo [2021-01-04T06:06:52.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-701 [Pipeline] echo [2021-01-04T06:06:52.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-701 [Pipeline] echo [2021-01-04T06:06:52.989Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77ddc78a6a928df8f117d7338f979ae30f2e58ff [Pipeline] echo [2021-01-04T06:06:53.098Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 77ddc78 [Pipeline] echo [2021-01-04T06:06:53.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:06:53.370Z] provisioning config files... [2021-01-04T06:06:53.400Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/config4063325251502430028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:06:53.759Z] ---> docker-login.sh [2021-01-04T06:06:53.759Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:06:54.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:06:54.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:06:54.285Z] Configure a credential helper to remove this warning. See [2021-01-04T06:06:54.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:06:54.285Z] [2021-01-04T06:06:54.285Z] Login Succeeded [2021-01-04T06:06:54.285Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:06:54.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:06:54.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:06:54.285Z] Configure a credential helper to remove this warning. See [2021-01-04T06:06:54.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:06:54.285Z] [2021-01-04T06:06:54.285Z] Login Succeeded [2021-01-04T06:06:54.285Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:06:54.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:06:54.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:06:54.550Z] Configure a credential helper to remove this warning. See [2021-01-04T06:06:54.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:06:54.550Z] [2021-01-04T06:06:54.550Z] Login Succeeded [2021-01-04T06:06:54.550Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:06:54.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:06:54.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:06:54.812Z] Configure a credential helper to remove this warning. See [2021-01-04T06:06:54.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:06:54.812Z] [2021-01-04T06:06:54.812Z] Login Succeeded [2021-01-04T06:06:54.812Z] docker.io [2021-01-04T06:06:54.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:06:55.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:06:55.074Z] Configure a credential helper to remove this warning. See [2021-01-04T06:06:55.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:06:55.074Z] [2021-01-04T06:06:55.074Z] Login Succeeded [2021-01-04T06:06:55.074Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:06:55.083Z] 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-01-04T06:06:55.892Z] + git log --format=format:%s -1 77ddc78a6a928df8f117d7338f979ae30f2e58ff [Pipeline] echo [2021-01-04T06:06:55.962Z] GIT_COMMIT: 77ddc78a6a928df8f117d7338f979ae30f2e58ff, Commit Message: feat: Upgrade core-contracts, go-mod-bootstrap, go-mod-registry lib [Pipeline] echo [2021-01-04T06:06:56.007Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:06:56.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:06:56.992Z] [2021-01-04T06:06:56.992Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:06:57.348Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:06:57.349Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T06:06:57.349Z] 31603596830f: Pulling fs layer [2021-01-04T06:06:57.349Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T06:06:57.349Z] 6ca5941a6612: Pulling fs layer [2021-01-04T06:06:57.349Z] ecc8261a40a4: Pulling fs layer [2021-01-04T06:06:57.349Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T06:06:57.349Z] 2a8b12db71e7: Download complete [2021-01-04T06:06:57.613Z] 31603596830f: Verifying Checksum [2021-01-04T06:06:57.613Z] 31603596830f: Download complete [2021-01-04T06:06:57.876Z] 6ca5941a6612: Verifying Checksum [2021-01-04T06:06:57.876Z] 6ca5941a6612: Download complete [2021-01-04T06:06:57.876Z] ecc8261a40a4: Verifying Checksum [2021-01-04T06:06:57.876Z] ecc8261a40a4: Download complete [2021-01-04T06:06:57.876Z] 31603596830f: Pull complete [2021-01-04T06:06:58.143Z] 2a8b12db71e7: Pull complete [2021-01-04T06:06:59.092Z] 6ca5941a6612: Pull complete [2021-01-04T06:06:59.092Z] ecc8261a40a4: Pull complete [2021-01-04T06:06:59.092Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T06:06:59.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:06:59.092Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T06:06:59.205Z] prd-centos7-docker-4c-2g-18095 does not seem to be running inside a container [2021-01-04T06:06:59.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-701 -v /w/workspace/dgexfoundry_device-sdk-go_PR-701:/w/workspace/dgexfoundry_device-sdk-go_PR-701:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T06:07:01.271Z] $ docker top 4bc31b1283e90f458a80c2ca3d161bcd0fb3f467fe60fdd7647aae5d41b6d551 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T06:07:01.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T06:07:01.614Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T06:07:01.842Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T06:07:01.844Z] $ docker exec 4bc31b1283e90f458a80c2ca3d161bcd0fb3f467fe60fdd7647aae5d41b6d551 ssh-agent [2021-01-04T06:07:02.013Z] SSH_AUTH_SOCK=/tmp/ssh-jo7vvsHiZtYX/agent.12 [2021-01-04T06:07:02.013Z] SSH_AGENT_PID=17 [2021-01-04T06:07:02.023Z] Running ssh-add (command line suppressed) [2021-01-04T06:07:02.140Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_876723818247446150.key (/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_876723818247446150.key) [2021-01-04T06:07:02.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T06:07:02.525Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T06:07:02.542Z] $ docker exec --env ******** --env ******** 4bc31b1283e90f458a80c2ca3d161bcd0fb3f467fe60fdd7647aae5d41b6d551 ssh-agent -k [2021-01-04T06:07:02.652Z] unset SSH_AUTH_SOCK; [2021-01-04T06:07:02.652Z] unset SSH_AGENT_PID; [2021-01-04T06:07:02.652Z] echo Agent pid 17 killed; [2021-01-04T06:07:02.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T06:07:02.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T06:07:02.855Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T06:07:03.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T06:07:03.016Z] $ docker exec 4bc31b1283e90f458a80c2ca3d161bcd0fb3f467fe60fdd7647aae5d41b6d551 ssh-agent [2021-01-04T06:07:03.179Z] SSH_AUTH_SOCK=/tmp/ssh-URnBIcyghB7w/agent.45 [2021-01-04T06:07:03.179Z] SSH_AGENT_PID=50 [2021-01-04T06:07:03.186Z] Running ssh-add (command line suppressed) [2021-01-04T06:07:03.311Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_1201321779903594577.key (/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_1201321779903594577.key) [2021-01-04T06:07:03.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T06:07:03.782Z] + git semver init [2021-01-04T06:07:03.782Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T06:07:03.782Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-701/.git [2021-01-04T06:07:03.782Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-701 [2021-01-04T06:07:03.782Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T06:07:03.782Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T06:07:03.782Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T06:07:03.782Z] # $SEMVER_BRANCH = PR-701 [2021-01-04T06:07:03.782Z] # $SEMVER_TEMP = /tmp/semver-465801624 [2021-01-04T06:07:03.782Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-04T06:07:04.368Z] # '/tmp/semver-465801624' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-701/.semver' [2021-01-04T06:07:04.368Z] # -> Force: false [2021-01-04T06:07:04.368Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-701/.semver [Pipeline] } [2021-01-04T06:07:04.379Z] $ docker exec --env ******** --env ******** 4bc31b1283e90f458a80c2ca3d161bcd0fb3f467fe60fdd7647aae5d41b6d551 ssh-agent -k [2021-01-04T06:07:04.518Z] unset SSH_AUTH_SOCK; [2021-01-04T06:07:04.518Z] unset SSH_AGENT_PID; [2021-01-04T06:07:04.518Z] echo Agent pid 50 killed; [2021-01-04T06:07:04.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T06:07:05.037Z] + git semver [Pipeline] } [2021-01-04T06:07:05.058Z] $ docker stop --time=1 4bc31b1283e90f458a80c2ca3d161bcd0fb3f467fe60fdd7647aae5d41b6d551 [2021-01-04T06:07:06.509Z] $ docker rm -f 4bc31b1283e90f458a80c2ca3d161bcd0fb3f467fe60fdd7647aae5d41b6d551 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T06:07:06.966Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T06:07:07.464Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T06:07:07.466Z] [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-01-04T06:07:22.966Z] Still waiting to schedule task [2021-01-04T06:07:22.966Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-04T06:07:22.968Z] Still waiting to schedule task [2021-01-04T06:07:22.968Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-04T06:09:18.434Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18097 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [Pipeline] { [Pipeline] ws [2021-01-04T06:09:18.493Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-01-04T06:09:23.546Z] using credential edgex-jenkins-ssh [2021-01-04T06:09:23.601Z] Cloning the remote Git repository [2021-01-04T06:09:23.656Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T06:09:23.765Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-01-04T06:09:23.851Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T06:09:23.852Z] > git --version # timeout=10 [2021-01-04T06:09:23.875Z] > git --version # 'git version 2.17.1' [2021-01-04T06:09:23.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:09:23.947Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:09:25.806Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 77ddc78a6a928df8f117d7338f979ae30f2e58ff [2021-01-04T06:09:25.046Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-04T06:09:25.066Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:09:25.100Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-04T06:09:25.141Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T06:09:25.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:09:25.155Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T06:09:25.826Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:09:25.846Z] > git checkout -f 77ddc78a6a928df8f117d7338f979ae30f2e58ff # timeout=10 [2021-01-04T06:09:25.967Z] > git remote # timeout=10 [2021-01-04T06:09:25.986Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T06:09:25.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:09:26.009Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2021-01-04T06:09:26.032Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T06:09:26.044Z] Merge succeeded, producing 77ddc78a6a928df8f117d7338f979ae30f2e58ff [2021-01-04T06:09:26.044Z] Checking out Revision 77ddc78a6a928df8f117d7338f979ae30f2e58ff (PR-701) [2021-01-04T06:09:26.053Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:09:26.068Z] > git checkout -f 77ddc78a6a928df8f117d7338f979ae30f2e58ff # timeout=10 [2021-01-04T06:09:30.416Z] Commit message: "feat: Upgrade core-contracts, go-mod-bootstrap, go-mod-registry lib" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:09:32.018Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:09:32.426Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:09:32.766Z] + true [2021-01-04T06:09:32.766Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:09:34.825Z] provisioning config files... [2021-01-04T06:09:34.868Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3248361058441418225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:09:35.359Z] ---> docker-login.sh [2021-01-04T06:09:35.359Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:09:36.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:09:36.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:09:36.935Z] Configure a credential helper to remove this warning. See [2021-01-04T06:09:36.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:09:36.935Z] [2021-01-04T06:09:36.935Z] Login Succeeded [2021-01-04T06:09:36.935Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:09:37.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:09:37.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:09:37.481Z] Configure a credential helper to remove this warning. See [2021-01-04T06:09:37.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:09:37.481Z] [2021-01-04T06:09:37.481Z] Login Succeeded [2021-01-04T06:09:37.481Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:09:37.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:09:37.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:09:37.751Z] Configure a credential helper to remove this warning. See [2021-01-04T06:09:37.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:09:37.751Z] [2021-01-04T06:09:37.751Z] Login Succeeded [2021-01-04T06:09:37.752Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:09:38.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:09:38.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:09:38.299Z] Configure a credential helper to remove this warning. See [2021-01-04T06:09:38.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:09:38.299Z] [2021-01-04T06:09:38.299Z] Login Succeeded [2021-01-04T06:09:38.299Z] docker.io [2021-01-04T06:09:38.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:09:38.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:09:38.843Z] Configure a credential helper to remove this warning. See [2021-01-04T06:09:38.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:09:38.843Z] [2021-01-04T06:09:38.843Z] Login Succeeded [2021-01-04T06:09:38.843Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:09:38.861Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T06:09:39.296Z] ========================================================= [2021-01-04T06:09:39.296Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T06:09:39.296Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:09:39.680Z] + 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-01-04T06:09:40.293Z] Sending build context to Docker daemon 2.511MB [2021-01-04T06:09:40.293Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-04T06:09:40.293Z] Step 2/8 : FROM ${BASE} [2021-01-04T06:09:40.293Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T06:09:40.293Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T06:09:40.293Z] a4357932f1b6: Pulling fs layer [2021-01-04T06:09:40.293Z] 18c013af1878: Pulling fs layer [2021-01-04T06:09:40.293Z] 00ac8860ef70: Pulling fs layer [2021-01-04T06:09:40.293Z] 63d7cb157983: Pulling fs layer [2021-01-04T06:09:40.293Z] b116817d02f9: Pulling fs layer [2021-01-04T06:09:40.294Z] 745a02a5169b: Pulling fs layer [2021-01-04T06:09:40.294Z] 00ac8860ef70: Waiting [2021-01-04T06:09:40.294Z] 63d7cb157983: Waiting [2021-01-04T06:09:40.294Z] b116817d02f9: Waiting [2021-01-04T06:09:40.294Z] 745a02a5169b: Waiting [2021-01-04T06:09:40.294Z] 18c013af1878: Verifying Checksum [2021-01-04T06:09:40.294Z] 18c013af1878: Download complete [2021-01-04T06:09:40.294Z] a4357932f1b6: Download complete [2021-01-04T06:09:40.294Z] 63d7cb157983: Verifying Checksum [2021-01-04T06:09:40.294Z] 63d7cb157983: Download complete [2021-01-04T06:09:40.294Z] b116817d02f9: Download complete [2021-01-04T06:09:40.294Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T06:09:40.294Z] 5f621e34cdf4: Download complete [2021-01-04T06:09:41.278Z] 5f621e34cdf4: Pull complete [2021-01-04T06:09:41.557Z] a4357932f1b6: Pull complete [2021-01-04T06:09:42.162Z] 18c013af1878: Pull complete [2021-01-04T06:09:43.603Z] 745a02a5169b: Download complete [2021-01-04T06:09:45.040Z] 00ac8860ef70: Verifying Checksum [2021-01-04T06:09:45.040Z] 00ac8860ef70: Download complete [2021-01-04T06:09:46.904Z] Running on prd-centos7-docker-4c-2g-18099 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [Pipeline] { [Pipeline] ws [2021-01-04T06:09:46.955Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-01-04T06:09:49.366Z] using credential edgex-jenkins-ssh [2021-01-04T06:09:49.417Z] Cloning the remote Git repository [2021-01-04T06:09:49.212Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T06:09:49.296Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-01-04T06:09:49.369Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T06:09:49.370Z] > git --version # timeout=10 [2021-01-04T06:09:49.379Z] > git --version # 'git version 2.24.3' [2021-01-04T06:09:49.379Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:09:49.408Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:09:50.932Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 77ddc78a6a928df8f117d7338f979ae30f2e58ff [2021-01-04T06:09:51.044Z] Merge succeeded, producing 77ddc78a6a928df8f117d7338f979ae30f2e58ff [2021-01-04T06:09:51.045Z] Checking out Revision 77ddc78a6a928df8f117d7338f979ae30f2e58ff (PR-701) [2021-01-04T06:09:50.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-04T06:09:50.279Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:09:50.291Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-04T06:09:50.303Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T06:09:50.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:09:50.308Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T06:09:50.831Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:09:50.843Z] > git checkout -f 77ddc78a6a928df8f117d7338f979ae30f2e58ff # timeout=10 [2021-01-04T06:09:50.899Z] > git remote # timeout=10 [2021-01-04T06:09:50.907Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T06:09:50.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:09:50.919Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2021-01-04T06:09:50.935Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T06:09:50.949Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:09:50.956Z] > git checkout -f 77ddc78a6a928df8f117d7338f979ae30f2e58ff # timeout=10 [2021-01-04T06:09:54.606Z] Commit message: "feat: Upgrade core-contracts, go-mod-bootstrap, go-mod-registry lib" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:09:55.214Z] 00ac8860ef70: Pull complete [2021-01-04T06:09:55.214Z] 63d7cb157983: Pull complete [2021-01-04T06:09:55.488Z] b116817d02f9: Pull complete [2021-01-04T06:09:55.787Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:09:56.121Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:09:56.422Z] + sudo service docker restart [2021-01-04T06:09:56.422Z] + true [2021-01-04T06:09:56.422Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:09:57.439Z] provisioning config files... [2021-01-04T06:09:57.464Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config1974832239595812841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:09:57.838Z] ---> docker-login.sh [2021-01-04T06:09:57.838Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:09:58.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:09:58.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:09:58.106Z] Configure a credential helper to remove this warning. See [2021-01-04T06:09:58.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:09:58.106Z] [2021-01-04T06:09:58.106Z] Login Succeeded [2021-01-04T06:09:58.106Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:09:58.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:09:58.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:09:58.372Z] Configure a credential helper to remove this warning. See [2021-01-04T06:09:58.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:09:58.372Z] [2021-01-04T06:09:58.372Z] Login Succeeded [2021-01-04T06:09:58.372Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:09:58.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:09:58.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:09:58.636Z] Configure a credential helper to remove this warning. See [2021-01-04T06:09:58.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:09:58.636Z] [2021-01-04T06:09:58.636Z] Login Succeeded [2021-01-04T06:09:58.636Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:09:58.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:09:58.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:09:58.898Z] Configure a credential helper to remove this warning. See [2021-01-04T06:09:58.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:09:58.898Z] [2021-01-04T06:09:58.898Z] Login Succeeded [2021-01-04T06:09:58.898Z] docker.io [2021-01-04T06:09:58.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:09:59.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:09:59.160Z] Configure a credential helper to remove this warning. See [2021-01-04T06:09:59.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:09:59.160Z] [2021-01-04T06:09:59.160Z] Login Succeeded [2021-01-04T06:09:59.160Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:09:59.170Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T06:09:59.470Z] ========================================================= [2021-01-04T06:09:59.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T06:09:59.470Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:09:59.810Z] + 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-01-04T06:09:59.810Z] Sending build context to Docker daemon 2.512MB [2021-01-04T06:09:59.813Z] 745a02a5169b: Pull complete [2021-01-04T06:09:59.813Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T06:09:59.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T06:09:59.813Z] ---> b7e6874047d6 [2021-01-04T06:09:59.813Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-04T06:10:00.077Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-04T06:10:00.077Z] Step 2/8 : FROM ${BASE} [2021-01-04T06:10:00.077Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T06:10:00.077Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T06:10:00.077Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T06:10:00.077Z] de9db76c5a1d: Pulling fs layer [2021-01-04T06:10:00.077Z] bca2f99d35d6: Pulling fs layer [2021-01-04T06:10:00.077Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T06:10:00.077Z] 7c6f9722023f: Pulling fs layer [2021-01-04T06:10:00.077Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T06:10:00.077Z] 93359f2a8cfa: Waiting [2021-01-04T06:10:00.077Z] 7c6f9722023f: Waiting [2021-01-04T06:10:00.077Z] a35cf1a2eb13: Waiting [2021-01-04T06:10:00.077Z] bca2f99d35d6: Waiting [2021-01-04T06:10:00.077Z] de9db76c5a1d: Verifying Checksum [2021-01-04T06:10:00.077Z] de9db76c5a1d: Download complete [2021-01-04T06:10:00.077Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T06:10:00.077Z] 0ef7d3d256c8: Download complete [2021-01-04T06:10:00.077Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T06:10:00.077Z] 93359f2a8cfa: Download complete [2021-01-04T06:10:00.077Z] 7c6f9722023f: Verifying Checksum [2021-01-04T06:10:00.077Z] 7c6f9722023f: Download complete [2021-01-04T06:10:00.077Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T06:10:00.077Z] 188c0c94c7c5: Download complete [2021-01-04T06:10:00.344Z] 188c0c94c7c5: Pull complete [2021-01-04T06:10:00.630Z] 0ef7d3d256c8: Pull complete [2021-01-04T06:10:00.906Z] de9db76c5a1d: Pull complete [2021-01-04T06:10:01.875Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T06:10:01.875Z] a35cf1a2eb13: Download complete [2021-01-04T06:10:02.476Z] ---> Running in fecd0f64bf77 [2021-01-04T06:10:02.750Z] Removing intermediate container fecd0f64bf77 [2021-01-04T06:10:02.750Z] ---> df56b83db68a [2021-01-04T06:10:02.750Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T06:10:02.750Z] ---> Running in a6223396f70c [2021-01-04T06:10:02.840Z] bca2f99d35d6: Verifying Checksum [2021-01-04T06:10:02.840Z] bca2f99d35d6: Download complete [2021-01-04T06:10:05.376Z] Removing intermediate container a6223396f70c [2021-01-04T06:10:05.376Z] ---> 495a26db1824 [2021-01-04T06:10:05.376Z] Step 5/8 : RUN apk add --no-cache make git [2021-01-04T06:10:05.376Z] ---> Running in bed68d74f94d [2021-01-04T06:10:06.351Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T06:10:07.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T06:10:08.192Z] bca2f99d35d6: Pull complete [2021-01-04T06:10:08.316Z] OK: 142 MiB in 39 packages [2021-01-04T06:10:08.463Z] 93359f2a8cfa: Pull complete [2021-01-04T06:10:08.463Z] 7c6f9722023f: Pull complete [2021-01-04T06:10:09.320Z] Removing intermediate container bed68d74f94d [2021-01-04T06:10:09.321Z] ---> 377f7ee55f21 [2021-01-04T06:10:09.321Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-04T06:10:09.321Z] ---> Running in f71a0ee19444 [2021-01-04T06:10:09.932Z] Removing intermediate container f71a0ee19444 [2021-01-04T06:10:09.932Z] ---> e21dc87ca887 [2021-01-04T06:10:09.932Z] Step 7/8 : COPY . . [2021-01-04T06:10:11.369Z] ---> 0bc4502a8add [2021-01-04T06:10:11.369Z] Step 8/8 : RUN go mod download [2021-01-04T06:10:11.369Z] ---> Running in bb44a008112a [2021-01-04T06:10:16.688Z] a35cf1a2eb13: Pull complete [2021-01-04T06:10:16.688Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T06:10:16.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T06:10:16.688Z] ---> a62c8e92a672 [2021-01-04T06:10:16.688Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-04T06:10:16.688Z] ---> Running in a0529cebc9fe [2021-01-04T06:10:16.688Z] Removing intermediate container a0529cebc9fe [2021-01-04T06:10:16.688Z] ---> 2fd4d7cc0498 [2021-01-04T06:10:16.688Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T06:10:16.688Z] ---> Running in 19377ae17913 [2021-01-04T06:10:17.642Z] Removing intermediate container 19377ae17913 [2021-01-04T06:10:17.642Z] ---> 9deb9560e6ad [2021-01-04T06:10:17.642Z] Step 5/8 : RUN apk add --no-cache make git [2021-01-04T06:10:17.642Z] ---> Running in 9d50fe8320cd [2021-01-04T06:10:17.905Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T06:10:18.853Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T06:10:19.117Z] OK: 166 MiB in 39 packages [2021-01-04T06:10:19.694Z] Removing intermediate container 9d50fe8320cd [2021-01-04T06:10:19.694Z] ---> d0f279e46a6c [2021-01-04T06:10:19.694Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-04T06:10:19.694Z] ---> Running in 3adf51a4e67d [2021-01-04T06:10:19.694Z] Removing intermediate container 3adf51a4e67d [2021-01-04T06:10:19.694Z] ---> 0191bb004d52 [2021-01-04T06:10:19.694Z] Step 7/8 : COPY . . [2021-01-04T06:10:21.090Z] ---> 7cb10239b62b [2021-01-04T06:10:21.090Z] Step 8/8 : RUN go mod download [2021-01-04T06:10:21.090Z] ---> Running in 6cc494b8e8ab [2021-01-04T06:10:33.549Z] Removing intermediate container bb44a008112a [2021-01-04T06:10:33.549Z] ---> 4028914ae0f9 [2021-01-04T06:10:33.549Z] Successfully built 4028914ae0f9 [2021-01-04T06:10:33.549Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:10:33.899Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T06:10:33.899Z] . [Pipeline] withDockerContainer [2021-01-04T06:10:34.181Z] prd-ubuntu18.04-docker-arm64-4c-16g-18097 does not seem to be running inside a container [2021-01-04T06:10:34.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T06:10:35.734Z] $ docker top afadb10cc8214f18bd02d743c7dcf101195e3faf85ff2994f328f29cbc3c50d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:10:36.773Z] + go version [2021-01-04T06:10:36.773Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T06:10:36.797Z] $ docker stop --time=1 afadb10cc8214f18bd02d743c7dcf101195e3faf85ff2994f328f29cbc3c50d9 [2021-01-04T06:10:38.825Z] $ docker rm -f afadb10cc8214f18bd02d743c7dcf101195e3faf85ff2994f328f29cbc3c50d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-04T06:10:39.314Z] Removing intermediate container 6cc494b8e8ab [2021-01-04T06:10:39.314Z] ---> 0650faefa510 [2021-01-04T06:10:39.314Z] Successfully built 0650faefa510 [2021-01-04T06:10:39.314Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:10:39.817Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T06:10:39.817Z] . [Pipeline] withDockerContainer [2021-01-04T06:10:39.954Z] prd-centos7-docker-4c-2g-18099 does not seem to be running inside a container [2021-01-04T06:10:40.023Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T06:10:40.023Z] . [2021-01-04T06:10:40.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T06:10:40.894Z] $ docker top 816471a287bbc0acaac84c54f30a7114c177a2b2f5da2f94314368a131a540c2 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-01-04T06:10:41.341Z] prd-ubuntu18.04-docker-arm64-4c-16g-18097 does not seem to be running inside a container [2021-01-04T06:10:41.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T06:10:42.977Z] $ docker top 5ca5fc217b1827e665ed8e3609fd125263ea3aa7e6fa150afe811df1c020c413 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-01-04T06:10:43.714Z] + go version [2021-01-04T06:10:43.714Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T06:10:43.731Z] $ docker stop --time=1 816471a287bbc0acaac84c54f30a7114c177a2b2f5da2f94314368a131a540c2 [2021-01-04T06:10:44.102Z] + make test [2021-01-04T06:10:44.102Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-04T06:10:44.374Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2021-01-04T06:10:44.374Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2021-01-04T06:10:45.605Z] $ docker rm -f 816471a287bbc0acaac84c54f30a7114c177a2b2f5da2f94314368a131a540c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:10:46.604Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T06:10:46.604Z] . [Pipeline] withDockerContainer [2021-01-04T06:10:46.724Z] prd-centos7-docker-4c-2g-18099 does not seem to be running inside a container [2021-01-04T06:10:46.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T06:10:47.367Z] $ docker top 428c1715e544faceaf4361dfdf10367452e60429d08286bbd53f6f347c659f49 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:10:47.881Z] + make test [2021-01-04T06:10:47.881Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-04T06:10:47.881Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2021-01-04T06:10:47.881Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2021-01-04T06:10:49.278Z] pkg/service/main.go:19:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.66), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2021-01-04T06:10:49.278Z] pkg/service/main.go:20:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.66), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2021-01-04T06:10:49.278Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2021-01-04T06:10:49.303Z] $ docker stop --time=1 428c1715e544faceaf4361dfdf10367452e60429d08286bbd53f6f347c659f49 [2021-01-04T06:10:49.794Z] pkg/service/main.go:19:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.66), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2021-01-04T06:10:49.794Z] pkg/service/main.go:20:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.66), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2021-01-04T06:10:49.794Z] make: *** [Makefile:32: test] Error 1 [2021-01-04T06:10:50.690Z] $ docker rm -f 428c1715e544faceaf4361dfdf10367452e60429d08286bbd53f6f347c659f49 [Pipeline] // withDockerContainer [Pipeline] } [2021-01-04T06:10:50.850Z] $ docker stop --time=1 5ca5fc217b1827e665ed8e3609fd125263ea3aa7e6fa150afe811df1c020c413 [2021-01-04T06:10:52.880Z] $ docker rm -f 5ca5fc217b1827e665ed8e3609fd125263ea3aa7e6fa150afe811df1c020c413 [Pipeline] } [Pipeline] // withDockerContainer [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // withEnv [Pipeline] } Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T06:10:54.953Z] Failed in branch arm64 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T06:10:55.372Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:10:58.335Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:10:58.929Z] ---> package-listing.sh [2021-01-04T06:10:58.929Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T06:10:58.929Z] ++ facter osfamily [2021-01-04T06:10:58.929Z] + OS_FAMILY=redhat [2021-01-04T06:10:58.929Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-701 [2021-01-04T06:10:58.929Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T06:10:58.929Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T06:10:58.929Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T06:10:58.929Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T06:10:58.929Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-701 ']' [2021-01-04T06:10:58.929Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T06:10:58.929Z] + case "${OS_FAMILY}" in [2021-01-04T06:10:58.929Z] + rpm -qa [2021-01-04T06:10:58.929Z] + sort [2021-01-04T06:11:03.181Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T06:11:03.181Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T06:11:03.181Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T06:11:03.181Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-701 ']' [2021-01-04T06:11:03.182Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-701/archives/ [2021-01-04T06:11:03.182Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-701/archives/ [Pipeline] echo [2021-01-04T06:11:03.199Z] 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-701/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-04T06:11:03.490Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:11:03.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:11:03.809Z] [2021-01-04T06:11:03.809Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:11:04.165Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:11:04.165Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T06:11:04.165Z] df20fa9351a1: Pulling fs layer [2021-01-04T06:11:04.166Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T06:11:04.166Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T06:11:04.166Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T06:11:04.166Z] 93b61091891f: Pulling fs layer [2021-01-04T06:11:04.166Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T06:11:04.166Z] 5e14af77c1be: Pulling fs layer [2021-01-04T06:11:04.166Z] 01666e4c0597: Pulling fs layer [2021-01-04T06:11:04.166Z] aa168da1d23b: Pulling fs layer [2021-01-04T06:11:04.166Z] 46f8f816bc3b: Waiting [2021-01-04T06:11:04.166Z] 93b61091891f: Waiting [2021-01-04T06:11:04.166Z] 93b9cdb0e59b: Waiting [2021-01-04T06:11:04.166Z] 5e14af77c1be: Waiting [2021-01-04T06:11:04.166Z] 01666e4c0597: Waiting [2021-01-04T06:11:04.166Z] aa168da1d23b: Waiting [2021-01-04T06:11:04.166Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T06:11:04.166Z] 36b3adc4ff6f: Download complete [2021-01-04T06:11:04.166Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T06:11:04.166Z] 46f8f816bc3b: Download complete [2021-01-04T06:11:04.433Z] 93b61091891f: Download complete [2021-01-04T06:11:04.433Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T06:11:04.433Z] 8ad3a11d3b57: Download complete [2021-01-04T06:11:04.433Z] 5e14af77c1be: Verifying Checksum [2021-01-04T06:11:04.433Z] 5e14af77c1be: Download complete [2021-01-04T06:11:04.433Z] df20fa9351a1: Verifying Checksum [2021-01-04T06:11:04.433Z] df20fa9351a1: Download complete [2021-01-04T06:11:04.433Z] 01666e4c0597: Verifying Checksum [2021-01-04T06:11:04.433Z] 01666e4c0597: Download complete [2021-01-04T06:11:04.698Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T06:11:04.698Z] 93b9cdb0e59b: Download complete [2021-01-04T06:11:04.973Z] df20fa9351a1: Pull complete [2021-01-04T06:11:05.242Z] 36b3adc4ff6f: Pull complete [2021-01-04T06:11:06.659Z] aa168da1d23b: Verifying Checksum [2021-01-04T06:11:06.659Z] aa168da1d23b: Download complete [2021-01-04T06:11:06.659Z] 8ad3a11d3b57: Pull complete [2021-01-04T06:11:06.923Z] 46f8f816bc3b: Pull complete [2021-01-04T06:11:07.508Z] 93b61091891f: Pull complete [2021-01-04T06:11:07.508Z] 93b9cdb0e59b: Pull complete [2021-01-04T06:11:07.773Z] 5e14af77c1be: Pull complete [2021-01-04T06:11:07.773Z] 01666e4c0597: Pull complete [2021-01-04T06:11:15.972Z] aa168da1d23b: Pull complete [2021-01-04T06:11:15.972Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T06:11:15.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:11:15.972Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T06:11:16.175Z] prd-centos7-docker-4c-2g-18095 does not seem to be running inside a container [2021-01-04T06:11:16.225Z] $ 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-701/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-701 -v /w/workspace/dgexfoundry_device-sdk-go_PR-701:/w/workspace/dgexfoundry_device-sdk-go_PR-701:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T06:11:19.097Z] $ docker top 1317acf5225b999e43d27d5fd9b5c7d91034a0da9bc4681417fdf34db8421c3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:11:19.600Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T06:11:19.902Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T06:11:20.206Z] + ls /var/log/sa-host [2021-01-04T06:11:20.206Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T06:11:20.206Z] file_magic: OK [2021-01-04T06:11:20.206Z] HZ: Using current value: 100 [2021-01-04T06:11:20.206Z] file_header: OK [2021-01-04T06:11:20.207Z] 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-01-04T06:11:20.207Z] Statistics: [2021-01-04T06:11:20.207Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T06:11:20.207Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T06:11:20.207Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T06:11:20.207Z] file_magic: OK [2021-01-04T06:11:20.207Z] HZ: Using current value: 100 [2021-01-04T06:11:20.207Z] file_header: OK [2021-01-04T06:11:20.207Z] 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-01-04T06:11:20.207Z] Statistics: [2021-01-04T06:11:20.207Z] Hnuu...uuuununununu... [2021-01-04T06:11:20.207Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T06:11:20.807Z] provisioning config files... [2021-01-04T06:11:20.826Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/config8132169752214058321tmp [Pipeline] { [Pipeline] echo [2021-01-04T06:11:20.909Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:11:21.211Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T06:11:21.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T06:11:21.316Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:11:21.613Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T06:11:21.624Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:11:21.924Z] ---> sudo-logs.sh [2021-01-04T06:11:21.924Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T06:11:21.936Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:11:22.236Z] ---> job-cost.sh [2021-01-04T06:11:22.236Z] lf-activate-venv: SKIPPING [2021-01-04T06:11:22.236Z] INFO: No Stack... [2021-01-04T06:11:23.630Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T06:11:24.205Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T06:11:24.223Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:11:24.548Z] ---> logs-deploy.sh [2021-01-04T06:11:24.548Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-701/5 [2021-01-04T06:11:24.548Z] INFO: archiving workspace using pattern(s): [2021-01-04T06:11:26.475Z] Archives upload complete. [2021-01-04T06:11:26.475Z] INFO: archiving logs to Nexus