Pull request #338 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 jinlinGuan for edgexfoundry/device-virtual-go Loading trusted files from base branch main at bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 rather than 078c265f9abc1776f984bc8ca80ae715da7e2ec5 Obtained Jenkinsfile from bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 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-ssh3459075629019876715.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16445032877822790829.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-338/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-338/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6265805648121278614.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-338/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14962885964373552832.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh8745147316574557814.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-338/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-338/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh560718662185421104.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 Running on prd-ubuntu20.04-docker-8c-8g-5486 in /w/workspace/foundry_device-virtual-go_PR-338 [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-338 # 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 bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 into PR head commit 078c265f9abc1776f984bc8ca80ae715da7e2ec5 > 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/338/head:refs/remotes/origin/PR-338 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 078c265f9abc1776f984bc8ca80ae715da7e2ec5 # timeout=10 Merge succeeded, producing 078c265f9abc1776f984bc8ca80ae715da7e2ec5 Checking out Revision 078c265f9abc1776f984bc8ca80ae715da7e2ec5 (PR-338) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 078c265f9abc1776f984bc8ca80ae715da7e2ec5 # timeout=10 Commit message: "build(deps): bump device-sdk-go and go-mod-core-contracts versions" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T06:51:25.274Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T06:51:25.458Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T06:51:25.557Z] ========================================================= [2023-02-13T06:51:25.557Z] EdgeX Global Pipelines Version Info [2023-02-13T06:51:25.557Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:51:26.335Z] ------------------- [2023-02-13T06:51:26.335Z] stable info: [2023-02-13T06:51:26.335Z] ------------------- [2023-02-13T06:51:26.335Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T06:51:26.335Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T06:51:26.335Z] Message: update stable to v1.0.244 [2023-02-13T06:51:26.907Z] ------------------- [2023-02-13T06:51:26.907Z] experimental info: [2023-02-13T06:51:26.907Z] ------------------- [2023-02-13T06:51:26.907Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T06:51:26.907Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T06:51:26.907Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T06:51:27.198Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-13T06:51:27.249Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-13T06:51:27.286Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T06:51:27.325Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T06:51:27.361Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T06:51:27.400Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T06:51:27.435Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T06:51:27.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-13T06:51:27.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T06:51:27.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T06:51:27.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T06:51:27.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-13T06:51:27.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T06:51:27.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T06:51:27.724Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T06:51:27.762Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T06:51:27.799Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T06:51:27.836Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T06:51:27.876Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T06:51:27.919Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T06:51:27.959Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-13T06:51:28.003Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-13T06:51:28.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T06:51:28.085Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T06:51:28.123Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T06:51:28.166Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T06:51:28.209Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T06:51:28.250Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-338 [Pipeline] echo [2023-02-13T06:51:28.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-338 [Pipeline] echo [2023-02-13T06:51:28.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-338 [Pipeline] echo [2023-02-13T06:51:28.377Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 078c265f9abc1776f984bc8ca80ae715da7e2ec5 [Pipeline] echo [2023-02-13T06:51:28.419Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 078c265 [Pipeline] echo [2023-02-13T06:51:28.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T06:51:28.583Z] provisioning config files... [2023-02-13T06:51:28.596Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config13124061987604765886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:51:28.944Z] ---> docker-login.sh [2023-02-13T06:51:28.944Z] nexus3.edgexfoundry.org:10001 [2023-02-13T06:51:29.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:51:29.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:51:29.207Z] Configure a credential helper to remove this warning. See [2023-02-13T06:51:29.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:51:29.207Z] [2023-02-13T06:51:29.207Z] Login Succeeded [2023-02-13T06:51:29.207Z] nexus3.edgexfoundry.org:10002 [2023-02-13T06:51:29.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:51:29.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:51:29.467Z] Configure a credential helper to remove this warning. See [2023-02-13T06:51:29.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:51:29.467Z] [2023-02-13T06:51:29.467Z] Login Succeeded [2023-02-13T06:51:29.467Z] nexus3.edgexfoundry.org:10003 [2023-02-13T06:51:29.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:51:29.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:51:29.467Z] Configure a credential helper to remove this warning. See [2023-02-13T06:51:29.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:51:29.467Z] [2023-02-13T06:51:29.467Z] Login Succeeded [2023-02-13T06:51:29.467Z] nexus3.edgexfoundry.org:10004 [2023-02-13T06:51:29.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:51:29.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:51:29.727Z] Configure a credential helper to remove this warning. See [2023-02-13T06:51:29.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:51:29.727Z] [2023-02-13T06:51:29.727Z] Login Succeeded [2023-02-13T06:51:29.727Z] docker.io [2023-02-13T06:51:29.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:51:29.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:51:29.988Z] Configure a credential helper to remove this warning. See [2023-02-13T06:51:29.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:51:29.988Z] [2023-02-13T06:51:29.988Z] Login Succeeded [2023-02-13T06:51:29.988Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T06:51:30.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T06:51:30.652Z] + git rev-list -1 --merges 078c265f9abc1776f984bc8ca80ae715da7e2ec5~1..078c265f9abc1776f984bc8ca80ae715da7e2ec5 [Pipeline] echo [2023-02-13T06:51:30.685Z] -----------> git rev-list -1 --merges 078c265f9abc1776f984bc8ca80ae715da7e2ec5~1..078c265f9abc1776f984bc8ca80ae715da7e2ec5 078c265f9abc1776f984bc8ca80ae715da7e2ec5 [false] [Pipeline] sh [2023-02-13T06:51:30.991Z] + git log --format=format:%s -1 078c265f9abc1776f984bc8ca80ae715da7e2ec5 [Pipeline] echo [2023-02-13T06:51:31.034Z] ========================================================= [2023-02-13T06:51:31.034Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T06:51:31.034Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T06:51:31.477Z] + git log --format=format:%s -1 078c265f9abc1776f984bc8ca80ae715da7e2ec5 [Pipeline] echo [2023-02-13T06:51:31.514Z] [semverPrep] GIT_COMMIT: 078c265f9abc1776f984bc8ca80ae715da7e2ec5, Commit Message: build(deps): bump device-sdk-go and go-mod-core-contracts versions [Pipeline] echo [2023-02-13T06:51:31.547Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T06:51:31.936Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T06:51:31.936Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T06:51:31.936Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T06:51:31.936Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T06:51:31.936Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T06:51:31.936Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T06:51:31.936Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:51:32.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T06:51:32.430Z] [2023-02-13T06:51:32.430Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:51:32.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T06:51:32.812Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T06:51:32.812Z] b85a868b505f: Pulling fs layer [2023-02-13T06:51:32.812Z] e2be974225ed: Pulling fs layer [2023-02-13T06:51:32.812Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T06:51:32.812Z] 988bab9f4d93: Pulling fs layer [2023-02-13T06:51:32.812Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T06:51:32.812Z] eaf3925da568: Pulling fs layer [2023-02-13T06:51:32.812Z] bab4dde63d76: Pulling fs layer [2023-02-13T06:51:32.812Z] bde34c3a00c8: Pulling fs layer [2023-02-13T06:51:32.812Z] b352a97aabf1: Pulling fs layer [2023-02-13T06:51:32.812Z] 4872d77fe225: Pulling fs layer [2023-02-13T06:51:32.812Z] 5851b861e8e6: Pulling fs layer [2023-02-13T06:51:32.812Z] bde34c3a00c8: Waiting [2023-02-13T06:51:32.812Z] 988bab9f4d93: Waiting [2023-02-13T06:51:32.812Z] 5851b861e8e6: Waiting [2023-02-13T06:51:32.812Z] b352a97aabf1: Waiting [2023-02-13T06:51:32.812Z] 1469e6f7b9e6: Waiting [2023-02-13T06:51:32.812Z] 4872d77fe225: Waiting [2023-02-13T06:51:32.812Z] bab4dde63d76: Waiting [2023-02-13T06:51:32.812Z] eaf3925da568: Waiting [2023-02-13T06:51:32.812Z] e2be974225ed: Verifying Checksum [2023-02-13T06:51:32.812Z] e2be974225ed: Download complete [2023-02-13T06:51:32.812Z] 988bab9f4d93: Download complete [2023-02-13T06:51:33.076Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T06:51:33.076Z] 1469e6f7b9e6: Download complete [2023-02-13T06:51:33.076Z] eaf3925da568: Download complete [2023-02-13T06:51:33.337Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T06:51:33.337Z] 339a4e72a1f5: Download complete [2023-02-13T06:51:33.337Z] bde34c3a00c8: Verifying Checksum [2023-02-13T06:51:33.337Z] bde34c3a00c8: Download complete [2023-02-13T06:51:33.337Z] b85a868b505f: Verifying Checksum [2023-02-13T06:51:33.337Z] b85a868b505f: Download complete [2023-02-13T06:51:33.337Z] b352a97aabf1: Verifying Checksum [2023-02-13T06:51:33.337Z] 4872d77fe225: Download complete [2023-02-13T06:51:33.337Z] 5851b861e8e6: Verifying Checksum [2023-02-13T06:51:33.595Z] bab4dde63d76: Verifying Checksum [2023-02-13T06:51:33.595Z] bab4dde63d76: Download complete [2023-02-13T06:51:34.527Z] b85a868b505f: Pull complete [2023-02-13T06:51:34.527Z] e2be974225ed: Pull complete [2023-02-13T06:51:34.786Z] 339a4e72a1f5: Pull complete [2023-02-13T06:51:35.047Z] 988bab9f4d93: Pull complete [2023-02-13T06:51:35.047Z] 1469e6f7b9e6: Pull complete [2023-02-13T06:51:35.305Z] eaf3925da568: Pull complete [2023-02-13T06:51:36.679Z] bab4dde63d76: Pull complete [2023-02-13T06:51:36.940Z] bde34c3a00c8: Pull complete [2023-02-13T06:51:36.940Z] b352a97aabf1: Pull complete [2023-02-13T06:51:36.940Z] 4872d77fe225: Pull complete [2023-02-13T06:51:36.940Z] 5851b861e8e6: Pull complete [2023-02-13T06:51:36.940Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T06:51:36.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T06:51:36.940Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:51:37.155Z] prd-ubuntu20.04-docker-8c-8g-5486 does not seem to be running inside a container [2023-02-13T06:51:37.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T06:51:38.316Z] $ docker top 4c26bf36fb3f9688da668c734da07ae50a4bd4e3b9c966d05e3a4ed34b5ddb39 -eo pid,comm [2023-02-13T06:51:38.389Z] 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). [2023-02-13T06:51:38.389Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T06:51:38.508Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T06:51:38.508Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T06:51:38.621Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T06:51:38.603Z] $ docker exec 4c26bf36fb3f9688da668c734da07ae50a4bd4e3b9c966d05e3a4ed34b5ddb39 ssh-agent [2023-02-13T06:51:38.742Z] SSH_AUTH_SOCK=/tmp/ssh-p2oBbqh3peeI/agent.32 [2023-02-13T06:51:38.742Z] SSH_AGENT_PID=39 [2023-02-13T06:51:38.749Z] Running ssh-add (command line suppressed) [2023-02-13T06:51:38.824Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_16660070219783484753.key (/w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_16660070219783484753.key) [2023-02-13T06:51:38.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T06:51:39.187Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T06:51:39.191Z] $ docker exec --env ******** --env ******** 4c26bf36fb3f9688da668c734da07ae50a4bd4e3b9c966d05e3a4ed34b5ddb39 ssh-agent -k [2023-02-13T06:51:39.287Z] unset SSH_AUTH_SOCK; [2023-02-13T06:51:39.289Z] unset SSH_AGENT_PID; [2023-02-13T06:51:39.289Z] echo Agent pid 39 killed; [2023-02-13T06:51:39.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T06:51:39.412Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T06:51:39.412Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T06:51:39.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T06:51:39.497Z] $ docker exec 4c26bf36fb3f9688da668c734da07ae50a4bd4e3b9c966d05e3a4ed34b5ddb39 ssh-agent [2023-02-13T06:51:39.619Z] SSH_AUTH_SOCK=/tmp/ssh-IcMA7gB6if6g/agent.71 [2023-02-13T06:51:39.619Z] SSH_AGENT_PID=77 [2023-02-13T06:51:39.625Z] Running ssh-add (command line suppressed) [2023-02-13T06:51:39.702Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_13954488916041453948.key (/w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_13954488916041453948.key) [2023-02-13T06:51:39.741Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T06:51:40.070Z] + git semver init [2023-02-13T06:51:40.329Z] 2023-02-13 06:51:40,207 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T06:51:40.329Z] 2023-02-13 06:51:40,208 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-338/.semver [2023-02-13T06:51:40.329Z] 2023-02-13 06:51:40,208 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-338/.semver [2023-02-13T06:51:40.329Z] 2023-02-13 06:51:40,209 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-338/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-338, universal_newlines=False, shell=None, istream=None) [2023-02-13T06:51:41.708Z] 2023-02-13 06:51:41,438 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-338/.git/info/exclude [2023-02-13T06:51:41.708Z] 2023-02-13 06:51:41,439 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-338/.semver/PR-338 with force:False [2023-02-13T06:51:41.708Z] 2023-02-13 06:51:41,439 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-338/.semver/PR-338 [2023-02-13T06:51:41.708Z] 2023-02-13 06:51:41,443 [execute] INFO git cat-file --batch-check [2023-02-13T06:51:41.708Z] 2023-02-13 06:51:41,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-338/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T06:51:41.708Z] 2023-02-13 06:51:41,448 [execute] INFO git cat-file --batch [2023-02-13T06:51:41.708Z] 2023-02-13 06:51:41,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-338/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T06:51:41.708Z] 2023-02-13 06:51:41,452 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-338/.semver/PR-338 [2023-02-13T06:51:41.708Z] 0.0.0 [Pipeline] } [2023-02-13T06:51:41.725Z] $ docker exec --env ******** --env ******** 4c26bf36fb3f9688da668c734da07ae50a4bd4e3b9c966d05e3a4ed34b5ddb39 ssh-agent -k [2023-02-13T06:51:41.826Z] unset SSH_AUTH_SOCK; [2023-02-13T06:51:41.827Z] unset SSH_AGENT_PID; [2023-02-13T06:51:41.827Z] echo Agent pid 77 killed; [2023-02-13T06:51:41.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T06:51:42.270Z] + git semver [Pipeline] } [2023-02-13T06:51:42.530Z] $ docker stop --time=1 4c26bf36fb3f9688da668c734da07ae50a4bd4e3b9c966d05e3a4ed34b5ddb39 [2023-02-13T06:51:43.850Z] $ docker rm -f --volumes 4c26bf36fb3f9688da668c734da07ae50a4bd4e3b9c966d05e3a4ed34b5ddb39 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T06:51:44.268Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T06:51:44.518Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T06:51:44.536Z] [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] { [2023-02-13T06:51:45.065Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5492 in /w/workspace/foundry_device-virtual-go_PR-338 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T06:51:45.156Z] provisioning config files... [2023-02-13T06:51:45.167Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config5788264112725317022tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-02-13T06:51:45.321Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-02-13T06:51:45.393Z] The recommended git tool is: git [2023-02-13T06:51:45.544Z] ---> docker-login.sh [2023-02-13T06:51:45.545Z] nexus3.edgexfoundry.org:10001 [2023-02-13T06:51:45.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:51:45.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:51:45.545Z] Configure a credential helper to remove this warning. See [2023-02-13T06:51:45.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:51:45.545Z] [2023-02-13T06:51:45.545Z] Login Succeeded [2023-02-13T06:51:45.545Z] nexus3.edgexfoundry.org:10002 [2023-02-13T06:51:45.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:51:45.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:51:45.545Z] Configure a credential helper to remove this warning. See [2023-02-13T06:51:45.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:51:45.545Z] [2023-02-13T06:51:45.545Z] Login Succeeded [2023-02-13T06:51:45.545Z] nexus3.edgexfoundry.org:10003 [2023-02-13T06:51:45.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:51:45.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:51:45.805Z] Configure a credential helper to remove this warning. See [2023-02-13T06:51:45.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:51:45.805Z] [2023-02-13T06:51:45.805Z] Login Succeeded [2023-02-13T06:51:45.805Z] nexus3.edgexfoundry.org:10004 [2023-02-13T06:51:45.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:51:45.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:51:45.805Z] Configure a credential helper to remove this warning. See [2023-02-13T06:51:45.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:51:45.805Z] [2023-02-13T06:51:45.805Z] Login Succeeded [2023-02-13T06:51:45.805Z] docker.io [2023-02-13T06:51:45.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:51:46.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:51:46.065Z] Configure a credential helper to remove this warning. See [2023-02-13T06:51:46.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:51:46.066Z] [2023-02-13T06:51:46.066Z] Login Succeeded [2023-02-13T06:51:46.066Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T06:51:46.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T06:51:46.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:51:46.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:51:46.421Z] ========================================================= [2023-02-13T06:51:46.421Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T06:51:46.421Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:51:46.886Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T06:51:46.887Z] Sending build context to Docker daemon 23.38MB [2023-02-13T06:51:46.887Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T06:51:46.887Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-13T06:51:46.887Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T06:51:46.887Z] 213ec9aee27d: Pulling fs layer [2023-02-13T06:51:46.887Z] 4583459ba037: Pulling fs layer [2023-02-13T06:51:46.887Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T06:51:46.887Z] 53926ce57604: Pulling fs layer [2023-02-13T06:51:46.887Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T06:51:46.887Z] 22ff95d597cd: Pulling fs layer [2023-02-13T06:51:46.887Z] 21b2b0c7a3f4: Waiting [2023-02-13T06:51:46.887Z] 53926ce57604: Waiting [2023-02-13T06:51:46.887Z] 22ff95d597cd: Waiting [2023-02-13T06:51:46.887Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T06:51:46.887Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T06:51:46.887Z] a7acece74701: Pulling fs layer [2023-02-13T06:51:46.887Z] 12d6caf4c0d1: Waiting [2023-02-13T06:51:46.887Z] 96b7cbca73a9: Waiting [2023-02-13T06:51:46.887Z] a7acece74701: Waiting [2023-02-13T06:51:47.150Z] 93c1e223e6f2: Download complete [2023-02-13T06:51:47.150Z] 4583459ba037: Verifying Checksum [2023-02-13T06:51:47.150Z] 4583459ba037: Download complete [2023-02-13T06:51:47.150Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T06:51:47.150Z] 21b2b0c7a3f4: Download complete [2023-02-13T06:51:47.150Z] 22ff95d597cd: Verifying Checksum [2023-02-13T06:51:47.150Z] 22ff95d597cd: Download complete [2023-02-13T06:51:47.150Z] 213ec9aee27d: Download complete [2023-02-13T06:51:47.150Z] 12d6caf4c0d1: Download complete [2023-02-13T06:51:47.150Z] 213ec9aee27d: Pull complete [2023-02-13T06:51:47.417Z] 4583459ba037: Pull complete [2023-02-13T06:51:47.417Z] 93c1e223e6f2: Pull complete [2023-02-13T06:51:48.411Z] a7acece74701: Verifying Checksum [2023-02-13T06:51:48.411Z] a7acece74701: Download complete [2023-02-13T06:51:48.411Z] 53926ce57604: Verifying Checksum [2023-02-13T06:51:48.411Z] 53926ce57604: Download complete [2023-02-13T06:51:48.668Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T06:51:48.668Z] 96b7cbca73a9: Download complete [2023-02-13T06:51:50.055Z] using credential edgex-jenkins-ssh [2023-02-13T06:51:50.070Z] Cloning the remote Git repository [2023-02-13T06:51:50.107Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-13T06:51:50.165Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-02-13T06:51:50.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-13T06:51:50.306Z] > git --version # timeout=10 [2023-02-13T06:51:50.326Z] > git --version # 'git version 2.25.1' [2023-02-13T06:51:50.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T06:51:50.377Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T06:51:51.945Z] 53926ce57604: Pull complete [2023-02-13T06:51:51.945Z] 21b2b0c7a3f4: Pull complete [2023-02-13T06:51:51.945Z] 22ff95d597cd: Pull complete [2023-02-13T06:51:51.945Z] 12d6caf4c0d1: Pull complete [2023-02-13T06:51:52.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-13T06:51:52.416Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T06:51:53.840Z] 96b7cbca73a9: Pull complete [2023-02-13T06:51:53.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-13T06:51:53.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-13T06:51:53.402Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T06:51:53.417Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/338/head:refs/remotes/origin/PR-338 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T06:51:54.071Z] Merging remotes/origin/main commit bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 into PR head commit 078c265f9abc1776f984bc8ca80ae715da7e2ec5 [2023-02-13T06:51:54.311Z] Merge succeeded, producing 078c265f9abc1776f984bc8ca80ae715da7e2ec5 [2023-02-13T06:51:54.312Z] Checking out Revision 078c265f9abc1776f984bc8ca80ae715da7e2ec5 (PR-338) [2023-02-13T06:51:54.405Z] a7acece74701: Pull complete [2023-02-13T06:51:54.405Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T06:51:54.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T06:51:54.405Z] ---> db6d94c90886 [2023-02-13T06:51:54.405Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T06:51:54.084Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T06:51:54.105Z] > git checkout -f 078c265f9abc1776f984bc8ca80ae715da7e2ec5 # timeout=10 [2023-02-13T06:51:54.190Z] > git remote # timeout=10 [2023-02-13T06:51:54.211Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T06:51:54.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T06:51:54.251Z] > git merge bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 # timeout=10 [2023-02-13T06:51:54.280Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T06:51:54.309Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T06:51:54.323Z] > git checkout -f 078c265f9abc1776f984bc8ca80ae715da7e2ec5 # timeout=10 [2023-02-13T06:51:56.310Z] ---> Running in f4030c09f094 [2023-02-13T06:51:56.310Z] Removing intermediate container f4030c09f094 [2023-02-13T06:51:56.310Z] ---> ecac62adda7e [2023-02-13T06:51:56.310Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T06:51:56.310Z] ---> Running in ca6bd6e28dcb [2023-02-13T06:51:56.310Z] Removing intermediate container ca6bd6e28dcb [2023-02-13T06:51:56.310Z] ---> c4cf1057d2df [2023-02-13T06:51:56.310Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-13T06:51:56.310Z] ---> Running in 7a0bda28a787 [2023-02-13T06:51:56.310Z] Removing intermediate container 7a0bda28a787 [2023-02-13T06:51:56.310Z] ---> 3ecf53283e09 [2023-02-13T06:51:56.310Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-13T06:51:56.310Z] ---> Running in bdb6b86c6530 [2023-02-13T06:51:56.310Z] Removing intermediate container bdb6b86c6530 [2023-02-13T06:51:56.310Z] ---> aa80f339e33a [2023-02-13T06:51:56.310Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T06:51:56.310Z] ---> Running in a39f428fd774 [2023-02-13T06:51:56.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T06:51:56.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T06:51:57.088Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T06:51:57.088Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-13T06:51:57.088Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T06:51:57.088Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T06:51:57.088Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T06:51:57.088Z] OK: 216 MiB in 55 packages [2023-02-13T06:51:57.656Z] Removing intermediate container a39f428fd774 [2023-02-13T06:51:57.656Z] ---> 103a7984ae2f [2023-02-13T06:51:57.656Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-13T06:51:57.656Z] ---> ee8a18d296d9 [2023-02-13T06:51:57.656Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T06:51:57.656Z] ---> Running in b5073f508023 [2023-02-13T06:51:57.831Z] Commit message: "build(deps): bump device-sdk-go and go-mod-core-contracts versions" [2023-02-13T06:51:57.870Z] > git --version # timeout=10 [2023-02-13T06:51:57.881Z] > git --version # 'git version 2.25.1' [2023-02-13T06:51:57.900Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T06:51:58.929Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T06:51:58.929Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T06:51:58.929Z] Dload Upload Total Spent Left Speed [2023-02-13T06:51:58.929Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-02-13T06:51:59.548Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T06:51:59.898Z] + sudo tee /etc/docker/daemon.new [2023-02-13T06:51:59.898Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T06:51:59.898Z] { [2023-02-13T06:51:59.898Z] "registry-mirrors": [ [2023-02-13T06:51:59.898Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T06:51:59.898Z] ], [2023-02-13T06:51:59.898Z] "bip": "10.250.0.254/24", [2023-02-13T06:51:59.898Z] "hosts": [ [2023-02-13T06:51:59.898Z] "tcp://0.0.0.0:5555", [2023-02-13T06:51:59.898Z] "unix:///var/run/docker.sock" [2023-02-13T06:51:59.898Z] ], [2023-02-13T06:51:59.898Z] "mtu": 1458, [2023-02-13T06:51:59.898Z] "selinux-enabled": true, [2023-02-13T06:51:59.898Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T06:51:59.898Z] } [Pipeline] sh [2023-02-13T06:52:00.245Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T06:52:00.591Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T06:52:18.919Z] provisioning config files... [2023-02-13T06:52:18.947Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config401284343624722658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:52:19.338Z] ---> docker-login.sh [2023-02-13T06:52:19.338Z] nexus3.edgexfoundry.org:10001 [2023-02-13T06:52:19.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:52:19.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:52:19.932Z] Configure a credential helper to remove this warning. See [2023-02-13T06:52:19.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:52:19.932Z] [2023-02-13T06:52:19.932Z] Login Succeeded [2023-02-13T06:52:19.932Z] nexus3.edgexfoundry.org:10002 [2023-02-13T06:52:20.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:52:20.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:52:20.200Z] Configure a credential helper to remove this warning. See [2023-02-13T06:52:20.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:52:20.200Z] [2023-02-13T06:52:20.200Z] Login Succeeded [2023-02-13T06:52:20.200Z] nexus3.edgexfoundry.org:10003 [2023-02-13T06:52:20.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:52:20.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:52:20.741Z] Configure a credential helper to remove this warning. See [2023-02-13T06:52:20.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:52:20.741Z] [2023-02-13T06:52:20.741Z] Login Succeeded [2023-02-13T06:52:20.741Z] nexus3.edgexfoundry.org:10004 [2023-02-13T06:52:21.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:52:21.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:52:21.011Z] Configure a credential helper to remove this warning. See [2023-02-13T06:52:21.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:52:21.011Z] [2023-02-13T06:52:21.011Z] Login Succeeded [2023-02-13T06:52:21.011Z] docker.io [2023-02-13T06:52:21.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:52:21.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:52:21.549Z] Configure a credential helper to remove this warning. See [2023-02-13T06:52:21.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:52:21.549Z] [2023-02-13T06:52:21.549Z] Login Succeeded [2023-02-13T06:52:21.549Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T06:52:21.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T06:52:21.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:52:21.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:52:21.947Z] ========================================================= [2023-02-13T06:52:21.947Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T06:52:21.947Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:52:22.417Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T06:52:22.685Z] Sending build context to Docker daemon 11.85MB [2023-02-13T06:52:22.685Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T06:52:22.685Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-13T06:52:22.956Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T06:52:22.956Z] 9b18e9b68314: Pulling fs layer [2023-02-13T06:52:22.956Z] 35d82f9e3411: Pulling fs layer [2023-02-13T06:52:22.956Z] e16973657156: Pulling fs layer [2023-02-13T06:52:22.956Z] fc693d55d65f: Pulling fs layer [2023-02-13T06:52:22.956Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T06:52:22.956Z] dda99020689f: Pulling fs layer [2023-02-13T06:52:22.956Z] db1c61fa0a46: Pulling fs layer [2023-02-13T06:52:22.956Z] 891c053d2c06: Pulling fs layer [2023-02-13T06:52:22.956Z] 7e9fc2657dce: Waiting [2023-02-13T06:52:22.956Z] fc693d55d65f: Waiting [2023-02-13T06:52:22.956Z] db1c61fa0a46: Waiting [2023-02-13T06:52:22.956Z] 891c053d2c06: Waiting [2023-02-13T06:52:22.956Z] e16973657156: Verifying Checksum [2023-02-13T06:52:22.956Z] e16973657156: Download complete [2023-02-13T06:52:22.956Z] 35d82f9e3411: Verifying Checksum [2023-02-13T06:52:22.956Z] 35d82f9e3411: Download complete [2023-02-13T06:52:22.956Z] 7e9fc2657dce: Download complete [2023-02-13T06:52:22.956Z] dda99020689f: Verifying Checksum [2023-02-13T06:52:22.956Z] dda99020689f: Download complete [2023-02-13T06:52:22.956Z] 9b18e9b68314: Verifying Checksum [2023-02-13T06:52:22.956Z] 9b18e9b68314: Download complete [2023-02-13T06:52:23.936Z] 9b18e9b68314: Pull complete [2023-02-13T06:52:24.196Z] Removing intermediate container b5073f508023 [2023-02-13T06:52:24.197Z] ---> 9d28e3da4308 [2023-02-13T06:52:24.197Z] Step 10/12 : COPY . . [2023-02-13T06:52:24.197Z] ---> 342043ff4081 [2023-02-13T06:52:24.197Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T06:52:24.197Z] ---> Running in e2b481ffe1dc [2023-02-13T06:52:24.197Z] Removing intermediate container e2b481ffe1dc [2023-02-13T06:52:24.197Z] ---> 8cfb720df4ec [2023-02-13T06:52:24.197Z] Step 12/12 : RUN $MAKE [2023-02-13T06:52:24.197Z] ---> Running in 3371dfc6b776 [2023-02-13T06:52:24.197Z] noop [2023-02-13T06:52:24.197Z] Removing intermediate container 3371dfc6b776 [2023-02-13T06:52:24.197Z] ---> e11537119a99 [2023-02-13T06:52:24.197Z] Successfully built e11537119a99 [2023-02-13T06:52:24.197Z] Successfully tagged ci-base-image-x86_64:latest [2023-02-13T06:52:24.207Z] 891c053d2c06: Verifying Checksum [2023-02-13T06:52:24.207Z] 891c053d2c06: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:52:24.477Z] 35d82f9e3411: Pull complete [2023-02-13T06:52:24.658Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T06:52:24.658Z] . [Pipeline] } [Pipeline] // withEnv [2023-02-13T06:52:24.747Z] e16973657156: Pull complete [Pipeline] withDockerContainer [2023-02-13T06:52:24.821Z] prd-ubuntu20.04-docker-8c-8g-5486 does not seem to be running inside a container [2023-02-13T06:52:24.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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 ******** ci-base-image-x86_64 cat [2023-02-13T06:52:25.202Z] $ docker top db795c3c62df1bca40e664d6a1e4059ad8c4c6eec78190bde2b36ed19f9df405 -eo pid,comm [Pipeline] { [2023-02-13T06:52:25.335Z] db1c61fa0a46: Verifying Checksum [2023-02-13T06:52:25.335Z] db1c61fa0a46: Download complete [Pipeline] sh [2023-02-13T06:52:25.655Z] + go version [2023-02-13T06:52:25.655Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T06:52:25.663Z] $ docker stop --time=1 db795c3c62df1bca40e664d6a1e4059ad8c4c6eec78190bde2b36ed19f9df405 [2023-02-13T06:52:25.918Z] fc693d55d65f: Verifying Checksum [2023-02-13T06:52:25.918Z] fc693d55d65f: Download complete [2023-02-13T06:52:26.961Z] $ docker rm -f --volumes db795c3c62df1bca40e664d6a1e4059ad8c4c6eec78190bde2b36ed19f9df405 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:52:27.689Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T06:52:27.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:52:27.838Z] prd-ubuntu20.04-docker-8c-8g-5486 does not seem to be running inside a container [2023-02-13T06:52:27.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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 ******** ci-base-image-x86_64 cat [2023-02-13T06:52:28.207Z] $ docker top 8652af7f5dc78625be1fc656905788e92bbd1110cb95767716a061f2e224af21 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:52:28.623Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-338 [Pipeline] fileExists [Pipeline] sh [2023-02-13T06:52:28.982Z] + make test [2023-02-13T06:52:28.982Z] go test ./... -coverprofile=coverage.out [2023-02-13T06:52:29.242Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-13T06:52:37.350Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-13T06:52:37.919Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2023-02-13T06:52:38.347Z] fc693d55d65f: Pull complete [2023-02-13T06:52:38.347Z] 7e9fc2657dce: Pull complete [2023-02-13T06:52:38.347Z] dda99020689f: Pull complete [2023-02-13T06:52:43.707Z] db1c61fa0a46: Pull complete [2023-02-13T06:52:44.472Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-13T06:52:44.472Z] go vet ./... [2023-02-13T06:52:45.661Z] 891c053d2c06: Pull complete [2023-02-13T06:52:45.661Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T06:52:45.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T06:52:45.661Z] ---> f96f9c87975a [2023-02-13T06:52:45.661Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T06:52:46.998Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T06:52:46.998Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T06:52:46.998Z] ./bin/test-attribution-txt.sh [2023-02-13T06:52:46.998Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T06:52:46.998Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T06:52:47.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T06:52:47.045Z] $ docker stop --time=1 8652af7f5dc78625be1fc656905788e92bbd1110cb95767716a061f2e224af21 [2023-02-13T06:52:47.612Z] ---> Running in c028e087194f [2023-02-13T06:52:47.612Z] Removing intermediate container c028e087194f [2023-02-13T06:52:47.612Z] ---> 2bfd3172fa41 [2023-02-13T06:52:47.612Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T06:52:47.612Z] ---> Running in 0de479f40aeb [2023-02-13T06:52:47.879Z] Removing intermediate container 0de479f40aeb [2023-02-13T06:52:47.879Z] ---> d57f7fc1399e [2023-02-13T06:52:47.879Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-13T06:52:47.879Z] ---> Running in f17d8031c555 [2023-02-13T06:52:48.151Z] Removing intermediate container f17d8031c555 [2023-02-13T06:52:48.151Z] ---> 0bc27910ea6c [2023-02-13T06:52:48.151Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-13T06:52:48.151Z] ---> Running in a3c9a0e257e4 [2023-02-13T06:52:48.430Z] Removing intermediate container a3c9a0e257e4 [2023-02-13T06:52:48.430Z] ---> 7dd31cd2fc48 [2023-02-13T06:52:48.430Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T06:52:48.698Z] ---> Running in 0b8556bfe277 [2023-02-13T06:52:48.752Z] $ docker rm -f --volumes 8652af7f5dc78625be1fc656905788e92bbd1110cb95767716a061f2e224af21 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T06:52:49.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T06:52:49.432Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-02-13T06:52:49.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [Pipeline] sh [2023-02-13T06:52:49.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T06:52:50.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T06:52:50.411Z] + ls -al . [2023-02-13T06:52:50.411Z] total 192 [2023-02-13T06:52:50.411Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 06:52 . [2023-02-13T06:52:50.411Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 06:51 .. [2023-02-13T06:52:50.411Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 06:52 .git [2023-02-13T06:52:50.411Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:51 .github [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 13 06:51 .gitignore [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 06:51 .golangci.yml [2023-02-13T06:52:50.411Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 06:51 .semver [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 13 06:51 Attribution.txt [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 13 06:51 CHANGELOG.md [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 13 06:51 Dockerfile [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 06:51 GOVERNANCE.md [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 13 06:51 Jenkinsfile [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 06:51 LICENSE [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 13 06:51 Makefile [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 13 06:51 OWNERS.md [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 13 06:51 README.md [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 06:51 VERSION [2023-02-13T06:52:50.411Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 06:51 bin [2023-02-13T06:52:50.411Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:51 cmd [2023-02-13T06:52:50.411Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 13 06:52 coverage.out [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 13 06:51 go.mod [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 13 06:51 go.sum [2023-02-13T06:52:50.411Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:51 internal [2023-02-13T06:52:50.411Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 06:51 snap [2023-02-13T06:52:50.411Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 13 06:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:52:50.818Z] + 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=078c265f9abc1776f984bc8ca80ae715da7e2ec5 --label arch=amd64 --label version=0.0.0 . [2023-02-13T06:52:50.818Z] Sending build context to Docker daemon 23.43MB [2023-02-13T06:52:50.818Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T06:52:50.818Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-13T06:52:50.818Z] ---> e11537119a99 [2023-02-13T06:52:50.818Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T06:52:50.882Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T06:52:50.882Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-13T06:52:50.882Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T06:52:50.882Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T06:52:50.882Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T06:52:51.081Z] ---> Running in 1230d9494492 [2023-02-13T06:52:51.081Z] Removing intermediate container 1230d9494492 [2023-02-13T06:52:51.081Z] ---> 0efe6bb549ed [2023-02-13T06:52:51.081Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T06:52:51.081Z] ---> Running in 1150e9b8eddc [2023-02-13T06:52:51.081Z] Removing intermediate container 1150e9b8eddc [2023-02-13T06:52:51.081Z] ---> 190ead4b9c49 [2023-02-13T06:52:51.081Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-13T06:52:51.152Z] OK: 226 MiB in 55 packages [2023-02-13T06:52:51.340Z] ---> Running in 2820081bc1ca [2023-02-13T06:52:51.340Z] Removing intermediate container 2820081bc1ca [2023-02-13T06:52:51.340Z] ---> 2347e9fbab07 [2023-02-13T06:52:51.340Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-13T06:52:51.340Z] ---> Running in bf5626a57d70 [2023-02-13T06:52:51.340Z] Removing intermediate container bf5626a57d70 [2023-02-13T06:52:51.340Z] ---> cbf446ec7782 [2023-02-13T06:52:51.340Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T06:52:51.598Z] ---> Running in 78d5f2c7f2b1 [2023-02-13T06:52:51.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T06:52:51.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T06:52:52.116Z] OK: 216 MiB in 55 packages [2023-02-13T06:52:52.117Z] Removing intermediate container 0b8556bfe277 [2023-02-13T06:52:52.117Z] ---> 6bca258858ae [2023-02-13T06:52:52.117Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-13T06:52:52.393Z] ---> af237914a4a3 [2023-02-13T06:52:52.393Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T06:52:52.663Z] ---> Running in 67011474a0bf [2023-02-13T06:52:52.683Z] Removing intermediate container 78d5f2c7f2b1 [2023-02-13T06:52:52.683Z] ---> 8b79d2c98dda [2023-02-13T06:52:52.683Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-13T06:52:52.683Z] ---> e8d810b44e08 [2023-02-13T06:52:52.683Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T06:52:52.683Z] ---> Running in ef9c6e6905eb [2023-02-13T06:52:53.618Z] Removing intermediate container ef9c6e6905eb [2023-02-13T06:52:53.618Z] ---> 0a898225d89e [2023-02-13T06:52:53.618Z] Step 10/25 : COPY . . [2023-02-13T06:52:54.185Z] ---> f4f363c75ed5 [2023-02-13T06:52:54.185Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T06:52:54.185Z] ---> Running in df0642e0e9aa [2023-02-13T06:52:54.185Z] Removing intermediate container df0642e0e9aa [2023-02-13T06:52:54.185Z] ---> ccdf0b3c29a2 [2023-02-13T06:52:54.185Z] Step 12/25 : RUN $MAKE [2023-02-13T06:52:54.185Z] ---> Running in fce081666c53 [2023-02-13T06:52:54.444Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-13T06:53:12.523Z] Removing intermediate container fce081666c53 [2023-02-13T06:53:12.523Z] ---> 29527568a88e [2023-02-13T06:53:12.523Z] Step 13/25 : FROM alpine:3.16 [2023-02-13T06:53:12.523Z] 3.16: Pulling from library/alpine [2023-02-13T06:53:12.523Z] ef5531b6e74e: Pulling fs layer [2023-02-13T06:53:12.523Z] ef5531b6e74e: Verifying Checksum [2023-02-13T06:53:12.523Z] ef5531b6e74e: Download complete [2023-02-13T06:53:12.523Z] ef5531b6e74e: Pull complete [2023-02-13T06:53:12.523Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T06:53:12.523Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T06:53:12.523Z] ---> dfd21b5a31f5 [2023-02-13T06:53:12.523Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-13T06:53:12.523Z] ---> Running in 137db589ae41 [2023-02-13T06:53:12.523Z] Removing intermediate container 137db589ae41 [2023-02-13T06:53:12.523Z] ---> 68587f4c28ec [2023-02-13T06:53:12.523Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-13T06:53:12.523Z] ---> Running in 137c93fb30ad [2023-02-13T06:53:12.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T06:53:12.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T06:53:13.041Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T06:53:13.041Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T06:53:13.041Z] OK: 6 MiB in 15 packages [2023-02-13T06:53:13.299Z] Removing intermediate container 137c93fb30ad [2023-02-13T06:53:13.299Z] ---> 212d50b19242 [2023-02-13T06:53:13.299Z] Step 16/25 : WORKDIR / [2023-02-13T06:53:13.558Z] ---> Running in d01a7266caad [2023-02-13T06:53:13.558Z] Removing intermediate container d01a7266caad [2023-02-13T06:53:13.558Z] ---> 33a6b4e7a61b [2023-02-13T06:53:13.558Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-13T06:53:13.558Z] ---> 02afb3d51c9c [2023-02-13T06:53:13.558Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-13T06:53:13.817Z] ---> 787099066a50 [2023-02-13T06:53:13.817Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-13T06:53:14.389Z] ---> 7abe116352c8 [2023-02-13T06:53:14.389Z] Step 20/25 : EXPOSE 59900 [2023-02-13T06:53:14.389Z] ---> Running in 612c763d7418 [2023-02-13T06:53:14.389Z] Removing intermediate container 612c763d7418 [2023-02-13T06:53:14.389Z] ---> 92d1af8b24cf [2023-02-13T06:53:14.389Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-13T06:53:14.389Z] ---> Running in c57c879fb015 [2023-02-13T06:53:14.647Z] Removing intermediate container c57c879fb015 [2023-02-13T06:53:14.647Z] ---> bf3123532fa9 [2023-02-13T06:53:14.647Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T06:53:14.647Z] ---> Running in 8b367a21a688 [2023-02-13T06:53:14.647Z] Removing intermediate container 8b367a21a688 [2023-02-13T06:53:14.647Z] ---> c073e195930f [2023-02-13T06:53:14.647Z] Step 23/25 : LABEL arch=amd64 [2023-02-13T06:53:14.647Z] ---> Running in a5951e04b736 [2023-02-13T06:53:14.647Z] Removing intermediate container a5951e04b736 [2023-02-13T06:53:14.647Z] ---> 4a570f82e420 [2023-02-13T06:53:14.647Z] Step 24/25 : LABEL git_sha=078c265f9abc1776f984bc8ca80ae715da7e2ec5 [2023-02-13T06:53:14.911Z] ---> Running in b47060da3cbc [2023-02-13T06:53:14.911Z] Removing intermediate container b47060da3cbc [2023-02-13T06:53:14.911Z] ---> 4ec8f2bbc732 [2023-02-13T06:53:14.911Z] Step 25/25 : LABEL version=0.0.0 [2023-02-13T06:53:14.911Z] ---> Running in 1787bba1539b [2023-02-13T06:53:14.911Z] Removing intermediate container 1787bba1539b [2023-02-13T06:53:14.911Z] ---> 95966abff349 [2023-02-13T06:53:14.911Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T06:53:14.911Z] Successfully built 95966abff349 [2023-02-13T06:53:15.169Z] 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 [2023-02-13T06:53:16.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:53:16.026Z] [2023-02-13T06:53:16.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:53:16.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:53:16.405Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T06:53:16.405Z] 5eb5b503b376: Pulling fs layer [2023-02-13T06:53:16.405Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T06:53:16.405Z] ec43610c2a17: Pulling fs layer [2023-02-13T06:53:16.405Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T06:53:16.405Z] 33b1e0a273af: Pulling fs layer [2023-02-13T06:53:16.405Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T06:53:16.405Z] 2f39f015ded8: Pulling fs layer [2023-02-13T06:53:16.405Z] 33b1e0a273af: Waiting [2023-02-13T06:53:16.405Z] 5d3b04190fa2: Waiting [2023-02-13T06:53:16.405Z] 3a2ae6a8a46f: Waiting [2023-02-13T06:53:16.405Z] 2f39f015ded8: Waiting [2023-02-13T06:53:16.405Z] 5c69ac0246d0: Download complete [2023-02-13T06:53:16.405Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T06:53:16.405Z] 3a2ae6a8a46f: Download complete [2023-02-13T06:53:16.670Z] 33b1e0a273af: Verifying Checksum [2023-02-13T06:53:16.670Z] 33b1e0a273af: Download complete [2023-02-13T06:53:16.670Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T06:53:16.670Z] 5d3b04190fa2: Download complete [2023-02-13T06:53:16.670Z] ec43610c2a17: Verifying Checksum [2023-02-13T06:53:16.670Z] ec43610c2a17: Download complete [2023-02-13T06:53:16.930Z] 5eb5b503b376: Download complete [2023-02-13T06:53:17.496Z] 2f39f015ded8: Download complete [2023-02-13T06:53:18.065Z] 5eb5b503b376: Pull complete [2023-02-13T06:53:18.065Z] 5c69ac0246d0: Pull complete [2023-02-13T06:53:18.630Z] ec43610c2a17: Pull complete [2023-02-13T06:53:18.630Z] 3a2ae6a8a46f: Pull complete [2023-02-13T06:53:18.888Z] 33b1e0a273af: Pull complete [2023-02-13T06:53:18.888Z] 5d3b04190fa2: Pull complete [2023-02-13T06:53:23.072Z] 2f39f015ded8: Pull complete [2023-02-13T06:53:23.072Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T06:53:23.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:53:23.072Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:53:23.306Z] prd-ubuntu20.04-docker-8c-8g-5486 does not seem to be running inside a container [2023-02-13T06:53:23.312Z] $ 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-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T06:53:24.933Z] $ docker top 49bdae79907c5ffddf6a3a82f3f3541bac55786a50bce50fac98c7e7b28361db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:53:25.417Z] ---> job-cost.sh [2023-02-13T06:53:25.417Z] lf-activate-venv: SKIPPING [2023-02-13T06:53:25.417Z] INFO: No Stack... [2023-02-13T06:53:25.984Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T06:53:26.551Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T06:53:26.870Z] + cat /w/workspace/foundry_device-virtual-go_PR-338/archives/cost.csv [2023-02-13T06:53:26.870Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T06:53:26.915Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-338-1-stack-cost] [2023-02-13T06:53:26.919Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-338-1-stack-cost] did not exist. Created. [2023-02-13T06:53:26.920Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-338-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T06:53:27.312Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T06:53:27.359Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T06:53:27.385Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-338-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T06:53:27.491Z] $ docker stop --time=1 49bdae79907c5ffddf6a3a82f3f3541bac55786a50bce50fac98c7e7b28361db [2023-02-13T06:53:28.670Z] $ docker rm -f --volumes 49bdae79907c5ffddf6a3a82f3f3541bac55786a50bce50fac98c7e7b28361db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T06:54:14.312Z] Removing intermediate container 67011474a0bf [2023-02-13T06:54:14.312Z] ---> ef01c2871da3 [2023-02-13T06:54:14.312Z] Step 10/12 : COPY . . [2023-02-13T06:54:14.312Z] ---> 25de2c06555a [2023-02-13T06:54:14.312Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T06:54:14.312Z] ---> Running in 2176060b5e36 [2023-02-13T06:54:14.313Z] Removing intermediate container 2176060b5e36 [2023-02-13T06:54:14.313Z] ---> e56c5b2c4415 [2023-02-13T06:54:14.313Z] Step 12/12 : RUN $MAKE [2023-02-13T06:54:14.313Z] ---> Running in 4ccbed74fbda [2023-02-13T06:54:14.313Z] noop [2023-02-13T06:54:14.313Z] Removing intermediate container 4ccbed74fbda [2023-02-13T06:54:14.313Z] ---> 3d9b45999439 [2023-02-13T06:54:14.313Z] Successfully built 3d9b45999439 [2023-02-13T06:54:14.313Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:54:14.786Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T06:54:14.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:54:15.052Z] prd-ubuntu20.04-docker-arm64-4c-16g-5492 does not seem to be running inside a container [2023-02-13T06:54:15.111Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-13T06:54:16.321Z] $ docker top 03bdc22788097a211ca3b390eac72098f2dc5aeb907719ca3c20750f4709351b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:54:17.199Z] + go version [2023-02-13T06:54:17.199Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T06:54:17.226Z] $ docker stop --time=1 03bdc22788097a211ca3b390eac72098f2dc5aeb907719ca3c20750f4709351b [2023-02-13T06:54:18.846Z] $ docker rm -f --volumes 03bdc22788097a211ca3b390eac72098f2dc5aeb907719ca3c20750f4709351b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:54:19.671Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T06:54:19.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:54:19.932Z] prd-ubuntu20.04-docker-arm64-4c-16g-5492 does not seem to be running inside a container [2023-02-13T06:54:19.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** ci-base-image-arm64 cat [2023-02-13T06:54:21.168Z] $ docker top 6f778a0f5c2e3b0c5a10a80fce39eb04ec39d99a0d83fd43910e92601f5a5244 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:54:21.748Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-13T06:54:22.131Z] + make test [2023-02-13T06:54:22.131Z] go test ./... -coverprofile=coverage.out [2023-02-13T06:54:24.075Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-13T06:55:45.718Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-13T06:55:45.718Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements [2023-02-13T06:55:45.718Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T06:55:45.718Z] go vet ./... [2023-02-13T06:56:03.929Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T06:56:03.929Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T06:56:03.929Z] ./bin/test-attribution-txt.sh [2023-02-13T06:56:03.929Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T06:56:03.929Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T06:56:03.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T06:56:03.990Z] $ docker stop --time=1 6f778a0f5c2e3b0c5a10a80fce39eb04ec39d99a0d83fd43910e92601f5a5244 [2023-02-13T06:56:05.781Z] $ docker rm -f --volumes 6f778a0f5c2e3b0c5a10a80fce39eb04ec39d99a0d83fd43910e92601f5a5244 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T06:56:06.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T06:56:06.810Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T06:56:07.262Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T06:56:07.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T06:56:08.178Z] + ls -al . [2023-02-13T06:56:08.178Z] total 188 [2023-02-13T06:56:08.178Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 06:54 . [2023-02-13T06:56:08.178Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 06:51 .. [2023-02-13T06:56:08.178Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 06:51 .git [2023-02-13T06:56:08.178Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:51 .github [2023-02-13T06:56:08.178Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 13 06:51 .gitignore [2023-02-13T06:56:08.178Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 06:51 .golangci.yml [2023-02-13T06:56:08.178Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 13 06:51 Attribution.txt [2023-02-13T06:56:08.178Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 13 06:51 CHANGELOG.md [2023-02-13T06:56:08.178Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 13 06:51 Dockerfile [2023-02-13T06:56:08.178Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 06:51 GOVERNANCE.md [2023-02-13T06:56:08.178Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 13 06:51 Jenkinsfile [2023-02-13T06:56:08.178Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 06:51 LICENSE [2023-02-13T06:56:08.179Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 13 06:51 Makefile [2023-02-13T06:56:08.179Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 13 06:51 OWNERS.md [2023-02-13T06:56:08.179Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 13 06:51 README.md [2023-02-13T06:56:08.179Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 06:51 VERSION [2023-02-13T06:56:08.179Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 06:51 bin [2023-02-13T06:56:08.179Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:51 cmd [2023-02-13T06:56:08.179Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 13 06:55 coverage.out [2023-02-13T06:56:08.179Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 13 06:51 go.mod [2023-02-13T06:56:08.179Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 13 06:51 go.sum [2023-02-13T06:56:08.179Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:51 internal [2023-02-13T06:56:08.179Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 06:51 snap [2023-02-13T06:56:08.179Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 13 06:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:56:08.591Z] + 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=078c265f9abc1776f984bc8ca80ae715da7e2ec5 --label arch=arm64 --label version=0.0.0 . [2023-02-13T06:56:08.863Z] Sending build context to Docker daemon 11.89MB [2023-02-13T06:56:08.863Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T06:56:08.863Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-13T06:56:08.863Z] ---> 3d9b45999439 [2023-02-13T06:56:08.863Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T06:56:09.135Z] ---> Running in c5686006e7f3 [2023-02-13T06:56:09.403Z] Removing intermediate container c5686006e7f3 [2023-02-13T06:56:09.403Z] ---> 6ed4a9c90da8 [2023-02-13T06:56:09.403Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T06:56:09.403Z] ---> Running in 06bec1d17bf0 [2023-02-13T06:56:09.672Z] Removing intermediate container 06bec1d17bf0 [2023-02-13T06:56:09.672Z] ---> a653cec97e25 [2023-02-13T06:56:09.672Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-13T06:56:09.940Z] ---> Running in ab72d1a4f2b9 [2023-02-13T06:56:10.208Z] Removing intermediate container ab72d1a4f2b9 [2023-02-13T06:56:10.208Z] ---> 769b33653563 [2023-02-13T06:56:10.208Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-13T06:56:10.208Z] ---> Running in cf3970056310 [2023-02-13T06:56:10.479Z] Removing intermediate container cf3970056310 [2023-02-13T06:56:10.479Z] ---> bdfc3dcfd3da [2023-02-13T06:56:10.479Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T06:56:10.479Z] ---> Running in 0ac1696ddd94 [2023-02-13T06:56:11.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T06:56:11.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T06:56:12.674Z] OK: 226 MiB in 55 packages [2023-02-13T06:56:13.652Z] Removing intermediate container 0ac1696ddd94 [2023-02-13T06:56:13.652Z] ---> a6595bdccce8 [2023-02-13T06:56:13.652Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-13T06:56:13.921Z] ---> bb10b59f7085 [2023-02-13T06:56:13.921Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T06:56:13.921Z] ---> Running in a0e516e7e41a [2023-02-13T06:56:16.512Z] Removing intermediate container a0e516e7e41a [2023-02-13T06:56:16.512Z] ---> 5d79cb4baf2b [2023-02-13T06:56:16.512Z] Step 10/25 : COPY . . [2023-02-13T06:56:17.470Z] ---> 2595b67d9fcd [2023-02-13T06:56:17.470Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T06:56:17.738Z] ---> Running in a67ff79c4677 [2023-02-13T06:56:18.006Z] Removing intermediate container a67ff79c4677 [2023-02-13T06:56:18.006Z] ---> b83bfcb39af2 [2023-02-13T06:56:18.006Z] Step 12/25 : RUN $MAKE [2023-02-13T06:56:18.006Z] ---> Running in 90408d30db5a [2023-02-13T06:56:18.968Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-13T06:58:26.044Z] Removing intermediate container 90408d30db5a [2023-02-13T06:58:26.044Z] ---> 649dce642513 [2023-02-13T06:58:26.044Z] Step 13/25 : FROM alpine:3.16 [2023-02-13T06:58:26.044Z] 3.16: Pulling from library/alpine [2023-02-13T06:58:26.044Z] 3760b48202b3: Pulling fs layer [2023-02-13T06:58:26.044Z] 3760b48202b3: Verifying Checksum [2023-02-13T06:58:26.044Z] 3760b48202b3: Download complete [2023-02-13T06:58:26.044Z] 3760b48202b3: Pull complete [2023-02-13T06:58:26.044Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T06:58:26.044Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T06:58:26.044Z] ---> 4c81e5bf8899 [2023-02-13T06:58:26.044Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-13T06:58:26.044Z] ---> Running in b480185ec574 [2023-02-13T06:58:26.044Z] Removing intermediate container b480185ec574 [2023-02-13T06:58:26.044Z] ---> 7f536f8bc0ee [2023-02-13T06:58:26.044Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-13T06:58:26.044Z] ---> Running in 02fadb6ecc39 [2023-02-13T06:58:26.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T06:58:26.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T06:58:26.044Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T06:58:26.044Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T06:58:26.044Z] OK: 5 MiB in 15 packages [2023-02-13T06:58:26.044Z] Removing intermediate container 02fadb6ecc39 [2023-02-13T06:58:26.044Z] ---> 44cd40970232 [2023-02-13T06:58:26.044Z] Step 16/25 : WORKDIR / [2023-02-13T06:58:26.044Z] ---> Running in 43fdd29611a9 [2023-02-13T06:58:26.044Z] Removing intermediate container 43fdd29611a9 [2023-02-13T06:58:26.044Z] ---> 15cde17907cf [2023-02-13T06:58:26.044Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-13T06:58:26.044Z] ---> 05c893a27f5a [2023-02-13T06:58:26.044Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-13T06:58:26.044Z] ---> eb50b85c981a [2023-02-13T06:58:26.044Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-13T06:58:26.044Z] ---> 20d2d6a2acf0 [2023-02-13T06:58:26.044Z] Step 20/25 : EXPOSE 59900 [2023-02-13T06:58:26.044Z] ---> Running in fd5f71c4c448 [2023-02-13T06:58:26.044Z] Removing intermediate container fd5f71c4c448 [2023-02-13T06:58:26.044Z] ---> d59cb26aa04c [2023-02-13T06:58:26.044Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-13T06:58:26.044Z] ---> Running in a3e3ec1bf1ca [2023-02-13T06:58:26.044Z] Removing intermediate container a3e3ec1bf1ca [2023-02-13T06:58:26.044Z] ---> 1b8512d68e83 [2023-02-13T06:58:26.044Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T06:58:26.044Z] ---> Running in 45c3d92f5ae4 [2023-02-13T06:58:26.044Z] Removing intermediate container 45c3d92f5ae4 [2023-02-13T06:58:26.044Z] ---> aef20c49ab8b [2023-02-13T06:58:26.044Z] Step 23/25 : LABEL arch=arm64 [2023-02-13T06:58:26.044Z] ---> Running in 7a8d0aba8db8 [2023-02-13T06:58:26.044Z] Removing intermediate container 7a8d0aba8db8 [2023-02-13T06:58:26.044Z] ---> 72fa2aa64095 [2023-02-13T06:58:26.044Z] Step 24/25 : LABEL git_sha=078c265f9abc1776f984bc8ca80ae715da7e2ec5 [2023-02-13T06:58:26.044Z] ---> Running in d448e45a50d9 [2023-02-13T06:58:26.044Z] Removing intermediate container d448e45a50d9 [2023-02-13T06:58:26.044Z] ---> 8babc0e0cad1 [2023-02-13T06:58:26.044Z] Step 25/25 : LABEL version=0.0.0 [2023-02-13T06:58:26.044Z] ---> Running in a49f972701e8 [2023-02-13T06:58:26.044Z] Removing intermediate container a49f972701e8 [2023-02-13T06:58:26.044Z] ---> 184565b9a3b3 [2023-02-13T06:58:26.044Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T06:58:26.044Z] Successfully built 184565b9a3b3 [2023-02-13T06:58:26.044Z] 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 [2023-02-13T06:58:26.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T06:58:26.815Z] [2023-02-13T06:58:26.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:58:27.216Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T06:58:27.216Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T06:58:27.216Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T06:58:27.216Z] 04944245beec: Pulling fs layer [2023-02-13T06:58:27.216Z] 699f458cf7ca: Pulling fs layer [2023-02-13T06:58:27.216Z] 765212b225bb: Pulling fs layer [2023-02-13T06:58:27.216Z] f23df028b6ca: Pulling fs layer [2023-02-13T06:58:27.216Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T06:58:27.216Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T06:58:27.216Z] f23df028b6ca: Waiting [2023-02-13T06:58:27.216Z] d65c8cfc05b1: Waiting [2023-02-13T06:58:27.216Z] 2437ff75d9bd: Waiting [2023-02-13T06:58:27.216Z] 765212b225bb: Waiting [2023-02-13T06:58:27.486Z] 04944245beec: Download complete [2023-02-13T06:58:27.486Z] 765212b225bb: Verifying Checksum [2023-02-13T06:58:27.486Z] 765212b225bb: Download complete [2023-02-13T06:58:27.486Z] f23df028b6ca: Download complete [2023-02-13T06:58:27.486Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T06:58:27.486Z] d65c8cfc05b1: Download complete [2023-02-13T06:58:27.755Z] 699f458cf7ca: Verifying Checksum [2023-02-13T06:58:27.755Z] 699f458cf7ca: Download complete [2023-02-13T06:58:28.025Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T06:58:28.025Z] 8998bd30e6a1: Download complete [2023-02-13T06:58:30.628Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T06:58:30.628Z] 2437ff75d9bd: Download complete [2023-02-13T06:58:32.045Z] 8998bd30e6a1: Pull complete [2023-02-13T06:58:32.632Z] 04944245beec: Pull complete [2023-02-13T06:58:34.040Z] 699f458cf7ca: Pull complete [2023-02-13T06:58:34.040Z] 765212b225bb: Pull complete [2023-02-13T06:58:35.004Z] f23df028b6ca: Pull complete [2023-02-13T06:58:35.004Z] d65c8cfc05b1: Pull complete [2023-02-13T06:58:53.210Z] 2437ff75d9bd: Pull complete [2023-02-13T06:58:53.211Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T06:58:53.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T06:58:53.211Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:58:53.524Z] prd-ubuntu20.04-docker-arm64-4c-16g-5492 does not seem to be running inside a container [2023-02-13T06:58:53.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T06:58:56.257Z] $ docker top 2373de227555f49b46a390dbf06d0779d9691018c9eb6b333f472bda19b34649 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:58:57.204Z] ---> job-cost.sh [2023-02-13T06:58:57.204Z] lf-activate-venv: SKIPPING [2023-02-13T06:58:57.204Z] INFO: No Stack... [2023-02-13T06:58:58.180Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T06:58:58.772Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T06:58:59.121Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-02-13T06:58:59.121Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T06:58:59.183Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-338-1-stack-cost] [2023-02-13T06:58:59.189Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-338-1-stack-cost] did not exist. Created. [2023-02-13T06:58:59.189Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-338-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T06:58:59.599Z] /w/workspace/device-virtual-go/1@tmp/durable-779738f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T06:59:00.279Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T06:59:00.315Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T06:59:00.372Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T06:59:00.386Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-338-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T06:59:00.449Z] $ docker stop --time=1 2373de227555f49b46a390dbf06d0779d9691018c9eb6b333f472bda19b34649 [2023-02-13T06:59:01.982Z] $ docker rm -f --volumes 2373de227555f49b46a390dbf06d0779d9691018c9eb6b333f472bda19b34649 [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 [2023-02-13T06:59:04.517Z] provisioning config files... [2023-02-13T06:59:04.525Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config7016330470249338691tmp [Pipeline] { [Pipeline] sh [2023-02-13T06:59:04.856Z] + set +x [2023-02-13T06:59:04.856Z] + curl -s https://codecov.io/bash [2023-02-13T06:59:04.856Z] + bash -s -- [2023-02-13T06:59:04.856Z] [2023-02-13T06:59:04.856Z] _____ _ [2023-02-13T06:59:04.856Z] / ____| | | [2023-02-13T06:59:04.856Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T06:59:04.856Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T06:59:04.856Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T06:59:04.856Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T06:59:04.856Z] Bash-1.0.6 [2023-02-13T06:59:04.856Z] [2023-02-13T06:59:04.856Z] [2023-02-13T06:59:04.856Z] ==> git version 2.25.1 found [2023-02-13T06:59:04.856Z] ==> 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 [2023-02-13T06:59:04.856Z] Release-Date: 2020-01-08 [2023-02-13T06:59:04.856Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-13T06:59:04.856Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T06:59:04.856Z] ==> Jenkins CI detected. [2023-02-13T06:59:04.856Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-338 [2023-02-13T06:59:04.856Z] project root: . [2023-02-13T06:59:04.856Z] --> token set from env [2023-02-13T06:59:04.856Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T06:59:04.856Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T06:59:04.856Z] ==> Python coveragepy not found [2023-02-13T06:59:04.856Z] ==> Searching for coverage reports in: [2023-02-13T06:59:04.856Z] + . [2023-02-13T06:59:04.856Z] -> Found 1 reports [2023-02-13T06:59:04.856Z] ==> Detecting git/mercurial file structure [2023-02-13T06:59:04.856Z] ==> Reading reports [2023-02-13T06:59:04.856Z] + ./coverage.out bytes=44128 [2023-02-13T06:59:04.856Z] ==> Appending adjustments [2023-02-13T06:59:04.856Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T06:59:05.115Z] + Found adjustments [2023-02-13T06:59:05.115Z] ==> Gzipping contents [2023-02-13T06:59:05.115Z] 8.0K /tmp/codecov.hSQhVE.gz [2023-02-13T06:59:05.115Z] ==> Uploading reports [2023-02-13T06:59:05.115Z] url: https://codecov.io [2023-02-13T06:59:05.115Z] query: branch=PR-338&commit=078c265f9abc1776f984bc8ca80ae715da7e2ec5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-338%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=338&job=&cmd_args= [2023-02-13T06:59:05.115Z] -> Pinging Codecov [2023-02-13T06:59:05.115Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-338&commit=078c265f9abc1776f984bc8ca80ae715da7e2ec5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-338%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=338&job=&cmd_args= [2023-02-13T06:59:05.373Z] -> Uploading to [2023-02-13T06:59:05.373Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/5E52B4B073DB2E39498172D8E973AA87/078c265f9abc1776f984bc8ca80ae715da7e2ec5/b9c8566d-6e53-426c-a18e-076148fedb48.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T065905Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c680ff31eebedd454624b29da0f7d6fc9fdd59ec8fcfcf0ad679626b13a24ce4 [2023-02-13T06:59:05.373Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T06:59:05.373Z] Dload Upload Total Spent Left Speed [2023-02-13T06:59:05.631Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5490 0 0 100 5490 0 26911 --:--:-- --:--:-- --:--:-- 26780 100 5490 0 0 100 5490 0 19263 --:--:-- --:--:-- --:--:-- 19195 [2023-02-13T06:59:05.631Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/078c265f9abc1776f984bc8ca80ae715da7e2ec5 [Pipeline] } [2023-02-13T06:59:05.662Z] 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 [2023-02-13T06:59:07.438Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-338/archives ] [2023-02-13T06:59:07.438Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-338/archives [2023-02-13T06:59:07.438Z] total 16 [2023-02-13T06:59:07.438Z] drwxr-xr-x 3 root root 4096 Feb 13 06:53 . [2023-02-13T06:59:07.438Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 06:53 .. [2023-02-13T06:59:07.438Z] drwxr-xr-x 2 root root 4096 Feb 13 06:53 cost [2023-02-13T06:59:07.438Z] -rw-r--r-- 1 root root 90 Feb 13 06:53 cost.csv [2023-02-13T06:59:07.438Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-338/archives [2023-02-13T06:59:07.438Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-338/archives [2023-02-13T06:59:07.438Z] total 16 [2023-02-13T06:59:07.438Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 06:53 . [2023-02-13T06:59:07.438Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 06:53 .. [2023-02-13T06:59:07.438Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 06:53 cost [2023-02-13T06:59:07.438Z] -rw-r--r-- 1 jenkins jenkins 90 Feb 13 06:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:59:07.774Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:59:08.669Z] ---> package-listing.sh [2023-02-13T06:59:08.669Z] ++ facter osfamily [2023-02-13T06:59:08.669Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T06:59:08.669Z] + OS_FAMILY=debian [2023-02-13T06:59:08.669Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-338 [2023-02-13T06:59:08.669Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T06:59:08.669Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T06:59:08.669Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T06:59:08.669Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T06:59:08.669Z] + '[' /w/workspace/foundry_device-virtual-go_PR-338 ']' [2023-02-13T06:59:08.669Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T06:59:08.669Z] + case "${OS_FAMILY}" in [2023-02-13T06:59:08.669Z] + dpkg -l [2023-02-13T06:59:08.928Z] + grep '^ii' [2023-02-13T06:59:08.928Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T06:59:08.928Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T06:59:08.928Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T06:59:08.928Z] + '[' /w/workspace/foundry_device-virtual-go_PR-338 ']' [2023-02-13T06:59:08.928Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-338/archives/ [2023-02-13T06:59:08.928Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-338/archives/ [Pipeline] echo [2023-02-13T06:59:08.959Z] 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-338/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T06:59:09.249Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:59:09.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:59:09.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:59:10.040Z] prd-ubuntu20.04-docker-8c-8g-5486 does not seem to be running inside a container [2023-02-13T06:59:10.044Z] $ 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-338/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-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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-lftools-log-publisher:latest cat [2023-02-13T06:59:10.263Z] $ docker top 620d0277c161e7d20a3613fea80264bd364a2fbb532c0f3c80e4f17d93b83e7e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:59:10.667Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T06:59:11.030Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T06:59:11.335Z] + ls /var/log/sa-host [2023-02-13T06:59:11.335Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T06:59:11.548Z] provisioning config files... [2023-02-13T06:59:11.558Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config13677037450906981516tmp [Pipeline] { [Pipeline] echo [2023-02-13T06:59:11.609Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:59:11.920Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T06:59:11.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:59:12.336Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T06:59:12.370Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:59:12.681Z] ---> sudo-logs.sh [2023-02-13T06:59:12.681Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T06:59:12.769Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:59:13.075Z] ---> job-cost.sh [2023-02-13T06:59:13.075Z] lf-activate-venv: SKIPPING [2023-02-13T06:59:13.075Z] DEBUG: total: 0.2199999988079071 [2023-02-13T06:59:13.075Z] INFO: Retrieving Stack Cost... [2023-02-13T06:59:13.335Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T06:59:13.593Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T06:59:13.626Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:59:13.939Z] ---> logs-deploy.sh [2023-02-13T06:59:13.939Z] lf-activate-venv: SKIPPING [2023-02-13T06:59:13.939Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-338/1 [2023-02-13T06:59:13.939Z] INFO: archiving workspace using pattern(s): [2023-02-13T06:59:14.877Z] Archives upload complete. [2023-02-13T06:59:14.877Z] INFO: archiving logs to Nexus