Pull request #418 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 jackchenjc for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 167b2b37d553877e8454e5976795d0c3ccee8733 rather than fdc055dafb82b7d393639588b2b3ea660dae6311 Obtained Jenkinsfile from 167b2b37d553877e8454e5976795d0c3ccee8733 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-ssh18359135223214221178.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh16451559950358583083.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-418/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-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5698196983519289288.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-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10446708175324935841.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh4135075691423160813.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-418/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-418/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8563970380516354920.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-3192’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3194 in /w/workspace/foundry_device-virtual-go_PR-418 [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-418 # 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/418/head:refs/remotes/origin/PR-418 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 167b2b37d553877e8454e5976795d0c3ccee8733 into PR head commit fdc055dafb82b7d393639588b2b3ea660dae6311 Merge succeeded, producing fdc055dafb82b7d393639588b2b3ea660dae6311 Checking out Revision fdc055dafb82b7d393639588b2b3ea660dae6311 (PR-418) > git config core.sparsecheckout # timeout=10 > git checkout -f fdc055dafb82b7d393639588b2b3ea660dae6311 # 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 167b2b37d553877e8454e5976795d0c3ccee8733 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fdc055dafb82b7d393639588b2b3ea660dae6311 # timeout=10 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T09:39:49.727Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T09:39:49.905Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T09:39:49.998Z] ========================================================= [2023-08-09T09:39:49.998Z] EdgeX Global Pipelines Version Info [2023-08-09T09:39:49.998Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:39:50.728Z] ------------------- [2023-08-09T09:39:50.728Z] stable info: [2023-08-09T09:39:50.728Z] ------------------- [2023-08-09T09:39:50.728Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T09:39:50.728Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T09:39:50.728Z] Message: update stable to v1.0.250 [2023-08-09T09:39:51.298Z] ------------------- [2023-08-09T09:39:51.298Z] experimental info: [2023-08-09T09:39:51.298Z] ------------------- [2023-08-09T09:39:51.298Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T09:39:51.298Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T09:39:51.298Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T09:39:51.591Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-08-09T09:39:51.634Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-08-09T09:39:51.679Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T09:39:51.723Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T09:39:51.763Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T09:39:51.803Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T09:39:51.844Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T09:39:51.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-09T09:39:51.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T09:39:51.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T09:39:52.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T09:39:52.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-08-09T09:39:52.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T09:39:52.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T09:39:52.182Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T09:39:52.229Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T09:39:52.274Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T09:39:52.318Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T09:39:52.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T09:39:52.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T09:39:52.456Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-09T09:39:52.501Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-09T09:39:52.544Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T09:39:52.586Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T09:39:52.628Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T09:39:52.671Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T09:39:52.710Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T09:39:52.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-418 [Pipeline] echo [2023-08-09T09:39:52.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-418 [Pipeline] echo [2023-08-09T09:39:52.827Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-418 [Pipeline] echo [2023-08-09T09:39:52.870Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fdc055dafb82b7d393639588b2b3ea660dae6311 [Pipeline] echo [2023-08-09T09:39:52.914Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fdc055d [Pipeline] echo [2023-08-09T09:39:52.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T09:39:53.075Z] provisioning config files... [2023-08-09T09:39:53.092Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-418@tmp/config17827597370694971534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:39:53.437Z] ---> docker-login.sh [2023-08-09T09:39:53.437Z] nexus3.edgexfoundry.org:10001 [2023-08-09T09:39:53.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:39:53.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:39:53.697Z] Configure a credential helper to remove this warning. See [2023-08-09T09:39:53.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:39:53.697Z] [2023-08-09T09:39:53.697Z] Login Succeeded [2023-08-09T09:39:53.697Z] nexus3.edgexfoundry.org:10002 [2023-08-09T09:39:53.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:39:53.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:39:53.697Z] Configure a credential helper to remove this warning. See [2023-08-09T09:39:53.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:39:53.697Z] [2023-08-09T09:39:53.697Z] Login Succeeded [2023-08-09T09:39:53.697Z] nexus3.edgexfoundry.org:10003 [2023-08-09T09:39:53.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:39:53.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:39:53.958Z] Configure a credential helper to remove this warning. See [2023-08-09T09:39:53.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:39:53.958Z] [2023-08-09T09:39:53.958Z] Login Succeeded [2023-08-09T09:39:53.958Z] nexus3.edgexfoundry.org:10004 [2023-08-09T09:39:53.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:39:53.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:39:53.958Z] Configure a credential helper to remove this warning. See [2023-08-09T09:39:53.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:39:53.958Z] [2023-08-09T09:39:53.958Z] Login Succeeded [2023-08-09T09:39:53.958Z] docker.io [2023-08-09T09:39:54.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:39:54.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:39:54.220Z] Configure a credential helper to remove this warning. See [2023-08-09T09:39:54.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:39:54.220Z] [2023-08-09T09:39:54.220Z] Login Succeeded [2023-08-09T09:39:54.220Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T09:39:54.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T09:39:54.891Z] + git rev-list -1 --merges fdc055dafb82b7d393639588b2b3ea660dae6311~1..fdc055dafb82b7d393639588b2b3ea660dae6311 [Pipeline] echo [2023-08-09T09:39:54.948Z] -----------> git rev-list -1 --merges fdc055dafb82b7d393639588b2b3ea660dae6311~1..fdc055dafb82b7d393639588b2b3ea660dae6311 fdc055dafb82b7d393639588b2b3ea660dae6311 [false] [Pipeline] sh [2023-08-09T09:39:55.257Z] + git log --format=format:%s -1 fdc055dafb82b7d393639588b2b3ea660dae6311 [Pipeline] echo [2023-08-09T09:39:55.291Z] ========================================================= [2023-08-09T09:39:55.291Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T09:39:55.291Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T09:39:55.705Z] + git log --format=format:%s -1 fdc055dafb82b7d393639588b2b3ea660dae6311 [Pipeline] echo [2023-08-09T09:39:55.739Z] [semverPrep] GIT_COMMIT: fdc055dafb82b7d393639588b2b3ea660dae6311, Commit Message: refactor: Remove github.com/pkg/errors from Attribution.txt [Pipeline] echo [2023-08-09T09:39:55.768Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T09:39:56.160Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T09:39:56.160Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T09:39:56.160Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T09:39:56.160Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T09:39:56.160Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T09:39:56.160Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T09:39:56.160Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:39:56.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T09:39:56.654Z] [2023-08-09T09:39:56.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:39:57.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T09:39:57.091Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T09:39:57.091Z] b85a868b505f: Pulling fs layer [2023-08-09T09:39:57.091Z] e2be974225ed: Pulling fs layer [2023-08-09T09:39:57.091Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T09:39:57.091Z] 988bab9f4d93: Pulling fs layer [2023-08-09T09:39:57.091Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T09:39:57.091Z] eaf3925da568: Pulling fs layer [2023-08-09T09:39:57.091Z] bab4dde63d76: Pulling fs layer [2023-08-09T09:39:57.091Z] bde34c3a00c8: Pulling fs layer [2023-08-09T09:39:57.091Z] b352a97aabf1: Pulling fs layer [2023-08-09T09:39:57.091Z] 4872d77fe225: Pulling fs layer [2023-08-09T09:39:57.091Z] 5851b861e8e6: Pulling fs layer [2023-08-09T09:39:57.091Z] 988bab9f4d93: Waiting [2023-08-09T09:39:57.091Z] 4872d77fe225: Waiting [2023-08-09T09:39:57.091Z] eaf3925da568: Waiting [2023-08-09T09:39:57.091Z] 1469e6f7b9e6: Waiting [2023-08-09T09:39:57.091Z] 5851b861e8e6: Waiting [2023-08-09T09:39:57.091Z] bab4dde63d76: Waiting [2023-08-09T09:39:57.091Z] b352a97aabf1: Waiting [2023-08-09T09:39:57.091Z] bde34c3a00c8: Waiting [2023-08-09T09:39:57.091Z] e2be974225ed: Verifying Checksum [2023-08-09T09:39:57.091Z] e2be974225ed: Download complete [2023-08-09T09:39:57.091Z] 988bab9f4d93: Download complete [2023-08-09T09:39:57.091Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T09:39:57.091Z] 1469e6f7b9e6: Download complete [2023-08-09T09:39:57.091Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T09:39:57.091Z] 339a4e72a1f5: Download complete [2023-08-09T09:39:57.361Z] eaf3925da568: Verifying Checksum [2023-08-09T09:39:57.361Z] eaf3925da568: Download complete [2023-08-09T09:39:57.361Z] bde34c3a00c8: Download complete [2023-08-09T09:39:57.361Z] b352a97aabf1: Verifying Checksum [2023-08-09T09:39:57.361Z] b352a97aabf1: Download complete [2023-08-09T09:39:57.361Z] 4872d77fe225: Verifying Checksum [2023-08-09T09:39:57.361Z] 4872d77fe225: Download complete [2023-08-09T09:39:57.361Z] 5851b861e8e6: Verifying Checksum [2023-08-09T09:39:57.361Z] 5851b861e8e6: Download complete [2023-08-09T09:39:57.361Z] b85a868b505f: Verifying Checksum [2023-08-09T09:39:57.361Z] b85a868b505f: Download complete [2023-08-09T09:39:57.620Z] bab4dde63d76: Verifying Checksum [2023-08-09T09:39:57.620Z] bab4dde63d76: Download complete [2023-08-09T09:39:58.561Z] b85a868b505f: Pull complete [2023-08-09T09:39:58.561Z] e2be974225ed: Pull complete [2023-08-09T09:39:59.131Z] 339a4e72a1f5: Pull complete [2023-08-09T09:39:59.131Z] 988bab9f4d93: Pull complete [2023-08-09T09:39:59.406Z] 1469e6f7b9e6: Pull complete [2023-08-09T09:39:59.671Z] eaf3925da568: Pull complete [2023-08-09T09:40:01.578Z] bab4dde63d76: Pull complete [2023-08-09T09:40:01.578Z] bde34c3a00c8: Pull complete [2023-08-09T09:40:01.578Z] b352a97aabf1: Pull complete [2023-08-09T09:40:01.578Z] 4872d77fe225: Pull complete [2023-08-09T09:40:01.841Z] 5851b861e8e6: Pull complete [2023-08-09T09:40:01.841Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T09:40:01.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T09:40:01.841Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:40:02.093Z] prd-ubuntu20.04-docker-8c-8g-3194 does not seem to be running inside a container [2023-08-09T09:40:02.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-418 -v /w/workspace/foundry_device-virtual-go_PR-418:/w/workspace/foundry_device-virtual-go_PR-418:rw,z -v /w/workspace/foundry_device-virtual-go_PR-418@tmp:/w/workspace/foundry_device-virtual-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T09:40:05.393Z] $ docker top 5ab40887d450614f0b12e3e2894b65c97ce2ef6fd585ac234aa6617da297fdba -eo pid,comm [2023-08-09T09:40:05.452Z] 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-08-09T09:40:05.452Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T09:40:05.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T09:40:05.580Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T09:40:05.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T09:40:05.708Z] $ docker exec 5ab40887d450614f0b12e3e2894b65c97ce2ef6fd585ac234aa6617da297fdba ssh-agent [2023-08-09T09:40:05.816Z] SSH_AUTH_SOCK=/tmp/ssh-qR6yeV7DsxMq/agent.32 [2023-08-09T09:40:05.816Z] SSH_AGENT_PID=38 [2023-08-09T09:40:05.824Z] Running ssh-add (command line suppressed) [2023-08-09T09:40:05.940Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-418@tmp/private_key_14977528740800396928.key (/w/workspace/foundry_device-virtual-go_PR-418@tmp/private_key_14977528740800396928.key) [2023-08-09T09:40:05.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T09:40:06.281Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T09:40:06.312Z] $ docker exec --env ******** --env ******** 5ab40887d450614f0b12e3e2894b65c97ce2ef6fd585ac234aa6617da297fdba ssh-agent -k [2023-08-09T09:40:06.415Z] unset SSH_AUTH_SOCK; [2023-08-09T09:40:06.416Z] unset SSH_AGENT_PID; [2023-08-09T09:40:06.416Z] echo Agent pid 38 killed; [2023-08-09T09:40:06.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T09:40:06.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T09:40:06.530Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T09:40:06.656Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T09:40:06.662Z] $ docker exec 5ab40887d450614f0b12e3e2894b65c97ce2ef6fd585ac234aa6617da297fdba ssh-agent [2023-08-09T09:40:06.787Z] SSH_AUTH_SOCK=/tmp/ssh-Riz0TVl8itfp/agent.70 [2023-08-09T09:40:06.787Z] SSH_AGENT_PID=76 [2023-08-09T09:40:06.792Z] Running ssh-add (command line suppressed) [2023-08-09T09:40:06.897Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-418@tmp/private_key_13530004321183263085.key (/w/workspace/foundry_device-virtual-go_PR-418@tmp/private_key_13530004321183263085.key) [2023-08-09T09:40:06.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T09:40:07.239Z] + git semver init [2023-08-09T09:40:07.498Z] 2023-08-09 09:40:07,445 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T09:40:07.498Z] 2023-08-09 09:40:07,445 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-418/.semver [2023-08-09T09:40:07.498Z] 2023-08-09 09:40:07,446 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-418/.semver [2023-08-09T09:40:07.498Z] 2023-08-09 09:40:07,446 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-418/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-418, universal_newlines=False, shell=None, istream=None) [2023-08-09T09:40:08.877Z] 2023-08-09 09:40:08,791 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-418/.git/info/exclude [2023-08-09T09:40:08.877Z] 2023-08-09 09:40:08,792 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-418/.semver/PR-418 with force:False [2023-08-09T09:40:08.877Z] 2023-08-09 09:40:08,792 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-418/.semver/PR-418 [2023-08-09T09:40:08.877Z] 2023-08-09 09:40:08,796 [execute] INFO git cat-file --batch-check [2023-08-09T09:40:08.877Z] 2023-08-09 09:40:08,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-418/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T09:40:08.877Z] 2023-08-09 09:40:08,803 [execute] INFO git cat-file --batch [2023-08-09T09:40:08.877Z] 2023-08-09 09:40:08,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-418/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T09:40:08.877Z] 2023-08-09 09:40:08,808 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-418/.semver/PR-418 [2023-08-09T09:40:08.877Z] 0.0.0 [Pipeline] } [2023-08-09T09:40:08.906Z] $ docker exec --env ******** --env ******** 5ab40887d450614f0b12e3e2894b65c97ce2ef6fd585ac234aa6617da297fdba ssh-agent -k [2023-08-09T09:40:09.001Z] unset SSH_AUTH_SOCK; [2023-08-09T09:40:09.002Z] unset SSH_AGENT_PID; [2023-08-09T09:40:09.002Z] echo Agent pid 76 killed; [2023-08-09T09:40:09.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T09:40:09.445Z] + git semver [Pipeline] } [2023-08-09T09:40:09.734Z] $ docker stop --time=1 5ab40887d450614f0b12e3e2894b65c97ce2ef6fd585ac234aa6617da297fdba [2023-08-09T09:40:11.060Z] $ docker rm -f --volumes 5ab40887d450614f0b12e3e2894b65c97ce2ef6fd585ac234aa6617da297fdba [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T09:40:11.462Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T09:40:11.735Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T09:40:11.753Z] [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-08-09T09:40:12.334Z] provisioning config files... [2023-08-09T09:40:12.343Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-418@tmp/config3784924514992913732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:40:12.691Z] ---> docker-login.sh [2023-08-09T09:40:12.691Z] nexus3.edgexfoundry.org:10001 [2023-08-09T09:40:12.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:40:12.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:40:12.691Z] Configure a credential helper to remove this warning. See [2023-08-09T09:40:12.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:40:12.691Z] [2023-08-09T09:40:12.691Z] Login Succeeded [2023-08-09T09:40:12.691Z] nexus3.edgexfoundry.org:10002 [2023-08-09T09:40:12.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:40:12.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:40:12.691Z] Configure a credential helper to remove this warning. See [2023-08-09T09:40:12.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:40:12.691Z] [2023-08-09T09:40:12.691Z] Login Succeeded [2023-08-09T09:40:12.691Z] nexus3.edgexfoundry.org:10003 [2023-08-09T09:40:12.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:40:12.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:40:12.951Z] Configure a credential helper to remove this warning. See [2023-08-09T09:40:12.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:40:12.951Z] [2023-08-09T09:40:12.951Z] Login Succeeded [2023-08-09T09:40:12.951Z] nexus3.edgexfoundry.org:10004 [2023-08-09T09:40:12.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:40:12.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:40:12.951Z] Configure a credential helper to remove this warning. See [2023-08-09T09:40:12.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:40:12.951Z] [2023-08-09T09:40:12.951Z] Login Succeeded [2023-08-09T09:40:12.951Z] docker.io [2023-08-09T09:40:13.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:40:13.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:40:13.471Z] Configure a credential helper to remove this warning. See [2023-08-09T09:40:13.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:40:13.471Z] [2023-08-09T09:40:13.471Z] Login Succeeded [2023-08-09T09:40:13.471Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T09:40:13.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T09:40:13.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T09:40:13.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T09:40:13.733Z] ========================================================= [2023-08-09T09:40:13.733Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T09:40:13.733Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:40:14.202Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T09:40:14.202Z] Sending build context to Docker daemon 23.54MB [2023-08-09T09:40:14.202Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T09:40:14.202Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T09:40:14.202Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T09:40:14.202Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T09:40:14.202Z] 6911f1a30b25: Pulling fs layer [2023-08-09T09:40:14.202Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T09:40:14.202Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T09:40:14.202Z] ec0bb842ea78: Pulling fs layer [2023-08-09T09:40:14.202Z] 40a00589a448: Pulling fs layer [2023-08-09T09:40:14.202Z] 6c08303d61cc: Pulling fs layer [2023-08-09T09:40:14.202Z] 798269fcf238: Pulling fs layer [2023-08-09T09:40:14.202Z] 6863d3e3a2b1: Waiting [2023-08-09T09:40:14.202Z] 798269fcf238: Waiting [2023-08-09T09:40:14.202Z] 6c08303d61cc: Waiting [2023-08-09T09:40:14.202Z] ec0bb842ea78: Waiting [2023-08-09T09:40:14.465Z] 6911f1a30b25: Verifying Checksum [2023-08-09T09:40:14.465Z] 6911f1a30b25: Download complete [2023-08-09T09:40:14.465Z] 6863d3e3a2b1: Verifying Checksum [2023-08-09T09:40:14.465Z] 6863d3e3a2b1: Download complete [2023-08-09T09:40:14.465Z] ec0bb842ea78: Verifying Checksum [2023-08-09T09:40:14.465Z] ec0bb842ea78: Download complete [2023-08-09T09:40:14.465Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T09:40:14.465Z] 4db1b89c0bd1: Download complete [2023-08-09T09:40:14.465Z] 40a00589a448: Verifying Checksum [2023-08-09T09:40:14.465Z] 40a00589a448: Download complete [2023-08-09T09:40:14.727Z] 4db1b89c0bd1: Pull complete [2023-08-09T09:40:14.727Z] 6911f1a30b25: Pull complete [2023-08-09T09:40:14.987Z] 798269fcf238: Verifying Checksum [2023-08-09T09:40:14.987Z] 798269fcf238: Download complete [2023-08-09T09:40:14.987Z] e194b8c5c2a9: Download complete [2023-08-09T09:40:15.247Z] 6c08303d61cc: Verifying Checksum [2023-08-09T09:40:15.247Z] 6c08303d61cc: Download complete [2023-08-09T09:40:19.436Z] e194b8c5c2a9: Pull complete [2023-08-09T09:40:19.436Z] 6863d3e3a2b1: Pull complete [2023-08-09T09:40:19.436Z] ec0bb842ea78: Pull complete [2023-08-09T09:40:19.436Z] 40a00589a448: Pull complete [2023-08-09T09:40:21.980Z] 6c08303d61cc: Pull complete [2023-08-09T09:40:22.547Z] 798269fcf238: Pull complete [2023-08-09T09:40:22.547Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T09:40:22.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T09:40:22.547Z] ---> ec979cd7f677 [2023-08-09T09:40:22.547Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T09:40:26.748Z] ---> Running in 8be0b40dbfc9 [2023-08-09T09:40:26.748Z] Removing intermediate container 8be0b40dbfc9 [2023-08-09T09:40:26.748Z] ---> 159193d4258f [2023-08-09T09:40:26.748Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T09:40:26.748Z] ---> Running in 40dbd664ac8b [2023-08-09T09:40:26.748Z] Removing intermediate container 40dbd664ac8b [2023-08-09T09:40:26.748Z] ---> 2e7179db7457 [2023-08-09T09:40:26.748Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T09:40:26.748Z] ---> Running in e123d70a868f [2023-08-09T09:40:26.748Z] Removing intermediate container e123d70a868f [2023-08-09T09:40:26.748Z] ---> e23b7a1f2e31 [2023-08-09T09:40:26.748Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-09T09:40:26.748Z] ---> Running in 8b4e55ab3f9d [2023-08-09T09:40:26.748Z] Removing intermediate container 8b4e55ab3f9d [2023-08-09T09:40:26.748Z] ---> 8d56aa4dd797 [2023-08-09T09:40:26.749Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T09:40:26.749Z] ---> Running in c2e9f278a57d [2023-08-09T09:40:27.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T09:40:27.165Z] Still waiting to schedule task [2023-08-09T09:40:27.166Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3193’ is offline [2023-08-09T09:40:27.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T09:40:27.527Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T09:40:27.527Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T09:40:27.527Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T09:40:27.527Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T09:40:27.527Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T09:40:27.527Z] OK: 269 MiB in 57 packages [2023-08-09T09:40:28.097Z] Removing intermediate container c2e9f278a57d [2023-08-09T09:40:28.097Z] ---> 21a6adcb7913 [2023-08-09T09:40:28.097Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-09T09:40:28.097Z] ---> 9f0a47d024d0 [2023-08-09T09:40:28.097Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T09:40:28.097Z] ---> Running in 52b9e442eec5 [2023-08-09T09:41:00.294Z] Removing intermediate container 52b9e442eec5 [2023-08-09T09:41:00.294Z] ---> cfeb4270a588 [2023-08-09T09:41:00.294Z] Step 10/12 : COPY . . [2023-08-09T09:41:00.294Z] ---> 9eecdbba0271 [2023-08-09T09:41:00.294Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T09:41:00.294Z] ---> Running in eb9a792a8599 [2023-08-09T09:41:00.294Z] Removing intermediate container eb9a792a8599 [2023-08-09T09:41:00.294Z] ---> 7b9dffa7b70a [2023-08-09T09:41:00.294Z] Step 12/12 : RUN $MAKE [2023-08-09T09:41:00.294Z] ---> Running in bcdb676cb476 [2023-08-09T09:41:00.294Z] noop [2023-08-09T09:41:00.294Z] Removing intermediate container bcdb676cb476 [2023-08-09T09:41:00.294Z] ---> 1da104cc937c [2023-08-09T09:41:00.294Z] Successfully built 1da104cc937c [2023-08-09T09:41:00.294Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:41:00.739Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T09:41:00.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:41:00.890Z] prd-ubuntu20.04-docker-8c-8g-3194 does not seem to be running inside a container [2023-08-09T09:41:00.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-418 -v /w/workspace/foundry_device-virtual-go_PR-418:/w/workspace/foundry_device-virtual-go_PR-418:rw,z -v /w/workspace/foundry_device-virtual-go_PR-418@tmp:/w/workspace/foundry_device-virtual-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-09T09:41:01.276Z] $ docker top a5fc847a7d3c36ca4dfc7448a26a513d18ef10a6d8a3fdfd5866795ecec12836 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T09:41:01.656Z] + go version [2023-08-09T09:41:01.656Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T09:41:01.689Z] $ docker stop --time=1 a5fc847a7d3c36ca4dfc7448a26a513d18ef10a6d8a3fdfd5866795ecec12836 [2023-08-09T09:41:02.964Z] $ docker rm -f --volumes a5fc847a7d3c36ca4dfc7448a26a513d18ef10a6d8a3fdfd5866795ecec12836 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:41:03.685Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T09:41:03.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:41:03.838Z] prd-ubuntu20.04-docker-8c-8g-3194 does not seem to be running inside a container [2023-08-09T09:41:03.873Z] $ 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-418 -v /w/workspace/foundry_device-virtual-go_PR-418:/w/workspace/foundry_device-virtual-go_PR-418:rw,z -v /w/workspace/foundry_device-virtual-go_PR-418@tmp:/w/workspace/foundry_device-virtual-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-09T09:41:04.219Z] $ docker top 71bf866924d0357e326c87744141595faf4018643460f7798ace3221487de277 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T09:41:04.607Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-418 [Pipeline] fileExists [Pipeline] sh [2023-08-09T09:41:04.966Z] + make test [2023-08-09T09:41:04.966Z] go test ./... -coverprofile=coverage.out [2023-08-09T09:41:10.232Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-09T09:41:22.433Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-09T09:41:22.433Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements [2023-08-09T09:41:27.689Z] go vet ./... [2023-08-09T09:41:31.870Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T09:41:31.870Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T09:41:31.870Z] ./bin/test-attribution-txt.sh [2023-08-09T09:41:31.870Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-09T09:41:31.870Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-09T09:41:31.870Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-09T09:41:31.870Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-09T09:41:31.870Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-09T09:41:31.870Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-09T09:41:31.909Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T09:41:31.940Z] $ docker stop --time=1 71bf866924d0357e326c87744141595faf4018643460f7798ace3221487de277 [2023-08-09T09:41:35.822Z] $ docker rm -f --volumes 71bf866924d0357e326c87744141595faf4018643460f7798ace3221487de277 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T09:41:36.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T09:41:36.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T09:41:37.125Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T09:41:37.434Z] + ls -al . [2023-08-09T09:41:37.434Z] total 204 [2023-08-09T09:41:37.434Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 09:41 . [2023-08-09T09:41:37.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:39 .. [2023-08-09T09:41:37.434Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 09:40 .git [2023-08-09T09:41:37.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 09:39 .github [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 9 09:39 .gitignore [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 09:39 .golangci.yml [2023-08-09T09:41:37.434Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 09:40 .semver [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 9 09:39 Attribution.txt [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 9 09:39 CHANGELOG.md [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 9 09:39 Dockerfile [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 09:39 GOVERNANCE.md [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 09:39 Jenkinsfile [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 09:39 LICENSE [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 9 09:39 Makefile [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 9 09:39 OWNERS.md [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 9 09:39 README.md [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 09:40 VERSION [2023-08-09T09:41:37.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 09:39 bin [2023-08-09T09:41:37.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 09:39 cmd [2023-08-09T09:41:37.434Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 9 09:41 coverage.out [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 9 09:39 go.mod [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 9 09:39 go.sum [2023-08-09T09:41:37.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 09:39 internal [2023-08-09T09:41:37.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:39 snap [2023-08-09T09:41:37.434Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 9 09:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:41:37.835Z] + 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=fdc055dafb82b7d393639588b2b3ea660dae6311 --label arch=amd64 --label version=0.0.0 . [2023-08-09T09:41:37.835Z] Sending build context to Docker daemon 23.59MB [2023-08-09T09:41:37.835Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T09:41:37.835Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-09T09:41:37.835Z] ---> 1da104cc937c [2023-08-09T09:41:37.835Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T09:41:38.094Z] ---> Running in da90ad3b26a7 [2023-08-09T09:41:38.353Z] Removing intermediate container da90ad3b26a7 [2023-08-09T09:41:38.353Z] ---> 2292f6451cd0 [2023-08-09T09:41:38.353Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T09:41:38.353Z] ---> Running in 3b4d49d00e45 [2023-08-09T09:41:38.353Z] Removing intermediate container 3b4d49d00e45 [2023-08-09T09:41:38.353Z] ---> cb1a5d9fc14b [2023-08-09T09:41:38.353Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-09T09:41:38.353Z] ---> Running in 37b8149085e1 [2023-08-09T09:41:38.353Z] Removing intermediate container 37b8149085e1 [2023-08-09T09:41:38.353Z] ---> 26f48f09f30c [2023-08-09T09:41:38.353Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-09T09:41:38.624Z] ---> Running in 2c4124f518ef [2023-08-09T09:41:38.624Z] Removing intermediate container 2c4124f518ef [2023-08-09T09:41:38.624Z] ---> 296777cb10ea [2023-08-09T09:41:38.624Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T09:41:38.624Z] ---> Running in 12a9f2abacba [2023-08-09T09:41:38.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T09:41:39.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T09:41:39.403Z] OK: 269 MiB in 57 packages [2023-08-09T09:41:39.662Z] Removing intermediate container 12a9f2abacba [2023-08-09T09:41:39.662Z] ---> d625ee8d18e4 [2023-08-09T09:41:39.662Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-09T09:41:39.920Z] ---> 51490d31837b [2023-08-09T09:41:39.920Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T09:41:39.920Z] ---> Running in 470c78386344 [2023-08-09T09:41:40.484Z] Removing intermediate container 470c78386344 [2023-08-09T09:41:40.484Z] ---> 4f8f83bbdde9 [2023-08-09T09:41:40.484Z] Step 10/25 : COPY . . [2023-08-09T09:41:41.658Z] ---> cfa880c97020 [2023-08-09T09:41:41.658Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T09:41:41.658Z] ---> Running in 63c0f712b48d [2023-08-09T09:41:41.658Z] Removing intermediate container 63c0f712b48d [2023-08-09T09:41:41.658Z] ---> d8cb981e0fb9 [2023-08-09T09:41:41.658Z] Step 12/25 : RUN $MAKE [2023-08-09T09:41:41.658Z] ---> Running in b67f06ab1922 [2023-08-09T09:41:41.917Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.10" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-09T09:41:57.043Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3195 in /w/workspace/foundry_device-virtual-go_PR-418 [Pipeline] { [Pipeline] ws [2023-08-09T09:41:57.109Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-08-09T09:41:57.194Z] The recommended git tool is: git [2023-08-09T09:42:01.873Z] using credential edgex-jenkins-ssh [2023-08-09T09:42:01.887Z] Cloning the remote Git repository [2023-08-09T09:42:01.928Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-08-09T09:42:02.062Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-08-09T09:42:02.212Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-09T09:42:02.212Z] > git --version # timeout=10 [2023-08-09T09:42:02.230Z] > git --version # 'git version 2.25.1' [2023-08-09T09:42:02.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T09:42:02.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T09:42:03.840Z] Removing intermediate container b67f06ab1922 [2023-08-09T09:42:03.840Z] ---> 98dcea5bec98 [2023-08-09T09:42:03.840Z] Step 13/25 : FROM alpine:3.17 [2023-08-09T09:42:03.840Z] 3.17: Pulling from library/alpine [2023-08-09T09:42:04.099Z] 9398808236ff: Pulling fs layer [2023-08-09T09:42:04.099Z] 9398808236ff: Download complete [2023-08-09T09:42:04.364Z] 9398808236ff: Pull complete [2023-08-09T09:42:04.364Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T09:42:04.364Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T09:42:04.364Z] ---> 1e0b8b5322fc [2023-08-09T09:42:04.364Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-09T09:42:04.364Z] ---> Running in 86970e553713 [2023-08-09T09:42:04.384Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-09T09:42:04.404Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T09:42:04.622Z] Removing intermediate container 86970e553713 [2023-08-09T09:42:04.622Z] ---> f4c69a8b1c89 [2023-08-09T09:42:04.622Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-09T09:42:04.622Z] ---> Running in 6b96b75c0382 [2023-08-09T09:42:04.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T09:42:05.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T09:42:05.404Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T09:42:05.404Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T09:42:05.404Z] OK: 7 MiB in 16 packages [2023-08-09T09:42:05.671Z] Removing intermediate container 6b96b75c0382 [2023-08-09T09:42:05.671Z] ---> b272adc40d81 [2023-08-09T09:42:05.671Z] Step 16/25 : WORKDIR / [2023-08-09T09:42:05.671Z] ---> Running in 9aba9d3b5ae8 [2023-08-09T09:42:05.782Z] Merging remotes/origin/main commit 167b2b37d553877e8454e5976795d0c3ccee8733 into PR head commit fdc055dafb82b7d393639588b2b3ea660dae6311 [2023-08-09T09:42:05.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-09T09:42:05.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-09T09:42:05.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T09:42:05.234Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/418/head:refs/remotes/origin/PR-418 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-09T09:42:05.797Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T09:42:05.864Z] > git checkout -f fdc055dafb82b7d393639588b2b3ea660dae6311 # timeout=10 [2023-08-09T09:42:05.932Z] Removing intermediate container 9aba9d3b5ae8 [2023-08-09T09:42:05.932Z] ---> b4bc9be466f9 [2023-08-09T09:42:05.932Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-09T09:42:05.932Z] ---> ff960fab5d23 [2023-08-09T09:42:05.932Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-09T09:42:06.028Z] Merge succeeded, producing fdc055dafb82b7d393639588b2b3ea660dae6311 [2023-08-09T09:42:06.029Z] Checking out Revision fdc055dafb82b7d393639588b2b3ea660dae6311 (PR-418) [2023-08-09T09:42:06.199Z] ---> 62196a7a4536 [2023-08-09T09:42:06.199Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-09T09:42:05.940Z] > git remote # timeout=10 [2023-08-09T09:42:05.956Z] > git config --get remote.origin.url # timeout=10 [2023-08-09T09:42:05.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T09:42:05.991Z] > git merge 167b2b37d553877e8454e5976795d0c3ccee8733 # timeout=10 [2023-08-09T09:42:06.014Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-09T09:42:06.034Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T09:42:06.050Z] > git checkout -f fdc055dafb82b7d393639588b2b3ea660dae6311 # timeout=10 [2023-08-09T09:42:07.332Z] ---> 4a8a89d83f23 [2023-08-09T09:42:07.332Z] Step 20/25 : EXPOSE 59900 [2023-08-09T09:42:07.332Z] ---> Running in b9246adc719e [2023-08-09T09:42:07.332Z] Removing intermediate container b9246adc719e [2023-08-09T09:42:07.332Z] ---> c3dc5e8eecf8 [2023-08-09T09:42:07.332Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-09T09:42:07.332Z] ---> Running in f1cc29ebe079 [2023-08-09T09:42:07.332Z] Removing intermediate container f1cc29ebe079 [2023-08-09T09:42:07.332Z] ---> 072753f09e4b [2023-08-09T09:42:07.332Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T09:42:07.332Z] ---> Running in bbda3e57220c [2023-08-09T09:42:07.332Z] Removing intermediate container bbda3e57220c [2023-08-09T09:42:07.332Z] ---> 745cd10bc048 [2023-08-09T09:42:07.332Z] Step 23/25 : LABEL arch=amd64 [2023-08-09T09:42:07.332Z] ---> Running in e9eeafaf83f5 [2023-08-09T09:42:07.591Z] Removing intermediate container e9eeafaf83f5 [2023-08-09T09:42:07.591Z] ---> 137494946a85 [2023-08-09T09:42:07.591Z] Step 24/25 : LABEL git_sha=fdc055dafb82b7d393639588b2b3ea660dae6311 [2023-08-09T09:42:07.591Z] ---> Running in b8eb1f14d1a7 [2023-08-09T09:42:07.591Z] Removing intermediate container b8eb1f14d1a7 [2023-08-09T09:42:07.591Z] ---> 0968773c8cbb [2023-08-09T09:42:07.591Z] Step 25/25 : LABEL version=0.0.0 [2023-08-09T09:42:07.591Z] ---> Running in d3f9ef50d46f [2023-08-09T09:42:07.591Z] Removing intermediate container d3f9ef50d46f [2023-08-09T09:42:07.591Z] ---> 572cf410332a [2023-08-09T09:42:07.591Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T09:42:07.591Z] Successfully built 572cf410332a [2023-08-09T09:42:07.591Z] 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-08-09T09:42:08.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T09:42:08.508Z] [2023-08-09T09:42:08.508Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:42:08.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T09:42:08.896Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T09:42:08.896Z] 5eb5b503b376: Pulling fs layer [2023-08-09T09:42:08.896Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T09:42:08.896Z] ec43610c2a17: Pulling fs layer [2023-08-09T09:42:08.896Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T09:42:08.896Z] 33b1e0a273af: Pulling fs layer [2023-08-09T09:42:08.896Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T09:42:08.896Z] 2f39f015ded8: Pulling fs layer [2023-08-09T09:42:08.896Z] 33b1e0a273af: Waiting [2023-08-09T09:42:08.896Z] 5d3b04190fa2: Waiting [2023-08-09T09:42:08.896Z] 3a2ae6a8a46f: Waiting [2023-08-09T09:42:08.896Z] 2f39f015ded8: Waiting [2023-08-09T09:42:08.896Z] 5c69ac0246d0: Download complete [2023-08-09T09:42:08.896Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T09:42:08.896Z] 33b1e0a273af: Verifying Checksum [2023-08-09T09:42:08.896Z] 33b1e0a273af: Download complete [2023-08-09T09:42:08.896Z] ec43610c2a17: Verifying Checksum [2023-08-09T09:42:08.896Z] ec43610c2a17: Download complete [2023-08-09T09:42:08.896Z] 5d3b04190fa2: Verifying Checksum [2023-08-09T09:42:08.896Z] 5d3b04190fa2: Download complete [2023-08-09T09:42:09.158Z] 5eb5b503b376: Verifying Checksum [2023-08-09T09:42:09.158Z] 5eb5b503b376: Download complete [2023-08-09T09:42:09.726Z] 2f39f015ded8: Verifying Checksum [2023-08-09T09:42:09.726Z] 2f39f015ded8: Download complete [2023-08-09T09:42:10.293Z] 5eb5b503b376: Pull complete [2023-08-09T09:42:10.552Z] 5c69ac0246d0: Pull complete [2023-08-09T09:42:10.992Z] Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" [2023-08-09T09:42:11.042Z] > git --version # timeout=10 [2023-08-09T09:42:11.057Z] > git --version # 'git version 2.25.1' [2023-08-09T09:42:11.070Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T09:42:11.118Z] ec43610c2a17: Pull complete [2023-08-09T09:42:11.118Z] 3a2ae6a8a46f: Pull complete [2023-08-09T09:42:11.376Z] 33b1e0a273af: Pull complete [2023-08-09T09:42:11.376Z] 5d3b04190fa2: Pull complete [2023-08-09T09:42:11.383Z] [2023-08-09T09:42:11.383Z] GitHub has been notified of this commit’s build result [2023-08-09T09:42:11.383Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T09:42:12.082Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T09:42:12.082Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T09:42:12.082Z] Dload Upload Total Spent Left Speed [2023-08-09T09:42:12.082Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 64725 0 --:--:-- --:--:-- --:--:-- 64725 [Pipeline] sh [2023-08-09T09:42:12.631Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T09:42:12.974Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T09:42:12.974Z] + sudo tee /etc/docker/daemon.new [2023-08-09T09:42:12.974Z] { [2023-08-09T09:42:12.974Z] "registry-mirrors": [ [2023-08-09T09:42:12.974Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T09:42:12.974Z] ], [2023-08-09T09:42:12.974Z] "bip": "10.250.0.254/24", [2023-08-09T09:42:12.974Z] "hosts": [ [2023-08-09T09:42:12.974Z] "tcp://0.0.0.0:5555", [2023-08-09T09:42:12.974Z] "unix:///var/run/docker.sock" [2023-08-09T09:42:12.974Z] ], [2023-08-09T09:42:12.974Z] "mtu": 1458, [2023-08-09T09:42:12.974Z] "selinux-enabled": true, [2023-08-09T09:42:12.974Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T09:42:12.974Z] } [Pipeline] sh [2023-08-09T09:42:13.311Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T09:42:13.653Z] + sudo service docker restart [2023-08-09T09:42:16.640Z] 2f39f015ded8: Pull complete [2023-08-09T09:42:16.640Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T09:42:16.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T09:42:16.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:42:16.870Z] prd-ubuntu20.04-docker-8c-8g-3194 does not seem to be running inside a container [2023-08-09T09:42:16.900Z] $ 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-418 -v /w/workspace/foundry_device-virtual-go_PR-418:/w/workspace/foundry_device-virtual-go_PR-418:rw,z -v /w/workspace/foundry_device-virtual-go_PR-418@tmp:/w/workspace/foundry_device-virtual-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T09:42:22.126Z] $ docker top 1be541aaddc1dde3cda2e23da66221f80fd65ce27814bf0bc678759298b30706 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:42:22.589Z] ---> job-cost.sh [2023-08-09T09:42:22.589Z] lf-activate-venv: SKIPPING [2023-08-09T09:42:22.589Z] INFO: No Stack... [2023-08-09T09:42:23.158Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T09:42:23.418Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T09:42:23.731Z] + cat /w/workspace/foundry_device-virtual-go_PR-418/archives/cost.csv [2023-08-09T09:42:23.731Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T09:42:23.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-418-1-stack-cost] [2023-08-09T09:42:23.776Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-418-1-stack-cost] did not exist. Created. [2023-08-09T09:42:23.777Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-418-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T09:42:24.197Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T09:42:24.252Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T09:42:24.280Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-418-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T09:42:24.359Z] $ docker stop --time=1 1be541aaddc1dde3cda2e23da66221f80fd65ce27814bf0bc678759298b30706 [2023-08-09T09:42:25.551Z] $ docker rm -f --volumes 1be541aaddc1dde3cda2e23da66221f80fd65ce27814bf0bc678759298b30706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T09:42:31.966Z] provisioning config files... [2023-08-09T09:42:31.990Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config15322103235199183241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:42:32.375Z] ---> docker-login.sh [2023-08-09T09:42:32.375Z] nexus3.edgexfoundry.org:10001 [2023-08-09T09:42:32.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:42:32.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:42:32.918Z] Configure a credential helper to remove this warning. See [2023-08-09T09:42:32.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:42:32.918Z] [2023-08-09T09:42:32.918Z] Login Succeeded [2023-08-09T09:42:32.918Z] nexus3.edgexfoundry.org:10002 [2023-08-09T09:42:33.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:42:33.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:42:33.185Z] Configure a credential helper to remove this warning. See [2023-08-09T09:42:33.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:42:33.185Z] [2023-08-09T09:42:33.185Z] Login Succeeded [2023-08-09T09:42:33.185Z] nexus3.edgexfoundry.org:10003 [2023-08-09T09:42:33.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:42:33.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:42:33.722Z] Configure a credential helper to remove this warning. See [2023-08-09T09:42:33.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:42:33.722Z] [2023-08-09T09:42:33.722Z] Login Succeeded [2023-08-09T09:42:33.722Z] nexus3.edgexfoundry.org:10004 [2023-08-09T09:42:33.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:42:33.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:42:33.992Z] Configure a credential helper to remove this warning. See [2023-08-09T09:42:33.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:42:33.992Z] [2023-08-09T09:42:33.992Z] Login Succeeded [2023-08-09T09:42:33.992Z] docker.io [2023-08-09T09:42:34.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:42:34.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:42:34.845Z] Configure a credential helper to remove this warning. See [2023-08-09T09:42:34.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:42:34.845Z] [2023-08-09T09:42:34.845Z] Login Succeeded [2023-08-09T09:42:34.845Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T09:42:34.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T09:42:35.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T09:42:35.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T09:42:35.298Z] ========================================================= [2023-08-09T09:42:35.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T09:42:35.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:42:35.779Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T09:42:38.360Z] Sending build context to Docker daemon 11.9MB [2023-08-09T09:42:38.360Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T09:42:38.360Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T09:42:38.631Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T09:42:38.631Z] edb6bdbacee9: Pulling fs layer [2023-08-09T09:42:38.631Z] 5f9638ab2659: Pulling fs layer [2023-08-09T09:42:38.631Z] 8d51d6327a98: Pulling fs layer [2023-08-09T09:42:38.631Z] 8b374f2dd631: Pulling fs layer [2023-08-09T09:42:38.631Z] ec14aa9079de: Pulling fs layer [2023-08-09T09:42:38.631Z] 2f466654f4bb: Pulling fs layer [2023-08-09T09:42:38.631Z] 554e91adad29: Pulling fs layer [2023-08-09T09:42:38.631Z] ec14aa9079de: Waiting [2023-08-09T09:42:38.631Z] 2f466654f4bb: Waiting [2023-08-09T09:42:38.631Z] 554e91adad29: Waiting [2023-08-09T09:42:38.631Z] 8b374f2dd631: Waiting [2023-08-09T09:42:38.631Z] 5f9638ab2659: Verifying Checksum [2023-08-09T09:42:38.631Z] 5f9638ab2659: Download complete [2023-08-09T09:42:38.631Z] 8b374f2dd631: Verifying Checksum [2023-08-09T09:42:38.631Z] 8b374f2dd631: Download complete [2023-08-09T09:42:38.631Z] ec14aa9079de: Verifying Checksum [2023-08-09T09:42:38.631Z] ec14aa9079de: Download complete [2023-08-09T09:42:38.631Z] edb6bdbacee9: Download complete [2023-08-09T09:42:40.046Z] edb6bdbacee9: Pull complete [2023-08-09T09:42:40.046Z] 554e91adad29: Verifying Checksum [2023-08-09T09:42:40.046Z] 554e91adad29: Download complete [2023-08-09T09:42:40.317Z] 5f9638ab2659: Pull complete [2023-08-09T09:42:41.290Z] 8d51d6327a98: Verifying Checksum [2023-08-09T09:42:41.290Z] 8d51d6327a98: Download complete [2023-08-09T09:42:41.290Z] 2f466654f4bb: Verifying Checksum [2023-08-09T09:42:41.290Z] 2f466654f4bb: Download complete [2023-08-09T09:42:53.619Z] 8d51d6327a98: Pull complete [2023-08-09T09:42:53.619Z] 8b374f2dd631: Pull complete [2023-08-09T09:42:53.619Z] ec14aa9079de: Pull complete [2023-08-09T09:42:58.971Z] 2f466654f4bb: Pull complete [2023-08-09T09:43:00.918Z] 554e91adad29: Pull complete [2023-08-09T09:43:00.918Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T09:43:00.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T09:43:00.918Z] ---> 1e15ea492957 [2023-08-09T09:43:00.918Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T09:43:02.873Z] ---> Running in 987164ae7b50 [2023-08-09T09:43:02.873Z] Removing intermediate container 987164ae7b50 [2023-08-09T09:43:02.873Z] ---> b98b94322e10 [2023-08-09T09:43:02.873Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T09:43:03.144Z] ---> Running in 5ccebd87d694 [2023-08-09T09:43:03.420Z] Removing intermediate container 5ccebd87d694 [2023-08-09T09:43:03.420Z] ---> 8c91bd040fe9 [2023-08-09T09:43:03.420Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T09:43:03.420Z] ---> Running in 1cb5db6545d4 [2023-08-09T09:43:03.688Z] Removing intermediate container 1cb5db6545d4 [2023-08-09T09:43:03.688Z] ---> 2df1b03cb8d2 [2023-08-09T09:43:03.688Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-09T09:43:03.688Z] ---> Running in 74e522e5e421 [2023-08-09T09:43:03.956Z] Removing intermediate container 74e522e5e421 [2023-08-09T09:43:03.956Z] ---> 7b4358c73a1d [2023-08-09T09:43:03.956Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T09:43:04.226Z] ---> Running in af8ac0bbe057 [2023-08-09T09:43:05.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T09:43:06.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T09:43:07.123Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T09:43:07.123Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T09:43:07.123Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T09:43:07.123Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T09:43:07.123Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T09:43:07.123Z] OK: 268 MiB in 57 packages [2023-08-09T09:43:08.083Z] Removing intermediate container af8ac0bbe057 [2023-08-09T09:43:08.083Z] ---> 191fa695257a [2023-08-09T09:43:08.083Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-09T09:43:08.670Z] ---> 2593cc2c6a51 [2023-08-09T09:43:08.670Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T09:43:08.670Z] ---> Running in 78763f1a1fde [2023-08-09T09:44:16.538Z] Removing intermediate container 78763f1a1fde [2023-08-09T09:44:16.538Z] ---> 90622ddf9393 [2023-08-09T09:44:16.538Z] Step 10/12 : COPY . . [2023-08-09T09:44:16.538Z] ---> e3ab95e73432 [2023-08-09T09:44:16.538Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T09:44:16.538Z] ---> Running in 619f88bacdc5 [2023-08-09T09:44:16.538Z] Removing intermediate container 619f88bacdc5 [2023-08-09T09:44:16.538Z] ---> ba4d32b37872 [2023-08-09T09:44:16.538Z] Step 12/12 : RUN $MAKE [2023-08-09T09:44:16.538Z] ---> Running in 744229ca8300 [2023-08-09T09:44:16.538Z] noop [2023-08-09T09:44:16.538Z] Removing intermediate container 744229ca8300 [2023-08-09T09:44:16.538Z] ---> cb918c6fab4e [2023-08-09T09:44:16.538Z] Successfully built cb918c6fab4e [2023-08-09T09:44:16.538Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:44:17.016Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T09:44:17.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:44:17.296Z] prd-ubuntu20.04-docker-arm64-4c-16g-3195 does not seem to be running inside a container [2023-08-09T09:44:17.357Z] $ 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-08-09T09:44:18.487Z] $ docker top 453f86a54f8011dff7b22003fe5d0c011d5264fcad693bae10134d918d42955a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T09:44:19.349Z] + go version [2023-08-09T09:44:19.349Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T09:44:19.382Z] $ docker stop --time=1 453f86a54f8011dff7b22003fe5d0c011d5264fcad693bae10134d918d42955a [2023-08-09T09:44:20.974Z] $ docker rm -f --volumes 453f86a54f8011dff7b22003fe5d0c011d5264fcad693bae10134d918d42955a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:44:21.888Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T09:44:21.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:44:22.142Z] prd-ubuntu20.04-docker-arm64-4c-16g-3195 does not seem to be running inside a container [2023-08-09T09:44:22.199Z] $ 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-08-09T09:44:23.302Z] $ docker top 17f185b7f45c380c509445ad8f1974468808e4d22d19041075740939a01414e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T09:44:23.833Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-09T09:44:24.221Z] + make test [2023-08-09T09:44:24.221Z] go test ./... -coverprofile=coverage.out [2023-08-09T09:44:56.460Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-09T09:46:48.133Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-09T09:46:48.133Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.091s coverage: 58.4% of statements [2023-08-09T09:46:48.728Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T09:46:48.728Z] go vet ./... [2023-08-09T09:47:27.607Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T09:47:27.607Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T09:47:27.607Z] ./bin/test-attribution-txt.sh [2023-08-09T09:47:27.607Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-09T09:47:27.607Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-09T09:47:27.607Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-09T09:47:27.607Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-09T09:47:27.607Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-09T09:47:27.607Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-09T09:47:27.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T09:47:27.671Z] $ docker stop --time=1 17f185b7f45c380c509445ad8f1974468808e4d22d19041075740939a01414e3 [2023-08-09T09:47:29.458Z] $ docker rm -f --volumes 17f185b7f45c380c509445ad8f1974468808e4d22d19041075740939a01414e3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T09:47:30.598Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T09:47:30.633Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T09:47:31.047Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T09:47:31.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T09:47:31.983Z] + ls -al . [2023-08-09T09:47:31.983Z] total 200 [2023-08-09T09:47:31.983Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 09:44 . [2023-08-09T09:47:31.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:42 .. [2023-08-09T09:47:31.983Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 09:42 .git [2023-08-09T09:47:31.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 09:42 .github [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 9 09:42 .gitignore [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 09:42 .golangci.yml [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 9 09:42 Attribution.txt [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 9 09:42 CHANGELOG.md [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 9 09:42 Dockerfile [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 09:42 GOVERNANCE.md [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 09:42 Jenkinsfile [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 09:42 LICENSE [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 9 09:42 Makefile [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 9 09:42 OWNERS.md [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 9 09:42 README.md [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 09:40 VERSION [2023-08-09T09:47:31.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 09:42 bin [2023-08-09T09:47:31.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 09:42 cmd [2023-08-09T09:47:31.983Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 9 09:46 coverage.out [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 9 09:42 go.mod [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 9 09:42 go.sum [2023-08-09T09:47:31.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 09:42 internal [2023-08-09T09:47:31.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:42 snap [2023-08-09T09:47:31.983Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 9 09:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:47:32.404Z] + 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=fdc055dafb82b7d393639588b2b3ea660dae6311 --label arch=arm64 --label version=0.0.0 . [2023-08-09T09:47:32.675Z] Sending build context to Docker daemon 11.95MB [2023-08-09T09:47:32.675Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T09:47:32.675Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-09T09:47:32.675Z] ---> cb918c6fab4e [2023-08-09T09:47:32.675Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T09:47:32.943Z] ---> Running in 93461187a2a1 [2023-08-09T09:47:33.212Z] Removing intermediate container 93461187a2a1 [2023-08-09T09:47:33.212Z] ---> 455b5e8f3b2b [2023-08-09T09:47:33.212Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T09:47:33.212Z] ---> Running in cd3b27aba838 [2023-08-09T09:47:33.491Z] Removing intermediate container cd3b27aba838 [2023-08-09T09:47:33.491Z] ---> c7f11c4b945a [2023-08-09T09:47:33.491Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-09T09:47:33.766Z] ---> Running in 0d93a695f4d9 [2023-08-09T09:47:34.033Z] Removing intermediate container 0d93a695f4d9 [2023-08-09T09:47:34.033Z] ---> e879b4bb17fe [2023-08-09T09:47:34.033Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-09T09:47:34.033Z] ---> Running in 2a436758fc0b [2023-08-09T09:47:34.310Z] Removing intermediate container 2a436758fc0b [2023-08-09T09:47:34.310Z] ---> 5b15a7b5592a [2023-08-09T09:47:34.310Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T09:47:34.310Z] ---> Running in c75ddeeedab5 [2023-08-09T09:47:35.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T09:47:35.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T09:47:36.809Z] OK: 268 MiB in 57 packages [2023-08-09T09:47:37.773Z] Removing intermediate container c75ddeeedab5 [2023-08-09T09:47:37.773Z] ---> 9dcc77c1bb07 [2023-08-09T09:47:37.773Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-09T09:47:38.042Z] ---> 197eebd86611 [2023-08-09T09:47:38.042Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T09:47:38.042Z] ---> Running in 8a7badd5d27a [2023-08-09T09:47:40.623Z] Removing intermediate container 8a7badd5d27a [2023-08-09T09:47:40.623Z] ---> d6728eecc000 [2023-08-09T09:47:40.623Z] Step 10/25 : COPY . . [2023-08-09T09:47:41.583Z] ---> 89daa068ea50 [2023-08-09T09:47:41.583Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T09:47:41.583Z] ---> Running in c363535605cc [2023-08-09T09:47:41.850Z] Removing intermediate container c363535605cc [2023-08-09T09:47:41.850Z] ---> 0bda740afb27 [2023-08-09T09:47:41.850Z] Step 12/25 : RUN $MAKE [2023-08-09T09:47:41.850Z] ---> Running in 2391882275ea [2023-08-09T09:47:42.810Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.10" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-09T09:50:04.744Z] Removing intermediate container 2391882275ea [2023-08-09T09:50:04.744Z] ---> c6149a008b56 [2023-08-09T09:50:04.744Z] Step 13/25 : FROM alpine:3.17 [2023-08-09T09:50:04.744Z] 3.17: Pulling from library/alpine [2023-08-09T09:50:04.744Z] 4060ece20d7a: Pulling fs layer [2023-08-09T09:50:04.744Z] 4060ece20d7a: Verifying Checksum [2023-08-09T09:50:04.744Z] 4060ece20d7a: Download complete [2023-08-09T09:50:04.744Z] 4060ece20d7a: Pull complete [2023-08-09T09:50:04.744Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T09:50:04.744Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T09:50:04.744Z] ---> 8650cd65339b [2023-08-09T09:50:04.744Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-09T09:50:04.744Z] ---> Running in 350c3c2730f3 [2023-08-09T09:50:04.744Z] Removing intermediate container 350c3c2730f3 [2023-08-09T09:50:04.744Z] ---> ce10eb59bbb9 [2023-08-09T09:50:04.744Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-09T09:50:04.744Z] ---> Running in c6f6ab545c7f [2023-08-09T09:50:04.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T09:50:04.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T09:50:04.744Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T09:50:04.744Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T09:50:04.744Z] OK: 8 MiB in 16 packages [2023-08-09T09:50:05.726Z] Removing intermediate container c6f6ab545c7f [2023-08-09T09:50:05.726Z] ---> c79dfed7bd3b [2023-08-09T09:50:05.726Z] Step 16/25 : WORKDIR / [2023-08-09T09:50:05.726Z] ---> Running in 3d6cbc6725dc [2023-08-09T09:50:06.010Z] Removing intermediate container 3d6cbc6725dc [2023-08-09T09:50:06.010Z] ---> d7ebb5d8f501 [2023-08-09T09:50:06.010Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-09T09:50:06.281Z] ---> db0d2da4f98a [2023-08-09T09:50:06.281Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-09T09:50:06.864Z] ---> 1d489f5b7456 [2023-08-09T09:50:06.864Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-09T09:50:08.271Z] ---> 8b801a1cbb27 [2023-08-09T09:50:08.271Z] Step 20/25 : EXPOSE 59900 [2023-08-09T09:50:08.271Z] ---> Running in 18dcaada8e6e [2023-08-09T09:50:08.538Z] Removing intermediate container 18dcaada8e6e [2023-08-09T09:50:08.538Z] ---> 00c030c60ecb [2023-08-09T09:50:08.538Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-09T09:50:08.538Z] ---> Running in b3567fc579d3 [2023-08-09T09:50:08.806Z] Removing intermediate container b3567fc579d3 [2023-08-09T09:50:08.806Z] ---> 65001371505b [2023-08-09T09:50:08.806Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T09:50:09.075Z] ---> Running in 862db809eddb [2023-08-09T09:50:09.346Z] Removing intermediate container 862db809eddb [2023-08-09T09:50:09.346Z] ---> 101bd43b6710 [2023-08-09T09:50:09.346Z] Step 23/25 : LABEL arch=arm64 [2023-08-09T09:50:09.346Z] ---> Running in fb75bf92d792 [2023-08-09T09:50:09.613Z] Removing intermediate container fb75bf92d792 [2023-08-09T09:50:09.613Z] ---> 57be7cca98c3 [2023-08-09T09:50:09.613Z] Step 24/25 : LABEL git_sha=fdc055dafb82b7d393639588b2b3ea660dae6311 [2023-08-09T09:50:09.613Z] ---> Running in 30ce4a7164ba [2023-08-09T09:50:09.880Z] Removing intermediate container 30ce4a7164ba [2023-08-09T09:50:09.880Z] ---> 9c839795daf0 [2023-08-09T09:50:09.880Z] Step 25/25 : LABEL version=0.0.0 [2023-08-09T09:50:10.147Z] ---> Running in a6d2f56d9362 [2023-08-09T09:50:10.415Z] Removing intermediate container a6d2f56d9362 [2023-08-09T09:50:10.415Z] ---> 81a03e2634ce [2023-08-09T09:50:10.415Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T09:50:10.415Z] Successfully built 81a03e2634ce [2023-08-09T09:50:10.415Z] 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-08-09T09:50:11.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T09:50:11.224Z] [2023-08-09T09:50:11.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:50:11.613Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T09:50:11.613Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T09:50:11.613Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T09:50:11.613Z] 04944245beec: Pulling fs layer [2023-08-09T09:50:11.613Z] 699f458cf7ca: Pulling fs layer [2023-08-09T09:50:11.613Z] 765212b225bb: Pulling fs layer [2023-08-09T09:50:11.613Z] f23df028b6ca: Pulling fs layer [2023-08-09T09:50:11.613Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T09:50:11.613Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T09:50:11.613Z] 765212b225bb: Waiting [2023-08-09T09:50:11.613Z] f23df028b6ca: Waiting [2023-08-09T09:50:11.613Z] d65c8cfc05b1: Waiting [2023-08-09T09:50:11.613Z] 2437ff75d9bd: Waiting [2023-08-09T09:50:11.883Z] 04944245beec: Verifying Checksum [2023-08-09T09:50:11.883Z] 04944245beec: Download complete [2023-08-09T09:50:11.883Z] 765212b225bb: Verifying Checksum [2023-08-09T09:50:11.883Z] 765212b225bb: Download complete [2023-08-09T09:50:11.883Z] f23df028b6ca: Verifying Checksum [2023-08-09T09:50:11.883Z] f23df028b6ca: Download complete [2023-08-09T09:50:11.883Z] d65c8cfc05b1: Verifying Checksum [2023-08-09T09:50:11.883Z] d65c8cfc05b1: Download complete [2023-08-09T09:50:12.151Z] 699f458cf7ca: Verifying Checksum [2023-08-09T09:50:12.151Z] 699f458cf7ca: Download complete [2023-08-09T09:50:12.418Z] 8998bd30e6a1: Verifying Checksum [2023-08-09T09:50:12.418Z] 8998bd30e6a1: Download complete [2023-08-09T09:50:14.995Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T09:50:14.995Z] 2437ff75d9bd: Download complete [2023-08-09T09:50:16.416Z] 8998bd30e6a1: Pull complete [2023-08-09T09:50:16.683Z] 04944245beec: Pull complete [2023-08-09T09:50:18.088Z] 699f458cf7ca: Pull complete [2023-08-09T09:50:18.088Z] 765212b225bb: Pull complete [2023-08-09T09:50:19.047Z] f23df028b6ca: Pull complete [2023-08-09T09:50:19.047Z] d65c8cfc05b1: Pull complete [2023-08-09T09:50:34.027Z] 2437ff75d9bd: Pull complete [2023-08-09T09:50:34.027Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T09:50:34.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T09:50:34.027Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:50:34.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-3195 does not seem to be running inside a container [2023-08-09T09:50:34.435Z] $ 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-08-09T09:50:36.969Z] $ docker top 763155c84b5c2db78c759c7cd31e287275cc5620237a7629cbb4fc1f3b8ae2c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:50:37.870Z] ---> job-cost.sh [2023-08-09T09:50:37.870Z] lf-activate-venv: SKIPPING [2023-08-09T09:50:37.870Z] INFO: No Stack... [2023-08-09T09:50:38.135Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T09:50:39.092Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T09:50:39.433Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-08-09T09:50:39.433Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T09:50:39.510Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-418-1-stack-cost] [2023-08-09T09:50:39.514Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-418-1-stack-cost] did not exist. Created. [2023-08-09T09:50:39.514Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-418-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T09:50:39.946Z] /w/workspace/device-virtual-go/1@tmp/durable-7f3d1cfa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T09:50:40.300Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T09:50:40.333Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T09:50:40.390Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T09:50:40.405Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-418-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T09:50:40.487Z] $ docker stop --time=1 763155c84b5c2db78c759c7cd31e287275cc5620237a7629cbb4fc1f3b8ae2c2 [2023-08-09T09:50:41.937Z] $ docker rm -f --volumes 763155c84b5c2db78c759c7cd31e287275cc5620237a7629cbb4fc1f3b8ae2c2 [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-08-09T09:50:42.930Z] provisioning config files... [2023-08-09T09:50:42.939Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-418@tmp/config9579137581893189819tmp [Pipeline] { [Pipeline] sh [2023-08-09T09:50:43.268Z] + set +x [2023-08-09T09:50:43.268Z] + + curl -s https://codecov.io/bashbash [2023-08-09T09:50:43.268Z] -s -- [2023-08-09T09:50:43.268Z] [2023-08-09T09:50:43.268Z] _____ _ [2023-08-09T09:50:43.268Z] / ____| | | [2023-08-09T09:50:43.268Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T09:50:43.268Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T09:50:43.268Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T09:50:43.268Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T09:50:43.268Z] Bash-1.0.6 [2023-08-09T09:50:43.268Z] [2023-08-09T09:50:43.268Z] [2023-08-09T09:50:43.268Z] ==> git version 2.25.1 found [2023-08-09T09:50:43.268Z] ==> 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-08-09T09:50:43.268Z] Release-Date: 2020-01-08 [2023-08-09T09:50:43.268Z] 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-08-09T09:50:43.268Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T09:50:43.268Z] ==> Jenkins CI detected. [2023-08-09T09:50:43.268Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-418 [2023-08-09T09:50:43.268Z] project root: . [2023-08-09T09:50:43.268Z] --> token set from env [2023-08-09T09:50:43.268Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T09:50:43.268Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T09:50:43.268Z] ==> Python coveragepy not found [2023-08-09T09:50:43.268Z] ==> Searching for coverage reports in: [2023-08-09T09:50:43.268Z] + . [2023-08-09T09:50:43.268Z] -> Found 1 reports [2023-08-09T09:50:43.268Z] ==> Detecting git/mercurial file structure [2023-08-09T09:50:43.268Z] ==> Reading reports [2023-08-09T09:50:43.268Z] + ./coverage.out bytes=43063 [2023-08-09T09:50:43.528Z] ==> Appending adjustments [2023-08-09T09:50:43.528Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T09:50:43.528Z] + Found adjustments [2023-08-09T09:50:43.528Z] ==> Gzipping contents [2023-08-09T09:50:43.528Z] 8.0K /tmp/codecov.N90GJW.gz [2023-08-09T09:50:43.528Z] ==> Uploading reports [2023-08-09T09:50:43.528Z] url: https://codecov.io [2023-08-09T09:50:43.528Z] query: branch=PR-418&commit=fdc055dafb82b7d393639588b2b3ea660dae6311&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-418%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=418&job=&cmd_args= [2023-08-09T09:50:43.528Z] -> Pinging Codecov [2023-08-09T09:50:43.528Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-418&commit=fdc055dafb82b7d393639588b2b3ea660dae6311&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-418%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=418&job=&cmd_args= [2023-08-09T09:50:43.528Z] -> Uploading to [2023-08-09T09:50:43.528Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/5E52B4B073DB2E39498172D8E973AA87/fdc055dafb82b7d393639588b2b3ea660dae6311/b445a58e-61c0-4dc9-ab88-9060f54ce02d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T095043Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4bc3494db74d2ea6b1a43491a3a536d4d4ba803e733831ec9dd5c8493abf9441 [2023-08-09T09:50:43.789Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T09:50:43.789Z] Dload Upload Total Spent Left Speed [2023-08-09T09:50:43.789Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 28021 --:--:-- --:--:-- --:--:-- 28021 [2023-08-09T09:50:43.789Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/fdc055dafb82b7d393639588b2b3ea660dae6311 [Pipeline] } [2023-08-09T09:50:43.824Z] 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-08-09T09:50:45.658Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-418/archives ] [2023-08-09T09:50:45.658Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-418/archives [2023-08-09T09:50:45.658Z] total 16 [2023-08-09T09:50:45.658Z] drwxr-xr-x 3 root root 4096 Aug 9 09:42 . [2023-08-09T09:50:45.658Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 09:42 .. [2023-08-09T09:50:45.658Z] drwxr-xr-x 2 root root 4096 Aug 9 09:42 cost [2023-08-09T09:50:45.658Z] -rw-r--r-- 1 root root 89 Aug 9 09:42 cost.csv [2023-08-09T09:50:45.658Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-418/archives [2023-08-09T09:50:45.658Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-418/archives [2023-08-09T09:50:45.658Z] total 16 [2023-08-09T09:50:45.658Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 09:42 . [2023-08-09T09:50:45.658Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 09:42 .. [2023-08-09T09:50:45.658Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 09:42 cost [2023-08-09T09:50:45.658Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 9 09:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:50:45.982Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:50:46.862Z] ---> package-listing.sh [2023-08-09T09:50:46.862Z] ++ facter osfamily [2023-08-09T09:50:46.862Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T09:50:47.120Z] + OS_FAMILY=debian [2023-08-09T09:50:47.120Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-418 [2023-08-09T09:50:47.120Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T09:50:47.120Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T09:50:47.120Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T09:50:47.120Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T09:50:47.120Z] + '[' /w/workspace/foundry_device-virtual-go_PR-418 ']' [2023-08-09T09:50:47.120Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T09:50:47.120Z] + case "${OS_FAMILY}" in [2023-08-09T09:50:47.120Z] + dpkg -l [2023-08-09T09:50:47.120Z] + grep '^ii' [2023-08-09T09:50:47.120Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T09:50:47.120Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T09:50:47.120Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T09:50:47.120Z] + '[' /w/workspace/foundry_device-virtual-go_PR-418 ']' [2023-08-09T09:50:47.120Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-418/archives/ [2023-08-09T09:50:47.120Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-418/archives/ [Pipeline] echo [2023-08-09T09:50:47.153Z] 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-418/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-09T09:50:47.445Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:50:48.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T09:50:48.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:50:48.225Z] prd-ubuntu20.04-docker-8c-8g-3194 does not seem to be running inside a container [2023-08-09T09:50:48.262Z] $ 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-418/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-418 -v /w/workspace/foundry_device-virtual-go_PR-418:/w/workspace/foundry_device-virtual-go_PR-418:rw,z -v /w/workspace/foundry_device-virtual-go_PR-418@tmp:/w/workspace/foundry_device-virtual-go_PR-418@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-08-09T09:50:48.463Z] $ docker top 19861f6c306ec68f9f386f84f34e2275c7c8df6c585a5ef4a787e963bfb16922 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T09:50:48.856Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T09:50:49.167Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T09:50:49.475Z] + ls /var/log/sa-host [2023-08-09T09:50:49.475Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T09:50:49.627Z] provisioning config files... [2023-08-09T09:50:49.635Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-418@tmp/config14771383603170833650tmp [Pipeline] { [Pipeline] echo [2023-08-09T09:50:49.694Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:50:50.008Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T09:50:50.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:50:50.430Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T09:50:50.459Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:50:50.776Z] ---> sudo-logs.sh [2023-08-09T09:50:50.776Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T09:50:50.866Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:50:51.179Z] ---> job-cost.sh [2023-08-09T09:50:51.179Z] lf-activate-venv: SKIPPING [2023-08-09T09:50:51.179Z] DEBUG: total: 0.2199999988079071 [2023-08-09T09:50:51.179Z] INFO: Retrieving Stack Cost... [2023-08-09T09:50:51.438Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T09:50:52.006Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T09:50:52.041Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:50:52.352Z] ---> logs-deploy.sh [2023-08-09T09:50:52.352Z] lf-activate-venv: SKIPPING [2023-08-09T09:50:52.352Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-418/1 [2023-08-09T09:50:52.352Z] INFO: archiving workspace using pattern(s): [2023-08-09T09:50:53.289Z] Archives upload complete. [2023-08-09T09:50:53.289Z] INFO: archiving logs to Nexus