Pull request #287 updated 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 MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 9cab87334a4d5affcc1b2c5c12d642008ef46c2d rather than 8760134d8f81b98d9e42670833e31fee59ce4831 Obtained Jenkinsfile from 9cab87334a4d5affcc1b2c5c12d642008ef46c2d 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-ssh3192409983992307288.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e2cac8b444d664382c771f5dccbf61e369ddf83e 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-ssh14702211988160397811.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 e2cac8b444d664382c771f5dccbf61e369ddf83e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16190636338921468149.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e2cac8b444d664382c771f5dccbf61e369ddf83e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e2cac8b444d664382c771f5dccbf61e369ddf83e # timeout=10 Commit message: "Merge pull request #396 from ernestojeda/snyk-enhancements" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh16447365787204440403.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13211462782085014558.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-905 in /w/workspace/foundry_device-virtual-go_PR-287 [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-287 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 8760134d8f81b98d9e42670833e31fee59ce4831 Merge succeeded, producing 8760134d8f81b98d9e42670833e31fee59ce4831 Checking out Revision 8760134d8f81b98d9e42670833e31fee59ce4831 (PR-287) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8760134d8f81b98d9e42670833e31fee59ce4831 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8760134d8f81b98d9e42670833e31fee59ce4831 # timeout=10 Commit message: "feat(snap): Enable config options by default" > git rev-list --no-walk a54fedba6436c684cd67b107c613dd3c445aede6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-03T07:10:48.643Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-03T07:10:48.694Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-03T07:10:48.706Z] ========================================================= [2022-06-03T07:10:48.706Z] EdgeX Global Pipelines Version Info [2022-06-03T07:10:48.706Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:10:49.480Z] ------------------- [2022-06-03T07:10:49.480Z] stable info: [2022-06-03T07:10:49.480Z] ------------------- [2022-06-03T07:10:49.480Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T07:10:49.480Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T07:10:49.480Z] Message: update stable to v1.0.231 [2022-06-03T07:10:50.053Z] ------------------- [2022-06-03T07:10:50.053Z] experimental info: [2022-06-03T07:10:50.053Z] ------------------- [2022-06-03T07:10:50.053Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T07:10:50.053Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T07:10:50.053Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-03T07:10:50.230Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-03T07:10:50.239Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-03T07:10:50.248Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-03T07:10:50.257Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-03T07:10:50.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-03T07:10:50.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-03T07:10:50.283Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-03T07:10:50.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-03T07:10:50.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-03T07:10:50.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-03T07:10:50.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-03T07:10:50.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-03T07:10:50.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-03T07:10:50.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-03T07:10:50.357Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T07:10:50.365Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T07:10:50.374Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T07:10:50.383Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T07:10:50.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-03T07:10:50.411Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-03T07:10:50.422Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-03T07:10:50.430Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-03T07:10:50.440Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-03T07:10:50.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-03T07:10:50.461Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-03T07:10:50.471Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-03T07:10:50.481Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-03T07:10:50.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo [2022-06-03T07:10:50.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo [2022-06-03T07:10:50.507Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo [2022-06-03T07:10:50.516Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8760134d8f81b98d9e42670833e31fee59ce4831 [Pipeline] echo [2022-06-03T07:10:50.524Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8760134 [Pipeline] echo [2022-06-03T07:10:50.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T07:10:50.590Z] provisioning config files... [2022-06-03T07:10:50.607Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config4777068871708729634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:10:50.989Z] ---> docker-login.sh [2022-06-03T07:10:50.989Z] nexus3.edgexfoundry.org:10001 [2022-06-03T07:10:51.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:10:51.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:10:51.251Z] Configure a credential helper to remove this warning. See [2022-06-03T07:10:51.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:10:51.251Z] [2022-06-03T07:10:51.251Z] Login Succeeded [2022-06-03T07:10:51.251Z] nexus3.edgexfoundry.org:10002 [2022-06-03T07:10:51.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:10:51.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:10:51.511Z] Configure a credential helper to remove this warning. See [2022-06-03T07:10:51.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:10:51.511Z] [2022-06-03T07:10:51.511Z] Login Succeeded [2022-06-03T07:10:51.511Z] nexus3.edgexfoundry.org:10003 [2022-06-03T07:10:51.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:10:51.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:10:51.773Z] Configure a credential helper to remove this warning. See [2022-06-03T07:10:51.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:10:51.773Z] [2022-06-03T07:10:51.773Z] Login Succeeded [2022-06-03T07:10:51.773Z] nexus3.edgexfoundry.org:10004 [2022-06-03T07:10:51.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:10:51.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:10:51.773Z] Configure a credential helper to remove this warning. See [2022-06-03T07:10:51.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:10:51.773Z] [2022-06-03T07:10:51.773Z] Login Succeeded [2022-06-03T07:10:51.773Z] docker.io [2022-06-03T07:10:52.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:10:52.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:10:52.299Z] Configure a credential helper to remove this warning. See [2022-06-03T07:10:52.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:10:52.299Z] [2022-06-03T07:10:52.299Z] Login Succeeded [2022-06-03T07:10:52.299Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T07:10:52.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-03T07:10:52.685Z] + git rev-list -1 --merges 8760134d8f81b98d9e42670833e31fee59ce4831~1..8760134d8f81b98d9e42670833e31fee59ce4831 [Pipeline] echo [2022-06-03T07:10:52.723Z] -----------> git rev-list -1 --merges 8760134d8f81b98d9e42670833e31fee59ce4831~1..8760134d8f81b98d9e42670833e31fee59ce4831 8760134d8f81b98d9e42670833e31fee59ce4831 [false] [Pipeline] sh [2022-06-03T07:10:53.014Z] + git log --format=format:%s -1 8760134d8f81b98d9e42670833e31fee59ce4831 [Pipeline] echo [2022-06-03T07:10:53.034Z] ========================================================= [2022-06-03T07:10:53.034Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-03T07:10:53.034Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T07:10:53.366Z] + git log --format=format:%s -1 8760134d8f81b98d9e42670833e31fee59ce4831 [Pipeline] echo [2022-06-03T07:10:53.379Z] [semverPrep] GIT_COMMIT: 8760134d8f81b98d9e42670833e31fee59ce4831, Commit Message: feat(snap): Enable config options by default [Pipeline] echo [2022-06-03T07:10:53.392Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-03T07:10:53.763Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-03T07:10:53.763Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-03T07:10:53.763Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-03T07:10:53.763Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-03T07:10:53.763Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-03T07:10:53.763Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-03T07:10:53.763Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:10:54.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T07:10:54.185Z] [2022-06-03T07:10:54.185Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:10:54.496Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T07:10:54.496Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-03T07:10:54.496Z] 42c077c10790: Pulling fs layer [2022-06-03T07:10:54.496Z] f63e77b7563a: Pulling fs layer [2022-06-03T07:10:54.496Z] bd5fdadae976: Pulling fs layer [2022-06-03T07:10:54.496Z] 205491f53016: Pulling fs layer [2022-06-03T07:10:54.496Z] df18705c85c3: Pulling fs layer [2022-06-03T07:10:54.496Z] bdb3f477010e: Pulling fs layer [2022-06-03T07:10:54.496Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-03T07:10:54.496Z] 2c6e9b1d212d: Pulling fs layer [2022-06-03T07:10:54.496Z] bdb8f0575790: Pulling fs layer [2022-06-03T07:10:54.496Z] 386e3cb2ff24: Pulling fs layer [2022-06-03T07:10:54.496Z] 2343380bae48: Pulling fs layer [2022-06-03T07:10:54.496Z] 205491f53016: Waiting [2022-06-03T07:10:54.496Z] df18705c85c3: Waiting [2022-06-03T07:10:54.496Z] bdb3f477010e: Waiting [2022-06-03T07:10:54.496Z] c8a8fc8e1c8f: Waiting [2022-06-03T07:10:54.496Z] bdb8f0575790: Waiting [2022-06-03T07:10:54.496Z] 2343380bae48: Waiting [2022-06-03T07:10:54.496Z] 386e3cb2ff24: Waiting [2022-06-03T07:10:54.496Z] f63e77b7563a: Verifying Checksum [2022-06-03T07:10:54.496Z] f63e77b7563a: Download complete [2022-06-03T07:10:54.496Z] 205491f53016: Download complete [2022-06-03T07:10:54.759Z] df18705c85c3: Verifying Checksum [2022-06-03T07:10:54.759Z] df18705c85c3: Download complete [2022-06-03T07:10:54.759Z] bd5fdadae976: Verifying Checksum [2022-06-03T07:10:54.759Z] bd5fdadae976: Download complete [2022-06-03T07:10:54.759Z] bdb3f477010e: Verifying Checksum [2022-06-03T07:10:54.759Z] bdb3f477010e: Download complete [2022-06-03T07:10:54.759Z] 2c6e9b1d212d: Download complete [2022-06-03T07:10:54.759Z] bdb8f0575790: Download complete [2022-06-03T07:10:54.759Z] 386e3cb2ff24: Download complete [2022-06-03T07:10:54.759Z] 2343380bae48: Verifying Checksum [2022-06-03T07:10:54.759Z] 2343380bae48: Download complete [2022-06-03T07:10:54.759Z] 42c077c10790: Verifying Checksum [2022-06-03T07:10:54.759Z] 42c077c10790: Download complete [2022-06-03T07:10:55.327Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-03T07:10:55.327Z] c8a8fc8e1c8f: Download complete [2022-06-03T07:10:56.268Z] 42c077c10790: Pull complete [2022-06-03T07:10:56.529Z] f63e77b7563a: Pull complete [2022-06-03T07:10:56.789Z] bd5fdadae976: Pull complete [2022-06-03T07:10:57.049Z] 205491f53016: Pull complete [2022-06-03T07:10:57.310Z] df18705c85c3: Pull complete [2022-06-03T07:10:57.310Z] bdb3f477010e: Pull complete [2022-06-03T07:10:59.229Z] c8a8fc8e1c8f: Pull complete [2022-06-03T07:10:59.493Z] 2c6e9b1d212d: Pull complete [2022-06-03T07:10:59.493Z] bdb8f0575790: Pull complete [2022-06-03T07:10:59.756Z] 386e3cb2ff24: Pull complete [2022-06-03T07:10:59.756Z] 2343380bae48: Pull complete [2022-06-03T07:10:59.756Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-03T07:10:59.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T07:10:59.756Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T07:10:59.867Z] prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container [2022-06-03T07:10:59.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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-devops/py-git-semver:latest cat [2022-06-03T07:11:01.402Z] $ docker top 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 -eo pid,comm [2022-06-03T07:11:01.465Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-03T07:11:01.465Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-03T07:11:01.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T07:11:01.499Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T07:11:01.637Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T07:11:01.646Z] $ docker exec 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 ssh-agent [2022-06-03T07:11:01.785Z] SSH_AUTH_SOCK=/tmp/ssh-sEfaHdkv9Ove/agent.32 [2022-06-03T07:11:01.785Z] SSH_AGENT_PID=38 [2022-06-03T07:11:01.793Z] Running ssh-add (command line suppressed) [2022-06-03T07:11:01.941Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_7203565908275067859.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_7203565908275067859.key) [2022-06-03T07:11:01.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T07:11:02.246Z] + git tag --points-at HEAD [Pipeline] } [2022-06-03T07:11:02.266Z] $ docker exec --env ******** --env ******** 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 ssh-agent -k [2022-06-03T07:11:02.387Z] unset SSH_AUTH_SOCK; [2022-06-03T07:11:02.388Z] unset SSH_AGENT_PID; [2022-06-03T07:11:02.388Z] echo Agent pid 38 killed; [2022-06-03T07:11:02.396Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-03T07:11:02.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T07:11:02.418Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T07:11:02.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T07:11:02.576Z] $ docker exec 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 ssh-agent [2022-06-03T07:11:02.699Z] SSH_AUTH_SOCK=/tmp/ssh-wrA6I0CJp3TG/agent.72 [2022-06-03T07:11:02.699Z] SSH_AGENT_PID=79 [2022-06-03T07:11:02.705Z] Running ssh-add (command line suppressed) [2022-06-03T07:11:02.829Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_4187585408395562611.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_4187585408395562611.key) [2022-06-03T07:11:02.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T07:11:03.134Z] + git semver init [2022-06-03T07:11:03.395Z] 2022-06-03 07:11:03,349 [run_init] DEBUG init version:0.0.0 force:False [2022-06-03T07:11:03.395Z] 2022-06-03 07:11:03,350 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-03T07:11:03.395Z] 2022-06-03 07:11:03,350 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-03T07:11:03.395Z] 2022-06-03 07:11:03,350 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-287/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-287, universal_newlines=False, shell=None, istream=None) [2022-06-03T07:11:04.780Z] 2022-06-03 07:11:04,346 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude [2022-06-03T07:11:04.780Z] 2022-06-03 07:11:04,347 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False [2022-06-03T07:11:04.780Z] 2022-06-03 07:11:04,347 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-03T07:11:04.780Z] 2022-06-03 07:11:04,352 [execute] INFO git cat-file --batch-check [2022-06-03T07:11:04.780Z] 2022-06-03 07:11:04,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) [2022-06-03T07:11:04.780Z] 2022-06-03 07:11:04,359 [execute] INFO git cat-file --batch [2022-06-03T07:11:04.780Z] 2022-06-03 07:11:04,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) [2022-06-03T07:11:04.780Z] 2022-06-03 07:11:04,366 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-03T07:11:04.780Z] 0.0.0 [Pipeline] } [2022-06-03T07:11:04.799Z] $ docker exec --env ******** --env ******** 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 ssh-agent -k [2022-06-03T07:11:04.908Z] unset SSH_AUTH_SOCK; [2022-06-03T07:11:04.908Z] unset SSH_AGENT_PID; [2022-06-03T07:11:04.908Z] echo Agent pid 79 killed; [2022-06-03T07:11:04.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-03T07:11:05.242Z] + git semver [Pipeline] } [2022-06-03T07:11:05.527Z] $ docker stop --time=1 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 [2022-06-03T07:11:06.865Z] $ docker rm -f 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T07:11:07.225Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-03T07:11:07.489Z] Stashed 1 file(s) [Pipeline] echo [2022-06-03T07:11:07.492Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T07:11:07.638Z] provisioning config files... [2022-06-03T07:11:07.650Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config7422016889239694393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:11:07.954Z] ---> docker-login.sh [2022-06-03T07:11:07.955Z] nexus3.edgexfoundry.org:10001 [2022-06-03T07:11:07.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:11:07.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:11:07.955Z] Configure a credential helper to remove this warning. See [2022-06-03T07:11:07.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:11:07.955Z] [2022-06-03T07:11:07.955Z] Login Succeeded [2022-06-03T07:11:07.955Z] nexus3.edgexfoundry.org:10002 [2022-06-03T07:11:07.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:11:08.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:11:08.215Z] Configure a credential helper to remove this warning. See [2022-06-03T07:11:08.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:11:08.215Z] [2022-06-03T07:11:08.215Z] Login Succeeded [2022-06-03T07:11:08.215Z] nexus3.edgexfoundry.org:10003 [2022-06-03T07:11:08.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:11:08.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:11:08.215Z] Configure a credential helper to remove this warning. See [2022-06-03T07:11:08.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:11:08.215Z] [2022-06-03T07:11:08.215Z] Login Succeeded [2022-06-03T07:11:08.215Z] nexus3.edgexfoundry.org:10004 [2022-06-03T07:11:08.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:11:08.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:11:08.476Z] Configure a credential helper to remove this warning. See [2022-06-03T07:11:08.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:11:08.476Z] [2022-06-03T07:11:08.476Z] Login Succeeded [2022-06-03T07:11:08.476Z] docker.io [2022-06-03T07:11:08.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:11:08.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:11:08.737Z] Configure a credential helper to remove this warning. See [2022-06-03T07:11:08.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:11:08.737Z] [2022-06-03T07:11:08.737Z] Login Succeeded [2022-06-03T07:11:08.737Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T07:11:08.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T07:11:08.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T07:11:08.823Z] ========================================================= [2022-06-03T07:11:08.823Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-03T07:11:08.823Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:11:09.143Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-03T07:11:09.143Z] Sending build context to Docker daemon 23.1MB [2022-06-03T07:11:09.143Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T07:11:09.143Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-03T07:11:09.403Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-03T07:11:09.403Z] 59bf1c3509f3: Pulling fs layer [2022-06-03T07:11:09.403Z] 666ba61612fd: Pulling fs layer [2022-06-03T07:11:09.403Z] 8ed8ca486205: Pulling fs layer [2022-06-03T07:11:09.403Z] 4fe6c5a15a65: Pulling fs layer [2022-06-03T07:11:09.403Z] 22a0e8bec74d: Pulling fs layer [2022-06-03T07:11:09.403Z] ca2b28591e48: Pulling fs layer [2022-06-03T07:11:09.403Z] a51346096db8: Pulling fs layer [2022-06-03T07:11:09.403Z] daebc70d1ce1: Pulling fs layer [2022-06-03T07:11:09.403Z] 0e18a0eac166: Pulling fs layer [2022-06-03T07:11:09.403Z] 22a0e8bec74d: Waiting [2022-06-03T07:11:09.403Z] ca2b28591e48: Waiting [2022-06-03T07:11:09.403Z] a51346096db8: Waiting [2022-06-03T07:11:09.403Z] daebc70d1ce1: Waiting [2022-06-03T07:11:09.403Z] 0e18a0eac166: Waiting [2022-06-03T07:11:09.403Z] 4fe6c5a15a65: Waiting [2022-06-03T07:11:09.403Z] 8ed8ca486205: Verifying Checksum [2022-06-03T07:11:09.403Z] 8ed8ca486205: Download complete [2022-06-03T07:11:09.403Z] 666ba61612fd: Verifying Checksum [2022-06-03T07:11:09.403Z] 666ba61612fd: Download complete [2022-06-03T07:11:09.403Z] 22a0e8bec74d: Download complete [2022-06-03T07:11:09.403Z] ca2b28591e48: Verifying Checksum [2022-06-03T07:11:09.403Z] ca2b28591e48: Download complete [2022-06-03T07:11:09.403Z] 59bf1c3509f3: Verifying Checksum [2022-06-03T07:11:09.403Z] 59bf1c3509f3: Download complete [2022-06-03T07:11:09.403Z] a51346096db8: Verifying Checksum [2022-06-03T07:11:09.403Z] a51346096db8: Download complete [2022-06-03T07:11:09.403Z] daebc70d1ce1: Verifying Checksum [2022-06-03T07:11:09.403Z] daebc70d1ce1: Download complete [2022-06-03T07:11:09.666Z] 59bf1c3509f3: Pull complete [2022-06-03T07:11:09.666Z] 666ba61612fd: Pull complete [2022-06-03T07:11:09.666Z] 8ed8ca486205: Pull complete [2022-06-03T07:11:10.248Z] 0e18a0eac166: Verifying Checksum [2022-06-03T07:11:10.248Z] 0e18a0eac166: Download complete [2022-06-03T07:11:10.248Z] 4fe6c5a15a65: Verifying Checksum [2022-06-03T07:11:10.248Z] 4fe6c5a15a65: Download complete [2022-06-03T07:11:14.450Z] 4fe6c5a15a65: Pull complete [2022-06-03T07:11:14.450Z] 22a0e8bec74d: Pull complete [2022-06-03T07:11:14.450Z] ca2b28591e48: Pull complete [2022-06-03T07:11:14.450Z] a51346096db8: Pull complete [2022-06-03T07:11:14.450Z] daebc70d1ce1: Pull complete [2022-06-03T07:11:16.992Z] 0e18a0eac166: Pull complete [2022-06-03T07:11:16.992Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-03T07:11:16.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-03T07:11:16.992Z] ---> f018257e8ee9 [2022-06-03T07:11:16.992Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T07:11:18.401Z] ---> Running in 33827db3bb66 [2022-06-03T07:11:18.660Z] Removing intermediate container 33827db3bb66 [2022-06-03T07:11:18.660Z] ---> 1d2c6ab5c5ba [2022-06-03T07:11:18.660Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T07:11:18.660Z] ---> Running in c1169d4ddcb7 [2022-06-03T07:11:18.660Z] Removing intermediate container c1169d4ddcb7 [2022-06-03T07:11:18.660Z] ---> fa7fb78b34e7 [2022-06-03T07:11:18.660Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-03T07:11:18.660Z] ---> Running in 5b709ac5b528 [2022-06-03T07:11:18.925Z] Removing intermediate container 5b709ac5b528 [2022-06-03T07:11:18.925Z] ---> c642a0bc5364 [2022-06-03T07:11:18.925Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T07:11:18.925Z] ---> Running in 837842cc4832 [2022-06-03T07:11:19.492Z] Removing intermediate container 837842cc4832 [2022-06-03T07:11:19.492Z] ---> e47a7972ba87 [2022-06-03T07:11:19.492Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T07:11:19.492Z] ---> Running in af291d259120 [2022-06-03T07:11:19.753Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T07:11:20.696Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T07:11:20.959Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T07:11:21.221Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T07:11:21.221Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T07:11:21.483Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T07:11:21.483Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T07:11:21.483Z] OK: 224 MiB in 56 packages [2022-06-03T07:11:22.053Z] Removing intermediate container af291d259120 [2022-06-03T07:11:22.053Z] ---> 270ef2757276 [2022-06-03T07:11:22.053Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-03T07:11:22.053Z] ---> f692e58bbc91 [2022-06-03T07:11:22.053Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T07:11:22.053Z] ---> Running in 93db285352bd [2022-06-03T07:11:22.596Z] Still waiting to schedule task [2022-06-03T07:11:22.596Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-03T07:11:40.202Z] Removing intermediate container 93db285352bd [2022-06-03T07:11:40.202Z] ---> f628b53392b9 [2022-06-03T07:11:40.202Z] Step 10/12 : COPY . . [2022-06-03T07:11:40.202Z] ---> 080240073e1b [2022-06-03T07:11:40.202Z] Step 11/12 : ARG MAKE='make build' [2022-06-03T07:11:40.202Z] ---> Running in 305dc5b6c771 [2022-06-03T07:11:40.202Z] Removing intermediate container 305dc5b6c771 [2022-06-03T07:11:40.202Z] ---> a0968611188c [2022-06-03T07:11:40.202Z] Step 12/12 : RUN $MAKE [2022-06-03T07:11:40.202Z] ---> Running in e8af85112649 [2022-06-03T07:11:40.202Z] noop [2022-06-03T07:11:40.462Z] Removing intermediate container e8af85112649 [2022-06-03T07:11:40.462Z] ---> da912db33e9a [2022-06-03T07:11:40.462Z] Successfully built da912db33e9a [2022-06-03T07:11:40.462Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:11:40.778Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T07:11:40.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T07:11:40.864Z] prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container [2022-06-03T07:11:40.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-03T07:11:41.334Z] $ docker top dc0412cd408e95be39d90e71fa57982fb8eb9c632f70c9d762316c1431184b0b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T07:11:41.698Z] + go version [2022-06-03T07:11:41.698Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-03T07:11:41.718Z] $ docker stop --time=1 dc0412cd408e95be39d90e71fa57982fb8eb9c632f70c9d762316c1431184b0b [2022-06-03T07:11:43.031Z] $ docker rm -f dc0412cd408e95be39d90e71fa57982fb8eb9c632f70c9d762316c1431184b0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:11:43.458Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T07:11:43.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T07:11:43.591Z] prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container [2022-06-03T07:11:43.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-03T07:11:44.164Z] $ docker top 5df781ae98d4cfa7f9e0252eb0614e857c6a954ec29f1d77ca68ce56a71bfac2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T07:11:44.580Z] + make test [2022-06-03T07:11:44.580Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-03T07:11:44.839Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-03T07:11:54.836Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-03T07:11:54.836Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2022-06-03T07:12:02.972Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T07:12:07.182Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T07:12:07.182Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T07:12:07.182Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-03T07:12:07.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-03T07:12:07.230Z] $ docker stop --time=1 5df781ae98d4cfa7f9e0252eb0614e857c6a954ec29f1d77ca68ce56a71bfac2 [2022-06-03T07:12:09.261Z] $ docker rm -f 5df781ae98d4cfa7f9e0252eb0614e857c6a954ec29f1d77ca68ce56a71bfac2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T07:12:09.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T07:12:09.765Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-03T07:12:10.267Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T07:12:10.557Z] + ls -al . [2022-06-03T07:12:10.557Z] total 192 [2022-06-03T07:12:10.557Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 07:12 . [2022-06-03T07:12:10.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 07:10 .. [2022-06-03T07:12:10.557Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 07:11 .git [2022-06-03T07:12:10.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:10 .github [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 07:10 .gitignore [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 07:10 .golangci.yml [2022-06-03T07:12:10.557Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 07:11 .semver [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 07:10 Attribution.txt [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 07:10 CHANGELOG.md [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 07:10 Dockerfile [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 07:10 GOVERNANCE.md [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 07:10 Jenkinsfile [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 07:10 LICENSE [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 07:10 Makefile [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 07:10 OWNERS.md [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 07:10 README.md [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 07:11 VERSION [2022-06-03T07:12:10.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:10 bin [2022-06-03T07:12:10.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:10 cmd [2022-06-03T07:12:10.557Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 07:11 coverage.out [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 07:10 go.mod [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 07:10 go.sum [2022-06-03T07:12:10.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:10 internal [2022-06-03T07:12:10.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:10 snap [2022-06-03T07:12:10.557Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 07:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:12:10.865Z] + 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=8760134d8f81b98d9e42670833e31fee59ce4831 --label arch=amd64 --label version=0.0.0 . [2022-06-03T07:12:10.865Z] Sending build context to Docker daemon 23.15MB [2022-06-03T07:12:10.865Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T07:12:10.865Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-03T07:12:10.865Z] ---> da912db33e9a [2022-06-03T07:12:10.865Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T07:12:11.127Z] ---> Running in d569e0f01066 [2022-06-03T07:12:11.127Z] Removing intermediate container d569e0f01066 [2022-06-03T07:12:11.127Z] ---> 4c7b88affacb [2022-06-03T07:12:11.127Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T07:12:11.388Z] ---> Running in 57173f1308cc [2022-06-03T07:12:11.388Z] Removing intermediate container 57173f1308cc [2022-06-03T07:12:11.388Z] ---> 5421690bd48a [2022-06-03T07:12:11.388Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-03T07:12:11.388Z] ---> Running in e4e7f35756fb [2022-06-03T07:12:11.648Z] Removing intermediate container e4e7f35756fb [2022-06-03T07:12:11.648Z] ---> 0dbbe4533108 [2022-06-03T07:12:11.648Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T07:12:11.648Z] ---> Running in 269969c7d402 [2022-06-03T07:12:12.218Z] Removing intermediate container 269969c7d402 [2022-06-03T07:12:12.218Z] ---> 281661efab0a [2022-06-03T07:12:12.218Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T07:12:12.218Z] ---> Running in 50612ea5f54c [2022-06-03T07:12:12.479Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T07:12:13.436Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T07:12:13.697Z] OK: 224 MiB in 56 packages [2022-06-03T07:12:13.957Z] Removing intermediate container 50612ea5f54c [2022-06-03T07:12:13.957Z] ---> de461b779569 [2022-06-03T07:12:13.957Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-03T07:12:14.217Z] ---> 92e5b5e20abe [2022-06-03T07:12:14.217Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T07:12:14.217Z] ---> Running in 7e9a4c52948a [2022-06-03T07:12:15.159Z] Removing intermediate container 7e9a4c52948a [2022-06-03T07:12:15.159Z] ---> f2d28a3e5939 [2022-06-03T07:12:15.159Z] Step 10/26 : COPY . . [2022-06-03T07:12:15.420Z] ---> 4b59da54d85e [2022-06-03T07:12:15.420Z] Step 11/26 : ARG MAKE='make build' [2022-06-03T07:12:15.683Z] ---> Running in c55e7fb238d1 [2022-06-03T07:12:15.683Z] Removing intermediate container c55e7fb238d1 [2022-06-03T07:12:15.683Z] ---> c985c1599331 [2022-06-03T07:12:15.683Z] Step 12/26 : RUN $MAKE [2022-06-03T07:12:15.683Z] ---> Running in 60152ab765c5 [2022-06-03T07:12:15.943Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-03T07:12:37.904Z] Removing intermediate container 60152ab765c5 [2022-06-03T07:12:37.904Z] ---> 207840beb71c [2022-06-03T07:12:37.904Z] Step 13/26 : FROM alpine:3.14 [2022-06-03T07:12:37.904Z] 3.14: Pulling from library/alpine [2022-06-03T07:12:37.904Z] 8663204ce13b: Pulling fs layer [2022-06-03T07:12:37.904Z] 8663204ce13b: Verifying Checksum [2022-06-03T07:12:37.904Z] 8663204ce13b: Download complete [2022-06-03T07:12:37.904Z] 8663204ce13b: Pull complete [2022-06-03T07:12:37.904Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T07:12:37.904Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T07:12:37.904Z] ---> e04c818066af [2022-06-03T07:12:37.904Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-03T07:12:37.904Z] ---> Running in f3737707958e [2022-06-03T07:12:37.904Z] Removing intermediate container f3737707958e [2022-06-03T07:12:37.904Z] ---> 5350c48eff21 [2022-06-03T07:12:37.904Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T07:12:37.904Z] ---> Running in 7d1a937dd855 [2022-06-03T07:12:38.165Z] Removing intermediate container 7d1a937dd855 [2022-06-03T07:12:38.165Z] ---> 5c75918d8de9 [2022-06-03T07:12:38.165Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T07:12:38.165Z] ---> Running in 768dc96585e3 [2022-06-03T07:12:38.427Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-03T07:12:39.368Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-03T07:12:39.630Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T07:12:39.630Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T07:12:39.630Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T07:12:39.892Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T07:12:39.892Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T07:12:40.153Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T07:12:40.153Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T07:12:40.153Z] OK: 8 MiB in 20 packages [2022-06-03T07:12:40.413Z] Removing intermediate container 768dc96585e3 [2022-06-03T07:12:40.413Z] ---> 7c074540bf4e [2022-06-03T07:12:40.413Z] Step 17/26 : WORKDIR / [2022-06-03T07:12:40.413Z] ---> Running in 8b9e0f8a4423 [2022-06-03T07:12:40.673Z] Removing intermediate container 8b9e0f8a4423 [2022-06-03T07:12:40.673Z] ---> 6a19e7cffef0 [2022-06-03T07:12:40.673Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-03T07:12:40.673Z] ---> 61c746f3f11c [2022-06-03T07:12:40.673Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-03T07:12:40.931Z] ---> 2d7fc444137d [2022-06-03T07:12:40.931Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-03T07:12:41.504Z] ---> a832ce642469 [2022-06-03T07:12:41.504Z] Step 21/26 : EXPOSE 59900 [2022-06-03T07:12:41.771Z] ---> Running in 9bff60e4f4a9 [2022-06-03T07:12:41.771Z] Removing intermediate container 9bff60e4f4a9 [2022-06-03T07:12:41.771Z] ---> 3517005a9afb [2022-06-03T07:12:41.771Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-03T07:12:41.771Z] ---> Running in bf818014b69a [2022-06-03T07:12:41.771Z] Removing intermediate container bf818014b69a [2022-06-03T07:12:41.771Z] ---> 9dbd00617a5d [2022-06-03T07:12:41.771Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-03T07:12:42.032Z] ---> Running in 59fa5ed7180b [2022-06-03T07:12:42.032Z] Removing intermediate container 59fa5ed7180b [2022-06-03T07:12:42.032Z] ---> aff59412322e [2022-06-03T07:12:42.032Z] Step 24/26 : LABEL arch=amd64 [2022-06-03T07:12:42.032Z] ---> Running in 24b8ba3d9d90 [2022-06-03T07:12:42.294Z] Removing intermediate container 24b8ba3d9d90 [2022-06-03T07:12:42.294Z] ---> 9dbd8bf3460c [2022-06-03T07:12:42.294Z] Step 25/26 : LABEL git_sha=8760134d8f81b98d9e42670833e31fee59ce4831 [2022-06-03T07:12:42.294Z] ---> Running in b298e037406b [2022-06-03T07:12:42.294Z] Removing intermediate container b298e037406b [2022-06-03T07:12:42.294Z] ---> e369032d8419 [2022-06-03T07:12:42.294Z] Step 26/26 : LABEL version=0.0.0 [2022-06-03T07:12:42.294Z] ---> Running in a3f70b54d6c0 [2022-06-03T07:12:42.555Z] Removing intermediate container a3f70b54d6c0 [2022-06-03T07:12:42.555Z] ---> fe8624780eeb [2022-06-03T07:12:42.555Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T07:12:42.555Z] Successfully built fe8624780eeb [2022-06-03T07:12:42.555Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:12:42.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T07:12:42.989Z] [2022-06-03T07:12:42.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:12:43.291Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T07:12:43.291Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-03T07:12:43.291Z] 5eb5b503b376: Pulling fs layer [2022-06-03T07:12:43.291Z] 5c69ac0246d0: Pulling fs layer [2022-06-03T07:12:43.291Z] ec43610c2a17: Pulling fs layer [2022-06-03T07:12:43.291Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-03T07:12:43.291Z] 33b1e0a273af: Pulling fs layer [2022-06-03T07:12:43.291Z] 5d3b04190fa2: Pulling fs layer [2022-06-03T07:12:43.291Z] 3a2ae6a8a46f: Waiting [2022-06-03T07:12:43.291Z] 33b1e0a273af: Waiting [2022-06-03T07:12:43.291Z] 2f39f015ded8: Pulling fs layer [2022-06-03T07:12:43.291Z] 5d3b04190fa2: Waiting [2022-06-03T07:12:43.291Z] 2f39f015ded8: Waiting [2022-06-03T07:12:43.291Z] 5c69ac0246d0: Verifying Checksum [2022-06-03T07:12:43.291Z] 5c69ac0246d0: Download complete [2022-06-03T07:12:43.291Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-03T07:12:43.291Z] 3a2ae6a8a46f: Download complete [2022-06-03T07:12:43.551Z] 33b1e0a273af: Verifying Checksum [2022-06-03T07:12:43.551Z] 33b1e0a273af: Download complete [2022-06-03T07:12:43.551Z] ec43610c2a17: Verifying Checksum [2022-06-03T07:12:43.551Z] ec43610c2a17: Download complete [2022-06-03T07:12:43.551Z] 5d3b04190fa2: Verifying Checksum [2022-06-03T07:12:43.551Z] 5d3b04190fa2: Download complete [2022-06-03T07:12:43.551Z] 5eb5b503b376: Download complete [2022-06-03T07:12:44.119Z] 2f39f015ded8: Download complete [2022-06-03T07:12:45.059Z] 5eb5b503b376: Pull complete [2022-06-03T07:12:45.059Z] 5c69ac0246d0: Pull complete [2022-06-03T07:12:45.629Z] ec43610c2a17: Pull complete [2022-06-03T07:12:45.629Z] 3a2ae6a8a46f: Pull complete [2022-06-03T07:12:45.888Z] 33b1e0a273af: Pull complete [2022-06-03T07:12:45.888Z] 5d3b04190fa2: Pull complete [2022-06-03T07:12:51.172Z] 2f39f015ded8: Pull complete [2022-06-03T07:12:51.172Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-03T07:12:51.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T07:12:51.172Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T07:12:51.260Z] prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container [2022-06-03T07:12:51.303Z] $ 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/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-03T07:12:53.326Z] $ docker top 143791b20e0f00dd40135473deee8d1d03d6ed9af4e51bd4572ca38334388c2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:12:53.742Z] ---> job-cost.sh [2022-06-03T07:12:53.743Z] lf-activate-venv: SKIPPING [2022-06-03T07:12:53.743Z] INFO: No Stack... [2022-06-03T07:12:54.313Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T07:12:54.574Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T07:12:54.866Z] + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv [2022-06-03T07:12:54.866Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T07:12:54.883Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] [2022-06-03T07:12:54.890Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] did not exist. Created. [2022-06-03T07:12:54.890Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T07:12:55.202Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-03T07:12:55.228Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T07:12:55.238Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T07:12:55.262Z] $ docker stop --time=1 143791b20e0f00dd40135473deee8d1d03d6ed9af4e51bd4572ca38334388c2a [2022-06-03T07:12:56.479Z] $ docker rm -f 143791b20e0f00dd40135473deee8d1d03d6ed9af4e51bd4572ca38334388c2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-03T07:12:56.950Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-906 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws [2022-06-03T07:12:56.960Z] Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout [2022-06-03T07:12:57.018Z] The recommended git tool is: git [2022-06-03T07:13:03.052Z] using credential edgex-jenkins-ssh [2022-06-03T07:13:03.073Z] Cloning the remote Git repository [2022-06-03T07:13:03.139Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T07:13:03.212Z] > git init /w/workspace/device-virtual-go/6 # timeout=10 [2022-06-03T07:13:03.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T07:13:03.306Z] > git --version # timeout=10 [2022-06-03T07:13:03.381Z] > git --version # 'git version 2.25.1' [2022-06-03T07:13:03.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T07:13:03.471Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T07:13:05.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-03T07:13:05.503Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T07:13:05.531Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-03T07:13:05.574Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T07:13:05.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T07:13:05.586Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-03T07:13:06.100Z] Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 8760134d8f81b98d9e42670833e31fee59ce4831 [2022-06-03T07:13:06.326Z] Merge succeeded, producing 8760134d8f81b98d9e42670833e31fee59ce4831 [2022-06-03T07:13:06.326Z] Checking out Revision 8760134d8f81b98d9e42670833e31fee59ce4831 (PR-287) [2022-06-03T07:13:06.123Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T07:13:06.140Z] > git checkout -f 8760134d8f81b98d9e42670833e31fee59ce4831 # timeout=10 [2022-06-03T07:13:06.242Z] > git remote # timeout=10 [2022-06-03T07:13:06.264Z] > git config --get remote.origin.url # timeout=10 [2022-06-03T07:13:06.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T07:13:06.288Z] > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 [2022-06-03T07:13:06.311Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-03T07:13:06.335Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T07:13:06.357Z] > git checkout -f 8760134d8f81b98d9e42670833e31fee59ce4831 # timeout=10 [2022-06-03T07:13:10.590Z] Commit message: "feat(snap): Enable config options by default" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T07:13:11.526Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-03T07:13:11.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T07:13:11.526Z] Dload Upload Total Spent Left Speed [2022-06-03T07:13:11.526Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 97246 0 --:--:-- --:--:-- --:--:-- 97246 [Pipeline] sh [2022-06-03T07:13:12.325Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-03T07:13:12.663Z] + sudo tee /etc/docker/daemon.new [2022-06-03T07:13:12.663Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-03T07:13:12.663Z] { [2022-06-03T07:13:12.663Z] "registry-mirrors": [ [2022-06-03T07:13:12.663Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-03T07:13:12.663Z] ], [2022-06-03T07:13:12.663Z] "bip": "10.250.0.254/24", [2022-06-03T07:13:12.663Z] "hosts": [ [2022-06-03T07:13:12.663Z] "tcp://0.0.0.0:5555", [2022-06-03T07:13:12.663Z] "unix:///var/run/docker.sock" [2022-06-03T07:13:12.663Z] ], [2022-06-03T07:13:12.663Z] "mtu": 1458, [2022-06-03T07:13:12.663Z] "selinux-enabled": true, [2022-06-03T07:13:12.663Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-03T07:13:12.663Z] } [Pipeline] sh [2022-06-03T07:13:13.017Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-03T07:13:13.364Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T07:13:31.708Z] provisioning config files... [2022-06-03T07:13:31.734Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config7157165852694082914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:13:32.083Z] ---> docker-login.sh [2022-06-03T07:13:32.083Z] nexus3.edgexfoundry.org:10001 [2022-06-03T07:13:32.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:13:32.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:13:32.956Z] Configure a credential helper to remove this warning. See [2022-06-03T07:13:32.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:13:32.956Z] [2022-06-03T07:13:32.956Z] Login Succeeded [2022-06-03T07:13:32.956Z] nexus3.edgexfoundry.org:10002 [2022-06-03T07:13:33.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:13:33.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:13:33.506Z] Configure a credential helper to remove this warning. See [2022-06-03T07:13:33.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:13:33.506Z] [2022-06-03T07:13:33.506Z] Login Succeeded [2022-06-03T07:13:33.506Z] nexus3.edgexfoundry.org:10003 [2022-06-03T07:13:33.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:13:33.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:13:33.780Z] Configure a credential helper to remove this warning. See [2022-06-03T07:13:33.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:13:33.780Z] [2022-06-03T07:13:33.780Z] Login Succeeded [2022-06-03T07:13:33.780Z] nexus3.edgexfoundry.org:10004 [2022-06-03T07:13:34.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:13:34.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:13:34.380Z] Configure a credential helper to remove this warning. See [2022-06-03T07:13:34.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:13:34.380Z] [2022-06-03T07:13:34.380Z] Login Succeeded [2022-06-03T07:13:34.380Z] docker.io [2022-06-03T07:13:34.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T07:13:35.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T07:13:35.246Z] Configure a credential helper to remove this warning. See [2022-06-03T07:13:35.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T07:13:35.246Z] [2022-06-03T07:13:35.246Z] Login Succeeded [2022-06-03T07:13:35.246Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T07:13:35.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T07:13:35.767Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T07:13:35.778Z] ========================================================= [2022-06-03T07:13:35.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-03T07:13:35.778Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:13:36.143Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-03T07:13:36.757Z] Sending build context to Docker daemon 11.72MB [2022-06-03T07:13:36.757Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T07:13:36.757Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-03T07:13:36.757Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-03T07:13:36.757Z] 9b3977197b4f: Pulling fs layer [2022-06-03T07:13:36.757Z] 1a89e8eeedd5: Pulling fs layer [2022-06-03T07:13:36.757Z] 94645a83ff95: Pulling fs layer [2022-06-03T07:13:36.757Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-03T07:13:36.757Z] 0c92f367c5e7: Pulling fs layer [2022-06-03T07:13:36.757Z] 3096ccb668a1: Pulling fs layer [2022-06-03T07:13:36.757Z] e8cf19c19ddd: Pulling fs layer [2022-06-03T07:13:36.757Z] a4caa8a26152: Pulling fs layer [2022-06-03T07:13:36.757Z] 3f3a8bcf1eab: Waiting [2022-06-03T07:13:36.757Z] 0c92f367c5e7: Waiting [2022-06-03T07:13:36.757Z] 3096ccb668a1: Waiting [2022-06-03T07:13:36.757Z] a4caa8a26152: Waiting [2022-06-03T07:13:36.757Z] e8cf19c19ddd: Waiting [2022-06-03T07:13:36.757Z] 94645a83ff95: Verifying Checksum [2022-06-03T07:13:36.757Z] 94645a83ff95: Download complete [2022-06-03T07:13:37.039Z] 1a89e8eeedd5: Verifying Checksum [2022-06-03T07:13:37.039Z] 1a89e8eeedd5: Download complete [2022-06-03T07:13:37.039Z] 0c92f367c5e7: Verifying Checksum [2022-06-03T07:13:37.039Z] 0c92f367c5e7: Download complete [2022-06-03T07:13:37.039Z] 9b3977197b4f: Download complete [2022-06-03T07:13:37.039Z] 3096ccb668a1: Verifying Checksum [2022-06-03T07:13:37.039Z] 3096ccb668a1: Download complete [2022-06-03T07:13:37.039Z] e8cf19c19ddd: Verifying Checksum [2022-06-03T07:13:37.039Z] e8cf19c19ddd: Download complete [2022-06-03T07:13:37.648Z] 9b3977197b4f: Pull complete [2022-06-03T07:13:38.255Z] 1a89e8eeedd5: Pull complete [2022-06-03T07:13:38.856Z] 94645a83ff95: Pull complete [2022-06-03T07:13:38.856Z] a4caa8a26152: Verifying Checksum [2022-06-03T07:13:38.856Z] a4caa8a26152: Download complete [2022-06-03T07:13:39.464Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-03T07:13:39.464Z] 3f3a8bcf1eab: Download complete [2022-06-03T07:13:51.878Z] 3f3a8bcf1eab: Pull complete [2022-06-03T07:13:51.878Z] 0c92f367c5e7: Pull complete [2022-06-03T07:13:51.878Z] 3096ccb668a1: Pull complete [2022-06-03T07:13:52.152Z] e8cf19c19ddd: Pull complete [2022-06-03T07:13:58.883Z] a4caa8a26152: Pull complete [2022-06-03T07:13:58.883Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-03T07:13:58.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-03T07:13:58.883Z] ---> 725f1c02e7f9 [2022-06-03T07:13:58.883Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T07:13:59.488Z] ---> Running in b36b936c8064 [2022-06-03T07:13:59.765Z] Removing intermediate container b36b936c8064 [2022-06-03T07:13:59.765Z] ---> 923a6bd2ad35 [2022-06-03T07:13:59.765Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T07:14:00.037Z] ---> Running in 4b1f71475089 [2022-06-03T07:14:00.311Z] Removing intermediate container 4b1f71475089 [2022-06-03T07:14:00.311Z] ---> e5da3aca9745 [2022-06-03T07:14:00.311Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-03T07:14:00.311Z] ---> Running in c10acc4fe781 [2022-06-03T07:14:00.597Z] Removing intermediate container c10acc4fe781 [2022-06-03T07:14:00.597Z] ---> d5375ba48267 [2022-06-03T07:14:00.597Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T07:14:00.597Z] ---> Running in 46cb886fd244 [2022-06-03T07:14:04.000Z] Removing intermediate container 46cb886fd244 [2022-06-03T07:14:04.000Z] ---> 169776eafbee [2022-06-03T07:14:04.000Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T07:14:04.000Z] ---> Running in 8308b2dd0517 [2022-06-03T07:14:04.593Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T07:14:05.567Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T07:14:06.158Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T07:14:06.432Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T07:14:06.432Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T07:14:06.707Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T07:14:06.707Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T07:14:06.707Z] OK: 224 MiB in 56 packages [2022-06-03T07:14:07.698Z] Removing intermediate container 8308b2dd0517 [2022-06-03T07:14:07.698Z] ---> d956b60155a6 [2022-06-03T07:14:07.698Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-03T07:14:08.299Z] ---> f5be56957767 [2022-06-03T07:14:08.299Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T07:14:08.299Z] ---> Running in 16c3930d0175 [2022-06-03T07:14:55.304Z] Removing intermediate container 16c3930d0175 [2022-06-03T07:14:55.304Z] ---> a036efe5ec28 [2022-06-03T07:14:55.304Z] Step 10/12 : COPY . . [2022-06-03T07:14:55.304Z] ---> 47d6d4060d86 [2022-06-03T07:14:55.304Z] Step 11/12 : ARG MAKE='make build' [2022-06-03T07:14:55.304Z] ---> Running in 36022e50c160 [2022-06-03T07:14:55.304Z] Removing intermediate container 36022e50c160 [2022-06-03T07:14:55.304Z] ---> 0ecd52815e5e [2022-06-03T07:14:55.304Z] Step 12/12 : RUN $MAKE [2022-06-03T07:14:55.304Z] ---> Running in 2fa64a2af442 [2022-06-03T07:14:55.304Z] noop [2022-06-03T07:14:55.304Z] Removing intermediate container 2fa64a2af442 [2022-06-03T07:14:55.304Z] ---> 3cecc63a9772 [2022-06-03T07:14:55.304Z] Successfully built 3cecc63a9772 [2022-06-03T07:14:55.304Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:14:55.670Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T07:14:55.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T07:14:55.899Z] prd-ubuntu20.04-docker-arm64-4c-16g-906 does not seem to be running inside a container [2022-06-03T07:14:55.985Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-03T07:14:57.267Z] $ docker top d7e5feb583fb57875147ded9bdbbe3ad276576d462645bc5763a8e5cffa0b131 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T07:14:58.198Z] + go version [2022-06-03T07:14:58.198Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-03T07:14:58.224Z] $ docker stop --time=1 d7e5feb583fb57875147ded9bdbbe3ad276576d462645bc5763a8e5cffa0b131 [2022-06-03T07:14:59.850Z] $ docker rm -f d7e5feb583fb57875147ded9bdbbe3ad276576d462645bc5763a8e5cffa0b131 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:15:00.457Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T07:15:00.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T07:15:00.717Z] prd-ubuntu20.04-docker-arm64-4c-16g-906 does not seem to be running inside a container [2022-06-03T07:15:00.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-03T07:15:02.034Z] $ docker top 86a6eaf2785b9d52b8795f52b671fb8d96bdb0c644c07f478848592aa2e1fd22 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T07:15:02.947Z] + make test [2022-06-03T07:15:02.947Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-03T07:15:04.935Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-03T07:16:26.770Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-03T07:16:26.770Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements [2022-06-03T07:16:26.770Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-03T07:16:26.770Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T07:16:45.151Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T07:16:45.151Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T07:16:45.151Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-03T07:16:48.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-03T07:16:48.586Z] $ docker stop --time=1 86a6eaf2785b9d52b8795f52b671fb8d96bdb0c644c07f478848592aa2e1fd22 [2022-06-03T07:16:50.349Z] $ docker rm -f 86a6eaf2785b9d52b8795f52b671fb8d96bdb0c644c07f478848592aa2e1fd22 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T07:16:51.289Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T07:16:51.317Z] Warning: overwriting stash ‘coverage-report’ [2022-06-03T07:16:51.814Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T07:16:52.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T07:16:52.535Z] + ls -al . [2022-06-03T07:16:52.535Z] total 188 [2022-06-03T07:16:52.535Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 07:16 . [2022-06-03T07:16:52.535Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 07:13 .. [2022-06-03T07:16:52.535Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 07:13 .git [2022-06-03T07:16:52.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:13 .github [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 07:13 .gitignore [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 07:13 .golangci.yml [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 07:13 Attribution.txt [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 07:13 CHANGELOG.md [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 07:13 Dockerfile [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 07:13 GOVERNANCE.md [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 07:13 Jenkinsfile [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 07:13 LICENSE [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 07:13 Makefile [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 07:13 OWNERS.md [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 07:13 README.md [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 07:11 VERSION [2022-06-03T07:16:52.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:13 bin [2022-06-03T07:16:52.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:13 cmd [2022-06-03T07:16:52.535Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 07:16 coverage.out [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 07:13 go.mod [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 07:13 go.sum [2022-06-03T07:16:52.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:13 internal [2022-06-03T07:16:52.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:13 snap [2022-06-03T07:16:52.535Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 07:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:16:52.900Z] + 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=8760134d8f81b98d9e42670833e31fee59ce4831 --label arch=arm64 --label version=0.0.0 . [2022-06-03T07:16:53.504Z] Sending build context to Docker daemon 11.77MB [2022-06-03T07:16:53.504Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T07:16:53.504Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-03T07:16:53.504Z] ---> 3cecc63a9772 [2022-06-03T07:16:53.504Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T07:16:53.504Z] ---> Running in 2b9616f609b8 [2022-06-03T07:16:53.780Z] Removing intermediate container 2b9616f609b8 [2022-06-03T07:16:53.780Z] ---> 68f2ce770244 [2022-06-03T07:16:53.780Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T07:16:54.053Z] ---> Running in cd0f8d3bdba9 [2022-06-03T07:16:54.337Z] Removing intermediate container cd0f8d3bdba9 [2022-06-03T07:16:54.337Z] ---> 5e469514b8d0 [2022-06-03T07:16:54.337Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-03T07:16:54.337Z] ---> Running in d568d75fb84c [2022-06-03T07:16:54.614Z] Removing intermediate container d568d75fb84c [2022-06-03T07:16:54.614Z] ---> 87c0fa437d1c [2022-06-03T07:16:54.614Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T07:16:54.614Z] ---> Running in d88b751c57d0 [2022-06-03T07:16:56.692Z] Removing intermediate container d88b751c57d0 [2022-06-03T07:16:56.692Z] ---> 8a319a02dd1c [2022-06-03T07:16:56.692Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T07:16:56.692Z] ---> Running in 6de41eb63e80 [2022-06-03T07:16:57.701Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T07:16:58.679Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T07:16:59.275Z] OK: 224 MiB in 56 packages [2022-06-03T07:17:00.268Z] Removing intermediate container 6de41eb63e80 [2022-06-03T07:17:00.268Z] ---> 6a49cbe5dae3 [2022-06-03T07:17:00.268Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-03T07:17:00.869Z] ---> 84d490271f85 [2022-06-03T07:17:00.869Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T07:17:00.869Z] ---> Running in 46f16d7afc9c [2022-06-03T07:17:02.852Z] Removing intermediate container 46f16d7afc9c [2022-06-03T07:17:02.852Z] ---> 4ee25ab53554 [2022-06-03T07:17:02.852Z] Step 10/26 : COPY . . [2022-06-03T07:17:04.297Z] ---> 580360d60633 [2022-06-03T07:17:04.297Z] Step 11/26 : ARG MAKE='make build' [2022-06-03T07:17:04.297Z] ---> Running in af8d94912fba [2022-06-03T07:17:04.297Z] Removing intermediate container af8d94912fba [2022-06-03T07:17:04.297Z] ---> 337f73c56a80 [2022-06-03T07:17:04.297Z] Step 12/26 : RUN $MAKE [2022-06-03T07:17:04.574Z] ---> Running in e3a5bf9dc9f3 [2022-06-03T07:17:05.557Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-03T07:19:12.438Z] Removing intermediate container e3a5bf9dc9f3 [2022-06-03T07:19:12.438Z] ---> 4a3dd4c0aec7 [2022-06-03T07:19:12.438Z] Step 13/26 : FROM alpine:3.14 [2022-06-03T07:19:12.438Z] 3.14: Pulling from library/alpine [2022-06-03T07:19:12.438Z] 455c02918c45: Pulling fs layer [2022-06-03T07:19:12.438Z] 455c02918c45: Download complete [2022-06-03T07:19:12.438Z] 455c02918c45: Pull complete [2022-06-03T07:19:12.438Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T07:19:12.438Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T07:19:12.438Z] ---> ac73e934f311 [2022-06-03T07:19:12.438Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-03T07:19:12.438Z] ---> Running in b84dc8556384 [2022-06-03T07:19:12.438Z] Removing intermediate container b84dc8556384 [2022-06-03T07:19:12.438Z] ---> 32966583124a [2022-06-03T07:19:12.438Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T07:19:12.438Z] ---> Running in 912029d3f162 [2022-06-03T07:19:12.438Z] Removing intermediate container 912029d3f162 [2022-06-03T07:19:12.438Z] ---> 22e731e9d50d [2022-06-03T07:19:12.438Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T07:19:12.438Z] ---> Running in 8e48ea38c096 [2022-06-03T07:19:12.438Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-03T07:19:12.438Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-03T07:19:12.438Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T07:19:12.438Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T07:19:12.438Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T07:19:12.438Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T07:19:12.438Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T07:19:12.438Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T07:19:12.438Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T07:19:12.438Z] OK: 8 MiB in 20 packages [2022-06-03T07:19:12.438Z] Removing intermediate container 8e48ea38c096 [2022-06-03T07:19:12.438Z] ---> b08c2c3c6eb4 [2022-06-03T07:19:12.438Z] Step 17/26 : WORKDIR / [2022-06-03T07:19:12.438Z] ---> Running in 44790b164389 [2022-06-03T07:19:12.438Z] Removing intermediate container 44790b164389 [2022-06-03T07:19:12.438Z] ---> 64fc31e2656c [2022-06-03T07:19:12.438Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-03T07:19:12.438Z] ---> 6381781a75aa [2022-06-03T07:19:12.438Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-03T07:19:12.438Z] ---> c5944e61e18d [2022-06-03T07:19:12.438Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-03T07:19:12.438Z] ---> 1806cef0527a [2022-06-03T07:19:12.438Z] Step 21/26 : EXPOSE 59900 [2022-06-03T07:19:12.438Z] ---> Running in 9222776ad837 [2022-06-03T07:19:12.438Z] Removing intermediate container 9222776ad837 [2022-06-03T07:19:12.438Z] ---> 037f318442fb [2022-06-03T07:19:12.438Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-03T07:19:12.438Z] ---> Running in e18bdc6fa8f2 [2022-06-03T07:19:12.438Z] Removing intermediate container e18bdc6fa8f2 [2022-06-03T07:19:12.438Z] ---> cb394b96b93c [2022-06-03T07:19:12.438Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-03T07:19:12.438Z] ---> Running in c0db9ad02958 [2022-06-03T07:19:12.438Z] Removing intermediate container c0db9ad02958 [2022-06-03T07:19:12.438Z] ---> 4cbb7d44ec65 [2022-06-03T07:19:12.438Z] Step 24/26 : LABEL arch=arm64 [2022-06-03T07:19:12.438Z] ---> Running in cd4fceaa3f86 [2022-06-03T07:19:12.438Z] Removing intermediate container cd4fceaa3f86 [2022-06-03T07:19:12.438Z] ---> 1722c49429f1 [2022-06-03T07:19:12.438Z] Step 25/26 : LABEL git_sha=8760134d8f81b98d9e42670833e31fee59ce4831 [2022-06-03T07:19:12.438Z] ---> Running in 1747ff4ed839 [2022-06-03T07:19:12.438Z] Removing intermediate container 1747ff4ed839 [2022-06-03T07:19:12.438Z] ---> 94d59729eeeb [2022-06-03T07:19:12.438Z] Step 26/26 : LABEL version=0.0.0 [2022-06-03T07:19:12.438Z] ---> Running in e56d357b0edc [2022-06-03T07:19:12.438Z] Removing intermediate container e56d357b0edc [2022-06-03T07:19:12.438Z] ---> 129b28689721 [2022-06-03T07:19:12.438Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T07:19:12.438Z] Successfully built 129b28689721 [2022-06-03T07:19:12.438Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:19:12.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T07:19:12.870Z] [2022-06-03T07:19:12.870Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:19:13.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T07:19:13.501Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-03T07:19:13.501Z] 8998bd30e6a1: Pulling fs layer [2022-06-03T07:19:13.501Z] 04944245beec: Pulling fs layer [2022-06-03T07:19:13.501Z] 699f458cf7ca: Pulling fs layer [2022-06-03T07:19:13.501Z] 765212b225bb: Pulling fs layer [2022-06-03T07:19:13.501Z] f23df028b6ca: Pulling fs layer [2022-06-03T07:19:13.501Z] d65c8cfc05b1: Pulling fs layer [2022-06-03T07:19:13.501Z] 2437ff75d9bd: Pulling fs layer [2022-06-03T07:19:13.501Z] f23df028b6ca: Waiting [2022-06-03T07:19:13.501Z] d65c8cfc05b1: Waiting [2022-06-03T07:19:13.501Z] 2437ff75d9bd: Waiting [2022-06-03T07:19:13.501Z] 765212b225bb: Waiting [2022-06-03T07:19:13.501Z] 04944245beec: Verifying Checksum [2022-06-03T07:19:13.501Z] 04944245beec: Download complete [2022-06-03T07:19:13.501Z] 765212b225bb: Verifying Checksum [2022-06-03T07:19:13.501Z] 765212b225bb: Download complete [2022-06-03T07:19:13.501Z] f23df028b6ca: Download complete [2022-06-03T07:19:13.501Z] d65c8cfc05b1: Verifying Checksum [2022-06-03T07:19:13.501Z] d65c8cfc05b1: Download complete [2022-06-03T07:19:13.775Z] 699f458cf7ca: Verifying Checksum [2022-06-03T07:19:13.775Z] 699f458cf7ca: Download complete [2022-06-03T07:19:14.049Z] 8998bd30e6a1: Verifying Checksum [2022-06-03T07:19:14.050Z] 8998bd30e6a1: Download complete [2022-06-03T07:19:16.033Z] 2437ff75d9bd: Verifying Checksum [2022-06-03T07:19:16.033Z] 2437ff75d9bd: Download complete [2022-06-03T07:19:18.657Z] 8998bd30e6a1: Pull complete [2022-06-03T07:19:18.930Z] 04944245beec: Pull complete [2022-06-03T07:19:20.388Z] 699f458cf7ca: Pull complete [2022-06-03T07:19:20.662Z] 765212b225bb: Pull complete [2022-06-03T07:19:21.259Z] f23df028b6ca: Pull complete [2022-06-03T07:19:21.533Z] d65c8cfc05b1: Pull complete [2022-06-03T07:19:36.620Z] 2437ff75d9bd: Pull complete [2022-06-03T07:19:36.620Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-03T07:19:36.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T07:19:36.620Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T07:19:36.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-906 does not seem to be running inside a container [2022-06-03T07:19:36.940Z] $ 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/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-03T07:19:39.438Z] $ docker top cbbe0bd933db1f2dd2feca21ccacacb1662f2fdce38b4b074249c3285e525005 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:19:40.369Z] ---> job-cost.sh [2022-06-03T07:19:40.369Z] lf-activate-venv: SKIPPING [2022-06-03T07:19:40.369Z] INFO: No Stack... [2022-06-03T07:19:40.644Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-03T07:19:41.618Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T07:19:42.278Z] + cut -d, -f6 [2022-06-03T07:19:42.278Z] + cat /w/workspace/device-virtual-go/6/archives/cost.csv [Pipeline] lock [2022-06-03T07:19:42.341Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] [2022-06-03T07:19:42.348Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] did not exist. Created. [2022-06-03T07:19:42.348Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T07:19:43.028Z] /w/workspace/device-virtual-go/6@tmp/durable-28810bf6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-03T07:19:43.717Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-03T07:19:43.738Z] Warning: overwriting stash ‘stack-cost’ [2022-06-03T07:19:43.780Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T07:19:43.790Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T07:19:43.810Z] $ docker stop --time=1 cbbe0bd933db1f2dd2feca21ccacacb1662f2fdce38b4b074249c3285e525005 [2022-06-03T07:19:45.334Z] $ docker rm -f cbbe0bd933db1f2dd2feca21ccacacb1662f2fdce38b4b074249c3285e525005 [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 [2022-06-03T07:19:45.797Z] provisioning config files... [2022-06-03T07:19:45.805Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config9062608830424237452tmp [Pipeline] { [Pipeline] sh [2022-06-03T07:19:46.135Z] + set +x [2022-06-03T07:19:46.135Z] + curl -s https://codecov.io/bash [2022-06-03T07:19:46.135Z] + bash -s -- [2022-06-03T07:19:46.135Z] [2022-06-03T07:19:46.135Z] _____ _ [2022-06-03T07:19:46.135Z] / ____| | | [2022-06-03T07:19:46.135Z] | | ___ __| | ___ ___ _____ __ [2022-06-03T07:19:46.135Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-03T07:19:46.135Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-03T07:19:46.135Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-03T07:19:46.135Z] Bash-1.0.6 [2022-06-03T07:19:46.135Z] [2022-06-03T07:19:46.135Z] [2022-06-03T07:19:46.135Z] ==> git version 2.25.1 found [2022-06-03T07:19:46.135Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-03T07:19:46.135Z] Release-Date: 2020-01-08 [2022-06-03T07:19:46.135Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-03T07:19:46.135Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-03T07:19:46.135Z] ==> Jenkins CI detected. [2022-06-03T07:19:46.135Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-287 [2022-06-03T07:19:46.135Z] project root: . [2022-06-03T07:19:46.135Z] --> token set from env [2022-06-03T07:19:46.135Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-03T07:19:46.135Z] ==> Running gcov in . (disable via -X gcov) [2022-06-03T07:19:46.135Z] ==> Python coveragepy not found [2022-06-03T07:19:46.135Z] ==> Searching for coverage reports in: [2022-06-03T07:19:46.135Z] + . [2022-06-03T07:19:46.135Z] -> Found 1 reports [2022-06-03T07:19:46.135Z] ==> Detecting git/mercurial file structure [2022-06-03T07:19:46.135Z] ==> Reading reports [2022-06-03T07:19:46.135Z] + ./coverage.out bytes=44128 [2022-06-03T07:19:46.135Z] ==> Appending adjustments [2022-06-03T07:19:46.135Z] https://docs.codecov.io/docs/fixing-reports [2022-06-03T07:19:46.452Z] + Found adjustments [2022-06-03T07:19:46.452Z] ==> Gzipping contents [2022-06-03T07:19:46.452Z] 8.0K /tmp/codecov.M0w3vg.gz [2022-06-03T07:19:46.452Z] ==> Uploading reports [2022-06-03T07:19:46.452Z] url: https://codecov.io [2022-06-03T07:19:46.452Z] query: branch=PR-287&commit=8760134d8f81b98d9e42670833e31fee59ce4831&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= [2022-06-03T07:19:46.452Z] -> Pinging Codecov [2022-06-03T07:19:46.452Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-287&commit=8760134d8f81b98d9e42670833e31fee59ce4831&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= [2022-06-03T07:19:46.452Z] -> Uploading to [2022-06-03T07:19:46.452Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-03/5E52B4B073DB2E39498172D8E973AA87/8760134d8f81b98d9e42670833e31fee59ce4831/1a1851f0-5af5-40e9-99c3-bc8136c78cc6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T071946Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=722751164a2f17bf12bc4c3872bf4f22593017e85a7881d08f378d5dea53e1f0 [2022-06-03T07:19:46.452Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T07:19:46.452Z] Dload Upload Total Spent Left Speed [2022-06-03T07:19:46.771Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5499 0 0 100 5499 0 26185 --:--:-- --:--:-- --:--:-- 26185 [2022-06-03T07:19:46.771Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8760134d8f81b98d9e42670833e31fee59ce4831 [Pipeline] } [2022-06-03T07:19:46.776Z] 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 [2022-06-03T07:19:47.467Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] [2022-06-03T07:19:47.467Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T07:19:47.467Z] total 16 [2022-06-03T07:19:47.467Z] drwxr-xr-x 3 root root 4096 Jun 3 07:12 . [2022-06-03T07:19:47.467Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 07:12 .. [2022-06-03T07:19:47.467Z] drwxr-xr-x 2 root root 4096 Jun 3 07:12 cost [2022-06-03T07:19:47.467Z] -rw-r--r-- 1 root root 88 Jun 3 07:12 cost.csv [2022-06-03T07:19:47.467Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T07:19:47.467Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T07:19:47.467Z] total 16 [2022-06-03T07:19:47.467Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 07:12 . [2022-06-03T07:19:47.467Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 07:12 .. [2022-06-03T07:19:47.467Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 07:12 cost [2022-06-03T07:19:47.467Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 3 07:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:19:47.764Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:19:48.627Z] ---> package-listing.sh [2022-06-03T07:19:48.627Z] ++ facter osfamily [2022-06-03T07:19:48.627Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-03T07:19:48.888Z] + OS_FAMILY=debian [2022-06-03T07:19:48.888Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-287 [2022-06-03T07:19:48.888Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-03T07:19:48.888Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-03T07:19:48.888Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-03T07:19:48.888Z] + PACKAGES=/tmp/packages_start.txt [2022-06-03T07:19:48.888Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-03T07:19:48.888Z] + PACKAGES=/tmp/packages_end.txt [2022-06-03T07:19:48.888Z] + case "${OS_FAMILY}" in [2022-06-03T07:19:48.888Z] + dpkg -l [2022-06-03T07:19:48.888Z] + grep '^ii' [2022-06-03T07:19:48.888Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-03T07:19:48.888Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-03T07:19:48.888Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-03T07:19:48.888Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-03T07:19:48.888Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ [2022-06-03T07:19:48.888Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-287/archives/ [Pipeline] echo [2022-06-03T07:19:48.901Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-03T07:19:49.185Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T07:19:49.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T07:19:49.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T07:19:49.828Z] prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container [2022-06-03T07:19:49.861Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-287/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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-03T07:19:50.108Z] $ docker top ecc43656605194d6f53ec17168ec497540d2d029a71fa7541eed3b0b935f892b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T07:19:50.470Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-03T07:19:50.764Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-03T07:19:51.055Z] + ls /var/log/sa-host [2022-06-03T07:19:51.056Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T07:19:51.196Z] provisioning config files... [2022-06-03T07:19:51.205Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config1901580849964352651tmp [Pipeline] { [Pipeline] echo [2022-06-03T07:19:51.222Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:19:51.518Z] ---> create-netrc.sh [Pipeline] } [2022-06-03T07:19:51.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:19:51.863Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-03T07:19:51.874Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:19:52.164Z] ---> sudo-logs.sh [2022-06-03T07:19:52.164Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-03T07:19:52.200Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:19:52.584Z] ---> job-cost.sh [2022-06-03T07:19:52.584Z] lf-activate-venv: SKIPPING [2022-06-03T07:19:52.584Z] DEBUG: total: 0.2199999988079071 [2022-06-03T07:19:52.584Z] INFO: Retrieving Stack Cost... [2022-06-03T07:19:52.845Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T07:19:53.417Z] INFO: Archiving Costs [Pipeline] echo [2022-06-03T07:19:53.427Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T07:19:53.716Z] ---> logs-deploy.sh [2022-06-03T07:19:53.716Z] lf-activate-venv: SKIPPING [2022-06-03T07:19:53.717Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/6 [2022-06-03T07:19:53.717Z] INFO: archiving workspace using pattern(s): [2022-06-03T07:19:54.657Z] Archives upload complete. [2022-06-03T07:19:54.657Z] INFO: archiving logs to Nexus