Pull request #290 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a rather than 9b9597b8dff2099b99b4d2615a1fe886119bd74a 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-ssh6177125995604814811.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-ssh16743154748537278623.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5744097034334426698.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1702192084537647709.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh15744441063582313501.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15116207519098743165.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2393 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 9b9597b8dff2099b99b4d2615a1fe886119bd74a Merge succeeded, producing 9b9597b8dff2099b99b4d2615a1fe886119bd74a Checking out Revision 9b9597b8dff2099b99b4d2615a1fe886119bd74a (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 9b9597b8dff2099b99b4d2615a1fe886119bd74a # 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 9b9597b8dff2099b99b4d2615a1fe886119bd74a # timeout=10 Commit message: "fix(snap): Load and export an .env file in bash" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-14T13:47:55.562Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-14T13:47:55.745Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-14T13:47:55.831Z] ========================================================= [2022-06-14T13:47:55.831Z] EdgeX Global Pipelines Version Info [2022-06-14T13:47:55.831Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:47:56.603Z] ------------------- [2022-06-14T13:47:56.603Z] stable info: [2022-06-14T13:47:56.603Z] ------------------- [2022-06-14T13:47:56.603Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-14T13:47:56.603Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-14T13:47:56.603Z] Message: update stable to v1.0.234 [2022-06-14T13:47:57.175Z] ------------------- [2022-06-14T13:47:57.175Z] experimental info: [2022-06-14T13:47:57.175Z] ------------------- [2022-06-14T13:47:57.175Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-14T13:47:57.175Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-14T13:47:57.175Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-14T13:47:57.517Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-14T13:47:57.558Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-14T13:47:57.600Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-14T13:47:57.642Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-14T13:47:57.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-14T13:47:57.726Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-14T13:47:57.772Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-14T13:47:57.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-14T13:47:57.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-14T13:47:57.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-14T13:47:57.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-14T13:47:57.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-14T13:47:58.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-14T13:47:58.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-14T13:47:58.098Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-14T13:47:58.137Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-14T13:47:58.173Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-14T13:47:58.207Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-14T13:47:58.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-14T13:47:58.290Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-14T13:47:58.325Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-14T13:47:58.367Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-14T13:47:58.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-14T13:47:58.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-14T13:47:58.493Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-14T13:47:58.534Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-14T13:47:58.572Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-14T13:47:58.610Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-14T13:47:58.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-14T13:47:58.689Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-14T13:47:58.734Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b9597b8dff2099b99b4d2615a1fe886119bd74a [Pipeline] echo [2022-06-14T13:47:58.777Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b9597b [Pipeline] echo [2022-06-14T13:47:58.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-14T13:47:58.949Z] provisioning config files... [2022-06-14T13:47:58.962Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config422836300082280322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:47:59.341Z] ---> docker-login.sh [2022-06-14T13:47:59.341Z] nexus3.edgexfoundry.org:10001 [2022-06-14T13:47:59.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:47:59.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:47:59.602Z] Configure a credential helper to remove this warning. See [2022-06-14T13:47:59.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:47:59.602Z] [2022-06-14T13:47:59.602Z] Login Succeeded [2022-06-14T13:47:59.602Z] nexus3.edgexfoundry.org:10002 [2022-06-14T13:47:59.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:47:59.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:47:59.863Z] Configure a credential helper to remove this warning. See [2022-06-14T13:47:59.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:47:59.863Z] [2022-06-14T13:47:59.863Z] Login Succeeded [2022-06-14T13:47:59.863Z] nexus3.edgexfoundry.org:10003 [2022-06-14T13:47:59.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:47:59.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:47:59.863Z] Configure a credential helper to remove this warning. See [2022-06-14T13:47:59.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:47:59.863Z] [2022-06-14T13:47:59.863Z] Login Succeeded [2022-06-14T13:47:59.863Z] nexus3.edgexfoundry.org:10004 [2022-06-14T13:48:00.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:48:00.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:48:00.125Z] Configure a credential helper to remove this warning. See [2022-06-14T13:48:00.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:48:00.125Z] [2022-06-14T13:48:00.125Z] Login Succeeded [2022-06-14T13:48:00.125Z] docker.io [2022-06-14T13:48:00.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:48:00.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:48:00.697Z] Configure a credential helper to remove this warning. See [2022-06-14T13:48:00.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:48:00.697Z] [2022-06-14T13:48:00.697Z] Login Succeeded [2022-06-14T13:48:00.697Z] ---> docker-login.sh ends [Pipeline] } [2022-06-14T13:48:00.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-14T13:48:01.341Z] + git rev-list -1 --merges 9b9597b8dff2099b99b4d2615a1fe886119bd74a~1..9b9597b8dff2099b99b4d2615a1fe886119bd74a [Pipeline] echo [2022-06-14T13:48:01.390Z] -----------> git rev-list -1 --merges 9b9597b8dff2099b99b4d2615a1fe886119bd74a~1..9b9597b8dff2099b99b4d2615a1fe886119bd74a 9b9597b8dff2099b99b4d2615a1fe886119bd74a [false] [Pipeline] sh [2022-06-14T13:48:01.702Z] + git log --format=format:%s -1 9b9597b8dff2099b99b4d2615a1fe886119bd74a [Pipeline] echo [2022-06-14T13:48:01.735Z] ========================================================= [2022-06-14T13:48:01.735Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-14T13:48:01.735Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-14T13:48:02.162Z] + git log --format=format:%s -1 9b9597b8dff2099b99b4d2615a1fe886119bd74a [Pipeline] echo [2022-06-14T13:48:02.196Z] [semverPrep] GIT_COMMIT: 9b9597b8dff2099b99b4d2615a1fe886119bd74a, Commit Message: fix(snap): Load and export an .env file in bash [Pipeline] echo [2022-06-14T13:48:02.226Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-14T13:48:02.615Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-14T13:48:02.615Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-14T13:48:02.615Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-14T13:48:02.615Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-14T13:48:02.615Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-14T13:48:02.615Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-14T13:48:02.615Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:48:03.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-14T13:48:03.167Z] [2022-06-14T13:48:03.167Z] 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-14T13:48:03.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-14T13:48:03.548Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-14T13:48:03.548Z] 42c077c10790: Pulling fs layer [2022-06-14T13:48:03.548Z] f63e77b7563a: Pulling fs layer [2022-06-14T13:48:03.548Z] bd5fdadae976: Pulling fs layer [2022-06-14T13:48:03.548Z] 205491f53016: Pulling fs layer [2022-06-14T13:48:03.548Z] df18705c85c3: Pulling fs layer [2022-06-14T13:48:03.548Z] bdb3f477010e: Pulling fs layer [2022-06-14T13:48:03.548Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-14T13:48:03.548Z] 2c6e9b1d212d: Pulling fs layer [2022-06-14T13:48:03.548Z] c8a8fc8e1c8f: Waiting [2022-06-14T13:48:03.548Z] 205491f53016: Waiting [2022-06-14T13:48:03.548Z] df18705c85c3: Waiting [2022-06-14T13:48:03.548Z] bdb8f0575790: Pulling fs layer [2022-06-14T13:48:03.548Z] 2c6e9b1d212d: Waiting [2022-06-14T13:48:03.548Z] 386e3cb2ff24: Pulling fs layer [2022-06-14T13:48:03.548Z] 2343380bae48: Pulling fs layer [2022-06-14T13:48:03.548Z] 386e3cb2ff24: Waiting [2022-06-14T13:48:03.548Z] 2343380bae48: Waiting [2022-06-14T13:48:03.548Z] f63e77b7563a: Verifying Checksum [2022-06-14T13:48:03.548Z] f63e77b7563a: Download complete [2022-06-14T13:48:03.548Z] 205491f53016: Verifying Checksum [2022-06-14T13:48:03.548Z] 205491f53016: Download complete [2022-06-14T13:48:03.810Z] df18705c85c3: Verifying Checksum [2022-06-14T13:48:03.810Z] df18705c85c3: Download complete [2022-06-14T13:48:03.810Z] bdb3f477010e: Verifying Checksum [2022-06-14T13:48:03.810Z] bdb3f477010e: Download complete [2022-06-14T13:48:03.810Z] bd5fdadae976: Verifying Checksum [2022-06-14T13:48:03.810Z] bd5fdadae976: Download complete [2022-06-14T13:48:03.810Z] 2c6e9b1d212d: Download complete [2022-06-14T13:48:03.810Z] bdb8f0575790: Verifying Checksum [2022-06-14T13:48:03.810Z] bdb8f0575790: Download complete [2022-06-14T13:48:03.810Z] 386e3cb2ff24: Verifying Checksum [2022-06-14T13:48:03.810Z] 386e3cb2ff24: Download complete [2022-06-14T13:48:03.810Z] 2343380bae48: Verifying Checksum [2022-06-14T13:48:03.810Z] 2343380bae48: Download complete [2022-06-14T13:48:03.810Z] 42c077c10790: Download complete [2022-06-14T13:48:04.070Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-14T13:48:04.070Z] c8a8fc8e1c8f: Download complete [2022-06-14T13:48:05.008Z] 42c077c10790: Pull complete [2022-06-14T13:48:05.270Z] f63e77b7563a: Pull complete [2022-06-14T13:48:05.844Z] bd5fdadae976: Pull complete [2022-06-14T13:48:05.844Z] 205491f53016: Pull complete [2022-06-14T13:48:06.104Z] df18705c85c3: Pull complete [2022-06-14T13:48:06.104Z] bdb3f477010e: Pull complete [2022-06-14T13:48:08.013Z] c8a8fc8e1c8f: Pull complete [2022-06-14T13:48:08.013Z] 2c6e9b1d212d: Pull complete [2022-06-14T13:48:08.013Z] bdb8f0575790: Pull complete [2022-06-14T13:48:08.013Z] 386e3cb2ff24: Pull complete [2022-06-14T13:48:08.276Z] 2343380bae48: Pull complete [2022-06-14T13:48:08.276Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-14T13:48:08.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-14T13:48:08.276Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T13:48:08.499Z] prd-ubuntu20.04-docker-8c-8g-2393 does not seem to be running inside a container [2022-06-14T13:48:08.541Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-14T13:48:09.822Z] $ docker top b5b876b1700b20f9d7f666c8ebc990fb91608e707779f6afcd7d1ff0cf5c7c66 -eo pid,comm [2022-06-14T13:48:09.885Z] 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-14T13:48:09.885Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-14T13:48:10.009Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-14T13:48:10.009Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-14T13:48:10.132Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-14T13:48:10.138Z] $ docker exec b5b876b1700b20f9d7f666c8ebc990fb91608e707779f6afcd7d1ff0cf5c7c66 ssh-agent [2022-06-14T13:48:10.272Z] SSH_AUTH_SOCK=/tmp/ssh-bGOSoeXLgI9S/agent.32 [2022-06-14T13:48:10.272Z] SSH_AGENT_PID=38 [2022-06-14T13:48:10.278Z] Running ssh-add (command line suppressed) [2022-06-14T13:48:10.388Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_4803493555829945828.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_4803493555829945828.key) [2022-06-14T13:48:10.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-14T13:48:10.729Z] + git tag --points-at HEAD [Pipeline] } [2022-06-14T13:48:10.758Z] $ docker exec --env ******** --env ******** b5b876b1700b20f9d7f666c8ebc990fb91608e707779f6afcd7d1ff0cf5c7c66 ssh-agent -k [2022-06-14T13:48:10.854Z] unset SSH_AUTH_SOCK; [2022-06-14T13:48:10.854Z] unset SSH_AGENT_PID; [2022-06-14T13:48:10.854Z] echo Agent pid 38 killed; [2022-06-14T13:48:10.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-14T13:48:10.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-14T13:48:10.945Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-14T13:48:11.076Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-14T13:48:11.083Z] $ docker exec b5b876b1700b20f9d7f666c8ebc990fb91608e707779f6afcd7d1ff0cf5c7c66 ssh-agent [2022-06-14T13:48:11.195Z] SSH_AUTH_SOCK=/tmp/ssh-nKfik2OjXJs3/agent.73 [2022-06-14T13:48:11.195Z] SSH_AGENT_PID=80 [2022-06-14T13:48:11.199Z] Running ssh-add (command line suppressed) [2022-06-14T13:48:11.311Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_122109223502060387.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_122109223502060387.key) [2022-06-14T13:48:11.321Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-14T13:48:11.648Z] + git semver init [2022-06-14T13:48:11.908Z] 2022-06-14 13:48:11,836 [run_init] DEBUG init version:0.0.0 force:False [2022-06-14T13:48:11.908Z] 2022-06-14 13:48:11,836 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-14T13:48:11.908Z] 2022-06-14 13:48:11,837 [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-14T13:48:11.908Z] 2022-06-14 13:48:11,837 [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-14T13:48:12.848Z] 2022-06-14 13:48:12,726 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-14T13:48:12.848Z] 2022-06-14 13:48:12,726 [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-14T13:48:12.848Z] 2022-06-14 13:48:12,726 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-14T13:48:12.848Z] 2022-06-14 13:48:12,731 [execute] INFO git cat-file --batch-check [2022-06-14T13:48:12.848Z] 2022-06-14 13:48:12,731 [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-14T13:48:12.848Z] 2022-06-14 13:48:12,736 [execute] INFO git cat-file --batch [2022-06-14T13:48:12.848Z] 2022-06-14 13:48:12,737 [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-14T13:48:12.848Z] 2022-06-14 13:48:12,742 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-14T13:48:12.848Z] 0.0.0 [Pipeline] } [2022-06-14T13:48:12.877Z] $ docker exec --env ******** --env ******** b5b876b1700b20f9d7f666c8ebc990fb91608e707779f6afcd7d1ff0cf5c7c66 ssh-agent -k [2022-06-14T13:48:12.980Z] unset SSH_AUTH_SOCK; [2022-06-14T13:48:12.981Z] unset SSH_AGENT_PID; [2022-06-14T13:48:12.981Z] echo Agent pid 80 killed; [2022-06-14T13:48:12.987Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-14T13:48:13.394Z] + git semver [Pipeline] } [2022-06-14T13:48:13.684Z] $ docker stop --time=1 b5b876b1700b20f9d7f666c8ebc990fb91608e707779f6afcd7d1ff0cf5c7c66 [2022-06-14T13:48:14.983Z] $ docker rm -f b5b876b1700b20f9d7f666c8ebc990fb91608e707779f6afcd7d1ff0cf5c7c66 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-14T13:48:15.393Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-14T13:48:15.704Z] Stashed 1 file(s) [Pipeline] echo [2022-06-14T13:48:15.720Z] [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-14T13:48:16.292Z] provisioning config files... [2022-06-14T13:48:16.304Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config4097385008477518920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:48:16.650Z] ---> docker-login.sh [2022-06-14T13:48:16.650Z] nexus3.edgexfoundry.org:10001 [2022-06-14T13:48:16.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:48:16.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:48:16.650Z] Configure a credential helper to remove this warning. See [2022-06-14T13:48:16.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:48:16.650Z] [2022-06-14T13:48:16.650Z] Login Succeeded [2022-06-14T13:48:16.650Z] nexus3.edgexfoundry.org:10002 [2022-06-14T13:48:16.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:48:16.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:48:16.650Z] Configure a credential helper to remove this warning. See [2022-06-14T13:48:16.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:48:16.650Z] [2022-06-14T13:48:16.650Z] Login Succeeded [2022-06-14T13:48:16.911Z] nexus3.edgexfoundry.org:10003 [2022-06-14T13:48:16.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:48:16.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:48:16.911Z] Configure a credential helper to remove this warning. See [2022-06-14T13:48:16.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:48:16.911Z] [2022-06-14T13:48:16.911Z] Login Succeeded [2022-06-14T13:48:16.911Z] nexus3.edgexfoundry.org:10004 [2022-06-14T13:48:16.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:48:17.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:48:17.172Z] Configure a credential helper to remove this warning. See [2022-06-14T13:48:17.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:48:17.172Z] [2022-06-14T13:48:17.172Z] Login Succeeded [2022-06-14T13:48:17.172Z] docker.io [2022-06-14T13:48:17.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:48:17.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:48:17.434Z] Configure a credential helper to remove this warning. See [2022-06-14T13:48:17.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:48:17.434Z] [2022-06-14T13:48:17.434Z] Login Succeeded [2022-06-14T13:48:17.434Z] ---> docker-login.sh ends [Pipeline] } [2022-06-14T13:48:17.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-14T13:48:17.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T13:48:17.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T13:48:17.704Z] ========================================================= [2022-06-14T13:48:17.704Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-14T13:48:17.704Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:48:18.176Z] + 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-14T13:48:18.176Z] Sending build context to Docker daemon 23.01MB [2022-06-14T13:48:18.176Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T13:48:18.176Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-14T13:48:18.176Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-14T13:48:18.176Z] 59bf1c3509f3: Pulling fs layer [2022-06-14T13:48:18.176Z] 666ba61612fd: Pulling fs layer [2022-06-14T13:48:18.176Z] 8ed8ca486205: Pulling fs layer [2022-06-14T13:48:18.176Z] cc1cd167ecdc: Pulling fs layer [2022-06-14T13:48:18.176Z] c516ae0d96e1: Pulling fs layer [2022-06-14T13:48:18.176Z] 684cea983483: Pulling fs layer [2022-06-14T13:48:18.176Z] dd3240ac7de5: Pulling fs layer [2022-06-14T13:48:18.176Z] b1e948a4e11c: Pulling fs layer [2022-06-14T13:48:18.176Z] a8fd76ee1af6: Pulling fs layer [2022-06-14T13:48:18.176Z] 646ad004c059: Pulling fs layer [2022-06-14T13:48:18.176Z] 684cea983483: Waiting [2022-06-14T13:48:18.176Z] dd3240ac7de5: Waiting [2022-06-14T13:48:18.176Z] b1e948a4e11c: Waiting [2022-06-14T13:48:18.176Z] a8fd76ee1af6: Waiting [2022-06-14T13:48:18.176Z] cc1cd167ecdc: Waiting [2022-06-14T13:48:18.176Z] c516ae0d96e1: Waiting [2022-06-14T13:48:18.176Z] 646ad004c059: Waiting [2022-06-14T13:48:18.438Z] 8ed8ca486205: Verifying Checksum [2022-06-14T13:48:18.438Z] 8ed8ca486205: Download complete [2022-06-14T13:48:18.438Z] 666ba61612fd: Download complete [2022-06-14T13:48:18.438Z] c516ae0d96e1: Verifying Checksum [2022-06-14T13:48:18.438Z] c516ae0d96e1: Download complete [2022-06-14T13:48:18.438Z] 684cea983483: Download complete [2022-06-14T13:48:18.438Z] 59bf1c3509f3: Verifying Checksum [2022-06-14T13:48:18.438Z] 59bf1c3509f3: Download complete [2022-06-14T13:48:18.438Z] dd3240ac7de5: Download complete [2022-06-14T13:48:18.438Z] b1e948a4e11c: Verifying Checksum [2022-06-14T13:48:18.438Z] b1e948a4e11c: Download complete [2022-06-14T13:48:18.438Z] 59bf1c3509f3: Pull complete [2022-06-14T13:48:18.706Z] 666ba61612fd: Pull complete [2022-06-14T13:48:18.706Z] 8ed8ca486205: Pull complete [2022-06-14T13:48:18.968Z] 646ad004c059: Verifying Checksum [2022-06-14T13:48:18.968Z] 646ad004c059: Download complete [2022-06-14T13:48:18.968Z] a8fd76ee1af6: Verifying Checksum [2022-06-14T13:48:18.968Z] a8fd76ee1af6: Download complete [2022-06-14T13:48:19.229Z] cc1cd167ecdc: Verifying Checksum [2022-06-14T13:48:19.229Z] cc1cd167ecdc: Download complete [2022-06-14T13:48:23.427Z] cc1cd167ecdc: Pull complete [2022-06-14T13:48:23.427Z] c516ae0d96e1: Pull complete [2022-06-14T13:48:23.427Z] 684cea983483: Pull complete [2022-06-14T13:48:23.427Z] dd3240ac7de5: Pull complete [2022-06-14T13:48:23.427Z] b1e948a4e11c: Pull complete [2022-06-14T13:48:25.341Z] a8fd76ee1af6: Pull complete [2022-06-14T13:48:25.909Z] 646ad004c059: Pull complete [2022-06-14T13:48:25.909Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-14T13:48:25.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-14T13:48:25.909Z] ---> 8f69c11f6b0c [2022-06-14T13:48:25.909Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T13:48:27.295Z] ---> Running in 99c2de9db241 [2022-06-14T13:48:27.295Z] Removing intermediate container 99c2de9db241 [2022-06-14T13:48:27.295Z] ---> c757e1239638 [2022-06-14T13:48:27.295Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T13:48:27.556Z] ---> Running in dfb311d5b363 [2022-06-14T13:48:27.556Z] Removing intermediate container dfb311d5b363 [2022-06-14T13:48:27.556Z] ---> ad322d8ae9be [2022-06-14T13:48:27.556Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-14T13:48:27.556Z] ---> Running in c17774b1e680 [2022-06-14T13:48:27.556Z] Removing intermediate container c17774b1e680 [2022-06-14T13:48:27.556Z] ---> c47fbd6240a0 [2022-06-14T13:48:27.556Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T13:48:27.556Z] ---> Running in 31e28a390daf [2022-06-14T13:48:28.131Z] Removing intermediate container 31e28a390daf [2022-06-14T13:48:28.131Z] ---> 49ce00cacab7 [2022-06-14T13:48:28.131Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T13:48:28.390Z] ---> Running in cb459e0df079 [2022-06-14T13:48:28.651Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-14T13:48:29.592Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-14T13:48:29.854Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-14T13:48:29.854Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-14T13:48:29.854Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-14T13:48:30.115Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-14T13:48:30.115Z] Executing busybox-1.34.1-r3.trigger [2022-06-14T13:48:30.115Z] OK: 224 MiB in 56 packages [2022-06-14T13:48:30.687Z] Removing intermediate container cb459e0df079 [2022-06-14T13:48:30.687Z] ---> c235722e60da [2022-06-14T13:48:30.687Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-14T13:48:30.687Z] ---> 70810fc4f8d1 [2022-06-14T13:48:30.687Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T13:48:30.687Z] ---> Running in 39b03da275ea [2022-06-14T13:48:31.123Z] Still waiting to schedule task [2022-06-14T13:48:31.123Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-14T13:48:45.588Z] Removing intermediate container 39b03da275ea [2022-06-14T13:48:45.588Z] ---> cf1314bfd479 [2022-06-14T13:48:45.588Z] Step 10/12 : COPY . . [2022-06-14T13:48:46.159Z] ---> 51c922c30c24 [2022-06-14T13:48:46.160Z] Step 11/12 : ARG MAKE='make build' [2022-06-14T13:48:46.160Z] ---> Running in eb23efd6c789 [2022-06-14T13:48:46.160Z] Removing intermediate container eb23efd6c789 [2022-06-14T13:48:46.160Z] ---> 7d1d4ccc8eb9 [2022-06-14T13:48:46.160Z] Step 12/12 : RUN $MAKE [2022-06-14T13:48:46.160Z] ---> Running in 0260a219c941 [2022-06-14T13:48:46.418Z] noop [2022-06-14T13:48:46.681Z] Removing intermediate container 0260a219c941 [2022-06-14T13:48:46.681Z] ---> 13d9f898e7f3 [2022-06-14T13:48:46.681Z] Successfully built 13d9f898e7f3 [2022-06-14T13:48:46.681Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:48:47.132Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-14T13:48:47.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T13:48:47.286Z] prd-ubuntu20.04-docker-8c-8g-2393 does not seem to be running inside a container [2022-06-14T13:48:47.334Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-14T13:48:47.698Z] $ docker top d17e8179d23f770c7543f21434ed84722aa05c87a177e80af364e3c2cb15e0ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-14T13:48:48.105Z] + go version [2022-06-14T13:48:48.105Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-14T13:48:48.152Z] $ docker stop --time=1 d17e8179d23f770c7543f21434ed84722aa05c87a177e80af364e3c2cb15e0ff [2022-06-14T13:48:49.417Z] $ docker rm -f d17e8179d23f770c7543f21434ed84722aa05c87a177e80af364e3c2cb15e0ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:48:50.204Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-14T13:48:50.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T13:48:50.362Z] prd-ubuntu20.04-docker-8c-8g-2393 does not seem to be running inside a container [2022-06-14T13:48:50.403Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-14T13:48:50.765Z] $ docker top 622bc82e96f3ae9b15f6a5b689757c18ddb16f2cf876750ac38bae9ef2ad684b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-14T13:48:51.197Z] + make test [2022-06-14T13:48:51.198Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-14T13:48:51.456Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-14T13:49:01.437Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-14T13:49:01.437Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-06-14T13:49:06.714Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-14T13:49:10.909Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-14T13:49:10.909Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-14T13:49:10.909Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-14T13:49:10.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-14T13:49:10.980Z] $ docker stop --time=1 622bc82e96f3ae9b15f6a5b689757c18ddb16f2cf876750ac38bae9ef2ad684b [2022-06-14T13:49:12.698Z] $ docker rm -f 622bc82e96f3ae9b15f6a5b689757c18ddb16f2cf876750ac38bae9ef2ad684b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-14T13:49:13.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-14T13:49:13.275Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-14T13:49:13.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-14T13:49:14.244Z] + ls -al . [2022-06-14T13:49:14.244Z] total 192 [2022-06-14T13:49:14.244Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 14 13:49 . [2022-06-14T13:49:14.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 14 13:47 .. [2022-06-14T13:49:14.244Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 14 13:48 .git [2022-06-14T13:49:14.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 13:47 .github [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 14 13:47 .gitignore [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 14 13:47 .golangci.yml [2022-06-14T13:49:14.244Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 14 13:48 .semver [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 14 13:47 Attribution.txt [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 14 13:47 CHANGELOG.md [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 14 13:47 Dockerfile [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 14 13:47 GOVERNANCE.md [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 14 13:47 Jenkinsfile [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 14 13:47 LICENSE [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 14 13:47 Makefile [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 14 13:47 OWNERS.md [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 14 13:47 README.md [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 14 13:48 VERSION [2022-06-14T13:49:14.244Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 14 13:47 bin [2022-06-14T13:49:14.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 13:47 cmd [2022-06-14T13:49:14.244Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 14 13:48 coverage.out [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 14 13:47 go.mod [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 14 13:47 go.sum [2022-06-14T13:49:14.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 13:47 internal [2022-06-14T13:49:14.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 13:47 snap [2022-06-14T13:49:14.244Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 14 13:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:49:14.657Z] + 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=9b9597b8dff2099b99b4d2615a1fe886119bd74a --label arch=amd64 --label version=0.0.0 . [2022-06-14T13:49:14.657Z] Sending build context to Docker daemon 23.05MB [2022-06-14T13:49:14.657Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T13:49:14.657Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-14T13:49:14.657Z] ---> 13d9f898e7f3 [2022-06-14T13:49:14.657Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T13:49:14.922Z] ---> Running in 5edaaf768fbf [2022-06-14T13:49:14.922Z] Removing intermediate container 5edaaf768fbf [2022-06-14T13:49:14.922Z] ---> 326203ddcdf4 [2022-06-14T13:49:14.922Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T13:49:14.922Z] ---> Running in b6758057b0a4 [2022-06-14T13:49:14.922Z] Removing intermediate container b6758057b0a4 [2022-06-14T13:49:14.922Z] ---> db635af06634 [2022-06-14T13:49:14.922Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-14T13:49:15.182Z] ---> Running in 692a8feb4bec [2022-06-14T13:49:15.182Z] Removing intermediate container 692a8feb4bec [2022-06-14T13:49:15.182Z] ---> 5c2f53490962 [2022-06-14T13:49:15.182Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T13:49:15.182Z] ---> Running in 416d328ab205 [2022-06-14T13:49:15.754Z] Removing intermediate container 416d328ab205 [2022-06-14T13:49:15.754Z] ---> a336cae94aba [2022-06-14T13:49:15.754Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T13:49:15.754Z] ---> Running in 96d37f36cb92 [2022-06-14T13:49:16.329Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-14T13:49:16.900Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-14T13:49:17.161Z] OK: 224 MiB in 56 packages [2022-06-14T13:49:17.732Z] Removing intermediate container 96d37f36cb92 [2022-06-14T13:49:17.732Z] ---> 82c2798df1a1 [2022-06-14T13:49:17.732Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-14T13:49:17.732Z] ---> 9fe56e0b15ba [2022-06-14T13:49:17.732Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T13:49:17.732Z] ---> Running in e4c15ddc60af [2022-06-14T13:49:18.303Z] Removing intermediate container e4c15ddc60af [2022-06-14T13:49:18.303Z] ---> c976ab275137 [2022-06-14T13:49:18.303Z] Step 10/26 : COPY . . [2022-06-14T13:49:18.871Z] ---> 832ca58999a7 [2022-06-14T13:49:18.871Z] Step 11/26 : ARG MAKE='make build' [2022-06-14T13:49:18.871Z] ---> Running in bf63b0b92b42 [2022-06-14T13:49:18.871Z] Removing intermediate container bf63b0b92b42 [2022-06-14T13:49:18.871Z] ---> a911346b3ac5 [2022-06-14T13:49:18.871Z] Step 12/26 : RUN $MAKE [2022-06-14T13:49:19.136Z] ---> Running in 16b7f7bf6045 [2022-06-14T13:49:19.396Z] 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-14T13:49:41.360Z] Removing intermediate container 16b7f7bf6045 [2022-06-14T13:49:41.360Z] ---> 75047e1d25b8 [2022-06-14T13:49:41.360Z] Step 13/26 : FROM alpine:3.14 [2022-06-14T13:49:41.360Z] 3.14: Pulling from library/alpine [2022-06-14T13:49:41.360Z] 8663204ce13b: Pulling fs layer [2022-06-14T13:49:41.360Z] 8663204ce13b: Verifying Checksum [2022-06-14T13:49:41.360Z] 8663204ce13b: Download complete [2022-06-14T13:49:41.360Z] 8663204ce13b: Pull complete [2022-06-14T13:49:41.360Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-14T13:49:41.360Z] Status: Downloaded newer image for alpine:3.14 [2022-06-14T13:49:41.360Z] ---> e04c818066af [2022-06-14T13:49:41.360Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-14T13:49:41.360Z] ---> Running in 6e8840f828c2 [2022-06-14T13:49:41.360Z] Removing intermediate container 6e8840f828c2 [2022-06-14T13:49:41.360Z] ---> 9fbc7f8795dd [2022-06-14T13:49:41.360Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T13:49:41.360Z] ---> Running in c813d8597bf6 [2022-06-14T13:49:41.360Z] Removing intermediate container c813d8597bf6 [2022-06-14T13:49:41.360Z] ---> 748c21794fcd [2022-06-14T13:49:41.360Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-14T13:49:41.360Z] ---> Running in 00065c717883 [2022-06-14T13:49:41.360Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-14T13:49:41.360Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-14T13:49:41.620Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-14T13:49:41.620Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-14T13:49:41.620Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-14T13:49:41.882Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-14T13:49:41.882Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-14T13:49:41.882Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-14T13:49:42.143Z] Executing busybox-1.33.1-r7.trigger [2022-06-14T13:49:42.143Z] OK: 8 MiB in 20 packages [2022-06-14T13:49:42.406Z] Removing intermediate container 00065c717883 [2022-06-14T13:49:42.406Z] ---> a3f10193ea9d [2022-06-14T13:49:42.406Z] Step 17/26 : WORKDIR / [2022-06-14T13:49:42.406Z] ---> Running in 91a945dc43e3 [2022-06-14T13:49:42.673Z] Removing intermediate container 91a945dc43e3 [2022-06-14T13:49:42.673Z] ---> c1db7fd2b3d0 [2022-06-14T13:49:42.673Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-14T13:49:42.673Z] ---> 8fa129d377c6 [2022-06-14T13:49:42.673Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-14T13:49:42.934Z] ---> 227785afbb19 [2022-06-14T13:49:42.934Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-14T13:49:43.506Z] ---> 052456f37f56 [2022-06-14T13:49:43.506Z] Step 21/26 : EXPOSE 59900 [2022-06-14T13:49:43.506Z] ---> Running in 92424fb290fa [2022-06-14T13:49:43.506Z] Removing intermediate container 92424fb290fa [2022-06-14T13:49:43.506Z] ---> e6c54e4d8cd7 [2022-06-14T13:49:43.506Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-14T13:49:43.767Z] ---> Running in be3219abe255 [2022-06-14T13:49:43.767Z] Removing intermediate container be3219abe255 [2022-06-14T13:49:43.767Z] ---> 76c2ed915a3a [2022-06-14T13:49:43.767Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-14T13:49:43.767Z] ---> Running in 1a99387498b3 [2022-06-14T13:49:43.767Z] Removing intermediate container 1a99387498b3 [2022-06-14T13:49:43.767Z] ---> 1ebf78560dec [2022-06-14T13:49:43.767Z] Step 24/26 : LABEL arch=amd64 [2022-06-14T13:49:44.029Z] ---> Running in 0608648f2419 [2022-06-14T13:49:44.029Z] Removing intermediate container 0608648f2419 [2022-06-14T13:49:44.029Z] ---> 3e9497534962 [2022-06-14T13:49:44.029Z] Step 25/26 : LABEL git_sha=9b9597b8dff2099b99b4d2615a1fe886119bd74a [2022-06-14T13:49:44.029Z] ---> Running in 86954ef19d99 [2022-06-14T13:49:44.029Z] Removing intermediate container 86954ef19d99 [2022-06-14T13:49:44.029Z] ---> 1da1cdeec6d0 [2022-06-14T13:49:44.029Z] Step 26/26 : LABEL version=0.0.0 [2022-06-14T13:49:44.288Z] ---> Running in e71acfabb67c [2022-06-14T13:49:44.288Z] Removing intermediate container e71acfabb67c [2022-06-14T13:49:44.288Z] ---> 9efcf3f5a235 [2022-06-14T13:49:44.288Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-14T13:49:44.288Z] Successfully built 9efcf3f5a235 [2022-06-14T13:49:44.288Z] 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-14T13:49:45.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T13:49:45.183Z] [2022-06-14T13:49:45.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:49:45.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T13:49:45.568Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-14T13:49:45.568Z] 5eb5b503b376: Pulling fs layer [2022-06-14T13:49:45.568Z] 5c69ac0246d0: Pulling fs layer [2022-06-14T13:49:45.568Z] ec43610c2a17: Pulling fs layer [2022-06-14T13:49:45.568Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-14T13:49:45.568Z] 33b1e0a273af: Pulling fs layer [2022-06-14T13:49:45.568Z] 5d3b04190fa2: Pulling fs layer [2022-06-14T13:49:45.568Z] 2f39f015ded8: Pulling fs layer [2022-06-14T13:49:45.568Z] 33b1e0a273af: Waiting [2022-06-14T13:49:45.568Z] 5d3b04190fa2: Waiting [2022-06-14T13:49:45.568Z] 2f39f015ded8: Waiting [2022-06-14T13:49:45.568Z] 3a2ae6a8a46f: Waiting [2022-06-14T13:49:45.568Z] 5c69ac0246d0: Download complete [2022-06-14T13:49:45.568Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-14T13:49:45.568Z] 3a2ae6a8a46f: Download complete [2022-06-14T13:49:45.568Z] 33b1e0a273af: Verifying Checksum [2022-06-14T13:49:45.568Z] 33b1e0a273af: Download complete [2022-06-14T13:49:45.828Z] 5d3b04190fa2: Verifying Checksum [2022-06-14T13:49:45.828Z] 5d3b04190fa2: Download complete [2022-06-14T13:49:45.828Z] ec43610c2a17: Verifying Checksum [2022-06-14T13:49:45.828Z] ec43610c2a17: Download complete [2022-06-14T13:49:45.828Z] 5eb5b503b376: Verifying Checksum [2022-06-14T13:49:45.828Z] 5eb5b503b376: Download complete [2022-06-14T13:49:46.401Z] 2f39f015ded8: Download complete [2022-06-14T13:49:46.971Z] 5eb5b503b376: Pull complete [2022-06-14T13:49:47.231Z] 5c69ac0246d0: Pull complete [2022-06-14T13:49:47.801Z] ec43610c2a17: Pull complete [2022-06-14T13:49:47.801Z] 3a2ae6a8a46f: Pull complete [2022-06-14T13:49:47.801Z] 33b1e0a273af: Pull complete [2022-06-14T13:49:48.061Z] 5d3b04190fa2: Pull complete [2022-06-14T13:49:52.259Z] 2f39f015ded8: Pull complete [2022-06-14T13:49:52.259Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-14T13:49:52.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T13:49:52.259Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T13:49:52.491Z] prd-ubuntu20.04-docker-8c-8g-2393 does not seem to be running inside a container [2022-06-14T13:49:52.532Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-14T13:49:54.020Z] $ docker top c791daed5054b9299c5f19598bdfc7e4bf7eafdf16957f531e075a972feef9af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:49:54.488Z] ---> job-cost.sh [2022-06-14T13:49:54.488Z] lf-activate-venv: SKIPPING [2022-06-14T13:49:54.488Z] INFO: No Stack... [2022-06-14T13:49:54.749Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-14T13:49:55.320Z] INFO: Archiving Costs [Pipeline] sh [2022-06-14T13:49:55.636Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-14T13:49:55.636Z] + cut -d, -f6 [Pipeline] lock [2022-06-14T13:49:55.678Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-1-stack-cost] [2022-06-14T13:49:55.684Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-1-stack-cost] did not exist. Created. [2022-06-14T13:49:55.684Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-14T13:49:56.093Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-14T13:49:56.149Z] Stashed 1 file(s) [Pipeline] } [2022-06-14T13:49:56.171Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-14T13:49:56.249Z] $ docker stop --time=1 c791daed5054b9299c5f19598bdfc7e4bf7eafdf16957f531e075a972feef9af [2022-06-14T13:49:57.427Z] $ docker rm -f c791daed5054b9299c5f19598bdfc7e4bf7eafdf16957f531e075a972feef9af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-14T13:50:11.789Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2394 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-14T13:50:11.830Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-06-14T13:50:11.919Z] The recommended git tool is: git [2022-06-14T13:50:17.233Z] using credential edgex-jenkins-ssh [2022-06-14T13:50:17.250Z] Cloning the remote Git repository [2022-06-14T13:50:17.315Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-14T13:50:17.398Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-06-14T13:50:17.569Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-14T13:50:17.583Z] > git --version # timeout=10 [2022-06-14T13:50:17.629Z] > git --version # 'git version 2.25.1' [2022-06-14T13:50:17.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-14T13:50:17.733Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-14T13:50:19.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-14T13:50:20.174Z] Merging remotes/origin/main commit dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a into PR head commit 9b9597b8dff2099b99b4d2615a1fe886119bd74a [2022-06-14T13:50:20.386Z] Merge succeeded, producing 9b9597b8dff2099b99b4d2615a1fe886119bd74a [2022-06-14T13:50:20.387Z] Checking out Revision 9b9597b8dff2099b99b4d2615a1fe886119bd74a (PR-290) [2022-06-14T13:50:19.582Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-14T13:50:19.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-14T13:50:19.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-14T13:50:19.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-14T13:50:19.658Z] > 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-14T13:50:20.198Z] > git config core.sparsecheckout # timeout=10 [2022-06-14T13:50:20.217Z] > git checkout -f 9b9597b8dff2099b99b4d2615a1fe886119bd74a # timeout=10 [2022-06-14T13:50:20.304Z] > git remote # timeout=10 [2022-06-14T13:50:20.320Z] > git config --get remote.origin.url # timeout=10 [2022-06-14T13:50:20.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-14T13:50:20.347Z] > git merge dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 [2022-06-14T13:50:20.372Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-14T13:50:20.397Z] > git config core.sparsecheckout # timeout=10 [2022-06-14T13:50:20.410Z] > git checkout -f 9b9597b8dff2099b99b4d2615a1fe886119bd74a # timeout=10 [2022-06-14T13:50:24.539Z] Commit message: "fix(snap): Load and export an .env file in bash" [2022-06-14T13:50:24.609Z] > git --version # timeout=10 [2022-06-14T13:50:24.620Z] > git --version # 'git version 2.25.1' [2022-06-14T13:50:24.634Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-14T13:50:25.668Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-14T13:50:25.668Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-14T13:50:25.668Z] Dload Upload Total Spent Left Speed [2022-06-14T13:50:25.668Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 84503 0 --:--:-- --:--:-- --:--:-- 84503 [Pipeline] sh [2022-06-14T13:50:26.447Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-14T13:50:26.803Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-14T13:50:26.803Z] + sudo tee /etc/docker/daemon.new [2022-06-14T13:50:26.803Z] { [2022-06-14T13:50:26.803Z] "registry-mirrors": [ [2022-06-14T13:50:26.803Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-14T13:50:26.803Z] ], [2022-06-14T13:50:26.803Z] "bip": "10.250.0.254/24", [2022-06-14T13:50:26.803Z] "hosts": [ [2022-06-14T13:50:26.803Z] "tcp://0.0.0.0:5555", [2022-06-14T13:50:26.803Z] "unix:///var/run/docker.sock" [2022-06-14T13:50:26.803Z] ], [2022-06-14T13:50:26.803Z] "mtu": 1458, [2022-06-14T13:50:26.803Z] "selinux-enabled": true, [2022-06-14T13:50:26.803Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-14T13:50:26.803Z] } [Pipeline] sh [2022-06-14T13:50:27.153Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-14T13:50:27.508Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-14T13:50:46.073Z] provisioning config files... [2022-06-14T13:50:46.100Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8456994395504320509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:50:46.500Z] ---> docker-login.sh [2022-06-14T13:50:46.500Z] nexus3.edgexfoundry.org:10001 [2022-06-14T13:50:47.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:50:47.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:50:47.379Z] Configure a credential helper to remove this warning. See [2022-06-14T13:50:47.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:50:47.379Z] [2022-06-14T13:50:47.379Z] Login Succeeded [2022-06-14T13:50:47.379Z] nexus3.edgexfoundry.org:10002 [2022-06-14T13:50:47.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:50:47.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:50:47.927Z] Configure a credential helper to remove this warning. See [2022-06-14T13:50:47.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:50:47.927Z] [2022-06-14T13:50:47.927Z] Login Succeeded [2022-06-14T13:50:47.927Z] nexus3.edgexfoundry.org:10003 [2022-06-14T13:50:48.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:50:48.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:50:48.203Z] Configure a credential helper to remove this warning. See [2022-06-14T13:50:48.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:50:48.203Z] [2022-06-14T13:50:48.203Z] Login Succeeded [2022-06-14T13:50:48.203Z] nexus3.edgexfoundry.org:10004 [2022-06-14T13:50:48.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:50:48.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:50:48.799Z] Configure a credential helper to remove this warning. See [2022-06-14T13:50:48.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:50:48.799Z] [2022-06-14T13:50:48.799Z] Login Succeeded [2022-06-14T13:50:48.799Z] docker.io [2022-06-14T13:50:49.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-14T13:50:49.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-14T13:50:49.667Z] Configure a credential helper to remove this warning. See [2022-06-14T13:50:49.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-14T13:50:49.667Z] [2022-06-14T13:50:49.667Z] Login Succeeded [2022-06-14T13:50:49.667Z] ---> docker-login.sh ends [Pipeline] } [2022-06-14T13:50:49.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-14T13:50:50.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T13:50:50.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-14T13:50:50.139Z] ========================================================= [2022-06-14T13:50:50.139Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-14T13:50:50.139Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:50:50.639Z] + 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-14T13:50:50.915Z] Sending build context to Docker daemon 11.64MB [2022-06-14T13:50:51.189Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T13:50:51.189Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-14T13:50:51.189Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-14T13:50:51.189Z] 9b3977197b4f: Pulling fs layer [2022-06-14T13:50:51.189Z] 1a89e8eeedd5: Pulling fs layer [2022-06-14T13:50:51.189Z] 94645a83ff95: Pulling fs layer [2022-06-14T13:50:51.189Z] e6fb740bc735: Pulling fs layer [2022-06-14T13:50:51.189Z] 3a77bd46dcc9: Pulling fs layer [2022-06-14T13:50:51.189Z] 355e64cbe906: Pulling fs layer [2022-06-14T13:50:51.189Z] 63ab81a10011: Pulling fs layer [2022-06-14T13:50:51.189Z] 555d1d1c4555: Pulling fs layer [2022-06-14T13:50:51.189Z] 7d9057610161: Pulling fs layer [2022-06-14T13:50:51.189Z] e6fb740bc735: Waiting [2022-06-14T13:50:51.189Z] 3a77bd46dcc9: Waiting [2022-06-14T13:50:51.189Z] 355e64cbe906: Waiting [2022-06-14T13:50:51.189Z] 63ab81a10011: Waiting [2022-06-14T13:50:51.189Z] 555d1d1c4555: Waiting [2022-06-14T13:50:51.189Z] 94645a83ff95: Verifying Checksum [2022-06-14T13:50:51.189Z] 94645a83ff95: Download complete [2022-06-14T13:50:51.189Z] 1a89e8eeedd5: Download complete [2022-06-14T13:50:51.189Z] 3a77bd46dcc9: Download complete [2022-06-14T13:50:51.189Z] 355e64cbe906: Verifying Checksum [2022-06-14T13:50:51.189Z] 355e64cbe906: Download complete [2022-06-14T13:50:51.189Z] 9b3977197b4f: Download complete [2022-06-14T13:50:51.465Z] 63ab81a10011: Verifying Checksum [2022-06-14T13:50:51.465Z] 63ab81a10011: Download complete [2022-06-14T13:50:52.077Z] 9b3977197b4f: Pull complete [2022-06-14T13:50:52.358Z] 7d9057610161: Verifying Checksum [2022-06-14T13:50:52.358Z] 7d9057610161: Download complete [2022-06-14T13:50:52.960Z] 1a89e8eeedd5: Pull complete [2022-06-14T13:50:53.245Z] 94645a83ff95: Pull complete [2022-06-14T13:50:53.523Z] 555d1d1c4555: Verifying Checksum [2022-06-14T13:50:53.523Z] 555d1d1c4555: Download complete [2022-06-14T13:50:54.119Z] e6fb740bc735: Verifying Checksum [2022-06-14T13:50:54.119Z] e6fb740bc735: Download complete [2022-06-14T13:51:06.534Z] e6fb740bc735: Pull complete [2022-06-14T13:51:06.534Z] 3a77bd46dcc9: Pull complete [2022-06-14T13:51:06.534Z] 355e64cbe906: Pull complete [2022-06-14T13:51:06.811Z] 63ab81a10011: Pull complete [2022-06-14T13:51:13.533Z] 555d1d1c4555: Pull complete [2022-06-14T13:51:15.522Z] 7d9057610161: Pull complete [2022-06-14T13:51:15.522Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-14T13:51:15.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-14T13:51:15.522Z] ---> 819e984ddca1 [2022-06-14T13:51:15.522Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T13:51:17.507Z] ---> Running in fc060e0616d5 [2022-06-14T13:51:17.507Z] Removing intermediate container fc060e0616d5 [2022-06-14T13:51:17.507Z] ---> f87ae9041598 [2022-06-14T13:51:17.507Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T13:51:17.507Z] ---> Running in 6e0a5e23340a [2022-06-14T13:51:17.788Z] Removing intermediate container 6e0a5e23340a [2022-06-14T13:51:17.788Z] ---> b970fdbcbfd8 [2022-06-14T13:51:17.788Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-14T13:51:17.788Z] ---> Running in 64d563f83f70 [2022-06-14T13:51:18.397Z] Removing intermediate container 64d563f83f70 [2022-06-14T13:51:18.397Z] ---> 38e8752891b3 [2022-06-14T13:51:18.397Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T13:51:18.397Z] ---> Running in 2d257178b965 [2022-06-14T13:51:20.375Z] Removing intermediate container 2d257178b965 [2022-06-14T13:51:20.375Z] ---> e81e331e878f [2022-06-14T13:51:20.375Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T13:51:20.375Z] ---> Running in e3e1847398b6 [2022-06-14T13:51:20.966Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-14T13:51:21.944Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-14T13:51:22.536Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-14T13:51:22.806Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-14T13:51:22.806Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-14T13:51:23.081Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-14T13:51:23.081Z] Executing busybox-1.34.1-r3.trigger [2022-06-14T13:51:23.081Z] OK: 224 MiB in 56 packages [2022-06-14T13:51:24.066Z] Removing intermediate container e3e1847398b6 [2022-06-14T13:51:24.066Z] ---> aedd817158dd [2022-06-14T13:51:24.066Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-14T13:51:24.680Z] ---> 45e82321cfa2 [2022-06-14T13:51:24.680Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T13:51:24.680Z] ---> Running in 2a991bd15691 [2022-06-14T13:52:11.687Z] Removing intermediate container 2a991bd15691 [2022-06-14T13:52:11.687Z] ---> 32069b116dbd [2022-06-14T13:52:11.687Z] Step 10/12 : COPY . . [2022-06-14T13:52:11.687Z] ---> be73ff20833e [2022-06-14T13:52:11.687Z] Step 11/12 : ARG MAKE='make build' [2022-06-14T13:52:11.687Z] ---> Running in 2ebf69ec8458 [2022-06-14T13:52:11.687Z] Removing intermediate container 2ebf69ec8458 [2022-06-14T13:52:11.687Z] ---> 05fcac5a0cf0 [2022-06-14T13:52:11.687Z] Step 12/12 : RUN $MAKE [2022-06-14T13:52:11.687Z] ---> Running in ad57398b433e [2022-06-14T13:52:11.965Z] noop [2022-06-14T13:52:12.951Z] Removing intermediate container ad57398b433e [2022-06-14T13:52:12.951Z] ---> 0ec276d243c9 [2022-06-14T13:52:12.951Z] Successfully built 0ec276d243c9 [2022-06-14T13:52:12.951Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:52:13.447Z] + docker inspect -f . ci-base-image-arm64 [2022-06-14T13:52:13.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T13:52:13.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-2394 does not seem to be running inside a container [2022-06-14T13:52:13.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-14T13:52:15.090Z] $ docker top 2580f29736c1313bc046d934a16780285b9f66a37fa7a0a728af2c7063c0ff88 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-14T13:52:16.033Z] + go version [2022-06-14T13:52:16.033Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-14T13:52:16.076Z] $ docker stop --time=1 2580f29736c1313bc046d934a16780285b9f66a37fa7a0a728af2c7063c0ff88 [2022-06-14T13:52:17.729Z] $ docker rm -f 2580f29736c1313bc046d934a16780285b9f66a37fa7a0a728af2c7063c0ff88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:52:18.656Z] + docker inspect -f . ci-base-image-arm64 [2022-06-14T13:52:18.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T13:52:18.971Z] prd-ubuntu20.04-docker-arm64-4c-16g-2394 does not seem to be running inside a container [2022-06-14T13:52:19.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-14T13:52:20.344Z] $ docker top 0867880aba6cf14ee20b207b9027e76d95e128a8069db18015c223b702a94329 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-14T13:52:21.318Z] + make test [2022-06-14T13:52:21.318Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-14T13:52:22.761Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-14T13:53:44.641Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-14T13:53:44.641Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements [2022-06-14T13:53:44.641Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-14T13:53:44.641Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-14T13:54:02.977Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-14T13:54:02.977Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-14T13:54:02.977Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-14T13:54:05.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-14T13:54:05.668Z] $ docker stop --time=1 0867880aba6cf14ee20b207b9027e76d95e128a8069db18015c223b702a94329 [2022-06-14T13:54:07.401Z] $ docker rm -f 0867880aba6cf14ee20b207b9027e76d95e128a8069db18015c223b702a94329 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-14T13:54:08.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-14T13:54:08.440Z] Warning: overwriting stash ‘coverage-report’ [2022-06-14T13:54:08.940Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-14T13:54:09.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-14T13:54:09.877Z] + ls -al . [2022-06-14T13:54:09.877Z] total 188 [2022-06-14T13:54:09.877Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 14 13:54 . [2022-06-14T13:54:09.877Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 14 13:50 .. [2022-06-14T13:54:09.877Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 14 13:50 .git [2022-06-14T13:54:09.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 13:50 .github [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 14 13:50 .gitignore [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 14 13:50 .golangci.yml [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 14 13:50 Attribution.txt [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 14 13:50 CHANGELOG.md [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 14 13:50 Dockerfile [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 14 13:50 GOVERNANCE.md [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 14 13:50 Jenkinsfile [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 14 13:50 LICENSE [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 14 13:50 Makefile [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 14 13:50 OWNERS.md [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 14 13:50 README.md [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 14 13:48 VERSION [2022-06-14T13:54:09.877Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 14 13:50 bin [2022-06-14T13:54:09.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 13:50 cmd [2022-06-14T13:54:09.877Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 14 13:53 coverage.out [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 14 13:50 go.mod [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 14 13:50 go.sum [2022-06-14T13:54:09.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 13:50 internal [2022-06-14T13:54:09.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 14 13:50 snap [2022-06-14T13:54:09.877Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 14 13:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:54:10.302Z] + 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=9b9597b8dff2099b99b4d2615a1fe886119bd74a --label arch=arm64 --label version=0.0.0 . [2022-06-14T13:54:10.904Z] Sending build context to Docker daemon 11.68MB [2022-06-14T13:54:10.904Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-14T13:54:10.904Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-14T13:54:10.904Z] ---> 0ec276d243c9 [2022-06-14T13:54:10.904Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-14T13:54:10.904Z] ---> Running in f22cb3df765a [2022-06-14T13:54:11.179Z] Removing intermediate container f22cb3df765a [2022-06-14T13:54:11.179Z] ---> 5398ccf717be [2022-06-14T13:54:11.179Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-14T13:54:11.456Z] ---> Running in b084adfee548 [2022-06-14T13:54:11.731Z] Removing intermediate container b084adfee548 [2022-06-14T13:54:11.731Z] ---> 930615b69036 [2022-06-14T13:54:11.731Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-14T13:54:11.731Z] ---> Running in c9c842fc54ef [2022-06-14T13:54:12.005Z] Removing intermediate container c9c842fc54ef [2022-06-14T13:54:12.005Z] ---> 2b202dccf3d7 [2022-06-14T13:54:12.005Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T13:54:12.005Z] ---> Running in 512e08cf64fc [2022-06-14T13:54:13.981Z] Removing intermediate container 512e08cf64fc [2022-06-14T13:54:13.981Z] ---> 43a2c70b52ce [2022-06-14T13:54:13.981Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-14T13:54:13.981Z] ---> Running in 9c8d905fac7d [2022-06-14T13:54:14.959Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-14T13:54:15.551Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-14T13:54:16.527Z] OK: 224 MiB in 56 packages [2022-06-14T13:54:17.129Z] Removing intermediate container 9c8d905fac7d [2022-06-14T13:54:17.129Z] ---> 8832e8f1ecad [2022-06-14T13:54:17.129Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-14T13:54:17.736Z] ---> cb57e1cf4e87 [2022-06-14T13:54:17.736Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-14T13:54:17.736Z] ---> Running in db390b0f99f9 [2022-06-14T13:54:19.720Z] Removing intermediate container db390b0f99f9 [2022-06-14T13:54:19.720Z] ---> 647b63bfb324 [2022-06-14T13:54:19.720Z] Step 10/26 : COPY . . [2022-06-14T13:54:20.695Z] ---> 0d9ba7ee3c67 [2022-06-14T13:54:20.695Z] Step 11/26 : ARG MAKE='make build' [2022-06-14T13:54:20.973Z] ---> Running in 1cd14d2fa159 [2022-06-14T13:54:21.248Z] Removing intermediate container 1cd14d2fa159 [2022-06-14T13:54:21.248Z] ---> 058e336fb5bb [2022-06-14T13:54:21.248Z] Step 12/26 : RUN $MAKE [2022-06-14T13:54:21.248Z] ---> Running in 7f59984d8da6 [2022-06-14T13:54:22.227Z] 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-14T13:56:29.132Z] Removing intermediate container 7f59984d8da6 [2022-06-14T13:56:29.132Z] ---> f28f45966534 [2022-06-14T13:56:29.132Z] Step 13/26 : FROM alpine:3.14 [2022-06-14T13:56:29.132Z] 3.14: Pulling from library/alpine [2022-06-14T13:56:29.132Z] 455c02918c45: Pulling fs layer [2022-06-14T13:56:29.132Z] 455c02918c45: Verifying Checksum [2022-06-14T13:56:29.132Z] 455c02918c45: Download complete [2022-06-14T13:56:29.132Z] 455c02918c45: Pull complete [2022-06-14T13:56:29.133Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-14T13:56:29.133Z] Status: Downloaded newer image for alpine:3.14 [2022-06-14T13:56:29.133Z] ---> ac73e934f311 [2022-06-14T13:56:29.133Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-14T13:56:29.133Z] ---> Running in 81a9f699d28a [2022-06-14T13:56:29.133Z] Removing intermediate container 81a9f699d28a [2022-06-14T13:56:29.133Z] ---> c7e139095492 [2022-06-14T13:56:29.133Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-14T13:56:29.133Z] ---> Running in 79a61597f2f1 [2022-06-14T13:56:29.133Z] Removing intermediate container 79a61597f2f1 [2022-06-14T13:56:29.133Z] ---> 38c8bc230191 [2022-06-14T13:56:29.133Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-14T13:56:29.133Z] ---> Running in 6ee8160cfad2 [2022-06-14T13:56:29.133Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-14T13:56:29.133Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-14T13:56:29.133Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-14T13:56:29.133Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-14T13:56:29.133Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-14T13:56:29.133Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-14T13:56:29.133Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-14T13:56:29.133Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-14T13:56:29.133Z] Executing busybox-1.33.1-r7.trigger [2022-06-14T13:56:29.133Z] OK: 8 MiB in 20 packages [2022-06-14T13:56:29.133Z] Removing intermediate container 6ee8160cfad2 [2022-06-14T13:56:29.133Z] ---> 6f316ad04805 [2022-06-14T13:56:29.133Z] Step 17/26 : WORKDIR / [2022-06-14T13:56:29.133Z] ---> Running in 1bd2452e520c [2022-06-14T13:56:29.133Z] Removing intermediate container 1bd2452e520c [2022-06-14T13:56:29.133Z] ---> 6529bae720a9 [2022-06-14T13:56:29.133Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-14T13:56:29.133Z] ---> 773ace52f987 [2022-06-14T13:56:29.133Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-14T13:56:29.133Z] ---> de30fbb26ccd [2022-06-14T13:56:29.133Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-14T13:56:29.133Z] ---> d1866c0ebf88 [2022-06-14T13:56:29.133Z] Step 21/26 : EXPOSE 59900 [2022-06-14T13:56:29.133Z] ---> Running in e4eb9f447bfd [2022-06-14T13:56:29.133Z] Removing intermediate container e4eb9f447bfd [2022-06-14T13:56:29.133Z] ---> 72f9f5fd1928 [2022-06-14T13:56:29.133Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-14T13:56:29.133Z] ---> Running in 45d09b7236a7 [2022-06-14T13:56:29.133Z] Removing intermediate container 45d09b7236a7 [2022-06-14T13:56:29.133Z] ---> ead8efc9da17 [2022-06-14T13:56:29.133Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-14T13:56:29.133Z] ---> Running in b579abef2934 [2022-06-14T13:56:29.133Z] Removing intermediate container b579abef2934 [2022-06-14T13:56:29.133Z] ---> 36fa54f36ade [2022-06-14T13:56:29.133Z] Step 24/26 : LABEL arch=arm64 [2022-06-14T13:56:29.133Z] ---> Running in 37c8e4256632 [2022-06-14T13:56:29.133Z] Removing intermediate container 37c8e4256632 [2022-06-14T13:56:29.133Z] ---> 99967ad71fa8 [2022-06-14T13:56:29.133Z] Step 25/26 : LABEL git_sha=9b9597b8dff2099b99b4d2615a1fe886119bd74a [2022-06-14T13:56:29.133Z] ---> Running in b7c1e78242d3 [2022-06-14T13:56:29.133Z] Removing intermediate container b7c1e78242d3 [2022-06-14T13:56:29.133Z] ---> 840132e99b22 [2022-06-14T13:56:29.133Z] Step 26/26 : LABEL version=0.0.0 [2022-06-14T13:56:29.133Z] ---> Running in 8a4cf95eaf27 [2022-06-14T13:56:29.133Z] Removing intermediate container 8a4cf95eaf27 [2022-06-14T13:56:29.133Z] ---> a0f832885522 [2022-06-14T13:56:29.133Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-14T13:56:29.133Z] Successfully built a0f832885522 [2022-06-14T13:56:29.133Z] 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-14T13:56:29.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-14T13:56:29.950Z] [2022-06-14T13:56:29.950Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:56:30.361Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-14T13:56:30.637Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-14T13:56:30.637Z] 8998bd30e6a1: Pulling fs layer [2022-06-14T13:56:30.637Z] 04944245beec: Pulling fs layer [2022-06-14T13:56:30.637Z] 699f458cf7ca: Pulling fs layer [2022-06-14T13:56:30.637Z] 765212b225bb: Pulling fs layer [2022-06-14T13:56:30.637Z] f23df028b6ca: Pulling fs layer [2022-06-14T13:56:30.637Z] d65c8cfc05b1: Pulling fs layer [2022-06-14T13:56:30.637Z] 2437ff75d9bd: Pulling fs layer [2022-06-14T13:56:30.637Z] 765212b225bb: Waiting [2022-06-14T13:56:30.637Z] f23df028b6ca: Waiting [2022-06-14T13:56:30.637Z] d65c8cfc05b1: Waiting [2022-06-14T13:56:30.637Z] 2437ff75d9bd: Waiting [2022-06-14T13:56:30.637Z] 04944245beec: Verifying Checksum [2022-06-14T13:56:30.637Z] 04944245beec: Download complete [2022-06-14T13:56:30.637Z] 765212b225bb: Verifying Checksum [2022-06-14T13:56:30.637Z] 765212b225bb: Download complete [2022-06-14T13:56:30.637Z] f23df028b6ca: Verifying Checksum [2022-06-14T13:56:30.637Z] f23df028b6ca: Download complete [2022-06-14T13:56:30.637Z] d65c8cfc05b1: Verifying Checksum [2022-06-14T13:56:30.637Z] d65c8cfc05b1: Download complete [2022-06-14T13:56:30.915Z] 699f458cf7ca: Verifying Checksum [2022-06-14T13:56:30.915Z] 699f458cf7ca: Download complete [2022-06-14T13:56:31.190Z] 8998bd30e6a1: Download complete [2022-06-14T13:56:33.825Z] 2437ff75d9bd: Verifying Checksum [2022-06-14T13:56:33.825Z] 2437ff75d9bd: Download complete [2022-06-14T13:56:35.812Z] 8998bd30e6a1: Pull complete [2022-06-14T13:56:36.088Z] 04944245beec: Pull complete [2022-06-14T13:56:37.531Z] 699f458cf7ca: Pull complete [2022-06-14T13:56:37.531Z] 765212b225bb: Pull complete [2022-06-14T13:56:38.516Z] f23df028b6ca: Pull complete [2022-06-14T13:56:38.792Z] d65c8cfc05b1: Pull complete [2022-06-14T13:56:53.901Z] 2437ff75d9bd: Pull complete [2022-06-14T13:56:53.901Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-14T13:56:53.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-14T13:56:53.901Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T13:56:54.279Z] prd-ubuntu20.04-docker-arm64-4c-16g-2394 does not seem to be running inside a container [2022-06-14T13:56:54.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-14T13:56:56.844Z] $ docker top a1830e8bca88220ecd233faefa1cc747288e4211fbb4334ab6e07547a9d722b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:56:57.832Z] ---> job-cost.sh [2022-06-14T13:56:57.832Z] lf-activate-venv: SKIPPING [2022-06-14T13:56:57.832Z] INFO: No Stack... [2022-06-14T13:56:58.108Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-14T13:56:59.084Z] INFO: Archiving Costs [Pipeline] sh [2022-06-14T13:56:59.766Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-06-14T13:56:59.766Z] + cut -d, -f6 [Pipeline] lock [2022-06-14T13:56:59.851Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-1-stack-cost] [2022-06-14T13:56:59.856Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-1-stack-cost] did not exist. Created. [2022-06-14T13:56:59.856Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-14T13:57:00.607Z] /w/workspace/device-virtual-go/1@tmp/durable-aa4276ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-14T13:57:01.313Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-14T13:57:01.346Z] Warning: overwriting stash ‘stack-cost’ [2022-06-14T13:57:01.396Z] Stashed 1 file(s) [Pipeline] } [2022-06-14T13:57:01.412Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-14T13:57:01.498Z] $ docker stop --time=1 a1830e8bca88220ecd233faefa1cc747288e4211fbb4334ab6e07547a9d722b3 [2022-06-14T13:57:03.009Z] $ docker rm -f a1830e8bca88220ecd233faefa1cc747288e4211fbb4334ab6e07547a9d722b3 [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-14T13:57:04.055Z] provisioning config files... [2022-06-14T13:57:04.062Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config8005919352559811552tmp [Pipeline] { [Pipeline] sh [2022-06-14T13:57:04.392Z] + set +x [2022-06-14T13:57:04.392Z] + curl -s https://codecov.io/bash [2022-06-14T13:57:04.392Z] + bash -s -- [2022-06-14T13:57:04.392Z] [2022-06-14T13:57:04.392Z] _____ _ [2022-06-14T13:57:04.392Z] / ____| | | [2022-06-14T13:57:04.392Z] | | ___ __| | ___ ___ _____ __ [2022-06-14T13:57:04.392Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-14T13:57:04.392Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-14T13:57:04.392Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-14T13:57:04.392Z] Bash-1.0.6 [2022-06-14T13:57:04.392Z] [2022-06-14T13:57:04.392Z] [2022-06-14T13:57:04.392Z] ==> git version 2.25.1 found [2022-06-14T13:57:04.392Z] ==> 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-14T13:57:04.392Z] Release-Date: 2020-01-08 [2022-06-14T13:57:04.392Z] 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-14T13:57:04.392Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-14T13:57:04.392Z] ==> Jenkins CI detected. [2022-06-14T13:57:04.392Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-14T13:57:04.392Z] project root: . [2022-06-14T13:57:04.392Z] --> token set from env [2022-06-14T13:57:04.392Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-14T13:57:04.392Z] ==> Running gcov in . (disable via -X gcov) [2022-06-14T13:57:04.392Z] ==> Python coveragepy not found [2022-06-14T13:57:04.392Z] ==> Searching for coverage reports in: [2022-06-14T13:57:04.392Z] + . [2022-06-14T13:57:04.392Z] -> Found 1 reports [2022-06-14T13:57:04.392Z] ==> Detecting git/mercurial file structure [2022-06-14T13:57:04.392Z] ==> Reading reports [2022-06-14T13:57:04.392Z] + ./coverage.out bytes=44128 [2022-06-14T13:57:04.392Z] ==> Appending adjustments [2022-06-14T13:57:04.392Z] https://docs.codecov.io/docs/fixing-reports [2022-06-14T13:57:04.652Z] + Found adjustments [2022-06-14T13:57:04.652Z] ==> Gzipping contents [2022-06-14T13:57:04.652Z] 8.0K /tmp/codecov.ceFIqp.gz [2022-06-14T13:57:04.652Z] ==> Uploading reports [2022-06-14T13:57:04.652Z] url: https://codecov.io [2022-06-14T13:57:04.652Z] query: branch=PR-290&commit=9b9597b8dff2099b99b4d2615a1fe886119bd74a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-14T13:57:04.652Z] -> Pinging Codecov [2022-06-14T13:57:04.652Z] 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=9b9597b8dff2099b99b4d2615a1fe886119bd74a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-14T13:57:04.914Z] -> Uploading to [2022-06-14T13:57:04.914Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-14/5E52B4B073DB2E39498172D8E973AA87/9b9597b8dff2099b99b4d2615a1fe886119bd74a/5b46fbef-5d52-4ddd-9648-501b31eebf6e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220614%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220614T135704Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=965612ded1b1315f62b4469dd36d4b5fcbb046a5b7ac1309895fb979a35048f2 [2022-06-14T13:57:04.914Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-14T13:57:04.914Z] Dload Upload Total Spent Left Speed [2022-06-14T13:57:05.175Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5481 0 0 100 5481 0 25375 --:--:-- --:--:-- --:--:-- 25375 [2022-06-14T13:57:05.175Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/9b9597b8dff2099b99b4d2615a1fe886119bd74a [Pipeline] } [2022-06-14T13:57:05.208Z] 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-14T13:57:06.969Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-14T13:57:06.969Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-14T13:57:06.969Z] total 16 [2022-06-14T13:57:06.969Z] drwxr-xr-x 3 root root 4096 Jun 14 13:49 . [2022-06-14T13:57:06.969Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 14 13:49 .. [2022-06-14T13:57:06.969Z] drwxr-xr-x 2 root root 4096 Jun 14 13:49 cost [2022-06-14T13:57:06.969Z] -rw-r--r-- 1 root root 88 Jun 14 13:49 cost.csv [2022-06-14T13:57:06.969Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-14T13:57:06.969Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-14T13:57:06.969Z] total 16 [2022-06-14T13:57:06.969Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 14 13:49 . [2022-06-14T13:57:06.969Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 14 13:49 .. [2022-06-14T13:57:06.969Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 14 13:49 cost [2022-06-14T13:57:06.969Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 14 13:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:57:07.311Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:57:08.202Z] ---> package-listing.sh [2022-06-14T13:57:08.202Z] ++ facter osfamily [2022-06-14T13:57:08.202Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-14T13:57:08.466Z] + OS_FAMILY=debian [2022-06-14T13:57:08.466Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-14T13:57:08.466Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-14T13:57:08.466Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-14T13:57:08.466Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-14T13:57:08.466Z] + PACKAGES=/tmp/packages_start.txt [2022-06-14T13:57:08.466Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-14T13:57:08.466Z] + PACKAGES=/tmp/packages_end.txt [2022-06-14T13:57:08.466Z] + case "${OS_FAMILY}" in [2022-06-14T13:57:08.466Z] + dpkg -l [2022-06-14T13:57:08.466Z] + grep '^ii' [2022-06-14T13:57:08.466Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-14T13:57:08.466Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-14T13:57:08.466Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-14T13:57:08.466Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-14T13:57:08.466Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-14T13:57:08.466Z] + 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-14T13:57:08.501Z] 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-14T13:57:08.799Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-14T13:57:09.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-14T13:57:09.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-14T13:57:09.578Z] prd-ubuntu20.04-docker-8c-8g-2393 does not seem to be running inside a container [2022-06-14T13:57:09.620Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-14T13:57:09.869Z] $ docker top 39b3c7f8699d9e7418481f751a3d54d019ad6b2647af59730f7e046c4938d9e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-14T13:57:10.259Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-14T13:57:10.569Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-14T13:57:10.884Z] + ls /var/log/sa-host [2022-06-14T13:57:10.884Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-14T13:57:11.094Z] provisioning config files... [2022-06-14T13:57:11.105Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6318334496409660267tmp [Pipeline] { [Pipeline] echo [2022-06-14T13:57:11.150Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:57:11.461Z] ---> create-netrc.sh [Pipeline] } [2022-06-14T13:57:11.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:57:11.893Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-14T13:57:11.927Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:57:12.239Z] ---> sudo-logs.sh [2022-06-14T13:57:12.239Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-14T13:57:12.317Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:57:12.625Z] ---> job-cost.sh [2022-06-14T13:57:12.625Z] lf-activate-venv: SKIPPING [2022-06-14T13:57:12.625Z] DEBUG: total: 0.2199999988079071 [2022-06-14T13:57:12.625Z] INFO: Retrieving Stack Cost... [2022-06-14T13:57:12.886Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-14T13:57:13.456Z] INFO: Archiving Costs [Pipeline] echo [2022-06-14T13:57:13.494Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-14T13:57:13.821Z] ---> logs-deploy.sh [2022-06-14T13:57:13.821Z] lf-activate-venv: SKIPPING [2022-06-14T13:57:13.821Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/1 [2022-06-14T13:57:13.821Z] INFO: archiving workspace using pattern(s): [2022-06-14T13:57:14.762Z] Archives upload complete. [2022-06-14T13:57:14.762Z] INFO: archiving logs to Nexus