Pull request #337 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c+b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 (5825fb1924ee66221e962acf7066bc213fc0a562) 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-ssh14670179580196224978.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-ssh4054837568760134148.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-337/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-337/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7445085017847648520.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-337/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17077294267063171457.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-ssh11603895680568533452.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-337/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-337/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5094903821584846763.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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4991 in /w/workspace/foundry_device-virtual-go_PR-337 [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-337 # 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 > 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/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 into PR head commit ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c Merge succeeded, producing ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c Checking out Revision ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c (PR-337) > git config core.sparsecheckout # timeout=10 > git checkout -f ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c # timeout=10 Commit message: "feat!: Use latest SDK for MessageBus Request API" 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-07T22:17:13.250Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T22:17:13.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T22:17:13.527Z] ========================================================= [2023-02-07T22:17:13.527Z] EdgeX Global Pipelines Version Info [2023-02-07T22:17:13.527Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:17:14.663Z] ------------------- [2023-02-07T22:17:14.663Z] stable info: [2023-02-07T22:17:14.663Z] ------------------- [2023-02-07T22:17:14.663Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T22:17:14.663Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:17:14.663Z] Message: update stable to v1.0.244 [2023-02-07T22:17:14.924Z] ------------------- [2023-02-07T22:17:14.924Z] experimental info: [2023-02-07T22:17:14.924Z] ------------------- [2023-02-07T22:17:14.924Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T22:17:14.924Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:17:14.924Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T22:17:15.212Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-07T22:17:15.252Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-07T22:17:15.289Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T22:17:15.330Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T22:17:15.366Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T22:17:15.409Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-07T22:17:15.449Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-07T22:17:15.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-07T22:17:15.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-07T22:17:15.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T22:17:15.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T22:17:15.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-07T22:17:15.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T22:17:15.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T22:17:15.764Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:17:15.804Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:17:15.843Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:17:15.883Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:17:15.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T22:17:15.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T22:17:15.999Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-07T22:17:16.037Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-07T22:17:16.079Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-07T22:17:16.122Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-07T22:17:16.161Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-07T22:17:16.200Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T22:17:16.248Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-07T22:17:16.323Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-337 [Pipeline] echo [2023-02-07T22:17:16.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-337 [Pipeline] echo [2023-02-07T22:17:16.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-337 [Pipeline] echo [2023-02-07T22:17:16.456Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c [Pipeline] echo [2023-02-07T22:17:16.495Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea327ae [Pipeline] echo [2023-02-07T22:17:16.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:17:16.655Z] provisioning config files... [2023-02-07T22:17:16.670Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-337@tmp/config1706680524404525770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:17:17.018Z] ---> docker-login.sh [2023-02-07T22:17:17.018Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:17:17.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:17.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:17.277Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:17.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:17.277Z] [2023-02-07T22:17:17.277Z] Login Succeeded [2023-02-07T22:17:17.277Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:17:17.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:17.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:17.538Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:17.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:17.538Z] [2023-02-07T22:17:17.538Z] Login Succeeded [2023-02-07T22:17:17.538Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:17:17.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:17.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:17.538Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:17.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:17.538Z] [2023-02-07T22:17:17.538Z] Login Succeeded [2023-02-07T22:17:17.538Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:17:17.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:17.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:17.798Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:17.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:17.798Z] [2023-02-07T22:17:17.798Z] Login Succeeded [2023-02-07T22:17:17.798Z] docker.io [2023-02-07T22:17:17.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:18.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:18.062Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:18.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:18.062Z] [2023-02-07T22:17:18.062Z] Login Succeeded [2023-02-07T22:17:18.062Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:17:18.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-07T22:17:18.715Z] + git rev-list -1 --merges ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c~1..ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c [Pipeline] echo [2023-02-07T22:17:18.790Z] -----------> git rev-list -1 --merges ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c~1..ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c [false] [Pipeline] sh [2023-02-07T22:17:19.108Z] + git log --format=format:%s -1 ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c [Pipeline] echo [2023-02-07T22:17:19.198Z] ========================================================= [2023-02-07T22:17:19.198Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T22:17:19.198Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:17:19.613Z] + git log --format=format:%s -1 ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c [Pipeline] echo [2023-02-07T22:17:19.641Z] [semverPrep] GIT_COMMIT: ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c, Commit Message: feat!: Use latest SDK for MessageBus Request API [Pipeline] echo [2023-02-07T22:17:19.668Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-07T22:17:20.033Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:17:20.033Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T22:17:20.033Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T22:17:20.033Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T22:17:20.033Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T22:17:20.033Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-07T22:17:20.033Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:17:20.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:17:20.444Z] [2023-02-07T22:17:20.444Z] 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-07T22:17:20.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:17:20.815Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T22:17:20.815Z] b85a868b505f: Pulling fs layer [2023-02-07T22:17:20.815Z] e2be974225ed: Pulling fs layer [2023-02-07T22:17:20.815Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T22:17:20.815Z] 988bab9f4d93: Pulling fs layer [2023-02-07T22:17:20.815Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T22:17:20.815Z] eaf3925da568: Pulling fs layer [2023-02-07T22:17:20.815Z] bab4dde63d76: Pulling fs layer [2023-02-07T22:17:20.815Z] bde34c3a00c8: Pulling fs layer [2023-02-07T22:17:20.815Z] b352a97aabf1: Pulling fs layer [2023-02-07T22:17:20.815Z] 4872d77fe225: Pulling fs layer [2023-02-07T22:17:20.815Z] 5851b861e8e6: Pulling fs layer [2023-02-07T22:17:20.815Z] 988bab9f4d93: Waiting [2023-02-07T22:17:20.815Z] 1469e6f7b9e6: Waiting [2023-02-07T22:17:20.815Z] eaf3925da568: Waiting [2023-02-07T22:17:20.815Z] bab4dde63d76: Waiting [2023-02-07T22:17:20.815Z] bde34c3a00c8: Waiting [2023-02-07T22:17:20.815Z] b352a97aabf1: Waiting [2023-02-07T22:17:20.815Z] 5851b861e8e6: Waiting [2023-02-07T22:17:20.815Z] 4872d77fe225: Waiting [2023-02-07T22:17:20.815Z] e2be974225ed: Verifying Checksum [2023-02-07T22:17:20.815Z] e2be974225ed: Download complete [2023-02-07T22:17:20.815Z] 988bab9f4d93: Verifying Checksum [2023-02-07T22:17:20.815Z] 988bab9f4d93: Download complete [2023-02-07T22:17:21.082Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T22:17:21.082Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T22:17:21.082Z] 1469e6f7b9e6: Download complete [2023-02-07T22:17:21.082Z] eaf3925da568: Download complete [2023-02-07T22:17:21.082Z] bde34c3a00c8: Download complete [2023-02-07T22:17:21.082Z] b352a97aabf1: Download complete [2023-02-07T22:17:21.082Z] 4872d77fe225: Verifying Checksum [2023-02-07T22:17:21.082Z] 4872d77fe225: Download complete [2023-02-07T22:17:21.343Z] 5851b861e8e6: Download complete [2023-02-07T22:17:21.343Z] b85a868b505f: Verifying Checksum [2023-02-07T22:17:21.343Z] b85a868b505f: Download complete [2023-02-07T22:17:21.618Z] bab4dde63d76: Verifying Checksum [2023-02-07T22:17:21.618Z] bab4dde63d76: Download complete [2023-02-07T22:17:22.559Z] b85a868b505f: Pull complete [2023-02-07T22:17:22.817Z] e2be974225ed: Pull complete [2023-02-07T22:17:23.077Z] 339a4e72a1f5: Pull complete [2023-02-07T22:17:23.077Z] 988bab9f4d93: Pull complete [2023-02-07T22:17:23.336Z] 1469e6f7b9e6: Pull complete [2023-02-07T22:17:23.594Z] eaf3925da568: Pull complete [2023-02-07T22:17:25.497Z] bab4dde63d76: Pull complete [2023-02-07T22:17:25.757Z] bde34c3a00c8: Pull complete [2023-02-07T22:17:26.016Z] b352a97aabf1: Pull complete [2023-02-07T22:17:26.016Z] 4872d77fe225: Pull complete [2023-02-07T22:17:26.016Z] 5851b861e8e6: Pull complete [2023-02-07T22:17:26.275Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T22:17:26.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:17:26.275Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:17:26.578Z] prd-ubuntu20.04-docker-8c-8g-4991 does not seem to be running inside a container [2023-02-07T22:17:26.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-337 -v /w/workspace/foundry_device-virtual-go_PR-337:/w/workspace/foundry_device-virtual-go_PR-337:rw,z -v /w/workspace/foundry_device-virtual-go_PR-337@tmp:/w/workspace/foundry_device-virtual-go_PR-337@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-07T22:17:28.132Z] $ docker top 07049e9af94a9adc0978f12282db1c9ac3259b3f5f02b9fe400149e4ce71dd6a -eo pid,comm [2023-02-07T22:17:28.186Z] 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-07T22:17:28.186Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:17:28.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:17:28.306Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:17:28.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:17:28.432Z] $ docker exec 07049e9af94a9adc0978f12282db1c9ac3259b3f5f02b9fe400149e4ce71dd6a ssh-agent [2023-02-07T22:17:28.556Z] SSH_AUTH_SOCK=/tmp/ssh-KJLJVpAKfBC9/agent.31 [2023-02-07T22:17:28.556Z] SSH_AGENT_PID=37 [2023-02-07T22:17:28.563Z] Running ssh-add (command line suppressed) [2023-02-07T22:17:28.672Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-337@tmp/private_key_10256767329393327362.key (/w/workspace/foundry_device-virtual-go_PR-337@tmp/private_key_10256767329393327362.key) [2023-02-07T22:17:28.684Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:17:29.020Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T22:17:29.050Z] $ docker exec --env ******** --env ******** 07049e9af94a9adc0978f12282db1c9ac3259b3f5f02b9fe400149e4ce71dd6a ssh-agent -k [2023-02-07T22:17:29.149Z] unset SSH_AUTH_SOCK; [2023-02-07T22:17:29.149Z] unset SSH_AGENT_PID; [2023-02-07T22:17:29.149Z] echo Agent pid 37 killed; [2023-02-07T22:17:29.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T22:17:29.260Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:17:29.260Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:17:29.381Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:17:29.386Z] $ docker exec 07049e9af94a9adc0978f12282db1c9ac3259b3f5f02b9fe400149e4ce71dd6a ssh-agent [2023-02-07T22:17:29.508Z] SSH_AUTH_SOCK=/tmp/ssh-U9IhCjBFraag/agent.70 [2023-02-07T22:17:29.508Z] SSH_AGENT_PID=76 [2023-02-07T22:17:29.513Z] Running ssh-add (command line suppressed) [2023-02-07T22:17:29.616Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-337@tmp/private_key_7869864840585049398.key (/w/workspace/foundry_device-virtual-go_PR-337@tmp/private_key_7869864840585049398.key) [2023-02-07T22:17:29.625Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:17:29.950Z] + git semver init [2023-02-07T22:17:30.211Z] 2023-02-07 22:17:30,154 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T22:17:30.211Z] 2023-02-07 22:17:30,155 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-337/.semver [2023-02-07T22:17:30.211Z] 2023-02-07 22:17:30,155 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-337/.semver [2023-02-07T22:17:30.211Z] 2023-02-07 22:17:30,155 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-337/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-337, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:17:31.592Z] 2023-02-07 22:17:31,423 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-337/.git/info/exclude [2023-02-07T22:17:31.592Z] 2023-02-07 22:17:31,424 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-337/.semver/PR-337 with force:False [2023-02-07T22:17:31.592Z] 2023-02-07 22:17:31,424 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-337/.semver/PR-337 [2023-02-07T22:17:31.592Z] 2023-02-07 22:17:31,428 [execute] INFO git cat-file --batch-check [2023-02-07T22:17:31.592Z] 2023-02-07 22:17:31,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-337/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:17:31.592Z] 2023-02-07 22:17:31,434 [execute] INFO git cat-file --batch [2023-02-07T22:17:31.592Z] 2023-02-07 22:17:31,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-337/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:17:31.592Z] 2023-02-07 22:17:31,440 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-337/.semver/PR-337 [2023-02-07T22:17:31.592Z] 0.0.0 [Pipeline] } [2023-02-07T22:17:31.622Z] $ docker exec --env ******** --env ******** 07049e9af94a9adc0978f12282db1c9ac3259b3f5f02b9fe400149e4ce71dd6a ssh-agent -k [2023-02-07T22:17:31.733Z] unset SSH_AUTH_SOCK; [2023-02-07T22:17:31.733Z] unset SSH_AGENT_PID; [2023-02-07T22:17:31.734Z] echo Agent pid 76 killed; [2023-02-07T22:17:31.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:17:32.217Z] + git semver [Pipeline] } [2023-02-07T22:17:32.507Z] $ docker stop --time=1 07049e9af94a9adc0978f12282db1c9ac3259b3f5f02b9fe400149e4ce71dd6a [2023-02-07T22:17:34.135Z] $ docker rm -f --volumes 07049e9af94a9adc0978f12282db1c9ac3259b3f5f02b9fe400149e4ce71dd6a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:17:34.544Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T22:17:34.819Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T22:17:34.835Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:17:35.406Z] provisioning config files... [2023-02-07T22:17:35.415Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-337@tmp/config10706696327368700082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:17:35.755Z] ---> docker-login.sh [2023-02-07T22:17:35.755Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:17:35.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:35.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:35.755Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:35.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:35.755Z] [2023-02-07T22:17:35.755Z] Login Succeeded [2023-02-07T22:17:35.755Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:17:35.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:35.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:35.755Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:35.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:35.755Z] [2023-02-07T22:17:35.755Z] Login Succeeded [2023-02-07T22:17:35.755Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:17:36.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:36.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:36.015Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:36.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:36.015Z] [2023-02-07T22:17:36.015Z] Login Succeeded [2023-02-07T22:17:36.015Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:17:36.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:36.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:36.015Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:36.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:36.015Z] [2023-02-07T22:17:36.015Z] Login Succeeded [2023-02-07T22:17:36.015Z] docker.io [2023-02-07T22:17:36.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:36.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:36.535Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:36.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:36.535Z] [2023-02-07T22:17:36.535Z] Login Succeeded [2023-02-07T22:17:36.535Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:17:36.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:17:36.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:17:36.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:17:36.808Z] ========================================================= [2023-02-07T22:17:36.808Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-07T22:17:36.809Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:17:37.274Z] + 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-07T22:17:37.274Z] Sending build context to Docker daemon 23.37MB [2023-02-07T22:17:37.274Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:17:37.274Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-07T22:17:37.535Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-07T22:17:37.535Z] 213ec9aee27d: Pulling fs layer [2023-02-07T22:17:37.535Z] 4583459ba037: Pulling fs layer [2023-02-07T22:17:37.535Z] 93c1e223e6f2: Pulling fs layer [2023-02-07T22:17:37.535Z] 53926ce57604: Pulling fs layer [2023-02-07T22:17:37.535Z] 53926ce57604: Waiting [2023-02-07T22:17:37.535Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-07T22:17:37.535Z] 22ff95d597cd: Pulling fs layer [2023-02-07T22:17:37.535Z] 12d6caf4c0d1: Pulling fs layer [2023-02-07T22:17:37.535Z] 96b7cbca73a9: Pulling fs layer [2023-02-07T22:17:37.535Z] a7acece74701: Pulling fs layer [2023-02-07T22:17:37.535Z] 21b2b0c7a3f4: Waiting [2023-02-07T22:17:37.535Z] 22ff95d597cd: Waiting [2023-02-07T22:17:37.535Z] 12d6caf4c0d1: Waiting [2023-02-07T22:17:37.535Z] 96b7cbca73a9: Waiting [2023-02-07T22:17:37.535Z] a7acece74701: Waiting [2023-02-07T22:17:37.535Z] 93c1e223e6f2: Download complete [2023-02-07T22:17:37.535Z] 4583459ba037: Download complete [2023-02-07T22:17:37.535Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-07T22:17:37.535Z] 21b2b0c7a3f4: Download complete [2023-02-07T22:17:37.535Z] 22ff95d597cd: Verifying Checksum [2023-02-07T22:17:37.535Z] 22ff95d597cd: Download complete [2023-02-07T22:17:37.535Z] 213ec9aee27d: Download complete [2023-02-07T22:17:37.535Z] 12d6caf4c0d1: Download complete [2023-02-07T22:17:37.799Z] 213ec9aee27d: Pull complete [2023-02-07T22:17:37.799Z] 4583459ba037: Pull complete [2023-02-07T22:17:38.080Z] 93c1e223e6f2: Pull complete [2023-02-07T22:17:39.112Z] a7acece74701: Verifying Checksum [2023-02-07T22:17:39.112Z] a7acece74701: Download complete [2023-02-07T22:17:39.112Z] 53926ce57604: Download complete [2023-02-07T22:17:39.373Z] 96b7cbca73a9: Verifying Checksum [2023-02-07T22:17:39.373Z] 96b7cbca73a9: Download complete [2023-02-07T22:17:43.558Z] 53926ce57604: Pull complete [2023-02-07T22:17:43.558Z] 21b2b0c7a3f4: Pull complete [2023-02-07T22:17:43.558Z] 22ff95d597cd: Pull complete [2023-02-07T22:17:43.558Z] 12d6caf4c0d1: Pull complete [2023-02-07T22:17:45.470Z] 96b7cbca73a9: Pull complete [2023-02-07T22:17:46.039Z] a7acece74701: Pull complete [2023-02-07T22:17:46.039Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-07T22:17:46.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-07T22:17:46.039Z] ---> db6d94c90886 [2023-02-07T22:17:46.039Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:17:47.952Z] ---> Running in 88a8790e58c5 [2023-02-07T22:17:47.952Z] Removing intermediate container 88a8790e58c5 [2023-02-07T22:17:47.952Z] ---> 4dd3be69cf2b [2023-02-07T22:17:47.952Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:17:47.952Z] ---> Running in 72d89779c699 [2023-02-07T22:17:47.952Z] Removing intermediate container 72d89779c699 [2023-02-07T22:17:47.952Z] ---> 85aee64a9163 [2023-02-07T22:17:47.952Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:17:47.952Z] ---> Running in a93cf88a9840 [2023-02-07T22:17:48.211Z] Removing intermediate container a93cf88a9840 [2023-02-07T22:17:48.211Z] ---> 0595573710f5 [2023-02-07T22:17:48.211Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-07T22:17:48.211Z] ---> Running in c60e5e07d9b1 [2023-02-07T22:17:48.471Z] Removing intermediate container c60e5e07d9b1 [2023-02-07T22:17:48.471Z] ---> 89b12bc2732f [2023-02-07T22:17:48.471Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:17:48.471Z] ---> Running in 5b7ff29a4fd6 [2023-02-07T22:17:48.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:17:48.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:17:48.987Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T22:17:48.987Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-07T22:17:48.987Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T22:17:48.987Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T22:17:48.987Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:17:48.987Z] OK: 216 MiB in 55 packages [2023-02-07T22:17:49.554Z] Removing intermediate container 5b7ff29a4fd6 [2023-02-07T22:17:49.554Z] ---> 9f1de4a79050 [2023-02-07T22:17:49.554Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-07T22:17:49.554Z] ---> 2c00a651629d [2023-02-07T22:17:49.554Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:17:49.814Z] ---> Running in c6c52d1176f5 [2023-02-07T22:17:50.229Z] Still waiting to schedule task [2023-02-07T22:17:50.229Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-07T22:18:28.527Z] Removing intermediate container c6c52d1176f5 [2023-02-07T22:18:28.527Z] ---> 7512b657ae21 [2023-02-07T22:18:28.527Z] Step 10/12 : COPY . . [2023-02-07T22:18:28.527Z] ---> 8998dce4e172 [2023-02-07T22:18:28.527Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:18:28.527Z] ---> Running in cbbbc977397a [2023-02-07T22:18:28.527Z] Removing intermediate container cbbbc977397a [2023-02-07T22:18:28.527Z] ---> cc3612368e3f [2023-02-07T22:18:28.527Z] Step 12/12 : RUN $MAKE [2023-02-07T22:18:28.527Z] ---> Running in d0f91a8e58ef [2023-02-07T22:18:28.527Z] noop [2023-02-07T22:18:28.527Z] Removing intermediate container d0f91a8e58ef [2023-02-07T22:18:28.527Z] ---> d4fb7b724375 [2023-02-07T22:18:28.527Z] Successfully built d4fb7b724375 [2023-02-07T22:18:28.527Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:18:28.942Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:18:28.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:18:29.086Z] prd-ubuntu20.04-docker-8c-8g-4991 does not seem to be running inside a container [2023-02-07T22:18:29.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-337 -v /w/workspace/foundry_device-virtual-go_PR-337:/w/workspace/foundry_device-virtual-go_PR-337:rw,z -v /w/workspace/foundry_device-virtual-go_PR-337@tmp:/w/workspace/foundry_device-virtual-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T22:18:29.552Z] $ docker top 98cf5d985a2da1317c502cb18321ef35d6c494da55085cf9d8532e7dc9912b4c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:18:29.948Z] + go version [2023-02-07T22:18:29.949Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-07T22:18:29.980Z] $ docker stop --time=1 98cf5d985a2da1317c502cb18321ef35d6c494da55085cf9d8532e7dc9912b4c [2023-02-07T22:18:31.328Z] $ docker rm -f --volumes 98cf5d985a2da1317c502cb18321ef35d6c494da55085cf9d8532e7dc9912b4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:18:32.031Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:18:32.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:18:32.174Z] prd-ubuntu20.04-docker-8c-8g-4991 does not seem to be running inside a container [2023-02-07T22:18:32.207Z] $ 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-337 -v /w/workspace/foundry_device-virtual-go_PR-337:/w/workspace/foundry_device-virtual-go_PR-337:rw,z -v /w/workspace/foundry_device-virtual-go_PR-337@tmp:/w/workspace/foundry_device-virtual-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T22:18:32.573Z] $ docker top 1416ea4dea129db9984859bec956b6b2c3c8550f9f6d630601baceab7eab0296 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:18:32.977Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-337 [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:18:33.335Z] + make test [2023-02-07T22:18:33.335Z] go test ./... -coverprofile=coverage.out [2023-02-07T22:18:33.593Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-07T22:18:43.561Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-07T22:18:43.561Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.036s coverage: 65.7% of statements [2023-02-07T22:18:48.822Z] 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-07T22:18:48.822Z] go vet ./... [2023-02-07T22:18:52.106Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:18:52.106Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:18:52.106Z] ./bin/test-attribution-txt.sh [2023-02-07T22:18:52.106Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:18:52.106Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:18:52.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:18:52.195Z] $ docker stop --time=1 1416ea4dea129db9984859bec956b6b2c3c8550f9f6d630601baceab7eab0296 [2023-02-07T22:18:54.041Z] $ docker rm -f --volumes 1416ea4dea129db9984859bec956b6b2c3c8550f9f6d630601baceab7eab0296 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:18:54.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:18:54.601Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-07T22:18:55.288Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:18:55.596Z] + ls -al . [2023-02-07T22:18:55.596Z] total 192 [2023-02-07T22:18:55.596Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 22:18 . [2023-02-07T22:18:55.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:17 .. [2023-02-07T22:18:55.596Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:18 .git [2023-02-07T22:18:55.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:17 .github [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 7 22:17 .gitignore [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:17 .golangci.yml [2023-02-07T22:18:55.596Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:17 .semver [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 7 22:17 Attribution.txt [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 7 22:17 CHANGELOG.md [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 7 22:17 Dockerfile [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:17 GOVERNANCE.md [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 7 22:17 Jenkinsfile [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:17 LICENSE [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 7 22:17 Makefile [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 7 22:17 OWNERS.md [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 7 22:17 README.md [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 22:17 VERSION [2023-02-07T22:18:55.596Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:17 bin [2023-02-07T22:18:55.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:17 cmd [2023-02-07T22:18:55.596Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 7 22:18 coverage.out [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 3251 Feb 7 22:17 go.mod [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 32586 Feb 7 22:17 go.sum [2023-02-07T22:18:55.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:17 internal [2023-02-07T22:18:55.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:17 snap [2023-02-07T22:18:55.596Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 7 22:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:18:56.004Z] + 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=ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c --label arch=amd64 --label version=0.0.0 . [2023-02-07T22:18:56.004Z] Sending build context to Docker daemon 23.42MB [2023-02-07T22:18:56.004Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:18:56.004Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-07T22:18:56.004Z] ---> d4fb7b724375 [2023-02-07T22:18:56.004Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:18:56.265Z] ---> Running in e0694f0b3b78 [2023-02-07T22:18:56.265Z] Removing intermediate container e0694f0b3b78 [2023-02-07T22:18:56.265Z] ---> cfc045e5d104 [2023-02-07T22:18:56.265Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:18:56.265Z] ---> Running in dfaad0b63209 [2023-02-07T22:18:56.525Z] Removing intermediate container dfaad0b63209 [2023-02-07T22:18:56.525Z] ---> 3cd21af6bf9d [2023-02-07T22:18:56.525Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:18:56.525Z] ---> Running in f62f36ac4149 [2023-02-07T22:18:56.525Z] Removing intermediate container f62f36ac4149 [2023-02-07T22:18:56.525Z] ---> 5ad7a26a970a [2023-02-07T22:18:56.525Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-07T22:18:56.525Z] ---> Running in f8655566bad3 [2023-02-07T22:18:56.784Z] Removing intermediate container f8655566bad3 [2023-02-07T22:18:56.784Z] ---> 481f8d1b280f [2023-02-07T22:18:56.784Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:18:56.784Z] ---> Running in 814dc08d079f [2023-02-07T22:18:57.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:18:57.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:18:57.612Z] OK: 216 MiB in 55 packages [2023-02-07T22:18:57.875Z] Removing intermediate container 814dc08d079f [2023-02-07T22:18:57.875Z] ---> 5e93460ea71a [2023-02-07T22:18:57.875Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-07T22:18:58.134Z] ---> c3d5d9752d2b [2023-02-07T22:18:58.134Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:18:58.134Z] ---> Running in 4adb931fe728 [2023-02-07T22:18:59.072Z] Removing intermediate container 4adb931fe728 [2023-02-07T22:18:59.072Z] ---> 1b4337f53cc9 [2023-02-07T22:18:59.072Z] Step 10/25 : COPY . . [2023-02-07T22:18:59.331Z] ---> a426549eece8 [2023-02-07T22:18:59.331Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:18:59.331Z] ---> Running in e2e1f62ee679 [2023-02-07T22:18:59.592Z] Removing intermediate container e2e1f62ee679 [2023-02-07T22:18:59.592Z] ---> 573242adbdc3 [2023-02-07T22:18:59.592Z] Step 12/25 : RUN $MAKE [2023-02-07T22:18:59.592Z] ---> Running in 55855920bc13 [2023-02-07T22:18:59.852Z] 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-07T22:19:17.931Z] Removing intermediate container 55855920bc13 [2023-02-07T22:19:17.931Z] ---> 3e858176feed [2023-02-07T22:19:17.931Z] Step 13/25 : FROM alpine:3.16 [2023-02-07T22:19:17.931Z] 3.16: Pulling from library/alpine [2023-02-07T22:19:17.931Z] ca7dd9ec2225: Pulling fs layer [2023-02-07T22:19:18.190Z] ca7dd9ec2225: Download complete [2023-02-07T22:19:18.190Z] ca7dd9ec2225: Pull complete [2023-02-07T22:19:18.190Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T22:19:18.190Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T22:19:18.190Z] ---> bfe296a52501 [2023-02-07T22:19:18.191Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-07T22:19:18.452Z] ---> Running in 4a7c2f080566 [2023-02-07T22:19:18.452Z] Removing intermediate container 4a7c2f080566 [2023-02-07T22:19:18.452Z] ---> bf8285fb7b63 [2023-02-07T22:19:18.452Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:19:18.452Z] ---> Running in 6e823266b875 [2023-02-07T22:19:18.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:19:18.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:19:18.970Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:19:18.970Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:19:18.970Z] OK: 6 MiB in 15 packages [2023-02-07T22:19:19.536Z] Removing intermediate container 6e823266b875 [2023-02-07T22:19:19.536Z] ---> a7abb32d3e4d [2023-02-07T22:19:19.536Z] Step 16/25 : WORKDIR / [2023-02-07T22:19:19.536Z] ---> Running in 5412e1ed5f39 [2023-02-07T22:19:19.536Z] Removing intermediate container 5412e1ed5f39 [2023-02-07T22:19:19.536Z] ---> 32bb510c7142 [2023-02-07T22:19:19.536Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-07T22:19:20.105Z] ---> 29d66acdb44a [2023-02-07T22:19:20.105Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-07T22:19:20.105Z] ---> c3443df5ee40 [2023-02-07T22:19:20.105Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-07T22:19:20.670Z] ---> fefa53030da6 [2023-02-07T22:19:20.670Z] Step 20/25 : EXPOSE 59900 [2023-02-07T22:19:20.670Z] ---> Running in 2c474191d401 [2023-02-07T22:19:20.670Z] Removing intermediate container 2c474191d401 [2023-02-07T22:19:20.670Z] ---> f895f7c80868 [2023-02-07T22:19:20.670Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-07T22:19:20.929Z] ---> Running in 4334dfa591a3 [2023-02-07T22:19:20.930Z] Removing intermediate container 4334dfa591a3 [2023-02-07T22:19:20.930Z] ---> 592a4d4ddd71 [2023-02-07T22:19:20.930Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T22:19:20.930Z] ---> Running in 1065a63115fc [2023-02-07T22:19:20.930Z] Removing intermediate container 1065a63115fc [2023-02-07T22:19:20.930Z] ---> 13cb0fb3b12e [2023-02-07T22:19:20.930Z] Step 23/25 : LABEL arch=amd64 [2023-02-07T22:19:21.189Z] ---> Running in 2a645eb5d8f6 [2023-02-07T22:19:21.189Z] Removing intermediate container 2a645eb5d8f6 [2023-02-07T22:19:21.189Z] ---> 732ce76796eb [2023-02-07T22:19:21.189Z] Step 24/25 : LABEL git_sha=ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c [2023-02-07T22:19:21.189Z] ---> Running in 1c5e5df3feda [2023-02-07T22:19:21.189Z] Removing intermediate container 1c5e5df3feda [2023-02-07T22:19:21.189Z] ---> c7d754c7b0f5 [2023-02-07T22:19:21.189Z] Step 25/25 : LABEL version=0.0.0 [2023-02-07T22:19:21.189Z] ---> Running in 4e15091948bc [2023-02-07T22:19:21.447Z] Removing intermediate container 4e15091948bc [2023-02-07T22:19:21.447Z] ---> 49fbcfa0ba69 [2023-02-07T22:19:21.447Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:19:21.447Z] Successfully built 49fbcfa0ba69 [2023-02-07T22:19:21.447Z] 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-07T22:19:22.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:19:22.312Z] [2023-02-07T22:19:22.312Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:19:22.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:19:22.688Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T22:19:22.688Z] 5eb5b503b376: Pulling fs layer [2023-02-07T22:19:22.688Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T22:19:22.688Z] ec43610c2a17: Pulling fs layer [2023-02-07T22:19:22.688Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T22:19:22.688Z] 33b1e0a273af: Pulling fs layer [2023-02-07T22:19:22.688Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T22:19:22.688Z] 2f39f015ded8: Pulling fs layer [2023-02-07T22:19:22.688Z] 3a2ae6a8a46f: Waiting [2023-02-07T22:19:22.688Z] 33b1e0a273af: Waiting [2023-02-07T22:19:22.688Z] 2f39f015ded8: Waiting [2023-02-07T22:19:22.688Z] 5d3b04190fa2: Waiting [2023-02-07T22:19:22.950Z] 5c69ac0246d0: Verifying Checksum [2023-02-07T22:19:22.950Z] 5c69ac0246d0: Download complete [2023-02-07T22:19:22.950Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-07T22:19:22.950Z] 3a2ae6a8a46f: Download complete [2023-02-07T22:19:22.950Z] 33b1e0a273af: Verifying Checksum [2023-02-07T22:19:22.950Z] 33b1e0a273af: Download complete [2023-02-07T22:19:22.950Z] 5d3b04190fa2: Verifying Checksum [2023-02-07T22:19:22.950Z] 5d3b04190fa2: Download complete [2023-02-07T22:19:22.950Z] ec43610c2a17: Verifying Checksum [2023-02-07T22:19:22.950Z] ec43610c2a17: Download complete [2023-02-07T22:19:23.211Z] 5eb5b503b376: Verifying Checksum [2023-02-07T22:19:23.211Z] 5eb5b503b376: Download complete [2023-02-07T22:19:23.779Z] 2f39f015ded8: Download complete [2023-02-07T22:19:24.345Z] 5eb5b503b376: Pull complete [2023-02-07T22:19:24.606Z] 5c69ac0246d0: Pull complete [2023-02-07T22:19:24.864Z] ec43610c2a17: Pull complete [2023-02-07T22:19:24.864Z] 3a2ae6a8a46f: Pull complete [2023-02-07T22:19:25.124Z] 33b1e0a273af: Pull complete [2023-02-07T22:19:25.124Z] 5d3b04190fa2: Pull complete [2023-02-07T22:19:29.306Z] 2f39f015ded8: Pull complete [2023-02-07T22:19:29.306Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T22:19:29.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:19:29.306Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:19:29.563Z] prd-ubuntu20.04-docker-8c-8g-4991 does not seem to be running inside a container [2023-02-07T22:19:29.596Z] $ 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-337 -v /w/workspace/foundry_device-virtual-go_PR-337:/w/workspace/foundry_device-virtual-go_PR-337:rw,z -v /w/workspace/foundry_device-virtual-go_PR-337@tmp:/w/workspace/foundry_device-virtual-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T22:19:31.837Z] $ docker top 6f00dbe9608996b0a3e0ae64b50b0aedc47a80e73c960b621594d3d1447b0334 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:19:32.363Z] ---> job-cost.sh [2023-02-07T22:19:32.363Z] lf-activate-venv: SKIPPING [2023-02-07T22:19:32.363Z] INFO: No Stack... [2023-02-07T22:19:32.623Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:19:32.882Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:19:33.202Z] + cat /w/workspace/foundry_device-virtual-go_PR-337/archives/cost.csv [2023-02-07T22:19:33.202Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T22:19:33.316Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-337-1-stack-cost] [2023-02-07T22:19:33.323Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-337-1-stack-cost] did not exist. Created. [2023-02-07T22:19:33.324Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-337-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:19:33.764Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T22:19:33.809Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:19:33.841Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-337-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:19:33.915Z] $ docker stop --time=1 6f00dbe9608996b0a3e0ae64b50b0aedc47a80e73c960b621594d3d1447b0334 [2023-02-07T22:19:35.163Z] $ docker rm -f --volumes 6f00dbe9608996b0a3e0ae64b50b0aedc47a80e73c960b621594d3d1447b0334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-07T22:20:34.397Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4994 in /w/workspace/foundry_device-virtual-go_PR-337 [Pipeline] { [Pipeline] ws [2023-02-07T22:20:34.465Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-02-07T22:20:34.577Z] The recommended git tool is: git [2023-02-07T22:20:40.734Z] using credential edgex-jenkins-ssh [2023-02-07T22:20:40.753Z] Cloning the remote Git repository [2023-02-07T22:20:40.813Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-07T22:20:40.908Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-02-07T22:20:41.120Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-07T22:20:41.121Z] > git --version # timeout=10 [2023-02-07T22:20:41.151Z] > git --version # 'git version 2.25.1' [2023-02-07T22:20:41.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:20:41.222Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:20:43.469Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-07T22:20:43.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:20:44.524Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-07T22:20:44.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-07T22:20:44.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:20:44.598Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-07T22:20:45.380Z] Merging remotes/origin/main commit b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 into PR head commit ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c [2023-02-07T22:20:45.645Z] Merge succeeded, producing ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c [2023-02-07T22:20:45.645Z] Checking out Revision ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c (PR-337) [2023-02-07T22:20:45.401Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T22:20:45.425Z] > git checkout -f ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c # timeout=10 [2023-02-07T22:20:45.523Z] > git remote # timeout=10 [2023-02-07T22:20:45.551Z] > git config --get remote.origin.url # timeout=10 [2023-02-07T22:20:45.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:20:45.588Z] > git merge b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 # timeout=10 [2023-02-07T22:20:45.618Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-07T22:20:45.652Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T22:20:45.674Z] > git checkout -f ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c # timeout=10 [2023-02-07T22:20:49.234Z] Commit message: "feat!: Use latest SDK for MessageBus Request API" [2023-02-07T22:20:49.287Z] > git --version # timeout=10 [2023-02-07T22:20:49.299Z] > git --version # 'git version 2.25.1' [2023-02-07T22:20:49.322Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:20:50.653Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T22:20:50.653Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:20:50.653Z] Dload Upload Total Spent Left Speed [2023-02-07T22:20:50.653Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-02-07T22:20:51.448Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T22:20:51.824Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-07T22:20:51.824Z] + sudo tee /etc/docker/daemon.new [2023-02-07T22:20:51.824Z] { [2023-02-07T22:20:51.824Z] "registry-mirrors": [ [2023-02-07T22:20:51.824Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T22:20:51.824Z] ], [2023-02-07T22:20:51.824Z] "bip": "10.250.0.254/24", [2023-02-07T22:20:51.824Z] "hosts": [ [2023-02-07T22:20:51.824Z] "tcp://0.0.0.0:5555", [2023-02-07T22:20:51.824Z] "unix:///var/run/docker.sock" [2023-02-07T22:20:51.824Z] ], [2023-02-07T22:20:51.824Z] "mtu": 1458, [2023-02-07T22:20:51.824Z] "selinux-enabled": true, [2023-02-07T22:20:51.824Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T22:20:51.824Z] } [Pipeline] sh [2023-02-07T22:20:52.198Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T22:20:52.579Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:21:10.961Z] provisioning config files... [2023-02-07T22:21:10.994Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config558269924691657779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:21:11.460Z] ---> docker-login.sh [2023-02-07T22:21:11.460Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:21:12.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:21:12.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:21:12.056Z] Configure a credential helper to remove this warning. See [2023-02-07T22:21:12.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:21:12.056Z] [2023-02-07T22:21:12.056Z] Login Succeeded [2023-02-07T22:21:12.056Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:21:12.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:21:12.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:21:12.601Z] Configure a credential helper to remove this warning. See [2023-02-07T22:21:12.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:21:12.601Z] [2023-02-07T22:21:12.601Z] Login Succeeded [2023-02-07T22:21:12.601Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:21:12.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:21:12.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:21:12.876Z] Configure a credential helper to remove this warning. See [2023-02-07T22:21:12.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:21:12.876Z] [2023-02-07T22:21:12.876Z] Login Succeeded [2023-02-07T22:21:12.876Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:21:13.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:21:13.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:21:13.151Z] Configure a credential helper to remove this warning. See [2023-02-07T22:21:13.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:21:13.151Z] [2023-02-07T22:21:13.151Z] Login Succeeded [2023-02-07T22:21:13.151Z] docker.io [2023-02-07T22:21:13.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:21:13.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:21:13.701Z] Configure a credential helper to remove this warning. See [2023-02-07T22:21:13.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:21:13.701Z] [2023-02-07T22:21:13.701Z] Login Succeeded [2023-02-07T22:21:13.701Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:21:13.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:21:14.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:21:14.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:21:14.358Z] ========================================================= [2023-02-07T22:21:14.358Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-07T22:21:14.358Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:21:15.024Z] + 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-07T22:21:17.673Z] Sending build context to Docker daemon 11.85MB [2023-02-07T22:21:17.673Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:21:17.673Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-07T22:21:17.673Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-07T22:21:17.673Z] 9b18e9b68314: Pulling fs layer [2023-02-07T22:21:17.673Z] 35d82f9e3411: Pulling fs layer [2023-02-07T22:21:17.673Z] e16973657156: Pulling fs layer [2023-02-07T22:21:17.673Z] fc693d55d65f: Pulling fs layer [2023-02-07T22:21:17.673Z] 7e9fc2657dce: Pulling fs layer [2023-02-07T22:21:17.673Z] dda99020689f: Pulling fs layer [2023-02-07T22:21:17.673Z] db1c61fa0a46: Pulling fs layer [2023-02-07T22:21:17.673Z] 891c053d2c06: Pulling fs layer [2023-02-07T22:21:17.673Z] fc693d55d65f: Waiting [2023-02-07T22:21:17.673Z] 7e9fc2657dce: Waiting [2023-02-07T22:21:17.673Z] dda99020689f: Waiting [2023-02-07T22:21:17.673Z] db1c61fa0a46: Waiting [2023-02-07T22:21:17.673Z] 891c053d2c06: Waiting [2023-02-07T22:21:17.673Z] e16973657156: Verifying Checksum [2023-02-07T22:21:17.673Z] e16973657156: Download complete [2023-02-07T22:21:17.673Z] 35d82f9e3411: Verifying Checksum [2023-02-07T22:21:17.673Z] 35d82f9e3411: Download complete [2023-02-07T22:21:17.673Z] 7e9fc2657dce: Verifying Checksum [2023-02-07T22:21:17.673Z] 7e9fc2657dce: Download complete [2023-02-07T22:21:17.673Z] dda99020689f: Verifying Checksum [2023-02-07T22:21:17.673Z] dda99020689f: Download complete [2023-02-07T22:21:17.673Z] 9b18e9b68314: Verifying Checksum [2023-02-07T22:21:17.673Z] 9b18e9b68314: Download complete [2023-02-07T22:21:18.653Z] 9b18e9b68314: Pull complete [2023-02-07T22:21:18.653Z] 891c053d2c06: Verifying Checksum [2023-02-07T22:21:18.653Z] 891c053d2c06: Download complete [2023-02-07T22:21:19.253Z] 35d82f9e3411: Pull complete [2023-02-07T22:21:19.523Z] e16973657156: Pull complete [2023-02-07T22:21:19.793Z] db1c61fa0a46: Verifying Checksum [2023-02-07T22:21:19.793Z] db1c61fa0a46: Download complete [2023-02-07T22:21:20.380Z] fc693d55d65f: Verifying Checksum [2023-02-07T22:21:20.380Z] fc693d55d65f: Download complete [2023-02-07T22:21:32.716Z] fc693d55d65f: Pull complete [2023-02-07T22:21:32.716Z] 7e9fc2657dce: Pull complete [2023-02-07T22:21:32.716Z] dda99020689f: Pull complete [2023-02-07T22:21:38.100Z] db1c61fa0a46: Pull complete [2023-02-07T22:21:39.522Z] 891c053d2c06: Pull complete [2023-02-07T22:21:39.522Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-07T22:21:39.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-07T22:21:39.522Z] ---> f96f9c87975a [2023-02-07T22:21:39.522Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:21:40.116Z] ---> Running in 2c2896da12cb [2023-02-07T22:21:40.714Z] Removing intermediate container 2c2896da12cb [2023-02-07T22:21:40.714Z] ---> 5ad81fb4c707 [2023-02-07T22:21:40.714Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:21:40.714Z] ---> Running in 87229f28d546 [2023-02-07T22:21:40.980Z] Removing intermediate container 87229f28d546 [2023-02-07T22:21:40.980Z] ---> 9e4f48b17bec [2023-02-07T22:21:40.980Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:21:40.980Z] ---> Running in 4fdc4fd55ab3 [2023-02-07T22:21:41.567Z] Removing intermediate container 4fdc4fd55ab3 [2023-02-07T22:21:41.567Z] ---> ccbd0decc73a [2023-02-07T22:21:41.567Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-07T22:21:41.567Z] ---> Running in a2a53175451a [2023-02-07T22:21:41.836Z] Removing intermediate container a2a53175451a [2023-02-07T22:21:41.836Z] ---> 91741fd36ed4 [2023-02-07T22:21:41.836Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:21:42.103Z] ---> Running in 536ce7477179 [2023-02-07T22:21:43.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:21:43.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:21:44.299Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T22:21:44.299Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-07T22:21:44.568Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T22:21:44.568Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T22:21:44.568Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:21:44.568Z] OK: 226 MiB in 55 packages [2023-02-07T22:21:45.983Z] Removing intermediate container 536ce7477179 [2023-02-07T22:21:45.983Z] ---> 06071cc9d89c [2023-02-07T22:21:45.983Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-07T22:21:46.252Z] ---> a14665aff49d [2023-02-07T22:21:46.252Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:21:46.252Z] ---> Running in a516cd670554 [2023-02-07T22:23:07.908Z] Removing intermediate container a516cd670554 [2023-02-07T22:23:07.908Z] ---> e716fbb657c3 [2023-02-07T22:23:07.908Z] Step 10/12 : COPY . . [2023-02-07T22:23:07.908Z] ---> 1c0440266742 [2023-02-07T22:23:07.908Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:23:07.908Z] ---> Running in d004af466263 [2023-02-07T22:23:07.908Z] Removing intermediate container d004af466263 [2023-02-07T22:23:07.908Z] ---> 12e52e3df3d3 [2023-02-07T22:23:07.908Z] Step 12/12 : RUN $MAKE [2023-02-07T22:23:07.908Z] ---> Running in ff7cd911881d [2023-02-07T22:23:07.908Z] noop [2023-02-07T22:23:07.908Z] Removing intermediate container ff7cd911881d [2023-02-07T22:23:07.908Z] ---> e4ec2bcfcbb9 [2023-02-07T22:23:07.908Z] Successfully built e4ec2bcfcbb9 [2023-02-07T22:23:07.908Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:23:08.459Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:23:08.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:23:08.732Z] prd-ubuntu20.04-docker-arm64-4c-16g-4994 does not seem to be running inside a container [2023-02-07T22:23:08.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T22:23:09.969Z] $ docker top c4341422615ead9edb8ac66004ab1eda5dd74a1d5b5bf4224d965fe3f66c32b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:23:10.862Z] + go version [2023-02-07T22:23:10.862Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-07T22:23:10.911Z] $ docker stop --time=1 c4341422615ead9edb8ac66004ab1eda5dd74a1d5b5bf4224d965fe3f66c32b0 [2023-02-07T22:23:12.535Z] $ docker rm -f --volumes c4341422615ead9edb8ac66004ab1eda5dd74a1d5b5bf4224d965fe3f66c32b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:23:13.396Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:23:13.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:23:13.673Z] prd-ubuntu20.04-docker-arm64-4c-16g-4994 does not seem to be running inside a container [2023-02-07T22:23:13.742Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T22:23:14.902Z] $ docker top 64dc2951a8971502db93cb29d48c9cf40d61ba13b0b722134df4aa8ed1e058a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:23:15.491Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:23:16.477Z] + make test [2023-02-07T22:23:16.477Z] go test ./... -coverprofile=coverage.out [2023-02-07T22:23:18.432Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-07T22:24:55.128Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-07T22:24:55.128Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements [2023-02-07T22:24:55.128Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-07T22:24:55.128Z] go vet ./... [2023-02-07T22:25:21.877Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:25:21.877Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:25:21.877Z] ./bin/test-attribution-txt.sh [2023-02-07T22:25:21.877Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:25:21.877Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:25:21.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:25:21.941Z] $ docker stop --time=1 64dc2951a8971502db93cb29d48c9cf40d61ba13b0b722134df4aa8ed1e058a5 [2023-02-07T22:25:24.060Z] $ docker rm -f --volumes 64dc2951a8971502db93cb29d48c9cf40d61ba13b0b722134df4aa8ed1e058a5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:25:25.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:25:25.235Z] Warning: overwriting stash ‘coverage-report’ [2023-02-07T22:25:25.924Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:25:26.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:25:26.869Z] + ls -al . [2023-02-07T22:25:26.869Z] total 188 [2023-02-07T22:25:26.869Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:23 . [2023-02-07T22:25:26.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:20 .. [2023-02-07T22:25:26.869Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:20 .git [2023-02-07T22:25:26.869Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:20 .github [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 7 22:20 .gitignore [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:20 .golangci.yml [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 7 22:20 Attribution.txt [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 7 22:20 CHANGELOG.md [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 7 22:20 Dockerfile [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:20 GOVERNANCE.md [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 7 22:20 Jenkinsfile [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:20 LICENSE [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 7 22:20 Makefile [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 7 22:20 OWNERS.md [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 7 22:20 README.md [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 22:17 VERSION [2023-02-07T22:25:26.869Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:20 bin [2023-02-07T22:25:26.869Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:20 cmd [2023-02-07T22:25:26.869Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 7 22:24 coverage.out [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 3251 Feb 7 22:20 go.mod [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 32586 Feb 7 22:20 go.sum [2023-02-07T22:25:26.869Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:20 internal [2023-02-07T22:25:26.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:20 snap [2023-02-07T22:25:26.869Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 7 22:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:25:27.289Z] + 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=ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c --label arch=arm64 --label version=0.0.0 . [2023-02-07T22:25:27.879Z] Sending build context to Docker daemon 11.89MB [2023-02-07T22:25:27.879Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:25:27.879Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-07T22:25:27.879Z] ---> e4ec2bcfcbb9 [2023-02-07T22:25:27.879Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:25:28.149Z] ---> Running in 26a202dabd67 [2023-02-07T22:25:28.419Z] Removing intermediate container 26a202dabd67 [2023-02-07T22:25:28.419Z] ---> a9d119de5d84 [2023-02-07T22:25:28.419Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:25:28.419Z] ---> Running in a8f8b57c48fc [2023-02-07T22:25:28.686Z] Removing intermediate container a8f8b57c48fc [2023-02-07T22:25:28.686Z] ---> e4b2c9a3ce74 [2023-02-07T22:25:28.686Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:25:28.958Z] ---> Running in 53e2cfe83ed8 [2023-02-07T22:25:29.230Z] Removing intermediate container 53e2cfe83ed8 [2023-02-07T22:25:29.230Z] ---> dbf675f874b8 [2023-02-07T22:25:29.230Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-07T22:25:29.501Z] ---> Running in 3307dd23e197 [2023-02-07T22:25:29.770Z] Removing intermediate container 3307dd23e197 [2023-02-07T22:25:29.770Z] ---> c58a0d99825f [2023-02-07T22:25:29.770Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:25:29.770Z] ---> Running in f5fa441a51f9 [2023-02-07T22:25:31.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:25:31.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:25:32.439Z] OK: 226 MiB in 55 packages [2023-02-07T22:25:35.797Z] Removing intermediate container f5fa441a51f9 [2023-02-07T22:25:35.797Z] ---> 9d9856392583 [2023-02-07T22:25:35.797Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-07T22:25:36.069Z] ---> d50442f2111f [2023-02-07T22:25:36.069Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:25:36.344Z] ---> Running in 374bfaa79537 [2023-02-07T22:25:39.728Z] Removing intermediate container 374bfaa79537 [2023-02-07T22:25:39.728Z] ---> c6dc76eebed6 [2023-02-07T22:25:39.728Z] Step 10/25 : COPY . . [2023-02-07T22:25:41.148Z] ---> 49d7761d6c9f [2023-02-07T22:25:41.148Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:25:41.148Z] ---> Running in 4a8bdbee659e [2023-02-07T22:25:41.420Z] Removing intermediate container 4a8bdbee659e [2023-02-07T22:25:41.420Z] ---> d5abbfefb370 [2023-02-07T22:25:41.420Z] Step 12/25 : RUN $MAKE [2023-02-07T22:25:41.420Z] ---> Running in 4a6343e13078 [2023-02-07T22:25:42.836Z] 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-07T22:28:19.707Z] Removing intermediate container 4a6343e13078 [2023-02-07T22:28:19.707Z] ---> 2ea84a9723b7 [2023-02-07T22:28:19.707Z] Step 13/25 : FROM alpine:3.16 [2023-02-07T22:28:19.707Z] 3.16: Pulling from library/alpine [2023-02-07T22:28:19.707Z] 6875df1f5354: Pulling fs layer [2023-02-07T22:28:19.707Z] 6875df1f5354: Verifying Checksum [2023-02-07T22:28:19.707Z] 6875df1f5354: Download complete [2023-02-07T22:28:19.707Z] 6875df1f5354: Pull complete [2023-02-07T22:28:19.707Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T22:28:19.707Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T22:28:19.707Z] ---> 2b4661558fb8 [2023-02-07T22:28:19.707Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-07T22:28:19.707Z] ---> Running in ab654fd6fe22 [2023-02-07T22:28:19.707Z] Removing intermediate container ab654fd6fe22 [2023-02-07T22:28:19.707Z] ---> 2c3aef57e2dc [2023-02-07T22:28:19.707Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:28:19.707Z] ---> Running in 8353781e662a [2023-02-07T22:28:19.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:28:19.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:28:19.707Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:28:19.707Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:28:19.707Z] OK: 5 MiB in 15 packages [2023-02-07T22:28:19.707Z] Removing intermediate container 8353781e662a [2023-02-07T22:28:19.707Z] ---> 83d8edb5f659 [2023-02-07T22:28:19.707Z] Step 16/25 : WORKDIR / [2023-02-07T22:28:19.707Z] ---> Running in df8cdf98212e [2023-02-07T22:28:19.707Z] Removing intermediate container df8cdf98212e [2023-02-07T22:28:19.707Z] ---> 55f2985fdb2d [2023-02-07T22:28:19.707Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-07T22:28:19.707Z] ---> 88c6ce0de2be [2023-02-07T22:28:19.707Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-07T22:28:19.707Z] ---> 92d16ad23b56 [2023-02-07T22:28:19.707Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-07T22:28:19.707Z] ---> 7b7732eed10b [2023-02-07T22:28:19.707Z] Step 20/25 : EXPOSE 59900 [2023-02-07T22:28:19.707Z] ---> Running in 46a688a1c075 [2023-02-07T22:28:19.707Z] Removing intermediate container 46a688a1c075 [2023-02-07T22:28:19.707Z] ---> 5134425b9374 [2023-02-07T22:28:19.707Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-07T22:28:19.707Z] ---> Running in de397409293f [2023-02-07T22:28:19.707Z] Removing intermediate container de397409293f [2023-02-07T22:28:19.707Z] ---> 435d6696f2d8 [2023-02-07T22:28:19.708Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T22:28:19.708Z] ---> Running in 5b87d9c97a64 [2023-02-07T22:28:19.708Z] Removing intermediate container 5b87d9c97a64 [2023-02-07T22:28:19.708Z] ---> 6595cb3cce71 [2023-02-07T22:28:19.708Z] Step 23/25 : LABEL arch=arm64 [2023-02-07T22:28:19.708Z] ---> Running in b365f8bc3b35 [2023-02-07T22:28:19.708Z] Removing intermediate container b365f8bc3b35 [2023-02-07T22:28:19.708Z] ---> 32415e257706 [2023-02-07T22:28:19.708Z] Step 24/25 : LABEL git_sha=ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c [2023-02-07T22:28:19.708Z] ---> Running in eebb4fe55502 [2023-02-07T22:28:19.708Z] Removing intermediate container eebb4fe55502 [2023-02-07T22:28:19.708Z] ---> 761b948dd8a8 [2023-02-07T22:28:19.708Z] Step 25/25 : LABEL version=0.0.0 [2023-02-07T22:28:19.708Z] ---> Running in eb60a577aec8 [2023-02-07T22:28:19.978Z] Removing intermediate container eb60a577aec8 [2023-02-07T22:28:19.978Z] ---> 57dcda1735db [2023-02-07T22:28:19.978Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:28:19.978Z] Successfully built 57dcda1735db [2023-02-07T22:28:19.978Z] 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-07T22:28:20.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:28:20.793Z] [2023-02-07T22:28:20.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:28:21.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:28:21.481Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T22:28:21.481Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T22:28:21.481Z] 04944245beec: Pulling fs layer [2023-02-07T22:28:21.481Z] 699f458cf7ca: Pulling fs layer [2023-02-07T22:28:21.481Z] 765212b225bb: Pulling fs layer [2023-02-07T22:28:21.481Z] f23df028b6ca: Pulling fs layer [2023-02-07T22:28:21.481Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T22:28:21.481Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T22:28:21.481Z] f23df028b6ca: Waiting [2023-02-07T22:28:21.481Z] d65c8cfc05b1: Waiting [2023-02-07T22:28:21.481Z] 2437ff75d9bd: Waiting [2023-02-07T22:28:21.481Z] 765212b225bb: Waiting [2023-02-07T22:28:21.481Z] 04944245beec: Verifying Checksum [2023-02-07T22:28:21.481Z] 04944245beec: Download complete [2023-02-07T22:28:21.754Z] f23df028b6ca: Verifying Checksum [2023-02-07T22:28:21.754Z] f23df028b6ca: Download complete [2023-02-07T22:28:21.754Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T22:28:21.754Z] d65c8cfc05b1: Download complete [2023-02-07T22:28:21.754Z] 699f458cf7ca: Verifying Checksum [2023-02-07T22:28:21.754Z] 699f458cf7ca: Download complete [2023-02-07T22:28:22.025Z] 8998bd30e6a1: Download complete [2023-02-07T22:28:24.620Z] 2437ff75d9bd: Verifying Checksum [2023-02-07T22:28:24.620Z] 2437ff75d9bd: Download complete [2023-02-07T22:28:26.031Z] 8998bd30e6a1: Pull complete [2023-02-07T22:28:26.617Z] 04944245beec: Pull complete [2023-02-07T22:28:28.029Z] 699f458cf7ca: Pull complete [2023-02-07T22:28:28.029Z] 765212b225bb: Pull complete [2023-02-07T22:28:28.993Z] f23df028b6ca: Pull complete [2023-02-07T22:28:29.261Z] d65c8cfc05b1: Pull complete [2023-02-07T22:28:44.274Z] 2437ff75d9bd: Pull complete [2023-02-07T22:28:44.274Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T22:28:44.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:28:44.274Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:28:44.658Z] prd-ubuntu20.04-docker-arm64-4c-16g-4994 does not seem to be running inside a container [2023-02-07T22:28:44.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-07T22:28:47.740Z] $ docker top 5210532a2409be808dfb7d24802b72df2bc18879b107baebef0b08964a35d9fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:28:48.706Z] ---> job-cost.sh [2023-02-07T22:28:48.706Z] lf-activate-venv: SKIPPING [2023-02-07T22:28:48.706Z] INFO: No Stack... [2023-02-07T22:28:49.299Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T22:28:49.897Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:28:50.606Z] + + cutcat -d, /w/workspace/device-virtual-go/1/archives/cost.csv -f6 [2023-02-07T22:28:50.607Z] [Pipeline] lock [2023-02-07T22:28:50.737Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-337-1-stack-cost] [2023-02-07T22:28:50.742Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-337-1-stack-cost] did not exist. Created. [2023-02-07T22:28:50.742Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-337-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:28:51.471Z] /w/workspace/device-virtual-go/1@tmp/durable-b9f26415/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T22:28:52.154Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T22:28:52.194Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T22:28:52.250Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:28:52.264Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-337-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:28:52.323Z] $ docker stop --time=1 5210532a2409be808dfb7d24802b72df2bc18879b107baebef0b08964a35d9fd [2023-02-07T22:28:53.911Z] $ docker rm -f --volumes 5210532a2409be808dfb7d24802b72df2bc18879b107baebef0b08964a35d9fd [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-07T22:28:54.948Z] provisioning config files... [2023-02-07T22:28:54.955Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-337@tmp/config15489899338980502511tmp [Pipeline] { [Pipeline] sh [2023-02-07T22:28:55.287Z] + set +x [2023-02-07T22:28:55.287Z] + curl -s https://codecov.io/bash [2023-02-07T22:28:55.287Z] + bash -s -- [2023-02-07T22:28:55.287Z] [2023-02-07T22:28:55.287Z] _____ _ [2023-02-07T22:28:55.287Z] / ____| | | [2023-02-07T22:28:55.287Z] | | ___ __| | ___ ___ _____ __ [2023-02-07T22:28:55.287Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-07T22:28:55.287Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-07T22:28:55.287Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-07T22:28:55.287Z] Bash-1.0.6 [2023-02-07T22:28:55.287Z] [2023-02-07T22:28:55.287Z] [2023-02-07T22:28:55.287Z] ==> git version 2.25.1 found [2023-02-07T22:28:55.287Z] ==> 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-07T22:28:55.287Z] Release-Date: 2020-01-08 [2023-02-07T22:28:55.287Z] 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-07T22:28:55.287Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-07T22:28:55.287Z] ==> Jenkins CI detected. [2023-02-07T22:28:55.287Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-337 [2023-02-07T22:28:55.287Z] project root: . [2023-02-07T22:28:55.287Z] --> token set from env [2023-02-07T22:28:55.287Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-07T22:28:55.287Z] ==> Running gcov in . (disable via -X gcov) [2023-02-07T22:28:55.287Z] ==> Python coveragepy not found [2023-02-07T22:28:55.287Z] ==> Searching for coverage reports in: [2023-02-07T22:28:55.287Z] + . [2023-02-07T22:28:55.287Z] -> Found 1 reports [2023-02-07T22:28:55.287Z] ==> Detecting git/mercurial file structure [2023-02-07T22:28:55.287Z] ==> Reading reports [2023-02-07T22:28:55.287Z] + ./coverage.out bytes=44128 [2023-02-07T22:28:55.287Z] ==> Appending adjustments [2023-02-07T22:28:55.287Z] https://docs.codecov.io/docs/fixing-reports [2023-02-07T22:28:55.546Z] + Found adjustments [2023-02-07T22:28:55.546Z] ==> Gzipping contents [2023-02-07T22:28:55.546Z] 8.0K /tmp/codecov.aD4yAj.gz [2023-02-07T22:28:55.546Z] ==> Uploading reports [2023-02-07T22:28:55.546Z] url: https://codecov.io [2023-02-07T22:28:55.546Z] query: branch=PR-337&commit=ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-337%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=337&job=&cmd_args= [2023-02-07T22:28:55.546Z] -> Pinging Codecov [2023-02-07T22:28:55.546Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-337&commit=ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-337%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=337&job=&cmd_args= [2023-02-07T22:28:55.804Z] -> Uploading to [2023-02-07T22:28:55.804Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-07/5E52B4B073DB2E39498172D8E973AA87/ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c/54086e46-e908-4974-bea2-af8705b24062.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T222855Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=128ff43800c032633f7b5e16336963b3773aed20823e6de96358ba0d219f83ee [2023-02-07T22:28:56.063Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:28:56.063Z] Dload Upload Total Spent Left Speed [2023-02-07T22:28:56.322Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5499 0 0 100 5499 0 20672 --:--:-- --:--:-- --:--:-- 20672 [2023-02-07T22:28:56.322Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ea327ae8b8d34e40cbc92cc6cb6f7e68756c5c0c [Pipeline] } [2023-02-07T22:28:56.348Z] 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-07T22:28:58.083Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-337/archives ] [2023-02-07T22:28:58.083Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-337/archives [2023-02-07T22:28:58.083Z] total 16 [2023-02-07T22:28:58.083Z] drwxr-xr-x 3 root root 4096 Feb 7 22:19 . [2023-02-07T22:28:58.083Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:19 .. [2023-02-07T22:28:58.083Z] drwxr-xr-x 2 root root 4096 Feb 7 22:19 cost [2023-02-07T22:28:58.083Z] -rw-r--r-- 1 root root 89 Feb 7 22:19 cost.csv [2023-02-07T22:28:58.083Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-337/archives [2023-02-07T22:28:58.083Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-337/archives [2023-02-07T22:28:58.083Z] total 16 [2023-02-07T22:28:58.083Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:19 . [2023-02-07T22:28:58.083Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:19 .. [2023-02-07T22:28:58.083Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 22:19 cost [2023-02-07T22:28:58.083Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 7 22:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:28:58.410Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:28:59.293Z] ---> package-listing.sh [2023-02-07T22:28:59.293Z] ++ facter osfamily [2023-02-07T22:28:59.293Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T22:28:59.552Z] + OS_FAMILY=debian [2023-02-07T22:28:59.552Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-337 [2023-02-07T22:28:59.552Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T22:28:59.552Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T22:28:59.552Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T22:28:59.552Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T22:28:59.552Z] + '[' /w/workspace/foundry_device-virtual-go_PR-337 ']' [2023-02-07T22:28:59.552Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T22:28:59.552Z] + case "${OS_FAMILY}" in [2023-02-07T22:28:59.552Z] + dpkg -l [2023-02-07T22:28:59.552Z] + grep '^ii' [2023-02-07T22:28:59.552Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T22:28:59.552Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T22:28:59.552Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T22:28:59.552Z] + '[' /w/workspace/foundry_device-virtual-go_PR-337 ']' [2023-02-07T22:28:59.552Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-337/archives/ [2023-02-07T22:28:59.552Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-337/archives/ [Pipeline] echo [2023-02-07T22:28:59.584Z] 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-337/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-07T22:28:59.879Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:29:00.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:29:00.499Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:29:00.627Z] prd-ubuntu20.04-docker-8c-8g-4991 does not seem to be running inside a container [2023-02-07T22:29:00.654Z] $ 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-337/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-337 -v /w/workspace/foundry_device-virtual-go_PR-337:/w/workspace/foundry_device-virtual-go_PR-337:rw,z -v /w/workspace/foundry_device-virtual-go_PR-337@tmp:/w/workspace/foundry_device-virtual-go_PR-337@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-07T22:29:00.878Z] $ docker top 0928766f7e1cc5e49859af258438a059c31fd5026beb08e0ef4fc9019a398299 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:29:01.266Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T22:29:01.574Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T22:29:01.886Z] + ls /var/log/sa-host [2023-02-07T22:29:01.886Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:29:02.095Z] provisioning config files... [2023-02-07T22:29:02.104Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-337@tmp/config17820828645793748675tmp [Pipeline] { [Pipeline] echo [2023-02-07T22:29:02.149Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:29:02.463Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T22:29:02.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:29:02.885Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T22:29:02.915Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:29:03.225Z] ---> sudo-logs.sh [2023-02-07T22:29:03.225Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T22:29:03.309Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:29:03.618Z] ---> job-cost.sh [2023-02-07T22:29:03.618Z] lf-activate-venv: SKIPPING [2023-02-07T22:29:03.618Z] DEBUG: total: 0.2199999988079071 [2023-02-07T22:29:03.618Z] INFO: Retrieving Stack Cost... [2023-02-07T22:29:03.877Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:29:04.443Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T22:29:04.482Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:29:04.792Z] ---> logs-deploy.sh [2023-02-07T22:29:04.792Z] lf-activate-venv: SKIPPING [2023-02-07T22:29:04.792Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-337/1 [2023-02-07T22:29:04.792Z] INFO: archiving workspace using pattern(s): [2023-02-07T22:29:05.726Z] Archives upload complete. [2023-02-07T22:29:05.726Z] INFO: archiving logs to Nexus