Pull request #247 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 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c+ec57df2525f5cafee8ef272e9914b3bd69991a03 (352ea0e879d7027f1c06a47b6ac552887f8f7373) 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-ssh6496022997234196007.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh6690853272896777765.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-247/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-247/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6039501619654709826.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-247/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5882183059140375511.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh6122041094104117325.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-247/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-247/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7427297266370923864.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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 USE_ALPINE: true 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-13756 in /w/workspace/foundry_device-virtual-go_PR-247 [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-247 # 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-247@tmp/jenkins-gitclient-ssh2727706938359013648.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-247@tmp/jenkins-gitclient-ssh9092847067658445930.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ec57df2525f5cafee8ef272e9914b3bd69991a03 into PR head commit 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c Merge succeeded, producing 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c Checking out Revision 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c (PR-247) > git config core.sparsecheckout # timeout=10 > git checkout -f 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c # 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-247@tmp/jenkins-gitclient-ssh3369838513945438436.key > git merge ec57df2525f5cafee8ef272e9914b3bd69991a03 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c # timeout=10 Commit message: "build: Update to latest SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-01T21:21:39.303Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-01T21:21:39.428Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-01T21:21:39.518Z] ========================================================= [2021-11-01T21:21:39.519Z] EdgeX Global Pipelines Version Info [2021-11-01T21:21:39.519Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:21:40.662Z] ------------------- [2021-11-01T21:21:40.662Z] stable info: [2021-11-01T21:21:40.662Z] ------------------- [2021-11-01T21:21:40.662Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-01T21:21:40.662Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T21:21:40.662Z] Message: update stable to v1.0.211 [2021-11-01T21:21:41.231Z] ------------------- [2021-11-01T21:21:41.231Z] experimental info: [2021-11-01T21:21:41.231Z] ------------------- [2021-11-01T21:21:41.231Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-01T21:21:41.231Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T21:21:41.231Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-01T21:21:41.398Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-11-01T21:21:41.437Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-11-01T21:21:41.472Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-01T21:21:41.509Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-01T21:21:41.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-01T21:21:41.605Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-01T21:21:41.648Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-01T21:21:41.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-01T21:21:41.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-01T21:21:41.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-01T21:21:41.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-01T21:21:41.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-11-01T21:21:41.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-01T21:21:41.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-01T21:21:41.963Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T21:21:42.000Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T21:21:42.037Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T21:21:42.074Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T21:21:42.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-01T21:21:42.157Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-01T21:21:42.197Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-01T21:21:42.241Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-01T21:21:42.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-01T21:21:42.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-01T21:21:42.360Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-01T21:21:42.400Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-01T21:21:42.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-247 [Pipeline] echo [2021-11-01T21:21:42.478Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-247 [Pipeline] echo [2021-11-01T21:21:42.519Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-247 [Pipeline] echo [2021-11-01T21:21:42.564Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [Pipeline] echo [2021-11-01T21:21:42.607Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03ae198 [Pipeline] echo [2021-11-01T21:21:42.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:21:42.771Z] provisioning config files... [2021-11-01T21:21:42.786Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-247@tmp/config6026946800006753341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:21:43.139Z] ---> docker-login.sh [2021-11-01T21:21:43.139Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:21:43.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:21:43.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:21:43.139Z] Configure a credential helper to remove this warning. See [2021-11-01T21:21:43.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:21:43.139Z] [2021-11-01T21:21:43.139Z] Login Succeeded [2021-11-01T21:21:43.139Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:21:43.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:21:43.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:21:43.406Z] Configure a credential helper to remove this warning. See [2021-11-01T21:21:43.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:21:43.407Z] [2021-11-01T21:21:43.407Z] Login Succeeded [2021-11-01T21:21:43.407Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:21:43.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:21:43.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:21:43.407Z] Configure a credential helper to remove this warning. See [2021-11-01T21:21:43.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:21:43.407Z] [2021-11-01T21:21:43.407Z] Login Succeeded [2021-11-01T21:21:43.407Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:21:43.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:21:43.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:21:43.674Z] Configure a credential helper to remove this warning. See [2021-11-01T21:21:43.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:21:43.674Z] [2021-11-01T21:21:43.674Z] Login Succeeded [2021-11-01T21:21:43.674Z] docker.io [2021-11-01T21:21:43.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:21:43.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:21:43.934Z] Configure a credential helper to remove this warning. See [2021-11-01T21:21:43.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:21:43.934Z] [2021-11-01T21:21:43.934Z] Login Succeeded [2021-11-01T21:21:43.934Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:21:43.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-01T21:21:44.553Z] + git rev-list -1 --merges 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c~1..03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [Pipeline] echo [2021-11-01T21:21:44.606Z] -----------> git rev-list -1 --merges 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c~1..03ae1982ed8b692c0daf1bd19db1ae89d0b1901c 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [false] [Pipeline] sh [2021-11-01T21:21:44.926Z] + git log --format=format:%s -1 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [Pipeline] echo [2021-11-01T21:21:44.956Z] ========================================================= [2021-11-01T21:21:44.957Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-01T21:21:44.957Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T21:21:45.369Z] + git log --format=format:%s -1 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [Pipeline] echo [2021-11-01T21:21:45.397Z] [semverPrep] GIT_COMMIT: 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c, Commit Message: build: Update to latest SDK [Pipeline] echo [2021-11-01T21:21:45.425Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:21:45.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:21:45.900Z] [2021-11-01T21:21:45.900Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:21:46.235Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:21:46.235Z] latest: Pulling from edgex-devops/git-semver [2021-11-01T21:21:46.235Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T21:21:46.235Z] 3e5f54012d9b: Pulling fs layer [2021-11-01T21:21:46.235Z] 4c7163046ea9: Pulling fs layer [2021-11-01T21:21:46.235Z] 0c2d73faf560: Pulling fs layer [2021-11-01T21:21:46.235Z] 0c2d73faf560: Waiting [2021-11-01T21:21:46.235Z] 3e5f54012d9b: Verifying Checksum [2021-11-01T21:21:46.235Z] 3e5f54012d9b: Download complete [2021-11-01T21:21:46.235Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T21:21:46.235Z] a0d0a0d46f8b: Download complete [2021-11-01T21:21:46.235Z] 0c2d73faf560: Verifying Checksum [2021-11-01T21:21:46.235Z] 0c2d73faf560: Download complete [2021-11-01T21:21:46.235Z] 4c7163046ea9: Verifying Checksum [2021-11-01T21:21:46.235Z] 4c7163046ea9: Download complete [2021-11-01T21:21:46.503Z] a0d0a0d46f8b: Pull complete [2021-11-01T21:21:46.503Z] 3e5f54012d9b: Pull complete [2021-11-01T21:21:46.776Z] 4c7163046ea9: Pull complete [2021-11-01T21:21:47.039Z] 0c2d73faf560: Pull complete [2021-11-01T21:21:47.039Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-01T21:21:47.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:21:47.039Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-01T21:21:47.128Z] prd-centos7-docker-4c-2g-13756 does not seem to be running inside a container [2021-11-01T21:21:47.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-247 -v /w/workspace/foundry_device-virtual-go_PR-247:/w/workspace/foundry_device-virtual-go_PR-247:rw,z -v /w/workspace/foundry_device-virtual-go_PR-247@tmp:/w/workspace/foundry_device-virtual-go_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T21:21:47.758Z] $ docker top 3c84edee206d7b384a1baa56a91a8e65e7a43b8dbe3d70014ea4ae7d96b92c36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:21:47.955Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:21:47.955Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:21:48.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:21:48.090Z] $ docker exec 3c84edee206d7b384a1baa56a91a8e65e7a43b8dbe3d70014ea4ae7d96b92c36 ssh-agent [2021-11-01T21:21:48.196Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaPAEFf/agent.14 [2021-11-01T21:21:48.196Z] SSH_AGENT_PID=21 [2021-11-01T21:21:48.205Z] Running ssh-add (command line suppressed) [2021-11-01T21:21:48.303Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-247@tmp/private_key_325055202044787229.key (/w/workspace/foundry_device-virtual-go_PR-247@tmp/private_key_325055202044787229.key) [2021-11-01T21:21:48.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:21:48.652Z] + git tag --points-at HEAD [Pipeline] } [2021-11-01T21:21:48.673Z] $ docker exec --env ******** --env ******** 3c84edee206d7b384a1baa56a91a8e65e7a43b8dbe3d70014ea4ae7d96b92c36 ssh-agent -k [2021-11-01T21:21:48.774Z] unset SSH_AUTH_SOCK; [2021-11-01T21:21:48.774Z] unset SSH_AGENT_PID; [2021-11-01T21:21:48.774Z] echo Agent pid 21 killed; [2021-11-01T21:21:48.784Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-01T21:21:48.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:21:48.849Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:21:48.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:21:48.971Z] $ docker exec 3c84edee206d7b384a1baa56a91a8e65e7a43b8dbe3d70014ea4ae7d96b92c36 ssh-agent [2021-11-01T21:21:49.094Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlMdcFj/agent.53 [2021-11-01T21:21:49.094Z] SSH_AGENT_PID=59 [2021-11-01T21:21:49.099Z] Running ssh-add (command line suppressed) [2021-11-01T21:21:49.206Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-247@tmp/private_key_6271968597838863614.key (/w/workspace/foundry_device-virtual-go_PR-247@tmp/private_key_6271968597838863614.key) [2021-11-01T21:21:49.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:21:49.560Z] + git semver init [2021-11-01T21:21:49.560Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:21:49.560Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-247/.git [2021-11-01T21:21:49.560Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-247 [2021-11-01T21:21:49.560Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:21:49.560Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:21:49.560Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:21:49.560Z] # $SEMVER_BRANCH = PR-247 [2021-11-01T21:21:49.560Z] # $SEMVER_TEMP = /tmp/semver-812164281 [2021-11-01T21:21:49.560Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-11-01T21:21:50.503Z] # '/tmp/semver-812164281' -> '/w/workspace/foundry_device-virtual-go_PR-247/.semver' [2021-11-01T21:21:50.503Z] # -> Force: false [2021-11-01T21:21:50.503Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-247/.semver [Pipeline] } [2021-11-01T21:21:50.522Z] $ docker exec --env ******** --env ******** 3c84edee206d7b384a1baa56a91a8e65e7a43b8dbe3d70014ea4ae7d96b92c36 ssh-agent -k [2021-11-01T21:21:50.612Z] unset SSH_AUTH_SOCK; [2021-11-01T21:21:50.612Z] unset SSH_AGENT_PID; [2021-11-01T21:21:50.612Z] echo Agent pid 59 killed; [2021-11-01T21:21:50.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:21:51.031Z] + git semver [Pipeline] } [2021-11-01T21:21:51.058Z] $ docker stop --time=1 3c84edee206d7b384a1baa56a91a8e65e7a43b8dbe3d70014ea4ae7d96b92c36 [2021-11-01T21:21:52.314Z] $ docker rm -f 3c84edee206d7b384a1baa56a91a8e65e7a43b8dbe3d70014ea4ae7d96b92c36 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T21:21:52.697Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-01T21:21:52.986Z] Stashed 1 file(s) [Pipeline] echo [2021-11-01T21:21:53.004Z] [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-11-01T21:22:08.368Z] Still waiting to schedule task [2021-11-01T21:22:08.369Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-01T21:22:08.390Z] Still waiting to schedule task [2021-11-01T21:22:08.390Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-01T21:23:17.250Z] Running on prd-centos7-docker-4c-2g-13759 in /w/workspace/foundry_device-virtual-go_PR-247 [Pipeline] { [Pipeline] ws [2021-11-01T21:23:17.292Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-11-01T21:23:17.405Z] The recommended git tool is: git [2021-11-01T21:23:19.445Z] using credential edgex-jenkins-ssh [2021-11-01T21:23:19.455Z] Cloning the remote Git repository [2021-11-01T21:23:19.212Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-11-01T21:23:19.292Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-11-01T21:23:19.335Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-11-01T21:23:19.336Z] > git --version # timeout=10 [2021-11-01T21:23:19.347Z] > git --version # 'git version 2.24.4' [2021-11-01T21:23:19.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T21:23:19.376Z] [INFO] Currently running in a labeled security context [2021-11-01T21:23:19.377Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T21:23:19.377Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh8866647646026173316.key [2021-11-01T21:23:19.395Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:23:20.338Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-11-01T21:23:20.350Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:23:20.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-11-01T21:23:20.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-11-01T21:23:20.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T21:23:20.381Z] [INFO] Currently running in a labeled security context [2021-11-01T21:23:20.382Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T21:23:20.382Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh603568129579700901.key [2021-11-01T21:23:20.392Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-01T21:23:21.212Z] Merging remotes/origin/main commit ec57df2525f5cafee8ef272e9914b3bd69991a03 into PR head commit 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [2021-11-01T21:23:21.320Z] Merge succeeded, producing 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [2021-11-01T21:23:21.320Z] Checking out Revision 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c (PR-247) [2021-11-01T21:23:20.946Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T21:23:20.958Z] > git checkout -f 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c # timeout=10 [2021-11-01T21:23:20.999Z] > git remote # timeout=10 [2021-11-01T21:23:21.010Z] > git config --get remote.origin.url # timeout=10 [2021-11-01T21:23:21.016Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T21:23:21.017Z] [INFO] Currently running in a labeled security context [2021-11-01T21:23:21.017Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T21:23:21.018Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh487645541745013893.key [2021-11-01T21:23:21.027Z] > git merge ec57df2525f5cafee8ef272e9914b3bd69991a03 # timeout=10 [2021-11-01T21:23:21.040Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-01T21:23:21.048Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T21:23:21.055Z] > git checkout -f 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c # timeout=10 [2021-11-01T21:23:24.936Z] Commit message: "build: Update to latest SDK" [2021-11-01T21:23:24.686Z] > git --version # timeout=10 [2021-11-01T21:23:24.694Z] > git --version # 'git version 2.24.4' [2021-11-01T21:23:24.700Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:23:25.478Z] provisioning config files... [2021-11-01T21:23:25.498Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3167267036609235981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:23:25.930Z] ---> docker-login.sh [2021-11-01T21:23:25.930Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:23:25.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:23:25.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:23:25.930Z] Configure a credential helper to remove this warning. See [2021-11-01T21:23:25.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:23:25.930Z] [2021-11-01T21:23:25.930Z] Login Succeeded [2021-11-01T21:23:25.930Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:23:26.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:23:26.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:23:26.193Z] Configure a credential helper to remove this warning. See [2021-11-01T21:23:26.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:23:26.193Z] [2021-11-01T21:23:26.193Z] Login Succeeded [2021-11-01T21:23:26.193Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:23:26.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:23:26.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:23:26.193Z] Configure a credential helper to remove this warning. See [2021-11-01T21:23:26.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:23:26.193Z] [2021-11-01T21:23:26.193Z] Login Succeeded [2021-11-01T21:23:26.193Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:23:26.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:23:26.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:23:26.456Z] Configure a credential helper to remove this warning. See [2021-11-01T21:23:26.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:23:26.456Z] [2021-11-01T21:23:26.456Z] Login Succeeded [2021-11-01T21:23:26.456Z] docker.io [2021-11-01T21:23:26.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:23:26.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:23:26.716Z] Configure a credential helper to remove this warning. See [2021-11-01T21:23:26.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:23:26.716Z] [2021-11-01T21:23:26.716Z] Login Succeeded [2021-11-01T21:23:26.716Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:23:26.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T21:23:26.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T21:23:27.008Z] ========================================================= [2021-11-01T21:23:27.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-01T21:23:27.008Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:23:27.391Z] + 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-11-01T21:23:27.391Z] Sending build context to Docker daemon 8.737MB [2021-11-01T21:23:27.391Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:23:27.391Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-01T21:23:27.391Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-01T21:23:27.391Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T21:23:27.391Z] 31adcdaf11c8: Pulling fs layer [2021-11-01T21:23:27.391Z] b8b176561691: Pulling fs layer [2021-11-01T21:23:27.391Z] 4527c011a84f: Pulling fs layer [2021-11-01T21:23:27.391Z] 5d74067f8e1e: Pulling fs layer [2021-11-01T21:23:27.391Z] e0aca202a116: Pulling fs layer [2021-11-01T21:23:27.391Z] 3a43be97a3b4: Pulling fs layer [2021-11-01T21:23:27.391Z] 34cad66bf833: Pulling fs layer [2021-11-01T21:23:27.391Z] b4e3c513aaa6: Pulling fs layer [2021-11-01T21:23:27.391Z] 5d74067f8e1e: Waiting [2021-11-01T21:23:27.391Z] e0aca202a116: Waiting [2021-11-01T21:23:27.391Z] 3a43be97a3b4: Waiting [2021-11-01T21:23:27.391Z] 34cad66bf833: Waiting [2021-11-01T21:23:27.391Z] b4e3c513aaa6: Waiting [2021-11-01T21:23:27.391Z] 4527c011a84f: Waiting [2021-11-01T21:23:27.391Z] b8b176561691: Verifying Checksum [2021-11-01T21:23:27.391Z] b8b176561691: Download complete [2021-11-01T21:23:27.654Z] 31adcdaf11c8: Verifying Checksum [2021-11-01T21:23:27.654Z] 31adcdaf11c8: Download complete [2021-11-01T21:23:27.654Z] 5d74067f8e1e: Verifying Checksum [2021-11-01T21:23:27.654Z] 5d74067f8e1e: Download complete [2021-11-01T21:23:27.654Z] e0aca202a116: Verifying Checksum [2021-11-01T21:23:27.654Z] e0aca202a116: Download complete [2021-11-01T21:23:27.654Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T21:23:27.654Z] a0d0a0d46f8b: Download complete [2021-11-01T21:23:27.654Z] 3a43be97a3b4: Verifying Checksum [2021-11-01T21:23:27.654Z] 3a43be97a3b4: Download complete [2021-11-01T21:23:27.654Z] 34cad66bf833: Verifying Checksum [2021-11-01T21:23:27.654Z] 34cad66bf833: Download complete [2021-11-01T21:23:27.916Z] a0d0a0d46f8b: Pull complete [2021-11-01T21:23:28.176Z] 31adcdaf11c8: Pull complete [2021-11-01T21:23:28.176Z] 4527c011a84f: Verifying Checksum [2021-11-01T21:23:28.176Z] 4527c011a84f: Download complete [2021-11-01T21:23:28.176Z] b8b176561691: Pull complete [2021-11-01T21:23:28.444Z] b4e3c513aaa6: Verifying Checksum [2021-11-01T21:23:28.444Z] b4e3c513aaa6: Download complete [2021-11-01T21:23:32.687Z] 4527c011a84f: Pull complete [2021-11-01T21:23:32.687Z] 5d74067f8e1e: Pull complete [2021-11-01T21:23:32.687Z] e0aca202a116: Pull complete [2021-11-01T21:23:32.687Z] 3a43be97a3b4: Pull complete [2021-11-01T21:23:32.687Z] 34cad66bf833: Pull complete [2021-11-01T21:23:35.271Z] b4e3c513aaa6: Pull complete [2021-11-01T21:23:35.271Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-01T21:23:35.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-01T21:23:35.271Z] ---> 9f6097aaca64 [2021-11-01T21:23:35.271Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T21:23:36.663Z] ---> Running in 1ef0423e5cdb [2021-11-01T21:23:36.940Z] Removing intermediate container 1ef0423e5cdb [2021-11-01T21:23:36.940Z] ---> 4d28d7be1d9b [2021-11-01T21:23:36.940Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T21:23:36.940Z] ---> Running in b3d6af0fe30f [2021-11-01T21:23:36.940Z] Removing intermediate container b3d6af0fe30f [2021-11-01T21:23:36.940Z] ---> 1188ceec84aa [2021-11-01T21:23:36.940Z] Step 5/11 : WORKDIR /device-virtual-go [2021-11-01T21:23:36.940Z] ---> Running in 3b3e9e2b8f7f [2021-11-01T21:23:37.204Z] Removing intermediate container 3b3e9e2b8f7f [2021-11-01T21:23:37.204Z] ---> 30886d553f9c [2021-11-01T21:23:37.204Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:23:37.204Z] ---> Running in 8495bdcbfbfd [2021-11-01T21:23:37.779Z] Removing intermediate container 8495bdcbfbfd [2021-11-01T21:23:37.779Z] ---> 0600a4487660 [2021-11-01T21:23:37.779Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T21:23:37.779Z] ---> Running in e35ae6ba2d96 [2021-11-01T21:23:37.779Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T21:23:38.722Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T21:23:39.294Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-01T21:23:39.294Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-01T21:23:39.558Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-01T21:23:39.558Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-01T21:23:39.558Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:23:39.819Z] OK: 224 MiB in 56 packages [2021-11-01T21:23:40.081Z] Removing intermediate container e35ae6ba2d96 [2021-11-01T21:23:40.081Z] ---> f5221ef06c11 [2021-11-01T21:23:40.081Z] Step 8/11 : COPY . . [2021-11-01T21:23:40.342Z] ---> dd75828e344a [2021-11-01T21:23:40.342Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:23:40.342Z] ---> Running in 07e8ffbe6a7b [2021-11-01T21:24:12.529Z] Removing intermediate container 07e8ffbe6a7b [2021-11-01T21:24:12.529Z] ---> b12217bbdb6c [2021-11-01T21:24:12.529Z] Step 10/11 : ARG MAKE='make build' [2021-11-01T21:24:12.529Z] ---> Running in ab18eb916aff [2021-11-01T21:24:12.529Z] Removing intermediate container ab18eb916aff [2021-11-01T21:24:12.529Z] ---> deefff1ef5e6 [2021-11-01T21:24:12.529Z] Step 11/11 : RUN $MAKE [2021-11-01T21:24:12.529Z] ---> Running in c09876e2d461 [2021-11-01T21:24:12.529Z] noop [2021-11-01T21:24:12.529Z] Removing intermediate container c09876e2d461 [2021-11-01T21:24:12.529Z] ---> 67591484a2f7 [2021-11-01T21:24:12.530Z] Successfully built 67591484a2f7 [2021-11-01T21:24:12.530Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:24:12.867Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T21:24:12.867Z] . [Pipeline] withDockerContainer [2021-11-01T21:24:12.950Z] prd-centos7-docker-4c-2g-13759 does not seem to be running inside a container [2021-11-01T21:24:12.987Z] $ 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 ******** ci-base-image-x86_64 cat [2021-11-01T21:24:13.344Z] $ docker top c088ca1117510be141faa6ae36184934f0d260e5125a69c635fdc957c3548633 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T21:24:13.750Z] + go version [2021-11-01T21:24:13.750Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-01T21:24:13.771Z] $ docker stop --time=1 c088ca1117510be141faa6ae36184934f0d260e5125a69c635fdc957c3548633 [2021-11-01T21:24:14.961Z] $ docker rm -f c088ca1117510be141faa6ae36184934f0d260e5125a69c635fdc957c3548633 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:24:15.590Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T21:24:15.590Z] . [Pipeline] withDockerContainer [2021-11-01T21:24:15.665Z] prd-centos7-docker-4c-2g-13759 does not seem to be running inside a container [2021-11-01T21:24:15.705Z] $ 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 ******** ci-base-image-x86_64 cat [2021-11-01T21:24:16.055Z] $ docker top ceef2ace8db2725fa137debc761bcfdcd396b7cc2a6b4f82368a8142b07501b4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T21:24:16.494Z] + make test [2021-11-01T21:24:16.495Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-01T21:24:16.762Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-11-01T21:24:38.839Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-11-01T21:24:38.839Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.268s coverage: 64.6% of statements [2021-11-01T21:24:38.839Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T21:24:44.176Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T21:24:44.176Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T21:24:44.176Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T21:24:44.779Z] $ docker stop --time=1 ceef2ace8db2725fa137debc761bcfdcd396b7cc2a6b4f82368a8142b07501b4 [2021-11-01T21:24:46.259Z] $ docker rm -f ceef2ace8db2725fa137debc761bcfdcd396b7cc2a6b4f82368a8142b07501b4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T21:24:46.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T21:24:46.922Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-01T21:24:47.678Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T21:24:47.984Z] + ls -al . [2021-11-01T21:24:47.984Z] total 176 [2021-11-01T21:24:47.984Z] drwxrwxr-x. 7 jenkins jenkins 4096 Nov 1 21:24 . [2021-11-01T21:24:47.984Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 1 21:23 .. [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 8449 Nov 1 21:23 Attribution.txt [2021-11-01T21:24:47.984Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 1 21:23 bin [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 6349 Nov 1 21:23 CHANGELOG.md [2021-11-01T21:24:47.984Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 1 21:23 cmd [2021-11-01T21:24:47.984Z] -rw-r--r--. 1 jenkins jenkins 46339 Nov 1 21:24 coverage.out [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 1951 Nov 1 21:23 Dockerfile [2021-11-01T21:24:47.984Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 1 21:23 .git [2021-11-01T21:24:47.984Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 1 21:23 .github [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 270 Nov 1 21:23 .gitignore [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 358 Nov 1 21:23 go.mod [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 52389 Nov 1 21:23 go.sum [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 21:23 GOVERNANCE.md [2021-11-01T21:24:47.984Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 1 21:23 internal [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 660 Nov 1 21:23 Jenkinsfile [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 1 21:23 LICENSE [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 999 Nov 1 21:23 Makefile [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 623 Nov 1 21:23 OWNERS.md [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 2913 Nov 1 21:23 README.md [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 1 21:21 VERSION [2021-11-01T21:24:47.984Z] -rw-rw-r--. 1 jenkins jenkins 235 Nov 1 21:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:24:48.313Z] + 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=03ae1982ed8b692c0daf1bd19db1ae89d0b1901c --label arch=amd64 --label version=0.0.0 . [2021-11-01T21:24:48.313Z] Sending build context to Docker daemon 8.784MB [2021-11-01T21:24:48.313Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:24:48.313Z] Step 2/25 : FROM ${BASE} AS builder [2021-11-01T21:24:48.313Z] ---> 67591484a2f7 [2021-11-01T21:24:48.313Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T21:24:48.313Z] ---> Running in 0e6c6a68efe7 [2021-11-01T21:24:48.578Z] Removing intermediate container 0e6c6a68efe7 [2021-11-01T21:24:48.578Z] ---> 21188a7060d2 [2021-11-01T21:24:48.578Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T21:24:48.578Z] ---> Running in 5d3bc4b3d5ae [2021-11-01T21:24:48.578Z] Removing intermediate container 5d3bc4b3d5ae [2021-11-01T21:24:48.578Z] ---> 449463627a93 [2021-11-01T21:24:48.578Z] Step 5/25 : WORKDIR /device-virtual-go [2021-11-01T21:24:48.578Z] ---> Running in ff2fdb75722a [2021-11-01T21:24:48.841Z] Removing intermediate container ff2fdb75722a [2021-11-01T21:24:48.841Z] ---> abc21e72e6a5 [2021-11-01T21:24:48.841Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:24:48.841Z] ---> Running in 91def4a8a40b [2021-11-01T21:24:49.109Z] Removing intermediate container 91def4a8a40b [2021-11-01T21:24:49.109Z] ---> 7fc2c7b2ee23 [2021-11-01T21:24:49.109Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T21:24:49.109Z] ---> Running in a3b66ee8e204 [2021-11-01T21:24:49.370Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T21:24:50.313Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T21:24:50.574Z] OK: 224 MiB in 56 packages [2021-11-01T21:24:50.836Z] Removing intermediate container a3b66ee8e204 [2021-11-01T21:24:50.836Z] ---> db59b53fe139 [2021-11-01T21:24:50.836Z] Step 8/25 : COPY . . [2021-11-01T21:24:51.100Z] ---> 6c180c1d1430 [2021-11-01T21:24:51.100Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:24:51.100Z] ---> Running in cd101544d9d3 [2021-11-01T21:24:52.045Z] Removing intermediate container cd101544d9d3 [2021-11-01T21:24:52.045Z] ---> 9bbdbf87a931 [2021-11-01T21:24:52.045Z] Step 10/25 : ARG MAKE='make build' [2021-11-01T21:24:52.045Z] ---> Running in 57f08a7fa1be [2021-11-01T21:24:52.045Z] Removing intermediate container 57f08a7fa1be [2021-11-01T21:24:52.045Z] ---> 9afd3bdffd6c [2021-11-01T21:24:52.045Z] Step 11/25 : RUN $MAKE [2021-11-01T21:24:52.045Z] ---> Running in d6fffc0d801c [2021-11-01T21:24:52.308Z] 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-11-01T21:25:10.526Z] Removing intermediate container d6fffc0d801c [2021-11-01T21:25:10.526Z] ---> 06d391ce05b9 [2021-11-01T21:25:10.526Z] Step 12/25 : FROM alpine:3.14 [2021-11-01T21:25:10.526Z] 3.14: Pulling from library/alpine [2021-11-01T21:25:10.526Z] a0d0a0d46f8b: Already exists [2021-11-01T21:25:10.526Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T21:25:10.526Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T21:25:10.526Z] ---> 14119a10abf4 [2021-11-01T21:25:10.526Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-11-01T21:25:10.526Z] ---> Running in e5c87b9e70b0 [2021-11-01T21:25:10.526Z] Removing intermediate container e5c87b9e70b0 [2021-11-01T21:25:10.526Z] ---> ed22c8e31073 [2021-11-01T21:25:10.526Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:25:10.526Z] ---> Running in 84fd776e3a89 [2021-11-01T21:25:10.526Z] Removing intermediate container 84fd776e3a89 [2021-11-01T21:25:10.526Z] ---> 5d9cdafd1ab8 [2021-11-01T21:25:10.526Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-01T21:25:10.526Z] ---> Running in c777eb8fb6b4 [2021-11-01T21:25:10.526Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T21:25:10.526Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T21:25:10.787Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-01T21:25:10.787Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T21:25:10.787Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-01T21:25:11.048Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T21:25:11.048Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-01T21:25:11.306Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-01T21:25:11.306Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:25:11.306Z] OK: 8 MiB in 20 packages [2021-11-01T21:25:11.566Z] Removing intermediate container c777eb8fb6b4 [2021-11-01T21:25:11.566Z] ---> 0df8cadd802f [2021-11-01T21:25:11.566Z] Step 16/25 : WORKDIR / [2021-11-01T21:25:11.566Z] ---> Running in 4a1ab7b7c720 [2021-11-01T21:25:11.566Z] Removing intermediate container 4a1ab7b7c720 [2021-11-01T21:25:11.566Z] ---> e3acbcd04f17 [2021-11-01T21:25:11.566Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-11-01T21:25:11.825Z] ---> 02d2c8205145 [2021-11-01T21:25:11.825Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-11-01T21:25:12.085Z] ---> faeafe344ed7 [2021-11-01T21:25:12.085Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-11-01T21:25:12.348Z] ---> 5bc6d16604ec [2021-11-01T21:25:12.348Z] Step 20/25 : EXPOSE 59900 [2021-11-01T21:25:12.348Z] ---> Running in 976ef6c1650c [2021-11-01T21:25:12.616Z] Removing intermediate container 976ef6c1650c [2021-11-01T21:25:12.616Z] ---> 53689d75424e [2021-11-01T21:25:12.616Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-11-01T21:25:12.616Z] ---> Running in d65fa5ec27e4 [2021-11-01T21:25:12.616Z] Removing intermediate container d65fa5ec27e4 [2021-11-01T21:25:12.616Z] ---> f5d07102b1aa [2021-11-01T21:25:12.616Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-01T21:25:12.616Z] ---> Running in 92dea3d5bf01 [2021-11-01T21:25:12.616Z] Removing intermediate container 92dea3d5bf01 [2021-11-01T21:25:12.616Z] ---> e6385132ec73 [2021-11-01T21:25:12.616Z] Step 23/25 : LABEL arch=amd64 [2021-11-01T21:25:12.616Z] ---> Running in 2029b91a4a54 [2021-11-01T21:25:12.888Z] Removing intermediate container 2029b91a4a54 [2021-11-01T21:25:12.888Z] ---> cd2f232dc450 [2021-11-01T21:25:12.888Z] Step 24/25 : LABEL git_sha=03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [2021-11-01T21:25:12.888Z] ---> Running in 5c1808452c78 [2021-11-01T21:25:12.888Z] Removing intermediate container 5c1808452c78 [2021-11-01T21:25:12.888Z] ---> 932627544eb6 [2021-11-01T21:25:12.888Z] Step 25/25 : LABEL version=0.0.0 [2021-11-01T21:25:12.888Z] ---> Running in 0acc17da1e1d [2021-11-01T21:25:13.161Z] Removing intermediate container 0acc17da1e1d [2021-11-01T21:25:13.161Z] ---> 503fce148651 [2021-11-01T21:25:13.161Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T21:25:13.161Z] Successfully built 503fce148651 [2021-11-01T21:25:13.161Z] 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-11-01T21:25:13.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:25:13.955Z] [2021-11-01T21:25:13.955Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:25:14.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:25:14.293Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T21:25:14.293Z] b4d181a07f80: Pulling fs layer [2021-11-01T21:25:14.293Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T21:25:14.293Z] ed53099fbce6: Pulling fs layer [2021-11-01T21:25:14.293Z] dc539afda2c1: Pulling fs layer [2021-11-01T21:25:14.293Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T21:25:14.293Z] 9065ff56babe: Pulling fs layer [2021-11-01T21:25:14.293Z] d287ab97295c: Pulling fs layer [2021-11-01T21:25:14.293Z] dc539afda2c1: Waiting [2021-11-01T21:25:14.293Z] 77bc0d833cb6: Waiting [2021-11-01T21:25:14.293Z] 9065ff56babe: Waiting [2021-11-01T21:25:14.293Z] d287ab97295c: Waiting [2021-11-01T21:25:14.293Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T21:25:14.293Z] a1111a8f2ec3: Download complete [2021-11-01T21:25:14.293Z] dc539afda2c1: Verifying Checksum [2021-11-01T21:25:14.293Z] dc539afda2c1: Download complete [2021-11-01T21:25:14.293Z] ed53099fbce6: Verifying Checksum [2021-11-01T21:25:14.293Z] ed53099fbce6: Download complete [2021-11-01T21:25:14.293Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T21:25:14.293Z] 77bc0d833cb6: Download complete [2021-11-01T21:25:14.293Z] 9065ff56babe: Verifying Checksum [2021-11-01T21:25:14.293Z] 9065ff56babe: Download complete [2021-11-01T21:25:14.570Z] b4d181a07f80: Verifying Checksum [2021-11-01T21:25:14.570Z] b4d181a07f80: Download complete [2021-11-01T21:25:15.152Z] d287ab97295c: Verifying Checksum [2021-11-01T21:25:15.152Z] d287ab97295c: Download complete [2021-11-01T21:25:16.111Z] b4d181a07f80: Pull complete [2021-11-01T21:25:16.111Z] a1111a8f2ec3: Pull complete [2021-11-01T21:25:16.686Z] ed53099fbce6: Pull complete [2021-11-01T21:25:16.686Z] dc539afda2c1: Pull complete [2021-11-01T21:25:16.946Z] 77bc0d833cb6: Pull complete [2021-11-01T21:25:16.947Z] 9065ff56babe: Pull complete [2021-11-01T21:25:22.269Z] d287ab97295c: Pull complete [2021-11-01T21:25:22.269Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T21:25:22.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:25:22.269Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T21:25:22.361Z] prd-centos7-docker-4c-2g-13759 does not seem to be running inside a container [2021-11-01T21:25:22.397Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-01T21:25:24.550Z] $ docker top 7510714213d247272fe92bce284a33bf18e1399d969b02e4145b676b364302fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:25:24.980Z] ---> job-cost.sh [2021-11-01T21:25:24.980Z] lf-activate-venv: SKIPPING [2021-11-01T21:25:24.980Z] INFO: No Stack... [2021-11-01T21:25:27.530Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T21:25:27.530Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T21:25:27.835Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-11-01T21:25:27.835Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T21:25:27.878Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-247-1-stack-cost] [2021-11-01T21:25:27.883Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-247-1-stack-cost] did not exist. Created. [2021-11-01T21:25:27.883Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-247-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T21:25:28.250Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-01T21:25:28.297Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T21:25:28.313Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-247-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T21:25:28.377Z] $ docker stop --time=1 7510714213d247272fe92bce284a33bf18e1399d969b02e4145b676b364302fd [2021-11-01T21:25:29.503Z] $ docker rm -f 7510714213d247272fe92bce284a33bf18e1399d969b02e4145b676b364302fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-01T21:25:37.475Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13761 in /w/workspace/foundry_device-virtual-go_PR-247 [Pipeline] { [Pipeline] ws [2021-11-01T21:25:37.513Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-11-01T21:25:37.762Z] The recommended git tool is: git [2021-11-01T21:25:44.036Z] using credential edgex-jenkins-ssh [2021-11-01T21:25:44.086Z] Cloning the remote Git repository [2021-11-01T21:25:44.161Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-11-01T21:25:44.268Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-11-01T21:25:44.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-11-01T21:25:44.405Z] > git --version # timeout=10 [2021-11-01T21:25:44.434Z] > git --version # 'git version 2.17.1' [2021-11-01T21:25:44.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T21:25:44.535Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:25:46.228Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-11-01T21:25:46.245Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:25:46.280Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-11-01T21:25:46.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-11-01T21:25:46.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T21:25:46.346Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-01T21:25:47.028Z] Merging remotes/origin/main commit ec57df2525f5cafee8ef272e9914b3bd69991a03 into PR head commit 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [2021-11-01T21:25:47.278Z] Merge succeeded, producing 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [2021-11-01T21:25:47.278Z] Checking out Revision 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c (PR-247) [2021-11-01T21:25:47.042Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T21:25:47.066Z] > git checkout -f 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c # timeout=10 [2021-11-01T21:25:47.159Z] > git remote # timeout=10 [2021-11-01T21:25:47.180Z] > git config --get remote.origin.url # timeout=10 [2021-11-01T21:25:47.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T21:25:47.221Z] > git merge ec57df2525f5cafee8ef272e9914b3bd69991a03 # timeout=10 [2021-11-01T21:25:47.253Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-01T21:25:47.278Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T21:25:47.294Z] > git checkout -f 03ae1982ed8b692c0daf1bd19db1ae89d0b1901c # timeout=10 [2021-11-01T21:25:51.639Z] Commit message: "build: Update to latest SDK" [2021-11-01T21:25:51.689Z] > git --version # timeout=10 [2021-11-01T21:25:51.702Z] > git --version # 'git version 2.17.1' [2021-11-01T21:25:51.717Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T21:25:52.793Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-01T21:25:52.793Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T21:25:52.793Z] Dload Upload Total Spent Left Speed [2021-11-01T21:25:52.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2021-11-01T21:25:53.236Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-01T21:25:53.597Z] + sudo tee /etc/docker/daemon.new [2021-11-01T21:25:53.597Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-01T21:25:53.597Z] { [2021-11-01T21:25:53.597Z] "registry-mirrors": [ [2021-11-01T21:25:53.597Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-01T21:25:53.597Z] ], [2021-11-01T21:25:53.597Z] "bip": "10.250.0.254/24", [2021-11-01T21:25:53.597Z] "hosts": [ [2021-11-01T21:25:53.597Z] "tcp://0.0.0.0:5555", [2021-11-01T21:25:53.597Z] "unix:///var/run/docker.sock" [2021-11-01T21:25:53.597Z] ], [2021-11-01T21:25:53.597Z] "mtu": 1458, [2021-11-01T21:25:53.597Z] "selinux-enabled": true, [2021-11-01T21:25:53.597Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-01T21:25:53.597Z] } [Pipeline] sh [2021-11-01T21:25:53.959Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-01T21:25:54.323Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:26:12.746Z] provisioning config files... [2021-11-01T21:26:12.775Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1102942340508805275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:26:13.197Z] ---> docker-login.sh [2021-11-01T21:26:13.197Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:26:14.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:26:14.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:26:14.528Z] Configure a credential helper to remove this warning. See [2021-11-01T21:26:14.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:26:14.528Z] [2021-11-01T21:26:14.528Z] Login Succeeded [2021-11-01T21:26:14.528Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:26:15.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:26:15.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:26:15.140Z] Configure a credential helper to remove this warning. See [2021-11-01T21:26:15.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:26:15.140Z] [2021-11-01T21:26:15.140Z] Login Succeeded [2021-11-01T21:26:15.140Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:26:15.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:26:15.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:26:15.695Z] Configure a credential helper to remove this warning. See [2021-11-01T21:26:15.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:26:15.695Z] [2021-11-01T21:26:15.695Z] Login Succeeded [2021-11-01T21:26:15.695Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:26:15.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:26:16.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:26:16.247Z] Configure a credential helper to remove this warning. See [2021-11-01T21:26:16.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:26:16.247Z] [2021-11-01T21:26:16.247Z] Login Succeeded [2021-11-01T21:26:16.247Z] docker.io [2021-11-01T21:26:16.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:26:17.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:26:17.125Z] Configure a credential helper to remove this warning. See [2021-11-01T21:26:17.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:26:17.125Z] [2021-11-01T21:26:17.125Z] Login Succeeded [2021-11-01T21:26:17.125Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:26:17.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T21:26:17.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T21:26:17.765Z] ========================================================= [2021-11-01T21:26:17.765Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-01T21:26:17.765Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:26:18.262Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-01T21:26:18.889Z] Sending build context to Docker daemon 8.736MB [2021-11-01T21:26:18.889Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:26:18.889Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-01T21:26:19.167Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-01T21:26:19.167Z] 552d1f2373af: Pulling fs layer [2021-11-01T21:26:19.167Z] ea3f2d53f512: Pulling fs layer [2021-11-01T21:26:19.167Z] 9e70ebbbe112: Pulling fs layer [2021-11-01T21:26:19.167Z] 7a9cfe048b4a: Pulling fs layer [2021-11-01T21:26:19.167Z] 72dc09318566: Pulling fs layer [2021-11-01T21:26:19.167Z] f4f7b4309257: Pulling fs layer [2021-11-01T21:26:19.167Z] 0ac9a79272e3: Pulling fs layer [2021-11-01T21:26:19.167Z] b78e95d17946: Pulling fs layer [2021-11-01T21:26:19.167Z] 7a9cfe048b4a: Waiting [2021-11-01T21:26:19.167Z] 0ac9a79272e3: Waiting [2021-11-01T21:26:19.167Z] f4f7b4309257: Waiting [2021-11-01T21:26:19.167Z] b78e95d17946: Waiting [2021-11-01T21:26:19.167Z] 9e70ebbbe112: Verifying Checksum [2021-11-01T21:26:19.167Z] 9e70ebbbe112: Download complete [2021-11-01T21:26:19.167Z] ea3f2d53f512: Verifying Checksum [2021-11-01T21:26:19.167Z] ea3f2d53f512: Download complete [2021-11-01T21:26:19.167Z] 72dc09318566: Verifying Checksum [2021-11-01T21:26:19.167Z] 72dc09318566: Download complete [2021-11-01T21:26:19.167Z] 552d1f2373af: Verifying Checksum [2021-11-01T21:26:19.167Z] 552d1f2373af: Download complete [2021-11-01T21:26:19.167Z] f4f7b4309257: Verifying Checksum [2021-11-01T21:26:19.167Z] f4f7b4309257: Download complete [2021-11-01T21:26:19.167Z] 0ac9a79272e3: Verifying Checksum [2021-11-01T21:26:19.167Z] 0ac9a79272e3: Download complete [2021-11-01T21:26:20.659Z] 552d1f2373af: Pull complete [2021-11-01T21:26:21.673Z] ea3f2d53f512: Pull complete [2021-11-01T21:26:21.951Z] 9e70ebbbe112: Pull complete [2021-11-01T21:26:22.227Z] b78e95d17946: Verifying Checksum [2021-11-01T21:26:22.227Z] b78e95d17946: Download complete [2021-11-01T21:26:22.831Z] 7a9cfe048b4a: Verifying Checksum [2021-11-01T21:26:22.831Z] 7a9cfe048b4a: Download complete [2021-11-01T21:26:35.248Z] 7a9cfe048b4a: Pull complete [2021-11-01T21:26:35.248Z] 72dc09318566: Pull complete [2021-11-01T21:26:35.248Z] f4f7b4309257: Pull complete [2021-11-01T21:26:35.851Z] 0ac9a79272e3: Pull complete [2021-11-01T21:26:42.577Z] b78e95d17946: Pull complete [2021-11-01T21:26:42.577Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-01T21:26:42.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-01T21:26:42.577Z] ---> 8b459fc5aaf0 [2021-11-01T21:26:42.577Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T21:26:43.562Z] ---> Running in a3bfd0459f7b [2021-11-01T21:26:43.843Z] Removing intermediate container a3bfd0459f7b [2021-11-01T21:26:43.843Z] ---> 8645b11229e9 [2021-11-01T21:26:43.843Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T21:26:44.119Z] ---> Running in e63803e72ddb [2021-11-01T21:26:44.722Z] Removing intermediate container e63803e72ddb [2021-11-01T21:26:44.722Z] ---> cfd4b7bca3d2 [2021-11-01T21:26:44.722Z] Step 5/11 : WORKDIR /device-virtual-go [2021-11-01T21:26:44.722Z] ---> Running in 8b573f7f850d [2021-11-01T21:26:45.326Z] Removing intermediate container 8b573f7f850d [2021-11-01T21:26:45.326Z] ---> 3a623495f244 [2021-11-01T21:26:45.326Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:26:45.326Z] ---> Running in e2ef854fcfed [2021-11-01T21:26:47.967Z] Removing intermediate container e2ef854fcfed [2021-11-01T21:26:47.967Z] ---> 2a6f76a932af [2021-11-01T21:26:47.967Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T21:26:47.967Z] ---> Running in ccc5c6a91817 [2021-11-01T21:26:49.417Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T21:26:50.400Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T21:26:51.000Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-01T21:26:51.276Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-01T21:26:51.277Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-01T21:26:51.552Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-01T21:26:51.552Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:26:51.835Z] OK: 223 MiB in 56 packages [2021-11-01T21:26:52.819Z] Removing intermediate container ccc5c6a91817 [2021-11-01T21:26:52.819Z] ---> f98ce5c126d6 [2021-11-01T21:26:52.819Z] Step 8/11 : COPY . . [2021-11-01T21:26:54.260Z] ---> b9037077da6c [2021-11-01T21:26:54.260Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:26:54.260Z] ---> Running in 0e30d99061c7 [2021-11-01T21:28:16.049Z] Removing intermediate container 0e30d99061c7 [2021-11-01T21:28:16.049Z] ---> ff666827f473 [2021-11-01T21:28:16.049Z] Step 10/11 : ARG MAKE='make build' [2021-11-01T21:28:16.049Z] ---> Running in 90160ef7519a [2021-11-01T21:28:16.049Z] Removing intermediate container 90160ef7519a [2021-11-01T21:28:16.049Z] ---> b1ea3c0bfaa6 [2021-11-01T21:28:16.049Z] Step 11/11 : RUN $MAKE [2021-11-01T21:28:16.049Z] ---> Running in 10aa7f2bbd11 [2021-11-01T21:28:16.049Z] noop [2021-11-01T21:28:16.049Z] Removing intermediate container 10aa7f2bbd11 [2021-11-01T21:28:16.049Z] ---> 358447e67925 [2021-11-01T21:28:16.049Z] Successfully built 358447e67925 [2021-11-01T21:28:16.049Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:28:16.420Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T21:28:16.420Z] . [Pipeline] withDockerContainer [2021-11-01T21:28:16.699Z] prd-ubuntu18.04-docker-arm64-4c-16g-13761 does not seem to be running inside a container [2021-11-01T21:28:16.791Z] $ 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 ******** ci-base-image-arm64 cat [2021-11-01T21:28:18.422Z] $ docker top 5a04653d153b53f1c97faf8c5f16c0c7e45af0c0af2096571d42e43ce5562beb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T21:28:19.427Z] + go version [2021-11-01T21:28:19.427Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-01T21:28:19.471Z] $ docker stop --time=1 5a04653d153b53f1c97faf8c5f16c0c7e45af0c0af2096571d42e43ce5562beb [2021-11-01T21:28:21.245Z] $ docker rm -f 5a04653d153b53f1c97faf8c5f16c0c7e45af0c0af2096571d42e43ce5562beb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:28:22.126Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T21:28:22.126Z] . [Pipeline] withDockerContainer [2021-11-01T21:28:22.407Z] prd-ubuntu18.04-docker-arm64-4c-16g-13761 does not seem to be running inside a container [2021-11-01T21:28:22.501Z] $ 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 ******** ci-base-image-arm64 cat [2021-11-01T21:28:24.086Z] $ docker top c31ee50945033af34917a4e493565c0f518f7e4adbc381f4239f9d1fa14ac0e4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T21:28:25.097Z] + make test [2021-11-01T21:28:25.097Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-01T21:28:26.544Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-11-01T21:29:34.648Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-11-01T21:29:34.648Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.798s coverage: 64.6% of statements [2021-11-01T21:29:34.648Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T21:30:07.030Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T21:30:07.030Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T21:30:07.030Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T21:30:07.070Z] $ docker stop --time=1 c31ee50945033af34917a4e493565c0f518f7e4adbc381f4239f9d1fa14ac0e4 [2021-11-01T21:30:08.925Z] $ docker rm -f c31ee50945033af34917a4e493565c0f518f7e4adbc381f4239f9d1fa14ac0e4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T21:30:09.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T21:30:09.882Z] Warning: overwriting stash ‘coverage-report’ [2021-11-01T21:30:10.417Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T21:30:11.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T21:30:11.772Z] + ls -al . [2021-11-01T21:30:11.772Z] total 200 [2021-11-01T21:30:11.772Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 1 21:30 . [2021-11-01T21:30:11.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:25 .. [2021-11-01T21:30:11.772Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:25 .git [2021-11-01T21:30:11.772Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:25 .github [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 270 Nov 1 21:25 .gitignore [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 8449 Nov 1 21:25 Attribution.txt [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 6349 Nov 1 21:25 CHANGELOG.md [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 1951 Nov 1 21:25 Dockerfile [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:25 GOVERNANCE.md [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 1 21:25 Jenkinsfile [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 21:25 LICENSE [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 999 Nov 1 21:25 Makefile [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 1 21:25 OWNERS.md [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 2913 Nov 1 21:25 README.md [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 21:21 VERSION [2021-11-01T21:30:11.772Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:25 bin [2021-11-01T21:30:11.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:25 cmd [2021-11-01T21:30:11.772Z] -rw-r--r-- 1 jenkins jenkins 46339 Nov 1 21:29 coverage.out [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 358 Nov 1 21:25 go.mod [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 52389 Nov 1 21:25 go.sum [2021-11-01T21:30:11.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:25 internal [2021-11-01T21:30:11.772Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 1 21:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:30:12.176Z] + 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=03ae1982ed8b692c0daf1bd19db1ae89d0b1901c --label arch=arm64 --label version=0.0.0 . [2021-11-01T21:30:12.801Z] Sending build context to Docker daemon 8.783MB [2021-11-01T21:30:12.801Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:30:12.801Z] Step 2/25 : FROM ${BASE} AS builder [2021-11-01T21:30:12.801Z] ---> 358447e67925 [2021-11-01T21:30:12.801Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T21:30:13.100Z] ---> Running in d709819c29d7 [2021-11-01T21:30:13.710Z] Removing intermediate container d709819c29d7 [2021-11-01T21:30:13.710Z] ---> 31b3fda8e93b [2021-11-01T21:30:13.710Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T21:30:13.710Z] ---> Running in d7045f07cb4e [2021-11-01T21:30:14.308Z] Removing intermediate container d7045f07cb4e [2021-11-01T21:30:14.308Z] ---> 54c9f83a4b04 [2021-11-01T21:30:14.308Z] Step 5/25 : WORKDIR /device-virtual-go [2021-11-01T21:30:14.308Z] ---> Running in a7aba664eff3 [2021-11-01T21:30:14.592Z] Removing intermediate container a7aba664eff3 [2021-11-01T21:30:14.592Z] ---> 431a5f1b7ba9 [2021-11-01T21:30:14.592Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:30:14.869Z] ---> Running in 8b26b423396e [2021-11-01T21:30:16.844Z] Removing intermediate container 8b26b423396e [2021-11-01T21:30:16.844Z] ---> 3b59183db4ee [2021-11-01T21:30:16.844Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T21:30:16.844Z] ---> Running in f3985526b094 [2021-11-01T21:30:17.816Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T21:30:18.789Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T21:30:19.762Z] OK: 223 MiB in 56 packages [2021-11-01T21:30:20.741Z] Removing intermediate container f3985526b094 [2021-11-01T21:30:20.741Z] ---> 61f988193022 [2021-11-01T21:30:20.741Z] Step 8/25 : COPY . . [2021-11-01T21:30:21.713Z] ---> 406aafa6c251 [2021-11-01T21:30:21.713Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:30:21.713Z] ---> Running in 8ff2fcaa57a7 [2021-11-01T21:30:24.321Z] Removing intermediate container 8ff2fcaa57a7 [2021-11-01T21:30:24.321Z] ---> f5b5b5f32901 [2021-11-01T21:30:24.321Z] Step 10/25 : ARG MAKE='make build' [2021-11-01T21:30:24.321Z] ---> Running in 0cd37d5fc526 [2021-11-01T21:30:24.606Z] Removing intermediate container 0cd37d5fc526 [2021-11-01T21:30:24.606Z] ---> 35e4547adce4 [2021-11-01T21:30:24.606Z] Step 11/25 : RUN $MAKE [2021-11-01T21:30:24.606Z] ---> Running in 023b3d4a3ab4 [2021-11-01T21:30:26.038Z] 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-11-01T21:31:22.603Z] Removing intermediate container 023b3d4a3ab4 [2021-11-01T21:31:22.603Z] ---> 738fdbd1da6f [2021-11-01T21:31:22.603Z] Step 12/25 : FROM alpine:3.14 [2021-11-01T21:31:22.603Z] 3.14: Pulling from library/alpine [2021-11-01T21:31:22.603Z] 552d1f2373af: Already exists [2021-11-01T21:31:22.603Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T21:31:22.603Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T21:31:22.603Z] ---> bb3de5531c18 [2021-11-01T21:31:22.603Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-11-01T21:31:22.603Z] ---> Running in ed1b6b29df25 [2021-11-01T21:31:22.603Z] Removing intermediate container ed1b6b29df25 [2021-11-01T21:31:22.603Z] ---> 12e99fc75c9d [2021-11-01T21:31:22.603Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:31:22.603Z] ---> Running in d1b561535d8b [2021-11-01T21:31:23.208Z] Removing intermediate container d1b561535d8b [2021-11-01T21:31:23.208Z] ---> 0060c7faa1d4 [2021-11-01T21:31:23.208Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-01T21:31:23.208Z] ---> Running in f98ee7c840f6 [2021-11-01T21:31:24.641Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T21:31:25.615Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T21:31:26.207Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-01T21:31:26.207Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T21:31:26.479Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-01T21:31:26.479Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T21:31:26.749Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-01T21:31:26.749Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-01T21:31:27.020Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:31:27.020Z] OK: 8 MiB in 20 packages [2021-11-01T21:31:27.997Z] Removing intermediate container f98ee7c840f6 [2021-11-01T21:31:27.997Z] ---> 416bad1c13f6 [2021-11-01T21:31:27.997Z] Step 16/25 : WORKDIR / [2021-11-01T21:31:28.268Z] ---> Running in eb7bfc15a25b [2021-11-01T21:31:28.862Z] Removing intermediate container eb7bfc15a25b [2021-11-01T21:31:28.862Z] ---> 395334f93cbe [2021-11-01T21:31:28.862Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-11-01T21:31:29.453Z] ---> 94b732ec9faf [2021-11-01T21:31:29.453Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-11-01T21:31:30.049Z] ---> 30821c4cff72 [2021-11-01T21:31:30.049Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-11-01T21:31:31.482Z] ---> 5b8b1f3cfc98 [2021-11-01T21:31:31.482Z] Step 20/25 : EXPOSE 59900 [2021-11-01T21:31:31.482Z] ---> Running in b3fb6e0d5e4e [2021-11-01T21:31:32.087Z] Removing intermediate container b3fb6e0d5e4e [2021-11-01T21:31:32.087Z] ---> fc86ea201bb5 [2021-11-01T21:31:32.087Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-11-01T21:31:32.087Z] ---> Running in a0e176696edc [2021-11-01T21:31:32.682Z] Removing intermediate container a0e176696edc [2021-11-01T21:31:32.682Z] ---> b2e2a3978147 [2021-11-01T21:31:32.682Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-01T21:31:32.682Z] ---> Running in 16bb184849e9 [2021-11-01T21:31:33.278Z] Removing intermediate container 16bb184849e9 [2021-11-01T21:31:33.278Z] ---> 8fc4e903ce14 [2021-11-01T21:31:33.278Z] Step 23/25 : LABEL arch=arm64 [2021-11-01T21:31:33.278Z] ---> Running in 80a9a483b34d [2021-11-01T21:31:33.872Z] Removing intermediate container 80a9a483b34d [2021-11-01T21:31:33.872Z] ---> c40a4b5bf038 [2021-11-01T21:31:33.872Z] Step 24/25 : LABEL git_sha=03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [2021-11-01T21:31:33.872Z] ---> Running in d00e972e6f82 [2021-11-01T21:31:34.146Z] Removing intermediate container d00e972e6f82 [2021-11-01T21:31:34.146Z] ---> f533dce397bc [2021-11-01T21:31:34.146Z] Step 25/25 : LABEL version=0.0.0 [2021-11-01T21:31:34.417Z] ---> Running in 92102795bf8e [2021-11-01T21:31:34.689Z] Removing intermediate container 92102795bf8e [2021-11-01T21:31:34.689Z] ---> ab51a0ea45bf [2021-11-01T21:31:34.689Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T21:31:34.960Z] Successfully built ab51a0ea45bf [2021-11-01T21:31:34.960Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:31:35.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:31:35.965Z] [2021-11-01T21:31:35.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:31:36.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:31:36.620Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-01T21:31:36.620Z] 448f6bf000e3: Pulling fs layer [2021-11-01T21:31:36.620Z] f757da607395: Pulling fs layer [2021-11-01T21:31:36.620Z] 05883995daec: Pulling fs layer [2021-11-01T21:31:36.620Z] 8603b9c90790: Pulling fs layer [2021-11-01T21:31:36.620Z] 1560dd03e051: Pulling fs layer [2021-11-01T21:31:36.620Z] 27f5ce0e4adf: Pulling fs layer [2021-11-01T21:31:36.620Z] c2d8d7efcc4b: Pulling fs layer [2021-11-01T21:31:36.620Z] 8603b9c90790: Waiting [2021-11-01T21:31:36.620Z] 1560dd03e051: Waiting [2021-11-01T21:31:36.620Z] 27f5ce0e4adf: Waiting [2021-11-01T21:31:36.620Z] c2d8d7efcc4b: Waiting [2021-11-01T21:31:36.620Z] f757da607395: Verifying Checksum [2021-11-01T21:31:36.620Z] f757da607395: Download complete [2021-11-01T21:31:36.620Z] 8603b9c90790: Verifying Checksum [2021-11-01T21:31:36.620Z] 8603b9c90790: Download complete [2021-11-01T21:31:36.900Z] 1560dd03e051: Verifying Checksum [2021-11-01T21:31:36.900Z] 1560dd03e051: Download complete [2021-11-01T21:31:36.900Z] 27f5ce0e4adf: Verifying Checksum [2021-11-01T21:31:36.900Z] 27f5ce0e4adf: Download complete [2021-11-01T21:31:36.900Z] 05883995daec: Verifying Checksum [2021-11-01T21:31:36.900Z] 05883995daec: Download complete [2021-11-01T21:31:37.177Z] 448f6bf000e3: Verifying Checksum [2021-11-01T21:31:37.177Z] 448f6bf000e3: Download complete [2021-11-01T21:31:39.804Z] c2d8d7efcc4b: Verifying Checksum [2021-11-01T21:31:39.804Z] c2d8d7efcc4b: Download complete [2021-11-01T21:31:40.779Z] 448f6bf000e3: Pull complete [2021-11-01T21:31:41.759Z] f757da607395: Pull complete [2021-11-01T21:31:43.199Z] 05883995daec: Pull complete [2021-11-01T21:31:43.474Z] 8603b9c90790: Pull complete [2021-11-01T21:31:44.456Z] 1560dd03e051: Pull complete [2021-11-01T21:31:44.729Z] 27f5ce0e4adf: Pull complete [2021-11-01T21:31:59.816Z] c2d8d7efcc4b: Pull complete [2021-11-01T21:31:59.816Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-01T21:31:59.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:31:59.816Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-01T21:32:00.061Z] prd-ubuntu18.04-docker-arm64-4c-16g-13761 does not seem to be running inside a container [2021-11-01T21:32:00.153Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-01T21:32:03.137Z] $ docker top 9f0cb9d9ebb6e8a284b89f2bf3fb4ba258301d653498a8e176ffa70c1bdb64c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:32:04.179Z] ---> job-cost.sh [2021-11-01T21:32:04.179Z] lf-activate-venv: SKIPPING [2021-11-01T21:32:04.179Z] INFO: No Stack... [2021-11-01T21:32:05.611Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-01T21:32:05.884Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T21:32:06.593Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-11-01T21:32:06.593Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T21:32:06.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-247-1-stack-cost] [2021-11-01T21:32:06.700Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-247-1-stack-cost] did not exist. Created. [2021-11-01T21:32:06.700Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-247-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T21:32:07.461Z] /w/workspace/device-virtual-go/1@tmp/durable-dc48cb2f/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-dc48cb2f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-01T21:32:08.173Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-01T21:32:08.213Z] Warning: overwriting stash ‘stack-cost’ [2021-11-01T21:32:08.256Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T21:32:08.272Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-247-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T21:32:08.331Z] $ docker stop --time=1 9f0cb9d9ebb6e8a284b89f2bf3fb4ba258301d653498a8e176ffa70c1bdb64c3 [2021-11-01T21:32:09.915Z] $ docker rm -f 9f0cb9d9ebb6e8a284b89f2bf3fb4ba258301d653498a8e176ffa70c1bdb64c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] configFileProvider [2021-11-01T21:32:10.941Z] provisioning config files... [2021-11-01T21:32:10.949Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-247@tmp/config1335595974778898096tmp [Pipeline] { [Pipeline] sh [2021-11-01T21:32:11.281Z] + set +x [2021-11-01T21:32:11.281Z] + bash -s -- [2021-11-01T21:32:11.281Z] + curl -s https://codecov.io/bash [2021-11-01T21:32:11.281Z] [2021-11-01T21:32:11.281Z] _____ _ [2021-11-01T21:32:11.281Z] / ____| | | [2021-11-01T21:32:11.281Z] | | ___ __| | ___ ___ _____ __ [2021-11-01T21:32:11.281Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-01T21:32:11.281Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-01T21:32:11.281Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-01T21:32:11.281Z] Bash-1.0.6 [2021-11-01T21:32:11.281Z] [2021-11-01T21:32:11.281Z] [2021-11-01T21:32:11.281Z] ==> git version 2.24.4 found [2021-11-01T21:32:11.281Z] ==> 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-11-01T21:32:11.281Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-01T21:32:11.281Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-01T21:32:11.281Z] ==> Jenkins CI detected. [2021-11-01T21:32:11.281Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-247 [2021-11-01T21:32:11.281Z] project root: . [2021-11-01T21:32:11.281Z] --> token set from env [2021-11-01T21:32:11.281Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-01T21:32:11.545Z] ==> Running gcov in . (disable via -X gcov) [2021-11-01T21:32:11.545Z] ==> Python coveragepy not found [2021-11-01T21:32:11.545Z] ==> Searching for coverage reports in: [2021-11-01T21:32:11.545Z] + . [2021-11-01T21:32:11.545Z] -> Found 1 reports [2021-11-01T21:32:11.545Z] ==> Detecting git/mercurial file structure [2021-11-01T21:32:11.545Z] ==> Reading reports [2021-11-01T21:32:11.545Z] + ./coverage.out bytes=46339 [2021-11-01T21:32:11.545Z] ==> Appending adjustments [2021-11-01T21:32:11.545Z] https://docs.codecov.io/docs/fixing-reports [2021-11-01T21:32:11.545Z] + Found adjustments [2021-11-01T21:32:11.545Z] ==> Gzipping contents [2021-11-01T21:32:11.545Z] 8.0K /tmp/codecov.sT9tWW.gz [2021-11-01T21:32:11.545Z] ==> Uploading reports [2021-11-01T21:32:11.545Z] url: https://codecov.io [2021-11-01T21:32:11.545Z] query: branch=PR-247&commit=03ae1982ed8b692c0daf1bd19db1ae89d0b1901c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-247%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=247&job=&cmd_args= [2021-11-01T21:32:11.545Z] -> Pinging Codecov [2021-11-01T21:32:11.545Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-247&commit=03ae1982ed8b692c0daf1bd19db1ae89d0b1901c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-247%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=247&job=&cmd_args= [2021-11-01T21:32:12.123Z] -> Uploading to [2021-11-01T21:32:12.123Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-01/5E52B4B073DB2E39498172D8E973AA87/03ae1982ed8b692c0daf1bd19db1ae89d0b1901c/028d7b6d-26a3-411a-923a-e4a6191736cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T213211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=424bc284ed50c4157021b799618ed57bb26a4ecb903ca4bb6b9a91877ae851a7 [2021-11-01T21:32:12.123Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T21:32:12.123Z] Dload Upload Total Spent Left Speed [2021-11-01T21:32:12.123Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5500 0 0 100 5500 0 18574 --:--:-- --:--:-- --:--:-- 18644 [2021-11-01T21:32:12.123Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/03ae1982ed8b692c0daf1bd19db1ae89d0b1901c [Pipeline] } [2021-11-01T21:32:12.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-01T21:32:14.178Z] + '[' -d /w/workspace/foundry_device-virtual-go_PR-247/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:32:14.505Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:32:15.089Z] ---> package-listing.sh [2021-11-01T21:32:15.089Z] ++ facter osfamily [2021-11-01T21:32:15.089Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-01T21:32:15.350Z] + OS_FAMILY=redhat [2021-11-01T21:32:15.350Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-247 [2021-11-01T21:32:15.351Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-01T21:32:15.351Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-01T21:32:15.351Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-01T21:32:15.351Z] + PACKAGES=/tmp/packages_start.txt [2021-11-01T21:32:15.351Z] + '[' /w/workspace/foundry_device-virtual-go_PR-247 ']' [2021-11-01T21:32:15.351Z] + PACKAGES=/tmp/packages_end.txt [2021-11-01T21:32:15.351Z] + case "${OS_FAMILY}" in [2021-11-01T21:32:15.351Z] + sort [2021-11-01T21:32:15.351Z] + rpm -qa [2021-11-01T21:32:15.924Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-01T21:32:15.924Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-01T21:32:15.924Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-01T21:32:15.924Z] + '[' /w/workspace/foundry_device-virtual-go_PR-247 ']' [2021-11-01T21:32:15.924Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-247/archives/ [2021-11-01T21:32:15.924Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-247/archives/ [Pipeline] echo [2021-11-01T21:32:15.955Z] 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-247/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-01T21:32:16.254Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:32:16.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:32:16.834Z] [2021-11-01T21:32:16.834Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:32:17.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:32:17.182Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T21:32:17.182Z] b4d181a07f80: Pulling fs layer [2021-11-01T21:32:17.182Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T21:32:17.182Z] ed53099fbce6: Pulling fs layer [2021-11-01T21:32:17.182Z] dc539afda2c1: Pulling fs layer [2021-11-01T21:32:17.182Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T21:32:17.182Z] 9065ff56babe: Pulling fs layer [2021-11-01T21:32:17.182Z] d287ab97295c: Pulling fs layer [2021-11-01T21:32:17.182Z] dc539afda2c1: Waiting [2021-11-01T21:32:17.182Z] 77bc0d833cb6: Waiting [2021-11-01T21:32:17.182Z] 9065ff56babe: Waiting [2021-11-01T21:32:17.182Z] d287ab97295c: Waiting [2021-11-01T21:32:17.182Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T21:32:17.182Z] a1111a8f2ec3: Download complete [2021-11-01T21:32:17.182Z] dc539afda2c1: Verifying Checksum [2021-11-01T21:32:17.182Z] dc539afda2c1: Download complete [2021-11-01T21:32:17.466Z] ed53099fbce6: Verifying Checksum [2021-11-01T21:32:17.466Z] ed53099fbce6: Download complete [2021-11-01T21:32:17.466Z] 9065ff56babe: Verifying Checksum [2021-11-01T21:32:17.466Z] 9065ff56babe: Download complete [2021-11-01T21:32:17.466Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T21:32:17.466Z] 77bc0d833cb6: Download complete [2021-11-01T21:32:17.466Z] b4d181a07f80: Verifying Checksum [2021-11-01T21:32:17.466Z] b4d181a07f80: Download complete [2021-11-01T21:32:18.041Z] d287ab97295c: Verifying Checksum [2021-11-01T21:32:18.041Z] d287ab97295c: Download complete [2021-11-01T21:32:18.998Z] b4d181a07f80: Pull complete [2021-11-01T21:32:18.998Z] a1111a8f2ec3: Pull complete [2021-11-01T21:32:19.573Z] ed53099fbce6: Pull complete [2021-11-01T21:32:19.573Z] dc539afda2c1: Pull complete [2021-11-01T21:32:19.838Z] 77bc0d833cb6: Pull complete [2021-11-01T21:32:19.838Z] 9065ff56babe: Pull complete [2021-11-01T21:32:25.184Z] d287ab97295c: Pull complete [2021-11-01T21:32:25.184Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T21:32:25.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:32:25.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T21:32:25.265Z] prd-centos7-docker-4c-2g-13756 does not seem to be running inside a container [2021-11-01T21:32:25.299Z] $ 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-247/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-247 -v /w/workspace/foundry_device-virtual-go_PR-247:/w/workspace/foundry_device-virtual-go_PR-247:rw,z -v /w/workspace/foundry_device-virtual-go_PR-247@tmp:/w/workspace/foundry_device-virtual-go_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-01T21:32:27.546Z] $ docker top e0cfb9049166cf651012b9daf33ef45596778f73042ac01b8fd014ed2a9e5fe2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T21:32:27.935Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-01T21:32:28.251Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-01T21:32:28.580Z] + ls /var/log/sa-host [2021-11-01T21:32:28.580Z] + sadf -c /var/log/sa-host/sa01 [2021-11-01T21:32:28.580Z] file_magic: OK [2021-11-01T21:32:28.580Z] HZ: Using current value: 100 [2021-11-01T21:32:28.580Z] file_header: OK [2021-11-01T21:32:28.580Z] 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-11-01T21:32:28.580Z] Statistics: [2021-11-01T21:32:28.580Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T21:32:28.580Z] File successfully converted to sysstat format version 12.0.3 [2021-11-01T21:32:28.580Z] + sadf -c /var/log/sa-host/sa30 [2021-11-01T21:32:28.580Z] file_magic: OK [2021-11-01T21:32:28.580Z] HZ: Using current value: 100 [2021-11-01T21:32:28.580Z] file_header: OK [2021-11-01T21:32:28.580Z] 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-11-01T21:32:28.580Z] Statistics: [2021-11-01T21:32:28.580Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T21:32:28.580Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:32:28.705Z] provisioning config files... [2021-11-01T21:32:28.722Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-247@tmp/config2470125337702880609tmp [Pipeline] { [Pipeline] echo [2021-11-01T21:32:28.767Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:32:29.094Z] ---> create-netrc.sh [Pipeline] } [2021-11-01T21:32:29.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:32:29.487Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-01T21:32:29.516Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:32:29.831Z] ---> sudo-logs.sh [2021-11-01T21:32:29.831Z] Archiving 'sudo' log.. [2021-11-01T21:32:29.831Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13756.novalocal: Name or service not known [2021-11-01T21:32:29.831Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13756.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-01T21:32:29.887Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:32:30.224Z] ---> job-cost.sh [2021-11-01T21:32:30.224Z] lf-activate-venv: SKIPPING [2021-11-01T21:32:30.224Z] DEBUG: total: 0.10999999940395355 [2021-11-01T21:32:30.224Z] INFO: Retrieving Stack Cost... [2021-11-01T21:32:30.485Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T21:32:30.746Z] INFO: Archiving Costs [Pipeline] echo [2021-11-01T21:32:30.778Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:32:31.123Z] ---> logs-deploy.sh [2021-11-01T21:32:31.124Z] lf-activate-venv: SKIPPING [2021-11-01T21:32:31.124Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-247/1 [2021-11-01T21:32:31.124Z] INFO: archiving workspace using pattern(s): [2021-11-01T21:32:31.695Z] Archives upload complete. [2021-11-01T21:32:31.961Z] INFO: archiving logs to Nexus