Pull request #240 opened Connecting to https://api.github.com using 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 bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff+4101374aba6aaebd04804f9de13bcb00ee2f3b6a (2f12e28afadeb2f9a3f89ab27286e8541fb8dfb6) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7689714508823377830.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3022943865038278014.key > 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 c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git 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-240/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-240/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3012748308221173898.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-240/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1221422775209829071.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh102558910582584206.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE 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-240/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-240/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1469174679171959374.key > 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 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 c141c1271097dc03ad291c2451e310eaf98cdd06 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_BUILD_IMAGE_TARGET: builder 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1249 in /w/workspace/foundry_device-virtual-go_PR-240 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-240 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-240@tmp/jenkins-gitclient-ssh4480357812184687954.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-240@tmp/jenkins-gitclient-ssh974647168931045199.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4101374aba6aaebd04804f9de13bcb00ee2f3b6a into PR head commit bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff Merge succeeded, producing bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff Checking out Revision bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff (PR-240) > git config core.sparsecheckout # timeout=10 > git checkout -f bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-240@tmp/jenkins-gitclient-ssh4919015904470850231.key > git merge 4101374aba6aaebd04804f9de13bcb00ee2f3b6a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff # timeout=10 Commit message: "ci: Update PR Template" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-04T18:00:23.256Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-04T18:00:23.451Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-04T18:00:23.576Z] ========================================================= [2021-10-04T18:00:23.576Z] EdgeX Global Pipelines Version Info [2021-10-04T18:00:23.576Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:00:24.525Z] ------------------- [2021-10-04T18:00:24.525Z] stable info: [2021-10-04T18:00:24.525Z] ------------------- [2021-10-04T18:00:24.525Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-04T18:00:24.525Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T18:00:24.525Z] Message: update stable to v1.0.206 [2021-10-04T18:00:25.496Z] ------------------- [2021-10-04T18:00:25.496Z] experimental info: [2021-10-04T18:00:25.496Z] ------------------- [2021-10-04T18:00:25.496Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-04T18:00:25.496Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T18:00:25.496Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-04T18:00:25.741Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-10-04T18:00:25.804Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-10-04T18:00:25.866Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-04T18:00:25.936Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-04T18:00:25.997Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-04T18:00:26.057Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-04T18:00:26.119Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-04T18:00:26.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-04T18:00:26.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-04T18:00:26.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-04T18:00:26.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-04T18:00:26.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-04T18:00:26.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-10-04T18:00:26.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-04T18:00:26.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-04T18:00:26.722Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-04T18:00:26.812Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-04T18:00:26.887Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T18:00:26.939Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T18:00:26.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-04T18:00:27.053Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-04T18:00:27.109Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-04T18:00:27.170Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-04T18:00:27.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-04T18:00:27.299Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-04T18:00:27.376Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-04T18:00:27.440Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-04T18:00:27.505Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-240 [Pipeline] echo [2021-10-04T18:00:27.567Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-240 [Pipeline] echo [2021-10-04T18:00:27.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-240 [Pipeline] echo [2021-10-04T18:00:27.687Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff [Pipeline] echo [2021-10-04T18:00:27.749Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd6935e [Pipeline] echo [2021-10-04T18:00:27.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T18:00:27.967Z] provisioning config files... [2021-10-04T18:00:27.986Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-240@tmp/config6868721882021782369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:00:28.375Z] ---> docker-login.sh [2021-10-04T18:00:28.375Z] nexus3.edgexfoundry.org:10001 [2021-10-04T18:00:28.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:00:30.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T18:00:30.332Z] Configure a credential helper to remove this warning. See [2021-10-04T18:00:30.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T18:00:30.332Z] [2021-10-04T18:00:30.332Z] Login Succeeded [2021-10-04T18:00:30.332Z] nexus3.edgexfoundry.org:10002 [2021-10-04T18:00:30.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:00:36.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T18:00:36.990Z] Configure a credential helper to remove this warning. See [2021-10-04T18:00:36.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T18:00:36.990Z] [2021-10-04T18:00:36.990Z] Login Succeeded [2021-10-04T18:00:36.990Z] nexus3.edgexfoundry.org:10003 [2021-10-04T18:00:36.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:00:36.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T18:00:36.990Z] Configure a credential helper to remove this warning. See [2021-10-04T18:00:36.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T18:00:36.990Z] [2021-10-04T18:00:36.990Z] Login Succeeded [2021-10-04T18:00:36.990Z] nexus3.edgexfoundry.org:10004 [2021-10-04T18:00:36.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:00:36.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T18:00:36.990Z] Configure a credential helper to remove this warning. See [2021-10-04T18:00:36.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T18:00:36.990Z] [2021-10-04T18:00:36.990Z] Login Succeeded [2021-10-04T18:00:36.990Z] docker.io [2021-10-04T18:00:36.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:00:37.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T18:00:37.257Z] Configure a credential helper to remove this warning. See [2021-10-04T18:00:37.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T18:00:37.257Z] [2021-10-04T18:00:37.257Z] Login Succeeded [2021-10-04T18:00:37.257Z] ---> docker-login.sh ends [Pipeline] } [2021-10-04T18:00:37.286Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-04T18:00:38.151Z] + git log --format=format:%s -1 bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff [Pipeline] echo [2021-10-04T18:00:38.240Z] GIT_COMMIT: bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff, Commit Message: ci: Update PR Template [Pipeline] echo [2021-10-04T18:00:38.284Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:00:38.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T18:00:38.897Z] [2021-10-04T18:00:38.897Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:00:39.281Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T18:00:40.697Z] latest: Pulling from edgex-devops/git-semver [2021-10-04T18:00:40.697Z] 31603596830f: Pulling fs layer [2021-10-04T18:00:40.697Z] 04fac38145f0: Pulling fs layer [2021-10-04T18:00:40.697Z] 701f6daf10bf: Pulling fs layer [2021-10-04T18:00:40.697Z] 24f72da36158: Pulling fs layer [2021-10-04T18:00:40.697Z] 24f72da36158: Waiting [2021-10-04T18:00:40.697Z] 04fac38145f0: Verifying Checksum [2021-10-04T18:00:40.697Z] 04fac38145f0: Download complete [2021-10-04T18:00:40.963Z] 31603596830f: Verifying Checksum [2021-10-04T18:00:40.963Z] 31603596830f: Download complete [2021-10-04T18:00:40.963Z] 24f72da36158: Verifying Checksum [2021-10-04T18:00:40.963Z] 24f72da36158: Download complete [2021-10-04T18:00:40.963Z] 701f6daf10bf: Verifying Checksum [2021-10-04T18:00:40.963Z] 701f6daf10bf: Download complete [2021-10-04T18:00:40.963Z] 31603596830f: Pull complete [2021-10-04T18:00:41.233Z] 04fac38145f0: Pull complete [2021-10-04T18:00:41.833Z] 701f6daf10bf: Pull complete [2021-10-04T18:00:42.105Z] 24f72da36158: Pull complete [2021-10-04T18:00:42.105Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-04T18:00:42.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T18:00:42.105Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-04T18:00:42.215Z] prd-centos7-docker-4c-2g-1249 does not seem to be running inside a container [2021-10-04T18:00:42.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-240 -v /w/workspace/foundry_device-virtual-go_PR-240:/w/workspace/foundry_device-virtual-go_PR-240:rw,z -v /w/workspace/foundry_device-virtual-go_PR-240@tmp:/w/workspace/foundry_device-virtual-go_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-04T18:00:43.818Z] $ docker top b2fa8fbb37cf3d94e0bf5972d6e2c1368093d1efb14c007a53d7459435cdaa68 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-04T18:00:44.025Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-04T18:00:44.025Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-04T18:00:44.143Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-04T18:00:44.145Z] $ docker exec b2fa8fbb37cf3d94e0bf5972d6e2c1368093d1efb14c007a53d7459435cdaa68 ssh-agent [2021-10-04T18:00:44.259Z] SSH_AUTH_SOCK=/tmp/ssh-64GY0dpVcx1F/agent.15 [2021-10-04T18:00:44.259Z] SSH_AGENT_PID=21 [2021-10-04T18:00:44.273Z] Running ssh-add (command line suppressed) [2021-10-04T18:00:44.393Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-240@tmp/private_key_3272482004923852874.key (/w/workspace/foundry_device-virtual-go_PR-240@tmp/private_key_3272482004923852874.key) [2021-10-04T18:00:44.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-04T18:00:44.780Z] + git tag --points-at HEAD [Pipeline] } [2021-10-04T18:00:44.808Z] $ docker exec --env ******** --env ******** b2fa8fbb37cf3d94e0bf5972d6e2c1368093d1efb14c007a53d7459435cdaa68 ssh-agent -k [2021-10-04T18:00:44.918Z] unset SSH_AUTH_SOCK; [2021-10-04T18:00:44.918Z] unset SSH_AGENT_PID; [2021-10-04T18:00:44.919Z] echo Agent pid 21 killed; [2021-10-04T18:00:44.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-04T18:00:45.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-04T18:00:45.029Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-04T18:00:45.151Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-04T18:00:45.154Z] $ docker exec b2fa8fbb37cf3d94e0bf5972d6e2c1368093d1efb14c007a53d7459435cdaa68 ssh-agent [2021-10-04T18:00:45.263Z] SSH_AUTH_SOCK=/tmp/ssh-JTIO70O9Li0M/agent.56 [2021-10-04T18:00:45.263Z] SSH_AGENT_PID=63 [2021-10-04T18:00:45.271Z] Running ssh-add (command line suppressed) [2021-10-04T18:00:45.367Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-240@tmp/private_key_628660218887450997.key (/w/workspace/foundry_device-virtual-go_PR-240@tmp/private_key_628660218887450997.key) [2021-10-04T18:00:45.390Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-04T18:00:45.760Z] + git semver init [2021-10-04T18:00:45.760Z] # -> Open(): unable to determine branch for HEAD [2021-10-04T18:00:45.760Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-240/.git [2021-10-04T18:00:45.760Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-240 [2021-10-04T18:00:45.760Z] # $SEMVER_REMOTE_NAME = origin [2021-10-04T18:00:45.760Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-04T18:00:45.760Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-04T18:00:45.760Z] # $SEMVER_BRANCH = PR-240 [2021-10-04T18:00:45.760Z] # $SEMVER_TEMP = /tmp/semver-824195604 [2021-10-04T18:00:45.760Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-10-04T18:00:46.730Z] # '/tmp/semver-824195604' -> '/w/workspace/foundry_device-virtual-go_PR-240/.semver' [2021-10-04T18:00:46.730Z] # -> Force: false [2021-10-04T18:00:46.730Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-240/.semver [Pipeline] } [2021-10-04T18:00:46.755Z] $ docker exec --env ******** --env ******** b2fa8fbb37cf3d94e0bf5972d6e2c1368093d1efb14c007a53d7459435cdaa68 ssh-agent -k [2021-10-04T18:00:46.853Z] unset SSH_AUTH_SOCK; [2021-10-04T18:00:46.853Z] unset SSH_AGENT_PID; [2021-10-04T18:00:46.853Z] echo Agent pid 63 killed; [2021-10-04T18:00:46.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-04T18:00:47.321Z] + git semver [Pipeline] } [2021-10-04T18:00:47.358Z] $ docker stop --time=1 b2fa8fbb37cf3d94e0bf5972d6e2c1368093d1efb14c007a53d7459435cdaa68 [2021-10-04T18:00:48.608Z] $ docker rm -f b2fa8fbb37cf3d94e0bf5972d6e2c1368093d1efb14c007a53d7459435cdaa68 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-04T18:00:49.076Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-04T18:00:49.478Z] Stashed 1 file(s) [Pipeline] echo [2021-10-04T18:00:49.500Z] [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-10-04T18:01:05.109Z] Still waiting to schedule task [2021-10-04T18:01:05.110Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-04T18:01:05.135Z] Still waiting to schedule task [2021-10-04T18:01:05.135Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1216’ is offline [2021-10-04T18:06:17.804Z] Running on prd-centos7-docker-4c-2g-1319 in /w/workspace/foundry_device-virtual-go_PR-240 [Pipeline] { [Pipeline] ws [2021-10-04T18:06:17.976Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-10-04T18:06:18.204Z] The recommended git tool is: git [2021-10-04T18:06:21.317Z] using credential edgex-jenkins-ssh [2021-10-04T18:06:21.331Z] Cloning the remote Git repository [2021-10-04T18:06:21.261Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-10-04T18:06:21.336Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-10-04T18:06:21.368Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-04T18:06:21.369Z] > git --version # timeout=10 [2021-10-04T18:06:21.375Z] > git --version # 'git version 2.24.4' [2021-10-04T18:06:21.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T18:06:21.402Z] [INFO] Currently running in a labeled security context [2021-10-04T18:06:21.402Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-04T18:06:21.402Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh7853009053921502643.key [2021-10-04T18:06:21.432Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T18:06:22.352Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-04T18:06:22.361Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T18:06:22.371Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-04T18:06:22.387Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-04T18:06:22.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T18:06:22.388Z] [INFO] Currently running in a labeled security context [2021-10-04T18:06:22.388Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-04T18:06:22.389Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh194314312196963651.key [2021-10-04T18:06:22.397Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-04T18:06:22.948Z] Merging remotes/origin/main commit 4101374aba6aaebd04804f9de13bcb00ee2f3b6a into PR head commit bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff [2021-10-04T18:06:23.049Z] Merge succeeded, producing bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff [2021-10-04T18:06:23.049Z] Checking out Revision bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff (PR-240) [2021-10-04T18:06:22.957Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T18:06:22.971Z] > git checkout -f bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff # timeout=10 [2021-10-04T18:06:23.005Z] > git remote # timeout=10 [2021-10-04T18:06:23.010Z] > git config --get remote.origin.url # timeout=10 [2021-10-04T18:06:23.016Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T18:06:23.017Z] [INFO] Currently running in a labeled security context [2021-10-04T18:06:23.017Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-04T18:06:23.017Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh28239311216441422.key [2021-10-04T18:06:23.025Z] > git merge 4101374aba6aaebd04804f9de13bcb00ee2f3b6a # timeout=10 [2021-10-04T18:06:23.035Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-04T18:06:23.052Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T18:06:23.059Z] > git checkout -f bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff # timeout=10 [2021-10-04T18:06:26.844Z] Commit message: "ci: Update PR Template" [2021-10-04T18:06:26.876Z] > git --version # timeout=10 [2021-10-04T18:06:26.881Z] > git --version # 'git version 2.24.4' [2021-10-04T18:06:26.886Z] fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T18:06:27.569Z] provisioning config files... [2021-10-04T18:06:27.601Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5703798796021343177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:06:28.117Z] ---> docker-login.sh [2021-10-04T18:06:28.117Z] nexus3.edgexfoundry.org:10001 [2021-10-04T18:06:28.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:06:28.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T18:06:28.117Z] Configure a credential helper to remove this warning. See [2021-10-04T18:06:28.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T18:06:28.117Z] [2021-10-04T18:06:28.117Z] Login Succeeded [2021-10-04T18:06:28.117Z] nexus3.edgexfoundry.org:10002 [2021-10-04T18:06:28.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:06:28.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T18:06:28.384Z] Configure a credential helper to remove this warning. See [2021-10-04T18:06:28.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T18:06:28.384Z] [2021-10-04T18:06:28.384Z] Login Succeeded [2021-10-04T18:06:28.384Z] nexus3.edgexfoundry.org:10003 [2021-10-04T18:06:28.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:06:28.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T18:06:28.651Z] Configure a credential helper to remove this warning. See [2021-10-04T18:06:28.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T18:06:28.651Z] [2021-10-04T18:06:28.651Z] Login Succeeded [2021-10-04T18:06:28.651Z] nexus3.edgexfoundry.org:10004 [2021-10-04T18:06:28.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:06:28.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T18:06:28.651Z] Configure a credential helper to remove this warning. See [2021-10-04T18:06:28.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T18:06:28.651Z] [2021-10-04T18:06:28.651Z] Login Succeeded [2021-10-04T18:06:28.651Z] docker.io [2021-10-04T18:06:28.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:06:29.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T18:06:29.233Z] Configure a credential helper to remove this warning. See [2021-10-04T18:06:29.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T18:06:29.233Z] [2021-10-04T18:06:29.233Z] Login Succeeded [2021-10-04T18:06:29.233Z] ---> docker-login.sh ends [Pipeline] } [2021-10-04T18:06:29.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-04T18:06:29.626Z] ========================================================= [2021-10-04T18:06:29.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-04T18:06:29.626Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:06:30.081Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-04T18:06:30.081Z] Sending build context to Docker daemon 8.617MB [2021-10-04T18:06:30.081Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-10-04T18:06:30.081Z] Step 2/12 : FROM ${BASE} AS builder [2021-10-04T18:06:30.357Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-04T18:06:30.357Z] 540db60ca938: Pulling fs layer [2021-10-04T18:06:30.357Z] adcc1eea9eea: Pulling fs layer [2021-10-04T18:06:30.357Z] 4c4ab2625f07: Pulling fs layer [2021-10-04T18:06:30.357Z] db62176df00c: Pulling fs layer [2021-10-04T18:06:30.357Z] 3b30891b0d05: Pulling fs layer [2021-10-04T18:06:30.357Z] 06b49ca38bd5: Pulling fs layer [2021-10-04T18:06:30.357Z] c788192a36de: Pulling fs layer [2021-10-04T18:06:30.357Z] a77e37c0d609: Pulling fs layer [2021-10-04T18:06:30.357Z] c3185cebc471: Pulling fs layer [2021-10-04T18:06:30.357Z] 06b49ca38bd5: Waiting [2021-10-04T18:06:30.357Z] c788192a36de: Waiting [2021-10-04T18:06:30.357Z] a77e37c0d609: Waiting [2021-10-04T18:06:30.357Z] c3185cebc471: Waiting [2021-10-04T18:06:30.357Z] db62176df00c: Waiting [2021-10-04T18:06:30.357Z] 3b30891b0d05: Waiting [2021-10-04T18:06:30.357Z] 4c4ab2625f07: Verifying Checksum [2021-10-04T18:06:30.357Z] 4c4ab2625f07: Download complete [2021-10-04T18:06:30.357Z] adcc1eea9eea: Verifying Checksum [2021-10-04T18:06:30.357Z] adcc1eea9eea: Download complete [2021-10-04T18:06:30.357Z] 3b30891b0d05: Verifying Checksum [2021-10-04T18:06:30.357Z] 3b30891b0d05: Download complete [2021-10-04T18:06:30.357Z] 06b49ca38bd5: Verifying Checksum [2021-10-04T18:06:30.357Z] 06b49ca38bd5: Download complete [2021-10-04T18:06:30.357Z] 540db60ca938: Verifying Checksum [2021-10-04T18:06:30.357Z] 540db60ca938: Download complete [2021-10-04T18:06:30.357Z] c788192a36de: Download complete [2021-10-04T18:06:30.622Z] 540db60ca938: Pull complete [2021-10-04T18:06:30.622Z] adcc1eea9eea: Pull complete [2021-10-04T18:06:30.622Z] 4c4ab2625f07: Pull complete [2021-10-04T18:06:31.202Z] a77e37c0d609: Verifying Checksum [2021-10-04T18:06:31.202Z] a77e37c0d609: Download complete [2021-10-04T18:06:32.164Z] db62176df00c: Verifying Checksum [2021-10-04T18:06:32.164Z] db62176df00c: Download complete [2021-10-04T18:06:32.770Z] c3185cebc471: Verifying Checksum [2021-10-04T18:06:32.770Z] c3185cebc471: Download complete [2021-10-04T18:06:36.137Z] db62176df00c: Pull complete [2021-10-04T18:06:36.137Z] 3b30891b0d05: Pull complete [2021-10-04T18:06:36.137Z] 06b49ca38bd5: Pull complete [2021-10-04T18:06:36.137Z] c788192a36de: Pull complete [2021-10-04T18:06:36.137Z] a77e37c0d609: Pull complete [2021-10-04T18:06:39.521Z] c3185cebc471: Pull complete [2021-10-04T18:06:39.521Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-10-04T18:06:39.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-04T18:06:39.521Z] ---> 031687cdd783 [2021-10-04T18:06:39.521Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-04T18:06:41.036Z] ---> Running in 9195931f2bb5 [2021-10-04T18:06:41.036Z] Removing intermediate container 9195931f2bb5 [2021-10-04T18:06:41.036Z] ---> 38eb40a64aa2 [2021-10-04T18:06:41.036Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2021-10-04T18:06:41.036Z] ---> Running in bce9f3ed7104 [2021-10-04T18:06:41.036Z] Removing intermediate container bce9f3ed7104 [2021-10-04T18:06:41.036Z] ---> 3ba73662ed56 [2021-10-04T18:06:41.036Z] Step 5/12 : WORKDIR /device-virtual-go [2021-10-04T18:06:41.036Z] ---> Running in cb2b506fb0d6 [2021-10-04T18:06:41.036Z] Removing intermediate container cb2b506fb0d6 [2021-10-04T18:06:41.036Z] ---> b30d84a44a72 [2021-10-04T18:06:41.036Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-04T18:06:41.036Z] ---> Running in 174df8d682cc [2021-10-04T18:06:41.627Z] Removing intermediate container 174df8d682cc [2021-10-04T18:06:41.627Z] ---> 9950a3d62486 [2021-10-04T18:06:41.627Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-04T18:06:41.627Z] ---> Running in baad42650c8c [2021-10-04T18:06:41.893Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-04T18:06:42.860Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-04T18:06:43.128Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-10-04T18:06:43.128Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-04T18:06:43.393Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-10-04T18:06:43.393Z] Executing busybox-1.32.1-r6.trigger [2021-10-04T18:06:43.393Z] OK: 223 MiB in 55 packages [2021-10-04T18:06:43.660Z] Removing intermediate container baad42650c8c [2021-10-04T18:06:43.660Z] ---> 1251c8a0ea32 [2021-10-04T18:06:43.660Z] Step 8/12 : COPY . . [2021-10-04T18:06:44.245Z] ---> 7259b3a8c9a9 [2021-10-04T18:06:44.245Z] Step 9/12 : RUN go mod tidy [2021-10-04T18:06:44.245Z] ---> Running in c1bd3b7bcb73 [2021-10-04T18:06:45.213Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-10-04T18:06:45.213Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-04T18:06:45.213Z] go: downloading modernc.org/ql v1.0.0 [2021-10-04T18:06:45.213Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-04T18:06:45.213Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-04T18:06:45.213Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-04T18:06:45.480Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-04T18:06:45.480Z] go: downloading github.com/google/uuid v1.2.0 [2021-10-04T18:06:45.480Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-04T18:06:45.480Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-04T18:06:45.480Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-10-04T18:06:45.480Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-04T18:06:45.480Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-04T18:06:45.480Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-04T18:06:45.480Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-04T18:06:45.480Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-04T18:06:45.480Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-04T18:06:45.480Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-04T18:06:45.480Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-04T18:06:45.480Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-10-04T18:06:45.749Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-04T18:06:45.749Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-04T18:06:45.749Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-04T18:06:45.749Z] go: downloading golang.org/x/text v0.3.2 [2021-10-04T18:06:45.749Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-04T18:06:45.749Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-04T18:06:46.711Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-04T18:06:46.711Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-04T18:06:46.711Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-04T18:06:46.711Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-10-04T18:06:46.711Z] go: downloading modernc.org/b v1.0.0 [2021-10-04T18:06:46.711Z] go: downloading modernc.org/db v1.0.0 [2021-10-04T18:06:46.711Z] go: downloading modernc.org/file v1.0.0 [2021-10-04T18:06:46.711Z] go: downloading modernc.org/golex v1.0.0 [2021-10-04T18:06:46.711Z] go: downloading modernc.org/internal v1.0.0 [2021-10-04T18:06:46.711Z] go: downloading modernc.org/lldb v1.0.0 [2021-10-04T18:06:46.711Z] go: downloading modernc.org/mathutil v1.0.0 [2021-10-04T18:06:46.711Z] go: downloading modernc.org/strutil v1.0.0 [2021-10-04T18:06:46.711Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-04T18:06:46.711Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-04T18:06:46.711Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-04T18:06:46.711Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-04T18:06:46.976Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-04T18:06:46.976Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-04T18:06:46.976Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-04T18:06:46.976Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-04T18:06:46.977Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-04T18:06:46.977Z] go: downloading github.com/kr/pretty v0.2.0 [2021-10-04T18:06:46.977Z] go: downloading modernc.org/fileutil v1.0.0 [2021-10-04T18:06:46.977Z] go: downloading modernc.org/sortutil v1.0.0 [2021-10-04T18:06:46.977Z] go: downloading modernc.org/zappy v1.0.0 [2021-10-04T18:06:47.252Z] go: downloading github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2021-10-04T18:06:47.252Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-04T18:06:47.252Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-04T18:06:47.252Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-04T18:06:47.252Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-04T18:06:47.252Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-04T18:06:47.252Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-10-04T18:06:47.252Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-04T18:06:47.252Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-04T18:06:47.252Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-04T18:06:47.252Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-04T18:06:47.523Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-04T18:06:47.523Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-04T18:06:47.523Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-04T18:06:47.523Z] go: downloading github.com/kr/text v0.1.0 [2021-10-04T18:06:47.524Z] go: downloading github.com/edsrzf/mmap-go v1.0.0 [2021-10-04T18:06:47.524Z] go: downloading github.com/golang/snappy v0.0.1 [2021-10-04T18:06:47.524Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-04T18:06:47.524Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-04T18:06:47.524Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-04T18:06:47.524Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-04T18:06:47.524Z] go: downloading github.com/pkg/errors v0.8.1 [2021-10-04T18:06:47.524Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-04T18:06:47.524Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-04T18:06:47.524Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-04T18:06:47.524Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-04T18:06:47.524Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-04T18:06:47.524Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-04T18:06:47.524Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-04T18:06:47.524Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-04T18:06:47.524Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-04T18:06:47.524Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-10-04T18:06:47.792Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-04T18:06:47.792Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-04T18:06:47.792Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-04T18:06:47.792Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-04T18:06:47.792Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-04T18:06:47.792Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-04T18:06:47.792Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-04T18:06:52.071Z] Removing intermediate container c1bd3b7bcb73 [2021-10-04T18:06:52.071Z] ---> 4c86abb63cc2 [2021-10-04T18:06:52.071Z] Step 10/12 : RUN go mod download [2021-10-04T18:06:52.071Z] ---> Running in 9a4225bb471f [2021-10-04T18:06:54.670Z] Removing intermediate container 9a4225bb471f [2021-10-04T18:06:54.670Z] ---> f53bd96cee08 [2021-10-04T18:06:54.670Z] Step 11/12 : ARG MAKE='make build' [2021-10-04T18:06:54.670Z] ---> Running in d3e3fdf0c856 [2021-10-04T18:06:54.670Z] Removing intermediate container d3e3fdf0c856 [2021-10-04T18:06:54.670Z] ---> 2112f2af112d [2021-10-04T18:06:54.670Z] Step 12/12 : RUN $MAKE [2021-10-04T18:06:54.670Z] ---> Running in 60e7623d5d77 [2021-10-04T18:06:54.934Z] noop [2021-10-04T18:06:55.200Z] Removing intermediate container 60e7623d5d77 [2021-10-04T18:06:55.200Z] ---> 66a2a63b9ab3 [2021-10-04T18:06:55.200Z] Successfully built 66a2a63b9ab3 [2021-10-04T18:06:55.200Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:06:55.557Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-04T18:06:55.557Z] . [Pipeline] withDockerContainer [2021-10-04T18:06:55.659Z] prd-centos7-docker-4c-2g-1319 does not seem to be running inside a container [2021-10-04T18:06:55.728Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-04T18:06:56.071Z] $ docker top 1b5894385a6f56136b0c68b6fc4088e1eb620fdfc0251e6334b5d24008577930 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-04T18:06:56.539Z] + go version [2021-10-04T18:06:56.539Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-10-04T18:06:56.576Z] $ docker stop --time=1 1b5894385a6f56136b0c68b6fc4088e1eb620fdfc0251e6334b5d24008577930 [2021-10-04T18:06:57.775Z] $ docker rm -f 1b5894385a6f56136b0c68b6fc4088e1eb620fdfc0251e6334b5d24008577930 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:06:58.699Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-04T18:06:58.699Z] . [Pipeline] withDockerContainer [2021-10-04T18:06:58.831Z] prd-centos7-docker-4c-2g-1319 does not seem to be running inside a container [2021-10-04T18:06:58.900Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-04T18:06:59.271Z] $ docker top bd610832b1f947008f37f26bf877f3d8dd0d5e685f3c33a79c0450e99217e04d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-04T18:06:59.813Z] + go mod tidy [Pipeline] sh [2021-10-04T18:07:00.445Z] + make test [2021-10-04T18:07:00.445Z] go mod tidy [2021-10-04T18:07:00.723Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-04T18:07:00.997Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-10-04T18:07:23.344Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-10-04T18:07:23.344Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.263s coverage: 64.6% of statements [2021-10-04T18:07:23.344Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-04T18:07:27.628Z] gofmt -l . [2021-10-04T18:07:27.894Z] [ "`gofmt -l .`" = "" ] [2021-10-04T18:07:27.894Z] ./bin/test-attribution-txt.sh [2021-10-04T18:07:28.477Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-10-04T18:07:28.510Z] $ docker stop --time=1 bd610832b1f947008f37f26bf877f3d8dd0d5e685f3c33a79c0450e99217e04d [2021-10-04T18:07:30.044Z] $ docker rm -f bd610832b1f947008f37f26bf877f3d8dd0d5e685f3c33a79c0450e99217e04d [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-04T18:07:30.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-04T18:07:30.798Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-04T18:07:31.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-04T18:07:32.331Z] + ls -al . [2021-10-04T18:07:32.331Z] total 144 [2021-10-04T18:07:32.331Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 4 18:07 . [2021-10-04T18:07:32.331Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 4 18:06 .. [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 8153 Oct 4 18:06 Attribution.txt [2021-10-04T18:07:32.331Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 4 18:06 bin [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 6349 Oct 4 18:06 CHANGELOG.md [2021-10-04T18:07:32.331Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 4 18:06 cmd [2021-10-04T18:07:32.331Z] -rw-r--r--. 1 jenkins jenkins 46339 Oct 4 18:07 coverage.out [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 1921 Oct 4 18:06 Dockerfile [2021-10-04T18:07:32.331Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 4 18:06 .git [2021-10-04T18:07:32.331Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 4 18:06 .github [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 277 Oct 4 18:06 .gitignore [2021-10-04T18:07:32.331Z] -rw-r--r--. 1 jenkins jenkins 795 Oct 4 18:07 go.mod [2021-10-04T18:07:32.331Z] -rw-r--r--. 1 jenkins jenkins 22824 Oct 4 18:06 go.sum [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 4 18:06 GOVERNANCE.md [2021-10-04T18:07:32.331Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 4 18:06 internal [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 660 Oct 4 18:06 Jenkinsfile [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 4 18:06 LICENSE [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 905 Oct 4 18:06 Makefile [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 623 Oct 4 18:06 OWNERS.md [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 2913 Oct 4 18:06 README.md [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 4 18:00 VERSION [2021-10-04T18:07:32.331Z] -rw-rw-r--. 1 jenkins jenkins 235 Oct 4 18:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:07:32.687Z] + 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=bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff --label arch=amd64 --label version=0.0.0 . [2021-10-04T18:07:32.687Z] Sending build context to Docker daemon 8.688MB [2021-10-04T18:07:32.687Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.14 [2021-10-04T18:07:32.687Z] Step 2/26 : FROM ${BASE} AS builder [2021-10-04T18:07:32.687Z] ---> 66a2a63b9ab3 [2021-10-04T18:07:32.687Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-04T18:07:32.687Z] ---> Running in 7725071c6aa9 [2021-10-04T18:07:32.965Z] Removing intermediate container 7725071c6aa9 [2021-10-04T18:07:32.965Z] ---> 5eab97f3bf39 [2021-10-04T18:07:32.965Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-10-04T18:07:32.965Z] ---> Running in 545edb11fe77 [2021-10-04T18:07:32.966Z] Removing intermediate container 545edb11fe77 [2021-10-04T18:07:32.966Z] ---> 09687f66764d [2021-10-04T18:07:32.966Z] Step 5/26 : WORKDIR /device-virtual-go [2021-10-04T18:07:32.966Z] ---> Running in 0e5f931a167d [2021-10-04T18:07:32.966Z] Removing intermediate container 0e5f931a167d [2021-10-04T18:07:32.966Z] ---> d7543b3da01c [2021-10-04T18:07:32.966Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-04T18:07:32.966Z] ---> Running in e91768293f64 [2021-10-04T18:07:33.553Z] Removing intermediate container e91768293f64 [2021-10-04T18:07:33.553Z] ---> c18724314b4b [2021-10-04T18:07:33.553Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-04T18:07:33.553Z] ---> Running in 1b84bd50452c [2021-10-04T18:07:33.885Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-04T18:07:34.719Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-04T18:07:35.024Z] OK: 223 MiB in 55 packages [2021-10-04T18:07:35.292Z] Removing intermediate container 1b84bd50452c [2021-10-04T18:07:35.292Z] ---> 3d3b40a89215 [2021-10-04T18:07:35.292Z] Step 8/26 : COPY . . [2021-10-04T18:07:35.556Z] ---> 768ab121821f [2021-10-04T18:07:35.556Z] Step 9/26 : RUN go mod tidy [2021-10-04T18:07:35.556Z] ---> Running in 21df8f498e19 [2021-10-04T18:07:36.142Z] Removing intermediate container 21df8f498e19 [2021-10-04T18:07:36.142Z] ---> cc58c942a3ff [2021-10-04T18:07:36.142Z] Step 10/26 : RUN go mod download [2021-10-04T18:07:36.142Z] ---> Running in e79e67c8950a [2021-10-04T18:07:36.726Z] Removing intermediate container e79e67c8950a [2021-10-04T18:07:36.726Z] ---> 1b574f5a6ef9 [2021-10-04T18:07:36.726Z] Step 11/26 : ARG MAKE='make build' [2021-10-04T18:07:36.726Z] ---> Running in 86c6cf2b1969 [2021-10-04T18:07:36.726Z] Removing intermediate container 86c6cf2b1969 [2021-10-04T18:07:36.726Z] ---> 2fd824afa0da [2021-10-04T18:07:36.726Z] Step 12/26 : RUN $MAKE [2021-10-04T18:07:36.726Z] ---> Running in a2e136aebcf2 [2021-10-04T18:07:36.996Z] go mod tidy [2021-10-04T18:07:37.271Z] 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-10-04T18:07:43.131Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1320 in /w/workspace/foundry_device-virtual-go_PR-240 [Pipeline] { [Pipeline] ws [2021-10-04T18:07:43.191Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-10-04T18:07:43.486Z] The recommended git tool is: git [2021-10-04T18:07:50.251Z] using credential edgex-jenkins-ssh [2021-10-04T18:07:50.277Z] Cloning the remote Git repository [2021-10-04T18:07:50.348Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-10-04T18:07:50.533Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-10-04T18:07:50.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-04T18:07:50.639Z] > git --version # timeout=10 [2021-10-04T18:07:50.659Z] > git --version # 'git version 2.17.1' [2021-10-04T18:07:50.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T18:07:50.780Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T18:07:52.341Z] Removing intermediate container a2e136aebcf2 [2021-10-04T18:07:52.341Z] ---> fe278de162d7 [2021-10-04T18:07:52.341Z] Step 13/26 : FROM alpine:3.14 [2021-10-04T18:07:52.923Z] 3.14: Pulling from library/alpine [2021-10-04T18:07:53.191Z] a0d0a0d46f8b: Pulling fs layer [2021-10-04T18:07:53.459Z] a0d0a0d46f8b: Verifying Checksum [2021-10-04T18:07:53.459Z] a0d0a0d46f8b: Download complete [2021-10-04T18:07:53.459Z] a0d0a0d46f8b: Pull complete [2021-10-04T18:07:53.459Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-04T18:07:53.459Z] Status: Downloaded newer image for alpine:3.14 [2021-10-04T18:07:53.459Z] ---> 14119a10abf4 [2021-10-04T18:07:53.459Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-10-04T18:07:53.546Z] Merging remotes/origin/main commit 4101374aba6aaebd04804f9de13bcb00ee2f3b6a into PR head commit bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff [2021-10-04T18:07:52.745Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-04T18:07:52.760Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T18:07:52.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-04T18:07:52.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-04T18:07:52.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T18:07:52.831Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-04T18:07:53.569Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T18:07:53.586Z] > git checkout -f bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff # timeout=10 [2021-10-04T18:07:53.729Z] ---> Running in e6eeef7670cc [2021-10-04T18:07:53.730Z] Removing intermediate container e6eeef7670cc [2021-10-04T18:07:53.730Z] ---> 16304c36f46a [2021-10-04T18:07:53.730Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-04T18:07:53.730Z] ---> Running in c409a244c595 [2021-10-04T18:07:53.787Z] Merge succeeded, producing bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff [2021-10-04T18:07:53.788Z] Checking out Revision bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff (PR-240) [2021-10-04T18:07:54.323Z] Removing intermediate container c409a244c595 [2021-10-04T18:07:54.323Z] ---> 11f444b1884a [2021-10-04T18:07:54.323Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-04T18:07:54.323Z] ---> Running in c1b354f211fa [2021-10-04T18:07:54.323Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-04T18:07:53.687Z] > git remote # timeout=10 [2021-10-04T18:07:53.714Z] > git config --get remote.origin.url # timeout=10 [2021-10-04T18:07:53.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T18:07:53.745Z] > git merge 4101374aba6aaebd04804f9de13bcb00ee2f3b6a # timeout=10 [2021-10-04T18:07:53.772Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-04T18:07:53.796Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T18:07:53.808Z] > git checkout -f bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff # timeout=10 [2021-10-04T18:07:55.279Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-04T18:07:55.549Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-04T18:07:55.813Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-04T18:07:55.813Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-04T18:07:55.813Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-04T18:07:56.080Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-04T18:07:56.081Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-04T18:07:56.081Z] Executing busybox-1.33.1-r3.trigger [2021-10-04T18:07:56.081Z] OK: 8 MiB in 20 packages [2021-10-04T18:07:56.349Z] Removing intermediate container c1b354f211fa [2021-10-04T18:07:56.349Z] ---> bb41a4740d2d [2021-10-04T18:07:56.349Z] Step 17/26 : WORKDIR / [2021-10-04T18:07:56.616Z] ---> Running in 90774f91afff [2021-10-04T18:07:56.616Z] Removing intermediate container 90774f91afff [2021-10-04T18:07:56.616Z] ---> b15fc805b87f [2021-10-04T18:07:56.616Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-10-04T18:07:56.616Z] ---> 6d1be367dd2f [2021-10-04T18:07:56.616Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-10-04T18:07:56.882Z] ---> 3c1dc670eefa [2021-10-04T18:07:56.882Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-10-04T18:07:57.148Z] ---> a3e84efc5d97 [2021-10-04T18:07:57.148Z] Step 21/26 : EXPOSE 59900 [2021-10-04T18:07:57.148Z] ---> Running in 8f0934b37163 [2021-10-04T18:07:57.420Z] Removing intermediate container 8f0934b37163 [2021-10-04T18:07:57.420Z] ---> 5dad96e6067c [2021-10-04T18:07:57.420Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-10-04T18:07:57.420Z] ---> Running in 16b9b5d18f85 [2021-10-04T18:07:57.420Z] Removing intermediate container 16b9b5d18f85 [2021-10-04T18:07:57.420Z] ---> e0a9d5602a11 [2021-10-04T18:07:57.420Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-04T18:07:57.420Z] ---> Running in 805dcb0d6f1c [2021-10-04T18:07:57.420Z] Removing intermediate container 805dcb0d6f1c [2021-10-04T18:07:57.420Z] ---> e977c1fa962a [2021-10-04T18:07:57.420Z] Step 24/26 : LABEL arch=amd64 [2021-10-04T18:07:57.420Z] ---> Running in 9c4847069fbd [2021-10-04T18:07:57.690Z] Removing intermediate container 9c4847069fbd [2021-10-04T18:07:57.690Z] ---> 6f9e06a87690 [2021-10-04T18:07:57.690Z] Step 25/26 : LABEL git_sha=bd6935e5b8fdd33cf84b1d0cc72b2044163bf8ff [2021-10-04T18:07:57.690Z] ---> Running in cbe464e2e444 [2021-10-04T18:07:57.690Z] Removing intermediate container cbe464e2e444 [2021-10-04T18:07:57.690Z] ---> 3f6fab35c3b8 [2021-10-04T18:07:57.690Z] Step 26/26 : LABEL version=0.0.0 [2021-10-04T18:07:57.690Z] ---> Running in 3ff32b9be4d8 [2021-10-04T18:07:57.690Z] Removing intermediate container 3ff32b9be4d8 [2021-10-04T18:07:57.690Z] ---> d937c4353fba [2021-10-04T18:07:57.690Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-04T18:07:57.690Z] Successfully built d937c4353fba [2021-10-04T18:07:57.690Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:07:58.500Z] Commit message: "ci: Update PR Template" [2021-10-04T18:07:58.570Z] > git --version # timeout=10 [2021-10-04T18:07:58.581Z] > git --version # 'git version 2.17.1' [2021-10-04T18:07:58.597Z] fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T18:07:58.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T18:07:58.728Z] [2021-10-04T18:07:58.728Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:07:58.918Z] [2021-10-04T18:07:58.918Z] GitHub has been notified of this commit’s build result [2021-10-04T18:07:58.918Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [2021-10-04T18:07:59.113Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T18:07:59.336Z] provisioning config files... [2021-10-04T18:07:59.374Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4820559842109740657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:08:00.150Z] ---> docker-login.sh [2021-10-04T18:08:00.150Z] nexus3.edgexfoundry.org:10001 [2021-10-04T18:08:01.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T18:08:09.192Z] Error response from daemon: Get "https://nexus3.edgexfoundry.org:10003/v2/": net/http: TLS handshake timeout [Pipeline] } [Pipeline] // script Error when executing always post condition: hudson.AbortException: script returned exit code 1 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:659) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:605) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:549) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-04T18:08:09.983Z] Failed in branch amd64 [2021-10-04T18:08:11.455Z] Error response from daemon: Get https://nexus3.edgexfoundry.org:10001/v2/: net/http: TLS handshake timeout [Pipeline] } [2021-10-04T18:08:11.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:08:13.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T18:08:13.147Z] [2021-10-04T18:08:13.147Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:08:13.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T18:08:14.219Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-04T18:08:14.219Z] 448f6bf000e3: Pulling fs layer [2021-10-04T18:08:14.219Z] f757da607395: Pulling fs layer [2021-10-04T18:08:14.219Z] 05883995daec: Pulling fs layer [2021-10-04T18:08:14.219Z] 8603b9c90790: Pulling fs layer [2021-10-04T18:08:14.219Z] 1560dd03e051: Pulling fs layer [2021-10-04T18:08:14.219Z] 27f5ce0e4adf: Pulling fs layer [2021-10-04T18:08:14.219Z] c2d8d7efcc4b: Pulling fs layer [2021-10-04T18:08:14.219Z] 1560dd03e051: Waiting [2021-10-04T18:08:14.219Z] 27f5ce0e4adf: Waiting [2021-10-04T18:08:14.219Z] c2d8d7efcc4b: Waiting [2021-10-04T18:08:14.219Z] 8603b9c90790: Waiting [2021-10-04T18:08:14.219Z] f757da607395: Verifying Checksum [2021-10-04T18:08:14.219Z] f757da607395: Download complete [2021-10-04T18:08:14.219Z] 8603b9c90790: Verifying Checksum [2021-10-04T18:08:14.219Z] 8603b9c90790: Download complete [2021-10-04T18:08:14.505Z] 05883995daec: Verifying Checksum [2021-10-04T18:08:14.505Z] 05883995daec: Download complete [2021-10-04T18:08:14.505Z] 1560dd03e051: Verifying Checksum [2021-10-04T18:08:14.505Z] 1560dd03e051: Download complete [2021-10-04T18:08:14.505Z] 27f5ce0e4adf: Verifying Checksum [2021-10-04T18:08:14.505Z] 27f5ce0e4adf: Download complete [2021-10-04T18:08:14.789Z] 448f6bf000e3: Verifying Checksum [2021-10-04T18:08:14.789Z] 448f6bf000e3: Download complete [2021-10-04T18:08:17.488Z] c2d8d7efcc4b: Verifying Checksum [2021-10-04T18:08:17.488Z] c2d8d7efcc4b: Download complete [2021-10-04T18:08:18.105Z] 448f6bf000e3: Pull complete [2021-10-04T18:08:18.720Z] f757da607395: Pull complete [2021-10-04T18:08:20.201Z] 05883995daec: Pull complete [2021-10-04T18:08:20.486Z] 8603b9c90790: Pull complete [2021-10-04T18:08:21.498Z] 1560dd03e051: Pull complete [2021-10-04T18:08:21.785Z] 27f5ce0e4adf: Pull complete [2021-10-04T18:08:37.040Z] c2d8d7efcc4b: Pull complete [2021-10-04T18:08:37.040Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-04T18:08:37.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T18:08:37.040Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-04T18:08:37.378Z] prd-ubuntu18.04-docker-arm64-4c-16g-1320 does not seem to be running inside a container [2021-10-04T18:08:37.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-04T18:08:43.320Z] $ docker top 702dd86e5e4527a5c5e89551d30ca6018e9314cf4ec96b3d4618738464d898d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:08:44.567Z] ---> job-cost.sh [2021-10-04T18:08:44.567Z] lf-activate-venv: SKIPPING [2021-10-04T18:08:44.567Z] INFO: No Stack... [2021-10-04T18:08:44.856Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-04T18:08:45.481Z] INFO: Archiving Costs [Pipeline] sh [2021-10-04T18:08:46.222Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-10-04T18:08:46.222Z] + cut -d, -f6 [Pipeline] lock [2021-10-04T18:08:46.355Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-240-1-stack-cost] [2021-10-04T18:08:46.361Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-240-1-stack-cost] did not exist. Created. [2021-10-04T18:08:46.362Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-04T18:08:47.174Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-04T18:08:48.479Z] Stashed 1 file(s) [Pipeline] } [2021-10-04T18:08:48.502Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-04T18:08:48.587Z] $ docker stop --time=1 702dd86e5e4527a5c5e89551d30ca6018e9314cf4ec96b3d4618738464d898d8 [2021-10-04T18:08:50.237Z] $ docker rm -f 702dd86e5e4527a5c5e89551d30ca6018e9314cf4ec96b3d4618738464d898d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-04T18:08:51.271Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-04T18:08:54.017Z] + '[' -d /w/workspace/foundry_device-virtual-go_PR-240/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:08:54.393Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:08:55.032Z] ---> package-listing.sh [2021-10-04T18:08:55.032Z] ++ facter osfamily [2021-10-04T18:08:55.032Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-04T18:08:55.303Z] + OS_FAMILY=redhat [2021-10-04T18:08:55.303Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-240 [2021-10-04T18:08:55.303Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-04T18:08:55.303Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-04T18:08:55.303Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-04T18:08:55.303Z] + PACKAGES=/tmp/packages_start.txt [2021-10-04T18:08:55.303Z] + '[' /w/workspace/foundry_device-virtual-go_PR-240 ']' [2021-10-04T18:08:55.303Z] + PACKAGES=/tmp/packages_end.txt [2021-10-04T18:08:55.303Z] + case "${OS_FAMILY}" in [2021-10-04T18:08:55.303Z] + rpm -qa [2021-10-04T18:08:55.303Z] + sort [2021-10-04T18:08:55.919Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-04T18:08:55.919Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-04T18:08:55.919Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-04T18:08:55.919Z] + '[' /w/workspace/foundry_device-virtual-go_PR-240 ']' [2021-10-04T18:08:55.919Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-240/archives/ [2021-10-04T18:08:55.919Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-240/archives/ [Pipeline] echo [2021-10-04T18:08:55.963Z] 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-240/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-04T18:08:56.286Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:08:56.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T18:08:56.912Z] [2021-10-04T18:08:56.912Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:08:57.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T18:08:57.324Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-04T18:08:57.324Z] b4d181a07f80: Pulling fs layer [2021-10-04T18:08:57.324Z] a1111a8f2ec3: Pulling fs layer [2021-10-04T18:08:57.324Z] ed53099fbce6: Pulling fs layer [2021-10-04T18:08:57.324Z] dc539afda2c1: Pulling fs layer [2021-10-04T18:08:57.324Z] 77bc0d833cb6: Pulling fs layer [2021-10-04T18:08:57.324Z] 9065ff56babe: Pulling fs layer [2021-10-04T18:08:57.324Z] d287ab97295c: Pulling fs layer [2021-10-04T18:08:57.324Z] dc539afda2c1: Waiting [2021-10-04T18:08:57.324Z] 77bc0d833cb6: Waiting [2021-10-04T18:08:57.324Z] 9065ff56babe: Waiting [2021-10-04T18:08:57.324Z] d287ab97295c: Waiting [2021-10-04T18:08:57.594Z] a1111a8f2ec3: Verifying Checksum [2021-10-04T18:08:57.594Z] a1111a8f2ec3: Download complete [2021-10-04T18:08:57.594Z] dc539afda2c1: Verifying Checksum [2021-10-04T18:08:57.594Z] dc539afda2c1: Download complete [2021-10-04T18:08:57.862Z] ed53099fbce6: Verifying Checksum [2021-10-04T18:08:57.862Z] ed53099fbce6: Download complete [2021-10-04T18:08:57.862Z] 9065ff56babe: Verifying Checksum [2021-10-04T18:08:57.862Z] 9065ff56babe: Download complete [2021-10-04T18:08:57.862Z] 77bc0d833cb6: Verifying Checksum [2021-10-04T18:08:57.862Z] 77bc0d833cb6: Download complete [2021-10-04T18:08:57.862Z] b4d181a07f80: Verifying Checksum [2021-10-04T18:08:57.862Z] b4d181a07f80: Download complete [2021-10-04T18:08:59.293Z] b4d181a07f80: Pull complete [2021-10-04T18:08:59.558Z] a1111a8f2ec3: Pull complete [2021-10-04T18:08:59.823Z] d287ab97295c: Verifying Checksum [2021-10-04T18:08:59.823Z] d287ab97295c: Download complete [2021-10-04T18:09:00.093Z] ed53099fbce6: Pull complete [2021-10-04T18:09:00.360Z] dc539afda2c1: Pull complete [2021-10-04T18:09:00.638Z] 77bc0d833cb6: Pull complete [2021-10-04T18:09:00.638Z] 9065ff56babe: Pull complete [2021-10-04T18:09:06.236Z] d287ab97295c: Pull complete [2021-10-04T18:09:06.236Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-04T18:09:06.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T18:09:06.236Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-04T18:09:06.355Z] prd-centos7-docker-4c-2g-1249 does not seem to be running inside a container [2021-10-04T18:09:06.426Z] $ 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-240/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-240 -v /w/workspace/foundry_device-virtual-go_PR-240:/w/workspace/foundry_device-virtual-go_PR-240:rw,z -v /w/workspace/foundry_device-virtual-go_PR-240@tmp:/w/workspace/foundry_device-virtual-go_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-04T18:09:08.944Z] $ docker top 1899f9c691378576974af6df4263eee8bb08cac22b9a4da0bba2fb3c2cdde33b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-04T18:09:09.397Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-04T18:09:09.739Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-04T18:09:10.075Z] + ls /var/log/sa-host [2021-10-04T18:09:10.075Z] + sadf -c /var/log/sa-host/sa04 [2021-10-04T18:09:10.075Z] file_magic: OK [2021-10-04T18:09:10.075Z] HZ: Using current value: 100 [2021-10-04T18:09:10.075Z] file_header: OK [2021-10-04T18:09:10.075Z] 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-10-04T18:09:10.075Z] Statistics: [2021-10-04T18:09:10.075Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-04T18:09:10.075Z] File successfully converted to sysstat format version 12.0.3 [2021-10-04T18:09:10.075Z] + sadf -c /var/log/sa-host/sa30 [2021-10-04T18:09:10.075Z] file_magic: OK [2021-10-04T18:09:10.075Z] HZ: Using current value: 100 [2021-10-04T18:09:10.075Z] file_header: OK [2021-10-04T18:09:10.075Z] 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-10-04T18:09:10.075Z] Statistics: [2021-10-04T18:09:10.075Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-04T18:09:10.075Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T18:09:10.332Z] provisioning config files... [2021-10-04T18:09:10.349Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-240@tmp/config6005726690721337529tmp [Pipeline] { [Pipeline] echo [2021-10-04T18:09:10.413Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:09:10.785Z] ---> create-netrc.sh [Pipeline] } [2021-10-04T18:09:10.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:09:11.326Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-04T18:09:11.369Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:09:11.720Z] ---> sudo-logs.sh [2021-10-04T18:09:11.720Z] Archiving 'sudo' log.. [2021-10-04T18:09:11.720Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1249.novalocal: Name or service not known [2021-10-04T18:09:11.720Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1249.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-04T18:09:11.817Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:09:12.175Z] ---> job-cost.sh [2021-10-04T18:09:12.175Z] lf-activate-venv: SKIPPING [2021-10-04T18:09:12.175Z] DEBUG: total: 0.10999999940395355 [2021-10-04T18:09:12.175Z] INFO: Retrieving Stack Cost... [2021-10-04T18:09:12.448Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-04T18:09:13.035Z] INFO: Archiving Costs [Pipeline] echo [2021-10-04T18:09:13.075Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:09:13.458Z] ---> logs-deploy.sh [2021-10-04T18:09:13.458Z] lf-activate-venv: SKIPPING [2021-10-04T18:09:13.458Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-240/1 [2021-10-04T18:09:13.458Z] INFO: archiving workspace using pattern(s): [2021-10-04T18:09:14.052Z] Archives upload complete. [2021-10-04T18:09:14.320Z] INFO: archiving logs to Nexus