Pull request #922 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8+889e38f586d888c0021f1798e3d6b8462ec57b6f (6a5698268a655a7de61a7c62b79c310fe38c0d1f) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4532 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [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-922 # 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 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 Merge succeeded, producing 0734cdd67020a84f1ea440a79efb13ec8583638f Checking out Revision 0734cdd67020a84f1ea440a79efb13ec8583638f (PR-922) > 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/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 # 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 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0734cdd67020a84f1ea440a79efb13ec8583638f # timeout=10 Commit message: "Merge commit '889e38f586d888c0021f1798e3d6b8462ec57b6f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T17:25:40.468Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T17:25:40.573Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T17:25:40.604Z] ========================================================= [2021-05-11T17:25:40.604Z] EdgeX Global Pipelines Version Info [2021-05-11T17:25:40.604Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:25:42.135Z] ------------------- [2021-05-11T17:25:42.135Z] stable info: [2021-05-11T17:25:42.135Z] ------------------- [2021-05-11T17:25:42.135Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T17:25:42.135Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T17:25:42.135Z] Message: update stable to v1.0.192 [2021-05-11T17:25:43.081Z] ------------------- [2021-05-11T17:25:43.081Z] experimental info: [2021-05-11T17:25:43.081Z] ------------------- [2021-05-11T17:25:43.081Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T17:25:43.081Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T17:25:43.081Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T17:25:43.219Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-11T17:25:43.251Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-11T17:25:43.284Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T17:25:43.315Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T17:25:43.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T17:25:43.382Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T17:25:43.444Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T17:25:43.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T17:25:43.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-11T17:25:43.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T17:25:43.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T17:25:43.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-11T17:25:43.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T17:25:43.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T17:25:43.658Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T17:25:43.683Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:25:43.707Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:25:43.732Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:25:43.756Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T17:25:43.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T17:25:43.813Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-11T17:25:43.838Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-11T17:25:43.861Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T17:25:43.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T17:25:43.915Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T17:25:43.940Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T17:25:43.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-922 [Pipeline] echo [2021-05-11T17:25:43.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-922 [Pipeline] echo [2021-05-11T17:25:44.019Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-922 [Pipeline] echo [2021-05-11T17:25:44.044Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0734cdd67020a84f1ea440a79efb13ec8583638f [Pipeline] echo [2021-05-11T17:25:44.069Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0734cdd [Pipeline] echo [2021-05-11T17:25:44.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:25:44.167Z] provisioning config files... [2021-05-11T17:25:44.195Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config1654807116855586821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:25:44.520Z] ---> docker-login.sh [2021-05-11T17:25:44.520Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:25:44.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:25:45.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:25:45.049Z] Configure a credential helper to remove this warning. See [2021-05-11T17:25:45.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:25:45.049Z] [2021-05-11T17:25:45.049Z] Login Succeeded [2021-05-11T17:25:45.049Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:25:45.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:25:45.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:25:45.049Z] Configure a credential helper to remove this warning. See [2021-05-11T17:25:45.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:25:45.049Z] [2021-05-11T17:25:45.049Z] Login Succeeded [2021-05-11T17:25:45.049Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:25:45.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:25:45.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:25:45.311Z] Configure a credential helper to remove this warning. See [2021-05-11T17:25:45.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:25:45.311Z] [2021-05-11T17:25:45.311Z] Login Succeeded [2021-05-11T17:25:45.311Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:25:45.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:25:45.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:25:45.573Z] Configure a credential helper to remove this warning. See [2021-05-11T17:25:45.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:25:45.573Z] [2021-05-11T17:25:45.573Z] Login Succeeded [2021-05-11T17:25:45.573Z] docker.io [2021-05-11T17:25:45.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:25:45.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:25:45.837Z] Configure a credential helper to remove this warning. See [2021-05-11T17:25:45.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:25:45.837Z] [2021-05-11T17:25:45.837Z] Login Succeeded [2021-05-11T17:25:45.837Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:25:45.849Z] 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-05-11T17:25:46.312Z] + git log --format=format:%s -1 0734cdd67020a84f1ea440a79efb13ec8583638f [Pipeline] echo [2021-05-11T17:25:46.408Z] GIT_COMMIT: 0734cdd67020a84f1ea440a79efb13ec8583638f, Commit Message: Merge commit '889e38f586d888c0021f1798e3d6b8462ec57b6f' into HEAD [Pipeline] echo [2021-05-11T17:25:46.421Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:25:47.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:25:47.014Z] [2021-05-11T17:25:47.014Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:25:47.333Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:25:47.333Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T17:25:47.333Z] 31603596830f: Pulling fs layer [2021-05-11T17:25:47.333Z] 54011a49482f: Pulling fs layer [2021-05-11T17:25:47.333Z] a6820b24f6d8: Pulling fs layer [2021-05-11T17:25:47.333Z] f581987b2513: Pulling fs layer [2021-05-11T17:25:47.333Z] f581987b2513: Waiting [2021-05-11T17:25:47.333Z] 54011a49482f: Verifying Checksum [2021-05-11T17:25:47.333Z] 54011a49482f: Download complete [2021-05-11T17:25:47.333Z] 31603596830f: Verifying Checksum [2021-05-11T17:25:47.333Z] 31603596830f: Download complete [2021-05-11T17:25:47.606Z] f581987b2513: Verifying Checksum [2021-05-11T17:25:47.606Z] f581987b2513: Download complete [2021-05-11T17:25:47.869Z] a6820b24f6d8: Verifying Checksum [2021-05-11T17:25:47.869Z] a6820b24f6d8: Download complete [2021-05-11T17:25:47.869Z] 31603596830f: Pull complete [2021-05-11T17:25:47.869Z] 54011a49482f: Pull complete [2021-05-11T17:25:48.827Z] a6820b24f6d8: Pull complete [2021-05-11T17:25:49.090Z] f581987b2513: Pull complete [2021-05-11T17:25:49.090Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T17:25:49.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:25:49.090Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T17:25:49.198Z] prd-centos7-docker-4c-2g-4532 does not seem to be running inside a container [2021-05-11T17:25:49.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-922 -v /w/workspace/dgexfoundry_device-sdk-go_PR-922:/w/workspace/dgexfoundry_device-sdk-go_PR-922:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T17:25:51.463Z] $ docker top f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T17:25:51.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T17:25:51.740Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T17:25:51.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T17:25:51.989Z] $ docker exec f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c ssh-agent [2021-05-11T17:25:52.195Z] SSH_AUTH_SOCK=/tmp/ssh-UPahNpxYG9lE/agent.12 [2021-05-11T17:25:52.195Z] SSH_AGENT_PID=17 [2021-05-11T17:25:52.208Z] Running ssh-add (command line suppressed) [2021-05-11T17:25:52.373Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_7034346577264197114.key (/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_7034346577264197114.key) [2021-05-11T17:25:52.431Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T17:25:52.747Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T17:25:52.782Z] $ docker exec --env ******** --env ******** f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c ssh-agent -k [2021-05-11T17:25:52.917Z] unset SSH_AUTH_SOCK; [2021-05-11T17:25:52.917Z] unset SSH_AGENT_PID; [2021-05-11T17:25:52.917Z] echo Agent pid 17 killed; [2021-05-11T17:25:52.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T17:25:53.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T17:25:53.022Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T17:25:53.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T17:25:53.222Z] $ docker exec f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c ssh-agent [2021-05-11T17:25:53.409Z] SSH_AUTH_SOCK=/tmp/ssh-vQ3stjx8K2ob/agent.46 [2021-05-11T17:25:53.409Z] SSH_AGENT_PID=51 [2021-05-11T17:25:53.416Z] Running ssh-add (command line suppressed) [2021-05-11T17:25:53.551Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_3335968349931530254.key (/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_3335968349931530254.key) [2021-05-11T17:25:53.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T17:25:53.918Z] + git semver init [2021-05-11T17:25:53.918Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T17:25:53.918Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-922/.git [2021-05-11T17:25:53.918Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-922 [2021-05-11T17:25:53.918Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T17:25:53.918Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T17:25:53.918Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T17:25:53.918Z] # $SEMVER_BRANCH = PR-922 [2021-05-11T17:25:53.918Z] # $SEMVER_TEMP = /tmp/semver-120031869 [2021-05-11T17:25:53.918Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-11T17:25:55.317Z] # '/tmp/semver-120031869' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-922/.semver' [2021-05-11T17:25:55.317Z] # -> Force: false [2021-05-11T17:25:55.317Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-922/.semver [Pipeline] } [2021-05-11T17:25:55.337Z] $ docker exec --env ******** --env ******** f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c ssh-agent -k [2021-05-11T17:25:55.495Z] unset SSH_AUTH_SOCK; [2021-05-11T17:25:55.496Z] unset SSH_AGENT_PID; [2021-05-11T17:25:55.496Z] echo Agent pid 51 killed; [2021-05-11T17:25:55.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T17:25:55.913Z] + git semver [Pipeline] } [2021-05-11T17:25:55.933Z] $ docker stop --time=1 f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c [2021-05-11T17:25:57.620Z] $ docker rm -f f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:25:58.042Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T17:25:58.482Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T17:25:58.503Z] [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-05-11T17:26:13.754Z] Still waiting to schedule task [2021-05-11T17:26:13.755Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T17:26:13.759Z] Still waiting to schedule task [2021-05-11T17:26:13.759Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4507’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4509’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4511’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4515’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4521’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4523’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4516’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4517’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4522’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4533’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4534’ is offline [2021-05-11T17:27:37.448Z] Running on prd-centos7-docker-4c-2g-4536 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] ws [2021-05-11T17:27:37.472Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-11T17:27:44.144Z] using credential edgex-jenkins-ssh [2021-05-11T17:27:44.163Z] Cloning the remote Git repository [2021-05-11T17:27:44.209Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:27:44.297Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-11T17:27:44.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:27:44.407Z] > git --version # timeout=10 [2021-05-11T17:27:44.428Z] > git --version # 'git version 2.24.3' [2021-05-11T17:27:44.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:27:44.479Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:27:46.024Z] Merging remotes/origin/master commit 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 [2021-05-11T17:27:46.225Z] Merge succeeded, producing d31272688f4a7be175ba8c72e10737706cb62170 [2021-05-11T17:27:46.226Z] Checking out Revision d31272688f4a7be175ba8c72e10737706cb62170 (PR-922) [2021-05-11T17:27:45.428Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:27:45.437Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:27:45.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:27:45.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:27:45.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:27:45.497Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:27:46.034Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:27:46.058Z] > git checkout -f 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 # timeout=10 [2021-05-11T17:27:46.119Z] > git remote # timeout=10 [2021-05-11T17:27:46.135Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T17:27:46.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:27:46.165Z] > git merge 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 [2021-05-11T17:27:46.216Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T17:27:46.231Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:27:46.254Z] > git checkout -f d31272688f4a7be175ba8c72e10737706cb62170 # timeout=10 [2021-05-11T17:27:50.159Z] Commit message: "Merge commit '889e38f586d888c0021f1798e3d6b8462ec57b6f' into HEAD" [2021-05-11T17:27:50.176Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:27:50.167Z] > git rev-list --no-walk f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 [2021-05-11T17:27:51.670Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:27:52.103Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:27:52.428Z] + sudo service docker restart [2021-05-11T17:27:52.428Z] + true [2021-05-11T17:27:52.428Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:27:54.470Z] provisioning config files... [2021-05-11T17:27:54.504Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4291680173691288504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:27:54.910Z] ---> docker-login.sh [2021-05-11T17:27:54.910Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:27:57.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:27:57.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:27:57.012Z] Configure a credential helper to remove this warning. See [2021-05-11T17:27:57.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:27:57.012Z] [2021-05-11T17:27:57.012Z] Login Succeeded [2021-05-11T17:27:57.012Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:27:57.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:27:58.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:27:58.048Z] Configure a credential helper to remove this warning. See [2021-05-11T17:27:58.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:27:58.048Z] [2021-05-11T17:27:58.048Z] Login Succeeded [2021-05-11T17:27:58.048Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:27:58.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:27:58.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:27:58.332Z] Configure a credential helper to remove this warning. See [2021-05-11T17:27:58.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:27:58.332Z] [2021-05-11T17:27:58.332Z] Login Succeeded [2021-05-11T17:27:58.332Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:27:58.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:27:58.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:27:58.612Z] Configure a credential helper to remove this warning. See [2021-05-11T17:27:58.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:27:58.612Z] [2021-05-11T17:27:58.612Z] Login Succeeded [2021-05-11T17:27:58.612Z] docker.io [2021-05-11T17:27:59.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:27:59.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:27:59.645Z] Configure a credential helper to remove this warning. See [2021-05-11T17:27:59.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:27:59.645Z] [2021-05-11T17:27:59.645Z] Login Succeeded [2021-05-11T17:27:59.645Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:27:59.667Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T17:28:00.054Z] ========================================================= [2021-05-11T17:28:00.054Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T17:28:00.054Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:28:00.619Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-11T17:28:01.265Z] Sending build context to Docker daemon 2.582MB [2021-05-11T17:28:01.265Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:28:01.265Z] Step 2/8 : FROM ${BASE} [2021-05-11T17:28:01.596Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T17:28:01.596Z] 540db60ca938: Pulling fs layer [2021-05-11T17:28:01.596Z] adcc1eea9eea: Pulling fs layer [2021-05-11T17:28:01.596Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T17:28:01.596Z] 0510c868ecb4: Pulling fs layer [2021-05-11T17:28:01.596Z] afea3b2eda06: Pulling fs layer [2021-05-11T17:28:01.596Z] 7809a108b3ef: Pulling fs layer [2021-05-11T17:28:01.596Z] f706445af74f: Pulling fs layer [2021-05-11T17:28:01.596Z] 0510c868ecb4: Waiting [2021-05-11T17:28:01.596Z] afea3b2eda06: Waiting [2021-05-11T17:28:01.596Z] 7809a108b3ef: Waiting [2021-05-11T17:28:01.596Z] f706445af74f: Waiting [2021-05-11T17:28:01.596Z] 4c4ab2625f07: Download complete [2021-05-11T17:28:01.596Z] adcc1eea9eea: Verifying Checksum [2021-05-11T17:28:01.596Z] adcc1eea9eea: Download complete [2021-05-11T17:28:01.596Z] afea3b2eda06: Verifying Checksum [2021-05-11T17:28:01.596Z] afea3b2eda06: Download complete [2021-05-11T17:28:01.913Z] 7809a108b3ef: Verifying Checksum [2021-05-11T17:28:01.913Z] 7809a108b3ef: Download complete [2021-05-11T17:28:01.913Z] 540db60ca938: Verifying Checksum [2021-05-11T17:28:01.913Z] 540db60ca938: Download complete [2021-05-11T17:28:02.565Z] 540db60ca938: Pull complete [2021-05-11T17:28:03.018Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4537 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] ws [2021-05-11T17:28:03.041Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-11T17:28:03.410Z] adcc1eea9eea: Pull complete [2021-05-11T17:28:03.701Z] 4c4ab2625f07: Pull complete [2021-05-11T17:28:06.426Z] f706445af74f: Verifying Checksum [2021-05-11T17:28:06.427Z] f706445af74f: Download complete [2021-05-11T17:28:08.626Z] using credential edgex-jenkins-ssh [2021-05-11T17:28:08.629Z] 0510c868ecb4: Verifying Checksum [2021-05-11T17:28:08.629Z] 0510c868ecb4: Download complete [2021-05-11T17:28:08.643Z] Cloning the remote Git repository [2021-05-11T17:28:08.688Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:28:08.796Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-11T17:28:08.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:28:08.871Z] > git --version # timeout=10 [2021-05-11T17:28:08.890Z] > git --version # 'git version 2.17.1' [2021-05-11T17:28:08.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:28:08.964Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:28:10.185Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:28:10.208Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:28:10.237Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:28:10.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:28:10.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:28:10.284Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:28:10.913Z] Merging remotes/origin/master commit 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 [2021-05-11T17:28:11.172Z] Merge succeeded, producing ff5a291927e95866cb817ebdb6aa7767c4a34ad0 [2021-05-11T17:28:11.173Z] Checking out Revision ff5a291927e95866cb817ebdb6aa7767c4a34ad0 (PR-922) [2021-05-11T17:28:10.931Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:28:10.947Z] > git checkout -f 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 # timeout=10 [2021-05-11T17:28:11.044Z] > git remote # timeout=10 [2021-05-11T17:28:11.061Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T17:28:11.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:28:11.085Z] > git merge 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 [2021-05-11T17:28:11.156Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T17:28:11.179Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:28:11.198Z] > git checkout -f ff5a291927e95866cb817ebdb6aa7767c4a34ad0 # timeout=10 [2021-05-11T17:28:15.404Z] Commit message: "Merge commit '889e38f586d888c0021f1798e3d6b8462ec57b6f' into HEAD" [2021-05-11T17:28:15.431Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:28:15.411Z] > git rev-list --no-walk f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 [2021-05-11T17:28:16.766Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:28:17.175Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:28:17.521Z] + true [2021-05-11T17:28:17.521Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:28:20.194Z] provisioning config files... [2021-05-11T17:28:20.235Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7079544509595684256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:28:20.618Z] ---> docker-login.sh [2021-05-11T17:28:20.618Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:28:21.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:28:21.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:28:21.880Z] Configure a credential helper to remove this warning. See [2021-05-11T17:28:21.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:28:21.880Z] [2021-05-11T17:28:21.880Z] Login Succeeded [2021-05-11T17:28:21.880Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:28:22.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:28:22.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:28:22.434Z] Configure a credential helper to remove this warning. See [2021-05-11T17:28:22.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:28:22.434Z] [2021-05-11T17:28:22.434Z] Login Succeeded [2021-05-11T17:28:22.434Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:28:22.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:28:22.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:28:22.716Z] Configure a credential helper to remove this warning. See [2021-05-11T17:28:22.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:28:22.716Z] [2021-05-11T17:28:22.716Z] Login Succeeded [2021-05-11T17:28:22.716Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:28:23.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:28:23.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:28:23.312Z] Configure a credential helper to remove this warning. See [2021-05-11T17:28:23.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:28:23.312Z] [2021-05-11T17:28:23.312Z] Login Succeeded [2021-05-11T17:28:23.312Z] docker.io [2021-05-11T17:28:23.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:28:24.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:28:24.192Z] Configure a credential helper to remove this warning. See [2021-05-11T17:28:24.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:28:24.192Z] [2021-05-11T17:28:24.192Z] Login Succeeded [2021-05-11T17:28:24.192Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:28:24.209Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T17:28:24.543Z] ========================================================= [2021-05-11T17:28:24.543Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T17:28:24.543Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:28:24.893Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-11T17:28:25.496Z] Sending build context to Docker daemon 2.588MB [2021-05-11T17:28:25.496Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:28:25.496Z] Step 2/8 : FROM ${BASE} [2021-05-11T17:28:25.496Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T17:28:25.496Z] 595b0fe564bb: Pulling fs layer [2021-05-11T17:28:25.496Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T17:28:25.496Z] 316046926c0a: Pulling fs layer [2021-05-11T17:28:25.496Z] 4ebd0625c992: Pulling fs layer [2021-05-11T17:28:25.496Z] 207e8628e3a3: Pulling fs layer [2021-05-11T17:28:25.496Z] c791037a9be2: Pulling fs layer [2021-05-11T17:28:25.496Z] ffd874e62e21: Pulling fs layer [2021-05-11T17:28:25.496Z] c791037a9be2: Waiting [2021-05-11T17:28:25.496Z] 207e8628e3a3: Waiting [2021-05-11T17:28:25.496Z] ffd874e62e21: Waiting [2021-05-11T17:28:25.496Z] 316046926c0a: Verifying Checksum [2021-05-11T17:28:25.496Z] 316046926c0a: Download complete [2021-05-11T17:28:25.496Z] 7186ed65a4f7: Verifying Checksum [2021-05-11T17:28:25.496Z] 7186ed65a4f7: Download complete [2021-05-11T17:28:25.496Z] 207e8628e3a3: Verifying Checksum [2021-05-11T17:28:25.496Z] 207e8628e3a3: Download complete [2021-05-11T17:28:25.496Z] c791037a9be2: Download complete [2021-05-11T17:28:26.111Z] 595b0fe564bb: Verifying Checksum [2021-05-11T17:28:26.111Z] 595b0fe564bb: Download complete [2021-05-11T17:28:26.714Z] 595b0fe564bb: Pull complete [2021-05-11T17:28:27.318Z] 7186ed65a4f7: Pull complete [2021-05-11T17:28:27.457Z] 0510c868ecb4: Pull complete [2021-05-11T17:28:27.457Z] afea3b2eda06: Pull complete [2021-05-11T17:28:27.457Z] 7809a108b3ef: Pull complete [2021-05-11T17:28:27.591Z] 316046926c0a: Pull complete [2021-05-11T17:28:29.025Z] ffd874e62e21: Verifying Checksum [2021-05-11T17:28:29.025Z] ffd874e62e21: Download complete [2021-05-11T17:28:30.017Z] 4ebd0625c992: Verifying Checksum [2021-05-11T17:28:30.017Z] 4ebd0625c992: Download complete [2021-05-11T17:28:36.143Z] f706445af74f: Pull complete [2021-05-11T17:28:36.143Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T17:28:36.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T17:28:36.143Z] ---> b068be0155e3 [2021-05-11T17:28:36.143Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:28:36.956Z] ---> Running in cdf04385d62c [2021-05-11T17:28:38.005Z] Removing intermediate container cdf04385d62c [2021-05-11T17:28:38.005Z] ---> 7b111c71cdcd [2021-05-11T17:28:38.005Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:28:38.005Z] ---> Running in 56bf1b483a35 [2021-05-11T17:28:40.179Z] 4ebd0625c992: Pull complete [2021-05-11T17:28:40.453Z] 207e8628e3a3: Pull complete [2021-05-11T17:28:40.729Z] c791037a9be2: Pull complete [2021-05-11T17:28:40.791Z] Removing intermediate container 56bf1b483a35 [2021-05-11T17:28:40.791Z] ---> 4687435cbd0e [2021-05-11T17:28:40.791Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T17:28:40.791Z] ---> Running in e6685c6b85bc [2021-05-11T17:28:41.944Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:28:42.937Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:28:43.962Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T17:28:43.962Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T17:28:43.962Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T17:28:43.962Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T17:28:44.151Z] ffd874e62e21: Pull complete [2021-05-11T17:28:44.151Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T17:28:44.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T17:28:44.151Z] ---> cfc18b08335c [2021-05-11T17:28:44.151Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:28:44.256Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T17:28:44.256Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T17:28:44.549Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T17:28:44.549Z] OK: 150 MiB in 46 packages [2021-05-11T17:28:45.560Z] Removing intermediate container e6685c6b85bc [2021-05-11T17:28:45.560Z] ---> 0183f6493364 [2021-05-11T17:28:45.560Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T17:28:45.560Z] ---> Running in 34651e212c31 [2021-05-11T17:28:46.186Z] Removing intermediate container 34651e212c31 [2021-05-11T17:28:46.186Z] ---> d2243412e7b5 [2021-05-11T17:28:46.186Z] Step 7/8 : COPY . . [2021-05-11T17:28:47.548Z] ---> Running in f2b23aa6e41c [2021-05-11T17:28:47.548Z] Removing intermediate container f2b23aa6e41c [2021-05-11T17:28:47.548Z] ---> 02e43bac9f6f [2021-05-11T17:28:47.548Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:28:47.826Z] ---> Running in 0c5525517ef1 [2021-05-11T17:28:48.338Z] ---> c4fd4bf25752 [2021-05-11T17:28:48.338Z] Step 8/8 : RUN go mod download [2021-05-11T17:28:48.338Z] ---> Running in db41c6b99107 [2021-05-11T17:28:50.464Z] Removing intermediate container 0c5525517ef1 [2021-05-11T17:28:50.464Z] ---> 6f9380b44486 [2021-05-11T17:28:50.464Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T17:28:50.464Z] ---> Running in 24fa96c4a21b [2021-05-11T17:28:51.444Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:28:52.873Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:28:53.850Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T17:28:54.120Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T17:28:54.120Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T17:28:54.391Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T17:28:54.391Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T17:28:54.664Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T17:28:54.664Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T17:28:54.664Z] OK: 139 MiB in 46 packages [2021-05-11T17:28:56.100Z] Removing intermediate container 24fa96c4a21b [2021-05-11T17:28:56.101Z] ---> 07f1b24c329e [2021-05-11T17:28:56.101Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T17:28:56.373Z] ---> Running in c129576fc371 [2021-05-11T17:28:56.971Z] Removing intermediate container c129576fc371 [2021-05-11T17:28:56.971Z] ---> b3c56ea5d55a [2021-05-11T17:28:56.971Z] Step 7/8 : COPY . . [2021-05-11T17:28:58.406Z] ---> dce18324fbed [2021-05-11T17:28:58.406Z] Step 8/8 : RUN go mod download [2021-05-11T17:28:58.406Z] ---> Running in 1d4e18ddb439 [2021-05-11T17:29:25.244Z] Removing intermediate container 1d4e18ddb439 [2021-05-11T17:29:25.244Z] ---> d193a88ac842 [2021-05-11T17:29:25.244Z] Successfully built d193a88ac842 [2021-05-11T17:29:25.244Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:29:25.588Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T17:29:25.588Z] . [Pipeline] withDockerContainer [2021-05-11T17:29:25.858Z] prd-ubuntu18.04-docker-arm64-4c-16g-4537 does not seem to be running inside a container [2021-05-11T17:29:25.934Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T17:29:27.456Z] $ docker top 87621f0e55ab1808d3d11c2f5c3691a80198a2f593ed45467494580933d47a45 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:29:28.408Z] + go version [2021-05-11T17:29:28.408Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T17:29:28.431Z] $ docker stop --time=1 87621f0e55ab1808d3d11c2f5c3691a80198a2f593ed45467494580933d47a45 [2021-05-11T17:29:30.339Z] $ docker rm -f 87621f0e55ab1808d3d11c2f5c3691a80198a2f593ed45467494580933d47a45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:29:31.041Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T17:29:31.042Z] . [Pipeline] withDockerContainer [2021-05-11T17:29:31.305Z] prd-ubuntu18.04-docker-arm64-4c-16g-4537 does not seem to be running inside a container [2021-05-11T17:29:31.379Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T17:29:32.905Z] $ docker top fe74ca2e99788bdbbf5ab213df9e8bbe949d97da4f76c360d50eec793b33157e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:29:33.876Z] + go mod tidy [Pipeline] sh [2021-05-11T17:29:35.209Z] + make test [2021-05-11T17:29:35.209Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T17:29:36.356Z] Removing intermediate container db41c6b99107 [2021-05-11T17:29:36.356Z] ---> 37f931dde37b [2021-05-11T17:29:36.356Z] Successfully built 37f931dde37b [2021-05-11T17:29:36.356Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:29:36.963Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T17:29:37.311Z] . [Pipeline] withDockerContainer [2021-05-11T17:29:37.742Z] prd-centos7-docker-4c-2g-4536 does not seem to be running inside a container [2021-05-11T17:29:38.006Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T17:29:40.367Z] $ docker top addd78ea4b94afbc76c30ac98a0b0ddcce15860eb6d2b0721812bd05206bea36 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:29:41.436Z] + go version [2021-05-11T17:29:41.436Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T17:29:41.518Z] $ docker stop --time=1 addd78ea4b94afbc76c30ac98a0b0ddcce15860eb6d2b0721812bd05206bea36 [2021-05-11T17:29:43.573Z] $ docker rm -f addd78ea4b94afbc76c30ac98a0b0ddcce15860eb6d2b0721812bd05206bea36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:29:44.500Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T17:29:44.500Z] . [Pipeline] withDockerContainer [2021-05-11T17:29:44.707Z] prd-centos7-docker-4c-2g-4536 does not seem to be running inside a container [2021-05-11T17:29:44.774Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T17:29:46.125Z] $ docker top 148dfe3b2c64faf2e7f023724b797938767e5244a309275b00438268a4df0a79 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:29:47.660Z] + go mod tidy [Pipeline] sh [2021-05-11T17:29:49.517Z] + make test [2021-05-11T17:29:49.517Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T17:30:02.081Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T17:30:08.367Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T17:30:58.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T17:30:58.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T17:30:58.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T17:31:06.270Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T17:31:06.270Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T17:31:06.270Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T17:31:08.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.227s coverage: 25.4% of statements [2021-05-11T17:31:08.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T17:31:08.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.237s coverage: 28.1% of statements [2021-05-11T17:31:08.716Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.222s coverage: 78.9% of statements [2021-05-11T17:31:11.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.186s coverage: 10.7% of statements [2021-05-11T17:31:11.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T17:31:11.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T17:31:11.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T17:31:12.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.373s coverage: 30.2% of statements [2021-05-11T17:31:12.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T17:31:13.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.281s coverage: 25.4% of statements [2021-05-11T17:31:13.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T17:31:13.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 28.1% of statements [2021-05-11T17:31:13.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.266s coverage: 78.9% of statements [2021-05-11T17:31:13.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.188s coverage: 10.7% of statements [2021-05-11T17:31:13.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T17:31:13.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T17:31:13.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T17:31:14.436Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.206s coverage: 83.3% of statements [2021-05-11T17:31:14.436Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T17:31:14.436Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T17:31:14.436Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.251s coverage: 58.4% of statements [2021-05-11T17:31:15.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.242s coverage: 30.2% of statements [2021-05-11T17:31:15.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T17:31:16.094Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.188s coverage: 83.3% of statements [2021-05-11T17:31:16.094Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T17:31:16.094Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T17:31:16.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.378s coverage: 58.4% of statements [2021-05-11T17:31:17.143Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.821s coverage: 89.2% of statements [2021-05-11T17:31:17.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T17:31:17.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.079s coverage: 5.0% of statements [2021-05-11T17:31:17.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T17:31:17.441Z] GO111MODULE=on go vet ./... [2021-05-11T17:31:21.036Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.965s coverage: 89.2% of statements [2021-05-11T17:31:21.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T17:31:21.036Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-05-11T17:31:21.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T17:31:21.036Z] GO111MODULE=on go vet ./... [2021-05-11T17:32:05.062Z] gofmt -l . [2021-05-11T17:32:05.062Z] [ "`gofmt -l .`" = "" ] [2021-05-11T17:32:05.062Z] ./bin/test-attribution-txt.sh [2021-05-11T17:32:05.062Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T17:32:05.116Z] $ docker stop --time=1 148dfe3b2c64faf2e7f023724b797938767e5244a309275b00438268a4df0a79 [2021-05-11T17:32:08.181Z] $ docker rm -f 148dfe3b2c64faf2e7f023724b797938767e5244a309275b00438268a4df0a79 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:32:09.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T17:32:10.338Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T17:32:11.587Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T17:32:11.954Z] + ls -al . [2021-05-11T17:32:11.954Z] total 208 [2021-05-11T17:32:11.954Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 11 17:32 . [2021-05-11T17:32:11.954Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 17:27 .. [2021-05-11T17:32:11.954Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 17:27 bin [2021-05-11T17:32:11.954Z] -rw-r--r--. 1 jenkins jenkins 126002 May 11 17:31 coverage.out [2021-05-11T17:32:11.954Z] -rw-rw-r--. 1 jenkins jenkins 987 May 11 17:27 Dockerfile.build [2021-05-11T17:32:11.954Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 17:27 .dockerignore [2021-05-11T17:32:11.954Z] drwxrwxr-x. 5 jenkins jenkins 62 May 11 17:27 example [2021-05-11T17:32:11.954Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 17:27 .git [2021-05-11T17:32:11.954Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 17:27 .github [2021-05-11T17:32:11.954Z] -rw-rw-r--. 1 jenkins jenkins 138 May 11 17:27 .gitignore [2021-05-11T17:32:11.954Z] -rw-r--r--. 1 jenkins jenkins 575 May 11 17:32 go.mod [2021-05-11T17:32:11.954Z] -rw-r--r--. 1 jenkins jenkins 20408 May 11 17:29 go.sum [2021-05-11T17:32:11.954Z] drwxrwxr-x. 15 jenkins jenkins 224 May 11 17:27 internal [2021-05-11T17:32:11.954Z] -rw-rw-r--. 1 jenkins jenkins 894 May 11 17:27 Jenkinsfile [2021-05-11T17:32:11.954Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 11 17:27 LICENSE [2021-05-11T17:32:11.954Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 11 17:27 Makefile [2021-05-11T17:32:11.954Z] drwxrwxr-x. 4 jenkins jenkins 26 May 11 17:27 openapi [2021-05-11T17:32:11.954Z] drwxrwxr-x. 5 jenkins jenkins 50 May 11 17:27 pkg [2021-05-11T17:32:11.954Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 11 17:27 README.md [2021-05-11T17:32:11.954Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 11 17:27 RELEASE-NOTES.txt [2021-05-11T17:32:11.954Z] drwxrwxr-x. 4 jenkins jenkins 54 May 11 17:27 snap [2021-05-11T17:32:11.954Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 17:25 VERSION [2021-05-11T17:32:11.954Z] -rw-rw-r--. 1 jenkins jenkins 222 May 11 17:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:32:12.333Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=0734cdd67020a84f1ea440a79efb13ec8583638f --label arch=amd64 --label version=0.0.0 . [2021-05-11T17:32:13.409Z] Sending build context to Docker daemon 2.709MB [2021-05-11T17:32:13.409Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:32:13.409Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T17:32:13.409Z] ---> 37f931dde37b [2021-05-11T17:32:13.409Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T17:32:13.684Z] ---> Running in 3acc9abf643f [2021-05-11T17:32:14.302Z] Removing intermediate container 3acc9abf643f [2021-05-11T17:32:14.302Z] ---> 1a4c26d175cd [2021-05-11T17:32:14.302Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:32:14.302Z] ---> Running in d809de576726 [2021-05-11T17:32:14.596Z] Removing intermediate container d809de576726 [2021-05-11T17:32:14.596Z] ---> 13a5ed577ea5 [2021-05-11T17:32:14.596Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:32:14.884Z] ---> Running in cea2f41fe14e [2021-05-11T17:32:16.898Z] Removing intermediate container cea2f41fe14e [2021-05-11T17:32:16.898Z] ---> d7561af8b130 [2021-05-11T17:32:16.898Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T17:32:17.175Z] ---> Running in e4ecca81eac9 [2021-05-11T17:32:17.604Z] gofmt -l . [2021-05-11T17:32:17.604Z] [ "`gofmt -l .`" = "" ] [2021-05-11T17:32:17.604Z] ./bin/test-attribution-txt.sh [2021-05-11T17:32:17.604Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T17:32:17.896Z] $ docker stop --time=1 fe74ca2e99788bdbbf5ab213df9e8bbe949d97da4f76c360d50eec793b33157e [2021-05-11T17:32:18.638Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:32:19.226Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:32:19.828Z] OK: 150 MiB in 46 packages [2021-05-11T17:32:20.122Z] $ docker rm -f fe74ca2e99788bdbbf5ab213df9e8bbe949d97da4f76c360d50eec793b33157e [2021-05-11T17:32:20.848Z] Removing intermediate container e4ecca81eac9 [2021-05-11T17:32:20.848Z] ---> 995eb896170e [2021-05-11T17:32:20.848Z] Step 7/23 : COPY . . [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:32:21.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T17:32:21.279Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T17:32:22.196Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:32:22.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T17:32:22.984Z] ---> ae76fb6576b6 [2021-05-11T17:32:22.984Z] Step 8/23 : RUN go mod download [2021-05-11T17:32:22.984Z] ---> Running in efd6dd711dfa [2021-05-11T17:32:23.032Z] + ls -al . [2021-05-11T17:32:23.032Z] total 244 [2021-05-11T17:32:23.032Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 17:32 . [2021-05-11T17:32:23.032Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:28 .. [2021-05-11T17:32:23.032Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 17:28 .dockerignore [2021-05-11T17:32:23.032Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:28 .git [2021-05-11T17:32:23.032Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:28 .github [2021-05-11T17:32:23.032Z] -rw-rw-r-- 1 jenkins jenkins 138 May 11 17:28 .gitignore [2021-05-11T17:32:23.032Z] -rw-rw-r-- 1 jenkins jenkins 987 May 11 17:28 Dockerfile.build [2021-05-11T17:32:23.032Z] -rw-rw-r-- 1 jenkins jenkins 894 May 11 17:28 Jenkinsfile [2021-05-11T17:32:23.032Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 11 17:28 LICENSE [2021-05-11T17:32:23.032Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 11 17:28 Makefile [2021-05-11T17:32:23.032Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 11 17:28 README.md [2021-05-11T17:32:23.032Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 11 17:28 RELEASE-NOTES.txt [2021-05-11T17:32:23.032Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 17:25 VERSION [2021-05-11T17:32:23.032Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:28 bin [2021-05-11T17:32:23.032Z] -rw-r--r-- 1 jenkins jenkins 126002 May 11 17:31 coverage.out [2021-05-11T17:32:23.032Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:28 example [2021-05-11T17:32:23.032Z] -rw-r--r-- 1 jenkins jenkins 575 May 11 17:32 go.mod [2021-05-11T17:32:23.032Z] -rw-r--r-- 1 jenkins jenkins 20408 May 11 17:29 go.sum [2021-05-11T17:32:23.032Z] drwxrwxr-x 15 jenkins jenkins 4096 May 11 17:28 internal [2021-05-11T17:32:23.032Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:28 openapi [2021-05-11T17:32:23.032Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:28 pkg [2021-05-11T17:32:23.032Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:28 snap [2021-05-11T17:32:23.032Z] -rw-rw-r-- 1 jenkins jenkins 222 May 11 17:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:32:23.375Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0734cdd67020a84f1ea440a79efb13ec8583638f --label arch=arm64 --label version=0.0.0 . [2021-05-11T17:32:23.972Z] Sending build context to Docker daemon 2.715MB [2021-05-11T17:32:23.972Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:32:23.972Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T17:32:23.972Z] ---> d193a88ac842 [2021-05-11T17:32:23.972Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T17:32:24.245Z] ---> Running in 3da4d41742f1 [2021-05-11T17:32:24.840Z] Removing intermediate container 3da4d41742f1 [2021-05-11T17:32:24.840Z] ---> af34a2aaf90a [2021-05-11T17:32:24.840Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:32:24.840Z] ---> Running in 3feed99f1678 [2021-05-11T17:32:25.437Z] Removing intermediate container 3feed99f1678 [2021-05-11T17:32:25.437Z] ---> e0c0f4da0a1a [2021-05-11T17:32:25.437Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:32:25.437Z] ---> Running in 8f2baec2013a [2021-05-11T17:32:26.577Z] Removing intermediate container efd6dd711dfa [2021-05-11T17:32:26.577Z] ---> a111cb7fac27 [2021-05-11T17:32:26.577Z] Step 9/23 : RUN make build [2021-05-11T17:32:26.577Z] ---> Running in 0c0fe4aa8f86 [2021-05-11T17:32:27.198Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-11T17:32:27.404Z] Removing intermediate container 8f2baec2013a [2021-05-11T17:32:27.404Z] ---> 3ee93156ae1d [2021-05-11T17:32:27.404Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T17:32:27.683Z] ---> Running in 7a4c2f08b021 [2021-05-11T17:32:28.658Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:32:29.632Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:32:30.623Z] OK: 139 MiB in 46 packages [2021-05-11T17:32:31.610Z] Removing intermediate container 7a4c2f08b021 [2021-05-11T17:32:31.610Z] ---> c46c99aa9fb6 [2021-05-11T17:32:31.610Z] Step 7/23 : COPY . . [2021-05-11T17:32:33.045Z] ---> 48de2c8cf575 [2021-05-11T17:32:33.045Z] Step 8/23 : RUN go mod download [2021-05-11T17:32:33.045Z] ---> Running in 557ebd7de794 [2021-05-11T17:32:35.665Z] Removing intermediate container 557ebd7de794 [2021-05-11T17:32:35.665Z] ---> b7802121b12c [2021-05-11T17:32:35.665Z] Step 9/23 : RUN make build [2021-05-11T17:32:35.665Z] ---> Running in ae230b09e58f [2021-05-11T17:32:36.642Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-11T17:32:54.547Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T17:32:57.173Z] Removing intermediate container 0c0fe4aa8f86 [2021-05-11T17:32:57.173Z] ---> c1c5dee7e7d9 [2021-05-11T17:32:57.173Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T17:32:57.517Z] 3.12: Pulling from library/alpine [2021-05-11T17:32:57.796Z] 339de151aab4: Pulling fs layer [2021-05-11T17:32:58.071Z] 339de151aab4: Verifying Checksum [2021-05-11T17:32:58.071Z] 339de151aab4: Download complete [2021-05-11T17:32:58.702Z] 339de151aab4: Pull complete [2021-05-11T17:32:58.702Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T17:32:58.702Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T17:32:58.702Z] ---> 13621d1b12d4 [2021-05-11T17:32:58.702Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:32:58.995Z] ---> Running in fbdde36332cb [2021-05-11T17:32:59.272Z] Removing intermediate container fbdde36332cb [2021-05-11T17:32:59.272Z] ---> af5c2ab7a037 [2021-05-11T17:32:59.272Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:32:59.272Z] ---> Running in 04aba8070079 [2021-05-11T17:33:01.335Z] Removing intermediate container 04aba8070079 [2021-05-11T17:33:01.335Z] ---> 30486657ca80 [2021-05-11T17:33:01.335Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T17:33:01.335Z] ---> Running in 85df073fa3d1 [2021-05-11T17:33:02.358Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:33:03.329Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:33:04.768Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T17:33:04.768Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T17:33:04.768Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T17:33:05.357Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T17:33:05.626Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T17:33:05.626Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T17:33:05.626Z] OK: 8 MiB in 19 packages [2021-05-11T17:33:06.227Z] Removing intermediate container 85df073fa3d1 [2021-05-11T17:33:06.227Z] ---> bb023f9defd7 [2021-05-11T17:33:06.227Z] Step 14/23 : WORKDIR / [2021-05-11T17:33:06.227Z] ---> Running in 8907000783e2 [2021-05-11T17:33:06.498Z] Removing intermediate container 8907000783e2 [2021-05-11T17:33:06.498Z] ---> f41297e8d06a [2021-05-11T17:33:06.498Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T17:33:07.114Z] ---> 835a5b1fadd2 [2021-05-11T17:33:07.114Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T17:33:08.105Z] ---> 6e8de576cfa1 [2021-05-11T17:33:08.105Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T17:33:08.704Z] ---> 680db7214556 [2021-05-11T17:33:08.704Z] Step 18/23 : EXPOSE 49990 [2021-05-11T17:33:08.704Z] ---> Running in 565e3d118552 [2021-05-11T17:33:08.986Z] Removing intermediate container 565e3d118552 [2021-05-11T17:33:08.986Z] ---> cf95f2943d5a [2021-05-11T17:33:08.986Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T17:33:08.986Z] ---> Running in 92dc2aada2a4 [2021-05-11T17:33:09.027Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T17:33:09.604Z] Removing intermediate container 92dc2aada2a4 [2021-05-11T17:33:09.604Z] ---> d9fa8f16b78e [2021-05-11T17:33:09.604Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T17:33:09.604Z] ---> Running in 9e6e9f121115 [2021-05-11T17:33:10.208Z] Removing intermediate container 9e6e9f121115 [2021-05-11T17:33:10.208Z] ---> 6ac6e43ac073 [2021-05-11T17:33:10.208Z] Step 21/23 : LABEL arch=amd64 [2021-05-11T17:33:10.549Z] ---> Running in 966235a35a84 [2021-05-11T17:33:11.244Z] Removing intermediate container 966235a35a84 [2021-05-11T17:33:11.244Z] ---> 5bb538d5ce55 [2021-05-11T17:33:11.244Z] Step 22/23 : LABEL git_sha=0734cdd67020a84f1ea440a79efb13ec8583638f [2021-05-11T17:33:11.244Z] ---> Running in e21a02e1ee01 [2021-05-11T17:33:11.661Z] Removing intermediate container e21a02e1ee01 [2021-05-11T17:33:11.661Z] ---> 782e703c1628 [2021-05-11T17:33:11.661Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T17:33:11.661Z] ---> Running in 6764adff5033 [2021-05-11T17:33:11.987Z] Removing intermediate container 6764adff5033 [2021-05-11T17:33:11.987Z] ---> 5fd4f42486c2 [2021-05-11T17:33:11.987Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-11T17:33:12.383Z] Successfully built 5fd4f42486c2 [2021-05-11T17:33:12.383Z] Successfully tagged device-sdk-simple:latest [2021-05-11T17:33:12.410Z] Removing intermediate container ae230b09e58f [2021-05-11T17:33:12.410Z] ---> 66f6beea7ac6 [2021-05-11T17:33:12.410Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T17:33:12.410Z] 3.12: Pulling from library/alpine [2021-05-11T17:33:12.410Z] d2f70382dc9a: Pulling fs layer [2021-05-11T17:33:12.686Z] d2f70382dc9a: Verifying Checksum [2021-05-11T17:33:12.686Z] d2f70382dc9a: Download complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:33:13.273Z] ---> job-cost.sh [2021-05-11T17:33:13.273Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZUBy [2021-05-11T17:33:13.280Z] d2f70382dc9a: Pull complete [2021-05-11T17:33:13.280Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T17:33:13.280Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T17:33:13.280Z] ---> 9852663dfa18 [2021-05-11T17:33:13.280Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:33:13.280Z] ---> Running in 01b2cad2ccfb [2021-05-11T17:33:13.879Z] Removing intermediate container 01b2cad2ccfb [2021-05-11T17:33:13.879Z] ---> 4411ced083f8 [2021-05-11T17:33:13.879Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:33:13.879Z] ---> Running in 09096348653b [2021-05-11T17:33:16.516Z] Removing intermediate container 09096348653b [2021-05-11T17:33:16.516Z] ---> 67a4e183d1fa [2021-05-11T17:33:16.516Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T17:33:16.516Z] ---> Running in 9767c3f27201 [2021-05-11T17:33:17.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:33:18.081Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:33:18.670Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T17:33:18.941Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T17:33:18.941Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T17:33:19.215Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T17:33:19.215Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T17:33:19.215Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T17:33:19.215Z] OK: 8 MiB in 19 packages [2021-05-11T17:33:20.640Z] Removing intermediate container 9767c3f27201 [2021-05-11T17:33:20.640Z] ---> 341e25be1493 [2021-05-11T17:33:20.640Z] Step 14/23 : WORKDIR / [2021-05-11T17:33:20.640Z] ---> Running in 484564c451de [2021-05-11T17:33:21.232Z] Removing intermediate container 484564c451de [2021-05-11T17:33:21.232Z] ---> 641551e3e83a [2021-05-11T17:33:21.232Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T17:33:21.825Z] ---> f281865af5ce [2021-05-11T17:33:21.825Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T17:33:23.252Z] ---> e8323287c23a [2021-05-11T17:33:23.252Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T17:33:23.847Z] ---> a6e681e6176d [2021-05-11T17:33:23.847Z] Step 18/23 : EXPOSE 49990 [2021-05-11T17:33:24.126Z] ---> Running in 1224c0259dd6 [2021-05-11T17:33:24.719Z] Removing intermediate container 1224c0259dd6 [2021-05-11T17:33:24.719Z] ---> 9f3a29d35bb5 [2021-05-11T17:33:24.719Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T17:33:24.719Z] ---> Running in 5e9afdf498db [2021-05-11T17:33:24.995Z] Removing intermediate container 5e9afdf498db [2021-05-11T17:33:24.995Z] ---> 75a1a31c6bc3 [2021-05-11T17:33:24.995Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T17:33:25.268Z] ---> Running in a1097f40c93b [2021-05-11T17:33:25.543Z] Removing intermediate container a1097f40c93b [2021-05-11T17:33:25.543Z] ---> 81745e2ab5a2 [2021-05-11T17:33:25.543Z] Step 21/23 : LABEL arch=arm64 [2021-05-11T17:33:25.816Z] ---> Running in f86096958c5e [2021-05-11T17:33:26.090Z] Removing intermediate container f86096958c5e [2021-05-11T17:33:26.090Z] ---> 1539c19cf02d [2021-05-11T17:33:26.090Z] Step 22/23 : LABEL git_sha=0734cdd67020a84f1ea440a79efb13ec8583638f [2021-05-11T17:33:26.363Z] ---> Running in 73358deedd00 [2021-05-11T17:33:26.959Z] Removing intermediate container 73358deedd00 [2021-05-11T17:33:26.959Z] ---> 64b05e80661f [2021-05-11T17:33:26.959Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T17:33:26.959Z] ---> Running in 45ab39a6c4d3 [2021-05-11T17:33:27.564Z] Removing intermediate container 45ab39a6c4d3 [2021-05-11T17:33:27.564Z] ---> b4761c38fc54 [2021-05-11T17:33:27.564Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-11T17:33:27.564Z] Successfully built b4761c38fc54 [2021-05-11T17:33:27.564Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:33:28.023Z] ---> job-cost.sh [2021-05-11T17:33:28.023Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-evXg [2021-05-11T17:33:40.252Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T17:34:07.003Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T17:34:27.438Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZUBy/bin to PATH [2021-05-11T17:34:27.439Z] INFO: No Stack... [2021-05-11T17:34:27.439Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T17:34:27.439Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T17:34:27.776Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-11T17:34:27.776Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T17:34:27.914Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] [2021-05-11T17:34:27.926Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] did not exist. Created. [2021-05-11T17:34:27.926Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T17:34:28.281Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T17:34:28.460Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T17:34:28.470Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T17:35:43.771Z] lf-activate-venv(): INFO: Adding /tmp/venv-evXg/bin to PATH [2021-05-11T17:35:43.772Z] INFO: No Stack... [2021-05-11T17:35:43.772Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T17:35:43.772Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T17:35:44.109Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-11T17:35:44.109Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T17:35:44.236Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] [2021-05-11T17:35:44.247Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] did not exist. Created. [2021-05-11T17:35:44.247Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T17:35:44.624Z] /w/workspace/device-sdk-go/2@tmp/durable-42113e1e/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-42113e1e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T17:35:44.975Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T17:35:45.008Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T17:35:45.164Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T17:35:45.180Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-11T17:35:45.764Z] provisioning config files... [2021-05-11T17:35:45.775Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config8228083102628990094tmp [Pipeline] { [Pipeline] sh [2021-05-11T17:35:46.110Z] + set +x [2021-05-11T17:35:46.110Z] + curl -s https://codecov.io/bash [2021-05-11T17:35:46.110Z] + bash -s -- [2021-05-11T17:35:46.374Z] [2021-05-11T17:35:46.374Z] _____ _ [2021-05-11T17:35:46.374Z] / ____| | | [2021-05-11T17:35:46.374Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T17:35:46.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T17:35:46.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T17:35:46.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T17:35:46.374Z] Bash-1.0.2 [2021-05-11T17:35:46.374Z] [2021-05-11T17:35:46.374Z] [2021-05-11T17:35:46.374Z] ==> git version 2.24.3 found [2021-05-11T17:35:46.374Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-11T17:35:46.374Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T17:35:46.374Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T17:35:46.374Z] ==> Jenkins CI detected. [2021-05-11T17:35:46.374Z] project root: . [2021-05-11T17:35:46.374Z] --> token set from env [2021-05-11T17:35:46.374Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T17:35:46.374Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T17:35:46.374Z] ==> Python coveragepy not found [2021-05-11T17:35:46.374Z] ==> Searching for coverage reports in: [2021-05-11T17:35:46.374Z] + . [2021-05-11T17:35:46.374Z] -> Found 1 reports [2021-05-11T17:35:46.374Z] ==> Detecting git/mercurial file structure [2021-05-11T17:35:46.374Z] ==> Reading reports [2021-05-11T17:35:46.374Z] + ./coverage.out bytes=126002 [2021-05-11T17:35:46.374Z] ==> Appending adjustments [2021-05-11T17:35:46.374Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T17:35:46.637Z] + Found adjustments [2021-05-11T17:35:46.637Z] ==> Gzipping contents [2021-05-11T17:35:46.900Z] 20K /tmp/codecov.jaJU2s.gz [2021-05-11T17:35:46.900Z] ==> Uploading reports [2021-05-11T17:35:46.900Z] url: https://codecov.io [2021-05-11T17:35:46.900Z] query: branch=PR-922&commit=0734cdd67020a84f1ea440a79efb13ec8583638f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-922%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=922&job=&cmd_args= [2021-05-11T17:35:46.900Z] -> Pinging Codecov [2021-05-11T17:35:46.900Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-922&commit=0734cdd67020a84f1ea440a79efb13ec8583638f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-922%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=922&job=&cmd_args= [2021-05-11T17:35:47.166Z] -> Uploading to [2021-05-11T17:35:47.166Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7E55EF52A471D76F132DFD9A03CDDE97/0734cdd67020a84f1ea440a79efb13ec8583638f/69e4fea8-9cd1-47ff-a619-bb28fbca42f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T173547Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fe33380f374ab6da633c0ec2762a35c3ac8998f4b6ec02258cbb7ecc5cf4bc1 [2021-05-11T17:35:47.166Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T17:35:47.166Z] Dload Upload Total Spent Left Speed [2021-05-11T17:35:47.744Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16436 0 0 100 16436 0 41173 --:--:-- --:--:-- --:--:-- 41296 [2021-05-11T17:35:47.744Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0734cdd67020a84f1ea440a79efb13ec8583638f [Pipeline] } [2021-05-11T17:35:47.761Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:35:48.703Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:35:49.408Z] ---> package-listing.sh [2021-05-11T17:35:49.408Z] ++ facter osfamily [2021-05-11T17:35:49.408Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T17:35:49.408Z] + OS_FAMILY=redhat [2021-05-11T17:35:49.408Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-922 [2021-05-11T17:35:49.408Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T17:35:49.408Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T17:35:49.408Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T17:35:49.408Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T17:35:49.408Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-922 ']' [2021-05-11T17:35:49.408Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T17:35:49.408Z] + case "${OS_FAMILY}" in [2021-05-11T17:35:49.408Z] + rpm -qa [2021-05-11T17:35:49.408Z] + sort [2021-05-11T17:35:54.741Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T17:35:54.741Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T17:35:54.741Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T17:35:54.741Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-922 ']' [2021-05-11T17:35:54.741Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-922/archives/ [2021-05-11T17:35:54.741Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-922/archives/ [Pipeline] echo [2021-05-11T17:35:54.757Z] 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-922/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T17:35:55.051Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:35:55.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:35:55.363Z] [2021-05-11T17:35:55.363Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:35:55.687Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:35:55.688Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T17:35:55.688Z] df20fa9351a1: Pulling fs layer [2021-05-11T17:35:55.688Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T17:35:55.688Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T17:35:55.688Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T17:35:55.688Z] 93b61091891f: Pulling fs layer [2021-05-11T17:35:55.688Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T17:35:55.688Z] 5e14af77c1be: Pulling fs layer [2021-05-11T17:35:55.688Z] 01666e4c0597: Pulling fs layer [2021-05-11T17:35:55.688Z] aa168da1d23b: Pulling fs layer [2021-05-11T17:35:55.688Z] 93b9cdb0e59b: Waiting [2021-05-11T17:35:55.688Z] 5e14af77c1be: Waiting [2021-05-11T17:35:55.688Z] 46f8f816bc3b: Waiting [2021-05-11T17:35:55.688Z] 93b61091891f: Waiting [2021-05-11T17:35:55.688Z] 01666e4c0597: Waiting [2021-05-11T17:35:55.688Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T17:35:55.688Z] 36b3adc4ff6f: Download complete [2021-05-11T17:35:55.688Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T17:35:55.688Z] 46f8f816bc3b: Download complete [2021-05-11T17:35:55.688Z] df20fa9351a1: Download complete [2021-05-11T17:35:55.688Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T17:35:55.688Z] 93b9cdb0e59b: Download complete [2021-05-11T17:35:55.688Z] 5e14af77c1be: Download complete [2021-05-11T17:35:55.961Z] 93b61091891f: Verifying Checksum [2021-05-11T17:35:55.961Z] 93b61091891f: Download complete [2021-05-11T17:35:55.961Z] 01666e4c0597: Verifying Checksum [2021-05-11T17:35:55.961Z] 01666e4c0597: Download complete [2021-05-11T17:35:55.961Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T17:35:55.961Z] 8ad3a11d3b57: Download complete [2021-05-11T17:35:56.223Z] df20fa9351a1: Pull complete [2021-05-11T17:35:56.495Z] 36b3adc4ff6f: Pull complete [2021-05-11T17:35:57.895Z] aa168da1d23b: Verifying Checksum [2021-05-11T17:35:58.158Z] 8ad3a11d3b57: Pull complete [2021-05-11T17:35:58.424Z] 46f8f816bc3b: Pull complete [2021-05-11T17:35:59.004Z] 93b61091891f: Pull complete [2021-05-11T17:35:59.004Z] 93b9cdb0e59b: Pull complete [2021-05-11T17:35:59.269Z] 5e14af77c1be: Pull complete [2021-05-11T17:35:59.269Z] 01666e4c0597: Pull complete [2021-05-11T17:36:07.462Z] aa168da1d23b: Pull complete [2021-05-11T17:36:07.462Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T17:36:07.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:36:07.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T17:36:07.677Z] prd-centos7-docker-4c-2g-4532 does not seem to be running inside a container [2021-05-11T17:36:07.726Z] $ 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-922/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-922 -v /w/workspace/dgexfoundry_device-sdk-go_PR-922:/w/workspace/dgexfoundry_device-sdk-go_PR-922:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-922@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T17:36:11.778Z] $ docker top 6143d19e1be32db1bf8ef635c22a8b9593af3a1fc4521d48ac4da0daee664f59 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:36:12.257Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T17:36:12.559Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T17:36:12.863Z] + ls /var/log/sa-host [2021-05-11T17:36:12.863Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T17:36:12.863Z] file_magic: OK [2021-05-11T17:36:12.863Z] HZ: Using current value: 100 [2021-05-11T17:36:12.863Z] file_header: OK [2021-05-11T17:36:12.863Z] 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-05-11T17:36:12.863Z] Statistics: [2021-05-11T17:36:12.863Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-11T17:36:12.863Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T17:36:12.863Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T17:36:12.863Z] file_magic: OK [2021-05-11T17:36:12.863Z] HZ: Using current value: 100 [2021-05-11T17:36:12.863Z] file_header: OK [2021-05-11T17:36:12.863Z] 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-05-11T17:36:12.863Z] Statistics: [2021-05-11T17:36:12.863Z] Hnuu...uuuununununu... [2021-05-11T17:36:12.863Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T17:36:13.049Z] provisioning config files... [2021-05-11T17:36:13.066Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config3795935888353048840tmp [Pipeline] { [Pipeline] echo [2021-05-11T17:36:13.089Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:36:13.400Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T17:36:13.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T17:36:13.438Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:36:13.743Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T17:36:13.756Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:36:14.057Z] ---> sudo-logs.sh [2021-05-11T17:36:14.057Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T17:36:14.087Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:36:14.390Z] ---> job-cost.sh [2021-05-11T17:36:14.390Z] lf-activate-venv: SKIPPING [2021-05-11T17:36:14.390Z] DEBUG: total: 0.20999999344348907 [2021-05-11T17:36:14.390Z] INFO: Retrieving Stack Cost... [2021-05-11T17:36:15.343Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T17:36:15.919Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T17:36:15.936Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:36:16.242Z] ---> logs-deploy.sh [2021-05-11T17:36:16.242Z] lf-activate-venv: SKIPPING [2021-05-11T17:36:16.242Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-922/2 [2021-05-11T17:36:16.242Z] INFO: archiving workspace using pattern(s): [2021-05-11T17:36:18.201Z] Archives upload complete. [2021-05-11T17:36:18.201Z] INFO: archiving logs to Nexus