Pull request #290 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 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a rather than e8db194c29eac988fbecd00393430478a8bb7046 Obtained Jenkinsfile from dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 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-ssh9345417653840837032.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh11931857705180200300.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-290/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-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2802173247758554992.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh15750291562761613106.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-290/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-290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6038783787720724662.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-2593 in /w/workspace/foundry_device-virtual-go_PR-290 [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-290 # 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 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a into PR head commit e8db194c29eac988fbecd00393430478a8bb7046 Merge succeeded, producing e8db194c29eac988fbecd00393430478a8bb7046 Checking out Revision e8db194c29eac988fbecd00393430478a8bb7046 (PR-290) > 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/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8db194c29eac988fbecd00393430478a8bb7046 # 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 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8db194c29eac988fbecd00393430478a8bb7046 # timeout=10 Commit message: "build(snap): Use updated hooks library" > git rev-list --no-walk 94db043223987bafc21c8bad326de67ff661989d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T15:30:27.985Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T15:30:28.047Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T15:30:28.062Z] ========================================================= [2022-06-17T15:30:28.062Z] EdgeX Global Pipelines Version Info [2022-06-17T15:30:28.062Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:30:28.851Z] ------------------- [2022-06-17T15:30:28.851Z] stable info: [2022-06-17T15:30:28.851Z] ------------------- [2022-06-17T15:30:28.851Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T15:30:28.851Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T15:30:28.851Z] Message: update stable to v1.0.234 [2022-06-17T15:30:29.424Z] ------------------- [2022-06-17T15:30:29.424Z] experimental info: [2022-06-17T15:30:29.424Z] ------------------- [2022-06-17T15:30:29.424Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T15:30:29.424Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T15:30:29.424Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T15:30:29.682Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-17T15:30:29.695Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-17T15:30:29.706Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T15:30:29.721Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T15:30:29.732Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T15:30:29.743Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T15:30:29.757Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T15:30:29.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T15:30:29.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T15:30:29.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T15:30:29.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T15:30:29.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-17T15:30:29.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T15:30:29.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T15:30:29.847Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T15:30:29.860Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T15:30:29.871Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T15:30:29.881Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T15:30:29.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T15:30:29.899Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T15:30:29.907Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T15:30:29.916Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T15:30:29.926Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T15:30:29.942Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T15:30:29.953Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T15:30:29.964Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T15:30:29.976Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T15:30:29.993Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-17T15:30:30.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-17T15:30:30.029Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-17T15:30:30.048Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8db194c29eac988fbecd00393430478a8bb7046 [Pipeline] echo [2022-06-17T15:30:30.069Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8db194 [Pipeline] echo [2022-06-17T15:30:30.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T15:30:30.132Z] provisioning config files... [2022-06-17T15:30:30.147Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config2586893508604385862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:30:30.464Z] ---> docker-login.sh [2022-06-17T15:30:30.464Z] nexus3.edgexfoundry.org:10001 [2022-06-17T15:30:30.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:30:30.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:30:30.725Z] Configure a credential helper to remove this warning. See [2022-06-17T15:30:30.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:30:30.725Z] [2022-06-17T15:30:30.725Z] Login Succeeded [2022-06-17T15:30:30.725Z] nexus3.edgexfoundry.org:10002 [2022-06-17T15:30:30.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:30:30.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:30:30.987Z] Configure a credential helper to remove this warning. See [2022-06-17T15:30:30.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:30:30.987Z] [2022-06-17T15:30:30.987Z] Login Succeeded [2022-06-17T15:30:30.987Z] nexus3.edgexfoundry.org:10003 [2022-06-17T15:30:30.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:30:30.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:30:30.987Z] Configure a credential helper to remove this warning. See [2022-06-17T15:30:30.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:30:30.987Z] [2022-06-17T15:30:30.987Z] Login Succeeded [2022-06-17T15:30:30.987Z] nexus3.edgexfoundry.org:10004 [2022-06-17T15:30:31.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:30:31.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:30:31.249Z] Configure a credential helper to remove this warning. See [2022-06-17T15:30:31.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:30:31.249Z] [2022-06-17T15:30:31.249Z] Login Succeeded [2022-06-17T15:30:31.249Z] docker.io [2022-06-17T15:30:31.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:30:31.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:30:31.823Z] Configure a credential helper to remove this warning. See [2022-06-17T15:30:31.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:30:31.823Z] [2022-06-17T15:30:31.823Z] Login Succeeded [2022-06-17T15:30:31.823Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T15:30:31.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T15:30:32.206Z] + git rev-list -1 --merges e8db194c29eac988fbecd00393430478a8bb7046~1..e8db194c29eac988fbecd00393430478a8bb7046 [Pipeline] echo [2022-06-17T15:30:32.237Z] -----------> git rev-list -1 --merges e8db194c29eac988fbecd00393430478a8bb7046~1..e8db194c29eac988fbecd00393430478a8bb7046 e8db194c29eac988fbecd00393430478a8bb7046 [false] [Pipeline] sh [2022-06-17T15:30:32.533Z] + git log --format=format:%s -1 e8db194c29eac988fbecd00393430478a8bb7046 [Pipeline] echo [2022-06-17T15:30:32.547Z] ========================================================= [2022-06-17T15:30:32.547Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T15:30:32.547Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T15:30:32.883Z] + git log --format=format:%s -1 e8db194c29eac988fbecd00393430478a8bb7046 [Pipeline] echo [2022-06-17T15:30:32.896Z] [semverPrep] GIT_COMMIT: e8db194c29eac988fbecd00393430478a8bb7046, Commit Message: build(snap): Use updated hooks library [Pipeline] echo [2022-06-17T15:30:32.904Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T15:30:33.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T15:30:33.265Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T15:30:33.265Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T15:30:33.265Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T15:30:33.265Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T15:30:33.265Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T15:30:33.265Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:30:33.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T15:30:33.681Z] [2022-06-17T15:30:33.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:30:33.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T15:30:33.986Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T15:30:33.986Z] 42c077c10790: Pulling fs layer [2022-06-17T15:30:33.986Z] f63e77b7563a: Pulling fs layer [2022-06-17T15:30:33.986Z] bd5fdadae976: Pulling fs layer [2022-06-17T15:30:33.986Z] 205491f53016: Pulling fs layer [2022-06-17T15:30:33.986Z] df18705c85c3: Pulling fs layer [2022-06-17T15:30:33.986Z] bdb3f477010e: Pulling fs layer [2022-06-17T15:30:33.986Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T15:30:33.986Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T15:30:33.986Z] bdb8f0575790: Pulling fs layer [2022-06-17T15:30:33.986Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T15:30:33.986Z] 2343380bae48: Pulling fs layer [2022-06-17T15:30:33.986Z] c8a8fc8e1c8f: Waiting [2022-06-17T15:30:33.986Z] 2c6e9b1d212d: Waiting [2022-06-17T15:30:33.986Z] bdb8f0575790: Waiting [2022-06-17T15:30:33.986Z] 386e3cb2ff24: Waiting [2022-06-17T15:30:33.986Z] 205491f53016: Waiting [2022-06-17T15:30:33.986Z] 2343380bae48: Waiting [2022-06-17T15:30:33.986Z] df18705c85c3: Waiting [2022-06-17T15:30:33.986Z] f63e77b7563a: Verifying Checksum [2022-06-17T15:30:33.986Z] f63e77b7563a: Download complete [2022-06-17T15:30:33.986Z] 205491f53016: Download complete [2022-06-17T15:30:34.247Z] bd5fdadae976: Verifying Checksum [2022-06-17T15:30:34.247Z] bd5fdadae976: Download complete [2022-06-17T15:30:34.247Z] df18705c85c3: Verifying Checksum [2022-06-17T15:30:34.247Z] df18705c85c3: Download complete [2022-06-17T15:30:34.247Z] bdb3f477010e: Verifying Checksum [2022-06-17T15:30:34.247Z] bdb3f477010e: Download complete [2022-06-17T15:30:34.247Z] 2c6e9b1d212d: Download complete [2022-06-17T15:30:34.247Z] bdb8f0575790: Verifying Checksum [2022-06-17T15:30:34.247Z] bdb8f0575790: Download complete [2022-06-17T15:30:34.247Z] 386e3cb2ff24: Download complete [2022-06-17T15:30:34.247Z] 2343380bae48: Verifying Checksum [2022-06-17T15:30:34.247Z] 2343380bae48: Download complete [2022-06-17T15:30:34.247Z] 42c077c10790: Download complete [2022-06-17T15:30:34.508Z] c8a8fc8e1c8f: Download complete [2022-06-17T15:30:35.887Z] 42c077c10790: Pull complete [2022-06-17T15:30:35.887Z] f63e77b7563a: Pull complete [2022-06-17T15:30:36.470Z] bd5fdadae976: Pull complete [2022-06-17T15:30:36.470Z] 205491f53016: Pull complete [2022-06-17T15:30:36.731Z] df18705c85c3: Pull complete [2022-06-17T15:30:37.000Z] bdb3f477010e: Pull complete [2022-06-17T15:30:38.916Z] c8a8fc8e1c8f: Pull complete [2022-06-17T15:30:38.916Z] 2c6e9b1d212d: Pull complete [2022-06-17T15:30:39.179Z] bdb8f0575790: Pull complete [2022-06-17T15:30:39.179Z] 386e3cb2ff24: Pull complete [2022-06-17T15:30:39.179Z] 2343380bae48: Pull complete [2022-06-17T15:30:39.440Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T15:30:39.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T15:30:39.440Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:30:39.532Z] prd-ubuntu20.04-docker-8c-8g-2593 does not seem to be running inside a container [2022-06-17T15:30:39.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-17T15:30:40.817Z] $ docker top 26343f902f40bcaf0b1645229e5b6dbe2b4cffcc5aa6662a2b531f7e5b3980ef -eo pid,comm [2022-06-17T15:30:40.875Z] 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-17T15:30:40.875Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T15:30:40.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T15:30:40.908Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T15:30:41.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T15:30:41.045Z] $ docker exec 26343f902f40bcaf0b1645229e5b6dbe2b4cffcc5aa6662a2b531f7e5b3980ef ssh-agent [2022-06-17T15:30:41.167Z] SSH_AUTH_SOCK=/tmp/ssh-DSIaGIuadxSM/agent.33 [2022-06-17T15:30:41.167Z] SSH_AGENT_PID=39 [2022-06-17T15:30:41.172Z] Running ssh-add (command line suppressed) [2022-06-17T15:30:41.305Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_2274397555423183919.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_2274397555423183919.key) [2022-06-17T15:30:41.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T15:30:41.611Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T15:30:41.631Z] $ docker exec --env ******** --env ******** 26343f902f40bcaf0b1645229e5b6dbe2b4cffcc5aa6662a2b531f7e5b3980ef ssh-agent -k [2022-06-17T15:30:41.742Z] unset SSH_AUTH_SOCK; [2022-06-17T15:30:41.743Z] unset SSH_AGENT_PID; [2022-06-17T15:30:41.743Z] echo Agent pid 39 killed; [2022-06-17T15:30:41.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T15:30:41.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T15:30:41.777Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T15:30:41.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T15:30:41.923Z] $ docker exec 26343f902f40bcaf0b1645229e5b6dbe2b4cffcc5aa6662a2b531f7e5b3980ef ssh-agent [2022-06-17T15:30:42.046Z] SSH_AUTH_SOCK=/tmp/ssh-GeGKx8ZzRwkv/agent.71 [2022-06-17T15:30:42.046Z] SSH_AGENT_PID=77 [2022-06-17T15:30:42.051Z] Running ssh-add (command line suppressed) [2022-06-17T15:30:42.183Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_6025570942268609353.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_6025570942268609353.key) [2022-06-17T15:30:42.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T15:30:42.481Z] + git semver init [2022-06-17T15:30:42.741Z] 2022-06-17 15:30:42,703 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T15:30:42.741Z] 2022-06-17 15:30:42,703 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-17T15:30:42.741Z] 2022-06-17 15:30:42,704 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-17T15:30:42.741Z] 2022-06-17 15:30:42,704 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-290/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-290, universal_newlines=False, shell=None, istream=None) [2022-06-17T15:30:43.682Z] 2022-06-17 15:30:43,625 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-17T15:30:43.682Z] 2022-06-17 15:30:43,626 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 with force:False [2022-06-17T15:30:43.682Z] 2022-06-17 15:30:43,626 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-17T15:30:43.682Z] 2022-06-17 15:30:43,631 [execute] INFO git cat-file --batch-check [2022-06-17T15:30:43.683Z] 2022-06-17 15:30:43,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T15:30:43.683Z] 2022-06-17 15:30:43,640 [execute] INFO git cat-file --batch [2022-06-17T15:30:43.683Z] 2022-06-17 15:30:43,640 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T15:30:43.683Z] 2022-06-17 15:30:43,647 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-17T15:30:43.683Z] 0.0.0 [Pipeline] } [2022-06-17T15:30:43.700Z] $ docker exec --env ******** --env ******** 26343f902f40bcaf0b1645229e5b6dbe2b4cffcc5aa6662a2b531f7e5b3980ef ssh-agent -k [2022-06-17T15:30:43.821Z] unset SSH_AUTH_SOCK; [2022-06-17T15:30:43.821Z] unset SSH_AGENT_PID; [2022-06-17T15:30:43.822Z] echo Agent pid 77 killed; [2022-06-17T15:30:43.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T15:30:44.142Z] + git semver [Pipeline] } [2022-06-17T15:30:44.425Z] $ docker stop --time=1 26343f902f40bcaf0b1645229e5b6dbe2b4cffcc5aa6662a2b531f7e5b3980ef [2022-06-17T15:30:45.734Z] $ docker rm -f 26343f902f40bcaf0b1645229e5b6dbe2b4cffcc5aa6662a2b531f7e5b3980ef [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T15:30:46.077Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T15:30:46.347Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T15:30:46.350Z] [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-17T15:30:46.467Z] provisioning config files... [2022-06-17T15:30:46.478Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6876855185554291790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:30:46.782Z] ---> docker-login.sh [2022-06-17T15:30:46.782Z] nexus3.edgexfoundry.org:10001 [2022-06-17T15:30:46.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:30:46.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:30:46.782Z] Configure a credential helper to remove this warning. See [2022-06-17T15:30:46.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:30:46.782Z] [2022-06-17T15:30:46.782Z] Login Succeeded [2022-06-17T15:30:46.782Z] nexus3.edgexfoundry.org:10002 [2022-06-17T15:30:46.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:30:47.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:30:47.044Z] Configure a credential helper to remove this warning. See [2022-06-17T15:30:47.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:30:47.045Z] [2022-06-17T15:30:47.045Z] Login Succeeded [2022-06-17T15:30:47.045Z] nexus3.edgexfoundry.org:10003 [2022-06-17T15:30:47.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:30:47.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:30:47.045Z] Configure a credential helper to remove this warning. See [2022-06-17T15:30:47.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:30:47.045Z] [2022-06-17T15:30:47.045Z] Login Succeeded [2022-06-17T15:30:47.045Z] nexus3.edgexfoundry.org:10004 [2022-06-17T15:30:47.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:30:47.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:30:47.306Z] Configure a credential helper to remove this warning. See [2022-06-17T15:30:47.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:30:47.306Z] [2022-06-17T15:30:47.306Z] Login Succeeded [2022-06-17T15:30:47.306Z] docker.io [2022-06-17T15:30:47.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:30:47.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:30:47.567Z] Configure a credential helper to remove this warning. See [2022-06-17T15:30:47.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:30:47.567Z] [2022-06-17T15:30:47.567Z] Login Succeeded [2022-06-17T15:30:47.567Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T15:30:47.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T15:30:47.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T15:30:47.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T15:30:47.662Z] ========================================================= [2022-06-17T15:30:47.662Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T15:30:47.662Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:30:47.989Z] + 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-17T15:30:47.989Z] Sending build context to Docker daemon 23.06MB [2022-06-17T15:30:47.989Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T15:30:47.989Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T15:30:48.249Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T15:30:48.249Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T15:30:48.249Z] 666ba61612fd: Pulling fs layer [2022-06-17T15:30:48.249Z] 8ed8ca486205: Pulling fs layer [2022-06-17T15:30:48.249Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T15:30:48.249Z] c516ae0d96e1: Pulling fs layer [2022-06-17T15:30:48.249Z] 684cea983483: Pulling fs layer [2022-06-17T15:30:48.249Z] dd3240ac7de5: Pulling fs layer [2022-06-17T15:30:48.249Z] b1e948a4e11c: Pulling fs layer [2022-06-17T15:30:48.249Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T15:30:48.249Z] 646ad004c059: Pulling fs layer [2022-06-17T15:30:48.249Z] 684cea983483: Waiting [2022-06-17T15:30:48.249Z] a8fd76ee1af6: Waiting [2022-06-17T15:30:48.249Z] dd3240ac7de5: Waiting [2022-06-17T15:30:48.249Z] b1e948a4e11c: Waiting [2022-06-17T15:30:48.249Z] 646ad004c059: Waiting [2022-06-17T15:30:48.249Z] c516ae0d96e1: Waiting [2022-06-17T15:30:48.249Z] 8ed8ca486205: Verifying Checksum [2022-06-17T15:30:48.249Z] 8ed8ca486205: Download complete [2022-06-17T15:30:48.249Z] 666ba61612fd: Verifying Checksum [2022-06-17T15:30:48.249Z] 666ba61612fd: Download complete [2022-06-17T15:30:48.249Z] c516ae0d96e1: Download complete [2022-06-17T15:30:48.249Z] 684cea983483: Download complete [2022-06-17T15:30:48.249Z] dd3240ac7de5: Download complete [2022-06-17T15:30:48.249Z] 59bf1c3509f3: Verifying Checksum [2022-06-17T15:30:48.249Z] 59bf1c3509f3: Download complete [2022-06-17T15:30:48.249Z] b1e948a4e11c: Verifying Checksum [2022-06-17T15:30:48.249Z] b1e948a4e11c: Download complete [2022-06-17T15:30:48.249Z] 59bf1c3509f3: Pull complete [2022-06-17T15:30:48.510Z] 666ba61612fd: Pull complete [2022-06-17T15:30:48.510Z] 8ed8ca486205: Pull complete [2022-06-17T15:30:48.770Z] 646ad004c059: Verifying Checksum [2022-06-17T15:30:48.770Z] 646ad004c059: Download complete [2022-06-17T15:30:48.770Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T15:30:48.770Z] a8fd76ee1af6: Download complete [2022-06-17T15:30:48.770Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T15:30:48.770Z] cc1cd167ecdc: Download complete [2022-06-17T15:30:52.969Z] cc1cd167ecdc: Pull complete [2022-06-17T15:30:52.969Z] c516ae0d96e1: Pull complete [2022-06-17T15:30:52.969Z] 684cea983483: Pull complete [2022-06-17T15:30:53.229Z] dd3240ac7de5: Pull complete [2022-06-17T15:30:53.229Z] b1e948a4e11c: Pull complete [2022-06-17T15:30:55.771Z] a8fd76ee1af6: Pull complete [2022-06-17T15:30:56.343Z] 646ad004c059: Pull complete [2022-06-17T15:30:56.605Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T15:30:56.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T15:30:56.605Z] ---> 8f69c11f6b0c [2022-06-17T15:30:56.605Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T15:30:57.990Z] ---> Running in d228a9eb54fa [2022-06-17T15:30:57.990Z] Removing intermediate container d228a9eb54fa [2022-06-17T15:30:57.990Z] ---> 0b16ad67ed0a [2022-06-17T15:30:57.990Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T15:30:57.990Z] ---> Running in c1354364ebe7 [2022-06-17T15:30:57.990Z] Removing intermediate container c1354364ebe7 [2022-06-17T15:30:57.990Z] ---> fe19e91ffd6f [2022-06-17T15:30:57.990Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-17T15:30:58.250Z] ---> Running in 3171ab0ea998 [2022-06-17T15:30:58.250Z] Removing intermediate container 3171ab0ea998 [2022-06-17T15:30:58.250Z] ---> 4104a4c4c360 [2022-06-17T15:30:58.250Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:30:58.250Z] ---> Running in 44de73a5a79f [2022-06-17T15:30:58.823Z] Removing intermediate container 44de73a5a79f [2022-06-17T15:30:58.823Z] ---> 0fc9a58355d7 [2022-06-17T15:30:58.823Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T15:30:58.823Z] ---> Running in 8f2aef320937 [2022-06-17T15:30:59.083Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T15:31:00.026Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T15:31:00.287Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T15:31:00.546Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T15:31:00.546Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T15:31:00.546Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T15:31:00.808Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T15:31:00.808Z] OK: 224 MiB in 56 packages [2022-06-17T15:31:01.069Z] Removing intermediate container 8f2aef320937 [2022-06-17T15:31:01.069Z] ---> 07fcf4a9d332 [2022-06-17T15:31:01.069Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-17T15:31:01.329Z] ---> 396a5aa3ad89 [2022-06-17T15:31:01.329Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T15:31:01.329Z] ---> Running in 3c82c000566e [2022-06-17T15:31:01.437Z] Still waiting to schedule task [2022-06-17T15:31:01.437Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-17T15:31:16.229Z] Removing intermediate container 3c82c000566e [2022-06-17T15:31:16.229Z] ---> cfc133b9da84 [2022-06-17T15:31:16.229Z] Step 10/12 : COPY . . [2022-06-17T15:31:16.229Z] ---> aa9f760ca766 [2022-06-17T15:31:16.229Z] Step 11/12 : ARG MAKE='make build' [2022-06-17T15:31:16.229Z] ---> Running in 1cda583161ca [2022-06-17T15:31:16.229Z] Removing intermediate container 1cda583161ca [2022-06-17T15:31:16.229Z] ---> ea1a427ac04e [2022-06-17T15:31:16.229Z] Step 12/12 : RUN $MAKE [2022-06-17T15:31:16.229Z] ---> Running in e2f02b15728a [2022-06-17T15:31:16.229Z] noop [2022-06-17T15:31:16.229Z] Removing intermediate container e2f02b15728a [2022-06-17T15:31:16.229Z] ---> 05965ab853d2 [2022-06-17T15:31:16.229Z] Successfully built 05965ab853d2 [2022-06-17T15:31:16.229Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:31:16.548Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T15:31:16.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:31:16.634Z] prd-ubuntu20.04-docker-8c-8g-2593 does not seem to be running inside a container [2022-06-17T15:31:16.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@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-x86_64 cat [2022-06-17T15:31:17.079Z] $ docker top 8724a0459b8bf45e0072999de7885b3c2684d793b0d3b2da8e19d8fd6a5813d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T15:31:17.450Z] + go version [2022-06-17T15:31:17.450Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T15:31:17.465Z] $ docker stop --time=1 8724a0459b8bf45e0072999de7885b3c2684d793b0d3b2da8e19d8fd6a5813d0 [2022-06-17T15:31:18.753Z] $ docker rm -f 8724a0459b8bf45e0072999de7885b3c2684d793b0d3b2da8e19d8fd6a5813d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:31:19.269Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T15:31:19.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:31:19.397Z] prd-ubuntu20.04-docker-8c-8g-2593 does not seem to be running inside a container [2022-06-17T15:31:19.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@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-x86_64 cat [2022-06-17T15:31:19.840Z] $ docker top 0200c80d769d0cf2a58be208c367166fd2d27fbb32691e107e95334ed798466b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T15:31:20.208Z] + make test [2022-06-17T15:31:20.209Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T15:31:20.780Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-17T15:31:30.773Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-17T15:31:30.774Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-06-17T15:31:38.905Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T15:31:43.097Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T15:31:43.097Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T15:31:43.097Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T15:31:43.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T15:31:43.691Z] $ docker stop --time=1 0200c80d769d0cf2a58be208c367166fd2d27fbb32691e107e95334ed798466b [2022-06-17T15:31:45.326Z] $ docker rm -f 0200c80d769d0cf2a58be208c367166fd2d27fbb32691e107e95334ed798466b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T15:31:45.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T15:31:45.821Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T15:31:46.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T15:31:46.626Z] + ls -al . [2022-06-17T15:31:46.626Z] total 192 [2022-06-17T15:31:46.626Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 15:31 . [2022-06-17T15:31:46.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 15:30 .. [2022-06-17T15:31:46.626Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 15:30 .git [2022-06-17T15:31:46.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:30 .github [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 17 15:30 .gitignore [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 15:30 .golangci.yml [2022-06-17T15:31:46.626Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 15:30 .semver [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 17 15:30 Attribution.txt [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 17 15:30 CHANGELOG.md [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 17 15:30 Dockerfile [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 15:30 GOVERNANCE.md [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 15:30 Jenkinsfile [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 15:30 LICENSE [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 17 15:30 Makefile [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 17 15:30 OWNERS.md [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 17 15:30 README.md [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 15:30 VERSION [2022-06-17T15:31:46.626Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 15:30 bin [2022-06-17T15:31:46.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:30 cmd [2022-06-17T15:31:46.626Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 17 15:31 coverage.out [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 17 15:30 go.mod [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 17 15:30 go.sum [2022-06-17T15:31:46.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:30 internal [2022-06-17T15:31:46.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:30 snap [2022-06-17T15:31:46.626Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 15:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:31:46.937Z] + 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=e8db194c29eac988fbecd00393430478a8bb7046 --label arch=amd64 --label version=0.0.0 . [2022-06-17T15:31:46.937Z] Sending build context to Docker daemon 23.1MB [2022-06-17T15:31:46.937Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T15:31:46.937Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T15:31:46.937Z] ---> 05965ab853d2 [2022-06-17T15:31:46.937Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T15:31:47.196Z] ---> Running in 03e5325b7346 [2022-06-17T15:31:47.196Z] Removing intermediate container 03e5325b7346 [2022-06-17T15:31:47.196Z] ---> 999be1fc3317 [2022-06-17T15:31:47.196Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T15:31:47.196Z] ---> Running in b87d22f49418 [2022-06-17T15:31:47.196Z] Removing intermediate container b87d22f49418 [2022-06-17T15:31:47.196Z] ---> 819adaf5b263 [2022-06-17T15:31:47.196Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-17T15:31:47.456Z] ---> Running in 8190f0ad545c [2022-06-17T15:31:47.456Z] Removing intermediate container 8190f0ad545c [2022-06-17T15:31:47.456Z] ---> 0f6def708e78 [2022-06-17T15:31:47.456Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:31:47.456Z] ---> Running in d3bbe6aa7c2e [2022-06-17T15:31:48.024Z] Removing intermediate container d3bbe6aa7c2e [2022-06-17T15:31:48.024Z] ---> c94cb8d8848f [2022-06-17T15:31:48.024Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T15:31:48.024Z] ---> Running in 16dd2360a152 [2022-06-17T15:31:48.284Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T15:31:49.226Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T15:31:49.487Z] OK: 224 MiB in 56 packages [2022-06-17T15:31:49.746Z] Removing intermediate container 16dd2360a152 [2022-06-17T15:31:49.746Z] ---> f5ae5859307c [2022-06-17T15:31:49.746Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-17T15:31:50.008Z] ---> 8e139f3d88d6 [2022-06-17T15:31:50.008Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T15:31:50.008Z] ---> Running in c49ca255ca08 [2022-06-17T15:31:50.579Z] Removing intermediate container c49ca255ca08 [2022-06-17T15:31:50.579Z] ---> 196041249a12 [2022-06-17T15:31:50.579Z] Step 10/26 : COPY . . [2022-06-17T15:31:51.157Z] ---> ba20c4377cd9 [2022-06-17T15:31:51.157Z] Step 11/26 : ARG MAKE='make build' [2022-06-17T15:31:51.157Z] ---> Running in ba71f718173a [2022-06-17T15:31:51.157Z] Removing intermediate container ba71f718173a [2022-06-17T15:31:51.157Z] ---> 9a117968fe5e [2022-06-17T15:31:51.157Z] Step 12/26 : RUN $MAKE [2022-06-17T15:31:51.419Z] ---> Running in daa051854bbc [2022-06-17T15:31:51.679Z] 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-17T15:32:13.638Z] Removing intermediate container daa051854bbc [2022-06-17T15:32:13.638Z] ---> 6dad91b2d1f7 [2022-06-17T15:32:13.638Z] Step 13/26 : FROM alpine:3.14 [2022-06-17T15:32:13.638Z] 3.14: Pulling from library/alpine [2022-06-17T15:32:13.638Z] 8663204ce13b: Pulling fs layer [2022-06-17T15:32:13.638Z] 8663204ce13b: Verifying Checksum [2022-06-17T15:32:13.638Z] 8663204ce13b: Download complete [2022-06-17T15:32:13.638Z] 8663204ce13b: Pull complete [2022-06-17T15:32:13.638Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T15:32:13.638Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T15:32:13.638Z] ---> e04c818066af [2022-06-17T15:32:13.638Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-17T15:32:13.638Z] ---> Running in 022f4a93559f [2022-06-17T15:32:13.638Z] Removing intermediate container 022f4a93559f [2022-06-17T15:32:13.638Z] ---> 1f4b9e8b7c85 [2022-06-17T15:32:13.638Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:32:13.638Z] ---> Running in 1b10c4419100 [2022-06-17T15:32:14.209Z] Removing intermediate container 1b10c4419100 [2022-06-17T15:32:14.209Z] ---> 7ccc6a5a2f02 [2022-06-17T15:32:14.209Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T15:32:14.209Z] ---> Running in d965786945a2 [2022-06-17T15:32:14.470Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-17T15:32:15.042Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-17T15:32:15.613Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T15:32:15.613Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T15:32:15.613Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T15:32:15.613Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T15:32:15.873Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T15:32:15.873Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T15:32:15.873Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T15:32:16.134Z] OK: 8 MiB in 20 packages [2022-06-17T15:32:16.394Z] Removing intermediate container d965786945a2 [2022-06-17T15:32:16.394Z] ---> ed61a0507875 [2022-06-17T15:32:16.394Z] Step 17/26 : WORKDIR / [2022-06-17T15:32:16.394Z] ---> Running in 7e5704973ea1 [2022-06-17T15:32:16.394Z] Removing intermediate container 7e5704973ea1 [2022-06-17T15:32:16.394Z] ---> 17bbc7fa5822 [2022-06-17T15:32:16.394Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-17T15:32:16.655Z] ---> b532ea731e45 [2022-06-17T15:32:16.655Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-17T15:32:16.655Z] ---> e8a98d20349f [2022-06-17T15:32:16.655Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-17T15:32:17.226Z] ---> 253f4ae1c222 [2022-06-17T15:32:17.226Z] Step 21/26 : EXPOSE 59900 [2022-06-17T15:32:17.486Z] ---> Running in d90c4b3102d4 [2022-06-17T15:32:17.486Z] Removing intermediate container d90c4b3102d4 [2022-06-17T15:32:17.486Z] ---> c7a8b7a4c6eb [2022-06-17T15:32:17.486Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-17T15:32:17.486Z] ---> Running in cfcd9e5dbb89 [2022-06-17T15:32:17.486Z] Removing intermediate container cfcd9e5dbb89 [2022-06-17T15:32:17.486Z] ---> f2ea3aea4191 [2022-06-17T15:32:17.486Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T15:32:17.747Z] ---> Running in 61b84a511081 [2022-06-17T15:32:17.747Z] Removing intermediate container 61b84a511081 [2022-06-17T15:32:17.747Z] ---> ec65441aeaec [2022-06-17T15:32:17.747Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T15:32:17.747Z] ---> Running in f0014571d7e2 [2022-06-17T15:32:17.747Z] Removing intermediate container f0014571d7e2 [2022-06-17T15:32:17.747Z] ---> 1aec8eb59393 [2022-06-17T15:32:17.747Z] Step 25/26 : LABEL git_sha=e8db194c29eac988fbecd00393430478a8bb7046 [2022-06-17T15:32:17.747Z] ---> Running in b8141e9f8abe [2022-06-17T15:32:18.008Z] Removing intermediate container b8141e9f8abe [2022-06-17T15:32:18.008Z] ---> e6ba197d16cd [2022-06-17T15:32:18.008Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T15:32:18.008Z] ---> Running in 20e7e3d5c41d [2022-06-17T15:32:18.008Z] Removing intermediate container 20e7e3d5c41d [2022-06-17T15:32:18.008Z] ---> 1fa02d59a729 [2022-06-17T15:32:18.008Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T15:32:18.008Z] Successfully built 1fa02d59a729 [2022-06-17T15:32:18.008Z] 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-17T15:32:18.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T15:32:18.434Z] [2022-06-17T15:32:18.434Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:32:18.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T15:32:18.748Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T15:32:18.748Z] 5eb5b503b376: Pulling fs layer [2022-06-17T15:32:18.748Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T15:32:18.748Z] ec43610c2a17: Pulling fs layer [2022-06-17T15:32:18.748Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T15:32:18.748Z] 33b1e0a273af: Pulling fs layer [2022-06-17T15:32:18.748Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T15:32:18.748Z] 2f39f015ded8: Pulling fs layer [2022-06-17T15:32:18.748Z] 33b1e0a273af: Waiting [2022-06-17T15:32:18.748Z] 5d3b04190fa2: Waiting [2022-06-17T15:32:18.748Z] 2f39f015ded8: Waiting [2022-06-17T15:32:18.748Z] 3a2ae6a8a46f: Waiting [2022-06-17T15:32:18.748Z] 5c69ac0246d0: Download complete [2022-06-17T15:32:18.748Z] 3a2ae6a8a46f: Download complete [2022-06-17T15:32:18.748Z] 33b1e0a273af: Verifying Checksum [2022-06-17T15:32:18.748Z] 33b1e0a273af: Download complete [2022-06-17T15:32:18.748Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T15:32:18.748Z] 5d3b04190fa2: Download complete [2022-06-17T15:32:18.748Z] ec43610c2a17: Verifying Checksum [2022-06-17T15:32:18.748Z] ec43610c2a17: Download complete [2022-06-17T15:32:19.009Z] 5eb5b503b376: Verifying Checksum [2022-06-17T15:32:19.009Z] 5eb5b503b376: Download complete [2022-06-17T15:32:19.580Z] 2f39f015ded8: Download complete [2022-06-17T15:32:20.522Z] 5eb5b503b376: Pull complete [2022-06-17T15:32:20.522Z] 5c69ac0246d0: Pull complete [2022-06-17T15:32:21.092Z] ec43610c2a17: Pull complete [2022-06-17T15:32:21.092Z] 3a2ae6a8a46f: Pull complete [2022-06-17T15:32:21.353Z] 33b1e0a273af: Pull complete [2022-06-17T15:32:21.353Z] 5d3b04190fa2: Pull complete [2022-06-17T15:32:26.632Z] 2f39f015ded8: Pull complete [2022-06-17T15:32:26.632Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T15:32:26.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T15:32:26.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:32:26.740Z] prd-ubuntu20.04-docker-8c-8g-2593 does not seem to be running inside a container [2022-06-17T15:32:26.782Z] $ 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-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@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:latest cat [2022-06-17T15:32:28.209Z] $ docker top b68c21cff8a6aee4b6241b655d50dea183632c7aa9d475866662995530a90d4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:32:28.644Z] ---> job-cost.sh [2022-06-17T15:32:28.644Z] lf-activate-venv: SKIPPING [2022-06-17T15:32:28.644Z] INFO: No Stack... [2022-06-17T15:32:28.906Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T15:32:29.478Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T15:32:29.772Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-17T15:32:29.772Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T15:32:29.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-9-stack-cost] [2022-06-17T15:32:29.793Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-9-stack-cost] did not exist. Created. [2022-06-17T15:32:29.793Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T15:32:30.101Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T15:32:30.137Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T15:32:30.143Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T15:32:30.170Z] $ docker stop --time=1 b68c21cff8a6aee4b6241b655d50dea183632c7aa9d475866662995530a90d4d [2022-06-17T15:32:31.343Z] $ docker rm -f b68c21cff8a6aee4b6241b655d50dea183632c7aa9d475866662995530a90d4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T15:32:38.715Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2594 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-17T15:32:38.728Z] Running in /w/workspace/device-virtual-go/9 [Pipeline] { [Pipeline] checkout [2022-06-17T15:32:38.775Z] The recommended git tool is: git [2022-06-17T15:32:45.551Z] using credential edgex-jenkins-ssh [2022-06-17T15:32:45.568Z] Cloning the remote Git repository [2022-06-17T15:32:45.615Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T15:32:45.690Z] > git init /w/workspace/device-virtual-go/9 # timeout=10 [2022-06-17T15:32:45.826Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T15:32:45.827Z] > git --version # timeout=10 [2022-06-17T15:32:45.874Z] > git --version # 'git version 2.25.1' [2022-06-17T15:32:45.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T15:32:45.992Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T15:32:48.547Z] Merging remotes/origin/main commit dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a into PR head commit e8db194c29eac988fbecd00393430478a8bb7046 [2022-06-17T15:32:48.781Z] Merge succeeded, producing e8db194c29eac988fbecd00393430478a8bb7046 [2022-06-17T15:32:48.782Z] Checking out Revision e8db194c29eac988fbecd00393430478a8bb7046 (PR-290) [2022-06-17T15:32:47.933Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-17T15:32:47.955Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T15:32:47.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-17T15:32:48.027Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T15:32:48.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T15:32:48.041Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T15:32:48.572Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T15:32:48.595Z] > git checkout -f e8db194c29eac988fbecd00393430478a8bb7046 # timeout=10 [2022-06-17T15:32:48.687Z] > git remote # timeout=10 [2022-06-17T15:32:48.708Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T15:32:48.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T15:32:48.734Z] > git merge dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 [2022-06-17T15:32:48.767Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T15:32:48.791Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T15:32:48.805Z] > git checkout -f e8db194c29eac988fbecd00393430478a8bb7046 # timeout=10 [2022-06-17T15:32:52.965Z] Commit message: "build(snap): Use updated hooks library" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T15:32:53.851Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T15:32:53.851Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T15:32:53.851Z] Dload Upload Total Spent Left Speed [2022-06-17T15:32:53.851Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 45891 0 --:--:-- --:--:-- --:--:-- 45891 [Pipeline] sh [2022-06-17T15:32:54.634Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T15:32:54.983Z] + sudo tee /etc/docker/daemon.new [2022-06-17T15:32:54.984Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T15:32:54.984Z] { [2022-06-17T15:32:54.984Z] "registry-mirrors": [ [2022-06-17T15:32:54.984Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T15:32:54.984Z] ], [2022-06-17T15:32:54.984Z] "bip": "10.250.0.254/24", [2022-06-17T15:32:54.984Z] "hosts": [ [2022-06-17T15:32:54.984Z] "tcp://0.0.0.0:5555", [2022-06-17T15:32:54.984Z] "unix:///var/run/docker.sock" [2022-06-17T15:32:54.984Z] ], [2022-06-17T15:32:54.984Z] "mtu": 1458, [2022-06-17T15:32:54.984Z] "selinux-enabled": true, [2022-06-17T15:32:54.984Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T15:32:54.984Z] } [Pipeline] sh [2022-06-17T15:32:55.332Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T15:32:55.675Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T15:33:14.023Z] provisioning config files... [2022-06-17T15:33:14.053Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/9@tmp/config2073016042980945463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:33:14.409Z] ---> docker-login.sh [2022-06-17T15:33:14.409Z] nexus3.edgexfoundry.org:10001 [2022-06-17T15:33:15.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:33:15.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:33:15.280Z] Configure a credential helper to remove this warning. See [2022-06-17T15:33:15.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:33:15.280Z] [2022-06-17T15:33:15.280Z] Login Succeeded [2022-06-17T15:33:15.280Z] nexus3.edgexfoundry.org:10002 [2022-06-17T15:33:15.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:33:15.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:33:15.556Z] Configure a credential helper to remove this warning. See [2022-06-17T15:33:15.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:33:15.556Z] [2022-06-17T15:33:15.556Z] Login Succeeded [2022-06-17T15:33:15.556Z] nexus3.edgexfoundry.org:10003 [2022-06-17T15:33:16.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:33:16.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:33:16.154Z] Configure a credential helper to remove this warning. See [2022-06-17T15:33:16.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:33:16.154Z] [2022-06-17T15:33:16.154Z] Login Succeeded [2022-06-17T15:33:16.154Z] nexus3.edgexfoundry.org:10004 [2022-06-17T15:33:16.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:33:16.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:33:16.428Z] Configure a credential helper to remove this warning. See [2022-06-17T15:33:16.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:33:16.428Z] [2022-06-17T15:33:16.428Z] Login Succeeded [2022-06-17T15:33:16.702Z] docker.io [2022-06-17T15:33:16.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:33:17.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:33:17.248Z] Configure a credential helper to remove this warning. See [2022-06-17T15:33:17.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:33:17.248Z] [2022-06-17T15:33:17.248Z] Login Succeeded [2022-06-17T15:33:17.248Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T15:33:17.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T15:33:17.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T15:33:17.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T15:33:17.816Z] ========================================================= [2022-06-17T15:33:17.816Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T15:33:17.816Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:33:18.235Z] + 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-17T15:33:18.843Z] Sending build context to Docker daemon 11.69MB [2022-06-17T15:33:18.843Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T15:33:18.843Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T15:33:18.843Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T15:33:18.843Z] 9b3977197b4f: Pulling fs layer [2022-06-17T15:33:18.843Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T15:33:18.843Z] 94645a83ff95: Pulling fs layer [2022-06-17T15:33:18.843Z] e6fb740bc735: Pulling fs layer [2022-06-17T15:33:18.843Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T15:33:18.843Z] 355e64cbe906: Pulling fs layer [2022-06-17T15:33:18.843Z] 63ab81a10011: Pulling fs layer [2022-06-17T15:33:18.843Z] 555d1d1c4555: Pulling fs layer [2022-06-17T15:33:18.843Z] 7d9057610161: Pulling fs layer [2022-06-17T15:33:18.843Z] 3a77bd46dcc9: Waiting [2022-06-17T15:33:18.843Z] 355e64cbe906: Waiting [2022-06-17T15:33:18.843Z] 63ab81a10011: Waiting [2022-06-17T15:33:18.843Z] 555d1d1c4555: Waiting [2022-06-17T15:33:18.843Z] 7d9057610161: Waiting [2022-06-17T15:33:18.843Z] e6fb740bc735: Waiting [2022-06-17T15:33:18.843Z] 94645a83ff95: Verifying Checksum [2022-06-17T15:33:18.843Z] 94645a83ff95: Download complete [2022-06-17T15:33:18.843Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T15:33:18.843Z] 1a89e8eeedd5: Download complete [2022-06-17T15:33:18.843Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T15:33:18.843Z] 3a77bd46dcc9: Download complete [2022-06-17T15:33:18.843Z] 355e64cbe906: Verifying Checksum [2022-06-17T15:33:18.843Z] 355e64cbe906: Download complete [2022-06-17T15:33:18.843Z] 9b3977197b4f: Verifying Checksum [2022-06-17T15:33:18.843Z] 9b3977197b4f: Download complete [2022-06-17T15:33:18.843Z] 63ab81a10011: Verifying Checksum [2022-06-17T15:33:18.843Z] 63ab81a10011: Download complete [2022-06-17T15:33:19.844Z] 9b3977197b4f: Pull complete [2022-06-17T15:33:19.844Z] 7d9057610161: Verifying Checksum [2022-06-17T15:33:19.844Z] 7d9057610161: Download complete [2022-06-17T15:33:20.445Z] 1a89e8eeedd5: Pull complete [2022-06-17T15:33:20.724Z] 94645a83ff95: Pull complete [2022-06-17T15:33:20.998Z] 555d1d1c4555: Verifying Checksum [2022-06-17T15:33:20.998Z] 555d1d1c4555: Download complete [2022-06-17T15:33:21.972Z] e6fb740bc735: Verifying Checksum [2022-06-17T15:33:21.972Z] e6fb740bc735: Download complete [2022-06-17T15:33:34.385Z] e6fb740bc735: Pull complete [2022-06-17T15:33:34.385Z] 3a77bd46dcc9: Pull complete [2022-06-17T15:33:34.385Z] 355e64cbe906: Pull complete [2022-06-17T15:33:34.385Z] 63ab81a10011: Pull complete [2022-06-17T15:33:41.108Z] 555d1d1c4555: Pull complete [2022-06-17T15:33:43.105Z] 7d9057610161: Pull complete [2022-06-17T15:33:43.105Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T15:33:43.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T15:33:43.105Z] ---> 819e984ddca1 [2022-06-17T15:33:43.105Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T15:33:43.703Z] ---> Running in 2785b891f76b [2022-06-17T15:33:43.978Z] Removing intermediate container 2785b891f76b [2022-06-17T15:33:43.978Z] ---> e541f59d37ac [2022-06-17T15:33:43.978Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T15:33:43.978Z] ---> Running in 8c00673f2190 [2022-06-17T15:33:44.255Z] Removing intermediate container 8c00673f2190 [2022-06-17T15:33:44.255Z] ---> 72bb9ce23e4e [2022-06-17T15:33:44.255Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-17T15:33:44.255Z] ---> Running in 720cc7a0a2be [2022-06-17T15:33:44.541Z] Removing intermediate container 720cc7a0a2be [2022-06-17T15:33:44.541Z] ---> 2bcacd26bf16 [2022-06-17T15:33:44.541Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:33:44.541Z] ---> Running in e77c4f1d7c6e [2022-06-17T15:33:47.962Z] Removing intermediate container e77c4f1d7c6e [2022-06-17T15:33:47.962Z] ---> ad506b14fa86 [2022-06-17T15:33:47.962Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T15:33:47.962Z] ---> Running in d1fdd9b7c976 [2022-06-17T15:33:48.942Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T15:33:49.534Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T15:33:50.516Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T15:33:50.516Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T15:33:50.516Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T15:33:50.796Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T15:33:50.796Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T15:33:50.796Z] OK: 224 MiB in 56 packages [2022-06-17T15:33:51.788Z] Removing intermediate container d1fdd9b7c976 [2022-06-17T15:33:51.788Z] ---> 8a070babe5b4 [2022-06-17T15:33:51.788Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-17T15:33:52.386Z] ---> 30025d0e5eff [2022-06-17T15:33:52.386Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T15:33:52.386Z] ---> Running in 1479f663e583 [2022-06-17T15:34:39.367Z] Removing intermediate container 1479f663e583 [2022-06-17T15:34:39.367Z] ---> 52c605380525 [2022-06-17T15:34:39.367Z] Step 10/12 : COPY . . [2022-06-17T15:34:39.367Z] ---> 94006a831430 [2022-06-17T15:34:39.367Z] Step 11/12 : ARG MAKE='make build' [2022-06-17T15:34:39.367Z] ---> Running in 81128a4ff8af [2022-06-17T15:34:39.367Z] Removing intermediate container 81128a4ff8af [2022-06-17T15:34:39.367Z] ---> 4af5f61f44aa [2022-06-17T15:34:39.367Z] Step 12/12 : RUN $MAKE [2022-06-17T15:34:39.367Z] ---> Running in 5fc248f83ab7 [2022-06-17T15:34:39.367Z] noop [2022-06-17T15:34:39.367Z] Removing intermediate container 5fc248f83ab7 [2022-06-17T15:34:39.367Z] ---> 11442893c03d [2022-06-17T15:34:39.367Z] Successfully built 11442893c03d [2022-06-17T15:34:39.367Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:34:39.730Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T15:34:39.730Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:34:39.969Z] prd-ubuntu20.04-docker-arm64-4c-16g-2594 does not seem to be running inside a container [2022-06-17T15:34:40.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/9 -v /w/workspace/device-virtual-go/9:/w/workspace/device-virtual-go/9:rw,z -v /w/workspace/device-virtual-go/9@tmp:/w/workspace/device-virtual-go/9@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-17T15:34:41.333Z] $ docker top 1c6a65ec494e414695d9141c4923c70c20a2cd12b6642e8fa54e07024dbf3156 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T15:34:42.223Z] + go version [2022-06-17T15:34:42.223Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T15:34:42.259Z] $ docker stop --time=1 1c6a65ec494e414695d9141c4923c70c20a2cd12b6642e8fa54e07024dbf3156 [2022-06-17T15:34:43.866Z] $ docker rm -f 1c6a65ec494e414695d9141c4923c70c20a2cd12b6642e8fa54e07024dbf3156 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:34:44.460Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T15:34:44.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:34:44.690Z] prd-ubuntu20.04-docker-arm64-4c-16g-2594 does not seem to be running inside a container [2022-06-17T15:34:44.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/9 -v /w/workspace/device-virtual-go/9:/w/workspace/device-virtual-go/9:rw,z -v /w/workspace/device-virtual-go/9@tmp:/w/workspace/device-virtual-go/9@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-17T15:34:46.001Z] $ docker top 601c014b0a68ffb2a53b1ab7133223a19c9f9f79afdb0c49816aa71d790a362c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T15:34:46.899Z] + make test [2022-06-17T15:34:46.899Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T15:34:48.343Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-17T15:36:10.195Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-17T15:36:10.195Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements [2022-06-17T15:36:10.195Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T15:36:10.195Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T15:36:32.414Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T15:36:32.414Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T15:36:32.414Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T15:36:35.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T15:36:35.080Z] $ docker stop --time=1 601c014b0a68ffb2a53b1ab7133223a19c9f9f79afdb0c49816aa71d790a362c [2022-06-17T15:36:36.845Z] $ docker rm -f 601c014b0a68ffb2a53b1ab7133223a19c9f9f79afdb0c49816aa71d790a362c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T15:36:37.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T15:36:37.804Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T15:36:38.273Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T15:36:38.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T15:36:39.014Z] + ls -al . [2022-06-17T15:36:39.014Z] total 188 [2022-06-17T15:36:39.014Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 15:36 . [2022-06-17T15:36:39.014Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 15:32 .. [2022-06-17T15:36:39.014Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 15:32 .git [2022-06-17T15:36:39.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:32 .github [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 17 15:32 .gitignore [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 15:32 .golangci.yml [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 17 15:32 Attribution.txt [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 17 15:32 CHANGELOG.md [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 17 15:32 Dockerfile [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 15:32 GOVERNANCE.md [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 15:32 Jenkinsfile [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 15:32 LICENSE [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 17 15:32 Makefile [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 17 15:32 OWNERS.md [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 17 15:32 README.md [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 15:30 VERSION [2022-06-17T15:36:39.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 15:32 bin [2022-06-17T15:36:39.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:32 cmd [2022-06-17T15:36:39.014Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 17 15:36 coverage.out [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 17 15:32 go.mod [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 17 15:32 go.sum [2022-06-17T15:36:39.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:32 internal [2022-06-17T15:36:39.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:32 snap [2022-06-17T15:36:39.014Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 15:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:36:39.379Z] + 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=e8db194c29eac988fbecd00393430478a8bb7046 --label arch=arm64 --label version=0.0.0 . [2022-06-17T15:36:39.988Z] Sending build context to Docker daemon 11.73MB [2022-06-17T15:36:39.988Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T15:36:39.988Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T15:36:39.988Z] ---> 11442893c03d [2022-06-17T15:36:39.988Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T15:36:39.988Z] ---> Running in ddad833bc7a0 [2022-06-17T15:36:40.263Z] Removing intermediate container ddad833bc7a0 [2022-06-17T15:36:40.263Z] ---> c72457e47ad7 [2022-06-17T15:36:40.263Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T15:36:40.263Z] ---> Running in 4133f77450e1 [2022-06-17T15:36:40.539Z] Removing intermediate container 4133f77450e1 [2022-06-17T15:36:40.539Z] ---> e98e29acb585 [2022-06-17T15:36:40.539Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-17T15:36:40.815Z] ---> Running in de7dbdda9b63 [2022-06-17T15:36:41.091Z] Removing intermediate container de7dbdda9b63 [2022-06-17T15:36:41.091Z] ---> 0f326f434d53 [2022-06-17T15:36:41.091Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:36:41.091Z] ---> Running in f0c2eb28cfd4 [2022-06-17T15:36:43.080Z] Removing intermediate container f0c2eb28cfd4 [2022-06-17T15:36:43.080Z] ---> 3718a09fabe2 [2022-06-17T15:36:43.080Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T15:36:43.080Z] ---> Running in 53999a583923 [2022-06-17T15:36:43.681Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T15:36:44.655Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T15:36:45.636Z] OK: 224 MiB in 56 packages [2022-06-17T15:36:46.233Z] Removing intermediate container 53999a583923 [2022-06-17T15:36:46.233Z] ---> 533951ac7afe [2022-06-17T15:36:46.233Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-17T15:36:46.832Z] ---> 4930145515b7 [2022-06-17T15:36:46.832Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T15:36:46.832Z] ---> Running in 99f58047e28e [2022-06-17T15:36:48.815Z] Removing intermediate container 99f58047e28e [2022-06-17T15:36:48.815Z] ---> e4017d243091 [2022-06-17T15:36:48.815Z] Step 10/26 : COPY . . [2022-06-17T15:36:49.801Z] ---> 7c6f982c4ad1 [2022-06-17T15:36:49.801Z] Step 11/26 : ARG MAKE='make build' [2022-06-17T15:36:49.801Z] ---> Running in 56b8f97d2455 [2022-06-17T15:36:50.074Z] Removing intermediate container 56b8f97d2455 [2022-06-17T15:36:50.074Z] ---> 41a81f50cb12 [2022-06-17T15:36:50.074Z] Step 12/26 : RUN $MAKE [2022-06-17T15:36:50.359Z] ---> Running in fa52861f687a [2022-06-17T15:36:51.349Z] 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-17T15:38:58.306Z] Removing intermediate container fa52861f687a [2022-06-17T15:38:58.306Z] ---> 7e967e5a8545 [2022-06-17T15:38:58.306Z] Step 13/26 : FROM alpine:3.14 [2022-06-17T15:38:58.306Z] 3.14: Pulling from library/alpine [2022-06-17T15:38:58.306Z] 455c02918c45: Pulling fs layer [2022-06-17T15:38:58.306Z] 455c02918c45: Verifying Checksum [2022-06-17T15:38:58.306Z] 455c02918c45: Download complete [2022-06-17T15:38:58.306Z] 455c02918c45: Pull complete [2022-06-17T15:38:58.306Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T15:38:58.306Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T15:38:58.306Z] ---> ac73e934f311 [2022-06-17T15:38:58.306Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-17T15:38:58.306Z] ---> Running in 0f9695a05891 [2022-06-17T15:38:58.306Z] Removing intermediate container 0f9695a05891 [2022-06-17T15:38:58.306Z] ---> 14d282e8f335 [2022-06-17T15:38:58.306Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:38:58.306Z] ---> Running in 13e0a63f85b9 [2022-06-17T15:38:58.306Z] Removing intermediate container 13e0a63f85b9 [2022-06-17T15:38:58.306Z] ---> e6121b5e03cd [2022-06-17T15:38:58.306Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T15:38:58.306Z] ---> Running in bddb89bc5498 [2022-06-17T15:38:58.306Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-17T15:38:58.306Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-17T15:38:58.306Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T15:38:58.306Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T15:38:58.306Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T15:38:58.306Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T15:38:58.306Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T15:38:58.306Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T15:38:58.306Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T15:38:58.306Z] OK: 8 MiB in 20 packages [2022-06-17T15:38:58.306Z] Removing intermediate container bddb89bc5498 [2022-06-17T15:38:58.306Z] ---> e4b52d78f4a8 [2022-06-17T15:38:58.306Z] Step 17/26 : WORKDIR / [2022-06-17T15:38:58.306Z] ---> Running in d5b4597a7d04 [2022-06-17T15:38:58.306Z] Removing intermediate container d5b4597a7d04 [2022-06-17T15:38:58.306Z] ---> e1a7107d21bb [2022-06-17T15:38:58.306Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-17T15:38:58.306Z] ---> 41748e9de34c [2022-06-17T15:38:58.306Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-17T15:38:58.306Z] ---> 88ca1abaea23 [2022-06-17T15:38:58.306Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-17T15:38:58.306Z] ---> f3af556c640e [2022-06-17T15:38:58.306Z] Step 21/26 : EXPOSE 59900 [2022-06-17T15:38:58.306Z] ---> Running in 8b49427c6ac4 [2022-06-17T15:38:58.306Z] Removing intermediate container 8b49427c6ac4 [2022-06-17T15:38:58.306Z] ---> 4b1320a085e3 [2022-06-17T15:38:58.306Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-17T15:38:58.306Z] ---> Running in 834b93e332dd [2022-06-17T15:38:58.306Z] Removing intermediate container 834b93e332dd [2022-06-17T15:38:58.306Z] ---> 180475e4acbd [2022-06-17T15:38:58.306Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T15:38:58.306Z] ---> Running in 738b11bc1845 [2022-06-17T15:38:58.306Z] Removing intermediate container 738b11bc1845 [2022-06-17T15:38:58.306Z] ---> ceda6504cd1c [2022-06-17T15:38:58.306Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T15:38:58.306Z] ---> Running in b84d54ad1e80 [2022-06-17T15:38:58.306Z] Removing intermediate container b84d54ad1e80 [2022-06-17T15:38:58.306Z] ---> 6210d6e67be8 [2022-06-17T15:38:58.306Z] Step 25/26 : LABEL git_sha=e8db194c29eac988fbecd00393430478a8bb7046 [2022-06-17T15:38:58.306Z] ---> Running in ea793a89c925 [2022-06-17T15:38:58.306Z] Removing intermediate container ea793a89c925 [2022-06-17T15:38:58.306Z] ---> d877127e3761 [2022-06-17T15:38:58.306Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T15:38:58.306Z] ---> Running in fb0e1c1e65be [2022-06-17T15:38:58.306Z] Removing intermediate container fb0e1c1e65be [2022-06-17T15:38:58.307Z] ---> 8e53934be178 [2022-06-17T15:38:58.307Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T15:38:58.307Z] Successfully built 8e53934be178 [2022-06-17T15:38:58.307Z] 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-17T15:38:58.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T15:38:58.778Z] [2022-06-17T15:38:58.778Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:38:59.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T15:38:59.410Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T15:38:59.410Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T15:38:59.410Z] 04944245beec: Pulling fs layer [2022-06-17T15:38:59.410Z] 699f458cf7ca: Pulling fs layer [2022-06-17T15:38:59.410Z] 765212b225bb: Pulling fs layer [2022-06-17T15:38:59.410Z] f23df028b6ca: Pulling fs layer [2022-06-17T15:38:59.410Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T15:38:59.410Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T15:38:59.410Z] f23df028b6ca: Waiting [2022-06-17T15:38:59.410Z] 765212b225bb: Waiting [2022-06-17T15:38:59.410Z] d65c8cfc05b1: Waiting [2022-06-17T15:38:59.410Z] 2437ff75d9bd: Waiting [2022-06-17T15:38:59.410Z] 04944245beec: Verifying Checksum [2022-06-17T15:38:59.410Z] 04944245beec: Download complete [2022-06-17T15:38:59.410Z] 765212b225bb: Verifying Checksum [2022-06-17T15:38:59.410Z] 765212b225bb: Download complete [2022-06-17T15:38:59.410Z] f23df028b6ca: Verifying Checksum [2022-06-17T15:38:59.410Z] f23df028b6ca: Download complete [2022-06-17T15:38:59.410Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T15:38:59.410Z] d65c8cfc05b1: Download complete [2022-06-17T15:38:59.692Z] 699f458cf7ca: Verifying Checksum [2022-06-17T15:38:59.692Z] 699f458cf7ca: Download complete [2022-06-17T15:38:59.964Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T15:38:59.964Z] 8998bd30e6a1: Download complete [2022-06-17T15:39:01.958Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T15:39:01.958Z] 2437ff75d9bd: Download complete [2022-06-17T15:39:03.939Z] 8998bd30e6a1: Pull complete [2022-06-17T15:39:04.543Z] 04944245beec: Pull complete [2022-06-17T15:39:05.979Z] 699f458cf7ca: Pull complete [2022-06-17T15:39:06.254Z] 765212b225bb: Pull complete [2022-06-17T15:39:06.852Z] f23df028b6ca: Pull complete [2022-06-17T15:39:07.126Z] d65c8cfc05b1: Pull complete [2022-06-17T15:39:22.224Z] 2437ff75d9bd: Pull complete [2022-06-17T15:39:22.224Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T15:39:22.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T15:39:22.224Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:39:22.479Z] prd-ubuntu20.04-docker-arm64-4c-16g-2594 does not seem to be running inside a container [2022-06-17T15:39:22.585Z] $ 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/9 -v /w/workspace/device-virtual-go/9:/w/workspace/device-virtual-go/9:rw,z -v /w/workspace/device-virtual-go/9@tmp:/w/workspace/device-virtual-go/9@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-17T15:39:25.170Z] $ docker top 9eb7a4ca0777426ffd070046e087ba81d896fb40fb1487ffc447f08910b11750 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:39:26.086Z] ---> job-cost.sh [2022-06-17T15:39:26.086Z] lf-activate-venv: SKIPPING [2022-06-17T15:39:26.086Z] INFO: No Stack... [2022-06-17T15:39:26.682Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T15:39:27.660Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T15:39:28.347Z] + cat /w/workspace/device-virtual-go/9/archives/cost.csv [2022-06-17T15:39:28.347Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T15:39:28.380Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-9-stack-cost] [2022-06-17T15:39:28.386Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-9-stack-cost] did not exist. Created. [2022-06-17T15:39:28.387Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T15:39:29.074Z] /w/workspace/device-virtual-go/9@tmp/durable-1259a044/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T15:39:29.755Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T15:39:29.840Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T15:39:29.903Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T15:39:29.910Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T15:39:29.948Z] $ docker stop --time=1 9eb7a4ca0777426ffd070046e087ba81d896fb40fb1487ffc447f08910b11750 [2022-06-17T15:39:31.465Z] $ docker rm -f 9eb7a4ca0777426ffd070046e087ba81d896fb40fb1487ffc447f08910b11750 [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-17T15:39:31.922Z] provisioning config files... [2022-06-17T15:39:31.931Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config5923954124685232025tmp [Pipeline] { [Pipeline] sh [2022-06-17T15:39:32.227Z] + set +x [2022-06-17T15:39:32.227Z] + curl -s https://codecov.io/bash [2022-06-17T15:39:32.227Z] + bash -s -- [2022-06-17T15:39:32.227Z] [2022-06-17T15:39:32.227Z] _____ _ [2022-06-17T15:39:32.227Z] / ____| | | [2022-06-17T15:39:32.227Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T15:39:32.227Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T15:39:32.227Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T15:39:32.227Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T15:39:32.227Z] Bash-1.0.6 [2022-06-17T15:39:32.227Z] [2022-06-17T15:39:32.227Z] [2022-06-17T15:39:32.227Z] ==> git version 2.25.1 found [2022-06-17T15:39:32.227Z] ==> 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-17T15:39:32.227Z] Release-Date: 2020-01-08 [2022-06-17T15:39:32.227Z] 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-17T15:39:32.227Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T15:39:32.227Z] ==> Jenkins CI detected. [2022-06-17T15:39:32.227Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-17T15:39:32.227Z] project root: . [2022-06-17T15:39:32.227Z] --> token set from env [2022-06-17T15:39:32.227Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T15:39:32.227Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T15:39:32.227Z] ==> Python coveragepy not found [2022-06-17T15:39:32.227Z] ==> Searching for coverage reports in: [2022-06-17T15:39:32.227Z] + . [2022-06-17T15:39:32.227Z] -> Found 1 reports [2022-06-17T15:39:32.227Z] ==> Detecting git/mercurial file structure [2022-06-17T15:39:32.227Z] ==> Reading reports [2022-06-17T15:39:32.227Z] + ./coverage.out bytes=44128 [2022-06-17T15:39:32.227Z] ==> Appending adjustments [2022-06-17T15:39:32.227Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T15:39:32.486Z] + Found adjustments [2022-06-17T15:39:32.486Z] ==> Gzipping contents [2022-06-17T15:39:32.486Z] 8.0K /tmp/codecov.991fIb.gz [2022-06-17T15:39:32.486Z] ==> Uploading reports [2022-06-17T15:39:32.486Z] url: https://codecov.io [2022-06-17T15:39:32.486Z] query: branch=PR-290&commit=e8db194c29eac988fbecd00393430478a8bb7046&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-17T15:39:32.486Z] -> Pinging Codecov [2022-06-17T15:39:32.486Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-290&commit=e8db194c29eac988fbecd00393430478a8bb7046&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-17T15:39:32.744Z] -> Uploading to [2022-06-17T15:39:32.744Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/5E52B4B073DB2E39498172D8E973AA87/e8db194c29eac988fbecd00393430478a8bb7046/49fe53c8-8aa0-4e88-a1d9-21d46d241aa9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T153932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83fe6e26472f896a99887c8f7f5efd8710d712fb350d39728fde6b771a7159d1 [2022-06-17T15:39:32.745Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T15:39:32.745Z] Dload Upload Total Spent Left Speed [2022-06-17T15:39:33.004Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5491 0 0 100 5491 0 20040 --:--:-- --:--:-- --:--:-- 20040 [2022-06-17T15:39:33.004Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e8db194c29eac988fbecd00393430478a8bb7046 [Pipeline] } [2022-06-17T15:39:33.011Z] 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-17T15:39:33.725Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-17T15:39:33.725Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T15:39:33.725Z] total 16 [2022-06-17T15:39:33.725Z] drwxr-xr-x 3 root root 4096 Jun 17 15:32 . [2022-06-17T15:39:33.725Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 15:32 .. [2022-06-17T15:39:33.725Z] drwxr-xr-x 2 root root 4096 Jun 17 15:32 cost [2022-06-17T15:39:33.725Z] -rw-r--r-- 1 root root 88 Jun 17 15:32 cost.csv [2022-06-17T15:39:33.725Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T15:39:33.725Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T15:39:33.725Z] total 16 [2022-06-17T15:39:33.725Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 15:32 . [2022-06-17T15:39:33.725Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 15:32 .. [2022-06-17T15:39:33.725Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 15:32 cost [2022-06-17T15:39:33.725Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 17 15:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:39:34.018Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:39:34.879Z] ---> package-listing.sh [2022-06-17T15:39:34.879Z] ++ facter osfamily [2022-06-17T15:39:34.879Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T15:39:35.139Z] + OS_FAMILY=debian [2022-06-17T15:39:35.139Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-17T15:39:35.139Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T15:39:35.139Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T15:39:35.139Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T15:39:35.139Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T15:39:35.139Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-17T15:39:35.139Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T15:39:35.139Z] + case "${OS_FAMILY}" in [2022-06-17T15:39:35.139Z] + dpkg -l [2022-06-17T15:39:35.139Z] + grep '^ii' [2022-06-17T15:39:35.139Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T15:39:35.139Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T15:39:35.139Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T15:39:35.139Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-17T15:39:35.139Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-17T15:39:35.139Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-290/archives/ [Pipeline] echo [2022-06-17T15:39:35.150Z] 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-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T15:39:35.429Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:39:36.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T15:39:36.001Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:39:36.084Z] prd-ubuntu20.04-docker-8c-8g-2593 does not seem to be running inside a container [2022-06-17T15:39:36.118Z] $ 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-290/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-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@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-17T15:39:36.339Z] $ docker top bc60de2618dabcacb4dfd4d88b07fdb733558a3fff14807a3ef9c517b18db915 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T15:39:36.687Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T15:39:36.969Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T15:39:37.256Z] + ls /var/log/sa-host [2022-06-17T15:39:37.256Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T15:39:37.384Z] provisioning config files... [2022-06-17T15:39:37.392Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config2834493925870494454tmp [Pipeline] { [Pipeline] echo [2022-06-17T15:39:37.405Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:39:37.685Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T15:39:37.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:39:38.026Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T15:39:38.036Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:39:38.319Z] ---> sudo-logs.sh [2022-06-17T15:39:38.319Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T15:39:38.351Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:39:38.639Z] ---> job-cost.sh [2022-06-17T15:39:38.639Z] lf-activate-venv: SKIPPING [2022-06-17T15:39:38.639Z] DEBUG: total: 0.2199999988079071 [2022-06-17T15:39:38.639Z] INFO: Retrieving Stack Cost... [2022-06-17T15:39:39.209Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T15:39:39.469Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T15:39:39.480Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:39:39.763Z] ---> logs-deploy.sh [2022-06-17T15:39:39.763Z] lf-activate-venv: SKIPPING [2022-06-17T15:39:39.763Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/9 [2022-06-17T15:39:39.763Z] INFO: archiving workspace using pattern(s): [2022-06-17T15:39:40.701Z] Archives upload complete. [2022-06-17T15:39:40.961Z] INFO: archiving logs to Nexus