Pull request #357 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33+3f1e673898a8ef42faca444c63d377d06123e36f (efc5ca220b87cfacb15df1dca7f6888bc412c707) 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-ssh4103078299256965354.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13529042974744812590.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-357/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-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh432808389136382361.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-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17429921360592168533.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12896192079066469020.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-357/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-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10892908714619055843.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-282’ is offline Running on prd-ubuntu20.04-docker-8c-8g-284 in /w/workspace/foundry_device-virtual-go_PR-357 [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-357 # 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 Merging remotes/origin/main commit 3f1e673898a8ef42faca444c63d377d06123e36f into PR head commit 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 Merge succeeded, producing 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 Checking out Revision 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 (PR-357) > 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/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 # 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 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T23:41:30.837Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T23:41:31.012Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T23:41:31.113Z] ========================================================= [2023-03-14T23:41:31.113Z] EdgeX Global Pipelines Version Info [2023-03-14T23:41:31.113Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:41:31.875Z] ------------------- [2023-03-14T23:41:31.875Z] stable info: [2023-03-14T23:41:31.875Z] ------------------- [2023-03-14T23:41:31.875Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T23:41:31.875Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T23:41:31.875Z] Message: update stable to v1.0.245 [2023-03-14T23:41:32.451Z] ------------------- [2023-03-14T23:41:32.451Z] experimental info: [2023-03-14T23:41:32.451Z] ------------------- [2023-03-14T23:41:32.451Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T23:41:32.451Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-14T23:41:32.451Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T23:41:32.758Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-14T23:41:32.799Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-14T23:41:32.842Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T23:41:32.881Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T23:41:32.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T23:41:32.959Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T23:41:32.996Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T23:41:33.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T23:41:33.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T23:41:33.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T23:41:33.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T23:41:33.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-14T23:41:33.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T23:41:33.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T23:41:33.343Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T23:41:33.381Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T23:41:33.417Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T23:41:33.454Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T23:41:33.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T23:41:33.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T23:41:33.581Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T23:41:33.623Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T23:41:33.656Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T23:41:33.697Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T23:41:33.733Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T23:41:33.771Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T23:41:33.813Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T23:41:33.853Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2023-03-14T23:41:33.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2023-03-14T23:41:33.936Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2023-03-14T23:41:33.974Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [Pipeline] echo [2023-03-14T23:41:34.021Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9efc7b2 [Pipeline] echo [2023-03-14T23:41:34.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T23:41:34.207Z] provisioning config files... [2023-03-14T23:41:34.225Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config17135498382855088506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:41:34.562Z] ---> docker-login.sh [2023-03-14T23:41:34.562Z] nexus3.edgexfoundry.org:10001 [2023-03-14T23:41:34.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:41:35.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:41:35.087Z] Configure a credential helper to remove this warning. See [2023-03-14T23:41:35.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:41:35.087Z] [2023-03-14T23:41:35.087Z] Login Succeeded [2023-03-14T23:41:35.087Z] nexus3.edgexfoundry.org:10002 [2023-03-14T23:41:35.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:41:35.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:41:35.350Z] Configure a credential helper to remove this warning. See [2023-03-14T23:41:35.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:41:35.350Z] [2023-03-14T23:41:35.350Z] Login Succeeded [2023-03-14T23:41:35.350Z] nexus3.edgexfoundry.org:10003 [2023-03-14T23:41:35.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:41:35.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:41:35.350Z] Configure a credential helper to remove this warning. See [2023-03-14T23:41:35.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:41:35.350Z] [2023-03-14T23:41:35.350Z] Login Succeeded [2023-03-14T23:41:35.350Z] nexus3.edgexfoundry.org:10004 [2023-03-14T23:41:35.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:41:35.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:41:35.618Z] Configure a credential helper to remove this warning. See [2023-03-14T23:41:35.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:41:35.618Z] [2023-03-14T23:41:35.618Z] Login Succeeded [2023-03-14T23:41:35.618Z] docker.io [2023-03-14T23:41:35.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:41:35.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:41:35.878Z] Configure a credential helper to remove this warning. See [2023-03-14T23:41:35.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:41:35.878Z] [2023-03-14T23:41:35.878Z] Login Succeeded [2023-03-14T23:41:35.878Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T23:41:35.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T23:41:36.541Z] + git rev-list -1 --merges 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33~1..9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [Pipeline] echo [2023-03-14T23:41:36.613Z] -----------> git rev-list -1 --merges 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33~1..9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [false] [Pipeline] sh [2023-03-14T23:41:36.918Z] + git log --format=format:%s -1 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [Pipeline] echo [2023-03-14T23:41:36.951Z] ========================================================= [2023-03-14T23:41:36.951Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T23:41:36.951Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T23:41:37.380Z] + git log --format=format:%s -1 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [Pipeline] echo [2023-03-14T23:41:37.413Z] [semverPrep] GIT_COMMIT: 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo [2023-03-14T23:41:37.444Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T23:41:37.818Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T23:41:37.818Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T23:41:37.818Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T23:41:37.818Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T23:41:37.818Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T23:41:37.818Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T23:41:37.818Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:41:38.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T23:41:38.385Z] [2023-03-14T23:41:38.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:41:38.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T23:41:38.828Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T23:41:38.828Z] b85a868b505f: Pulling fs layer [2023-03-14T23:41:38.828Z] e2be974225ed: Pulling fs layer [2023-03-14T23:41:38.828Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T23:41:38.828Z] 988bab9f4d93: Pulling fs layer [2023-03-14T23:41:38.828Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T23:41:38.828Z] eaf3925da568: Pulling fs layer [2023-03-14T23:41:38.828Z] bab4dde63d76: Pulling fs layer [2023-03-14T23:41:38.828Z] bde34c3a00c8: Pulling fs layer [2023-03-14T23:41:38.828Z] b352a97aabf1: Pulling fs layer [2023-03-14T23:41:38.828Z] 988bab9f4d93: Waiting [2023-03-14T23:41:38.828Z] bde34c3a00c8: Waiting [2023-03-14T23:41:38.828Z] eaf3925da568: Waiting [2023-03-14T23:41:38.828Z] 4872d77fe225: Pulling fs layer [2023-03-14T23:41:38.828Z] bab4dde63d76: Waiting [2023-03-14T23:41:38.828Z] 5851b861e8e6: Pulling fs layer [2023-03-14T23:41:38.828Z] b352a97aabf1: Waiting [2023-03-14T23:41:38.828Z] 4872d77fe225: Waiting [2023-03-14T23:41:39.090Z] e2be974225ed: Download complete [2023-03-14T23:41:39.090Z] 988bab9f4d93: Verifying Checksum [2023-03-14T23:41:39.090Z] 988bab9f4d93: Download complete [2023-03-14T23:41:39.090Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T23:41:39.090Z] 339a4e72a1f5: Download complete [2023-03-14T23:41:39.090Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T23:41:39.090Z] 1469e6f7b9e6: Download complete [2023-03-14T23:41:39.090Z] eaf3925da568: Verifying Checksum [2023-03-14T23:41:39.090Z] eaf3925da568: Download complete [2023-03-14T23:41:39.351Z] bde34c3a00c8: Verifying Checksum [2023-03-14T23:41:39.351Z] bde34c3a00c8: Download complete [2023-03-14T23:41:39.351Z] b352a97aabf1: Verifying Checksum [2023-03-14T23:41:39.351Z] b352a97aabf1: Download complete [2023-03-14T23:41:39.351Z] b85a868b505f: Download complete [2023-03-14T23:41:39.351Z] 4872d77fe225: Verifying Checksum [2023-03-14T23:41:39.351Z] 4872d77fe225: Download complete [2023-03-14T23:41:39.351Z] 5851b861e8e6: Verifying Checksum [2023-03-14T23:41:39.351Z] 5851b861e8e6: Download complete [2023-03-14T23:41:39.610Z] bab4dde63d76: Verifying Checksum [2023-03-14T23:41:39.610Z] bab4dde63d76: Download complete [2023-03-14T23:41:40.552Z] b85a868b505f: Pull complete [2023-03-14T23:41:40.552Z] e2be974225ed: Pull complete [2023-03-14T23:41:41.120Z] 339a4e72a1f5: Pull complete [2023-03-14T23:41:41.120Z] 988bab9f4d93: Pull complete [2023-03-14T23:41:41.384Z] 1469e6f7b9e6: Pull complete [2023-03-14T23:41:41.645Z] eaf3925da568: Pull complete [2023-03-14T23:41:43.561Z] bab4dde63d76: Pull complete [2023-03-14T23:41:43.561Z] bde34c3a00c8: Pull complete [2023-03-14T23:41:43.561Z] b352a97aabf1: Pull complete [2023-03-14T23:41:43.825Z] 4872d77fe225: Pull complete [2023-03-14T23:41:43.825Z] 5851b861e8e6: Pull complete [2023-03-14T23:41:43.825Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T23:41:43.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T23:41:44.087Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:41:44.319Z] prd-ubuntu20.04-docker-8c-8g-284 does not seem to be running inside a container [2023-03-14T23:41:44.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T23:41:48.044Z] $ docker top 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 -eo pid,comm [2023-03-14T23:41:48.093Z] 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-03-14T23:41:48.093Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T23:41:48.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T23:41:48.223Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T23:41:48.342Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T23:41:48.348Z] $ docker exec 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 ssh-agent [2023-03-14T23:41:48.452Z] SSH_AUTH_SOCK=/tmp/ssh-ohsnvFIVDE3h/agent.33 [2023-03-14T23:41:48.452Z] SSH_AGENT_PID=39 [2023-03-14T23:41:48.459Z] Running ssh-add (command line suppressed) [2023-03-14T23:41:48.558Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_4298814567482898621.key (/w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_4298814567482898621.key) [2023-03-14T23:41:48.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T23:41:48.892Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T23:41:48.921Z] $ docker exec --env ******** --env ******** 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 ssh-agent -k [2023-03-14T23:41:49.019Z] unset SSH_AUTH_SOCK; [2023-03-14T23:41:49.019Z] unset SSH_AGENT_PID; [2023-03-14T23:41:49.020Z] echo Agent pid 39 killed; [2023-03-14T23:41:49.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T23:41:49.117Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T23:41:49.117Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T23:41:49.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T23:41:49.278Z] $ docker exec 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 ssh-agent [2023-03-14T23:41:49.386Z] SSH_AUTH_SOCK=/tmp/ssh-IzehmbXlkFW1/agent.71 [2023-03-14T23:41:49.386Z] SSH_AGENT_PID=77 [2023-03-14T23:41:49.403Z] Running ssh-add (command line suppressed) [2023-03-14T23:41:49.518Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_289337884113592974.key (/w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_289337884113592974.key) [2023-03-14T23:41:49.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T23:41:49.855Z] + git semver init [2023-03-14T23:41:50.114Z] 2023-03-14 23:41:50,029 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T23:41:50.114Z] 2023-03-14 23:41:50,029 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-357/.semver [2023-03-14T23:41:50.114Z] 2023-03-14 23:41:50,030 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-357/.semver [2023-03-14T23:41:50.115Z] 2023-03-14 23:41:50,030 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-357/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-357, universal_newlines=False, shell=None, istream=None) [2023-03-14T23:41:51.508Z] 2023-03-14 23:41:51,205 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-357/.git/info/exclude [2023-03-14T23:41:51.508Z] 2023-03-14 23:41:51,206 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-357/.semver/PR-357 with force:False [2023-03-14T23:41:51.508Z] 2023-03-14 23:41:51,206 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-357/.semver/PR-357 [2023-03-14T23:41:51.508Z] 2023-03-14 23:41:51,210 [execute] INFO git cat-file --batch-check [2023-03-14T23:41:51.508Z] 2023-03-14 23:41:51,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-357/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T23:41:51.508Z] 2023-03-14 23:41:51,216 [execute] INFO git cat-file --batch [2023-03-14T23:41:51.508Z] 2023-03-14 23:41:51,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-357/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T23:41:51.508Z] 2023-03-14 23:41:51,221 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-357/.semver/PR-357 [2023-03-14T23:41:51.508Z] 0.0.0 [Pipeline] } [2023-03-14T23:41:51.536Z] $ docker exec --env ******** --env ******** 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 ssh-agent -k [2023-03-14T23:41:51.636Z] unset SSH_AUTH_SOCK; [2023-03-14T23:41:51.636Z] unset SSH_AGENT_PID; [2023-03-14T23:41:51.636Z] echo Agent pid 77 killed; [2023-03-14T23:41:51.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T23:41:52.068Z] + git semver [Pipeline] } [2023-03-14T23:41:52.356Z] $ docker stop --time=1 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 [2023-03-14T23:41:53.709Z] $ docker rm -f --volumes 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T23:41:54.109Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T23:41:54.369Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T23:41:54.388Z] [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-03-14T23:41:54.958Z] provisioning config files... [2023-03-14T23:41:54.969Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config5311437894048931591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:41:55.315Z] ---> docker-login.sh [2023-03-14T23:41:55.315Z] nexus3.edgexfoundry.org:10001 [2023-03-14T23:41:55.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:41:55.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:41:55.315Z] Configure a credential helper to remove this warning. See [2023-03-14T23:41:55.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:41:55.315Z] [2023-03-14T23:41:55.315Z] Login Succeeded [2023-03-14T23:41:55.315Z] nexus3.edgexfoundry.org:10002 [2023-03-14T23:41:55.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:41:55.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:41:55.315Z] Configure a credential helper to remove this warning. See [2023-03-14T23:41:55.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:41:55.315Z] [2023-03-14T23:41:55.315Z] Login Succeeded [2023-03-14T23:41:55.315Z] nexus3.edgexfoundry.org:10003 [2023-03-14T23:41:55.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:41:55.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:41:55.575Z] Configure a credential helper to remove this warning. See [2023-03-14T23:41:55.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:41:55.575Z] [2023-03-14T23:41:55.575Z] Login Succeeded [2023-03-14T23:41:55.575Z] nexus3.edgexfoundry.org:10004 [2023-03-14T23:41:55.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:41:55.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:41:55.575Z] Configure a credential helper to remove this warning. See [2023-03-14T23:41:55.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:41:55.575Z] [2023-03-14T23:41:55.575Z] Login Succeeded [2023-03-14T23:41:55.575Z] docker.io [2023-03-14T23:41:55.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:41:55.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:41:55.833Z] Configure a credential helper to remove this warning. See [2023-03-14T23:41:55.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:41:55.833Z] [2023-03-14T23:41:55.833Z] Login Succeeded [2023-03-14T23:41:55.833Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T23:41:55.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T23:41:56.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:41:56.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:41:56.137Z] ========================================================= [2023-03-14T23:41:56.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T23:41:56.137Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:41:56.603Z] + 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-03-14T23:41:56.603Z] Sending build context to Docker daemon 23.46MB [2023-03-14T23:41:56.603Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:41:56.603Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T23:41:56.865Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T23:41:56.865Z] 63b65145d645: Pulling fs layer [2023-03-14T23:41:56.865Z] a2d21d5440eb: Pulling fs layer [2023-03-14T23:41:56.865Z] 935e6c44a52c: Pulling fs layer [2023-03-14T23:41:56.865Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T23:41:56.865Z] 30dea6a524f1: Pulling fs layer [2023-03-14T23:41:56.865Z] a2aff8979fd8: Pulling fs layer [2023-03-14T23:41:56.865Z] 6808be2612f2: Pulling fs layer [2023-03-14T23:41:56.865Z] f25807f1079a: Pulling fs layer [2023-03-14T23:41:56.865Z] 94cc34f8dd06: Waiting [2023-03-14T23:41:56.865Z] 6808be2612f2: Waiting [2023-03-14T23:41:56.865Z] f25807f1079a: Waiting [2023-03-14T23:41:56.865Z] 30dea6a524f1: Waiting [2023-03-14T23:41:56.865Z] a2aff8979fd8: Waiting [2023-03-14T23:41:56.865Z] a2d21d5440eb: Verifying Checksum [2023-03-14T23:41:56.865Z] a2d21d5440eb: Download complete [2023-03-14T23:41:56.865Z] 94cc34f8dd06: Download complete [2023-03-14T23:41:56.865Z] 30dea6a524f1: Verifying Checksum [2023-03-14T23:41:56.865Z] 30dea6a524f1: Download complete [2023-03-14T23:41:56.865Z] 63b65145d645: Verifying Checksum [2023-03-14T23:41:56.865Z] 63b65145d645: Download complete [2023-03-14T23:41:56.865Z] a2aff8979fd8: Verifying Checksum [2023-03-14T23:41:56.865Z] a2aff8979fd8: Download complete [2023-03-14T23:41:57.130Z] 63b65145d645: Pull complete [2023-03-14T23:41:57.130Z] a2d21d5440eb: Pull complete [2023-03-14T23:41:57.393Z] f25807f1079a: Verifying Checksum [2023-03-14T23:41:57.393Z] f25807f1079a: Download complete [2023-03-14T23:41:57.652Z] 935e6c44a52c: Verifying Checksum [2023-03-14T23:41:57.652Z] 935e6c44a52c: Download complete [2023-03-14T23:41:57.652Z] 6808be2612f2: Verifying Checksum [2023-03-14T23:41:57.652Z] 6808be2612f2: Download complete [2023-03-14T23:42:01.837Z] 935e6c44a52c: Pull complete [2023-03-14T23:42:01.837Z] 94cc34f8dd06: Pull complete [2023-03-14T23:42:01.837Z] 30dea6a524f1: Pull complete [2023-03-14T23:42:01.837Z] a2aff8979fd8: Pull complete [2023-03-14T23:42:04.375Z] 6808be2612f2: Pull complete [2023-03-14T23:42:04.943Z] f25807f1079a: Pull complete [2023-03-14T23:42:04.943Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T23:42:04.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T23:42:04.943Z] ---> 3b553350e43f [2023-03-14T23:42:04.943Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:42:09.781Z] Still waiting to schedule task [2023-03-14T23:42:09.782Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-283’ is offline [2023-03-14T23:42:10.221Z] ---> Running in cab1cf71504f [2023-03-14T23:42:10.221Z] Removing intermediate container cab1cf71504f [2023-03-14T23:42:10.221Z] ---> abe50e4023c2 [2023-03-14T23:42:10.221Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:42:10.221Z] ---> Running in 50bb49000a53 [2023-03-14T23:42:10.221Z] Removing intermediate container 50bb49000a53 [2023-03-14T23:42:10.221Z] ---> e2adb86af6c2 [2023-03-14T23:42:10.221Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:42:10.221Z] ---> Running in 2bb7f54d000f [2023-03-14T23:42:10.221Z] Removing intermediate container 2bb7f54d000f [2023-03-14T23:42:10.221Z] ---> e9926d0a1a50 [2023-03-14T23:42:10.221Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-14T23:42:10.221Z] ---> Running in e8eb05480504 [2023-03-14T23:42:10.481Z] Removing intermediate container e8eb05480504 [2023-03-14T23:42:10.481Z] ---> 7296953d527a [2023-03-14T23:42:10.481Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:42:10.481Z] ---> Running in dc94363014ae [2023-03-14T23:42:10.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T23:42:10.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T23:42:10.997Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T23:42:10.997Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T23:42:11.298Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T23:42:11.298Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T23:42:11.298Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:42:11.298Z] OK: 269 MiB in 57 packages [2023-03-14T23:42:11.864Z] Removing intermediate container dc94363014ae [2023-03-14T23:42:11.864Z] ---> b0bca44c9feb [2023-03-14T23:42:11.864Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-14T23:42:11.864Z] ---> 96e3ebb1fde9 [2023-03-14T23:42:11.864Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:42:11.864Z] ---> Running in 7f2c354dc92c [2023-03-14T23:42:50.588Z] Removing intermediate container 7f2c354dc92c [2023-03-14T23:42:50.588Z] ---> 923fca947d00 [2023-03-14T23:42:50.588Z] Step 10/12 : COPY . . [2023-03-14T23:42:50.588Z] ---> c8ec1c937771 [2023-03-14T23:42:50.588Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:42:50.588Z] ---> Running in 10d8d3bdee90 [2023-03-14T23:42:50.588Z] Removing intermediate container 10d8d3bdee90 [2023-03-14T23:42:50.588Z] ---> 2af20448edf9 [2023-03-14T23:42:50.588Z] Step 12/12 : RUN $MAKE [2023-03-14T23:42:50.588Z] ---> Running in da3d1e632ae0 [2023-03-14T23:42:50.588Z] noop [2023-03-14T23:42:50.588Z] Removing intermediate container da3d1e632ae0 [2023-03-14T23:42:50.588Z] ---> 81595617276f [2023-03-14T23:42:50.588Z] Successfully built 81595617276f [2023-03-14T23:42:50.588Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:42:51.038Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T23:42:51.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:42:51.184Z] prd-ubuntu20.04-docker-8c-8g-284 does not seem to be running inside a container [2023-03-14T23:42:51.213Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T23:42:51.887Z] $ docker top b446eec9afbb079acfc26447a0a744e90191a5ec3f9791acf1e4f37ef5825e91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:42:52.270Z] + go version [2023-03-14T23:42:52.270Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T23:42:52.300Z] $ docker stop --time=1 b446eec9afbb079acfc26447a0a744e90191a5ec3f9791acf1e4f37ef5825e91 [2023-03-14T23:42:53.565Z] $ docker rm -f --volumes b446eec9afbb079acfc26447a0a744e90191a5ec3f9791acf1e4f37ef5825e91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:42:54.278Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T23:42:54.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:42:54.427Z] prd-ubuntu20.04-docker-8c-8g-284 does not seem to be running inside a container [2023-03-14T23:42:54.455Z] $ 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-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T23:42:54.785Z] $ docker top 4ab2669992ebd73eb41976a2b280c812244e7c6ba31177b5186a2b3d9af3cf2d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:42:55.181Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-357 [Pipeline] fileExists [Pipeline] sh [2023-03-14T23:42:55.540Z] + make test [2023-03-14T23:42:55.540Z] go test ./... -coverprofile=coverage.out [2023-03-14T23:43:00.967Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-14T23:43:10.943Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-14T23:43:10.943Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2023-03-14T23:43:17.497Z] go vet ./... [2023-03-14T23:43:20.776Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T23:43:20.776Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T23:43:20.776Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T23:43:20.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T23:43:20.855Z] $ docker stop --time=1 4ab2669992ebd73eb41976a2b280c812244e7c6ba31177b5186a2b3d9af3cf2d [2023-03-14T23:43:24.460Z] $ docker rm -f --volumes 4ab2669992ebd73eb41976a2b280c812244e7c6ba31177b5186a2b3d9af3cf2d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T23:43:24.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T23:43:25.047Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T23:43:25.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T23:43:26.181Z] + ls -al . [2023-03-14T23:43:26.181Z] total 192 [2023-03-14T23:43:26.181Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 23:42 . [2023-03-14T23:43:26.181Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:41 .. [2023-03-14T23:43:26.181Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:41 .git [2023-03-14T23:43:26.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:41 .github [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 23:41 .gitignore [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 23:41 .golangci.yml [2023-03-14T23:43:26.181Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 23:41 .semver [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 23:41 Attribution.txt [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 23:41 CHANGELOG.md [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 23:41 Dockerfile [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 23:41 GOVERNANCE.md [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 23:41 Jenkinsfile [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 23:41 LICENSE [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 14 23:41 Makefile [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 23:41 OWNERS.md [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 23:41 README.md [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 23:41 VERSION [2023-03-14T23:43:26.181Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 23:41 bin [2023-03-14T23:43:26.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:41 cmd [2023-03-14T23:43:26.181Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 14 23:43 coverage.out [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 23:41 go.mod [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 23:41 go.sum [2023-03-14T23:43:26.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:41 internal [2023-03-14T23:43:26.181Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:41 snap [2023-03-14T23:43:26.181Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 23:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:43:26.566Z] + 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=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 --label arch=amd64 --label version=0.0.0 . [2023-03-14T23:43:26.567Z] Sending build context to Docker daemon 23.5MB [2023-03-14T23:43:26.567Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:43:26.567Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-14T23:43:26.567Z] ---> 81595617276f [2023-03-14T23:43:26.567Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:43:26.825Z] ---> Running in 1b21a454721d [2023-03-14T23:43:27.087Z] Removing intermediate container 1b21a454721d [2023-03-14T23:43:27.087Z] ---> 1c665a56bc08 [2023-03-14T23:43:27.087Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:43:27.087Z] ---> Running in eb26c5f7b7f1 [2023-03-14T23:43:27.087Z] Removing intermediate container eb26c5f7b7f1 [2023-03-14T23:43:27.087Z] ---> 968f4f567f58 [2023-03-14T23:43:27.087Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:43:27.087Z] ---> Running in ee3e606b10a8 [2023-03-14T23:43:27.087Z] Removing intermediate container ee3e606b10a8 [2023-03-14T23:43:27.087Z] ---> 6dfcaef8ee78 [2023-03-14T23:43:27.088Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-14T23:43:27.346Z] ---> Running in b72b96afb4f5 [2023-03-14T23:43:27.346Z] Removing intermediate container b72b96afb4f5 [2023-03-14T23:43:27.346Z] ---> b559da96317a [2023-03-14T23:43:27.346Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:43:27.346Z] ---> Running in b5eb714004e1 [2023-03-14T23:43:27.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T23:43:27.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T23:43:28.125Z] OK: 269 MiB in 57 packages [2023-03-14T23:43:28.383Z] Removing intermediate container b5eb714004e1 [2023-03-14T23:43:28.383Z] ---> 2998f509ec15 [2023-03-14T23:43:28.383Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-14T23:43:28.383Z] ---> e211b18ed16b [2023-03-14T23:43:28.383Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:43:28.383Z] ---> Running in d641d7663fb8 [2023-03-14T23:43:29.319Z] Removing intermediate container d641d7663fb8 [2023-03-14T23:43:29.319Z] ---> 18b871244474 [2023-03-14T23:43:29.319Z] Step 10/25 : COPY . . [2023-03-14T23:43:29.885Z] ---> 216ac1bed22e [2023-03-14T23:43:29.885Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:43:30.143Z] ---> Running in 1edb92bc826f [2023-03-14T23:43:30.143Z] Removing intermediate container 1edb92bc826f [2023-03-14T23:43:30.143Z] ---> d52e001aa8ed [2023-03-14T23:43:30.143Z] Step 12/25 : RUN $MAKE [2023-03-14T23:43:30.143Z] ---> Running in 684b9748da6d [2023-03-14T23:43:30.400Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-14T23:43:39.561Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-285 in /w/workspace/foundry_device-virtual-go_PR-357 [Pipeline] { [Pipeline] ws [2023-03-14T23:43:39.620Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-03-14T23:43:39.697Z] The recommended git tool is: git [2023-03-14T23:43:45.097Z] using credential edgex-jenkins-ssh [2023-03-14T23:43:45.113Z] Cloning the remote Git repository [2023-03-14T23:43:45.156Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-14T23:43:45.250Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-03-14T23:43:45.384Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-14T23:43:45.385Z] > git --version # timeout=10 [2023-03-14T23:43:45.408Z] > git --version # 'git version 2.25.1' [2023-03-14T23:43:45.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T23:43:45.568Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T23:43:47.514Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-14T23:43:47.541Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T23:43:49.128Z] Merging remotes/origin/main commit 3f1e673898a8ef42faca444c63d377d06123e36f into PR head commit 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [2023-03-14T23:43:49.409Z] Merge succeeded, producing 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [2023-03-14T23:43:49.409Z] Checking out Revision 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 (PR-357) [2023-03-14T23:43:48.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-14T23:43:48.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-14T23:43:48.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T23:43:48.504Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T23:43:49.144Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T23:43:49.214Z] > git checkout -f 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 # timeout=10 [2023-03-14T23:43:49.304Z] > git remote # timeout=10 [2023-03-14T23:43:49.325Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T23:43:49.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T23:43:49.363Z] > git merge 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 [2023-03-14T23:43:49.390Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T23:43:49.413Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T23:43:49.427Z] > git checkout -f 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 # timeout=10 [2023-03-14T23:43:52.329Z] Removing intermediate container 684b9748da6d [2023-03-14T23:43:52.329Z] ---> 0f894e348e23 [2023-03-14T23:43:52.329Z] Step 13/25 : FROM alpine:3.17 [2023-03-14T23:43:52.329Z] 3.17: Pulling from library/alpine [2023-03-14T23:43:52.329Z] 63b65145d645: Already exists [2023-03-14T23:43:52.329Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T23:43:52.329Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T23:43:52.329Z] ---> b2aa39c304c2 [2023-03-14T23:43:52.329Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-14T23:43:52.329Z] ---> Running in 8c1c5c399ed5 [2023-03-14T23:43:52.329Z] Removing intermediate container 8c1c5c399ed5 [2023-03-14T23:43:52.329Z] ---> ef58a502c031 [2023-03-14T23:43:52.329Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-14T23:43:52.329Z] ---> Running in 257f2326fa93 [2023-03-14T23:43:52.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T23:43:52.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T23:43:52.329Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T23:43:52.329Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:43:52.329Z] OK: 7 MiB in 16 packages [2023-03-14T23:43:52.329Z] Removing intermediate container 257f2326fa93 [2023-03-14T23:43:52.329Z] ---> 62287220dd5c [2023-03-14T23:43:52.329Z] Step 16/25 : WORKDIR / [2023-03-14T23:43:52.329Z] ---> Running in 5d31fa4f2fb4 [2023-03-14T23:43:52.329Z] Removing intermediate container 5d31fa4f2fb4 [2023-03-14T23:43:52.329Z] ---> 8895e1aeca82 [2023-03-14T23:43:52.329Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-14T23:43:52.329Z] ---> 7e1c3ce82bbb [2023-03-14T23:43:52.329Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-14T23:43:52.329Z] ---> 263cfb8cd8cb [2023-03-14T23:43:52.329Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-14T23:43:52.329Z] ---> 53c5a57ea531 [2023-03-14T23:43:52.329Z] Step 20/25 : EXPOSE 59900 [2023-03-14T23:43:52.329Z] ---> Running in 7ef9d6e93d0f [2023-03-14T23:43:52.329Z] Removing intermediate container 7ef9d6e93d0f [2023-03-14T23:43:52.329Z] ---> ece19fd60e3b [2023-03-14T23:43:52.329Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-14T23:43:52.329Z] ---> Running in ca7bdb04f8fc [2023-03-14T23:43:52.329Z] Removing intermediate container ca7bdb04f8fc [2023-03-14T23:43:52.329Z] ---> 4a3d02b090e2 [2023-03-14T23:43:52.329Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T23:43:52.329Z] ---> Running in b549861f12b6 [2023-03-14T23:43:52.329Z] Removing intermediate container b549861f12b6 [2023-03-14T23:43:52.329Z] ---> 3c1fe56381fe [2023-03-14T23:43:52.329Z] Step 23/25 : LABEL arch=amd64 [2023-03-14T23:43:52.329Z] ---> Running in 25379473d79d [2023-03-14T23:43:52.329Z] Removing intermediate container 25379473d79d [2023-03-14T23:43:52.329Z] ---> 1bb2b81fcaae [2023-03-14T23:43:52.329Z] Step 24/25 : LABEL git_sha=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [2023-03-14T23:43:52.329Z] ---> Running in 58fe21c8b060 [2023-03-14T23:43:52.329Z] Removing intermediate container 58fe21c8b060 [2023-03-14T23:43:52.329Z] ---> cd3355b74956 [2023-03-14T23:43:52.329Z] Step 25/25 : LABEL version=0.0.0 [2023-03-14T23:43:52.329Z] ---> Running in 398eaa850321 [2023-03-14T23:43:52.329Z] Removing intermediate container 398eaa850321 [2023-03-14T23:43:52.329Z] ---> e2f7cd5f0b70 [2023-03-14T23:43:52.329Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T23:43:52.329Z] Successfully built e2f7cd5f0b70 [2023-03-14T23:43:52.329Z] 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] { [2023-03-14T23:43:52.911Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" [Pipeline] sh [2023-03-14T23:43:52.959Z] > git --version # timeout=10 [2023-03-14T23:43:52.970Z] > git --version # 'git version 2.25.1' [2023-03-14T23:43:52.984Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T23:43:53.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:43:53.189Z] [2023-03-14T23:43:53.189Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:43:53.428Z] [2023-03-14T23:43:53.428Z] GitHub has been notified of this commit’s build result [2023-03-14T23:43:53.428Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-03-14T23:43:53.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:43:53.558Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T23:43:53.558Z] 5eb5b503b376: Pulling fs layer [2023-03-14T23:43:53.558Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T23:43:53.558Z] ec43610c2a17: Pulling fs layer [2023-03-14T23:43:53.558Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T23:43:53.558Z] 33b1e0a273af: Pulling fs layer [2023-03-14T23:43:53.558Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T23:43:53.558Z] 2f39f015ded8: Pulling fs layer [2023-03-14T23:43:53.558Z] 33b1e0a273af: Waiting [2023-03-14T23:43:53.558Z] 5d3b04190fa2: Waiting [2023-03-14T23:43:53.558Z] 2f39f015ded8: Waiting [2023-03-14T23:43:53.558Z] 3a2ae6a8a46f: Waiting [2023-03-14T23:43:53.558Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T23:43:53.558Z] 5c69ac0246d0: Download complete [2023-03-14T23:43:53.558Z] 3a2ae6a8a46f: Download complete [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T23:43:53.817Z] 33b1e0a273af: Verifying Checksum [2023-03-14T23:43:53.817Z] 33b1e0a273af: Download complete [2023-03-14T23:43:53.817Z] 5d3b04190fa2: Download complete [2023-03-14T23:43:53.817Z] ec43610c2a17: Verifying Checksum [2023-03-14T23:43:53.817Z] ec43610c2a17: Download complete [2023-03-14T23:43:53.817Z] 5eb5b503b376: Download complete [2023-03-14T23:43:54.128Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T23:43:54.129Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T23:43:54.129Z] Dload Upload Total Spent Left Speed [2023-03-14T23:43:54.129Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 98k [2023-03-14T23:43:54.381Z] 2f39f015ded8: Download complete [Pipeline] sh [2023-03-14T23:43:54.883Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T23:43:55.227Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T23:43:55.227Z] + sudo tee /etc/docker/daemon.new [2023-03-14T23:43:55.227Z] { [2023-03-14T23:43:55.227Z] "registry-mirrors": [ [2023-03-14T23:43:55.227Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T23:43:55.227Z] ], [2023-03-14T23:43:55.227Z] "bip": "10.250.0.254/24", [2023-03-14T23:43:55.227Z] "hosts": [ [2023-03-14T23:43:55.227Z] "tcp://0.0.0.0:5555", [2023-03-14T23:43:55.227Z] "unix:///var/run/docker.sock" [2023-03-14T23:43:55.227Z] ], [2023-03-14T23:43:55.227Z] "mtu": 1458, [2023-03-14T23:43:55.227Z] "selinux-enabled": true, [2023-03-14T23:43:55.227Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T23:43:55.227Z] } [Pipeline] sh [2023-03-14T23:43:55.312Z] 5eb5b503b376: Pull complete [2023-03-14T23:43:55.312Z] 5c69ac0246d0: Pull complete [2023-03-14T23:43:55.567Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-03-14T23:43:55.571Z] ec43610c2a17: Pull complete [Pipeline] sh [2023-03-14T23:43:55.829Z] 3a2ae6a8a46f: Pull complete [2023-03-14T23:43:55.932Z] + sudo service docker restart [2023-03-14T23:43:56.088Z] 33b1e0a273af: Pull complete [2023-03-14T23:43:56.089Z] 5d3b04190fa2: Pull complete [2023-03-14T23:44:00.274Z] 2f39f015ded8: Pull complete [2023-03-14T23:44:00.274Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T23:44:00.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:44:00.274Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:44:00.508Z] prd-ubuntu20.04-docker-8c-8g-284 does not seem to be running inside a container [2023-03-14T23:44:00.536Z] $ 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-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@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-03-14T23:44:04.102Z] $ docker top 3e23084e88050bfa4a2068e99a08def5568fda6318a7227b62f896541968eb6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:44:04.563Z] ---> job-cost.sh [2023-03-14T23:44:04.564Z] lf-activate-venv: SKIPPING [2023-03-14T23:44:04.564Z] INFO: No Stack... [2023-03-14T23:44:04.823Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T23:44:05.392Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T23:44:05.708Z] + cat /w/workspace/foundry_device-virtual-go_PR-357/archives/cost.csv [2023-03-14T23:44:05.708Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T23:44:05.750Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] [2023-03-14T23:44:05.755Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] did not exist. Created. [2023-03-14T23:44:05.755Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T23:44:06.145Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T23:44:06.197Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T23:44:06.224Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T23:44:06.309Z] $ docker stop --time=1 3e23084e88050bfa4a2068e99a08def5568fda6318a7227b62f896541968eb6b [2023-03-14T23:44:07.531Z] $ docker rm -f --volumes 3e23084e88050bfa4a2068e99a08def5568fda6318a7227b62f896541968eb6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T23:44:14.248Z] provisioning config files... [2023-03-14T23:44:14.279Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8426320045946050843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:44:14.677Z] ---> docker-login.sh [2023-03-14T23:44:14.677Z] nexus3.edgexfoundry.org:10001 [2023-03-14T23:44:15.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:44:15.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:44:15.266Z] Configure a credential helper to remove this warning. See [2023-03-14T23:44:15.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:44:15.266Z] [2023-03-14T23:44:15.266Z] Login Succeeded [2023-03-14T23:44:15.266Z] nexus3.edgexfoundry.org:10002 [2023-03-14T23:44:15.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:44:15.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:44:15.807Z] Configure a credential helper to remove this warning. See [2023-03-14T23:44:15.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:44:15.807Z] [2023-03-14T23:44:15.807Z] Login Succeeded [2023-03-14T23:44:15.807Z] nexus3.edgexfoundry.org:10003 [2023-03-14T23:44:15.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:44:16.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:44:16.078Z] Configure a credential helper to remove this warning. See [2023-03-14T23:44:16.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:44:16.078Z] [2023-03-14T23:44:16.078Z] Login Succeeded [2023-03-14T23:44:16.078Z] nexus3.edgexfoundry.org:10004 [2023-03-14T23:44:16.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:44:16.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:44:16.349Z] Configure a credential helper to remove this warning. See [2023-03-14T23:44:16.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:44:16.349Z] [2023-03-14T23:44:16.349Z] Login Succeeded [2023-03-14T23:44:16.349Z] docker.io [2023-03-14T23:44:16.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:44:16.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:44:16.884Z] Configure a credential helper to remove this warning. See [2023-03-14T23:44:16.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:44:16.884Z] [2023-03-14T23:44:16.884Z] Login Succeeded [2023-03-14T23:44:16.884Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T23:44:16.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T23:44:17.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:44:17.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:44:17.385Z] ========================================================= [2023-03-14T23:44:17.385Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T23:44:17.385Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:44:17.899Z] + 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-03-14T23:44:18.170Z] Sending build context to Docker daemon 11.9MB [2023-03-14T23:44:18.444Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:44:18.444Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T23:44:18.444Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T23:44:18.444Z] af6eaf76a39c: Pulling fs layer [2023-03-14T23:44:18.444Z] 55522c791124: Pulling fs layer [2023-03-14T23:44:18.444Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T23:44:18.444Z] 169dfbe0d373: Pulling fs layer [2023-03-14T23:44:18.444Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T23:44:18.444Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T23:44:18.444Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T23:44:18.444Z] e1ff8fa3b103: Waiting [2023-03-14T23:44:18.444Z] 52ebb69f0ebf: Waiting [2023-03-14T23:44:18.444Z] 5abe8eddf0d5: Waiting [2023-03-14T23:44:18.444Z] 169dfbe0d373: Waiting [2023-03-14T23:44:18.444Z] 55522c791124: Download complete [2023-03-14T23:44:18.723Z] 169dfbe0d373: Verifying Checksum [2023-03-14T23:44:18.723Z] 169dfbe0d373: Download complete [2023-03-14T23:44:18.723Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T23:44:18.723Z] e1ff8fa3b103: Download complete [2023-03-14T23:44:18.723Z] af6eaf76a39c: Verifying Checksum [2023-03-14T23:44:19.702Z] af6eaf76a39c: Pull complete [2023-03-14T23:44:19.702Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T23:44:19.702Z] 5abe8eddf0d5: Download complete [2023-03-14T23:44:20.315Z] 55522c791124: Pull complete [2023-03-14T23:44:21.283Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T23:44:21.283Z] ce5c4a1c91eb: Download complete [2023-03-14T23:44:21.283Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T23:44:21.283Z] 52ebb69f0ebf: Download complete [2023-03-14T23:44:33.637Z] ce5c4a1c91eb: Pull complete [2023-03-14T23:44:33.637Z] 169dfbe0d373: Pull complete [2023-03-14T23:44:33.637Z] e1ff8fa3b103: Pull complete [2023-03-14T23:44:40.345Z] 52ebb69f0ebf: Pull complete [2023-03-14T23:44:41.781Z] 5abe8eddf0d5: Pull complete [2023-03-14T23:44:41.781Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T23:44:41.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T23:44:41.781Z] ---> 6cb57ee374ae [2023-03-14T23:44:41.781Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:44:43.740Z] ---> Running in 15b39c0efcde [2023-03-14T23:44:44.007Z] Removing intermediate container 15b39c0efcde [2023-03-14T23:44:44.007Z] ---> 111e5b75473d [2023-03-14T23:44:44.007Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:44:44.007Z] ---> Running in 2b89b4e2d481 [2023-03-14T23:44:44.275Z] Removing intermediate container 2b89b4e2d481 [2023-03-14T23:44:44.275Z] ---> 0f932151a7cd [2023-03-14T23:44:44.275Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:44:44.551Z] ---> Running in cde13dced3ca [2023-03-14T23:44:44.819Z] Removing intermediate container cde13dced3ca [2023-03-14T23:44:44.819Z] ---> 26e26da0d72e [2023-03-14T23:44:44.819Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-14T23:44:44.819Z] ---> Running in 679c099dc160 [2023-03-14T23:44:45.089Z] Removing intermediate container 679c099dc160 [2023-03-14T23:44:45.089Z] ---> c39e4729d485 [2023-03-14T23:44:45.089Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:44:45.089Z] ---> Running in def2a87d9284 [2023-03-14T23:44:46.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T23:44:46.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T23:44:47.723Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T23:44:47.723Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T23:44:47.723Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T23:44:47.991Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T23:44:47.991Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:44:47.991Z] OK: 268 MiB in 57 packages [2023-03-14T23:44:48.959Z] Removing intermediate container def2a87d9284 [2023-03-14T23:44:48.959Z] ---> 15bd294a091e [2023-03-14T23:44:48.959Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-14T23:44:49.541Z] ---> 38bf37ef2095 [2023-03-14T23:44:49.541Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:44:49.541Z] ---> Running in 3e30dc09cc02 [2023-03-14T23:45:45.946Z] Removing intermediate container 3e30dc09cc02 [2023-03-14T23:45:45.946Z] ---> 22af4e9d0119 [2023-03-14T23:45:45.946Z] Step 10/12 : COPY . . [2023-03-14T23:45:47.353Z] ---> c0cbb0578205 [2023-03-14T23:45:47.353Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:45:47.353Z] ---> Running in 09619ee2117d [2023-03-14T23:45:47.353Z] Removing intermediate container 09619ee2117d [2023-03-14T23:45:47.353Z] ---> 74b829f0819c [2023-03-14T23:45:47.353Z] Step 12/12 : RUN $MAKE [2023-03-14T23:45:47.622Z] ---> Running in 66f76658e76f [2023-03-14T23:45:48.606Z] noop [2023-03-14T23:45:49.194Z] Removing intermediate container 66f76658e76f [2023-03-14T23:45:49.194Z] ---> 632930dfa3ba [2023-03-14T23:45:49.194Z] Successfully built 632930dfa3ba [2023-03-14T23:45:49.194Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:45:49.656Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T23:45:49.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:45:49.932Z] prd-ubuntu20.04-docker-arm64-4c-16g-285 does not seem to be running inside a container [2023-03-14T23:45:49.988Z] $ 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-03-14T23:45:51.107Z] $ docker top 7fe87ae65979cc3ed78c2ae585915e52c3f3cb9bb805555bfea871bfe7d0960d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:45:51.974Z] + go version [2023-03-14T23:45:51.975Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T23:45:52.005Z] $ docker stop --time=1 7fe87ae65979cc3ed78c2ae585915e52c3f3cb9bb805555bfea871bfe7d0960d [2023-03-14T23:45:53.582Z] $ docker rm -f --volumes 7fe87ae65979cc3ed78c2ae585915e52c3f3cb9bb805555bfea871bfe7d0960d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:45:54.397Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T23:45:54.397Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:45:54.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-285 does not seem to be running inside a container [2023-03-14T23:45:54.717Z] $ 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-03-14T23:45:55.826Z] $ docker top 9afbc28f145ee3de9136540b988a357a8902ce121adfcf83c18c231c8d39d259 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:45:56.371Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-14T23:45:57.092Z] + make test [2023-03-14T23:45:57.092Z] go test ./... -coverprofile=coverage.out [2023-03-14T23:46:29.346Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-14T23:48:21.000Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-14T23:48:21.000Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.123s coverage: 65.7% of statements [2023-03-14T23:48:21.000Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T23:48:21.000Z] go vet ./... [2023-03-14T23:48:47.704Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T23:48:47.975Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T23:48:47.975Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T23:48:48.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T23:48:48.310Z] $ docker stop --time=1 9afbc28f145ee3de9136540b988a357a8902ce121adfcf83c18c231c8d39d259 [2023-03-14T23:48:50.253Z] $ docker rm -f --volumes 9afbc28f145ee3de9136540b988a357a8902ce121adfcf83c18c231c8d39d259 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T23:48:51.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T23:48:51.455Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T23:48:52.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T23:48:52.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T23:48:53.242Z] + ls -al . [2023-03-14T23:48:53.242Z] total 188 [2023-03-14T23:48:53.242Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:45 . [2023-03-14T23:48:53.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:43 .. [2023-03-14T23:48:53.242Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:43 .git [2023-03-14T23:48:53.242Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:43 .github [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 23:43 .gitignore [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 23:43 .golangci.yml [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 23:43 Attribution.txt [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 23:43 CHANGELOG.md [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 23:43 Dockerfile [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 23:43 GOVERNANCE.md [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 23:43 Jenkinsfile [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 23:43 LICENSE [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 14 23:43 Makefile [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 23:43 OWNERS.md [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 23:43 README.md [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 23:41 VERSION [2023-03-14T23:48:53.242Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 23:43 bin [2023-03-14T23:48:53.242Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:43 cmd [2023-03-14T23:48:53.242Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 14 23:48 coverage.out [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 23:43 go.mod [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 23:43 go.sum [2023-03-14T23:48:53.242Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:43 internal [2023-03-14T23:48:53.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:43 snap [2023-03-14T23:48:53.242Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 23:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:48:53.650Z] + 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=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 --label arch=arm64 --label version=0.0.0 . [2023-03-14T23:48:54.617Z] Sending build context to Docker daemon 11.95MB [2023-03-14T23:48:54.617Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:48:54.617Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-14T23:48:54.617Z] ---> 632930dfa3ba [2023-03-14T23:48:54.617Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:48:54.887Z] ---> Running in 3bfc78bfbfe9 [2023-03-14T23:48:55.154Z] Removing intermediate container 3bfc78bfbfe9 [2023-03-14T23:48:55.154Z] ---> 18fdbb023001 [2023-03-14T23:48:55.154Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:48:55.154Z] ---> Running in 8280a596529d [2023-03-14T23:48:57.106Z] Removing intermediate container 8280a596529d [2023-03-14T23:48:57.106Z] ---> 8a1b18a707d1 [2023-03-14T23:48:57.106Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:48:57.106Z] ---> Running in d0d828dd6525 [2023-03-14T23:48:57.106Z] Removing intermediate container d0d828dd6525 [2023-03-14T23:48:57.106Z] ---> 5d2d820b8f65 [2023-03-14T23:48:57.106Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-14T23:48:57.374Z] ---> Running in 027ea86b8326 [2023-03-14T23:48:57.640Z] Removing intermediate container 027ea86b8326 [2023-03-14T23:48:57.640Z] ---> d2034b29fb24 [2023-03-14T23:48:57.640Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:48:57.908Z] ---> Running in d4565a31837a [2023-03-14T23:48:59.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T23:49:00.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T23:49:01.080Z] OK: 268 MiB in 57 packages [2023-03-14T23:49:03.203Z] Removing intermediate container d4565a31837a [2023-03-14T23:49:03.203Z] ---> 6226dde7bd81 [2023-03-14T23:49:03.203Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-14T23:49:05.187Z] ---> efccd80a9d86 [2023-03-14T23:49:05.187Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:49:05.187Z] ---> Running in e525a1ddc900 [2023-03-14T23:49:08.549Z] Removing intermediate container e525a1ddc900 [2023-03-14T23:49:08.549Z] ---> 5235c4e756ce [2023-03-14T23:49:08.549Z] Step 10/25 : COPY . . [2023-03-14T23:49:09.962Z] ---> 9859e9227192 [2023-03-14T23:49:09.962Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:49:09.962Z] ---> Running in 75b37a3e60cc [2023-03-14T23:49:10.231Z] Removing intermediate container 75b37a3e60cc [2023-03-14T23:49:10.231Z] ---> 6af26b884968 [2023-03-14T23:49:10.231Z] Step 12/25 : RUN $MAKE [2023-03-14T23:49:10.231Z] ---> Running in 06f0e5ebc723 [2023-03-14T23:49:11.190Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-14T23:51:17.890Z] Removing intermediate container 06f0e5ebc723 [2023-03-14T23:51:17.890Z] ---> 40d8d406ab28 [2023-03-14T23:51:17.890Z] Step 13/25 : FROM alpine:3.17 [2023-03-14T23:51:18.470Z] 3.17: Pulling from library/alpine [2023-03-14T23:51:18.470Z] af6eaf76a39c: Already exists [2023-03-14T23:51:18.738Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T23:51:18.738Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T23:51:18.738Z] ---> d74e625d9115 [2023-03-14T23:51:18.738Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-14T23:51:18.738Z] ---> Running in cce7a891f3cc [2023-03-14T23:51:19.009Z] Removing intermediate container cce7a891f3cc [2023-03-14T23:51:19.009Z] ---> 152f8b8f12a7 [2023-03-14T23:51:19.009Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-14T23:51:19.009Z] ---> Running in fdf2706a1d40 [2023-03-14T23:51:19.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T23:51:20.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T23:51:21.964Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T23:51:21.964Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:51:21.964Z] OK: 8 MiB in 16 packages [2023-03-14T23:51:22.548Z] Removing intermediate container fdf2706a1d40 [2023-03-14T23:51:22.548Z] ---> 816c331a02b0 [2023-03-14T23:51:22.548Z] Step 16/25 : WORKDIR / [2023-03-14T23:51:22.548Z] ---> Running in 435e35b0f272 [2023-03-14T23:51:23.134Z] Removing intermediate container 435e35b0f272 [2023-03-14T23:51:23.134Z] ---> a23749929af9 [2023-03-14T23:51:23.134Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-14T23:51:23.401Z] ---> d5752dd4dc48 [2023-03-14T23:51:23.401Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-14T23:51:23.985Z] ---> 536e7ac51329 [2023-03-14T23:51:23.985Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-14T23:51:25.390Z] ---> af41d2acb9d7 [2023-03-14T23:51:25.390Z] Step 20/25 : EXPOSE 59900 [2023-03-14T23:51:25.390Z] ---> Running in 3df78e2852c7 [2023-03-14T23:51:25.656Z] Removing intermediate container 3df78e2852c7 [2023-03-14T23:51:25.656Z] ---> 1f6dad6849c2 [2023-03-14T23:51:25.656Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-14T23:51:25.656Z] ---> Running in 2b0b271c0f79 [2023-03-14T23:51:25.923Z] Removing intermediate container 2b0b271c0f79 [2023-03-14T23:51:25.923Z] ---> fc5b2daf9251 [2023-03-14T23:51:25.923Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T23:51:26.190Z] ---> Running in 309c3dd4f01d [2023-03-14T23:51:26.457Z] Removing intermediate container 309c3dd4f01d [2023-03-14T23:51:26.457Z] ---> bde9e2188d64 [2023-03-14T23:51:26.457Z] Step 23/25 : LABEL arch=arm64 [2023-03-14T23:51:26.457Z] ---> Running in e6a09dedaf61 [2023-03-14T23:51:26.723Z] Removing intermediate container e6a09dedaf61 [2023-03-14T23:51:26.723Z] ---> 497143843d15 [2023-03-14T23:51:26.723Z] Step 24/25 : LABEL git_sha=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [2023-03-14T23:51:26.723Z] ---> Running in 8e0bab972650 [2023-03-14T23:51:26.989Z] Removing intermediate container 8e0bab972650 [2023-03-14T23:51:26.989Z] ---> 572cbc3f383c [2023-03-14T23:51:26.989Z] Step 25/25 : LABEL version=0.0.0 [2023-03-14T23:51:27.255Z] ---> Running in 3738166fd2e9 [2023-03-14T23:51:27.521Z] Removing intermediate container 3738166fd2e9 [2023-03-14T23:51:27.521Z] ---> 4c856f1259a3 [2023-03-14T23:51:27.521Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T23:51:27.521Z] Successfully built 4c856f1259a3 [2023-03-14T23:51:27.521Z] 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-03-14T23:51:28.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T23:51:28.306Z] [2023-03-14T23:51:28.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:51:28.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T23:51:28.696Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T23:51:28.696Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T23:51:28.696Z] 04944245beec: Pulling fs layer [2023-03-14T23:51:28.696Z] 699f458cf7ca: Pulling fs layer [2023-03-14T23:51:28.696Z] 765212b225bb: Pulling fs layer [2023-03-14T23:51:28.696Z] f23df028b6ca: Pulling fs layer [2023-03-14T23:51:28.696Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T23:51:28.696Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T23:51:28.696Z] 765212b225bb: Waiting [2023-03-14T23:51:28.696Z] f23df028b6ca: Waiting [2023-03-14T23:51:28.696Z] d65c8cfc05b1: Waiting [2023-03-14T23:51:28.967Z] 04944245beec: Verifying Checksum [2023-03-14T23:51:28.967Z] 04944245beec: Download complete [2023-03-14T23:51:28.967Z] 765212b225bb: Verifying Checksum [2023-03-14T23:51:28.967Z] 765212b225bb: Download complete [2023-03-14T23:51:28.967Z] f23df028b6ca: Download complete [2023-03-14T23:51:28.967Z] d65c8cfc05b1: Download complete [2023-03-14T23:51:28.967Z] 699f458cf7ca: Verifying Checksum [2023-03-14T23:51:28.967Z] 699f458cf7ca: Download complete [2023-03-14T23:51:29.553Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T23:51:29.553Z] 8998bd30e6a1: Download complete [2023-03-14T23:51:32.137Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T23:51:32.137Z] 2437ff75d9bd: Download complete [2023-03-14T23:51:33.544Z] 8998bd30e6a1: Pull complete [2023-03-14T23:51:33.811Z] 04944245beec: Pull complete [2023-03-14T23:51:35.220Z] 699f458cf7ca: Pull complete [2023-03-14T23:51:35.220Z] 765212b225bb: Pull complete [2023-03-14T23:51:36.181Z] f23df028b6ca: Pull complete [2023-03-14T23:51:36.181Z] d65c8cfc05b1: Pull complete [2023-03-14T23:51:51.168Z] 2437ff75d9bd: Pull complete [2023-03-14T23:51:51.168Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T23:51:51.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T23:51:51.168Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:51:51.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-285 does not seem to be running inside a container [2023-03-14T23:51:51.521Z] $ 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-03-14T23:51:54.153Z] $ docker top 97b49ff9e9696f1b09e402c7669fa93d6257d9b007317de476f3467da4fca775 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:51:55.067Z] ---> job-cost.sh [2023-03-14T23:51:55.067Z] lf-activate-venv: SKIPPING [2023-03-14T23:51:55.067Z] INFO: No Stack... [2023-03-14T23:51:55.653Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T23:51:56.734Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T23:51:57.415Z] + cut -d, -f6 [2023-03-14T23:51:57.415Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2023-03-14T23:51:57.469Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] [2023-03-14T23:51:57.474Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] did not exist. Created. [2023-03-14T23:51:57.474Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T23:51:58.207Z] /w/workspace/device-virtual-go/1@tmp/durable-07339b92/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T23:51:58.553Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T23:51:58.586Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T23:51:58.629Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T23:51:58.643Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T23:51:58.713Z] $ docker stop --time=1 97b49ff9e9696f1b09e402c7669fa93d6257d9b007317de476f3467da4fca775 [2023-03-14T23:52:00.221Z] $ docker rm -f --volumes 97b49ff9e9696f1b09e402c7669fa93d6257d9b007317de476f3467da4fca775 [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-03-14T23:52:01.704Z] provisioning config files... [2023-03-14T23:52:01.710Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config4862675809221731094tmp [Pipeline] { [Pipeline] sh [2023-03-14T23:52:02.037Z] + set +x [2023-03-14T23:52:02.037Z] + bash -s -- [2023-03-14T23:52:02.037Z] + curl -s https://codecov.io/bash [2023-03-14T23:52:02.037Z] [2023-03-14T23:52:02.037Z] _____ _ [2023-03-14T23:52:02.037Z] / ____| | | [2023-03-14T23:52:02.037Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T23:52:02.037Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T23:52:02.037Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T23:52:02.037Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T23:52:02.037Z] Bash-1.0.6 [2023-03-14T23:52:02.037Z] [2023-03-14T23:52:02.037Z] [2023-03-14T23:52:02.037Z] ==> git version 2.25.1 found [2023-03-14T23:52:02.037Z] ==> 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-03-14T23:52:02.037Z] Release-Date: 2020-01-08 [2023-03-14T23:52:02.037Z] 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-03-14T23:52:02.037Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T23:52:02.037Z] ==> Jenkins CI detected. [2023-03-14T23:52:02.037Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-357 [2023-03-14T23:52:02.037Z] project root: . [2023-03-14T23:52:02.037Z] --> token set from env [2023-03-14T23:52:02.037Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T23:52:02.037Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T23:52:02.037Z] ==> Python coveragepy not found [2023-03-14T23:52:02.037Z] ==> Searching for coverage reports in: [2023-03-14T23:52:02.037Z] + . [2023-03-14T23:52:02.037Z] -> Found 1 reports [2023-03-14T23:52:02.037Z] ==> Detecting git/mercurial file structure [2023-03-14T23:52:02.037Z] ==> Reading reports [2023-03-14T23:52:02.297Z] + ./coverage.out bytes=44311 [2023-03-14T23:52:02.297Z] ==> Appending adjustments [2023-03-14T23:52:02.297Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T23:52:02.297Z] + Found adjustments [2023-03-14T23:52:02.297Z] ==> Gzipping contents [2023-03-14T23:52:02.297Z] 8.0K /tmp/codecov.ULwk3O.gz [2023-03-14T23:52:02.297Z] ==> Uploading reports [2023-03-14T23:52:02.297Z] url: https://codecov.io [2023-03-14T23:52:02.297Z] query: branch=PR-357&commit=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=357&job=&cmd_args= [2023-03-14T23:52:02.297Z] -> Pinging Codecov [2023-03-14T23:52:02.297Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-357&commit=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=357&job=&cmd_args= [2023-03-14T23:52:02.557Z] -> Uploading to [2023-03-14T23:52:02.557Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/5E52B4B073DB2E39498172D8E973AA87/9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33/0d97c6c1-6602-4399-b199-5d09ac2d4182.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T235202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a16978cf22f855aadb4f564bae0544fbfba3f5df0ded94ec5be92a39d974ac55 [2023-03-14T23:52:02.557Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T23:52:02.557Z] Dload Upload Total Spent Left Speed [2023-03-14T23:52:02.817Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5424 0 0 100 5424 0 20390 --:--:-- --:--:-- --:--:-- 20390 [2023-03-14T23:52:02.817Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [Pipeline] } [2023-03-14T23:52:02.845Z] 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-03-14T23:52:04.577Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-357/archives ] [2023-03-14T23:52:04.577Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-357/archives [2023-03-14T23:52:04.577Z] total 16 [2023-03-14T23:52:04.577Z] drwxr-xr-x 3 root root 4096 Mar 14 23:44 . [2023-03-14T23:52:04.577Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 23:44 .. [2023-03-14T23:52:04.577Z] drwxr-xr-x 2 root root 4096 Mar 14 23:44 cost [2023-03-14T23:52:04.577Z] -rw-r--r-- 1 root root 89 Mar 14 23:44 cost.csv [2023-03-14T23:52:04.577Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-357/archives [2023-03-14T23:52:04.577Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-357/archives [2023-03-14T23:52:04.577Z] total 16 [2023-03-14T23:52:04.577Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 23:44 . [2023-03-14T23:52:04.577Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 23:44 .. [2023-03-14T23:52:04.577Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 23:44 cost [2023-03-14T23:52:04.577Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 14 23:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:52:04.912Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:52:05.799Z] ---> package-listing.sh [2023-03-14T23:52:05.799Z] ++ facter osfamily [2023-03-14T23:52:05.799Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T23:52:06.059Z] + OS_FAMILY=debian [2023-03-14T23:52:06.059Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-357 [2023-03-14T23:52:06.059Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T23:52:06.059Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T23:52:06.059Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T23:52:06.059Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T23:52:06.059Z] + '[' /w/workspace/foundry_device-virtual-go_PR-357 ']' [2023-03-14T23:52:06.059Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T23:52:06.059Z] + case "${OS_FAMILY}" in [2023-03-14T23:52:06.059Z] + dpkg -l [2023-03-14T23:52:06.059Z] + grep '^ii' [2023-03-14T23:52:06.059Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T23:52:06.059Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T23:52:06.059Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T23:52:06.059Z] + '[' /w/workspace/foundry_device-virtual-go_PR-357 ']' [2023-03-14T23:52:06.059Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-357/archives/ [2023-03-14T23:52:06.059Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-357/archives/ [Pipeline] echo [2023-03-14T23:52:06.090Z] 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T23:52:06.384Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:52:07.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:52:07.007Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:52:07.156Z] prd-ubuntu20.04-docker-8c-8g-284 does not seem to be running inside a container [2023-03-14T23:52:07.191Z] $ 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-357/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-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T23:52:07.392Z] $ docker top ed0d9acea69913e85e5eaf16b26625f829ea4507712b8da870e18964dd32e5e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:52:07.780Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T23:52:08.086Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T23:52:08.399Z] + ls /var/log/sa-host [2023-03-14T23:52:08.399Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T23:52:08.601Z] provisioning config files... [2023-03-14T23:52:08.609Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config6543045757234837357tmp [Pipeline] { [Pipeline] echo [2023-03-14T23:52:08.657Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:52:08.969Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T23:52:08.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:52:09.393Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T23:52:09.423Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:52:09.734Z] ---> sudo-logs.sh [2023-03-14T23:52:09.734Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T23:52:09.810Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:52:10.116Z] ---> job-cost.sh [2023-03-14T23:52:10.116Z] lf-activate-venv: SKIPPING [2023-03-14T23:52:10.116Z] DEBUG: total: 0.2199999988079071 [2023-03-14T23:52:10.116Z] INFO: Retrieving Stack Cost... [2023-03-14T23:52:10.375Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T23:52:10.942Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T23:52:10.974Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:52:11.281Z] ---> logs-deploy.sh [2023-03-14T23:52:11.281Z] lf-activate-venv: SKIPPING [2023-03-14T23:52:11.281Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-357/1 [2023-03-14T23:52:11.281Z] INFO: archiving workspace using pattern(s): [2023-03-14T23:52:12.218Z] Archives upload complete. [2023-03-14T23:52:12.478Z] INFO: archiving logs to Nexus