Pull request #204 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 8b1c0122b21a394787c1f5035f66cfa13d6781b2+969908695d9457bace8f724c7874c2a817cac062 (99a75f1a294d8aa1a01d5bed208d9abc53a43057) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-204/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-204/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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-virtual-go] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4734 in /w/workspace/foundry_device-virtual-go_PR-204 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-204 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8b1c0122b21a394787c1f5035f66cfa13d6781b2 Merge succeeded, producing 8b1c0122b21a394787c1f5035f66cfa13d6781b2 Checking out Revision 8b1c0122b21a394787c1f5035f66cfa13d6781b2 (PR-204) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # 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 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 Commit message: "refactor: Secure Messagebus Rework" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T18:31:22.445Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T18:31:22.717Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T18:31:22.871Z] ========================================================= [2021-05-12T18:31:22.871Z] EdgeX Global Pipelines Version Info [2021-05-12T18:31:22.871Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:31:24.537Z] ------------------- [2021-05-12T18:31:24.537Z] stable info: [2021-05-12T18:31:24.537Z] ------------------- [2021-05-12T18:31:24.537Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T18:31:24.537Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T18:31:24.537Z] Message: update stable to v1.0.192 [2021-05-12T18:31:25.486Z] ------------------- [2021-05-12T18:31:25.486Z] experimental info: [2021-05-12T18:31:25.486Z] ------------------- [2021-05-12T18:31:25.486Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T18:31:25.486Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T18:31:25.486Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T18:31:25.708Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-12T18:31:25.761Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-12T18:31:25.816Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T18:31:25.875Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T18:31:25.933Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T18:31:25.987Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T18:31:26.045Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T18:31:26.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T18:31:26.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T18:31:26.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T18:31:26.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T18:31:26.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-12T18:31:26.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T18:31:26.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T18:31:26.505Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T18:31:26.563Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T18:31:26.620Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T18:31:26.679Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T18:31:26.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T18:31:26.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T18:31:26.854Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T18:31:26.917Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T18:31:26.990Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T18:31:27.059Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T18:31:27.135Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T18:31:27.212Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T18:31:27.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2021-05-12T18:31:27.351Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2021-05-12T18:31:27.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2021-05-12T18:31:27.513Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b1c0122b21a394787c1f5035f66cfa13d6781b2 [Pipeline] echo [2021-05-12T18:31:27.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b1c012 [Pipeline] echo [2021-05-12T18:31:27.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T18:31:27.895Z] provisioning config files... [2021-05-12T18:31:27.940Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config4096964800499591271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:31:28.318Z] ---> docker-login.sh [2021-05-12T18:31:28.319Z] nexus3.edgexfoundry.org:10001 [2021-05-12T18:31:28.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:31:28.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:31:28.583Z] Configure a credential helper to remove this warning. See [2021-05-12T18:31:28.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:31:28.583Z] [2021-05-12T18:31:28.583Z] Login Succeeded [2021-05-12T18:31:28.583Z] nexus3.edgexfoundry.org:10002 [2021-05-12T18:31:28.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:31:28.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:31:28.845Z] Configure a credential helper to remove this warning. See [2021-05-12T18:31:28.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:31:28.845Z] [2021-05-12T18:31:28.845Z] Login Succeeded [2021-05-12T18:31:28.845Z] nexus3.edgexfoundry.org:10003 [2021-05-12T18:31:29.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:31:29.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:31:29.107Z] Configure a credential helper to remove this warning. See [2021-05-12T18:31:29.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:31:29.107Z] [2021-05-12T18:31:29.107Z] Login Succeeded [2021-05-12T18:31:29.107Z] nexus3.edgexfoundry.org:10004 [2021-05-12T18:31:29.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:31:29.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:31:29.369Z] Configure a credential helper to remove this warning. See [2021-05-12T18:31:29.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:31:29.369Z] [2021-05-12T18:31:29.369Z] Login Succeeded [2021-05-12T18:31:29.369Z] docker.io [2021-05-12T18:31:29.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:31:29.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:31:29.630Z] Configure a credential helper to remove this warning. See [2021-05-12T18:31:29.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:31:29.630Z] [2021-05-12T18:31:29.630Z] Login Succeeded [2021-05-12T18:31:29.630Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T18:31:29.655Z] 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-12T18:31:30.370Z] + git log --format=format:%s -1 8b1c0122b21a394787c1f5035f66cfa13d6781b2 [Pipeline] echo [2021-05-12T18:31:30.461Z] GIT_COMMIT: 8b1c0122b21a394787c1f5035f66cfa13d6781b2, Commit Message: refactor: Secure Messagebus Rework [Pipeline] echo [2021-05-12T18:31:30.501Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:31:31.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T18:31:31.515Z] [2021-05-12T18:31:31.515Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:31:31.871Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T18:31:31.871Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T18:31:31.871Z] 31603596830f: Pulling fs layer [2021-05-12T18:31:31.871Z] 54011a49482f: Pulling fs layer [2021-05-12T18:31:31.871Z] a6820b24f6d8: Pulling fs layer [2021-05-12T18:31:31.871Z] f581987b2513: Pulling fs layer [2021-05-12T18:31:31.871Z] f581987b2513: Waiting [2021-05-12T18:31:31.871Z] 54011a49482f: Download complete [2021-05-12T18:31:32.137Z] 31603596830f: Download complete [2021-05-12T18:31:32.137Z] f581987b2513: Verifying Checksum [2021-05-12T18:31:32.137Z] f581987b2513: Download complete [2021-05-12T18:31:32.137Z] a6820b24f6d8: Verifying Checksum [2021-05-12T18:31:32.137Z] a6820b24f6d8: Download complete [2021-05-12T18:31:32.400Z] 31603596830f: Pull complete [2021-05-12T18:31:32.400Z] 54011a49482f: Pull complete [2021-05-12T18:31:33.348Z] a6820b24f6d8: Pull complete [2021-05-12T18:31:33.610Z] f581987b2513: Pull complete [2021-05-12T18:31:33.610Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T18:31:33.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T18:31:33.610Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T18:31:33.750Z] prd-centos7-docker-4c-2g-4734 does not seem to be running inside a container [2021-05-12T18:31:33.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-204 -v /w/workspace/foundry_device-virtual-go_PR-204:/w/workspace/foundry_device-virtual-go_PR-204:rw,z -v /w/workspace/foundry_device-virtual-go_PR-204@tmp:/w/workspace/foundry_device-virtual-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T18:31:36.005Z] $ docker top 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T18:31:36.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T18:31:36.244Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T18:31:36.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T18:31:36.480Z] $ docker exec 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 ssh-agent [2021-05-12T18:31:36.658Z] SSH_AUTH_SOCK=/tmp/ssh-qf7hUsNKyvMF/agent.11 [2021-05-12T18:31:36.658Z] SSH_AGENT_PID=16 [2021-05-12T18:31:36.668Z] Running ssh-add (command line suppressed) [2021-05-12T18:31:36.804Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_448363544467773718.key (/w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_448363544467773718.key) [2021-05-12T18:31:36.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T18:31:37.204Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T18:31:37.231Z] $ docker exec --env ******** --env ******** 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 ssh-agent -k [2021-05-12T18:31:37.348Z] unset SSH_AUTH_SOCK; [2021-05-12T18:31:37.348Z] unset SSH_AGENT_PID; [2021-05-12T18:31:37.348Z] echo Agent pid 16 killed; [2021-05-12T18:31:37.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T18:31:37.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T18:31:37.496Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T18:31:37.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T18:31:37.669Z] $ docker exec 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 ssh-agent [2021-05-12T18:31:37.836Z] SSH_AUTH_SOCK=/tmp/ssh-wwd5HfAVo15e/agent.44 [2021-05-12T18:31:37.836Z] SSH_AGENT_PID=49 [2021-05-12T18:31:37.844Z] Running ssh-add (command line suppressed) [2021-05-12T18:31:37.974Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_2191726774181999571.key (/w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_2191726774181999571.key) [2021-05-12T18:31:38.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T18:31:38.390Z] + git semver init [2021-05-12T18:31:38.390Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T18:31:38.390Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-204/.git [2021-05-12T18:31:38.390Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-204 [2021-05-12T18:31:38.390Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T18:31:38.390Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T18:31:38.390Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T18:31:38.390Z] # $SEMVER_BRANCH = PR-204 [2021-05-12T18:31:38.390Z] # $SEMVER_TEMP = /tmp/semver-631154019 [2021-05-12T18:31:38.390Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-12T18:31:39.780Z] # '/tmp/semver-631154019' -> '/w/workspace/foundry_device-virtual-go_PR-204/.semver' [2021-05-12T18:31:39.780Z] # -> Force: false [2021-05-12T18:31:39.780Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-204/.semver [Pipeline] } [2021-05-12T18:31:39.803Z] $ docker exec --env ******** --env ******** 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 ssh-agent -k [2021-05-12T18:31:39.921Z] unset SSH_AUTH_SOCK; [2021-05-12T18:31:39.921Z] unset SSH_AGENT_PID; [2021-05-12T18:31:39.921Z] echo Agent pid 49 killed; [2021-05-12T18:31:39.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T18:31:40.419Z] + git semver [Pipeline] } [2021-05-12T18:31:40.449Z] $ docker stop --time=1 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 [2021-05-12T18:31:41.893Z] $ docker rm -f 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T18:31:42.348Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T18:31:42.741Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T18:31:42.776Z] [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-12T18:31:58.288Z] Still waiting to schedule task [2021-05-12T18:31:58.288Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4734’ [2021-05-12T18:31:58.312Z] Still waiting to schedule task [2021-05-12T18:31:58.312Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-12T18:33:52.958Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4735 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] ws [2021-05-12T18:33:53.026Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T18:33:58.741Z] using credential edgex-jenkins-ssh [2021-05-12T18:33:58.762Z] Cloning the remote Git repository [2021-05-12T18:33:58.818Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T18:33:59.014Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-12T18:33:59.142Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T18:33:59.143Z] > git --version # timeout=10 [2021-05-12T18:33:59.209Z] > git --version # 'git version 2.17.1' [2021-05-12T18:33:59.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:33:59.313Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T18:34:01.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T18:34:01.071Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T18:34:01.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T18:34:01.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T18:34:01.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:34:01.146Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T18:34:02.505Z] Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8b1c0122b21a394787c1f5035f66cfa13d6781b2 [2021-05-12T18:34:02.702Z] Merge succeeded, producing 8b1c0122b21a394787c1f5035f66cfa13d6781b2 [2021-05-12T18:34:02.703Z] Checking out Revision 8b1c0122b21a394787c1f5035f66cfa13d6781b2 (PR-204) [2021-05-12T18:34:02.528Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T18:34:02.544Z] > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 [2021-05-12T18:34:02.622Z] > git remote # timeout=10 [2021-05-12T18:34:02.638Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T18:34:02.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:34:02.669Z] > git merge 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 [2021-05-12T18:34:02.692Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T18:34:02.712Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T18:34:02.724Z] > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 [2021-05-12T18:34:06.948Z] Commit message: "refactor: Secure Messagebus Rework" [2021-05-12T18:34:07.013Z] > git --version # timeout=10 [2021-05-12T18:34:07.026Z] > git --version # 'git version 2.17.1' [2021-05-12T18:34:07.043Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T18:34:08.699Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T18:34:09.146Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T18:34:09.512Z] + true [2021-05-12T18:34:09.512Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T18:34:11.593Z] provisioning config files... [2021-05-12T18:34:11.653Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1088389588419345842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:34:12.079Z] ---> docker-login.sh [2021-05-12T18:34:12.079Z] nexus3.edgexfoundry.org:10001 [2021-05-12T18:34:13.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:34:13.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:34:13.489Z] Configure a credential helper to remove this warning. See [2021-05-12T18:34:13.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:34:13.489Z] [2021-05-12T18:34:13.489Z] Login Succeeded [2021-05-12T18:34:13.489Z] nexus3.edgexfoundry.org:10002 [2021-05-12T18:34:13.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:34:14.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:34:14.045Z] Configure a credential helper to remove this warning. See [2021-05-12T18:34:14.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:34:14.045Z] [2021-05-12T18:34:14.045Z] Login Succeeded [2021-05-12T18:34:14.045Z] nexus3.edgexfoundry.org:10003 [2021-05-12T18:34:14.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:34:14.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:34:14.323Z] Configure a credential helper to remove this warning. See [2021-05-12T18:34:14.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:34:14.323Z] [2021-05-12T18:34:14.323Z] Login Succeeded [2021-05-12T18:34:14.600Z] nexus3.edgexfoundry.org:10004 [2021-05-12T18:34:14.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:34:14.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:34:14.879Z] Configure a credential helper to remove this warning. See [2021-05-12T18:34:14.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:34:14.879Z] [2021-05-12T18:34:14.879Z] Login Succeeded [2021-05-12T18:34:14.879Z] docker.io [2021-05-12T18:34:15.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:34:16.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:34:16.914Z] Configure a credential helper to remove this warning. See [2021-05-12T18:34:16.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:34:16.914Z] [2021-05-12T18:34:16.914Z] Login Succeeded [2021-05-12T18:34:16.914Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T18:34:16.945Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T18:34:17.344Z] ========================================================= [2021-05-12T18:34:17.344Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T18:34:17.344Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:34:17.736Z] + 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-12T18:34:18.011Z] Sending build context to Docker daemon 8.589MB [2021-05-12T18:34:18.289Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T18:34:18.289Z] Step 2/8 : FROM ${BASE} [2021-05-12T18:34:18.289Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T18:34:18.289Z] 595b0fe564bb: Pulling fs layer [2021-05-12T18:34:18.289Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T18:34:18.289Z] 316046926c0a: Pulling fs layer [2021-05-12T18:34:18.289Z] 4ebd0625c992: Pulling fs layer [2021-05-12T18:34:18.289Z] 207e8628e3a3: Pulling fs layer [2021-05-12T18:34:18.289Z] c791037a9be2: Pulling fs layer [2021-05-12T18:34:18.289Z] ffd874e62e21: Pulling fs layer [2021-05-12T18:34:18.289Z] 207e8628e3a3: Waiting [2021-05-12T18:34:18.289Z] c791037a9be2: Waiting [2021-05-12T18:34:18.289Z] 4ebd0625c992: Waiting [2021-05-12T18:34:18.289Z] ffd874e62e21: Waiting [2021-05-12T18:34:18.289Z] 316046926c0a: Verifying Checksum [2021-05-12T18:34:18.289Z] 316046926c0a: Download complete [2021-05-12T18:34:18.289Z] 7186ed65a4f7: Verifying Checksum [2021-05-12T18:34:18.289Z] 7186ed65a4f7: Download complete [2021-05-12T18:34:18.289Z] 207e8628e3a3: Verifying Checksum [2021-05-12T18:34:18.289Z] 207e8628e3a3: Download complete [2021-05-12T18:34:18.289Z] c791037a9be2: Verifying Checksum [2021-05-12T18:34:18.289Z] c791037a9be2: Download complete [2021-05-12T18:34:18.289Z] 595b0fe564bb: Verifying Checksum [2021-05-12T18:34:18.289Z] 595b0fe564bb: Download complete [2021-05-12T18:34:18.891Z] 595b0fe564bb: Pull complete [2021-05-12T18:34:19.495Z] 7186ed65a4f7: Pull complete [2021-05-12T18:34:20.095Z] 316046926c0a: Pull complete [2021-05-12T18:34:20.368Z] ffd874e62e21: Verifying Checksum [2021-05-12T18:34:20.368Z] ffd874e62e21: Download complete [2021-05-12T18:34:21.811Z] 4ebd0625c992: Verifying Checksum [2021-05-12T18:34:25.476Z] Running on prd-centos7-docker-4c-2g-4736 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] ws [2021-05-12T18:34:25.533Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T18:34:28.262Z] using credential edgex-jenkins-ssh [2021-05-12T18:34:28.280Z] Cloning the remote Git repository [2021-05-12T18:34:28.307Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T18:34:28.383Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-12T18:34:28.460Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T18:34:28.461Z] > git --version # timeout=10 [2021-05-12T18:34:28.467Z] > git --version # 'git version 2.24.3' [2021-05-12T18:34:28.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:34:28.494Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T18:34:29.900Z] Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8b1c0122b21a394787c1f5035f66cfa13d6781b2 [2021-05-12T18:34:29.983Z] Merge succeeded, producing 8b1c0122b21a394787c1f5035f66cfa13d6781b2 [2021-05-12T18:34:29.983Z] Checking out Revision 8b1c0122b21a394787c1f5035f66cfa13d6781b2 (PR-204) [2021-05-12T18:34:29.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T18:34:29.448Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T18:34:29.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T18:34:29.474Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T18:34:29.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:34:29.478Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T18:34:29.910Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T18:34:29.917Z] > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 [2021-05-12T18:34:29.948Z] > git remote # timeout=10 [2021-05-12T18:34:29.955Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T18:34:29.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:34:29.965Z] > git merge 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 [2021-05-12T18:34:29.975Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T18:34:29.989Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T18:34:29.995Z] > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 [2021-05-12T18:34:33.582Z] Commit message: "refactor: Secure Messagebus Rework" [2021-05-12T18:34:33.612Z] > git --version # timeout=10 [2021-05-12T18:34:33.618Z] > git --version # 'git version 2.24.3' [2021-05-12T18:34:33.624Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-05-12T18:34:34.258Z] 4ebd0625c992: Pull complete [2021-05-12T18:34:34.258Z] 207e8628e3a3: Pull complete [2021-05-12T18:34:34.258Z] c791037a9be2: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T18:34:35.053Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T18:34:35.409Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T18:34:35.733Z] + sudo service docker restart [2021-05-12T18:34:35.733Z] + true [2021-05-12T18:34:35.733Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T18:34:36.777Z] provisioning config files... [2021-05-12T18:34:36.820Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config42753789247517286tmp [Pipeline] { [Pipeline] libraryResource [2021-05-12T18:34:36.887Z] ffd874e62e21: Pull complete [2021-05-12T18:34:36.887Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T18:34:36.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T18:34:36.887Z] ---> cfc18b08335c [2021-05-12T18:34:36.887Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [Pipeline] sh [2021-05-12T18:34:37.189Z] ---> docker-login.sh [2021-05-12T18:34:37.189Z] nexus3.edgexfoundry.org:10001 [2021-05-12T18:34:37.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:34:37.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:34:37.458Z] Configure a credential helper to remove this warning. See [2021-05-12T18:34:37.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:34:37.458Z] [2021-05-12T18:34:37.458Z] Login Succeeded [2021-05-12T18:34:37.458Z] nexus3.edgexfoundry.org:10002 [2021-05-12T18:34:37.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:34:37.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:34:37.720Z] Configure a credential helper to remove this warning. See [2021-05-12T18:34:37.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:34:37.720Z] [2021-05-12T18:34:37.720Z] Login Succeeded [2021-05-12T18:34:37.720Z] nexus3.edgexfoundry.org:10003 [2021-05-12T18:34:37.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:34:37.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:34:37.982Z] Configure a credential helper to remove this warning. See [2021-05-12T18:34:37.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:34:37.982Z] [2021-05-12T18:34:37.982Z] Login Succeeded [2021-05-12T18:34:37.982Z] nexus3.edgexfoundry.org:10004 [2021-05-12T18:34:37.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:34:37.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:34:37.982Z] Configure a credential helper to remove this warning. See [2021-05-12T18:34:37.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:34:37.982Z] [2021-05-12T18:34:38.245Z] Login Succeeded [2021-05-12T18:34:38.245Z] docker.io [2021-05-12T18:34:38.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:34:38.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:34:38.507Z] Configure a credential helper to remove this warning. See [2021-05-12T18:34:38.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:34:38.507Z] [2021-05-12T18:34:38.507Z] Login Succeeded [2021-05-12T18:34:38.507Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T18:34:38.532Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T18:34:38.845Z] ========================================================= [2021-05-12T18:34:38.845Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T18:34:38.845Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:34:39.187Z] + 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-12T18:34:39.187Z] Sending build context to Docker daemon 8.59MB [2021-05-12T18:34:39.482Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T18:34:39.482Z] Step 2/8 : FROM ${BASE} [2021-05-12T18:34:39.482Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T18:34:39.482Z] 540db60ca938: Pulling fs layer [2021-05-12T18:34:39.482Z] adcc1eea9eea: Pulling fs layer [2021-05-12T18:34:39.482Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T18:34:39.482Z] 0510c868ecb4: Pulling fs layer [2021-05-12T18:34:39.482Z] afea3b2eda06: Pulling fs layer [2021-05-12T18:34:39.482Z] 7809a108b3ef: Pulling fs layer [2021-05-12T18:34:39.482Z] f706445af74f: Pulling fs layer [2021-05-12T18:34:39.482Z] afea3b2eda06: Waiting [2021-05-12T18:34:39.482Z] 7809a108b3ef: Waiting [2021-05-12T18:34:39.482Z] f706445af74f: Waiting [2021-05-12T18:34:39.482Z] 0510c868ecb4: Waiting [2021-05-12T18:34:39.482Z] 4c4ab2625f07: Download complete [2021-05-12T18:34:39.482Z] adcc1eea9eea: Verifying Checksum [2021-05-12T18:34:39.482Z] adcc1eea9eea: Download complete [2021-05-12T18:34:39.483Z] afea3b2eda06: Verifying Checksum [2021-05-12T18:34:39.483Z] afea3b2eda06: Download complete [2021-05-12T18:34:39.483Z] 7809a108b3ef: Verifying Checksum [2021-05-12T18:34:39.483Z] 7809a108b3ef: Download complete [2021-05-12T18:34:39.483Z] 540db60ca938: Verifying Checksum [2021-05-12T18:34:39.483Z] 540db60ca938: Download complete [2021-05-12T18:34:39.760Z] 540db60ca938: Pull complete [2021-05-12T18:34:40.032Z] adcc1eea9eea: Pull complete [2021-05-12T18:34:40.032Z] 4c4ab2625f07: Pull complete [2021-05-12T18:34:40.307Z] ---> Running in 35724bd0b1f2 [2021-05-12T18:34:40.307Z] Removing intermediate container 35724bd0b1f2 [2021-05-12T18:34:40.307Z] ---> 3c205890b3a3 [2021-05-12T18:34:40.307Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T18:34:40.580Z] ---> Running in 1cc6eae50020 [2021-05-12T18:34:40.988Z] f706445af74f: Verifying Checksum [2021-05-12T18:34:40.988Z] f706445af74f: Download complete [2021-05-12T18:34:41.938Z] 0510c868ecb4: Verifying Checksum [2021-05-12T18:34:41.938Z] 0510c868ecb4: Download complete [2021-05-12T18:34:43.217Z] Removing intermediate container 1cc6eae50020 [2021-05-12T18:34:43.218Z] ---> 1a2bbda0e3c1 [2021-05-12T18:34:43.218Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T18:34:43.218Z] ---> Running in f176760d3ee6 [2021-05-12T18:34:44.200Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T18:34:45.178Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T18:34:46.154Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T18:34:46.155Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T18:34:46.155Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T18:34:46.155Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T18:34:46.426Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T18:34:46.426Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T18:34:46.426Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T18:34:47.271Z] 0510c868ecb4: Pull complete [2021-05-12T18:34:47.271Z] afea3b2eda06: Pull complete [2021-05-12T18:34:47.271Z] 7809a108b3ef: Pull complete [2021-05-12T18:34:47.397Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T18:34:47.397Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T18:34:47.397Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T18:34:47.668Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T18:34:47.668Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T18:34:47.668Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T18:34:47.938Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T18:34:47.938Z] OK: 145 MiB in 53 packages [2021-05-12T18:34:49.373Z] Removing intermediate container f176760d3ee6 [2021-05-12T18:34:49.373Z] ---> 0ddbca795a2a [2021-05-12T18:34:49.373Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-12T18:34:49.373Z] ---> Running in a7c0365d178a [2021-05-12T18:34:49.969Z] Removing intermediate container a7c0365d178a [2021-05-12T18:34:49.969Z] ---> c8e47e6a74c6 [2021-05-12T18:34:49.969Z] Step 7/8 : COPY . . [2021-05-12T18:34:51.402Z] ---> d7b12299303c [2021-05-12T18:34:51.402Z] Step 8/8 : RUN go mod download [2021-05-12T18:34:51.402Z] ---> Running in 69a903044ab7 [2021-05-12T18:34:55.438Z] f706445af74f: Pull complete [2021-05-12T18:34:55.438Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T18:34:55.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T18:34:55.438Z] ---> b068be0155e3 [2021-05-12T18:34:55.438Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T18:34:55.704Z] ---> Running in ad71ecbdade1 [2021-05-12T18:34:55.969Z] Removing intermediate container ad71ecbdade1 [2021-05-12T18:34:55.969Z] ---> 1b7f38e2d0d5 [2021-05-12T18:34:55.969Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T18:34:56.238Z] ---> Running in 82fafcee7389 [2021-05-12T18:34:57.194Z] Removing intermediate container 82fafcee7389 [2021-05-12T18:34:57.194Z] ---> 780b01ea095c [2021-05-12T18:34:57.194Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T18:34:57.194Z] ---> Running in 7c9613577708 [2021-05-12T18:34:58.150Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T18:34:58.723Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T18:34:59.667Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T18:34:59.667Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T18:34:59.928Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T18:34:59.928Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T18:34:59.928Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T18:35:00.190Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T18:35:00.190Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T18:35:00.451Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T18:35:00.451Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T18:35:00.715Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T18:35:00.715Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T18:35:00.715Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T18:35:00.977Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T18:35:00.977Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T18:35:00.977Z] OK: 156 MiB in 53 packages [2021-05-12T18:35:01.928Z] Removing intermediate container 7c9613577708 [2021-05-12T18:35:01.928Z] ---> 57c91bdc4c75 [2021-05-12T18:35:01.928Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-12T18:35:01.928Z] ---> Running in faa511d9edcf [2021-05-12T18:35:01.928Z] Removing intermediate container faa511d9edcf [2021-05-12T18:35:01.928Z] ---> ad15703880ed [2021-05-12T18:35:01.928Z] Step 7/8 : COPY . . [2021-05-12T18:35:02.878Z] ---> c5ab0db57a3b [2021-05-12T18:35:02.878Z] Step 8/8 : RUN go mod download [2021-05-12T18:35:02.878Z] ---> Running in 78d193bc0be2 [2021-05-12T18:35:23.737Z] Removing intermediate container 69a903044ab7 [2021-05-12T18:35:23.737Z] ---> 1c206003257a [2021-05-12T18:35:23.737Z] Successfully built 1c206003257a [2021-05-12T18:35:23.737Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:35:24.142Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T18:35:24.142Z] . [Pipeline] withDockerContainer [2021-05-12T18:35:24.428Z] prd-ubuntu18.04-docker-arm64-4c-16g-4735 does not seem to be running inside a container [2021-05-12T18:35:24.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T18:35:25.964Z] $ docker top 3731d8dcdff70a3f01914cf4d6fba4d16c8affc7f35384a9ddf4c8186e8fd115 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T18:35:27.002Z] + go version [2021-05-12T18:35:27.002Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T18:35:27.046Z] $ docker stop --time=1 3731d8dcdff70a3f01914cf4d6fba4d16c8affc7f35384a9ddf4c8186e8fd115 [2021-05-12T18:35:28.977Z] $ docker rm -f 3731d8dcdff70a3f01914cf4d6fba4d16c8affc7f35384a9ddf4c8186e8fd115 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-05-12T18:35:29.523Z] Removing intermediate container 78d193bc0be2 [2021-05-12T18:35:29.523Z] ---> 16098c84cfba [2021-05-12T18:35:29.523Z] Successfully built 16098c84cfba [2021-05-12T18:35:29.523Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:35:29.884Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T18:35:29.884Z] . [Pipeline] withDockerContainer [2021-05-12T18:35:30.025Z] prd-centos7-docker-4c-2g-4736 does not seem to be running inside a container [2021-05-12T18:35:30.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T18:35:30.086Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T18:35:30.086Z] . [2021-05-12T18:35:30.872Z] $ docker top 0799a98474ad53be426b9b2d8904e411f8360cc565a115882684092940050358 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-05-12T18:35:31.312Z] prd-ubuntu18.04-docker-arm64-4c-16g-4735 does not seem to be running inside a container [2021-05-12T18:35:31.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T18:35:32.973Z] $ docker top b8bbf25eadc003b6c0febb9c5663c2f19d8cbdbea1dc8fccd745299d5cafec01 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-12T18:35:33.648Z] + go version [2021-05-12T18:35:33.648Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T18:35:33.682Z] $ docker stop --time=1 0799a98474ad53be426b9b2d8904e411f8360cc565a115882684092940050358 [2021-05-12T18:35:34.075Z] + go mod tidy [2021-05-12T18:35:35.014Z] $ docker rm -f 0799a98474ad53be426b9b2d8904e411f8360cc565a115882684092940050358 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:35:35.873Z] + make test [2021-05-12T18:35:35.873Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T18:35:35.923Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T18:35:35.923Z] . [Pipeline] withDockerContainer [2021-05-12T18:35:36.041Z] prd-centos7-docker-4c-2g-4736 does not seem to be running inside a container [2021-05-12T18:35:36.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T18:35:36.682Z] $ docker top 3761c6a260ab98761aab2f99b064cd9490c12bbe3e4953a505de5b166c2ac0b4 -eo pid,comm [2021-05-12T18:35:36.858Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] { [Pipeline] sh [2021-05-12T18:35:37.344Z] + go mod tidy [Pipeline] sh [2021-05-12T18:35:38.275Z] + make test [2021-05-12T18:35:38.276Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T18:35:39.680Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-12T18:36:01.860Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-12T18:36:01.860Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.496s coverage: 63.8% of statements [2021-05-12T18:36:01.860Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T18:36:10.079Z] gofmt -l . [2021-05-12T18:36:10.079Z] [ "`gofmt -l .`" = "" ] [2021-05-12T18:36:10.079Z] ./bin/test-attribution-txt.sh [2021-05-12T18:36:11.029Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T18:36:11.071Z] $ docker stop --time=1 3761c6a260ab98761aab2f99b064cd9490c12bbe3e4953a505de5b166c2ac0b4 [2021-05-12T18:36:13.064Z] $ docker rm -f 3761c6a260ab98761aab2f99b064cd9490c12bbe3e4953a505de5b166c2ac0b4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T18:36:13.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T18:36:14.120Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T18:36:17.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T18:36:18.075Z] + ls -al . [2021-05-12T18:36:18.076Z] total 132 [2021-05-12T18:36:18.076Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 12 18:36 . [2021-05-12T18:36:18.076Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 18:34 .. [2021-05-12T18:36:18.076Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 12 18:34 Attribution.txt [2021-05-12T18:36:18.076Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 18:34 bin [2021-05-12T18:36:18.076Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 18:34 cmd [2021-05-12T18:36:18.076Z] -rw-r--r--. 1 jenkins jenkins 47247 May 12 18:36 coverage.out [2021-05-12T18:36:18.076Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 12 18:34 Dockerfile [2021-05-12T18:36:18.076Z] -rw-rw-r--. 1 jenkins jenkins 998 May 12 18:34 Dockerfile.build [2021-05-12T18:36:18.076Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 18:34 .git [2021-05-12T18:36:18.076Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 18:34 .github [2021-05-12T18:36:18.076Z] -rw-rw-r--. 1 jenkins jenkins 277 May 12 18:34 .gitignore [2021-05-12T18:36:18.076Z] -rw-r--r--. 1 jenkins jenkins 809 May 12 18:36 go.mod [2021-05-12T18:36:18.076Z] -rw-r--r--. 1 jenkins jenkins 23036 May 12 18:35 go.sum [2021-05-12T18:36:18.076Z] drwxrwxr-x. 3 jenkins jenkins 20 May 12 18:34 internal [2021-05-12T18:36:18.076Z] -rw-rw-r--. 1 jenkins jenkins 660 May 12 18:34 Jenkinsfile [2021-05-12T18:36:18.076Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 18:34 LICENSE [2021-05-12T18:36:18.076Z] -rw-rw-r--. 1 jenkins jenkins 914 May 12 18:34 Makefile [2021-05-12T18:36:18.076Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 12 18:34 README.md [2021-05-12T18:36:18.076Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 18:31 VERSION [2021-05-12T18:36:18.076Z] -rw-rw-r--. 1 jenkins jenkins 235 May 12 18:34 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:36:18.415Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8b1c0122b21a394787c1f5035f66cfa13d6781b2 --label arch=amd64 --label version=0.0.0 . [2021-05-12T18:36:18.680Z] Sending build context to Docker daemon 8.662MB [2021-05-12T18:36:18.680Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T18:36:18.680Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-12T18:36:18.680Z] ---> 16098c84cfba [2021-05-12T18:36:18.680Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T18:36:18.680Z] ---> Running in 8bfcab21ef4f [2021-05-12T18:36:18.944Z] Removing intermediate container 8bfcab21ef4f [2021-05-12T18:36:18.944Z] ---> d9d9c07d48f8 [2021-05-12T18:36:18.944Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T18:36:18.944Z] ---> Running in 3c4055dd44a3 [2021-05-12T18:36:19.209Z] Removing intermediate container 3c4055dd44a3 [2021-05-12T18:36:19.209Z] ---> 98cc85bff117 [2021-05-12T18:36:19.209Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-12T18:36:19.209Z] ---> Running in 4029f61ebfc5 [2021-05-12T18:36:19.474Z] Removing intermediate container 4029f61ebfc5 [2021-05-12T18:36:19.474Z] ---> 07e185fb05f2 [2021-05-12T18:36:19.474Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T18:36:19.474Z] ---> Running in bf88d0443d81 [2021-05-12T18:36:20.422Z] Removing intermediate container bf88d0443d81 [2021-05-12T18:36:20.422Z] ---> bca35e24704e [2021-05-12T18:36:20.422Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T18:36:20.687Z] ---> Running in 7461795b36e8 [2021-05-12T18:36:21.262Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T18:36:22.210Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T18:36:23.168Z] OK: 156 MiB in 53 packages [2021-05-12T18:36:23.434Z] Removing intermediate container 7461795b36e8 [2021-05-12T18:36:23.434Z] ---> e3f56e3b0278 [2021-05-12T18:36:23.434Z] Step 8/25 : COPY . . [2021-05-12T18:36:24.017Z] ---> 28519867d207 [2021-05-12T18:36:24.017Z] Step 9/25 : RUN go mod download [2021-05-12T18:36:24.284Z] ---> Running in 701ecadb90cb [2021-05-12T18:36:25.238Z] Removing intermediate container 701ecadb90cb [2021-05-12T18:36:25.239Z] ---> e3bd348ae8a8 [2021-05-12T18:36:25.239Z] Step 10/25 : ARG MAKE='make build' [2021-05-12T18:36:25.503Z] ---> Running in 76d9949d2e6b [2021-05-12T18:36:25.765Z] Removing intermediate container 76d9949d2e6b [2021-05-12T18:36:25.765Z] ---> 68cb4b4530fb [2021-05-12T18:36:25.765Z] Step 11/25 : RUN $MAKE [2021-05-12T18:36:25.765Z] ---> Running in 9cda7edb0c16 [2021-05-12T18:36:26.032Z] go mod tidy [2021-05-12T18:36:26.301Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-12T18:36:44.669Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T18:36:45.806Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-12T18:36:45.806Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.651s coverage: 63.8% of statements [2021-05-12T18:36:45.806Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T18:36:47.999Z] Removing intermediate container 9cda7edb0c16 [2021-05-12T18:36:47.999Z] ---> 4b8e4fa5e091 [2021-05-12T18:36:47.999Z] Step 12/25 : FROM alpine:3.12 [2021-05-12T18:36:47.999Z] 3.12: Pulling from library/alpine [2021-05-12T18:36:47.999Z] 339de151aab4: Pulling fs layer [2021-05-12T18:36:47.999Z] 339de151aab4: Verifying Checksum [2021-05-12T18:36:47.999Z] 339de151aab4: Download complete [2021-05-12T18:36:48.264Z] 339de151aab4: Pull complete [2021-05-12T18:36:48.264Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T18:36:48.264Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T18:36:48.264Z] ---> 13621d1b12d4 [2021-05-12T18:36:48.264Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-12T18:36:48.526Z] ---> Running in 9e1f1463353d [2021-05-12T18:36:48.789Z] Removing intermediate container 9e1f1463353d [2021-05-12T18:36:48.789Z] ---> c64e97c6f58b [2021-05-12T18:36:48.789Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T18:36:48.789Z] ---> Running in 39365f0851fc [2021-05-12T18:36:49.758Z] Removing intermediate container 39365f0851fc [2021-05-12T18:36:49.759Z] ---> 6adc207c5510 [2021-05-12T18:36:49.759Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T18:36:49.759Z] ---> Running in 49ccd030c3e5 [2021-05-12T18:36:50.350Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T18:36:50.930Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T18:36:51.200Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T18:36:51.463Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T18:36:51.463Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T18:36:51.769Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T18:36:52.717Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T18:36:52.717Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T18:36:52.717Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T18:36:52.717Z] OK: 8 MiB in 20 packages [2021-05-12T18:36:53.305Z] Removing intermediate container 49ccd030c3e5 [2021-05-12T18:36:53.305Z] ---> 7bb36e858f6a [2021-05-12T18:36:53.305Z] Step 16/25 : WORKDIR / [2021-05-12T18:36:53.305Z] ---> Running in b1f81a8df05b [2021-05-12T18:36:53.577Z] Removing intermediate container b1f81a8df05b [2021-05-12T18:36:53.577Z] ---> 375222e0877c [2021-05-12T18:36:53.577Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-12T18:36:53.843Z] ---> 0060a2b3fcc3 [2021-05-12T18:36:53.843Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-12T18:36:54.106Z] ---> d7e37892f925 [2021-05-12T18:36:54.106Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-12T18:36:54.684Z] ---> c5e073c07a2d [2021-05-12T18:36:54.684Z] Step 20/25 : EXPOSE 49990 [2021-05-12T18:36:54.684Z] ---> Running in 9d9b2a54cddb [2021-05-12T18:36:54.949Z] Removing intermediate container 9d9b2a54cddb [2021-05-12T18:36:54.949Z] ---> e522ed6f624a [2021-05-12T18:36:54.949Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-12T18:36:54.949Z] ---> Running in 0ab6105e99a5 [2021-05-12T18:36:55.217Z] Removing intermediate container 0ab6105e99a5 [2021-05-12T18:36:55.217Z] ---> 1dc51438f93d [2021-05-12T18:36:55.217Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T18:36:55.217Z] ---> Running in da5db2357c71 [2021-05-12T18:36:55.480Z] Removing intermediate container da5db2357c71 [2021-05-12T18:36:55.480Z] ---> 73a508b55505 [2021-05-12T18:36:55.480Z] Step 23/25 : LABEL arch=amd64 [2021-05-12T18:36:55.480Z] ---> Running in 0e5150778778 [2021-05-12T18:36:55.480Z] Removing intermediate container 0e5150778778 [2021-05-12T18:36:55.480Z] ---> 2073d1210859 [2021-05-12T18:36:55.480Z] Step 24/25 : LABEL git_sha=8b1c0122b21a394787c1f5035f66cfa13d6781b2 [2021-05-12T18:36:55.742Z] ---> Running in db99a332ef54 [2021-05-12T18:36:55.742Z] Removing intermediate container db99a332ef54 [2021-05-12T18:36:55.742Z] ---> 612f45d9520d [2021-05-12T18:36:55.742Z] Step 25/25 : LABEL version=0.0.0 [2021-05-12T18:36:56.007Z] ---> Running in e8a2900023cc [2021-05-12T18:36:56.007Z] Removing intermediate container e8a2900023cc [2021-05-12T18:36:56.007Z] ---> d5aa330a77df [2021-05-12T18:36:56.007Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T18:36:56.007Z] Successfully built d5aa330a77df [2021-05-12T18:36:56.007Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:36:56.960Z] ---> job-cost.sh [2021-05-12T18:36:56.961Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rfAM [2021-05-12T18:37:12.615Z] gofmt -l . [2021-05-12T18:37:12.615Z] [ "`gofmt -l .`" = "" ] [2021-05-12T18:37:12.615Z] ./bin/test-attribution-txt.sh [2021-05-12T18:37:14.596Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T18:37:14.653Z] $ docker stop --time=1 b8bbf25eadc003b6c0febb9c5663c2f19d8cbdbea1dc8fccd745299d5cafec01 [2021-05-12T18:37:15.156Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T18:37:16.705Z] $ docker rm -f b8bbf25eadc003b6c0febb9c5663c2f19d8cbdbea1dc8fccd745299d5cafec01 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T18:37:17.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T18:37:17.680Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T18:37:18.584Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T18:37:19.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T18:37:19.646Z] + ls -al . [2021-05-12T18:37:19.646Z] total 156 [2021-05-12T18:37:19.646Z] drwxrwxr-x 7 jenkins jenkins 4096 May 12 18:37 . [2021-05-12T18:37:19.646Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 18:33 .. [2021-05-12T18:37:19.646Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 18:34 .git [2021-05-12T18:37:19.646Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 18:34 .github [2021-05-12T18:37:19.646Z] -rw-rw-r-- 1 jenkins jenkins 277 May 12 18:34 .gitignore [2021-05-12T18:37:19.646Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 12 18:34 Attribution.txt [2021-05-12T18:37:19.646Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 12 18:34 Dockerfile [2021-05-12T18:37:19.646Z] -rw-rw-r-- 1 jenkins jenkins 998 May 12 18:34 Dockerfile.build [2021-05-12T18:37:19.646Z] -rw-rw-r-- 1 jenkins jenkins 660 May 12 18:34 Jenkinsfile [2021-05-12T18:37:19.646Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 18:34 LICENSE [2021-05-12T18:37:19.646Z] -rw-rw-r-- 1 jenkins jenkins 914 May 12 18:34 Makefile [2021-05-12T18:37:19.646Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 12 18:34 README.md [2021-05-12T18:37:19.646Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 18:31 VERSION [2021-05-12T18:37:19.646Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 18:34 bin [2021-05-12T18:37:19.646Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 18:34 cmd [2021-05-12T18:37:19.646Z] -rw-r--r-- 1 jenkins jenkins 47247 May 12 18:36 coverage.out [2021-05-12T18:37:19.646Z] -rw-r--r-- 1 jenkins jenkins 809 May 12 18:37 go.mod [2021-05-12T18:37:19.646Z] -rw-r--r-- 1 jenkins jenkins 23036 May 12 18:35 go.sum [2021-05-12T18:37:19.646Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 18:34 internal [2021-05-12T18:37:19.646Z] -rw-rw-r-- 1 jenkins jenkins 235 May 12 18:34 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:37:20.118Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8b1c0122b21a394787c1f5035f66cfa13d6781b2 --label arch=arm64 --label version=0.0.0 . [2021-05-12T18:37:20.731Z] Sending build context to Docker daemon 8.66MB [2021-05-12T18:37:20.731Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T18:37:20.731Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-12T18:37:20.731Z] ---> 1c206003257a [2021-05-12T18:37:20.731Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T18:37:21.328Z] ---> Running in 6bc8e19a698c [2021-05-12T18:37:21.605Z] Removing intermediate container 6bc8e19a698c [2021-05-12T18:37:21.605Z] ---> 5ebc94e43a52 [2021-05-12T18:37:21.605Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T18:37:21.880Z] ---> Running in 0cef3f5e9185 [2021-05-12T18:37:22.153Z] Removing intermediate container 0cef3f5e9185 [2021-05-12T18:37:22.153Z] ---> a1c879d32f7d [2021-05-12T18:37:22.153Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-12T18:37:22.426Z] ---> Running in 6937302a6ce2 [2021-05-12T18:37:23.043Z] Removing intermediate container 6937302a6ce2 [2021-05-12T18:37:23.043Z] ---> ec097a9a7d11 [2021-05-12T18:37:23.043Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T18:37:23.043Z] ---> Running in c09bb3bec296 [2021-05-12T18:37:25.028Z] Removing intermediate container c09bb3bec296 [2021-05-12T18:37:25.028Z] ---> 9d5431ad1140 [2021-05-12T18:37:25.028Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T18:37:25.301Z] ---> Running in ea0d788167c0 [2021-05-12T18:37:26.274Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T18:37:27.257Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T18:37:28.684Z] OK: 145 MiB in 53 packages [2021-05-12T18:37:29.662Z] Removing intermediate container ea0d788167c0 [2021-05-12T18:37:29.662Z] ---> 8007af655f38 [2021-05-12T18:37:29.662Z] Step 8/25 : COPY . . [2021-05-12T18:37:31.095Z] ---> e573b3490732 [2021-05-12T18:37:31.095Z] Step 9/25 : RUN go mod download [2021-05-12T18:37:31.095Z] ---> Running in 8a19ac5fb512 [2021-05-12T18:37:33.072Z] Removing intermediate container 8a19ac5fb512 [2021-05-12T18:37:33.072Z] ---> a16dbef5078e [2021-05-12T18:37:33.072Z] Step 10/25 : ARG MAKE='make build' [2021-05-12T18:37:33.348Z] ---> Running in 0e0f95ac2274 [2021-05-12T18:37:33.944Z] Removing intermediate container 0e0f95ac2274 [2021-05-12T18:37:33.944Z] ---> c444a64daa63 [2021-05-12T18:37:33.944Z] Step 11/25 : RUN $MAKE [2021-05-12T18:37:33.944Z] ---> Running in 5bc16c57b03f [2021-05-12T18:37:34.929Z] go mod tidy [2021-05-12T18:37:35.532Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-12T18:37:41.840Z] lf-activate-venv(): INFO: Adding /tmp/venv-rfAM/bin to PATH [2021-05-12T18:37:41.840Z] INFO: No Stack... [2021-05-12T18:37:41.840Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T18:37:41.840Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T18:37:42.187Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-12T18:37:42.187Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T18:37:42.272Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] [2021-05-12T18:37:42.279Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] did not exist. Created. [2021-05-12T18:37:42.280Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T18:37:42.702Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T18:37:42.866Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T18:37:42.890Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T18:38:22.531Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T18:38:32.734Z] Removing intermediate container 5bc16c57b03f [2021-05-12T18:38:32.734Z] ---> db2cd3765f68 [2021-05-12T18:38:32.734Z] Step 12/25 : FROM alpine:3.12 [2021-05-12T18:38:32.734Z] 3.12: Pulling from library/alpine [2021-05-12T18:38:32.734Z] d2f70382dc9a: Pulling fs layer [2021-05-12T18:38:32.734Z] d2f70382dc9a: Download complete [2021-05-12T18:38:33.348Z] d2f70382dc9a: Pull complete [2021-05-12T18:38:33.348Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T18:38:33.348Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T18:38:33.348Z] ---> 9852663dfa18 [2021-05-12T18:38:33.348Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-12T18:38:33.348Z] ---> Running in 1c5fd546fa84 [2021-05-12T18:38:33.948Z] Removing intermediate container 1c5fd546fa84 [2021-05-12T18:38:33.948Z] ---> 74156bc08cf2 [2021-05-12T18:38:33.948Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T18:38:34.223Z] ---> Running in 870b396ef060 [2021-05-12T18:38:36.198Z] Removing intermediate container 870b396ef060 [2021-05-12T18:38:36.198Z] ---> d47dec1e4598 [2021-05-12T18:38:36.198Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T18:38:36.472Z] ---> Running in 107399955c10 [2021-05-12T18:38:37.453Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T18:38:38.467Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T18:38:39.061Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T18:38:39.061Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T18:38:39.061Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T18:38:39.333Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T18:38:39.606Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T18:38:39.878Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T18:38:39.878Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T18:38:40.153Z] OK: 8 MiB in 20 packages [2021-05-12T18:38:41.150Z] Removing intermediate container 107399955c10 [2021-05-12T18:38:41.150Z] ---> 2cb24c8cd2f2 [2021-05-12T18:38:41.150Z] Step 16/25 : WORKDIR / [2021-05-12T18:38:41.423Z] ---> Running in 052082668b51 [2021-05-12T18:38:42.017Z] Removing intermediate container 052082668b51 [2021-05-12T18:38:42.017Z] ---> 3013e9d1223f [2021-05-12T18:38:42.017Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-12T18:38:42.611Z] ---> 7315779c29cb [2021-05-12T18:38:42.611Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-12T18:38:43.601Z] ---> 017094cf6ea5 [2021-05-12T18:38:43.602Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-12T18:38:44.583Z] ---> 757a7a3e6cb2 [2021-05-12T18:38:44.583Z] Step 20/25 : EXPOSE 49990 [2021-05-12T18:38:44.859Z] ---> Running in 3cac0ae9efa6 [2021-05-12T18:38:45.455Z] Removing intermediate container 3cac0ae9efa6 [2021-05-12T18:38:45.455Z] ---> 4a2f809bed44 [2021-05-12T18:38:45.455Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-12T18:38:45.455Z] ---> Running in a30057039c00 [2021-05-12T18:38:46.051Z] Removing intermediate container a30057039c00 [2021-05-12T18:38:46.052Z] ---> a55a418e1112 [2021-05-12T18:38:46.052Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T18:38:46.052Z] ---> Running in 6c6db193ee17 [2021-05-12T18:38:46.650Z] Removing intermediate container 6c6db193ee17 [2021-05-12T18:38:46.650Z] ---> 22da6cd73e3c [2021-05-12T18:38:46.650Z] Step 23/25 : LABEL arch=arm64 [2021-05-12T18:38:46.650Z] ---> Running in 9a21042fba53 [2021-05-12T18:38:47.247Z] Removing intermediate container 9a21042fba53 [2021-05-12T18:38:47.247Z] ---> 51e330dbe305 [2021-05-12T18:38:47.247Z] Step 24/25 : LABEL git_sha=8b1c0122b21a394787c1f5035f66cfa13d6781b2 [2021-05-12T18:38:47.247Z] ---> Running in c18d9bde9e2f [2021-05-12T18:38:47.848Z] Removing intermediate container c18d9bde9e2f [2021-05-12T18:38:47.848Z] ---> d9634cc00779 [2021-05-12T18:38:47.848Z] Step 25/25 : LABEL version=0.0.0 [2021-05-12T18:38:47.848Z] ---> Running in 883d31b91ecb [2021-05-12T18:38:48.449Z] Removing intermediate container 883d31b91ecb [2021-05-12T18:38:48.449Z] ---> 7c4c3beacb2f [2021-05-12T18:38:48.449Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T18:38:48.449Z] Successfully built 7c4c3beacb2f [2021-05-12T18:38:48.449Z] Successfully tagged device-virtual-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-12T18:38:49.227Z] ---> job-cost.sh [2021-05-12T18:38:49.228Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ukbP [2021-05-12T18:39:28.198Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T18:40:49.961Z] lf-activate-venv(): INFO: Adding /tmp/venv-ukbP/bin to PATH [2021-05-12T18:40:49.961Z] INFO: No Stack... [2021-05-12T18:40:50.551Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T18:40:50.825Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T18:40:51.188Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-12T18:40:51.188Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T18:40:51.327Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] [2021-05-12T18:40:51.333Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] did not exist. Created. [2021-05-12T18:40:51.333Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T18:40:51.779Z] /w/workspace/device-virtual-go/1@tmp/durable-fef91b8a/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-fef91b8a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T18:40:52.151Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T18:40:52.191Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T18:40:52.340Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T18:40:52.360Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-12T18:40:53.393Z] provisioning config files... [2021-05-12T18:40:53.408Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config5104335126822448693tmp [Pipeline] { [Pipeline] sh [2021-05-12T18:40:53.851Z] + set +x [2021-05-12T18:40:53.851Z] + curl -s https://codecov.io/bash [2021-05-12T18:40:53.851Z] + bash -s -- [2021-05-12T18:40:54.116Z] [2021-05-12T18:40:54.116Z] _____ _ [2021-05-12T18:40:54.116Z] / ____| | | [2021-05-12T18:40:54.116Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T18:40:54.116Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T18:40:54.116Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T18:40:54.116Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T18:40:54.116Z] Bash-1.0.2 [2021-05-12T18:40:54.116Z] [2021-05-12T18:40:54.116Z] [2021-05-12T18:40:54.116Z] ==> git version 2.24.3 found [2021-05-12T18:40:54.116Z] ==> 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-12T18:40:54.116Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T18:40:54.116Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T18:40:54.116Z] ==> Jenkins CI detected. [2021-05-12T18:40:54.116Z] project root: . [2021-05-12T18:40:54.116Z] --> token set from env [2021-05-12T18:40:54.116Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T18:40:54.116Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T18:40:54.116Z] ==> Python coveragepy not found [2021-05-12T18:40:54.116Z] ==> Searching for coverage reports in: [2021-05-12T18:40:54.116Z] + . [2021-05-12T18:40:54.116Z] -> Found 1 reports [2021-05-12T18:40:54.116Z] ==> Detecting git/mercurial file structure [2021-05-12T18:40:54.116Z] ==> Reading reports [2021-05-12T18:40:54.116Z] + ./coverage.out bytes=47247 [2021-05-12T18:40:54.116Z] ==> Appending adjustments [2021-05-12T18:40:54.116Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T18:40:54.378Z] + Found adjustments [2021-05-12T18:40:54.378Z] ==> Gzipping contents [2021-05-12T18:40:54.378Z] 8.0K /tmp/codecov.58oLKb.gz [2021-05-12T18:40:54.378Z] ==> Uploading reports [2021-05-12T18:40:54.378Z] url: https://codecov.io [2021-05-12T18:40:54.378Z] query: branch=PR-204&commit=8b1c0122b21a394787c1f5035f66cfa13d6781b2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2021-05-12T18:40:54.378Z] -> Pinging Codecov [2021-05-12T18:40:54.378Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-204&commit=8b1c0122b21a394787c1f5035f66cfa13d6781b2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2021-05-12T18:40:54.953Z] -> Uploading to [2021-05-12T18:40:54.953Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/5E52B4B073DB2E39498172D8E973AA87/8b1c0122b21a394787c1f5035f66cfa13d6781b2/97125b54-2685-4305-bba5-fbabfd2d7fdd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T184054Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c5312f877d564476ca2b3bafacbe352dc40df7a4c9bc2984d476a9806d338958 [2021-05-12T18:40:54.953Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T18:40:54.953Z] Dload Upload Total Spent Left Speed [2021-05-12T18:40:55.216Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5796 0 0 100 5796 0 13163 --:--:-- --:--:-- --:--:-- 13172 [2021-05-12T18:40:55.216Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8b1c0122b21a394787c1f5035f66cfa13d6781b2 [Pipeline] } [2021-05-12T18:40:55.251Z] 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-12T18:40:57.097Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:40:57.714Z] ---> package-listing.sh [2021-05-12T18:40:57.714Z] ++ facter osfamily [2021-05-12T18:40:57.714Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T18:40:57.714Z] + OS_FAMILY=redhat [2021-05-12T18:40:57.714Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-204 [2021-05-12T18:40:57.714Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T18:40:57.714Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T18:40:57.714Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T18:40:57.714Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T18:40:57.714Z] + '[' /w/workspace/foundry_device-virtual-go_PR-204 ']' [2021-05-12T18:40:57.714Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T18:40:57.714Z] + case "${OS_FAMILY}" in [2021-05-12T18:40:57.714Z] + rpm -qa [2021-05-12T18:40:57.714Z] + sort [2021-05-12T18:41:03.023Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T18:41:03.023Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T18:41:03.023Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T18:41:03.023Z] + '[' /w/workspace/foundry_device-virtual-go_PR-204 ']' [2021-05-12T18:41:03.023Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-204/archives/ [2021-05-12T18:41:03.023Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-204/archives/ [Pipeline] echo [2021-05-12T18:41:03.054Z] 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/foundry_device-virtual-go_PR-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T18:41:03.358Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:41:03.708Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T18:41:03.708Z] [2021-05-12T18:41:03.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:41:04.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T18:41:04.072Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T18:41:04.072Z] df20fa9351a1: Pulling fs layer [2021-05-12T18:41:04.072Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T18:41:04.072Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T18:41:04.072Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T18:41:04.072Z] 93b61091891f: Pulling fs layer [2021-05-12T18:41:04.072Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T18:41:04.072Z] 5e14af77c1be: Pulling fs layer [2021-05-12T18:41:04.072Z] 01666e4c0597: Pulling fs layer [2021-05-12T18:41:04.072Z] aa168da1d23b: Pulling fs layer [2021-05-12T18:41:04.072Z] 93b9cdb0e59b: Waiting [2021-05-12T18:41:04.072Z] 46f8f816bc3b: Waiting [2021-05-12T18:41:04.072Z] 93b61091891f: Waiting [2021-05-12T18:41:04.072Z] 5e14af77c1be: Waiting [2021-05-12T18:41:04.072Z] 01666e4c0597: Waiting [2021-05-12T18:41:04.072Z] aa168da1d23b: Waiting [2021-05-12T18:41:04.072Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T18:41:04.072Z] 36b3adc4ff6f: Download complete [2021-05-12T18:41:04.072Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T18:41:04.072Z] 46f8f816bc3b: Download complete [2021-05-12T18:41:04.072Z] df20fa9351a1: Verifying Checksum [2021-05-12T18:41:04.072Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T18:41:04.072Z] 93b9cdb0e59b: Download complete [2021-05-12T18:41:04.072Z] 5e14af77c1be: Verifying Checksum [2021-05-12T18:41:04.072Z] 5e14af77c1be: Download complete [2021-05-12T18:41:04.072Z] 01666e4c0597: Verifying Checksum [2021-05-12T18:41:04.072Z] 01666e4c0597: Download complete [2021-05-12T18:41:04.649Z] 8ad3a11d3b57: Download complete [2021-05-12T18:41:04.649Z] df20fa9351a1: Pull complete [2021-05-12T18:41:04.915Z] 36b3adc4ff6f: Pull complete [2021-05-12T18:41:05.493Z] 93b61091891f: Verifying Checksum [2021-05-12T18:41:05.493Z] 93b61091891f: Download complete [2021-05-12T18:41:05.493Z] 8ad3a11d3b57: Pull complete [2021-05-12T18:41:05.755Z] 46f8f816bc3b: Pull complete [2021-05-12T18:41:06.702Z] aa168da1d23b: Verifying Checksum [2021-05-12T18:41:06.702Z] aa168da1d23b: Download complete [2021-05-12T18:41:07.275Z] 93b61091891f: Pull complete [2021-05-12T18:41:07.275Z] 93b9cdb0e59b: Pull complete [2021-05-12T18:41:07.542Z] 5e14af77c1be: Pull complete [2021-05-12T18:41:07.542Z] 01666e4c0597: Pull complete [2021-05-12T18:41:15.754Z] aa168da1d23b: Pull complete [2021-05-12T18:41:15.754Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T18:41:15.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T18:41:15.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T18:41:15.954Z] prd-centos7-docker-4c-2g-4734 does not seem to be running inside a container [2021-05-12T18:41:16.001Z] $ 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/foundry_device-virtual-go_PR-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-204 -v /w/workspace/foundry_device-virtual-go_PR-204:/w/workspace/foundry_device-virtual-go_PR-204:rw,z -v /w/workspace/foundry_device-virtual-go_PR-204@tmp:/w/workspace/foundry_device-virtual-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T18:41:20.127Z] $ docker top 49acf1161b63c4cbefe73d410a1fb082eb0f58a77f1bd7612fa0b96e9c19f1c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T18:41:20.635Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T18:41:20.981Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T18:41:21.300Z] + ls /var/log/sa-host [2021-05-12T18:41:21.300Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T18:41:21.300Z] file_magic: OK [2021-05-12T18:41:21.300Z] HZ: Using current value: 100 [2021-05-12T18:41:21.300Z] file_header: OK [2021-05-12T18:41:21.300Z] 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-12T18:41:21.300Z] Statistics: [2021-05-12T18:41:21.300Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T18:41:21.301Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T18:41:21.301Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T18:41:21.301Z] file_magic: OK [2021-05-12T18:41:21.301Z] HZ: Using current value: 100 [2021-05-12T18:41:21.301Z] file_header: OK [2021-05-12T18:41:21.301Z] 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-12T18:41:21.301Z] Statistics: [2021-05-12T18:41:21.301Z] Hnuu...uuuununununu... [2021-05-12T18:41:21.301Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T18:41:21.554Z] provisioning config files... [2021-05-12T18:41:21.569Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config3546374250614902242tmp [Pipeline] { [Pipeline] echo [2021-05-12T18:41:21.627Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:41:21.955Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T18:41:21.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T18:41:22.063Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:41:22.393Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T18:41:22.423Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:41:22.752Z] ---> sudo-logs.sh [2021-05-12T18:41:22.753Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T18:41:22.832Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:41:23.185Z] ---> job-cost.sh [2021-05-12T18:41:23.185Z] lf-activate-venv: SKIPPING [2021-05-12T18:41:23.185Z] DEBUG: total: 0.20999999344348907 [2021-05-12T18:41:23.185Z] INFO: Retrieving Stack Cost... [2021-05-12T18:41:24.577Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T18:41:25.150Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T18:41:25.183Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:41:25.510Z] ---> logs-deploy.sh [2021-05-12T18:41:25.510Z] lf-activate-venv: SKIPPING [2021-05-12T18:41:25.510Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-204/1 [2021-05-12T18:41:25.510Z] INFO: archiving workspace using pattern(s): [2021-05-12T18:41:27.448Z] Archives upload complete. [2021-05-12T18:41:27.448Z] INFO: archiving logs to Nexus