Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f+372098887a6a7d5d9395bdaf9d03a023308f69fd (7454dcaa3f6a1449dc1abd1ed5b64320b9e88cb0) 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-18401 in /w/workspace/dgexfoundry_device-sdk-go_PR-712 [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-712 # 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/712/head:refs/remotes/origin/PR-712 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f Merge succeeded, producing 76c580df9471ca683d53ca9c97f7af12d2f63f67 Checking out Revision 76c580df9471ca683d53ca9c97f7af12d2f63f67 (PR-712) > git config core.sparsecheckout # timeout=10 > git checkout -f b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # 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 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76c580df9471ca683d53ca9c97f7af12d2f63f67 # timeout=10 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" > git rev-list --no-walk b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-05T02:42:12.129Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-05T02:42:12.489Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-05T02:42:12.645Z] ========================================================= [2021-01-05T02:42:12.645Z] EdgeX Global Pipelines Version Info [2021-01-05T02:42:12.645Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:42:14.194Z] ------------------- [2021-01-05T02:42:14.194Z] stable info: [2021-01-05T02:42:14.194Z] ------------------- [2021-01-05T02:42:14.194Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-05T02:42:14.194Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-05T02:42:14.194Z] Message: update stable to v1.0.173 [2021-01-05T02:42:15.150Z] ------------------- [2021-01-05T02:42:15.150Z] experimental info: [2021-01-05T02:42:15.151Z] ------------------- [2021-01-05T02:42:15.151Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-05T02:42:15.151Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-05T02:42:15.151Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-05T02:42:15.522Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-05T02:42:15.626Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-05T02:42:15.742Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-05T02:42:15.838Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-05T02:42:15.936Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-05T02:42:16.031Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-05T02:42:16.128Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-05T02:42:16.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-05T02:42:16.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-05T02:42:16.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-05T02:42:16.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-05T02:42:16.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-05T02:42:16.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-05T02:42:16.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-05T02:42:16.959Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-05T02:42:17.072Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-05T02:42:17.196Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-05T02:42:17.295Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-05T02:42:17.386Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-05T02:42:17.485Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-05T02:42:17.575Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-05T02:42:17.715Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-05T02:42:17.799Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-05T02:42:17.883Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-05T02:42:17.988Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-05T02:42:18.074Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-05T02:42:18.161Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-05T02:42:18.246Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-712 [Pipeline] echo [2021-01-05T02:42:18.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-712 [Pipeline] echo [2021-01-05T02:42:18.458Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-712 [Pipeline] echo [2021-01-05T02:42:18.540Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76c580df9471ca683d53ca9c97f7af12d2f63f67 [Pipeline] echo [2021-01-05T02:42:18.656Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76c580d [Pipeline] echo [2021-01-05T02:42:18.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-05T02:42:18.947Z] provisioning config files... [2021-01-05T02:42:18.977Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/config139309113079505439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:42:19.353Z] ---> docker-login.sh [2021-01-05T02:42:19.353Z] nexus3.edgexfoundry.org:10001 [2021-01-05T02:42:19.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:42:19.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:42:19.613Z] Configure a credential helper to remove this warning. See [2021-01-05T02:42:19.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:42:19.613Z] [2021-01-05T02:42:19.613Z] Login Succeeded [2021-01-05T02:42:19.875Z] nexus3.edgexfoundry.org:10002 [2021-01-05T02:42:19.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:42:19.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:42:19.875Z] Configure a credential helper to remove this warning. See [2021-01-05T02:42:19.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:42:19.875Z] [2021-01-05T02:42:19.875Z] Login Succeeded [2021-01-05T02:42:19.875Z] nexus3.edgexfoundry.org:10003 [2021-01-05T02:42:20.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:42:20.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:42:20.138Z] Configure a credential helper to remove this warning. See [2021-01-05T02:42:20.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:42:20.138Z] [2021-01-05T02:42:20.138Z] Login Succeeded [2021-01-05T02:42:20.138Z] nexus3.edgexfoundry.org:10004 [2021-01-05T02:42:20.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:42:20.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:42:20.401Z] Configure a credential helper to remove this warning. See [2021-01-05T02:42:20.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:42:20.401Z] [2021-01-05T02:42:20.401Z] Login Succeeded [2021-01-05T02:42:20.401Z] docker.io [2021-01-05T02:42:20.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:42:20.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:42:20.663Z] Configure a credential helper to remove this warning. See [2021-01-05T02:42:20.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:42:20.663Z] [2021-01-05T02:42:20.663Z] Login Succeeded [2021-01-05T02:42:20.663Z] ---> docker-login.sh ends [Pipeline] } [2021-01-05T02:42:20.673Z] 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-05T02:42:21.546Z] + git log --format=format:%s -1 76c580df9471ca683d53ca9c97f7af12d2f63f67 [Pipeline] echo [2021-01-05T02:42:21.612Z] GIT_COMMIT: 76c580df9471ca683d53ca9c97f7af12d2f63f67, Commit Message: Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD [Pipeline] echo [2021-01-05T02:42:21.656Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:42:22.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-05T02:42:22.243Z] [2021-01-05T02:42:22.243Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:42:22.592Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-05T02:42:22.592Z] latest: Pulling from edgex-devops/git-semver [2021-01-05T02:42:22.592Z] 31603596830f: Pulling fs layer [2021-01-05T02:42:22.592Z] 2a8b12db71e7: Pulling fs layer [2021-01-05T02:42:22.592Z] 6ca5941a6612: Pulling fs layer [2021-01-05T02:42:22.592Z] ecc8261a40a4: Pulling fs layer [2021-01-05T02:42:22.592Z] ecc8261a40a4: Waiting [2021-01-05T02:42:22.592Z] 2a8b12db71e7: Verifying Checksum [2021-01-05T02:42:22.592Z] 2a8b12db71e7: Download complete [2021-01-05T02:42:22.592Z] 31603596830f: Verifying Checksum [2021-01-05T02:42:22.592Z] 31603596830f: Download complete [2021-01-05T02:42:22.860Z] 6ca5941a6612: Verifying Checksum [2021-01-05T02:42:22.860Z] 6ca5941a6612: Download complete [2021-01-05T02:42:22.860Z] ecc8261a40a4: Verifying Checksum [2021-01-05T02:42:22.860Z] ecc8261a40a4: Download complete [2021-01-05T02:42:23.136Z] 31603596830f: Pull complete [2021-01-05T02:42:23.136Z] 2a8b12db71e7: Pull complete [2021-01-05T02:42:24.096Z] 6ca5941a6612: Pull complete [2021-01-05T02:42:24.097Z] ecc8261a40a4: Pull complete [2021-01-05T02:42:24.359Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-05T02:42:24.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-05T02:42:24.359Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-05T02:42:24.460Z] prd-centos7-docker-4c-2g-18401 does not seem to be running inside a container [2021-01-05T02:42:24.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-712 -v /w/workspace/dgexfoundry_device-sdk-go_PR-712:/w/workspace/dgexfoundry_device-sdk-go_PR-712:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-712@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-05T02:42:26.588Z] $ docker top 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-05T02:42:26.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-05T02:42:26.898Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-05T02:42:27.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-05T02:42:27.130Z] $ docker exec 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db ssh-agent [2021-01-05T02:42:27.291Z] SSH_AUTH_SOCK=/tmp/ssh-3o5PV2A0wUTc/agent.13 [2021-01-05T02:42:27.291Z] SSH_AGENT_PID=18 [2021-01-05T02:42:27.301Z] Running ssh-add (command line suppressed) [2021-01-05T02:42:27.421Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/private_key_7331548588972455617.key (/w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/private_key_7331548588972455617.key) [2021-01-05T02:42:27.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-05T02:42:27.807Z] + git tag --points-at HEAD [Pipeline] } [2021-01-05T02:42:27.829Z] $ docker exec --env ******** --env ******** 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db ssh-agent -k [2021-01-05T02:42:27.947Z] unset SSH_AUTH_SOCK; [2021-01-05T02:42:27.947Z] unset SSH_AGENT_PID; [2021-01-05T02:42:27.947Z] echo Agent pid 18 killed; [2021-01-05T02:42:27.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-05T02:42:28.164Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-05T02:42:28.164Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-05T02:42:28.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-05T02:42:28.330Z] $ docker exec 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db ssh-agent [2021-01-05T02:42:28.484Z] SSH_AUTH_SOCK=/tmp/ssh-yXRRrt1F5gfa/agent.48 [2021-01-05T02:42:28.484Z] SSH_AGENT_PID=53 [2021-01-05T02:42:28.491Z] Running ssh-add (command line suppressed) [2021-01-05T02:42:28.608Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/private_key_750075034128181054.key (/w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/private_key_750075034128181054.key) [2021-01-05T02:42:28.658Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-05T02:42:28.986Z] + git semver init [2021-01-05T02:42:28.987Z] # -> Open(): unable to determine branch for HEAD [2021-01-05T02:42:28.987Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-712/.git [2021-01-05T02:42:28.987Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-712 [2021-01-05T02:42:28.987Z] # $SEMVER_REMOTE_NAME = origin [2021-01-05T02:42:28.987Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-05T02:42:28.987Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-05T02:42:28.987Z] # $SEMVER_BRANCH = PR-712 [2021-01-05T02:42:28.987Z] # $SEMVER_TEMP = /tmp/semver-122021211 [2021-01-05T02:42:28.987Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-05T02:42:29.561Z] # '/tmp/semver-122021211' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-712/.semver' [2021-01-05T02:42:29.561Z] # -> Force: false [2021-01-05T02:42:29.561Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-712/.semver [Pipeline] } [2021-01-05T02:42:29.574Z] $ docker exec --env ******** --env ******** 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db ssh-agent -k [2021-01-05T02:42:29.683Z] unset SSH_AUTH_SOCK; [2021-01-05T02:42:29.684Z] unset SSH_AGENT_PID; [2021-01-05T02:42:29.685Z] echo Agent pid 53 killed; [2021-01-05T02:42:29.727Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-05T02:42:30.174Z] + git semver [Pipeline] } [2021-01-05T02:42:30.191Z] $ docker stop --time=1 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db [2021-01-05T02:42:31.677Z] $ docker rm -f 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-05T02:42:32.151Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-05T02:42:32.550Z] Stashed 1 file(s) [Pipeline] echo [2021-01-05T02:42:32.554Z] [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-05T02:42:48.243Z] Still waiting to schedule task [2021-01-05T02:42:48.243Z] Executor slot already in use; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18404’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-05T02:42:48.245Z] Still waiting to schedule task [2021-01-05T02:42:48.245Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-05T02:43:47.145Z] Running on prd-centos7-docker-4c-2g-18407 in /w/workspace/dgexfoundry_device-sdk-go_PR-712 [Pipeline] { [Pipeline] ws [2021-01-05T02:43:47.206Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-05T02:43:49.633Z] using credential edgex-jenkins-ssh [2021-01-05T02:43:49.695Z] Cloning the remote Git repository [2021-01-05T02:43:49.620Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:43:49.708Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-05T02:43:49.780Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:43:49.780Z] > git --version # timeout=10 [2021-01-05T02:43:49.789Z] > git --version # 'git version 2.24.3' [2021-01-05T02:43:49.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:43:49.845Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T02:43:51.177Z] Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f [2021-01-05T02:43:51.344Z] Merge succeeded, producing 215f2925f2d83b3ee28b38c41e51f70cb7fcbc72 [2021-01-05T02:43:51.344Z] Checking out Revision 215f2925f2d83b3ee28b38c41e51f70cb7fcbc72 (PR-712) [2021-01-05T02:43:50.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T02:43:50.681Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T02:43:50.706Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T02:43:50.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:43:50.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:43:50.748Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/712/head:refs/remotes/origin/PR-712 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-05T02:43:51.187Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T02:43:51.193Z] > git checkout -f b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # timeout=10 [2021-01-05T02:43:51.254Z] > git remote # timeout=10 [2021-01-05T02:43:51.267Z] > git config --get remote.origin.url # timeout=10 [2021-01-05T02:43:51.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:43:51.290Z] > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [2021-01-05T02:43:51.331Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-05T02:43:51.348Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T02:43:51.360Z] > git checkout -f 215f2925f2d83b3ee28b38c41e51f70cb7fcbc72 # timeout=10 [2021-01-05T02:43:55.070Z] Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" [2021-01-05T02:43:55.075Z] > git rev-list --no-walk b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-05T02:43:56.233Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-05T02:43:56.563Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-05T02:43:56.864Z] + sudo service docker restart [2021-01-05T02:43:56.864Z] + true [2021-01-05T02:43:56.864Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-05T02:43:57.882Z] provisioning config files... [2021-01-05T02:43:57.910Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7778340850475003855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:43:58.282Z] ---> docker-login.sh [2021-01-05T02:43:58.282Z] nexus3.edgexfoundry.org:10001 [2021-01-05T02:43:58.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:43:58.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:43:58.808Z] Configure a credential helper to remove this warning. See [2021-01-05T02:43:58.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:43:58.808Z] [2021-01-05T02:43:58.808Z] Login Succeeded [2021-01-05T02:43:58.808Z] nexus3.edgexfoundry.org:10002 [2021-01-05T02:43:58.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:43:58.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:43:58.808Z] Configure a credential helper to remove this warning. See [2021-01-05T02:43:58.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:43:58.808Z] [2021-01-05T02:43:58.808Z] Login Succeeded [2021-01-05T02:43:58.808Z] nexus3.edgexfoundry.org:10003 [2021-01-05T02:43:59.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:43:59.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:43:59.070Z] Configure a credential helper to remove this warning. See [2021-01-05T02:43:59.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:43:59.070Z] [2021-01-05T02:43:59.070Z] Login Succeeded [2021-01-05T02:43:59.070Z] nexus3.edgexfoundry.org:10004 [2021-01-05T02:43:59.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:43:59.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:43:59.333Z] Configure a credential helper to remove this warning. See [2021-01-05T02:43:59.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:43:59.333Z] [2021-01-05T02:43:59.333Z] Login Succeeded [2021-01-05T02:43:59.333Z] docker.io [2021-01-05T02:43:59.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:43:59.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:43:59.596Z] Configure a credential helper to remove this warning. See [2021-01-05T02:43:59.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:43:59.596Z] [2021-01-05T02:43:59.596Z] Login Succeeded [2021-01-05T02:43:59.596Z] ---> docker-login.sh ends [Pipeline] } [2021-01-05T02:43:59.607Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-05T02:44:00.069Z] ========================================================= [2021-01-05T02:44:00.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-05T02:44:00.069Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:44:00.461Z] + 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-05T02:44:00.461Z] Sending build context to Docker daemon 2.433MB [2021-01-05T02:44:00.726Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-05T02:44:00.726Z] Step 2/8 : FROM ${BASE} [2021-01-05T02:44:00.726Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-05T02:44:00.726Z] 188c0c94c7c5: Pulling fs layer [2021-01-05T02:44:00.726Z] 0ef7d3d256c8: Pulling fs layer [2021-01-05T02:44:00.726Z] de9db76c5a1d: Pulling fs layer [2021-01-05T02:44:00.726Z] bca2f99d35d6: Pulling fs layer [2021-01-05T02:44:00.726Z] 93359f2a8cfa: Pulling fs layer [2021-01-05T02:44:00.726Z] 7c6f9722023f: Pulling fs layer [2021-01-05T02:44:00.726Z] a35cf1a2eb13: Pulling fs layer [2021-01-05T02:44:00.726Z] bca2f99d35d6: Waiting [2021-01-05T02:44:00.726Z] 93359f2a8cfa: Waiting [2021-01-05T02:44:00.726Z] 7c6f9722023f: Waiting [2021-01-05T02:44:00.726Z] a35cf1a2eb13: Waiting [2021-01-05T02:44:00.726Z] de9db76c5a1d: Verifying Checksum [2021-01-05T02:44:00.726Z] de9db76c5a1d: Download complete [2021-01-05T02:44:00.726Z] 0ef7d3d256c8: Verifying Checksum [2021-01-05T02:44:00.726Z] 0ef7d3d256c8: Download complete [2021-01-05T02:44:00.726Z] 93359f2a8cfa: Download complete [2021-01-05T02:44:00.726Z] 188c0c94c7c5: Verifying Checksum [2021-01-05T02:44:00.726Z] 188c0c94c7c5: Download complete [2021-01-05T02:44:00.726Z] 7c6f9722023f: Verifying Checksum [2021-01-05T02:44:00.726Z] 7c6f9722023f: Download complete [2021-01-05T02:44:00.992Z] 188c0c94c7c5: Pull complete [2021-01-05T02:44:01.255Z] 0ef7d3d256c8: Pull complete [2021-01-05T02:44:01.255Z] de9db76c5a1d: Pull complete [2021-01-05T02:44:02.658Z] a35cf1a2eb13: Verifying Checksum [2021-01-05T02:44:02.658Z] a35cf1a2eb13: Download complete [2021-01-05T02:44:03.233Z] bca2f99d35d6: Download complete [2021-01-05T02:44:08.577Z] bca2f99d35d6: Pull complete [2021-01-05T02:44:08.577Z] 93359f2a8cfa: Pull complete [2021-01-05T02:44:08.847Z] 7c6f9722023f: Pull complete [2021-01-05T02:44:15.485Z] a35cf1a2eb13: Pull complete [2021-01-05T02:44:15.486Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-05T02:44:15.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-05T02:44:15.486Z] ---> a62c8e92a672 [2021-01-05T02:44:15.486Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T02:44:15.769Z] ---> Running in 3bd661d6db19 [2021-01-05T02:44:16.033Z] Removing intermediate container 3bd661d6db19 [2021-01-05T02:44:16.033Z] ---> 1be6ad1ccb1e [2021-01-05T02:44:16.033Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-05T02:44:16.296Z] ---> Running in 7e2fb9cb1074 [2021-01-05T02:44:17.256Z] Removing intermediate container 7e2fb9cb1074 [2021-01-05T02:44:17.256Z] ---> 8b61d7efcab5 [2021-01-05T02:44:17.256Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-05T02:44:17.256Z] ---> Running in 6aa9fa84c38d [2021-01-05T02:44:17.834Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-05T02:44:18.782Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-05T02:44:19.732Z] OK: 166 MiB in 39 packages [2021-01-05T02:44:19.994Z] Removing intermediate container 6aa9fa84c38d [2021-01-05T02:44:19.994Z] ---> f9be4c41a03a [2021-01-05T02:44:19.994Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-05T02:44:20.258Z] ---> Running in bc62184f9a17 [2021-01-05T02:44:20.258Z] Removing intermediate container bc62184f9a17 [2021-01-05T02:44:20.258Z] ---> 4360efc13bd6 [2021-01-05T02:44:20.258Z] Step 7/8 : COPY . . [2021-01-05T02:44:21.655Z] ---> 4dff712a9920 [2021-01-05T02:44:21.655Z] Step 8/8 : RUN go mod download [2021-01-05T02:44:21.655Z] ---> Running in 69d5446fa738 [2021-01-05T02:44:39.832Z] Removing intermediate container 69d5446fa738 [2021-01-05T02:44:39.832Z] ---> 2ddb6bb6f792 [2021-01-05T02:44:39.832Z] Successfully built 2ddb6bb6f792 [2021-01-05T02:44:39.832Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:44:40.148Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-05T02:44:40.148Z] . [Pipeline] withDockerContainer [2021-01-05T02:44:40.259Z] prd-centos7-docker-4c-2g-18407 does not seem to be running inside a container [2021-01-05T02:44:40.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-05T02:44:41.122Z] $ docker top 799f317048ae2866ce8a3cb9b4ad3fd2977b54bb16c38cf02cf0063dd48792ca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T02:44:41.641Z] + go version [2021-01-05T02:44:41.641Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-05T02:44:41.660Z] $ docker stop --time=1 799f317048ae2866ce8a3cb9b4ad3fd2977b54bb16c38cf02cf0063dd48792ca [2021-01-05T02:44:43.007Z] $ docker rm -f 799f317048ae2866ce8a3cb9b4ad3fd2977b54bb16c38cf02cf0063dd48792ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:44:43.813Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-05T02:44:43.813Z] . [Pipeline] withDockerContainer [2021-01-05T02:44:43.920Z] prd-centos7-docker-4c-2g-18407 does not seem to be running inside a container [2021-01-05T02:44:43.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-05T02:44:44.679Z] $ docker top 88cb69bcbdd72e5b5eb0be525c00d35e77f2e60c32ec71e65535ec3234e939a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T02:44:45.260Z] + make test [2021-01-05T02:44:45.260Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-05T02:44:53.478Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-05T02:45:03.635Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-05T02:45:03.636Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-05T02:45:03.636Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-05T02:45:03.636Z] have (string, bool, string, string) [2021-01-05T02:45:03.636Z] want (string, string) [2021-01-05T02:45:07.032Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2021-01-05T02:45:07.032Z] # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] [2021-01-05T02:45:07.032Z] internal/common/utils_test.go:110:8: undefined: logger.NewClientStdOut [2021-01-05T02:45:07.032Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2021-01-05T02:45:07.032Z] internal/cache/init_test.go:24:8: undefined: logger.NewClientStdOut [2021-01-05T02:45:07.032Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2021-01-05T02:45:07.032Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] [2021-01-05T02:45:07.032Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] [2021-01-05T02:45:07.032Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2021-01-05T02:45:07.306Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2021-01-05T02:45:07.306Z] internal/transformer/transformresult_test.go:23:7: undefined: logger.NewClientStdOut [2021-01-05T02:45:07.306Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2021-01-05T02:45:07.306Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2021-01-05T02:45:10.624Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.405s coverage: 68.9% of statements [2021-01-05T02:45:10.624Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2021-01-05T02:45:10.624Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-01-05T02:45:10.643Z] $ docker stop --time=1 88cb69bcbdd72e5b5eb0be525c00d35e77f2e60c32ec71e65535ec3234e939a5 [2021-01-05T02:45:12.737Z] $ docker rm -f 88cb69bcbdd72e5b5eb0be525c00d35e77f2e60c32ec71e65535ec3234e939a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-05T02:45:14.446Z] Failed in branch amd64 [2021-01-05T02:45:27.350Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18409 in /w/workspace/dgexfoundry_device-sdk-go_PR-712 [Pipeline] { [Pipeline] ws [2021-01-05T02:45:27.404Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-05T02:45:32.386Z] using credential edgex-jenkins-ssh [2021-01-05T02:45:32.441Z] Cloning the remote Git repository [2021-01-05T02:45:32.514Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:45:32.630Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-05T02:45:32.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:45:32.708Z] > git --version # timeout=10 [2021-01-05T02:45:32.729Z] > git --version # 'git version 2.17.1' [2021-01-05T02:45:32.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:45:32.813Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T02:45:35.054Z] Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f [2021-01-05T02:45:34.418Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T02:45:34.443Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-05T02:45:34.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-05T02:45:34.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-05T02:45:34.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:45:34.531Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/712/head:refs/remotes/origin/PR-712 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-05T02:45:35.080Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T02:45:35.102Z] > git checkout -f b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # timeout=10 [2021-01-05T02:45:35.384Z] Merge succeeded, producing 1472786d9de8eb2f2e0e100fde0b8ada0ac102b1 [2021-01-05T02:45:35.385Z] Checking out Revision 1472786d9de8eb2f2e0e100fde0b8ada0ac102b1 (PR-712) [2021-01-05T02:45:35.229Z] > git remote # timeout=10 [2021-01-05T02:45:35.246Z] > git config --get remote.origin.url # timeout=10 [2021-01-05T02:45:35.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-05T02:45:35.270Z] > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [2021-01-05T02:45:35.371Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-05T02:45:35.394Z] > git config core.sparsecheckout # timeout=10 [2021-01-05T02:45:35.409Z] > git checkout -f 1472786d9de8eb2f2e0e100fde0b8ada0ac102b1 # timeout=10 [2021-01-05T02:45:39.864Z] Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" [2021-01-05T02:45:39.873Z] > git rev-list --no-walk b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-05T02:45:41.651Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-05T02:45:42.116Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-05T02:45:42.474Z] + + sudo servicetrue docker [2021-01-05T02:45:42.474Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-05T02:45:45.207Z] provisioning config files... [2021-01-05T02:45:45.262Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config295728442035260663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:45:45.695Z] ---> docker-login.sh [2021-01-05T02:45:45.695Z] nexus3.edgexfoundry.org:10001 [2021-01-05T02:45:46.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:45:46.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:45:46.961Z] Configure a credential helper to remove this warning. See [2021-01-05T02:45:46.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:45:46.961Z] [2021-01-05T02:45:46.961Z] Login Succeeded [2021-01-05T02:45:46.961Z] nexus3.edgexfoundry.org:10002 [2021-01-05T02:45:47.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:45:47.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:45:47.561Z] Configure a credential helper to remove this warning. See [2021-01-05T02:45:47.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:45:47.561Z] [2021-01-05T02:45:47.561Z] Login Succeeded [2021-01-05T02:45:47.561Z] nexus3.edgexfoundry.org:10003 [2021-01-05T02:45:47.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:45:48.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:45:48.115Z] Configure a credential helper to remove this warning. See [2021-01-05T02:45:48.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:45:48.115Z] [2021-01-05T02:45:48.115Z] Login Succeeded [2021-01-05T02:45:48.115Z] nexus3.edgexfoundry.org:10004 [2021-01-05T02:45:48.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:45:48.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:45:48.722Z] Configure a credential helper to remove this warning. See [2021-01-05T02:45:48.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:45:48.722Z] [2021-01-05T02:45:48.722Z] Login Succeeded [2021-01-05T02:45:48.722Z] docker.io [2021-01-05T02:45:49.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-05T02:45:49.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-05T02:45:49.604Z] Configure a credential helper to remove this warning. See [2021-01-05T02:45:49.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-05T02:45:49.604Z] [2021-01-05T02:45:49.604Z] Login Succeeded [2021-01-05T02:45:49.604Z] ---> docker-login.sh ends [Pipeline] } [2021-01-05T02:45:49.621Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-05T02:45:50.088Z] ========================================================= [2021-01-05T02:45:50.088Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-05T02:45:50.089Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:45:50.580Z] + 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-05T02:45:51.201Z] Sending build context to Docker daemon 2.433MB [2021-01-05T02:45:51.201Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-05T02:45:51.201Z] Step 2/8 : FROM ${BASE} [2021-01-05T02:45:51.201Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-05T02:45:51.201Z] 5f621e34cdf4: Pulling fs layer [2021-01-05T02:45:51.201Z] a4357932f1b6: Pulling fs layer [2021-01-05T02:45:51.201Z] 18c013af1878: Pulling fs layer [2021-01-05T02:45:51.201Z] 00ac8860ef70: Pulling fs layer [2021-01-05T02:45:51.201Z] 63d7cb157983: Pulling fs layer [2021-01-05T02:45:51.201Z] b116817d02f9: Pulling fs layer [2021-01-05T02:45:51.201Z] 745a02a5169b: Pulling fs layer [2021-01-05T02:45:51.201Z] 00ac8860ef70: Waiting [2021-01-05T02:45:51.201Z] b116817d02f9: Waiting [2021-01-05T02:45:51.201Z] 63d7cb157983: Waiting [2021-01-05T02:45:51.201Z] 745a02a5169b: Waiting [2021-01-05T02:45:51.201Z] 18c013af1878: Verifying Checksum [2021-01-05T02:45:51.201Z] 18c013af1878: Download complete [2021-01-05T02:45:51.201Z] a4357932f1b6: Verifying Checksum [2021-01-05T02:45:51.201Z] a4357932f1b6: Download complete [2021-01-05T02:45:51.201Z] 63d7cb157983: Verifying Checksum [2021-01-05T02:45:51.201Z] 63d7cb157983: Download complete [2021-01-05T02:45:51.201Z] b116817d02f9: Download complete [2021-01-05T02:45:51.479Z] 5f621e34cdf4: Download complete [2021-01-05T02:45:52.489Z] 5f621e34cdf4: Pull complete [2021-01-05T02:45:52.766Z] a4357932f1b6: Pull complete [2021-01-05T02:45:53.370Z] 18c013af1878: Pull complete [2021-01-05T02:45:53.973Z] 745a02a5169b: Verifying Checksum [2021-01-05T02:45:53.973Z] 745a02a5169b: Download complete [2021-01-05T02:45:55.403Z] 00ac8860ef70: Verifying Checksum [2021-01-05T02:45:55.403Z] 00ac8860ef70: Download complete [2021-01-05T02:46:05.544Z] 00ac8860ef70: Pull complete [2021-01-05T02:46:05.544Z] 63d7cb157983: Pull complete [2021-01-05T02:46:05.544Z] b116817d02f9: Pull complete [2021-01-05T02:46:08.964Z] 745a02a5169b: Pull complete [2021-01-05T02:46:08.964Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-05T02:46:08.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-05T02:46:08.964Z] ---> b7e6874047d6 [2021-01-05T02:46:08.964Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-05T02:46:12.353Z] ---> Running in 24aa4154ae3f [2021-01-05T02:46:12.353Z] Removing intermediate container 24aa4154ae3f [2021-01-05T02:46:12.353Z] ---> 105995e16e6a [2021-01-05T02:46:12.353Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-05T02:46:12.353Z] ---> Running in 4706f5e5c88d [2021-01-05T02:46:14.983Z] Removing intermediate container 4706f5e5c88d [2021-01-05T02:46:14.983Z] ---> e7b46019b47f [2021-01-05T02:46:14.983Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-05T02:46:14.983Z] ---> Running in cc187d851c37 [2021-01-05T02:46:15.962Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-05T02:46:16.938Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-05T02:46:17.915Z] OK: 142 MiB in 39 packages [2021-01-05T02:46:19.377Z] Removing intermediate container cc187d851c37 [2021-01-05T02:46:19.377Z] ---> 722dd6142c54 [2021-01-05T02:46:19.377Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-05T02:46:19.377Z] ---> Running in bc4b5d52aa49 [2021-01-05T02:46:19.974Z] Removing intermediate container bc4b5d52aa49 [2021-01-05T02:46:19.974Z] ---> a5582e31d089 [2021-01-05T02:46:19.974Z] Step 7/8 : COPY . . [2021-01-05T02:46:21.418Z] ---> 931241cb8646 [2021-01-05T02:46:21.418Z] Step 8/8 : RUN go mod download [2021-01-05T02:46:21.694Z] ---> Running in 55109343fc6c [2021-01-05T02:46:43.887Z] Removing intermediate container 55109343fc6c [2021-01-05T02:46:43.887Z] ---> 1019d3e63b90 [2021-01-05T02:46:43.887Z] Successfully built 1019d3e63b90 [2021-01-05T02:46:43.887Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:46:44.264Z] + docker inspect -f . ci-base-image-arm64 [2021-01-05T02:46:44.264Z] . [Pipeline] withDockerContainer [2021-01-05T02:46:44.585Z] prd-ubuntu18.04-docker-arm64-4c-16g-18409 does not seem to be running inside a container [2021-01-05T02:46:44.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-05T02:46:46.178Z] $ docker top 6f1c939cda9608bfd3074fd3078023a087af13516cf72bda374fc9994d179170 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T02:46:47.184Z] + go version [2021-01-05T02:46:47.184Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-05T02:46:47.214Z] $ docker stop --time=1 6f1c939cda9608bfd3074fd3078023a087af13516cf72bda374fc9994d179170 [2021-01-05T02:46:49.120Z] $ docker rm -f 6f1c939cda9608bfd3074fd3078023a087af13516cf72bda374fc9994d179170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:46:50.338Z] + docker inspect -f . ci-base-image-arm64 [2021-01-05T02:46:50.338Z] . [Pipeline] withDockerContainer [2021-01-05T02:46:50.570Z] prd-ubuntu18.04-docker-arm64-4c-16g-18409 does not seem to be running inside a container [2021-01-05T02:46:50.654Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-05T02:46:52.000Z] $ docker top 95aecd35544b8d4ecc933e0d18b6d93373d6bb6dd81f1e0e392a1f9d14194d29 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T02:46:52.980Z] + make test [2021-01-05T02:46:52.980Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-05T02:47:15.190Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-05T02:47:47.657Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-05T02:47:47.657Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-05T02:47:47.657Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-05T02:47:47.657Z] have (string, bool, string, string) [2021-01-05T02:47:47.657Z] want (string, string) [2021-01-05T02:47:53.076Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2021-01-05T02:47:53.076Z] # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] [2021-01-05T02:47:53.076Z] internal/common/utils_test.go:110:8: undefined: logger.NewClientStdOut [2021-01-05T02:47:54.103Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2021-01-05T02:47:54.103Z] internal/cache/init_test.go:24:8: undefined: logger.NewClientStdOut [2021-01-05T02:47:54.380Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2021-01-05T02:47:54.380Z] internal/transformer/transformresult_test.go:23:7: undefined: logger.NewClientStdOut [2021-01-05T02:47:54.663Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2021-01-05T02:47:54.663Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] [2021-01-05T02:47:54.663Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] [2021-01-05T02:47:54.663Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2021-01-05T02:47:55.270Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2021-01-05T02:47:55.270Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2021-01-05T02:48:01.961Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.644s coverage: 68.9% of statements [2021-01-05T02:48:01.961Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2021-01-05T02:48:01.961Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-01-05T02:48:02.046Z] $ docker stop --time=1 95aecd35544b8d4ecc933e0d18b6d93373d6bb6dd81f1e0e392a1f9d14194d29 [2021-01-05T02:48:04.279Z] $ docker rm -f 95aecd35544b8d4ecc933e0d18b6d93373d6bb6dd81f1e0e392a1f9d14194d29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-05T02:48:06.152Z] Failed in branch arm64 [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-05T02:48:08.818Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:48:09.129Z] ---> package-listing.sh [2021-01-05T02:48:09.129Z] ++ facter osfamily [2021-01-05T02:48:09.129Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-05T02:48:09.129Z] + OS_FAMILY=redhat [2021-01-05T02:48:09.129Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-712 [2021-01-05T02:48:09.129Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-05T02:48:09.129Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-05T02:48:09.129Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-05T02:48:09.129Z] + PACKAGES=/tmp/packages_start.txt [2021-01-05T02:48:09.129Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-712 ']' [2021-01-05T02:48:09.129Z] + PACKAGES=/tmp/packages_end.txt [2021-01-05T02:48:09.129Z] + case "${OS_FAMILY}" in [2021-01-05T02:48:09.129Z] + rpm -qa [2021-01-05T02:48:09.129Z] + sort [2021-01-05T02:48:14.443Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-05T02:48:14.443Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-05T02:48:14.443Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-05T02:48:14.443Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-712 ']' [2021-01-05T02:48:14.443Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-712/archives/ [2021-01-05T02:48:14.443Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-712/archives/ [Pipeline] echo [2021-01-05T02:48:14.458Z] 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-712/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-05T02:48:14.752Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:48:15.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-05T02:48:15.063Z] [2021-01-05T02:48:15.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-05T02:48:15.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-05T02:48:15.410Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-05T02:48:15.410Z] df20fa9351a1: Pulling fs layer [2021-01-05T02:48:15.410Z] 36b3adc4ff6f: Pulling fs layer [2021-01-05T02:48:15.410Z] 8ad3a11d3b57: Pulling fs layer [2021-01-05T02:48:15.410Z] 46f8f816bc3b: Pulling fs layer [2021-01-05T02:48:15.410Z] 93b61091891f: Pulling fs layer [2021-01-05T02:48:15.410Z] 93b9cdb0e59b: Pulling fs layer [2021-01-05T02:48:15.410Z] 5e14af77c1be: Pulling fs layer [2021-01-05T02:48:15.410Z] 01666e4c0597: Pulling fs layer [2021-01-05T02:48:15.410Z] aa168da1d23b: Pulling fs layer [2021-01-05T02:48:15.410Z] 93b9cdb0e59b: Waiting [2021-01-05T02:48:15.410Z] 5e14af77c1be: Waiting [2021-01-05T02:48:15.410Z] 01666e4c0597: Waiting [2021-01-05T02:48:15.410Z] aa168da1d23b: Waiting [2021-01-05T02:48:15.410Z] 46f8f816bc3b: Waiting [2021-01-05T02:48:15.410Z] 93b61091891f: Waiting [2021-01-05T02:48:15.410Z] 36b3adc4ff6f: Verifying Checksum [2021-01-05T02:48:15.410Z] 36b3adc4ff6f: Download complete [2021-01-05T02:48:15.410Z] 46f8f816bc3b: Verifying Checksum [2021-01-05T02:48:15.410Z] 46f8f816bc3b: Download complete [2021-01-05T02:48:15.410Z] df20fa9351a1: Download complete [2021-01-05T02:48:15.410Z] 93b9cdb0e59b: Verifying Checksum [2021-01-05T02:48:15.410Z] 93b9cdb0e59b: Download complete [2021-01-05T02:48:15.680Z] 5e14af77c1be: Download complete [2021-01-05T02:48:15.680Z] 93b61091891f: Verifying Checksum [2021-01-05T02:48:15.680Z] 93b61091891f: Download complete [2021-01-05T02:48:15.680Z] 01666e4c0597: Verifying Checksum [2021-01-05T02:48:15.680Z] 01666e4c0597: Download complete [2021-01-05T02:48:15.680Z] 8ad3a11d3b57: Verifying Checksum [2021-01-05T02:48:15.680Z] 8ad3a11d3b57: Download complete [2021-01-05T02:48:15.943Z] df20fa9351a1: Pull complete [2021-01-05T02:48:16.210Z] 36b3adc4ff6f: Pull complete [2021-01-05T02:48:16.789Z] 8ad3a11d3b57: Pull complete [2021-01-05T02:48:17.059Z] 46f8f816bc3b: Pull complete [2021-01-05T02:48:17.645Z] 93b61091891f: Pull complete [2021-01-05T02:48:17.645Z] 93b9cdb0e59b: Pull complete [2021-01-05T02:48:17.910Z] aa168da1d23b: Verifying Checksum [2021-01-05T02:48:17.910Z] aa168da1d23b: Download complete [2021-01-05T02:48:18.174Z] 5e14af77c1be: Pull complete [2021-01-05T02:48:18.439Z] 01666e4c0597: Pull complete [2021-01-05T02:48:25.063Z] aa168da1d23b: Pull complete [2021-01-05T02:48:25.063Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-05T02:48:25.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-05T02:48:25.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-05T02:48:25.204Z] prd-centos7-docker-4c-2g-18401 does not seem to be running inside a container [2021-01-05T02:48:25.254Z] $ 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-712/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-712 -v /w/workspace/dgexfoundry_device-sdk-go_PR-712:/w/workspace/dgexfoundry_device-sdk-go_PR-712:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-05T02:48:29.534Z] $ docker top 00f8f7c14afc9e7971859ce4334689de51051780a98eaa7ae9954624ff893324 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-05T02:48:30.126Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-05T02:48:30.430Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-05T02:48:30.728Z] + ls /var/log/sa-host [2021-01-05T02:48:30.729Z] + sadf -c /var/log/sa-host/sa05 [2021-01-05T02:48:30.729Z] file_magic: OK [2021-01-05T02:48:30.729Z] HZ: Using current value: 100 [2021-01-05T02:48:30.729Z] file_header: OK [2021-01-05T02:48:30.729Z] 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-05T02:48:30.729Z] Statistics: [2021-01-05T02:48:30.729Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-05T02:48:30.729Z] File successfully converted to sysstat format version 12.2.1 [2021-01-05T02:48:30.729Z] + sadf -c /var/log/sa-host/sa23 [2021-01-05T02:48:30.729Z] file_magic: OK [2021-01-05T02:48:30.729Z] HZ: Using current value: 100 [2021-01-05T02:48:30.729Z] file_header: OK [2021-01-05T02:48:30.729Z] 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-05T02:48:30.729Z] Statistics: [2021-01-05T02:48:30.729Z] Hnuu...uuuununununu... [2021-01-05T02:48:30.729Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-05T02:48:30.930Z] provisioning config files... [2021-01-05T02:48:30.945Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/config8952206715321661849tmp [Pipeline] { [Pipeline] echo [2021-01-05T02:48:31.024Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:48:31.324Z] ---> create-netrc.sh [Pipeline] } [2021-01-05T02:48:31.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-05T02:48:31.429Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:48:31.733Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-05T02:48:31.746Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:48:32.045Z] ---> sudo-logs.sh [2021-01-05T02:48:32.045Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-05T02:48:32.056Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:48:32.357Z] ---> job-cost.sh [2021-01-05T02:48:32.357Z] lf-activate-venv: SKIPPING [2021-01-05T02:48:32.357Z] INFO: No Stack... [2021-01-05T02:48:33.305Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-05T02:48:33.881Z] INFO: Archiving Costs [Pipeline] echo [2021-01-05T02:48:33.910Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-05T02:48:34.211Z] ---> logs-deploy.sh [2021-01-05T02:48:34.211Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-712/2 [2021-01-05T02:48:34.211Z] INFO: archiving workspace using pattern(s): [2021-01-05T02:48:36.194Z] Archives upload complete. [2021-01-05T02:48:36.194Z] INFO: archiving logs to Nexus