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 f1039673fb73a975d4717530427a4339b1e5412c 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-ssh2632611974814323211.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-ssh10379104228595818080.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-ssh11627658822356656173.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-ssh2243141561694972552.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-ssh6926723921699066564.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-2401 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 f1039673fb73a975d4717530427a4339b1e5412c Merge succeeded, producing f1039673fb73a975d4717530427a4339b1e5412c Checking out Revision f1039673fb73a975d4717530427a4339b1e5412c (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 f1039673fb73a975d4717530427a4339b1e5412c # 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 f1039673fb73a975d4717530427a4339b1e5412c # timeout=10 Commit message: "build(snap): Use new version of canonical/edgex-snap/hooks" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-14T16:12:57.269Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-14T16:12:57.319Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-14T16:12:57.334Z] ========================================================= [2022-06-14T16:12:57.334Z] EdgeX Global Pipelines Version Info [2022-06-14T16:12:57.334Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 3e361a7e82181b6c3ade10a2bb35ed3c819fa2c3 # timeout=10 [2022-06-14T16:12:58.094Z] ------------------- [2022-06-14T16:12:58.094Z] stable info: [2022-06-14T16:12:58.094Z] ------------------- [2022-06-14T16:12:58.094Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-14T16:12:58.094Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-14T16:12:58.094Z] Message: update stable to v1.0.234 [2022-06-14T16:12:58.668Z] ------------------- [2022-06-14T16:12:58.668Z] experimental info: [2022-06-14T16:12:58.668Z] ------------------- [2022-06-14T16:12:58.668Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-14T16:12:58.668Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-14T16:12:58.668Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-14T16:12:58.875Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-14T16:12:58.889Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-14T16:12:58.899Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-14T16:12:58.912Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-14T16:12:58.926Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-14T16:12:58.939Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-14T16:12:58.950Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-14T16:12:58.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-14T16:12:58.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-14T16:12:58.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-14T16:12:59.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-14T16:12:59.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-14T16:12:59.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-14T16:12:59.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-14T16:12:59.054Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-14T16:12:59.065Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-14T16:12:59.076Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-14T16:12:59.087Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-14T16:12:59.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-14T16:12:59.113Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-14T16:12:59.129Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-14T16:12:59.138Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-14T16:12:59.156Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-14T16:12:59.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-14T16:12:59.187Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-14T16:12:59.198Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-14T16:12:59.211Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-14T16:12:59.222Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-14T16:12:59.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-14T16:12:59.246Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-14T16:12:59.257Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1039673fb73a975d4717530427a4339b1e5412c [Pipeline] echo [2022-06-14T16:12:59.270Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f103967 [Pipeline] echo [2022-06-14T16:12:59.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-14T16:12:59.328Z] provisioning config files... [2022-06-14T16:12:59.348Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6238680469493641049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:12:59.684Z] ---> docker-login.sh [2022-06-14T16:12:59.684Z] nexus3.edgexfoundry.org:10001 [2022-06-14T16:12:59.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:12:59.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:12:59.947Z] Configure a credential helper to remove this warning. See [2022-06-14T16:12:59.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:12:59.947Z] [2022-06-14T16:12:59.947Z] Login Succeeded [2022-06-14T16:13:00.211Z] nexus3.edgexfoundry.org:10002 [2022-06-14T16:13:00.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:13:00.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:13:00.211Z] Configure a credential helper to remove this warning. See [2022-06-14T16:13:00.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:13:00.211Z] [2022-06-14T16:13:00.211Z] Login Succeeded [2022-06-14T16:13:00.211Z] nexus3.edgexfoundry.org:10003 [2022-06-14T16:13:00.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:13:00.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:13:00.472Z] Configure a credential helper to remove this warning. See [2022-06-14T16:13:00.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:13:00.472Z] [2022-06-14T16:13:00.472Z] Login Succeeded [2022-06-14T16:13:00.472Z] nexus3.edgexfoundry.org:10004 [2022-06-14T16:13:00.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:13:00.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:13:00.472Z] Configure a credential helper to remove this warning. See [2022-06-14T16:13:00.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:13:00.472Z] [2022-06-14T16:13:00.472Z] Login Succeeded [2022-06-14T16:13:00.472Z] docker.io [2022-06-14T16:13:00.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:13:00.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:13:00.994Z] Configure a credential helper to remove this warning. See [2022-06-14T16:13:00.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:13:00.994Z] [2022-06-14T16:13:00.994Z] Login Succeeded [2022-06-14T16:13:00.994Z] ---> docker-login.sh ends [Pipeline] } [2022-06-14T16:13:01.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-14T16:13:01.389Z] + git rev-list -1 --merges f1039673fb73a975d4717530427a4339b1e5412c~1..f1039673fb73a975d4717530427a4339b1e5412c [Pipeline] echo [2022-06-14T16:13:01.492Z] -----------> git rev-list -1 --merges f1039673fb73a975d4717530427a4339b1e5412c~1..f1039673fb73a975d4717530427a4339b1e5412c f1039673fb73a975d4717530427a4339b1e5412c [false] [Pipeline] sh [2022-06-14T16:13:01.788Z] + git log --format=format:%s -1 f1039673fb73a975d4717530427a4339b1e5412c [Pipeline] echo [2022-06-14T16:13:01.805Z] ========================================================= [2022-06-14T16:13:01.805Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-14T16:13:01.805Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-14T16:13:02.162Z] + git log --format=format:%s -1 f1039673fb73a975d4717530427a4339b1e5412c [Pipeline] echo [2022-06-14T16:13:02.177Z] [semverPrep] GIT_COMMIT: f1039673fb73a975d4717530427a4339b1e5412c, Commit Message: build(snap): Use new version of canonical/edgex-snap/hooks [Pipeline] echo [2022-06-14T16:13:02.186Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-14T16:13:02.570Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-14T16:13:02.570Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-14T16:13:02.570Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-14T16:13:02.570Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-14T16:13:02.570Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-14T16:13:02.570Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-14T16:13:02.570Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:13:02.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-14T16:13:02.980Z] [2022-06-14T16:13:02.980Z] 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-14T16:13:03.285Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-14T16:13:03.285Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-14T16:13:03.285Z] 42c077c10790: Pulling fs layer [2022-06-14T16:13:03.285Z] f63e77b7563a: Pulling fs layer [2022-06-14T16:13:03.285Z] bd5fdadae976: Pulling fs layer [2022-06-14T16:13:03.285Z] 205491f53016: Pulling fs layer [2022-06-14T16:13:03.285Z] df18705c85c3: Pulling fs layer [2022-06-14T16:13:03.285Z] bdb3f477010e: Pulling fs layer [2022-06-14T16:13:03.285Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-14T16:13:03.285Z] 2c6e9b1d212d: Pulling fs layer [2022-06-14T16:13:03.285Z] bdb8f0575790: Pulling fs layer [2022-06-14T16:13:03.285Z] 386e3cb2ff24: Pulling fs layer [2022-06-14T16:13:03.285Z] 2343380bae48: Pulling fs layer [2022-06-14T16:13:03.285Z] df18705c85c3: Waiting [2022-06-14T16:13:03.285Z] bdb3f477010e: Waiting [2022-06-14T16:13:03.285Z] c8a8fc8e1c8f: Waiting [2022-06-14T16:13:03.285Z] 386e3cb2ff24: Waiting [2022-06-14T16:13:03.285Z] bdb8f0575790: Waiting [2022-06-14T16:13:03.285Z] 2343380bae48: Waiting [2022-06-14T16:13:03.285Z] f63e77b7563a: Download complete [2022-06-14T16:13:03.285Z] 205491f53016: Download complete [2022-06-14T16:13:03.545Z] df18705c85c3: Verifying Checksum [2022-06-14T16:13:03.545Z] df18705c85c3: Download complete [2022-06-14T16:13:03.545Z] bd5fdadae976: Verifying Checksum [2022-06-14T16:13:03.545Z] bd5fdadae976: Download complete [2022-06-14T16:13:03.545Z] bdb3f477010e: Verifying Checksum [2022-06-14T16:13:03.545Z] bdb3f477010e: Download complete [2022-06-14T16:13:03.545Z] bdb8f0575790: Verifying Checksum [2022-06-14T16:13:03.545Z] bdb8f0575790: Download complete [2022-06-14T16:13:03.545Z] 386e3cb2ff24: Download complete [2022-06-14T16:13:03.545Z] 2343380bae48: Download complete [2022-06-14T16:13:03.545Z] 42c077c10790: Verifying Checksum [2022-06-14T16:13:03.545Z] 42c077c10790: Download complete [2022-06-14T16:13:03.805Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-14T16:13:03.805Z] c8a8fc8e1c8f: Download complete [2022-06-14T16:13:05.196Z] 42c077c10790: Pull complete [2022-06-14T16:13:05.196Z] f63e77b7563a: Pull complete [2022-06-14T16:13:05.768Z] bd5fdadae976: Pull complete [2022-06-14T16:13:05.768Z] 205491f53016: Pull complete [2022-06-14T16:13:06.031Z] df18705c85c3: Pull complete [2022-06-14T16:13:06.031Z] bdb3f477010e: Pull complete [2022-06-14T16:13:07.942Z] c8a8fc8e1c8f: Pull complete [2022-06-14T16:13:08.205Z] 2c6e9b1d212d: Pull complete [2022-06-14T16:13:08.205Z] bdb8f0575790: Pull complete [2022-06-14T16:13:08.470Z] 386e3cb2ff24: Pull complete [2022-06-14T16:13:08.470Z] 2343380bae48: Pull complete [2022-06-14T16:13:08.470Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-14T16:13:08.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-14T16:13:08.470Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T16:13:08.578Z] prd-ubuntu20.04-docker-8c-8g-2401 does not seem to be running inside a container [2022-06-14T16:13:08.626Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-14T16:13:09.904Z] $ docker top 116dcc6dda254669247c4891026cc4a53f04f252ab0a0ebda166b7da99848e5b -eo pid,comm [2022-06-14T16:13:09.966Z] 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-14T16:13:09.966Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-14T16:13:09.998Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-14T16:13:09.998Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-14T16:13:10.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-14T16:13:10.136Z] $ docker exec 116dcc6dda254669247c4891026cc4a53f04f252ab0a0ebda166b7da99848e5b ssh-agent [2022-06-14T16:13:10.258Z] SSH_AUTH_SOCK=/tmp/ssh-LHS6EoxCrL8O/agent.34 [2022-06-14T16:13:10.258Z] SSH_AGENT_PID=40 [2022-06-14T16:13:10.266Z] Running ssh-add (command line suppressed) [2022-06-14T16:13:10.397Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_7917334524608205376.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_7917334524608205376.key) [2022-06-14T16:13:10.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-14T16:13:10.702Z] + git tag --points-at HEAD [Pipeline] } [2022-06-14T16:13:10.722Z] $ docker exec --env ******** --env ******** 116dcc6dda254669247c4891026cc4a53f04f252ab0a0ebda166b7da99848e5b ssh-agent -k [2022-06-14T16:13:10.853Z] unset SSH_AUTH_SOCK; [2022-06-14T16:13:10.853Z] unset SSH_AGENT_PID; [2022-06-14T16:13:10.853Z] echo Agent pid 40 killed; [2022-06-14T16:13:10.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-14T16:13:10.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-14T16:13:10.890Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-14T16:13:11.018Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-14T16:13:11.026Z] $ docker exec 116dcc6dda254669247c4891026cc4a53f04f252ab0a0ebda166b7da99848e5b ssh-agent [2022-06-14T16:13:11.149Z] SSH_AUTH_SOCK=/tmp/ssh-Stqsj54FiJ6U/agent.75 [2022-06-14T16:13:11.149Z] SSH_AGENT_PID=81 [2022-06-14T16:13:11.155Z] Running ssh-add (command line suppressed) [2022-06-14T16:13:11.293Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_8001823111799520886.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_8001823111799520886.key) [2022-06-14T16:13:11.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-14T16:13:11.597Z] + git semver init [2022-06-14T16:13:11.860Z] 2022-06-14 16:13:11,803 [run_init] DEBUG init version:0.0.0 force:False [2022-06-14T16:13:11.860Z] 2022-06-14 16:13:11,804 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-14T16:13:11.860Z] 2022-06-14 16:13:11,804 [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-14T16:13:11.860Z] 2022-06-14 16:13:11,804 [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-14T16:13:12.802Z] 2022-06-14 16:13:12,727 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-14T16:13:12.802Z] 2022-06-14 16:13:12,728 [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-14T16:13:12.802Z] 2022-06-14 16:13:12,728 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-14T16:13:12.802Z] 2022-06-14 16:13:12,732 [execute] INFO git cat-file --batch-check [2022-06-14T16:13:12.802Z] 2022-06-14 16:13:12,732 [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-14T16:13:12.802Z] 2022-06-14 16:13:12,739 [execute] INFO git cat-file --batch [2022-06-14T16:13:12.802Z] 2022-06-14 16:13:12,739 [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-14T16:13:12.802Z] 2022-06-14 16:13:12,745 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-14T16:13:12.802Z] 0.0.0 [Pipeline] } [2022-06-14T16:13:12.819Z] $ docker exec --env ******** --env ******** 116dcc6dda254669247c4891026cc4a53f04f252ab0a0ebda166b7da99848e5b ssh-agent -k [2022-06-14T16:13:12.942Z] unset SSH_AUTH_SOCK; [2022-06-14T16:13:12.942Z] unset SSH_AGENT_PID; [2022-06-14T16:13:12.943Z] echo Agent pid 81 killed; [2022-06-14T16:13:12.949Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-14T16:13:13.255Z] + git semver [Pipeline] } [2022-06-14T16:13:13.848Z] $ docker stop --time=1 116dcc6dda254669247c4891026cc4a53f04f252ab0a0ebda166b7da99848e5b [2022-06-14T16:13:15.176Z] $ docker rm -f 116dcc6dda254669247c4891026cc4a53f04f252ab0a0ebda166b7da99848e5b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-14T16:13:15.538Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-14T16:13:15.806Z] Stashed 1 file(s) [Pipeline] echo [2022-06-14T16:13:15.807Z] [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-14T16:13:15.927Z] provisioning config files... [2022-06-14T16:13:15.939Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config2141104687342046733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:13:16.232Z] ---> docker-login.sh [2022-06-14T16:13:16.232Z] nexus3.edgexfoundry.org:10001 [2022-06-14T16:13:16.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:13:16.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:13:16.232Z] Configure a credential helper to remove this warning. See [2022-06-14T16:13:16.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:13:16.232Z] [2022-06-14T16:13:16.232Z] Login Succeeded [2022-06-14T16:13:16.232Z] nexus3.edgexfoundry.org:10002 [2022-06-14T16:13:16.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:13:16.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:13:16.494Z] Configure a credential helper to remove this warning. See [2022-06-14T16:13:16.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:13:16.494Z] [2022-06-14T16:13:16.494Z] Login Succeeded [2022-06-14T16:13:16.494Z] nexus3.edgexfoundry.org:10003 [2022-06-14T16:13:16.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:13:16.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:13:16.494Z] Configure a credential helper to remove this warning. See [2022-06-14T16:13:16.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:13:16.494Z] [2022-06-14T16:13:16.494Z] Login Succeeded [2022-06-14T16:13:16.494Z] nexus3.edgexfoundry.org:10004 [2022-06-14T16:13:16.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:13:16.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:13:16.756Z] Configure a credential helper to remove this warning. See [2022-06-14T16:13:16.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:13:16.756Z] [2022-06-14T16:13:16.756Z] Login Succeeded [2022-06-14T16:13:16.756Z] docker.io [2022-06-14T16:13:16.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:13:17.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:13:17.019Z] Configure a credential helper to remove this warning. See [2022-06-14T16:13:17.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:13:17.019Z] [2022-06-14T16:13:17.019Z] Login Succeeded [2022-06-14T16:13:17.019Z] ---> docker-login.sh ends [Pipeline] } [2022-06-14T16:13:17.029Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-14T16:13:17.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T16:13:17.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T16:13:17.110Z] ========================================================= [2022-06-14T16:13:17.110Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-14T16:13:17.110Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:13:17.428Z] + 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-14T16:13:17.428Z] Sending build context to Docker daemon 23.02MB [2022-06-14T16:13:17.428Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T16:13:17.428Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-14T16:13:17.687Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-14T16:13:17.687Z] 59bf1c3509f3: Pulling fs layer [2022-06-14T16:13:17.687Z] 666ba61612fd: Pulling fs layer [2022-06-14T16:13:17.687Z] 8ed8ca486205: Pulling fs layer [2022-06-14T16:13:17.687Z] cc1cd167ecdc: Pulling fs layer [2022-06-14T16:13:17.687Z] c516ae0d96e1: Pulling fs layer [2022-06-14T16:13:17.687Z] 684cea983483: Pulling fs layer [2022-06-14T16:13:17.687Z] dd3240ac7de5: Pulling fs layer [2022-06-14T16:13:17.687Z] b1e948a4e11c: Pulling fs layer [2022-06-14T16:13:17.687Z] a8fd76ee1af6: Pulling fs layer [2022-06-14T16:13:17.687Z] 684cea983483: Waiting [2022-06-14T16:13:17.687Z] dd3240ac7de5: Waiting [2022-06-14T16:13:17.687Z] b1e948a4e11c: Waiting [2022-06-14T16:13:17.687Z] cc1cd167ecdc: Waiting [2022-06-14T16:13:17.687Z] c516ae0d96e1: Waiting [2022-06-14T16:13:17.687Z] 646ad004c059: Pulling fs layer [2022-06-14T16:13:17.687Z] a8fd76ee1af6: Waiting [2022-06-14T16:13:17.687Z] 646ad004c059: Waiting [2022-06-14T16:13:17.687Z] 8ed8ca486205: Verifying Checksum [2022-06-14T16:13:17.687Z] 8ed8ca486205: Download complete [2022-06-14T16:13:17.687Z] 666ba61612fd: Download complete [2022-06-14T16:13:17.687Z] c516ae0d96e1: Verifying Checksum [2022-06-14T16:13:17.687Z] 684cea983483: Verifying Checksum [2022-06-14T16:13:17.687Z] 684cea983483: Download complete [2022-06-14T16:13:17.687Z] 59bf1c3509f3: Verifying Checksum [2022-06-14T16:13:17.687Z] 59bf1c3509f3: Download complete [2022-06-14T16:13:17.687Z] dd3240ac7de5: Download complete [2022-06-14T16:13:17.687Z] b1e948a4e11c: Verifying Checksum [2022-06-14T16:13:17.687Z] b1e948a4e11c: Download complete [2022-06-14T16:13:17.949Z] 59bf1c3509f3: Pull complete [2022-06-14T16:13:17.949Z] 666ba61612fd: Pull complete [2022-06-14T16:13:18.208Z] 8ed8ca486205: Pull complete [2022-06-14T16:13:18.208Z] 646ad004c059: Verifying Checksum [2022-06-14T16:13:18.208Z] a8fd76ee1af6: Verifying Checksum [2022-06-14T16:13:18.208Z] a8fd76ee1af6: Download complete [2022-06-14T16:13:18.468Z] cc1cd167ecdc: Verifying Checksum [2022-06-14T16:13:18.468Z] cc1cd167ecdc: Download complete [2022-06-14T16:13:22.666Z] cc1cd167ecdc: Pull complete [2022-06-14T16:13:22.666Z] c516ae0d96e1: Pull complete [2022-06-14T16:13:22.666Z] 684cea983483: Pull complete [2022-06-14T16:13:22.666Z] dd3240ac7de5: Pull complete [2022-06-14T16:13:22.666Z] b1e948a4e11c: Pull complete [2022-06-14T16:13:25.204Z] a8fd76ee1af6: Pull complete [2022-06-14T16:13:25.462Z] 646ad004c059: Pull complete [2022-06-14T16:13:25.722Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-14T16:13:25.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-14T16:13:25.722Z] ---> 8f69c11f6b0c [2022-06-14T16:13:25.722Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T16:13:27.108Z] ---> Running in fb0c2dc7b1f6 [2022-06-14T16:13:27.108Z] Removing intermediate container fb0c2dc7b1f6 [2022-06-14T16:13:27.108Z] ---> d58ae86506d6 [2022-06-14T16:13:27.108Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T16:13:27.370Z] ---> Running in d86ffbab6184 [2022-06-14T16:13:27.370Z] Removing intermediate container d86ffbab6184 [2022-06-14T16:13:27.370Z] ---> 3f462e12202d [2022-06-14T16:13:27.370Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-14T16:13:27.370Z] ---> Running in e485cab2903b [2022-06-14T16:13:27.370Z] Removing intermediate container e485cab2903b [2022-06-14T16:13:27.370Z] ---> 5e42c20a35e3 [2022-06-14T16:13:27.370Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T16:13:27.630Z] ---> Running in a6d7b37aa1d3 [2022-06-14T16:13:28.202Z] Removing intermediate container a6d7b37aa1d3 [2022-06-14T16:13:28.202Z] ---> a230bd0820ff [2022-06-14T16:13:28.202Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T16:13:28.202Z] ---> Running in ce9a85cf9425 [2022-06-14T16:13:28.463Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-14T16:13:29.404Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-14T16:13:29.664Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-14T16:13:29.664Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-14T16:13:29.923Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-14T16:13:29.923Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-14T16:13:29.923Z] Executing busybox-1.34.1-r3.trigger [2022-06-14T16:13:29.923Z] OK: 224 MiB in 56 packages [2022-06-14T16:13:30.495Z] Removing intermediate container ce9a85cf9425 [2022-06-14T16:13:30.495Z] ---> a4aa77fd8ef2 [2022-06-14T16:13:30.495Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-14T16:13:30.495Z] ---> fb0f2facb870 [2022-06-14T16:13:30.495Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T16:13:30.756Z] ---> Running in 350fc80feac1 [2022-06-14T16:13:30.899Z] Still waiting to schedule task [2022-06-14T16:13:30.899Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-14T16:13:45.670Z] Removing intermediate container 350fc80feac1 [2022-06-14T16:13:45.670Z] ---> 68bd80bcf493 [2022-06-14T16:13:45.670Z] Step 10/12 : COPY . . [2022-06-14T16:13:45.670Z] ---> 0e44b5e2b677 [2022-06-14T16:13:45.670Z] Step 11/12 : ARG MAKE='make build' [2022-06-14T16:13:45.670Z] ---> Running in a431dbb0c139 [2022-06-14T16:13:45.670Z] Removing intermediate container a431dbb0c139 [2022-06-14T16:13:45.670Z] ---> b38974a88c15 [2022-06-14T16:13:45.670Z] Step 12/12 : RUN $MAKE [2022-06-14T16:13:45.670Z] ---> Running in 4f58ccf6596c [2022-06-14T16:13:45.670Z] noop [2022-06-14T16:13:45.670Z] Removing intermediate container 4f58ccf6596c [2022-06-14T16:13:45.670Z] ---> 5fc232d47c8e [2022-06-14T16:13:45.670Z] Successfully built 5fc232d47c8e [2022-06-14T16:13:45.670Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:13:45.997Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-14T16:13:45.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T16:13:46.082Z] prd-ubuntu20.04-docker-8c-8g-2401 does not seem to be running inside a container [2022-06-14T16:13:46.132Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-14T16:13:46.525Z] $ docker top b98522b869648de158a9ec65d18cfe50915791e31c40fe74125f59d195a037f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-14T16:13:46.898Z] + go version [2022-06-14T16:13:46.898Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-14T16:13:46.917Z] $ docker stop --time=1 b98522b869648de158a9ec65d18cfe50915791e31c40fe74125f59d195a037f9 [2022-06-14T16:13:48.235Z] $ docker rm -f b98522b869648de158a9ec65d18cfe50915791e31c40fe74125f59d195a037f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:13:48.654Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-14T16:13:48.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T16:13:48.740Z] prd-ubuntu20.04-docker-8c-8g-2401 does not seem to be running inside a container [2022-06-14T16:13:48.778Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-14T16:13:49.196Z] $ docker top 46be069665d5493ff28c090e392f5067c9d7b27f2c8ddb4104032e605b1acbe4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-14T16:13:49.583Z] + make test [2022-06-14T16:13:49.583Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-14T16:13:49.868Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-14T16:13:59.931Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-14T16:13:59.931Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2022-06-14T16:14:05.208Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-14T16:14:10.487Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-14T16:14:10.487Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-14T16:14:10.487Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-14T16:14:10.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-14T16:14:10.522Z] $ docker stop --time=1 46be069665d5493ff28c090e392f5067c9d7b27f2c8ddb4104032e605b1acbe4 [2022-06-14T16:14:12.168Z] $ docker rm -f 46be069665d5493ff28c090e392f5067c9d7b27f2c8ddb4104032e605b1acbe4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-14T16:14:12.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-14T16:14:12.700Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-14T16:14:13.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-14T16:14:13.494Z] + ls -al . [2022-06-14T16:14:13.494Z] total 192 [2022-06-14T16:14:13.494Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 14 16:14 . [2022-06-14T16:14:13.494Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 14 16:12 .. [2022-06-14T16:14:13.494Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 14 16:13 .git [2022-06-14T16:14:13.494Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 16:12 .github [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 14 16:12 .gitignore [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 14 16:12 .golangci.yml [2022-06-14T16:14:13.494Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 14 16:13 .semver [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 14 16:12 Attribution.txt [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 14 16:12 CHANGELOG.md [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 14 16:12 Dockerfile [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 14 16:12 GOVERNANCE.md [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 14 16:12 Jenkinsfile [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 14 16:12 LICENSE [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 14 16:12 Makefile [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 14 16:12 OWNERS.md [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 14 16:12 README.md [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 14 16:13 VERSION [2022-06-14T16:14:13.494Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 14 16:12 bin [2022-06-14T16:14:13.494Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 16:12 cmd [2022-06-14T16:14:13.494Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 14 16:13 coverage.out [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 14 16:12 go.mod [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 14 16:12 go.sum [2022-06-14T16:14:13.494Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 16:12 internal [2022-06-14T16:14:13.494Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 16:12 snap [2022-06-14T16:14:13.494Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 14 16:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:14:13.813Z] + 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=f1039673fb73a975d4717530427a4339b1e5412c --label arch=amd64 --label version=0.0.0 . [2022-06-14T16:14:13.813Z] Sending build context to Docker daemon 23.07MB [2022-06-14T16:14:13.813Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T16:14:13.813Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-14T16:14:13.813Z] ---> 5fc232d47c8e [2022-06-14T16:14:13.813Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T16:14:14.074Z] ---> Running in 99c64b7df46f [2022-06-14T16:14:14.074Z] Removing intermediate container 99c64b7df46f [2022-06-14T16:14:14.074Z] ---> 5856896302ff [2022-06-14T16:14:14.074Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T16:14:14.074Z] ---> Running in 0bdba527f4f9 [2022-06-14T16:14:14.074Z] Removing intermediate container 0bdba527f4f9 [2022-06-14T16:14:14.074Z] ---> c9e1c50d45ea [2022-06-14T16:14:14.074Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-14T16:14:14.074Z] ---> Running in 812d628464e3 [2022-06-14T16:14:14.334Z] Removing intermediate container 812d628464e3 [2022-06-14T16:14:14.334Z] ---> f6d294f8e54c [2022-06-14T16:14:14.334Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T16:14:14.334Z] ---> Running in 7b09b3a5f75c [2022-06-14T16:14:14.903Z] Removing intermediate container 7b09b3a5f75c [2022-06-14T16:14:14.903Z] ---> 7e8b942a97e2 [2022-06-14T16:14:14.903Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T16:14:14.903Z] ---> Running in 7ad7bd83f5c0 [2022-06-14T16:14:15.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-14T16:14:16.549Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-14T16:14:17.491Z] OK: 224 MiB in 56 packages [2022-06-14T16:14:17.752Z] Removing intermediate container 7ad7bd83f5c0 [2022-06-14T16:14:17.752Z] ---> 5c7e6602608f [2022-06-14T16:14:17.752Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-14T16:14:18.012Z] ---> 632c5d3953bd [2022-06-14T16:14:18.012Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T16:14:18.012Z] ---> Running in 06a436128392 [2022-06-14T16:14:18.585Z] Removing intermediate container 06a436128392 [2022-06-14T16:14:18.585Z] ---> f9b47c2aacb0 [2022-06-14T16:14:18.585Z] Step 10/26 : COPY . . [2022-06-14T16:14:19.154Z] ---> 5d3c0f1ef623 [2022-06-14T16:14:19.154Z] Step 11/26 : ARG MAKE='make build' [2022-06-14T16:14:19.154Z] ---> Running in 133121c40cd2 [2022-06-14T16:14:19.154Z] Removing intermediate container 133121c40cd2 [2022-06-14T16:14:19.154Z] ---> 5ef5d086e354 [2022-06-14T16:14:19.154Z] Step 12/26 : RUN $MAKE [2022-06-14T16:14:19.154Z] ---> Running in 9e5b22174bc7 [2022-06-14T16:14:19.733Z] 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-14T16:14:41.695Z] Removing intermediate container 9e5b22174bc7 [2022-06-14T16:14:41.695Z] ---> 93c9f78e62bf [2022-06-14T16:14:41.695Z] Step 13/26 : FROM alpine:3.14 [2022-06-14T16:14:41.695Z] 3.14: Pulling from library/alpine [2022-06-14T16:14:41.695Z] 8663204ce13b: Pulling fs layer [2022-06-14T16:14:41.695Z] 8663204ce13b: Download complete [2022-06-14T16:14:41.695Z] 8663204ce13b: Pull complete [2022-06-14T16:14:41.695Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-14T16:14:41.695Z] Status: Downloaded newer image for alpine:3.14 [2022-06-14T16:14:41.695Z] ---> e04c818066af [2022-06-14T16:14:41.695Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-14T16:14:41.695Z] ---> Running in 748651a04579 [2022-06-14T16:14:41.695Z] Removing intermediate container 748651a04579 [2022-06-14T16:14:41.695Z] ---> e8b1dfc106f8 [2022-06-14T16:14:41.695Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T16:14:41.695Z] ---> Running in 14c41f44e620 [2022-06-14T16:14:41.695Z] Removing intermediate container 14c41f44e620 [2022-06-14T16:14:41.695Z] ---> 4c09530d5281 [2022-06-14T16:14:41.695Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-14T16:14:41.695Z] ---> Running in 1eea9a9b2e6a [2022-06-14T16:14:41.695Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-14T16:14:41.695Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-14T16:14:41.956Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-14T16:14:41.956Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-14T16:14:42.217Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-14T16:14:42.217Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-14T16:14:42.217Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-14T16:14:42.478Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-14T16:14:42.478Z] Executing busybox-1.33.1-r7.trigger [2022-06-14T16:14:42.478Z] OK: 8 MiB in 20 packages [2022-06-14T16:14:42.741Z] Removing intermediate container 1eea9a9b2e6a [2022-06-14T16:14:42.741Z] ---> 3b1c2bc97228 [2022-06-14T16:14:42.741Z] Step 17/26 : WORKDIR / [2022-06-14T16:14:42.741Z] ---> Running in 13a47365313d [2022-06-14T16:14:43.000Z] Removing intermediate container 13a47365313d [2022-06-14T16:14:43.000Z] ---> 430011672289 [2022-06-14T16:14:43.000Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-14T16:14:43.000Z] ---> be0205c1fb96 [2022-06-14T16:14:43.000Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-14T16:14:43.260Z] ---> 5303bd4d995c [2022-06-14T16:14:43.260Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-14T16:14:43.834Z] ---> a6a0c97da980 [2022-06-14T16:14:43.834Z] Step 21/26 : EXPOSE 59900 [2022-06-14T16:14:43.834Z] ---> Running in e01aa794646d [2022-06-14T16:14:43.834Z] Removing intermediate container e01aa794646d [2022-06-14T16:14:43.834Z] ---> 5f8301de396e [2022-06-14T16:14:43.834Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-14T16:14:43.834Z] ---> Running in d678c73591bb [2022-06-14T16:14:44.096Z] Removing intermediate container d678c73591bb [2022-06-14T16:14:44.096Z] ---> 241762948190 [2022-06-14T16:14:44.096Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-14T16:14:44.096Z] ---> Running in 7c26c87a6efa [2022-06-14T16:14:44.096Z] Removing intermediate container 7c26c87a6efa [2022-06-14T16:14:44.096Z] ---> 5a89b0e77b30 [2022-06-14T16:14:44.096Z] Step 24/26 : LABEL arch=amd64 [2022-06-14T16:14:44.096Z] ---> Running in 95bbdf36fb49 [2022-06-14T16:14:44.356Z] Removing intermediate container 95bbdf36fb49 [2022-06-14T16:14:44.356Z] ---> 632c8c8c7257 [2022-06-14T16:14:44.356Z] Step 25/26 : LABEL git_sha=f1039673fb73a975d4717530427a4339b1e5412c [2022-06-14T16:14:44.356Z] ---> Running in 27c8a9e3038e [2022-06-14T16:14:44.356Z] Removing intermediate container 27c8a9e3038e [2022-06-14T16:14:44.356Z] ---> 77eec84c350f [2022-06-14T16:14:44.356Z] Step 26/26 : LABEL version=0.0.0 [2022-06-14T16:14:44.356Z] ---> Running in 4d308158afad [2022-06-14T16:14:44.618Z] Removing intermediate container 4d308158afad [2022-06-14T16:14:44.618Z] ---> 77c45cf502b2 [2022-06-14T16:14:44.618Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-14T16:14:44.618Z] Successfully built 77c45cf502b2 [2022-06-14T16:14:44.618Z] 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-14T16:14:45.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T16:14:45.037Z] [2022-06-14T16:14:45.037Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:14:45.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T16:14:45.339Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-14T16:14:45.339Z] 5eb5b503b376: Pulling fs layer [2022-06-14T16:14:45.339Z] 5c69ac0246d0: Pulling fs layer [2022-06-14T16:14:45.339Z] ec43610c2a17: Pulling fs layer [2022-06-14T16:14:45.339Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-14T16:14:45.339Z] 33b1e0a273af: Pulling fs layer [2022-06-14T16:14:45.339Z] 5d3b04190fa2: Pulling fs layer [2022-06-14T16:14:45.339Z] 2f39f015ded8: Pulling fs layer [2022-06-14T16:14:45.339Z] 5d3b04190fa2: Waiting [2022-06-14T16:14:45.339Z] 2f39f015ded8: Waiting [2022-06-14T16:14:45.339Z] 3a2ae6a8a46f: Waiting [2022-06-14T16:14:45.339Z] 5c69ac0246d0: Download complete [2022-06-14T16:14:45.339Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-14T16:14:45.339Z] 3a2ae6a8a46f: Download complete [2022-06-14T16:14:45.339Z] 33b1e0a273af: Verifying Checksum [2022-06-14T16:14:45.339Z] 33b1e0a273af: Download complete [2022-06-14T16:14:45.339Z] ec43610c2a17: Verifying Checksum [2022-06-14T16:14:45.339Z] ec43610c2a17: Download complete [2022-06-14T16:14:45.339Z] 5d3b04190fa2: Download complete [2022-06-14T16:14:45.600Z] 5eb5b503b376: Verifying Checksum [2022-06-14T16:14:45.600Z] 5eb5b503b376: Download complete [2022-06-14T16:14:46.171Z] 2f39f015ded8: Download complete [2022-06-14T16:14:46.739Z] 5eb5b503b376: Pull complete [2022-06-14T16:14:46.739Z] 5c69ac0246d0: Pull complete [2022-06-14T16:14:47.308Z] ec43610c2a17: Pull complete [2022-06-14T16:14:47.308Z] 3a2ae6a8a46f: Pull complete [2022-06-14T16:14:47.567Z] 33b1e0a273af: Pull complete [2022-06-14T16:14:47.567Z] 5d3b04190fa2: Pull complete [2022-06-14T16:14:51.755Z] 2f39f015ded8: Pull complete [2022-06-14T16:14:51.755Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-14T16:14:51.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T16:14:51.755Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T16:14:51.838Z] prd-ubuntu20.04-docker-8c-8g-2401 does not seem to be running inside a container [2022-06-14T16:14:51.877Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-14T16:14:53.408Z] $ docker top 5356b5a471eeee3c2345f716e1b8559074aeaf7f71ac825b13bcaf392728c2ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:14:53.813Z] ---> job-cost.sh [2022-06-14T16:14:53.813Z] lf-activate-venv: SKIPPING [2022-06-14T16:14:53.813Z] INFO: No Stack... [2022-06-14T16:14:54.384Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-14T16:14:54.955Z] INFO: Archiving Costs [Pipeline] sh [2022-06-14T16:14:55.263Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-14T16:14:55.263Z] + cut -d, -f6 [Pipeline] lock [2022-06-14T16:14:55.278Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-4-stack-cost] [2022-06-14T16:14:55.284Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-4-stack-cost] did not exist. Created. [2022-06-14T16:14:55.284Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-14T16:14:55.584Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-14T16:14:55.606Z] Stashed 1 file(s) [Pipeline] } [2022-06-14T16:14:55.613Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-14T16:14:55.637Z] $ docker stop --time=1 5356b5a471eeee3c2345f716e1b8559074aeaf7f71ac825b13bcaf392728c2ed [2022-06-14T16:14:56.809Z] $ docker rm -f 5356b5a471eeee3c2345f716e1b8559074aeaf7f71ac825b13bcaf392728c2ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-14T16:15:09.185Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2402 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-14T16:15:09.198Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2022-06-14T16:15:09.250Z] The recommended git tool is: git [2022-06-14T16:15:14.940Z] using credential edgex-jenkins-ssh [2022-06-14T16:15:14.958Z] Cloning the remote Git repository [2022-06-14T16:15:15.009Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-14T16:15:15.080Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2022-06-14T16:15:15.164Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-14T16:15:15.165Z] > git --version # timeout=10 [2022-06-14T16:15:15.271Z] > git --version # 'git version 2.25.1' [2022-06-14T16:15:15.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-14T16:15:15.380Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-14T16:15:17.281Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-14T16:15:17.926Z] Merging remotes/origin/main commit dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a into PR head commit f1039673fb73a975d4717530427a4339b1e5412c [2022-06-14T16:15:18.171Z] Merge succeeded, producing f1039673fb73a975d4717530427a4339b1e5412c [2022-06-14T16:15:18.171Z] Checking out Revision f1039673fb73a975d4717530427a4339b1e5412c (PR-290) [2022-06-14T16:15:17.306Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-14T16:15:17.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-14T16:15:17.382Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-14T16:15:17.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-14T16:15:17.398Z] > 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-14T16:15:17.951Z] > git config core.sparsecheckout # timeout=10 [2022-06-14T16:15:17.988Z] > git checkout -f f1039673fb73a975d4717530427a4339b1e5412c # timeout=10 [2022-06-14T16:15:18.084Z] > git remote # timeout=10 [2022-06-14T16:15:18.102Z] > git config --get remote.origin.url # timeout=10 [2022-06-14T16:15:18.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-14T16:15:18.129Z] > git merge dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 [2022-06-14T16:15:18.153Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-14T16:15:18.181Z] > git config core.sparsecheckout # timeout=10 [2022-06-14T16:15:18.195Z] > git checkout -f f1039673fb73a975d4717530427a4339b1e5412c # timeout=10 [2022-06-14T16:15:22.355Z] Commit message: "build(snap): Use new version of canonical/edgex-snap/hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-14T16:15:23.281Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-14T16:15:23.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-14T16:15:23.281Z] Dload Upload Total Spent Left Speed [2022-06-14T16:15:23.281Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10505 0 0 86818 0 --:--:-- --:--:-- --:--:-- 86106 100 12253 100 12253 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2022-06-14T16:15:24.069Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-14T16:15:24.414Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-06-14T16:15:24.414Z] [2022-06-14T16:15:24.414Z] { [2022-06-14T16:15:24.414Z] "registry-mirrors": [ [2022-06-14T16:15:24.414Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-14T16:15:24.414Z] ], [2022-06-14T16:15:24.414Z] "bip": "10.250.0.254/24", [2022-06-14T16:15:24.414Z] "hosts": [ [2022-06-14T16:15:24.414Z] "tcp://0.0.0.0:5555", [2022-06-14T16:15:24.414Z] "unix:///var/run/docker.sock" [2022-06-14T16:15:24.414Z] ], [2022-06-14T16:15:24.414Z] "mtu": 1458, [2022-06-14T16:15:24.414Z] "selinux-enabled": true, [2022-06-14T16:15:24.414Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-14T16:15:24.414Z] } [Pipeline] sh [2022-06-14T16:15:24.762Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-14T16:15:25.105Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-14T16:15:43.447Z] provisioning config files... [2022-06-14T16:15:43.474Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config9106929027741157858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:15:43.831Z] ---> docker-login.sh [2022-06-14T16:15:43.831Z] nexus3.edgexfoundry.org:10001 [2022-06-14T16:15:44.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:15:44.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:15:44.695Z] Configure a credential helper to remove this warning. See [2022-06-14T16:15:44.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:15:44.695Z] [2022-06-14T16:15:44.695Z] Login Succeeded [2022-06-14T16:15:44.695Z] nexus3.edgexfoundry.org:10002 [2022-06-14T16:15:44.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:15:44.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:15:44.967Z] Configure a credential helper to remove this warning. See [2022-06-14T16:15:44.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:15:44.967Z] [2022-06-14T16:15:44.967Z] Login Succeeded [2022-06-14T16:15:44.967Z] nexus3.edgexfoundry.org:10003 [2022-06-14T16:15:45.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:15:45.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:15:45.511Z] Configure a credential helper to remove this warning. See [2022-06-14T16:15:45.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:15:45.511Z] [2022-06-14T16:15:45.511Z] Login Succeeded [2022-06-14T16:15:45.511Z] nexus3.edgexfoundry.org:10004 [2022-06-14T16:15:45.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:15:45.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:15:45.785Z] Configure a credential helper to remove this warning. See [2022-06-14T16:15:45.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:15:45.785Z] [2022-06-14T16:15:45.785Z] Login Succeeded [2022-06-14T16:15:45.785Z] docker.io [2022-06-14T16:15:46.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T16:15:46.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T16:15:46.655Z] Configure a credential helper to remove this warning. See [2022-06-14T16:15:46.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T16:15:46.655Z] [2022-06-14T16:15:46.655Z] Login Succeeded [2022-06-14T16:15:46.655Z] ---> docker-login.sh ends [Pipeline] } [2022-06-14T16:15:46.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-14T16:15:47.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T16:15:47.148Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T16:15:47.158Z] ========================================================= [2022-06-14T16:15:47.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-14T16:15:47.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:15:47.530Z] + 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-14T16:15:47.801Z] Sending build context to Docker daemon 11.65MB [2022-06-14T16:15:48.075Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T16:15:48.075Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-14T16:15:48.075Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-14T16:15:48.076Z] 9b3977197b4f: Pulling fs layer [2022-06-14T16:15:48.076Z] 1a89e8eeedd5: Pulling fs layer [2022-06-14T16:15:48.076Z] 94645a83ff95: Pulling fs layer [2022-06-14T16:15:48.076Z] e6fb740bc735: Pulling fs layer [2022-06-14T16:15:48.076Z] 3a77bd46dcc9: Pulling fs layer [2022-06-14T16:15:48.076Z] 355e64cbe906: Pulling fs layer [2022-06-14T16:15:48.076Z] 63ab81a10011: Pulling fs layer [2022-06-14T16:15:48.076Z] 555d1d1c4555: Pulling fs layer [2022-06-14T16:15:48.076Z] 7d9057610161: Pulling fs layer [2022-06-14T16:15:48.076Z] e6fb740bc735: Waiting [2022-06-14T16:15:48.076Z] 3a77bd46dcc9: Waiting [2022-06-14T16:15:48.076Z] 63ab81a10011: Waiting [2022-06-14T16:15:48.076Z] 555d1d1c4555: Waiting [2022-06-14T16:15:48.076Z] 7d9057610161: Waiting [2022-06-14T16:15:48.076Z] 355e64cbe906: Waiting [2022-06-14T16:15:48.076Z] 94645a83ff95: Download complete [2022-06-14T16:15:48.076Z] 1a89e8eeedd5: Verifying Checksum [2022-06-14T16:15:48.076Z] 1a89e8eeedd5: Download complete [2022-06-14T16:15:48.076Z] 3a77bd46dcc9: Verifying Checksum [2022-06-14T16:15:48.076Z] 3a77bd46dcc9: Download complete [2022-06-14T16:15:48.076Z] 355e64cbe906: Verifying Checksum [2022-06-14T16:15:48.076Z] 355e64cbe906: Download complete [2022-06-14T16:15:48.076Z] 9b3977197b4f: Verifying Checksum [2022-06-14T16:15:48.076Z] 9b3977197b4f: Download complete [2022-06-14T16:15:48.357Z] 63ab81a10011: Verifying Checksum [2022-06-14T16:15:48.357Z] 63ab81a10011: Download complete [2022-06-14T16:15:49.348Z] 9b3977197b4f: Pull complete [2022-06-14T16:15:49.348Z] 7d9057610161: Verifying Checksum [2022-06-14T16:15:49.348Z] 7d9057610161: Download complete [2022-06-14T16:15:49.632Z] 1a89e8eeedd5: Pull complete [2022-06-14T16:15:49.914Z] 94645a83ff95: Pull complete [2022-06-14T16:15:50.511Z] 555d1d1c4555: Verifying Checksum [2022-06-14T16:15:50.511Z] 555d1d1c4555: Download complete [2022-06-14T16:15:50.784Z] e6fb740bc735: Verifying Checksum [2022-06-14T16:15:50.784Z] e6fb740bc735: Download complete [2022-06-14T16:16:03.210Z] e6fb740bc735: Pull complete [2022-06-14T16:16:03.210Z] 3a77bd46dcc9: Pull complete [2022-06-14T16:16:03.210Z] 355e64cbe906: Pull complete [2022-06-14T16:16:03.487Z] 63ab81a10011: Pull complete [2022-06-14T16:16:10.208Z] 555d1d1c4555: Pull complete [2022-06-14T16:16:11.645Z] 7d9057610161: Pull complete [2022-06-14T16:16:11.645Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-14T16:16:11.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-14T16:16:11.645Z] ---> 819e984ddca1 [2022-06-14T16:16:11.645Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T16:16:13.644Z] ---> Running in 653a606ae42e [2022-06-14T16:16:15.079Z] Removing intermediate container 653a606ae42e [2022-06-14T16:16:15.079Z] ---> 475f5085673a [2022-06-14T16:16:15.079Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T16:16:15.079Z] ---> Running in 9482a62774da [2022-06-14T16:16:15.079Z] Removing intermediate container 9482a62774da [2022-06-14T16:16:15.079Z] ---> e5d3bed31832 [2022-06-14T16:16:15.079Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-14T16:16:15.079Z] ---> Running in 86558f6f1479 [2022-06-14T16:16:15.678Z] Removing intermediate container 86558f6f1479 [2022-06-14T16:16:15.678Z] ---> 97dc272dacfd [2022-06-14T16:16:15.678Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T16:16:15.678Z] ---> Running in 58d653aec2d8 [2022-06-14T16:16:17.650Z] Removing intermediate container 58d653aec2d8 [2022-06-14T16:16:17.650Z] ---> 7e43ce3c0fc3 [2022-06-14T16:16:17.650Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T16:16:17.650Z] ---> Running in fccd81c9c76a [2022-06-14T16:16:18.249Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-14T16:16:19.232Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-14T16:16:20.212Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-14T16:16:20.212Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-14T16:16:20.212Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-14T16:16:20.488Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-14T16:16:20.488Z] Executing busybox-1.34.1-r3.trigger [2022-06-14T16:16:20.488Z] OK: 224 MiB in 56 packages [2022-06-14T16:16:21.470Z] Removing intermediate container fccd81c9c76a [2022-06-14T16:16:21.470Z] ---> 61fa70e62b02 [2022-06-14T16:16:21.470Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-14T16:16:22.069Z] ---> 744a19d97eb8 [2022-06-14T16:16:22.069Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T16:16:22.069Z] ---> Running in 26c4b27b61ba [2022-06-14T16:17:09.060Z] Removing intermediate container 26c4b27b61ba [2022-06-14T16:17:09.060Z] ---> 97a11c927cd8 [2022-06-14T16:17:09.060Z] Step 10/12 : COPY . . [2022-06-14T16:17:09.060Z] ---> b9099c5b9238 [2022-06-14T16:17:09.060Z] Step 11/12 : ARG MAKE='make build' [2022-06-14T16:17:09.060Z] ---> Running in 69679717b610 [2022-06-14T16:17:09.060Z] Removing intermediate container 69679717b610 [2022-06-14T16:17:09.060Z] ---> 1016e502334c [2022-06-14T16:17:09.060Z] Step 12/12 : RUN $MAKE [2022-06-14T16:17:09.060Z] ---> Running in 8b47f0535d7b [2022-06-14T16:17:09.060Z] noop [2022-06-14T16:17:09.335Z] Removing intermediate container 8b47f0535d7b [2022-06-14T16:17:09.335Z] ---> 2ba93b72d83e [2022-06-14T16:17:09.335Z] Successfully built 2ba93b72d83e [2022-06-14T16:17:09.335Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:17:09.701Z] + docker inspect -f . ci-base-image-arm64 [2022-06-14T16:17:09.701Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T16:17:09.942Z] prd-ubuntu20.04-docker-arm64-4c-16g-2402 does not seem to be running inside a container [2022-06-14T16:17:10.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-14T16:17:11.305Z] $ docker top c66cf7403642c6272f0112149a8ee13337b1f5b9dcf856264ac00cdb73f2ffc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-14T16:17:12.217Z] + go version [2022-06-14T16:17:12.217Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-14T16:17:12.247Z] $ docker stop --time=1 c66cf7403642c6272f0112149a8ee13337b1f5b9dcf856264ac00cdb73f2ffc9 [2022-06-14T16:17:13.883Z] $ docker rm -f c66cf7403642c6272f0112149a8ee13337b1f5b9dcf856264ac00cdb73f2ffc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:17:14.488Z] + docker inspect -f . ci-base-image-arm64 [2022-06-14T16:17:14.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T16:17:14.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-2402 does not seem to be running inside a container [2022-06-14T16:17:14.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-14T16:17:16.115Z] $ docker top 403a131e8c86457d549268fc06ccf7bf96c5606b9754719ac3a0195390330736 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-14T16:17:17.013Z] + make test [2022-06-14T16:17:17.013Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-14T16:17:18.455Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-14T16:18:40.674Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-14T16:18:40.674Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.134s coverage: 65.7% of statements [2022-06-14T16:18:40.674Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-14T16:18:40.674Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-14T16:19:02.853Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-14T16:19:02.853Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-14T16:19:02.853Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-14T16:19:03.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-14T16:19:03.874Z] $ docker stop --time=1 403a131e8c86457d549268fc06ccf7bf96c5606b9754719ac3a0195390330736 [2022-06-14T16:19:05.635Z] $ docker rm -f 403a131e8c86457d549268fc06ccf7bf96c5606b9754719ac3a0195390330736 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-14T16:19:06.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-14T16:19:06.577Z] Warning: overwriting stash ‘coverage-report’ [2022-06-14T16:19:07.057Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-14T16:19:07.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-14T16:19:07.794Z] + ls -al . [2022-06-14T16:19:07.794Z] total 188 [2022-06-14T16:19:07.794Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 14 16:19 . [2022-06-14T16:19:07.794Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 14 16:15 .. [2022-06-14T16:19:07.794Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 14 16:15 .git [2022-06-14T16:19:07.794Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 16:15 .github [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 14 16:15 .gitignore [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 14 16:15 .golangci.yml [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 14 16:15 Attribution.txt [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 14 16:15 CHANGELOG.md [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 14 16:15 Dockerfile [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 14 16:15 GOVERNANCE.md [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 14 16:15 Jenkinsfile [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 14 16:15 LICENSE [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 14 16:15 Makefile [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 14 16:15 OWNERS.md [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 14 16:15 README.md [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 14 16:13 VERSION [2022-06-14T16:19:07.794Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 14 16:15 bin [2022-06-14T16:19:07.794Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 16:15 cmd [2022-06-14T16:19:07.794Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 14 16:18 coverage.out [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 14 16:15 go.mod [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 14 16:15 go.sum [2022-06-14T16:19:07.794Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 16:15 internal [2022-06-14T16:19:07.794Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 16:15 snap [2022-06-14T16:19:07.794Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 14 16:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:19:08.151Z] + 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=f1039673fb73a975d4717530427a4339b1e5412c --label arch=arm64 --label version=0.0.0 . [2022-06-14T16:19:08.747Z] Sending build context to Docker daemon 11.7MB [2022-06-14T16:19:08.747Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T16:19:08.747Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-14T16:19:08.747Z] ---> 2ba93b72d83e [2022-06-14T16:19:08.747Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T16:19:08.747Z] ---> Running in db4c2889c581 [2022-06-14T16:19:09.020Z] Removing intermediate container db4c2889c581 [2022-06-14T16:19:09.020Z] ---> d6bea38c2061 [2022-06-14T16:19:09.020Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T16:19:09.020Z] ---> Running in 952990a15403 [2022-06-14T16:19:09.293Z] Removing intermediate container 952990a15403 [2022-06-14T16:19:09.566Z] ---> bd984c7c33e3 [2022-06-14T16:19:09.566Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-14T16:19:09.566Z] ---> Running in c3d487b8018b [2022-06-14T16:19:09.838Z] Removing intermediate container c3d487b8018b [2022-06-14T16:19:09.838Z] ---> 343aaa6c9743 [2022-06-14T16:19:09.838Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T16:19:09.838Z] ---> Running in 88db56489eef [2022-06-14T16:19:11.809Z] Removing intermediate container 88db56489eef [2022-06-14T16:19:11.809Z] ---> 8782b669480f [2022-06-14T16:19:11.809Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T16:19:11.809Z] ---> Running in 1a56b00b519a [2022-06-14T16:19:12.785Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-14T16:19:13.761Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-14T16:19:14.356Z] OK: 224 MiB in 56 packages [2022-06-14T16:19:15.337Z] Removing intermediate container 1a56b00b519a [2022-06-14T16:19:15.337Z] ---> 4c27608f29c7 [2022-06-14T16:19:15.337Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-14T16:19:15.609Z] ---> 7cea7acd65fc [2022-06-14T16:19:15.609Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T16:19:15.609Z] ---> Running in 48c689b05e1c [2022-06-14T16:19:17.590Z] Removing intermediate container 48c689b05e1c [2022-06-14T16:19:17.590Z] ---> 66f107575316 [2022-06-14T16:19:17.590Z] Step 10/26 : COPY . . [2022-06-14T16:19:19.032Z] ---> ac2d4d7c0c85 [2022-06-14T16:19:19.032Z] Step 11/26 : ARG MAKE='make build' [2022-06-14T16:19:19.032Z] ---> Running in 44a2a32d6036 [2022-06-14T16:19:19.032Z] Removing intermediate container 44a2a32d6036 [2022-06-14T16:19:19.032Z] ---> 6736c2b430de [2022-06-14T16:19:19.032Z] Step 12/26 : RUN $MAKE [2022-06-14T16:19:19.308Z] ---> Running in 0150ce06f8eb [2022-06-14T16:19:20.290Z] 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-14T16:21:27.167Z] Removing intermediate container 0150ce06f8eb [2022-06-14T16:21:27.167Z] ---> aff3b47acf82 [2022-06-14T16:21:27.167Z] Step 13/26 : FROM alpine:3.14 [2022-06-14T16:21:27.167Z] 3.14: Pulling from library/alpine [2022-06-14T16:21:27.167Z] 455c02918c45: Pulling fs layer [2022-06-14T16:21:27.167Z] 455c02918c45: Verifying Checksum [2022-06-14T16:21:27.167Z] 455c02918c45: Download complete [2022-06-14T16:21:27.167Z] 455c02918c45: Pull complete [2022-06-14T16:21:27.167Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-14T16:21:27.167Z] Status: Downloaded newer image for alpine:3.14 [2022-06-14T16:21:27.167Z] ---> ac73e934f311 [2022-06-14T16:21:27.167Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-14T16:21:27.167Z] ---> Running in cc93305b463b [2022-06-14T16:21:27.167Z] Removing intermediate container cc93305b463b [2022-06-14T16:21:27.167Z] ---> 2e8f2fce733d [2022-06-14T16:21:27.167Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T16:21:27.167Z] ---> Running in 29d79b1670ac [2022-06-14T16:21:27.167Z] Removing intermediate container 29d79b1670ac [2022-06-14T16:21:27.167Z] ---> 98f08a3aab6f [2022-06-14T16:21:27.167Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-14T16:21:27.167Z] ---> Running in 15c7c85b3eee [2022-06-14T16:21:27.167Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-14T16:21:27.167Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-14T16:21:27.167Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-14T16:21:27.167Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-14T16:21:27.167Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-14T16:21:27.167Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-14T16:21:27.167Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-14T16:21:27.168Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-14T16:21:27.168Z] Executing busybox-1.33.1-r7.trigger [2022-06-14T16:21:27.168Z] OK: 8 MiB in 20 packages [2022-06-14T16:21:27.168Z] Removing intermediate container 15c7c85b3eee [2022-06-14T16:21:27.168Z] ---> ecf7a5b70f63 [2022-06-14T16:21:27.168Z] Step 17/26 : WORKDIR / [2022-06-14T16:21:27.168Z] ---> Running in adbcd7c94774 [2022-06-14T16:21:27.168Z] Removing intermediate container adbcd7c94774 [2022-06-14T16:21:27.168Z] ---> f8fe2f9fb163 [2022-06-14T16:21:27.168Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-14T16:21:27.168Z] ---> 66d66049c406 [2022-06-14T16:21:27.168Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-14T16:21:27.168Z] ---> 36f9e0abe3cc [2022-06-14T16:21:27.168Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-14T16:21:27.168Z] ---> 93a555460e51 [2022-06-14T16:21:27.168Z] Step 21/26 : EXPOSE 59900 [2022-06-14T16:21:27.168Z] ---> Running in ec1523545d49 [2022-06-14T16:21:27.168Z] Removing intermediate container ec1523545d49 [2022-06-14T16:21:27.168Z] ---> b482d8658f34 [2022-06-14T16:21:27.168Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-14T16:21:27.168Z] ---> Running in 7aabaa2c914f [2022-06-14T16:21:27.168Z] Removing intermediate container 7aabaa2c914f [2022-06-14T16:21:27.168Z] ---> 04722cfca7f8 [2022-06-14T16:21:27.168Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-14T16:21:27.168Z] ---> Running in 4f937d3c4cd2 [2022-06-14T16:21:27.168Z] Removing intermediate container 4f937d3c4cd2 [2022-06-14T16:21:27.168Z] ---> 8ed3f9290d5d [2022-06-14T16:21:27.168Z] Step 24/26 : LABEL arch=arm64 [2022-06-14T16:21:27.168Z] ---> Running in 1f8b3927d7e5 [2022-06-14T16:21:27.168Z] Removing intermediate container 1f8b3927d7e5 [2022-06-14T16:21:27.168Z] ---> a614e57b2fff [2022-06-14T16:21:27.168Z] Step 25/26 : LABEL git_sha=f1039673fb73a975d4717530427a4339b1e5412c [2022-06-14T16:21:27.168Z] ---> Running in a6efcd307912 [2022-06-14T16:21:27.168Z] Removing intermediate container a6efcd307912 [2022-06-14T16:21:27.168Z] ---> 0e1efd0481bc [2022-06-14T16:21:27.168Z] Step 26/26 : LABEL version=0.0.0 [2022-06-14T16:21:27.168Z] ---> Running in 81f894627706 [2022-06-14T16:21:27.168Z] Removing intermediate container 81f894627706 [2022-06-14T16:21:27.168Z] ---> 3628bc30faf9 [2022-06-14T16:21:27.168Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-14T16:21:27.168Z] Successfully built 3628bc30faf9 [2022-06-14T16:21:27.168Z] 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-14T16:21:27.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-14T16:21:27.620Z] [2022-06-14T16:21:27.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:21:27.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-14T16:21:28.250Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-14T16:21:28.250Z] 8998bd30e6a1: Pulling fs layer [2022-06-14T16:21:28.250Z] 04944245beec: Pulling fs layer [2022-06-14T16:21:28.250Z] 699f458cf7ca: Pulling fs layer [2022-06-14T16:21:28.250Z] 765212b225bb: Pulling fs layer [2022-06-14T16:21:28.250Z] f23df028b6ca: Pulling fs layer [2022-06-14T16:21:28.250Z] d65c8cfc05b1: Pulling fs layer [2022-06-14T16:21:28.250Z] 2437ff75d9bd: Pulling fs layer [2022-06-14T16:21:28.250Z] 765212b225bb: Waiting [2022-06-14T16:21:28.250Z] f23df028b6ca: Waiting [2022-06-14T16:21:28.250Z] d65c8cfc05b1: Waiting [2022-06-14T16:21:28.250Z] 2437ff75d9bd: Waiting [2022-06-14T16:21:28.250Z] 04944245beec: Verifying Checksum [2022-06-14T16:21:28.250Z] 04944245beec: Download complete [2022-06-14T16:21:28.250Z] 765212b225bb: Verifying Checksum [2022-06-14T16:21:28.250Z] 765212b225bb: Download complete [2022-06-14T16:21:28.250Z] f23df028b6ca: Verifying Checksum [2022-06-14T16:21:28.250Z] f23df028b6ca: Download complete [2022-06-14T16:21:28.250Z] d65c8cfc05b1: Verifying Checksum [2022-06-14T16:21:28.250Z] d65c8cfc05b1: Download complete [2022-06-14T16:21:28.526Z] 699f458cf7ca: Verifying Checksum [2022-06-14T16:21:28.526Z] 699f458cf7ca: Download complete [2022-06-14T16:21:28.800Z] 8998bd30e6a1: Verifying Checksum [2022-06-14T16:21:28.800Z] 8998bd30e6a1: Download complete [2022-06-14T16:21:31.427Z] 2437ff75d9bd: Verifying Checksum [2022-06-14T16:21:31.427Z] 2437ff75d9bd: Download complete [2022-06-14T16:21:32.863Z] 8998bd30e6a1: Pull complete [2022-06-14T16:21:33.469Z] 04944245beec: Pull complete [2022-06-14T16:21:34.905Z] 699f458cf7ca: Pull complete [2022-06-14T16:21:35.180Z] 765212b225bb: Pull complete [2022-06-14T16:21:36.157Z] f23df028b6ca: Pull complete [2022-06-14T16:21:36.157Z] d65c8cfc05b1: Pull complete [2022-06-14T16:21:51.246Z] 2437ff75d9bd: Pull complete [2022-06-14T16:21:51.246Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-14T16:21:51.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-14T16:21:51.246Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T16:21:51.493Z] prd-ubuntu20.04-docker-arm64-4c-16g-2402 does not seem to be running inside a container [2022-06-14T16:21:51.576Z] $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-14T16:21:54.135Z] $ docker top 31818f49da937a720757f3418951b10fba38d285968d294f844f1cc557d808bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:21:55.088Z] ---> job-cost.sh [2022-06-14T16:21:55.088Z] lf-activate-venv: SKIPPING [2022-06-14T16:21:55.088Z] INFO: No Stack... [2022-06-14T16:21:55.370Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-14T16:21:56.369Z] INFO: Archiving Costs [Pipeline] sh [2022-06-14T16:21:57.056Z] + cat /w/workspace/device-virtual-go/4/archives/cost.csv [2022-06-14T16:21:57.056Z] + cut -d, -f6 [Pipeline] lock [2022-06-14T16:21:57.093Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-4-stack-cost] [2022-06-14T16:21:57.100Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-4-stack-cost] did not exist. Created. [2022-06-14T16:21:57.100Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-14T16:21:57.777Z] /w/workspace/device-virtual-go/4@tmp/durable-099e530c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-14T16:21:58.450Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-14T16:21:58.488Z] Warning: overwriting stash ‘stack-cost’ [2022-06-14T16:21:58.535Z] Stashed 1 file(s) [Pipeline] } [2022-06-14T16:21:58.542Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-14T16:21:58.567Z] $ docker stop --time=1 31818f49da937a720757f3418951b10fba38d285968d294f844f1cc557d808bf [2022-06-14T16:22:00.082Z] $ docker rm -f 31818f49da937a720757f3418951b10fba38d285968d294f844f1cc557d808bf [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-14T16:22:00.557Z] provisioning config files... [2022-06-14T16:22:00.566Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config8000135922473266038tmp [Pipeline] { [Pipeline] sh [2022-06-14T16:22:00.864Z] + set +x [2022-06-14T16:22:00.864Z] + curl -s https://codecov.io/bash [2022-06-14T16:22:00.864Z] + bash -s -- [2022-06-14T16:22:00.864Z] [2022-06-14T16:22:00.864Z] _____ _ [2022-06-14T16:22:00.864Z] / ____| | | [2022-06-14T16:22:00.864Z] | | ___ __| | ___ ___ _____ __ [2022-06-14T16:22:00.864Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-14T16:22:00.864Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-14T16:22:00.864Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-14T16:22:00.864Z] Bash-1.0.6 [2022-06-14T16:22:00.864Z] [2022-06-14T16:22:00.864Z] [2022-06-14T16:22:00.864Z] ==> git version 2.25.1 found [2022-06-14T16:22:00.864Z] ==> 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-14T16:22:00.864Z] Release-Date: 2020-01-08 [2022-06-14T16:22:00.864Z] 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-14T16:22:00.864Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-14T16:22:00.864Z] ==> Jenkins CI detected. [2022-06-14T16:22:00.864Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-14T16:22:00.864Z] project root: . [2022-06-14T16:22:00.864Z] --> token set from env [2022-06-14T16:22:00.864Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-14T16:22:00.864Z] ==> Running gcov in . (disable via -X gcov) [2022-06-14T16:22:00.864Z] ==> Python coveragepy not found [2022-06-14T16:22:00.864Z] ==> Searching for coverage reports in: [2022-06-14T16:22:00.864Z] + . [2022-06-14T16:22:01.125Z] -> Found 1 reports [2022-06-14T16:22:01.125Z] ==> Detecting git/mercurial file structure [2022-06-14T16:22:01.125Z] ==> Reading reports [2022-06-14T16:22:01.125Z] + ./coverage.out bytes=44128 [2022-06-14T16:22:01.125Z] ==> Appending adjustments [2022-06-14T16:22:01.125Z] https://docs.codecov.io/docs/fixing-reports [2022-06-14T16:22:01.125Z] + Found adjustments [2022-06-14T16:22:01.125Z] ==> Gzipping contents [2022-06-14T16:22:01.125Z] 8.0K /tmp/codecov.0jVr7r.gz [2022-06-14T16:22:01.125Z] ==> Uploading reports [2022-06-14T16:22:01.125Z] url: https://codecov.io [2022-06-14T16:22:01.125Z] query: branch=PR-290&commit=f1039673fb73a975d4717530427a4339b1e5412c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-14T16:22:01.125Z] -> Pinging Codecov [2022-06-14T16:22:01.125Z] 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=f1039673fb73a975d4717530427a4339b1e5412c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-14T16:22:01.385Z] -> Uploading to [2022-06-14T16:22:01.385Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-14/5E52B4B073DB2E39498172D8E973AA87/f1039673fb73a975d4717530427a4339b1e5412c/211e5f47-0fdd-4931-8caf-e4a9b7ee33f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220614%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220614T162201Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a732279239731aa7c03be58d3c8caf46cfdb9f28fc252479df838ef019017f33 [2022-06-14T16:22:01.385Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-14T16:22:01.385Z] Dload Upload Total Spent Left Speed [2022-06-14T16:22:01.646Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5490 0 0 100 5490 0 23973 --:--:-- --:--:-- --:--:-- 23973 [2022-06-14T16:22:01.647Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/f1039673fb73a975d4717530427a4339b1e5412c [Pipeline] } [2022-06-14T16:22:01.655Z] 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-14T16:22:02.346Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-14T16:22:02.347Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-14T16:22:02.347Z] total 16 [2022-06-14T16:22:02.347Z] drwxr-xr-x 3 root root 4096 Jun 14 16:14 . [2022-06-14T16:22:02.347Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 14 16:14 .. [2022-06-14T16:22:02.347Z] drwxr-xr-x 2 root root 4096 Jun 14 16:14 cost [2022-06-14T16:22:02.347Z] -rw-r--r-- 1 root root 88 Jun 14 16:14 cost.csv [2022-06-14T16:22:02.347Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-14T16:22:02.347Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-14T16:22:02.347Z] total 16 [2022-06-14T16:22:02.347Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 14 16:14 . [2022-06-14T16:22:02.347Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 14 16:14 .. [2022-06-14T16:22:02.347Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 14 16:14 cost [2022-06-14T16:22:02.347Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 14 16:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:22:02.642Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:22:03.510Z] ---> package-listing.sh [2022-06-14T16:22:03.510Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-14T16:22:03.510Z] ++ facter osfamily [2022-06-14T16:22:03.771Z] + OS_FAMILY=debian [2022-06-14T16:22:03.771Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-14T16:22:03.771Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-14T16:22:03.771Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-14T16:22:03.771Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-14T16:22:03.771Z] + PACKAGES=/tmp/packages_start.txt [2022-06-14T16:22:03.771Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-14T16:22:03.771Z] + PACKAGES=/tmp/packages_end.txt [2022-06-14T16:22:03.771Z] + case "${OS_FAMILY}" in [2022-06-14T16:22:03.771Z] + dpkg -l [2022-06-14T16:22:03.771Z] + grep '^ii' [2022-06-14T16:22:03.771Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-14T16:22:03.771Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-14T16:22:03.771Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-14T16:22:03.771Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-14T16:22:03.771Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-14T16:22:03.771Z] + 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-14T16:22:03.783Z] 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-14T16:22:04.060Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T16:22:04.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T16:22:04.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T16:22:04.699Z] prd-ubuntu20.04-docker-8c-8g-2401 does not seem to be running inside a container [2022-06-14T16:22:04.744Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-14T16:22:04.962Z] $ docker top 8422fd6ff8f1779a2edfe7a88bf025e3283cc0d4c0bc8b7e1850301f8233f4be -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-14T16:22:05.318Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-14T16:22:05.606Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-14T16:22:05.892Z] + ls /var/log/sa-host [2022-06-14T16:22:05.892Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-14T16:22:06.034Z] provisioning config files... [2022-06-14T16:22:06.043Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config1122806287137132004tmp [Pipeline] { [Pipeline] echo [2022-06-14T16:22:06.054Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:22:06.340Z] ---> create-netrc.sh [Pipeline] } [2022-06-14T16:22:06.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:22:06.677Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-14T16:22:06.686Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:22:06.970Z] ---> sudo-logs.sh [2022-06-14T16:22:06.970Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-14T16:22:06.997Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:22:07.284Z] ---> job-cost.sh [2022-06-14T16:22:07.284Z] lf-activate-venv: SKIPPING [2022-06-14T16:22:07.284Z] DEBUG: total: 0.2199999988079071 [2022-06-14T16:22:07.284Z] INFO: Retrieving Stack Cost... [2022-06-14T16:22:07.854Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-14T16:22:08.113Z] INFO: Archiving Costs [Pipeline] echo [2022-06-14T16:22:08.124Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T16:22:08.406Z] ---> logs-deploy.sh [2022-06-14T16:22:08.406Z] lf-activate-venv: SKIPPING [2022-06-14T16:22:08.407Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/4 [2022-06-14T16:22:08.407Z] INFO: archiving workspace using pattern(s): [2022-06-14T16:22:09.347Z] Archives upload complete. [2022-06-14T16:22:09.347Z] INFO: archiving logs to Nexus