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 94db043223987bafc21c8bad326de67ff661989d 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-ssh12261103623687804779.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-ssh17274186573293182810.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-ssh16713775951923740641.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-ssh5714138496020404539.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-ssh6072077348559917789.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 ‘prd-ubuntu20.04-docker-8c-8g-2588’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2591 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 94db043223987bafc21c8bad326de67ff661989d Merge succeeded, producing 94db043223987bafc21c8bad326de67ff661989d Checking out Revision 94db043223987bafc21c8bad326de67ff661989d (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 94db043223987bafc21c8bad326de67ff661989d # 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 94db043223987bafc21c8bad326de67ff661989d # timeout=10 Commit message: "fix(snap): Use local build snap for testing " > git rev-list --no-walk 94db043223987bafc21c8bad326de67ff661989d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T15:05:28.079Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T15:05:28.144Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T15:05:28.165Z] ========================================================= [2022-06-17T15:05:28.165Z] EdgeX Global Pipelines Version Info [2022-06-17T15:05:28.165Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:05:28.920Z] ------------------- [2022-06-17T15:05:28.920Z] stable info: [2022-06-17T15:05:28.920Z] ------------------- [2022-06-17T15:05:28.920Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T15:05:28.920Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T15:05:28.920Z] Message: update stable to v1.0.234 [2022-06-17T15:05:29.493Z] ------------------- [2022-06-17T15:05:29.493Z] experimental info: [2022-06-17T15:05:29.493Z] ------------------- [2022-06-17T15:05:29.493Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T15:05:29.493Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T15:05:29.493Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T15:05:29.667Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-17T15:05:29.675Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-17T15:05:29.683Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T15:05:29.691Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T15:05:29.701Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T15:05:29.715Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T15:05:29.730Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T15:05:29.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T15:05:29.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T15:05:29.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T15:05:29.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T15:05:29.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-17T15:05:29.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T15:05:29.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T15:05:29.826Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T15:05:29.838Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T15:05:29.852Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T15:05:29.867Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T15:05:29.877Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T15:05:29.889Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T15:05:29.903Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T15:05:29.915Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T15:05:29.927Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T15:05:29.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T15:05:29.964Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T15:05:29.983Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T15:05:30.002Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T15:05:30.021Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-17T15:05:30.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-17T15:05:30.058Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-17T15:05:30.070Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94db043223987bafc21c8bad326de67ff661989d [Pipeline] echo [2022-06-17T15:05:30.084Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94db043 [Pipeline] echo [2022-06-17T15:05:30.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T15:05:30.150Z] provisioning config files... [2022-06-17T15:05:30.165Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config3254664586532009381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:05:30.489Z] ---> docker-login.sh [2022-06-17T15:05:30.489Z] nexus3.edgexfoundry.org:10001 [2022-06-17T15:05:30.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:05:30.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:05:30.751Z] Configure a credential helper to remove this warning. See [2022-06-17T15:05:30.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:05:30.751Z] [2022-06-17T15:05:30.751Z] Login Succeeded [2022-06-17T15:05:30.751Z] nexus3.edgexfoundry.org:10002 [2022-06-17T15:05:31.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:05:31.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:05:31.014Z] Configure a credential helper to remove this warning. See [2022-06-17T15:05:31.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:05:31.014Z] [2022-06-17T15:05:31.014Z] Login Succeeded [2022-06-17T15:05:31.014Z] nexus3.edgexfoundry.org:10003 [2022-06-17T15:05:31.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:05:31.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:05:31.014Z] Configure a credential helper to remove this warning. See [2022-06-17T15:05:31.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:05:31.014Z] [2022-06-17T15:05:31.014Z] Login Succeeded [2022-06-17T15:05:31.014Z] nexus3.edgexfoundry.org:10004 [2022-06-17T15:05:31.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:05:31.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:05:31.276Z] Configure a credential helper to remove this warning. See [2022-06-17T15:05:31.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:05:31.276Z] [2022-06-17T15:05:31.276Z] Login Succeeded [2022-06-17T15:05:31.276Z] docker.io [2022-06-17T15:05:31.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:05:31.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:05:31.849Z] Configure a credential helper to remove this warning. See [2022-06-17T15:05:31.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:05:31.849Z] [2022-06-17T15:05:31.849Z] Login Succeeded [2022-06-17T15:05:31.849Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T15:05:31.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T15:05:32.258Z] + git rev-list -1 --merges 94db043223987bafc21c8bad326de67ff661989d~1..94db043223987bafc21c8bad326de67ff661989d [Pipeline] echo [2022-06-17T15:05:32.294Z] -----------> git rev-list -1 --merges 94db043223987bafc21c8bad326de67ff661989d~1..94db043223987bafc21c8bad326de67ff661989d 94db043223987bafc21c8bad326de67ff661989d [false] [Pipeline] sh [2022-06-17T15:05:32.591Z] + git log --format=format:%s -1 94db043223987bafc21c8bad326de67ff661989d [Pipeline] echo [2022-06-17T15:05:32.607Z] ========================================================= [2022-06-17T15:05:32.607Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T15:05:32.607Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T15:05:32.954Z] + git log --format=format:%s -1 94db043223987bafc21c8bad326de67ff661989d [Pipeline] echo [2022-06-17T15:05:32.967Z] [semverPrep] GIT_COMMIT: 94db043223987bafc21c8bad326de67ff661989d, Commit Message: fix(snap): Use local build snap for testing [Pipeline] echo [2022-06-17T15:05:32.974Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T15:05:33.349Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T15:05:33.349Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T15:05:33.349Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T15:05:33.349Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T15:05:33.349Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T15:05:33.349Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T15:05:33.349Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:05:33.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T15:05:33.772Z] [2022-06-17T15:05:33.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:05:34.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T15:05:34.074Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T15:05:34.074Z] 42c077c10790: Pulling fs layer [2022-06-17T15:05:34.074Z] f63e77b7563a: Pulling fs layer [2022-06-17T15:05:34.074Z] bd5fdadae976: Pulling fs layer [2022-06-17T15:05:34.074Z] 205491f53016: Pulling fs layer [2022-06-17T15:05:34.074Z] df18705c85c3: Pulling fs layer [2022-06-17T15:05:34.074Z] bdb3f477010e: Pulling fs layer [2022-06-17T15:05:34.074Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T15:05:34.074Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T15:05:34.074Z] bdb8f0575790: Pulling fs layer [2022-06-17T15:05:34.074Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T15:05:34.074Z] 2343380bae48: Pulling fs layer [2022-06-17T15:05:34.074Z] bdb3f477010e: Waiting [2022-06-17T15:05:34.074Z] c8a8fc8e1c8f: Waiting [2022-06-17T15:05:34.074Z] 386e3cb2ff24: Waiting [2022-06-17T15:05:34.074Z] 2c6e9b1d212d: Waiting [2022-06-17T15:05:34.074Z] 2343380bae48: Waiting [2022-06-17T15:05:34.074Z] bdb8f0575790: Waiting [2022-06-17T15:05:34.074Z] df18705c85c3: Waiting [2022-06-17T15:05:34.074Z] f63e77b7563a: Download complete [2022-06-17T15:05:34.074Z] 205491f53016: Verifying Checksum [2022-06-17T15:05:34.074Z] 205491f53016: Download complete [2022-06-17T15:05:34.343Z] df18705c85c3: Verifying Checksum [2022-06-17T15:05:34.343Z] df18705c85c3: Download complete [2022-06-17T15:05:34.343Z] bdb3f477010e: Verifying Checksum [2022-06-17T15:05:34.343Z] bdb3f477010e: Download complete [2022-06-17T15:05:34.343Z] bd5fdadae976: Verifying Checksum [2022-06-17T15:05:34.343Z] bd5fdadae976: Download complete [2022-06-17T15:05:34.343Z] 2c6e9b1d212d: Download complete [2022-06-17T15:05:34.343Z] bdb8f0575790: Verifying Checksum [2022-06-17T15:05:34.343Z] bdb8f0575790: Download complete [2022-06-17T15:05:34.343Z] 386e3cb2ff24: Verifying Checksum [2022-06-17T15:05:34.343Z] 386e3cb2ff24: Download complete [2022-06-17T15:05:34.343Z] 2343380bae48: Verifying Checksum [2022-06-17T15:05:34.343Z] 2343380bae48: Download complete [2022-06-17T15:05:34.343Z] 42c077c10790: Verifying Checksum [2022-06-17T15:05:34.343Z] 42c077c10790: Download complete [2022-06-17T15:05:34.604Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-17T15:05:34.604Z] c8a8fc8e1c8f: Download complete [2022-06-17T15:05:35.545Z] 42c077c10790: Pull complete [2022-06-17T15:05:35.805Z] f63e77b7563a: Pull complete [2022-06-17T15:05:36.068Z] bd5fdadae976: Pull complete [2022-06-17T15:05:36.328Z] 205491f53016: Pull complete [2022-06-17T15:05:36.587Z] df18705c85c3: Pull complete [2022-06-17T15:05:36.587Z] bdb3f477010e: Pull complete [2022-06-17T15:05:38.504Z] c8a8fc8e1c8f: Pull complete [2022-06-17T15:05:38.504Z] 2c6e9b1d212d: Pull complete [2022-06-17T15:05:38.765Z] bdb8f0575790: Pull complete [2022-06-17T15:05:38.765Z] 386e3cb2ff24: Pull complete [2022-06-17T15:05:38.765Z] 2343380bae48: Pull complete [2022-06-17T15:05:38.765Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T15:05:38.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T15:05:38.765Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:05:38.869Z] prd-ubuntu20.04-docker-8c-8g-2591 does not seem to be running inside a container [2022-06-17T15:05:38.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-17T15:05:40.388Z] $ docker top 0051dfe07d1c69b024ab90f2db27053aafb9014aece1613fc8b55c68bea32724 -eo pid,comm [2022-06-17T15:05:40.466Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-17T15:05:40.466Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T15:05:40.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T15:05:40.504Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T15:05:40.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T15:05:40.624Z] $ docker exec 0051dfe07d1c69b024ab90f2db27053aafb9014aece1613fc8b55c68bea32724 ssh-agent [2022-06-17T15:05:40.760Z] SSH_AUTH_SOCK=/tmp/ssh-HxgVlBy5u6C6/agent.33 [2022-06-17T15:05:40.760Z] SSH_AGENT_PID=39 [2022-06-17T15:05:40.766Z] Running ssh-add (command line suppressed) [2022-06-17T15:05:40.870Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_3160860889861840805.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_3160860889861840805.key) [2022-06-17T15:05:40.899Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T15:05:41.190Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T15:05:41.198Z] $ docker exec --env ******** --env ******** 0051dfe07d1c69b024ab90f2db27053aafb9014aece1613fc8b55c68bea32724 ssh-agent -k [2022-06-17T15:05:41.304Z] unset SSH_AUTH_SOCK; [2022-06-17T15:05:41.304Z] unset SSH_AGENT_PID; [2022-06-17T15:05:41.304Z] echo Agent pid 39 killed; [2022-06-17T15:05:41.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T15:05:41.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T15:05:41.354Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T15:05:41.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T15:05:41.481Z] $ docker exec 0051dfe07d1c69b024ab90f2db27053aafb9014aece1613fc8b55c68bea32724 ssh-agent [2022-06-17T15:05:41.616Z] SSH_AUTH_SOCK=/tmp/ssh-xkdDCMX6IaJs/agent.71 [2022-06-17T15:05:41.616Z] SSH_AGENT_PID=77 [2022-06-17T15:05:41.622Z] Running ssh-add (command line suppressed) [2022-06-17T15:05:41.738Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_5015461382772442163.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_5015461382772442163.key) [2022-06-17T15:05:41.766Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T15:05:42.059Z] + git semver init [2022-06-17T15:05:42.321Z] 2022-06-17 15:05:42,247 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T15:05:42.321Z] 2022-06-17 15:05:42,248 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-17T15:05:42.321Z] 2022-06-17 15:05:42,248 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-17T15:05:42.321Z] 2022-06-17 15:05:42,249 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-290/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-290, universal_newlines=False, shell=None, istream=None) [2022-06-17T15:05:43.262Z] 2022-06-17 15:05:43,204 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-17T15:05:43.262Z] 2022-06-17 15:05:43,204 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 with force:False [2022-06-17T15:05:43.263Z] 2022-06-17 15:05:43,205 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-17T15:05:43.263Z] 2022-06-17 15:05:43,208 [execute] INFO git cat-file --batch-check [2022-06-17T15:05:43.263Z] 2022-06-17 15:05:43,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T15:05:43.263Z] 2022-06-17 15:05:43,214 [execute] INFO git cat-file --batch [2022-06-17T15:05:43.263Z] 2022-06-17 15:05:43,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T15:05:43.263Z] 2022-06-17 15:05:43,221 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-17T15:05:43.263Z] 0.0.0 [Pipeline] } [2022-06-17T15:05:43.266Z] $ docker exec --env ******** --env ******** 0051dfe07d1c69b024ab90f2db27053aafb9014aece1613fc8b55c68bea32724 ssh-agent -k [2022-06-17T15:05:43.382Z] unset SSH_AUTH_SOCK; [2022-06-17T15:05:43.383Z] unset SSH_AGENT_PID; [2022-06-17T15:05:43.383Z] echo Agent pid 77 killed; [2022-06-17T15:05:43.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T15:05:43.709Z] + git semver [Pipeline] } [2022-06-17T15:05:43.978Z] $ docker stop --time=1 0051dfe07d1c69b024ab90f2db27053aafb9014aece1613fc8b55c68bea32724 [2022-06-17T15:05:45.349Z] $ docker rm -f 0051dfe07d1c69b024ab90f2db27053aafb9014aece1613fc8b55c68bea32724 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T15:05:45.710Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T15:05:45.976Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T15:05:45.979Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T15:05:46.132Z] provisioning config files... [2022-06-17T15:05:46.142Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config4565398423903907063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:05:46.436Z] ---> docker-login.sh [2022-06-17T15:05:46.437Z] nexus3.edgexfoundry.org:10001 [2022-06-17T15:05:46.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:05:46.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:05:46.437Z] Configure a credential helper to remove this warning. See [2022-06-17T15:05:46.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:05:46.437Z] [2022-06-17T15:05:46.437Z] Login Succeeded [2022-06-17T15:05:46.437Z] nexus3.edgexfoundry.org:10002 [2022-06-17T15:05:46.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:05:46.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:05:46.696Z] Configure a credential helper to remove this warning. See [2022-06-17T15:05:46.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:05:46.696Z] [2022-06-17T15:05:46.696Z] Login Succeeded [2022-06-17T15:05:46.696Z] nexus3.edgexfoundry.org:10003 [2022-06-17T15:05:46.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:05:46.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:05:46.697Z] Configure a credential helper to remove this warning. See [2022-06-17T15:05:46.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:05:46.697Z] [2022-06-17T15:05:46.697Z] Login Succeeded [2022-06-17T15:05:46.697Z] nexus3.edgexfoundry.org:10004 [2022-06-17T15:05:46.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:05:46.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:05:46.957Z] Configure a credential helper to remove this warning. See [2022-06-17T15:05:46.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:05:46.957Z] [2022-06-17T15:05:46.957Z] Login Succeeded [2022-06-17T15:05:46.957Z] docker.io [2022-06-17T15:05:46.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:05:47.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:05:47.218Z] Configure a credential helper to remove this warning. See [2022-06-17T15:05:47.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:05:47.218Z] [2022-06-17T15:05:47.218Z] Login Succeeded [2022-06-17T15:05:47.218Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T15:05:47.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T15:05:47.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T15:05:47.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T15:05:47.322Z] ========================================================= [2022-06-17T15:05:47.322Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T15:05:47.322Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:05:47.651Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T15:05:47.651Z] Sending build context to Docker daemon 23.05MB [2022-06-17T15:05:47.651Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T15:05:47.651Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T15:05:47.923Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T15:05:47.923Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T15:05:47.923Z] 666ba61612fd: Pulling fs layer [2022-06-17T15:05:47.923Z] 8ed8ca486205: Pulling fs layer [2022-06-17T15:05:47.923Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T15:05:47.923Z] c516ae0d96e1: Pulling fs layer [2022-06-17T15:05:47.923Z] 684cea983483: Pulling fs layer [2022-06-17T15:05:47.923Z] dd3240ac7de5: Pulling fs layer [2022-06-17T15:05:47.923Z] b1e948a4e11c: Pulling fs layer [2022-06-17T15:05:47.923Z] cc1cd167ecdc: Waiting [2022-06-17T15:05:47.923Z] c516ae0d96e1: Waiting [2022-06-17T15:05:47.923Z] dd3240ac7de5: Waiting [2022-06-17T15:05:47.923Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T15:05:47.923Z] b1e948a4e11c: Waiting [2022-06-17T15:05:47.923Z] 646ad004c059: Pulling fs layer [2022-06-17T15:05:47.923Z] 684cea983483: Waiting [2022-06-17T15:05:47.923Z] 8ed8ca486205: Verifying Checksum [2022-06-17T15:05:47.923Z] 8ed8ca486205: Download complete [2022-06-17T15:05:47.923Z] 666ba61612fd: Download complete [2022-06-17T15:05:47.923Z] c516ae0d96e1: Verifying Checksum [2022-06-17T15:05:47.923Z] c516ae0d96e1: Download complete [2022-06-17T15:05:47.923Z] 684cea983483: Verifying Checksum [2022-06-17T15:05:47.923Z] 684cea983483: Download complete [2022-06-17T15:05:47.923Z] dd3240ac7de5: Verifying Checksum [2022-06-17T15:05:47.923Z] dd3240ac7de5: Download complete [2022-06-17T15:05:47.923Z] 59bf1c3509f3: Verifying Checksum [2022-06-17T15:05:47.923Z] 59bf1c3509f3: Download complete [2022-06-17T15:05:47.923Z] b1e948a4e11c: Verifying Checksum [2022-06-17T15:05:47.923Z] b1e948a4e11c: Download complete [2022-06-17T15:05:47.923Z] 59bf1c3509f3: Pull complete [2022-06-17T15:05:48.185Z] 666ba61612fd: Pull complete [2022-06-17T15:05:48.185Z] 8ed8ca486205: Pull complete [2022-06-17T15:05:48.446Z] 646ad004c059: Verifying Checksum [2022-06-17T15:05:48.446Z] 646ad004c059: Download complete [2022-06-17T15:05:48.708Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T15:05:48.708Z] cc1cd167ecdc: Download complete [2022-06-17T15:05:48.708Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T15:05:48.708Z] a8fd76ee1af6: Download complete [2022-06-17T15:05:51.993Z] cc1cd167ecdc: Pull complete [2022-06-17T15:05:51.993Z] c516ae0d96e1: Pull complete [2022-06-17T15:05:51.993Z] 684cea983483: Pull complete [2022-06-17T15:05:52.252Z] dd3240ac7de5: Pull complete [2022-06-17T15:05:52.252Z] b1e948a4e11c: Pull complete [2022-06-17T15:05:54.157Z] a8fd76ee1af6: Pull complete [2022-06-17T15:05:55.094Z] 646ad004c059: Pull complete [2022-06-17T15:05:55.094Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T15:05:55.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T15:05:55.094Z] ---> 8f69c11f6b0c [2022-06-17T15:05:55.094Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T15:05:57.010Z] ---> Running in f65970dabc71 [2022-06-17T15:05:57.010Z] Removing intermediate container f65970dabc71 [2022-06-17T15:05:57.010Z] ---> 761e94e3c370 [2022-06-17T15:05:57.010Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T15:05:57.010Z] ---> Running in 5a81509c2906 [2022-06-17T15:05:57.010Z] Removing intermediate container 5a81509c2906 [2022-06-17T15:05:57.010Z] ---> 79e5d55f1e4f [2022-06-17T15:05:57.010Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-17T15:05:57.010Z] ---> Running in 8242e881070c [2022-06-17T15:05:57.272Z] Removing intermediate container 8242e881070c [2022-06-17T15:05:57.272Z] ---> da1e5f574789 [2022-06-17T15:05:57.272Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:05:57.272Z] ---> Running in 8d45bff875f0 [2022-06-17T15:05:57.842Z] Removing intermediate container 8d45bff875f0 [2022-06-17T15:05:57.842Z] ---> cee1390d00a6 [2022-06-17T15:05:57.842Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T15:05:57.842Z] ---> Running in 3b92cacb3ff0 [2022-06-17T15:05:58.102Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T15:05:59.044Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T15:05:59.306Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T15:05:59.306Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T15:05:59.306Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T15:05:59.568Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T15:05:59.568Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T15:05:59.568Z] OK: 224 MiB in 56 packages [2022-06-17T15:06:00.136Z] Removing intermediate container 3b92cacb3ff0 [2022-06-17T15:06:00.136Z] ---> 9f879c3732d6 [2022-06-17T15:06:00.136Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-17T15:06:00.136Z] ---> a800e37cf4c3 [2022-06-17T15:06:00.136Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T15:06:00.136Z] ---> Running in aa69acaf08e7 [2022-06-17T15:06:01.083Z] Still waiting to schedule task [2022-06-17T15:06:01.083Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2589’ is offline [2022-06-17T15:06:15.044Z] Removing intermediate container aa69acaf08e7 [2022-06-17T15:06:15.044Z] ---> c4fd16b248e2 [2022-06-17T15:06:15.044Z] Step 10/12 : COPY . . [2022-06-17T15:06:15.044Z] ---> 97fb7c27ae2c [2022-06-17T15:06:15.044Z] Step 11/12 : ARG MAKE='make build' [2022-06-17T15:06:15.044Z] ---> Running in 5accbc2d9be8 [2022-06-17T15:06:15.044Z] Removing intermediate container 5accbc2d9be8 [2022-06-17T15:06:15.044Z] ---> c0cc9d68f245 [2022-06-17T15:06:15.044Z] Step 12/12 : RUN $MAKE [2022-06-17T15:06:15.044Z] ---> Running in b860c3e16a66 [2022-06-17T15:06:15.044Z] noop [2022-06-17T15:06:15.044Z] Removing intermediate container b860c3e16a66 [2022-06-17T15:06:15.044Z] ---> 93daa53dec32 [2022-06-17T15:06:15.044Z] Successfully built 93daa53dec32 [2022-06-17T15:06:15.044Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:06:15.354Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T15:06:15.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:06:15.433Z] prd-ubuntu20.04-docker-8c-8g-2591 does not seem to be running inside a container [2022-06-17T15:06:15.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T15:06:15.887Z] $ docker top 83411be48b6a44bb7df315a0c3d1c2c0ce213f6ec9cb5c5a265b5ec451d215e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T15:06:16.240Z] + go version [2022-06-17T15:06:16.240Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T15:06:16.261Z] $ docker stop --time=1 83411be48b6a44bb7df315a0c3d1c2c0ce213f6ec9cb5c5a265b5ec451d215e2 [2022-06-17T15:06:17.566Z] $ docker rm -f 83411be48b6a44bb7df315a0c3d1c2c0ce213f6ec9cb5c5a265b5ec451d215e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:06:17.999Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T15:06:17.999Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:06:18.087Z] prd-ubuntu20.04-docker-8c-8g-2591 does not seem to be running inside a container [2022-06-17T15:06:18.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T15:06:18.545Z] $ docker top bdf3a87b7841c7df66fff6fffe5510993cefbbac5a7819a8646d7a1115a5506a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T15:06:18.908Z] + make test [2022-06-17T15:06:18.908Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T15:06:19.168Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-17T15:06:27.298Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-17T15:06:27.559Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements [2022-06-17T15:06:34.138Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T15:06:37.436Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T15:06:37.436Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T15:06:37.436Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T15:06:37.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T15:06:37.734Z] $ docker stop --time=1 bdf3a87b7841c7df66fff6fffe5510993cefbbac5a7819a8646d7a1115a5506a [2022-06-17T15:06:39.530Z] $ docker rm -f bdf3a87b7841c7df66fff6fffe5510993cefbbac5a7819a8646d7a1115a5506a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T15:06:39.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T15:06:39.999Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T15:06:40.510Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T15:06:40.798Z] + ls -al . [2022-06-17T15:06:40.798Z] total 192 [2022-06-17T15:06:40.798Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 15:06 . [2022-06-17T15:06:40.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 15:05 .. [2022-06-17T15:06:40.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 15:05 .git [2022-06-17T15:06:40.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:05 .github [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 17 15:05 .gitignore [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 15:05 .golangci.yml [2022-06-17T15:06:40.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 15:05 .semver [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 17 15:05 Attribution.txt [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 17 15:05 CHANGELOG.md [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 17 15:05 Dockerfile [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 15:05 GOVERNANCE.md [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 15:05 Jenkinsfile [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 15:05 LICENSE [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 17 15:05 Makefile [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 17 15:05 OWNERS.md [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 17 15:05 README.md [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 15:05 VERSION [2022-06-17T15:06:40.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 15:05 bin [2022-06-17T15:06:40.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:05 cmd [2022-06-17T15:06:40.798Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 17 15:06 coverage.out [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 17 15:05 go.mod [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 17 15:05 go.sum [2022-06-17T15:06:40.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:05 internal [2022-06-17T15:06:40.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:05 snap [2022-06-17T15:06:40.798Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 15:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:06:41.125Z] + 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=94db043223987bafc21c8bad326de67ff661989d --label arch=amd64 --label version=0.0.0 . [2022-06-17T15:06:41.125Z] Sending build context to Docker daemon 23.09MB [2022-06-17T15:06:41.125Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T15:06:41.125Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T15:06:41.125Z] ---> 93daa53dec32 [2022-06-17T15:06:41.125Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T15:06:41.386Z] ---> Running in 4f2f6a3f0c36 [2022-06-17T15:06:41.386Z] Removing intermediate container 4f2f6a3f0c36 [2022-06-17T15:06:41.386Z] ---> 77c8e64282ce [2022-06-17T15:06:41.386Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T15:06:41.386Z] ---> Running in 39ce611f4efd [2022-06-17T15:06:41.648Z] Removing intermediate container 39ce611f4efd [2022-06-17T15:06:41.648Z] ---> 8537eb1a2b9e [2022-06-17T15:06:41.648Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-17T15:06:41.648Z] ---> Running in da0ef991c27c [2022-06-17T15:06:41.648Z] Removing intermediate container da0ef991c27c [2022-06-17T15:06:41.648Z] ---> 7b62669ce9ae [2022-06-17T15:06:41.648Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:06:41.648Z] ---> Running in 1e187bd69e22 [2022-06-17T15:06:42.219Z] Removing intermediate container 1e187bd69e22 [2022-06-17T15:06:42.219Z] ---> 383f8a54edef [2022-06-17T15:06:42.219Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T15:06:42.219Z] ---> Running in cdf4eacecf74 [2022-06-17T15:06:42.479Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T15:06:43.421Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T15:06:43.681Z] OK: 224 MiB in 56 packages [2022-06-17T15:06:43.940Z] Removing intermediate container cdf4eacecf74 [2022-06-17T15:06:43.940Z] ---> c8ee6f5b6e51 [2022-06-17T15:06:43.940Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-17T15:06:44.199Z] ---> 90377d7c5ddb [2022-06-17T15:06:44.199Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T15:06:44.199Z] ---> Running in b0567a84c4d6 [2022-06-17T15:06:44.770Z] Removing intermediate container b0567a84c4d6 [2022-06-17T15:06:44.770Z] ---> e9f32cf4a814 [2022-06-17T15:06:44.770Z] Step 10/26 : COPY . . [2022-06-17T15:06:45.341Z] ---> 0af8c597910d [2022-06-17T15:06:45.341Z] Step 11/26 : ARG MAKE='make build' [2022-06-17T15:06:45.341Z] ---> Running in 094d9febbf9e [2022-06-17T15:06:45.600Z] Removing intermediate container 094d9febbf9e [2022-06-17T15:06:45.600Z] ---> 6060a2b26065 [2022-06-17T15:06:45.600Z] Step 12/26 : RUN $MAKE [2022-06-17T15:06:45.600Z] ---> Running in 97b14901c2ba [2022-06-17T15:06:45.859Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-17T15:07:07.817Z] Removing intermediate container 97b14901c2ba [2022-06-17T15:07:07.817Z] ---> fbbb60cc233f [2022-06-17T15:07:07.817Z] Step 13/26 : FROM alpine:3.14 [2022-06-17T15:07:07.817Z] 3.14: Pulling from library/alpine [2022-06-17T15:07:07.817Z] 8663204ce13b: Pulling fs layer [2022-06-17T15:07:07.817Z] 8663204ce13b: Verifying Checksum [2022-06-17T15:07:07.817Z] 8663204ce13b: Download complete [2022-06-17T15:07:07.817Z] 8663204ce13b: Pull complete [2022-06-17T15:07:07.817Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T15:07:07.817Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T15:07:07.817Z] ---> e04c818066af [2022-06-17T15:07:07.817Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-17T15:07:07.817Z] ---> Running in 61aa3afe6964 [2022-06-17T15:07:07.817Z] Removing intermediate container 61aa3afe6964 [2022-06-17T15:07:07.817Z] ---> e6b0f45867cc [2022-06-17T15:07:07.817Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:07:07.817Z] ---> Running in 3c8f78a8caee [2022-06-17T15:07:07.817Z] Removing intermediate container 3c8f78a8caee [2022-06-17T15:07:07.817Z] ---> 20fa911c576f [2022-06-17T15:07:07.818Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T15:07:07.818Z] ---> Running in 61067df117cf [2022-06-17T15:07:07.818Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-17T15:07:07.818Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-17T15:07:07.818Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T15:07:07.818Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T15:07:07.818Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T15:07:07.818Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T15:07:07.818Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T15:07:08.083Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T15:07:08.083Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T15:07:08.083Z] OK: 8 MiB in 20 packages [2022-06-17T15:07:08.653Z] Removing intermediate container 61067df117cf [2022-06-17T15:07:08.653Z] ---> 961ac625f3d6 [2022-06-17T15:07:08.653Z] Step 17/26 : WORKDIR / [2022-06-17T15:07:08.653Z] ---> Running in be2c56116bb9 [2022-06-17T15:07:08.653Z] Removing intermediate container be2c56116bb9 [2022-06-17T15:07:08.653Z] ---> cebbddc41e17 [2022-06-17T15:07:08.653Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-17T15:07:08.653Z] ---> f6b82de732e0 [2022-06-17T15:07:08.653Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-17T15:07:08.913Z] ---> a572bba5ab25 [2022-06-17T15:07:08.913Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-17T15:07:09.481Z] ---> eab1637eb660 [2022-06-17T15:07:09.481Z] Step 21/26 : EXPOSE 59900 [2022-06-17T15:07:09.481Z] ---> Running in e7aab01a3684 [2022-06-17T15:07:09.747Z] Removing intermediate container e7aab01a3684 [2022-06-17T15:07:09.747Z] ---> ab1a9bab40c4 [2022-06-17T15:07:09.747Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-17T15:07:09.747Z] ---> Running in d2164efccf93 [2022-06-17T15:07:09.747Z] Removing intermediate container d2164efccf93 [2022-06-17T15:07:09.747Z] ---> 6a945f0de39f [2022-06-17T15:07:09.747Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T15:07:09.747Z] ---> Running in b750f24cfa6b [2022-06-17T15:07:10.007Z] Removing intermediate container b750f24cfa6b [2022-06-17T15:07:10.007Z] ---> 7aa0e9f07fec [2022-06-17T15:07:10.007Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T15:07:10.007Z] ---> Running in ce5d3b0f1abc [2022-06-17T15:07:10.007Z] Removing intermediate container ce5d3b0f1abc [2022-06-17T15:07:10.007Z] ---> 4cd1d64d9e6a [2022-06-17T15:07:10.007Z] Step 25/26 : LABEL git_sha=94db043223987bafc21c8bad326de67ff661989d [2022-06-17T15:07:10.007Z] ---> Running in e4a671d41e10 [2022-06-17T15:07:10.267Z] Removing intermediate container e4a671d41e10 [2022-06-17T15:07:10.267Z] ---> 54cffd132abe [2022-06-17T15:07:10.267Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T15:07:10.267Z] ---> Running in 170f843b5576 [2022-06-17T15:07:10.267Z] Removing intermediate container 170f843b5576 [2022-06-17T15:07:10.267Z] ---> c6b91d2d95f5 [2022-06-17T15:07:10.267Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T15:07:10.267Z] Successfully built c6b91d2d95f5 [2022-06-17T15:07:10.267Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:07:10.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T15:07:10.702Z] [2022-06-17T15:07:10.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:07:11.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T15:07:11.003Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T15:07:11.003Z] 5eb5b503b376: Pulling fs layer [2022-06-17T15:07:11.003Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T15:07:11.003Z] ec43610c2a17: Pulling fs layer [2022-06-17T15:07:11.003Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T15:07:11.003Z] 33b1e0a273af: Pulling fs layer [2022-06-17T15:07:11.003Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T15:07:11.003Z] 2f39f015ded8: Pulling fs layer [2022-06-17T15:07:11.003Z] 3a2ae6a8a46f: Waiting [2022-06-17T15:07:11.003Z] 33b1e0a273af: Waiting [2022-06-17T15:07:11.003Z] 5d3b04190fa2: Waiting [2022-06-17T15:07:11.003Z] 5c69ac0246d0: Verifying Checksum [2022-06-17T15:07:11.003Z] 5c69ac0246d0: Download complete [2022-06-17T15:07:11.003Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-17T15:07:11.003Z] 3a2ae6a8a46f: Download complete [2022-06-17T15:07:11.003Z] 33b1e0a273af: Verifying Checksum [2022-06-17T15:07:11.003Z] 33b1e0a273af: Download complete [2022-06-17T15:07:11.263Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T15:07:11.263Z] 5d3b04190fa2: Download complete [2022-06-17T15:07:11.263Z] ec43610c2a17: Verifying Checksum [2022-06-17T15:07:11.263Z] ec43610c2a17: Download complete [2022-06-17T15:07:11.263Z] 5eb5b503b376: Verifying Checksum [2022-06-17T15:07:11.263Z] 5eb5b503b376: Download complete [2022-06-17T15:07:11.832Z] 2f39f015ded8: Download complete [2022-06-17T15:07:12.401Z] 5eb5b503b376: Pull complete [2022-06-17T15:07:12.660Z] 5c69ac0246d0: Pull complete [2022-06-17T15:07:12.921Z] ec43610c2a17: Pull complete [2022-06-17T15:07:13.181Z] 3a2ae6a8a46f: Pull complete [2022-06-17T15:07:13.448Z] 33b1e0a273af: Pull complete [2022-06-17T15:07:13.448Z] 5d3b04190fa2: Pull complete [2022-06-17T15:07:17.641Z] 2f39f015ded8: Pull complete [2022-06-17T15:07:17.641Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T15:07:17.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T15:07:17.641Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:07:17.737Z] prd-ubuntu20.04-docker-8c-8g-2591 does not seem to be running inside a container [2022-06-17T15:07:17.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T15:07:19.758Z] $ docker top dfc0d1737868bcd58fbe8a1d4e4fd612bc6bec5098bebb9681be27f819622b31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:07:20.138Z] ---> job-cost.sh [2022-06-17T15:07:20.138Z] lf-activate-venv: SKIPPING [2022-06-17T15:07:20.138Z] INFO: No Stack... [2022-06-17T15:07:20.397Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T15:07:20.966Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T15:07:21.258Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-17T15:07:21.258Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T15:07:21.271Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-8-stack-cost] [2022-06-17T15:07:21.277Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-8-stack-cost] did not exist. Created. [2022-06-17T15:07:21.278Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T15:07:21.577Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T15:07:21.603Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T15:07:21.609Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T15:07:21.642Z] $ docker stop --time=1 dfc0d1737868bcd58fbe8a1d4e4fd612bc6bec5098bebb9681be27f819622b31 [2022-06-17T15:07:22.831Z] $ docker rm -f dfc0d1737868bcd58fbe8a1d4e4fd612bc6bec5098bebb9681be27f819622b31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T15:07:37.370Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2592 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-17T15:07:37.382Z] Running in /w/workspace/device-virtual-go/8 [Pipeline] { [Pipeline] checkout [2022-06-17T15:07:37.459Z] The recommended git tool is: git [2022-06-17T15:07:44.045Z] using credential edgex-jenkins-ssh [2022-06-17T15:07:44.064Z] Cloning the remote Git repository [2022-06-17T15:07:44.123Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T15:07:44.206Z] > git init /w/workspace/device-virtual-go/8 # timeout=10 [2022-06-17T15:07:44.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T15:07:44.275Z] > git --version # timeout=10 [2022-06-17T15:07:44.294Z] > git --version # 'git version 2.25.1' [2022-06-17T15:07:44.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T15:07:44.428Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T15:07:47.048Z] Merging remotes/origin/main commit dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a into PR head commit 94db043223987bafc21c8bad326de67ff661989d [2022-06-17T15:07:47.279Z] Merge succeeded, producing 94db043223987bafc21c8bad326de67ff661989d [2022-06-17T15:07:47.280Z] Checking out Revision 94db043223987bafc21c8bad326de67ff661989d (PR-290) [2022-06-17T15:07:46.426Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-17T15:07:46.443Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T15:07:46.473Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-17T15:07:46.515Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T15:07:46.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T15:07:46.527Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T15:07:47.068Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T15:07:47.093Z] > git checkout -f 94db043223987bafc21c8bad326de67ff661989d # timeout=10 [2022-06-17T15:07:47.188Z] > git remote # timeout=10 [2022-06-17T15:07:47.206Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T15:07:47.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T15:07:47.231Z] > git merge dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 [2022-06-17T15:07:47.256Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T15:07:47.288Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T15:07:47.303Z] > git checkout -f 94db043223987bafc21c8bad326de67ff661989d # timeout=10 [2022-06-17T15:07:51.436Z] Commit message: "fix(snap): Use local build snap for testing " [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T15:07:52.296Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T15:07:52.297Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T15:07:52.297Z] Dload Upload Total Spent Left Speed [2022-06-17T15:07:52.297Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51483 0 --:--:-- --:--:-- --:--:-- 51483 [Pipeline] sh [2022-06-17T15:07:52.974Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T15:07:53.316Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T15:07:53.316Z] + sudo tee /etc/docker/daemon.new [2022-06-17T15:07:53.316Z] { [2022-06-17T15:07:53.316Z] "registry-mirrors": [ [2022-06-17T15:07:53.316Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T15:07:53.316Z] ], [2022-06-17T15:07:53.316Z] "bip": "10.250.0.254/24", [2022-06-17T15:07:53.316Z] "hosts": [ [2022-06-17T15:07:53.316Z] "tcp://0.0.0.0:5555", [2022-06-17T15:07:53.316Z] "unix:///var/run/docker.sock" [2022-06-17T15:07:53.316Z] ], [2022-06-17T15:07:53.316Z] "mtu": 1458, [2022-06-17T15:07:53.316Z] "selinux-enabled": true, [2022-06-17T15:07:53.316Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T15:07:53.316Z] } [Pipeline] sh [2022-06-17T15:07:53.676Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T15:07:54.020Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T15:08:12.349Z] provisioning config files... [2022-06-17T15:08:12.371Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/8@tmp/config7265997219123938551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:08:12.723Z] ---> docker-login.sh [2022-06-17T15:08:12.723Z] nexus3.edgexfoundry.org:10001 [2022-06-17T15:08:13.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:08:13.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:08:13.594Z] Configure a credential helper to remove this warning. See [2022-06-17T15:08:13.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:08:13.594Z] [2022-06-17T15:08:13.594Z] Login Succeeded [2022-06-17T15:08:13.594Z] nexus3.edgexfoundry.org:10002 [2022-06-17T15:08:13.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:08:13.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:08:13.868Z] Configure a credential helper to remove this warning. See [2022-06-17T15:08:13.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:08:13.868Z] [2022-06-17T15:08:13.868Z] Login Succeeded [2022-06-17T15:08:13.868Z] nexus3.edgexfoundry.org:10003 [2022-06-17T15:08:14.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:08:14.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:08:14.469Z] Configure a credential helper to remove this warning. See [2022-06-17T15:08:14.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:08:14.469Z] [2022-06-17T15:08:14.469Z] Login Succeeded [2022-06-17T15:08:14.469Z] nexus3.edgexfoundry.org:10004 [2022-06-17T15:08:14.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:08:14.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:08:14.754Z] Configure a credential helper to remove this warning. See [2022-06-17T15:08:14.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:08:14.754Z] [2022-06-17T15:08:14.754Z] Login Succeeded [2022-06-17T15:08:15.029Z] docker.io [2022-06-17T15:08:15.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T15:08:15.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T15:08:15.578Z] Configure a credential helper to remove this warning. See [2022-06-17T15:08:15.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T15:08:15.578Z] [2022-06-17T15:08:15.578Z] Login Succeeded [2022-06-17T15:08:15.578Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T15:08:15.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T15:08:16.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T15:08:16.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T15:08:16.171Z] ========================================================= [2022-06-17T15:08:16.171Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T15:08:16.171Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:08:16.559Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T15:08:17.158Z] Sending build context to Docker daemon 11.67MB [2022-06-17T15:08:17.158Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T15:08:17.158Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T15:08:17.158Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T15:08:17.158Z] 9b3977197b4f: Pulling fs layer [2022-06-17T15:08:17.158Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T15:08:17.158Z] 94645a83ff95: Pulling fs layer [2022-06-17T15:08:17.158Z] e6fb740bc735: Pulling fs layer [2022-06-17T15:08:17.158Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T15:08:17.158Z] 355e64cbe906: Pulling fs layer [2022-06-17T15:08:17.158Z] e6fb740bc735: Waiting [2022-06-17T15:08:17.158Z] 63ab81a10011: Pulling fs layer [2022-06-17T15:08:17.158Z] 555d1d1c4555: Pulling fs layer [2022-06-17T15:08:17.158Z] 3a77bd46dcc9: Waiting [2022-06-17T15:08:17.158Z] 355e64cbe906: Waiting [2022-06-17T15:08:17.158Z] 63ab81a10011: Waiting [2022-06-17T15:08:17.158Z] 7d9057610161: Pulling fs layer [2022-06-17T15:08:17.158Z] 555d1d1c4555: Waiting [2022-06-17T15:08:17.158Z] 7d9057610161: Waiting [2022-06-17T15:08:17.158Z] 94645a83ff95: Download complete [2022-06-17T15:08:17.158Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T15:08:17.158Z] 1a89e8eeedd5: Download complete [2022-06-17T15:08:17.158Z] 3a77bd46dcc9: Download complete [2022-06-17T15:08:17.439Z] 355e64cbe906: Download complete [2022-06-17T15:08:17.439Z] 9b3977197b4f: Download complete [2022-06-17T15:08:17.439Z] 63ab81a10011: Verifying Checksum [2022-06-17T15:08:17.439Z] 63ab81a10011: Download complete [2022-06-17T15:08:18.422Z] 9b3977197b4f: Pull complete [2022-06-17T15:08:18.422Z] 7d9057610161: Verifying Checksum [2022-06-17T15:08:18.422Z] 7d9057610161: Download complete [2022-06-17T15:08:19.023Z] 1a89e8eeedd5: Pull complete [2022-06-17T15:08:19.023Z] 94645a83ff95: Pull complete [2022-06-17T15:08:19.296Z] 555d1d1c4555: Verifying Checksum [2022-06-17T15:08:19.296Z] 555d1d1c4555: Download complete [2022-06-17T15:08:19.890Z] e6fb740bc735: Verifying Checksum [2022-06-17T15:08:19.890Z] e6fb740bc735: Download complete [2022-06-17T15:08:32.312Z] e6fb740bc735: Pull complete [2022-06-17T15:08:32.601Z] 3a77bd46dcc9: Pull complete [2022-06-17T15:08:32.892Z] 355e64cbe906: Pull complete [2022-06-17T15:08:33.171Z] 63ab81a10011: Pull complete [2022-06-17T15:08:39.905Z] 555d1d1c4555: Pull complete [2022-06-17T15:08:41.343Z] 7d9057610161: Pull complete [2022-06-17T15:08:41.343Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T15:08:41.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T15:08:41.343Z] ---> 819e984ddca1 [2022-06-17T15:08:41.343Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T15:08:42.785Z] ---> Running in fd66ab9d91c9 [2022-06-17T15:08:42.785Z] Removing intermediate container fd66ab9d91c9 [2022-06-17T15:08:42.785Z] ---> 16c16ac13f2f [2022-06-17T15:08:42.785Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T15:08:42.785Z] ---> Running in 11a0ab0d56e1 [2022-06-17T15:08:43.060Z] Removing intermediate container 11a0ab0d56e1 [2022-06-17T15:08:43.060Z] ---> c1ae3522808b [2022-06-17T15:08:43.060Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-17T15:08:43.335Z] ---> Running in a5ca2f9fcabb [2022-06-17T15:08:43.612Z] Removing intermediate container a5ca2f9fcabb [2022-06-17T15:08:43.612Z] ---> d9e33e93737a [2022-06-17T15:08:43.612Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:08:43.612Z] ---> Running in f8e18d9281f4 [2022-06-17T15:08:47.007Z] Removing intermediate container f8e18d9281f4 [2022-06-17T15:08:47.007Z] ---> 724ef5c8aefa [2022-06-17T15:08:47.007Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T15:08:47.007Z] ---> Running in 270c9b3aae9b [2022-06-17T15:08:47.606Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T15:08:48.588Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T15:08:49.186Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T15:08:49.460Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T15:08:49.460Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T15:08:49.738Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T15:08:49.738Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T15:08:49.738Z] OK: 224 MiB in 56 packages [2022-06-17T15:08:50.724Z] Removing intermediate container 270c9b3aae9b [2022-06-17T15:08:50.724Z] ---> ba0a5fecbda7 [2022-06-17T15:08:50.724Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-17T15:08:51.333Z] ---> 6ed4dc9e415e [2022-06-17T15:08:51.333Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T15:08:51.333Z] ---> Running in 4a7d50df2527 [2022-06-17T15:09:38.335Z] Removing intermediate container 4a7d50df2527 [2022-06-17T15:09:38.335Z] ---> b3ae761da10a [2022-06-17T15:09:38.335Z] Step 10/12 : COPY . . [2022-06-17T15:09:38.335Z] ---> 78e8f20c083c [2022-06-17T15:09:38.335Z] Step 11/12 : ARG MAKE='make build' [2022-06-17T15:09:38.335Z] ---> Running in d0e23dcdab26 [2022-06-17T15:09:38.335Z] Removing intermediate container d0e23dcdab26 [2022-06-17T15:09:38.335Z] ---> 2a5ad156b0d6 [2022-06-17T15:09:38.335Z] Step 12/12 : RUN $MAKE [2022-06-17T15:09:38.335Z] ---> Running in 8ae2c5701a6d [2022-06-17T15:09:38.335Z] noop [2022-06-17T15:09:38.335Z] Removing intermediate container 8ae2c5701a6d [2022-06-17T15:09:38.335Z] ---> 7466fbf8467d [2022-06-17T15:09:38.335Z] Successfully built 7466fbf8467d [2022-06-17T15:09:38.335Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:09:38.693Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T15:09:38.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:09:38.916Z] prd-ubuntu20.04-docker-arm64-4c-16g-2592 does not seem to be running inside a container [2022-06-17T15:09:38.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/8 -v /w/workspace/device-virtual-go/8:/w/workspace/device-virtual-go/8:rw,z -v /w/workspace/device-virtual-go/8@tmp:/w/workspace/device-virtual-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T15:09:40.171Z] $ docker top 21f5689665f4ec1120edfdd549357125a565cb71c5e53121c600af368934ced8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T15:09:41.065Z] + go version [2022-06-17T15:09:41.066Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T15:09:41.091Z] $ docker stop --time=1 21f5689665f4ec1120edfdd549357125a565cb71c5e53121c600af368934ced8 [2022-06-17T15:09:42.662Z] $ docker rm -f 21f5689665f4ec1120edfdd549357125a565cb71c5e53121c600af368934ced8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:09:43.242Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T15:09:43.242Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:09:43.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-2592 does not seem to be running inside a container [2022-06-17T15:09:43.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/8 -v /w/workspace/device-virtual-go/8:/w/workspace/device-virtual-go/8:rw,z -v /w/workspace/device-virtual-go/8@tmp:/w/workspace/device-virtual-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T15:09:44.750Z] $ docker top 09266ba83de73c6105e09757c309774f26dd02c02c52575faab28ac86e766916 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T15:09:45.682Z] + make test [2022-06-17T15:09:45.682Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T15:09:47.125Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-17T15:11:08.987Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-17T15:11:08.987Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements [2022-06-17T15:11:08.987Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T15:11:08.987Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T15:11:27.334Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T15:11:27.334Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T15:11:27.334Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T15:11:30.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T15:11:30.757Z] $ docker stop --time=1 09266ba83de73c6105e09757c309774f26dd02c02c52575faab28ac86e766916 [2022-06-17T15:11:32.509Z] $ docker rm -f 09266ba83de73c6105e09757c309774f26dd02c02c52575faab28ac86e766916 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T15:11:33.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T15:11:33.457Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T15:11:33.949Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T15:11:34.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T15:11:34.679Z] + ls -al . [2022-06-17T15:11:34.679Z] total 188 [2022-06-17T15:11:34.679Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 15:11 . [2022-06-17T15:11:34.679Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 15:07 .. [2022-06-17T15:11:34.679Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 15:07 .git [2022-06-17T15:11:34.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:07 .github [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 17 15:07 .gitignore [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 15:07 .golangci.yml [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 17 15:07 Attribution.txt [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 17 15:07 CHANGELOG.md [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 17 15:07 Dockerfile [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 15:07 GOVERNANCE.md [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 15:07 Jenkinsfile [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 15:07 LICENSE [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 17 15:07 Makefile [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 17 15:07 OWNERS.md [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 17 15:07 README.md [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 15:05 VERSION [2022-06-17T15:11:34.679Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 15:07 bin [2022-06-17T15:11:34.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:07 cmd [2022-06-17T15:11:34.679Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 17 15:11 coverage.out [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 17 15:07 go.mod [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 17 15:07 go.sum [2022-06-17T15:11:34.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:07 internal [2022-06-17T15:11:34.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:07 snap [2022-06-17T15:11:34.679Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:11:35.039Z] + 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=94db043223987bafc21c8bad326de67ff661989d --label arch=arm64 --label version=0.0.0 . [2022-06-17T15:11:35.644Z] Sending build context to Docker daemon 11.72MB [2022-06-17T15:11:35.644Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T15:11:35.644Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T15:11:35.644Z] ---> 7466fbf8467d [2022-06-17T15:11:35.644Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T15:11:35.644Z] ---> Running in e7daaedf672d [2022-06-17T15:11:35.917Z] Removing intermediate container e7daaedf672d [2022-06-17T15:11:35.917Z] ---> 623d5f8017ee [2022-06-17T15:11:35.917Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T15:11:35.917Z] ---> Running in 1bdac3311f80 [2022-06-17T15:11:36.189Z] Removing intermediate container 1bdac3311f80 [2022-06-17T15:11:36.189Z] ---> fa662a4ba4e7 [2022-06-17T15:11:36.467Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-17T15:11:36.467Z] ---> Running in 7d9e349a0167 [2022-06-17T15:11:36.742Z] Removing intermediate container 7d9e349a0167 [2022-06-17T15:11:36.742Z] ---> 3aed26e96a1c [2022-06-17T15:11:36.742Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:11:36.742Z] ---> Running in 9a462eab7f65 [2022-06-17T15:11:38.715Z] Removing intermediate container 9a462eab7f65 [2022-06-17T15:11:38.715Z] ---> b82fccd96451 [2022-06-17T15:11:38.715Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T15:11:38.715Z] ---> Running in a46863cb707c [2022-06-17T15:11:39.319Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T15:11:40.295Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T15:11:41.273Z] OK: 224 MiB in 56 packages [2022-06-17T15:11:41.867Z] Removing intermediate container a46863cb707c [2022-06-17T15:11:41.867Z] ---> 02ad30e0663e [2022-06-17T15:11:41.867Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-17T15:11:42.466Z] ---> 591ea3344478 [2022-06-17T15:11:42.466Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T15:11:42.466Z] ---> Running in f03a4d1d0547 [2022-06-17T15:11:44.436Z] Removing intermediate container f03a4d1d0547 [2022-06-17T15:11:44.436Z] ---> 0d5e8117a580 [2022-06-17T15:11:44.436Z] Step 10/26 : COPY . . [2022-06-17T15:11:45.408Z] ---> 01cefe6a0526 [2022-06-17T15:11:45.408Z] Step 11/26 : ARG MAKE='make build' [2022-06-17T15:11:45.408Z] ---> Running in 6f4ef5ed0275 [2022-06-17T15:11:45.679Z] Removing intermediate container 6f4ef5ed0275 [2022-06-17T15:11:45.679Z] ---> 257b89e4e7eb [2022-06-17T15:11:45.679Z] Step 12/26 : RUN $MAKE [2022-06-17T15:11:45.679Z] ---> Running in fc2b5ce0b712 [2022-06-17T15:11:46.655Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-17T15:13:53.574Z] Removing intermediate container fc2b5ce0b712 [2022-06-17T15:13:53.574Z] ---> 6e6d34df4599 [2022-06-17T15:13:53.574Z] Step 13/26 : FROM alpine:3.14 [2022-06-17T15:13:53.574Z] 3.14: Pulling from library/alpine [2022-06-17T15:13:53.574Z] 455c02918c45: Pulling fs layer [2022-06-17T15:13:53.574Z] 455c02918c45: Verifying Checksum [2022-06-17T15:13:53.574Z] 455c02918c45: Download complete [2022-06-17T15:13:53.574Z] 455c02918c45: Pull complete [2022-06-17T15:13:53.574Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T15:13:53.574Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T15:13:53.574Z] ---> ac73e934f311 [2022-06-17T15:13:53.574Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-17T15:13:53.574Z] ---> Running in eac8fadb661a [2022-06-17T15:13:53.574Z] Removing intermediate container eac8fadb661a [2022-06-17T15:13:53.574Z] ---> 9ac68e652f29 [2022-06-17T15:13:53.574Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T15:13:53.574Z] ---> Running in 3fe2f60e6413 [2022-06-17T15:13:53.574Z] Removing intermediate container 3fe2f60e6413 [2022-06-17T15:13:53.574Z] ---> 109ebb8d8d61 [2022-06-17T15:13:53.574Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T15:13:53.574Z] ---> Running in dea5770af77f [2022-06-17T15:13:53.574Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-17T15:13:53.574Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-17T15:13:53.574Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T15:13:53.574Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T15:13:53.574Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T15:13:53.574Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T15:13:53.574Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T15:13:53.574Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T15:13:53.574Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T15:13:53.574Z] OK: 8 MiB in 20 packages [2022-06-17T15:13:53.574Z] Removing intermediate container dea5770af77f [2022-06-17T15:13:53.574Z] ---> 6f3dfc89e599 [2022-06-17T15:13:53.574Z] Step 17/26 : WORKDIR / [2022-06-17T15:13:53.574Z] ---> Running in 41a2fcc9e976 [2022-06-17T15:13:53.574Z] Removing intermediate container 41a2fcc9e976 [2022-06-17T15:13:53.574Z] ---> 615f972619c7 [2022-06-17T15:13:53.574Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-17T15:13:53.574Z] ---> 77c67377ccdb [2022-06-17T15:13:53.574Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-17T15:13:53.574Z] ---> aa6869861546 [2022-06-17T15:13:53.574Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-17T15:13:53.574Z] ---> 47180c608ad1 [2022-06-17T15:13:53.574Z] Step 21/26 : EXPOSE 59900 [2022-06-17T15:13:53.574Z] ---> Running in f66cf9429c8d [2022-06-17T15:13:53.574Z] Removing intermediate container f66cf9429c8d [2022-06-17T15:13:53.574Z] ---> ef1f4cfa030e [2022-06-17T15:13:53.574Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-17T15:13:53.574Z] ---> Running in 4817def60e28 [2022-06-17T15:13:53.574Z] Removing intermediate container 4817def60e28 [2022-06-17T15:13:53.574Z] ---> 5541e9dd8d4e [2022-06-17T15:13:53.574Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T15:13:53.574Z] ---> Running in 2efdf1f0a06b [2022-06-17T15:13:53.574Z] Removing intermediate container 2efdf1f0a06b [2022-06-17T15:13:53.574Z] ---> 78ba72c32581 [2022-06-17T15:13:53.574Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T15:13:53.574Z] ---> Running in 3996608aff83 [2022-06-17T15:13:53.574Z] Removing intermediate container 3996608aff83 [2022-06-17T15:13:53.574Z] ---> d3ed0bfe3135 [2022-06-17T15:13:53.574Z] Step 25/26 : LABEL git_sha=94db043223987bafc21c8bad326de67ff661989d [2022-06-17T15:13:53.574Z] ---> Running in b7824b893805 [2022-06-17T15:13:53.574Z] Removing intermediate container b7824b893805 [2022-06-17T15:13:53.574Z] ---> 26e552cf8d9d [2022-06-17T15:13:53.574Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T15:13:53.574Z] ---> Running in 2b30939a685a [2022-06-17T15:13:53.574Z] Removing intermediate container 2b30939a685a [2022-06-17T15:13:53.574Z] ---> ffb40bba39e1 [2022-06-17T15:13:53.574Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T15:13:53.574Z] Successfully built ffb40bba39e1 [2022-06-17T15:13:53.574Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:13:54.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T15:13:54.035Z] [2022-06-17T15:13:54.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:13:54.389Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T15:13:54.663Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T15:13:54.663Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T15:13:54.663Z] 04944245beec: Pulling fs layer [2022-06-17T15:13:54.663Z] 699f458cf7ca: Pulling fs layer [2022-06-17T15:13:54.663Z] 765212b225bb: Pulling fs layer [2022-06-17T15:13:54.663Z] f23df028b6ca: Pulling fs layer [2022-06-17T15:13:54.663Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T15:13:54.663Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T15:13:54.663Z] f23df028b6ca: Waiting [2022-06-17T15:13:54.663Z] d65c8cfc05b1: Waiting [2022-06-17T15:13:54.663Z] 2437ff75d9bd: Waiting [2022-06-17T15:13:54.663Z] 765212b225bb: Waiting [2022-06-17T15:13:54.663Z] 04944245beec: Verifying Checksum [2022-06-17T15:13:54.663Z] 04944245beec: Download complete [2022-06-17T15:13:54.663Z] 765212b225bb: Verifying Checksum [2022-06-17T15:13:54.663Z] 765212b225bb: Download complete [2022-06-17T15:13:54.663Z] f23df028b6ca: Verifying Checksum [2022-06-17T15:13:54.663Z] f23df028b6ca: Download complete [2022-06-17T15:13:54.663Z] d65c8cfc05b1: Download complete [2022-06-17T15:13:54.937Z] 699f458cf7ca: Verifying Checksum [2022-06-17T15:13:54.937Z] 699f458cf7ca: Download complete [2022-06-17T15:13:55.213Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T15:13:55.213Z] 8998bd30e6a1: Download complete [2022-06-17T15:13:57.200Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T15:13:57.200Z] 2437ff75d9bd: Download complete [2022-06-17T15:13:59.848Z] 8998bd30e6a1: Pull complete [2022-06-17T15:14:00.131Z] 04944245beec: Pull complete [2022-06-17T15:14:01.569Z] 699f458cf7ca: Pull complete [2022-06-17T15:14:01.844Z] 765212b225bb: Pull complete [2022-06-17T15:14:02.442Z] f23df028b6ca: Pull complete [2022-06-17T15:14:02.716Z] d65c8cfc05b1: Pull complete [2022-06-17T15:14:17.827Z] 2437ff75d9bd: Pull complete [2022-06-17T15:14:17.827Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T15:14:17.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T15:14:17.827Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:14:18.065Z] prd-ubuntu20.04-docker-arm64-4c-16g-2592 does not seem to be running inside a container [2022-06-17T15:14:18.154Z] $ 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/8 -v /w/workspace/device-virtual-go/8:/w/workspace/device-virtual-go/8:rw,z -v /w/workspace/device-virtual-go/8@tmp:/w/workspace/device-virtual-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T15:14:20.651Z] $ docker top 077a54873f5f922e25fc7342a409dbd7e4605b9721ec375733ef63ab0e4d6f84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:14:21.551Z] ---> job-cost.sh [2022-06-17T15:14:21.552Z] lf-activate-venv: SKIPPING [2022-06-17T15:14:21.552Z] INFO: No Stack... [2022-06-17T15:14:21.828Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T15:14:22.810Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T15:14:23.479Z] + cat /w/workspace/device-virtual-go/8/archives/cost.csv [2022-06-17T15:14:23.479Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T15:14:23.543Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-8-stack-cost] [2022-06-17T15:14:23.550Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-8-stack-cost] did not exist. Created. [2022-06-17T15:14:23.550Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T15:14:24.245Z] /w/workspace/device-virtual-go/8@tmp/durable-11f3df58/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T15:14:24.927Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T15:14:25.001Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T15:14:25.057Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T15:14:25.067Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T15:14:25.265Z] $ docker stop --time=1 077a54873f5f922e25fc7342a409dbd7e4605b9721ec375733ef63ab0e4d6f84 [2022-06-17T15:14:26.724Z] $ docker rm -f 077a54873f5f922e25fc7342a409dbd7e4605b9721ec375733ef63ab0e4d6f84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-17T15:14:27.163Z] provisioning config files... [2022-06-17T15:14:27.172Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config3343987776492681370tmp [Pipeline] { [Pipeline] sh [2022-06-17T15:14:27.470Z] + set +x [2022-06-17T15:14:27.470Z] + curl -s https://codecov.io/bash [2022-06-17T15:14:27.470Z] + bash -s -- [2022-06-17T15:14:27.470Z] [2022-06-17T15:14:27.470Z] _____ _ [2022-06-17T15:14:27.470Z] / ____| | | [2022-06-17T15:14:27.470Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T15:14:27.470Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T15:14:27.470Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T15:14:27.470Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T15:14:27.470Z] Bash-1.0.6 [2022-06-17T15:14:27.470Z] [2022-06-17T15:14:27.470Z] [2022-06-17T15:14:27.470Z] ==> git version 2.25.1 found [2022-06-17T15:14:27.470Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-17T15:14:27.470Z] Release-Date: 2020-01-08 [2022-06-17T15:14:27.470Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-17T15:14:27.470Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T15:14:27.470Z] ==> Jenkins CI detected. [2022-06-17T15:14:27.470Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-17T15:14:27.470Z] project root: . [2022-06-17T15:14:27.470Z] --> token set from env [2022-06-17T15:14:27.470Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T15:14:27.470Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T15:14:27.470Z] ==> Python coveragepy not found [2022-06-17T15:14:27.470Z] ==> Searching for coverage reports in: [2022-06-17T15:14:27.470Z] + . [2022-06-17T15:14:27.470Z] -> Found 1 reports [2022-06-17T15:14:27.470Z] ==> Detecting git/mercurial file structure [2022-06-17T15:14:27.470Z] ==> Reading reports [2022-06-17T15:14:27.470Z] + ./coverage.out bytes=44128 [2022-06-17T15:14:27.470Z] ==> Appending adjustments [2022-06-17T15:14:27.470Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T15:14:27.733Z] + Found adjustments [2022-06-17T15:14:27.733Z] ==> Gzipping contents [2022-06-17T15:14:27.733Z] 8.0K /tmp/codecov.Gi7hUY.gz [2022-06-17T15:14:27.733Z] ==> Uploading reports [2022-06-17T15:14:27.733Z] url: https://codecov.io [2022-06-17T15:14:27.733Z] query: branch=PR-290&commit=94db043223987bafc21c8bad326de67ff661989d&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-17T15:14:27.733Z] -> Pinging Codecov [2022-06-17T15:14:27.733Z] 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=94db043223987bafc21c8bad326de67ff661989d&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-17T15:14:27.733Z] -> Uploading to [2022-06-17T15:14:27.733Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/5E52B4B073DB2E39498172D8E973AA87/94db043223987bafc21c8bad326de67ff661989d/eec51c66-90fb-4b1f-b237-8f89b1d60670.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T151427Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75ef7664ef0318f7479e5905e31fc612d6980152419dd59caac85fc0b06c9004 [2022-06-17T15:14:27.994Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T15:14:27.994Z] Dload Upload Total Spent Left Speed [2022-06-17T15:14:27.994Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5511 0 0 100 5511 0 24602 --:--:-- --:--:-- --:--:-- 24602 [2022-06-17T15:14:27.994Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/94db043223987bafc21c8bad326de67ff661989d [Pipeline] } [2022-06-17T15:14:28.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-17T15:14:28.735Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-17T15:14:28.735Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T15:14:28.735Z] total 16 [2022-06-17T15:14:28.735Z] drwxr-xr-x 3 root root 4096 Jun 17 15:07 . [2022-06-17T15:14:28.735Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 15:07 .. [2022-06-17T15:14:28.735Z] drwxr-xr-x 2 root root 4096 Jun 17 15:07 cost [2022-06-17T15:14:28.735Z] -rw-r--r-- 1 root root 88 Jun 17 15:07 cost.csv [2022-06-17T15:14:28.735Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T15:14:28.735Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T15:14:28.735Z] total 16 [2022-06-17T15:14:28.735Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 15:07 . [2022-06-17T15:14:28.735Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 15:07 .. [2022-06-17T15:14:28.735Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 15:07 cost [2022-06-17T15:14:28.735Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 17 15:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:14:29.034Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:14:29.900Z] ---> package-listing.sh [2022-06-17T15:14:29.900Z] ++ facter osfamily [2022-06-17T15:14:29.900Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T15:14:30.161Z] + OS_FAMILY=debian [2022-06-17T15:14:30.161Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-17T15:14:30.161Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T15:14:30.161Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T15:14:30.161Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T15:14:30.161Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T15:14:30.161Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-17T15:14:30.161Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T15:14:30.161Z] + case "${OS_FAMILY}" in [2022-06-17T15:14:30.161Z] + dpkg -l [2022-06-17T15:14:30.161Z] + grep '^ii' [2022-06-17T15:14:30.161Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T15:14:30.161Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T15:14:30.161Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T15:14:30.161Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-17T15:14:30.161Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-17T15:14:30.161Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-290/archives/ [Pipeline] echo [2022-06-17T15:14:30.180Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T15:14:30.459Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T15:14:31.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T15:14:31.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T15:14:31.108Z] prd-ubuntu20.04-docker-8c-8g-2591 does not seem to be running inside a container [2022-06-17T15:14:31.161Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T15:14:31.411Z] $ docker top 7925ab1accf3a446438e22c5277d4bd918354eb4b1ad3d0c87914df570363b26 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T15:14:31.755Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T15:14:32.042Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T15:14:32.332Z] + ls /var/log/sa-host [2022-06-17T15:14:32.332Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T15:14:32.523Z] provisioning config files... [2022-06-17T15:14:32.533Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config3462485866744952600tmp [Pipeline] { [Pipeline] echo [2022-06-17T15:14:32.547Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:14:32.834Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T15:14:32.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:14:33.188Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T15:14:33.198Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:14:33.484Z] ---> sudo-logs.sh [2022-06-17T15:14:33.484Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T15:14:33.513Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:14:33.800Z] ---> job-cost.sh [2022-06-17T15:14:33.800Z] lf-activate-venv: SKIPPING [2022-06-17T15:14:33.800Z] DEBUG: total: 0.2199999988079071 [2022-06-17T15:14:33.800Z] INFO: Retrieving Stack Cost... [2022-06-17T15:14:34.060Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T15:14:34.630Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T15:14:34.640Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T15:14:34.923Z] ---> logs-deploy.sh [2022-06-17T15:14:34.923Z] lf-activate-venv: SKIPPING [2022-06-17T15:14:34.923Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/8 [2022-06-17T15:14:34.923Z] INFO: archiving workspace using pattern(s): [2022-06-17T15:14:35.865Z] Archives upload complete. [2022-06-17T15:14:35.865Z] INFO: archiving logs to Nexus