Pull request #355 updated 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 farshidtz for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 2792140bb3070a79365b077863fdf6b5434988de+0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 (383dd03fe8d1797cc83615d87d0c1f80f428a0e8) 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-ssh6507343883933680254.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5591828497950914977.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-355/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-355/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11334580435184937948.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh5380631701046301208.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-355/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-355/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8880690333241601388.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9920 in /w/workspace/foundry_device-virtual-go_PR-355 [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-355 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 into PR head commit 2792140bb3070a79365b077863fdf6b5434988de Merge succeeded, producing 2792140bb3070a79365b077863fdf6b5434988de Checking out Revision 2792140bb3070a79365b077863fdf6b5434988de (PR-355) > git config core.sparsecheckout # timeout=10 > git checkout -f 2792140bb3070a79365b077863fdf6b5434988de # 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 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2792140bb3070a79365b077863fdf6b5434988de # timeout=10 Commit message: "refactor(snap): Remove external metadata sourcing" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T17:21:37.292Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T17:21:37.351Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T17:21:37.371Z] ========================================================= [2023-03-13T17:21:37.372Z] EdgeX Global Pipelines Version Info [2023-03-13T17:21:37.372Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:21:38.071Z] ------------------- [2023-03-13T17:21:38.071Z] stable info: [2023-03-13T17:21:38.071Z] ------------------- [2023-03-13T17:21:38.071Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T17:21:38.071Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T17:21:38.071Z] Message: update stable to v1.0.244 [2023-03-13T17:21:38.640Z] ------------------- [2023-03-13T17:21:38.640Z] experimental info: [2023-03-13T17:21:38.640Z] ------------------- [2023-03-13T17:21:38.640Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T17:21:38.640Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T17:21:38.640Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T17:21:38.802Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-13T17:21:38.812Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-13T17:21:38.822Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T17:21:38.840Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T17:21:38.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T17:21:38.865Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T17:21:38.880Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T17:21:38.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T17:21:38.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T17:21:38.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T17:21:38.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T17:21:38.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-13T17:21:38.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T17:21:38.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T17:21:38.983Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T17:21:38.996Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T17:21:39.009Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T17:21:39.017Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T17:21:39.026Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T17:21:39.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T17:21:39.047Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T17:21:39.060Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T17:21:39.076Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T17:21:39.086Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T17:21:39.098Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T17:21:39.110Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T17:21:39.124Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T17:21:39.142Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo [2023-03-13T17:21:39.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo [2023-03-13T17:21:39.172Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo [2023-03-13T17:21:39.184Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2792140bb3070a79365b077863fdf6b5434988de [Pipeline] echo [2023-03-13T17:21:39.195Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2792140 [Pipeline] echo [2023-03-13T17:21:39.207Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T17:21:39.253Z] provisioning config files... [2023-03-13T17:21:39.266Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-355@tmp/config5215833264265076774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:21:39.566Z] ---> docker-login.sh [2023-03-13T17:21:39.566Z] nexus3.edgexfoundry.org:10001 [2023-03-13T17:21:39.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:21:39.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:21:39.825Z] Configure a credential helper to remove this warning. See [2023-03-13T17:21:39.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:21:39.825Z] [2023-03-13T17:21:39.825Z] Login Succeeded [2023-03-13T17:21:39.825Z] nexus3.edgexfoundry.org:10002 [2023-03-13T17:21:39.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:21:39.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:21:39.825Z] Configure a credential helper to remove this warning. See [2023-03-13T17:21:39.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:21:39.825Z] [2023-03-13T17:21:39.825Z] Login Succeeded [2023-03-13T17:21:39.825Z] nexus3.edgexfoundry.org:10003 [2023-03-13T17:21:40.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:21:40.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:21:40.086Z] Configure a credential helper to remove this warning. See [2023-03-13T17:21:40.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:21:40.086Z] [2023-03-13T17:21:40.086Z] Login Succeeded [2023-03-13T17:21:40.086Z] nexus3.edgexfoundry.org:10004 [2023-03-13T17:21:40.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:21:40.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:21:40.086Z] Configure a credential helper to remove this warning. See [2023-03-13T17:21:40.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:21:40.086Z] [2023-03-13T17:21:40.086Z] Login Succeeded [2023-03-13T17:21:40.086Z] docker.io [2023-03-13T17:21:40.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:21:40.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:21:40.348Z] Configure a credential helper to remove this warning. See [2023-03-13T17:21:40.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:21:40.348Z] [2023-03-13T17:21:40.348Z] Login Succeeded [2023-03-13T17:21:40.348Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T17:21:40.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T17:21:40.731Z] + git rev-list -1 --merges 2792140bb3070a79365b077863fdf6b5434988de~1..2792140bb3070a79365b077863fdf6b5434988de [Pipeline] echo [2023-03-13T17:21:40.781Z] -----------> git rev-list -1 --merges 2792140bb3070a79365b077863fdf6b5434988de~1..2792140bb3070a79365b077863fdf6b5434988de 2792140bb3070a79365b077863fdf6b5434988de [false] [Pipeline] sh [2023-03-13T17:21:41.067Z] + git log --format=format:%s -1 2792140bb3070a79365b077863fdf6b5434988de [Pipeline] echo [2023-03-13T17:21:41.082Z] ========================================================= [2023-03-13T17:21:41.082Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T17:21:41.082Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T17:21:41.408Z] + git log --format=format:%s -1 2792140bb3070a79365b077863fdf6b5434988de [Pipeline] echo [2023-03-13T17:21:41.419Z] [semverPrep] GIT_COMMIT: 2792140bb3070a79365b077863fdf6b5434988de, Commit Message: refactor(snap): Remove external metadata sourcing [Pipeline] echo [2023-03-13T17:21:41.427Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T17:21:41.796Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T17:21:41.796Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T17:21:41.796Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T17:21:41.796Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T17:21:41.796Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T17:21:41.796Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T17:21:41.796Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:21:42.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T17:21:42.215Z] [2023-03-13T17:21:42.215Z] 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-13T17:21:42.515Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T17:21:42.515Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T17:21:42.515Z] b85a868b505f: Pulling fs layer [2023-03-13T17:21:42.515Z] e2be974225ed: Pulling fs layer [2023-03-13T17:21:42.515Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T17:21:42.515Z] 988bab9f4d93: Pulling fs layer [2023-03-13T17:21:42.515Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T17:21:42.515Z] eaf3925da568: Pulling fs layer [2023-03-13T17:21:42.515Z] bab4dde63d76: Pulling fs layer [2023-03-13T17:21:42.515Z] 988bab9f4d93: Waiting [2023-03-13T17:21:42.515Z] eaf3925da568: Waiting [2023-03-13T17:21:42.515Z] bab4dde63d76: Waiting [2023-03-13T17:21:42.515Z] bde34c3a00c8: Pulling fs layer [2023-03-13T17:21:42.515Z] 1469e6f7b9e6: Waiting [2023-03-13T17:21:42.515Z] b352a97aabf1: Pulling fs layer [2023-03-13T17:21:42.515Z] bde34c3a00c8: Waiting [2023-03-13T17:21:42.515Z] b352a97aabf1: Waiting [2023-03-13T17:21:42.515Z] 4872d77fe225: Pulling fs layer [2023-03-13T17:21:42.515Z] 5851b861e8e6: Pulling fs layer [2023-03-13T17:21:42.515Z] 4872d77fe225: Waiting [2023-03-13T17:21:42.515Z] e2be974225ed: Verifying Checksum [2023-03-13T17:21:42.515Z] e2be974225ed: Download complete [2023-03-13T17:21:42.515Z] 988bab9f4d93: Download complete [2023-03-13T17:21:42.776Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T17:21:42.777Z] 1469e6f7b9e6: Download complete [2023-03-13T17:21:42.777Z] eaf3925da568: Verifying Checksum [2023-03-13T17:21:42.777Z] eaf3925da568: Download complete [2023-03-13T17:21:42.777Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T17:21:42.777Z] 339a4e72a1f5: Download complete [2023-03-13T17:21:42.777Z] bde34c3a00c8: Download complete [2023-03-13T17:21:42.777Z] b352a97aabf1: Download complete [2023-03-13T17:21:42.777Z] 4872d77fe225: Verifying Checksum [2023-03-13T17:21:42.777Z] 4872d77fe225: Download complete [2023-03-13T17:21:42.777Z] 5851b861e8e6: Verifying Checksum [2023-03-13T17:21:42.777Z] 5851b861e8e6: Download complete [2023-03-13T17:21:43.034Z] b85a868b505f: Verifying Checksum [2023-03-13T17:21:43.034Z] b85a868b505f: Download complete [2023-03-13T17:21:43.293Z] bab4dde63d76: Verifying Checksum [2023-03-13T17:21:43.293Z] bab4dde63d76: Download complete [2023-03-13T17:21:43.860Z] b85a868b505f: Pull complete [2023-03-13T17:21:44.119Z] e2be974225ed: Pull complete [2023-03-13T17:21:44.688Z] 339a4e72a1f5: Pull complete [2023-03-13T17:21:44.688Z] 988bab9f4d93: Pull complete [2023-03-13T17:21:44.946Z] 1469e6f7b9e6: Pull complete [2023-03-13T17:21:44.946Z] eaf3925da568: Pull complete [2023-03-13T17:21:46.324Z] bab4dde63d76: Pull complete [2023-03-13T17:21:46.582Z] bde34c3a00c8: Pull complete [2023-03-13T17:21:46.582Z] b352a97aabf1: Pull complete [2023-03-13T17:21:46.582Z] 4872d77fe225: Pull complete [2023-03-13T17:21:46.841Z] 5851b861e8e6: Pull complete [2023-03-13T17:21:46.841Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T17:21:46.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T17:21:46.841Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:21:46.923Z] prd-ubuntu20.04-docker-8c-8g-9920 does not seem to be running inside a container [2023-03-13T17:21:46.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-355 -v /w/workspace/foundry_device-virtual-go_PR-355:/w/workspace/foundry_device-virtual-go_PR-355:rw,z -v /w/workspace/foundry_device-virtual-go_PR-355@tmp:/w/workspace/foundry_device-virtual-go_PR-355@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-devops/py-git-semver:0.1.4 cat [2023-03-13T17:21:50.441Z] $ docker top 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b -eo pid,comm [2023-03-13T17:21:50.490Z] 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-13T17:21:50.490Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T17:21:50.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T17:21:50.521Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T17:21:50.641Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T17:21:50.645Z] $ docker exec 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b ssh-agent [2023-03-13T17:21:50.750Z] SSH_AUTH_SOCK=/tmp/ssh-PZClRvbZDzqq/agent.32 [2023-03-13T17:21:50.750Z] SSH_AGENT_PID=38 [2023-03-13T17:21:50.757Z] Running ssh-add (command line suppressed) [2023-03-13T17:21:50.854Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-355@tmp/private_key_2553764355462758470.key (/w/workspace/foundry_device-virtual-go_PR-355@tmp/private_key_2553764355462758470.key) [2023-03-13T17:21:50.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T17:21:51.148Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T17:21:51.159Z] $ docker exec --env ******** --env ******** 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b ssh-agent -k [2023-03-13T17:21:51.260Z] unset SSH_AUTH_SOCK; [2023-03-13T17:21:51.260Z] unset SSH_AGENT_PID; [2023-03-13T17:21:51.260Z] echo Agent pid 38 killed; [2023-03-13T17:21:51.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T17:21:51.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T17:21:51.290Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T17:21:51.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T17:21:51.405Z] $ docker exec 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b ssh-agent [2023-03-13T17:21:51.514Z] SSH_AUTH_SOCK=/tmp/ssh-i0xUQQBpGUjq/agent.70 [2023-03-13T17:21:51.514Z] SSH_AGENT_PID=76 [2023-03-13T17:21:51.518Z] Running ssh-add (command line suppressed) [2023-03-13T17:21:51.622Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-355@tmp/private_key_9592099185841136714.key (/w/workspace/foundry_device-virtual-go_PR-355@tmp/private_key_9592099185841136714.key) [2023-03-13T17:21:51.634Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T17:21:51.919Z] + git semver init [2023-03-13T17:21:52.176Z] 2023-03-13 17:21:52,099 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T17:21:52.177Z] 2023-03-13 17:21:52,099 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-355/.semver [2023-03-13T17:21:52.177Z] 2023-03-13 17:21:52,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-355/.semver [2023-03-13T17:21:52.177Z] 2023-03-13 17:21:52,100 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-355/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-355, universal_newlines=False, shell=None, istream=None) [2023-03-13T17:21:53.554Z] 2023-03-13 17:21:53,235 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-355/.git/info/exclude [2023-03-13T17:21:53.554Z] 2023-03-13 17:21:53,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-355/.semver/PR-355 with force:False [2023-03-13T17:21:53.554Z] 2023-03-13 17:21:53,236 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-355/.semver/PR-355 [2023-03-13T17:21:53.554Z] 2023-03-13 17:21:53,241 [execute] INFO git cat-file --batch-check [2023-03-13T17:21:53.554Z] 2023-03-13 17:21:53,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-355/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T17:21:53.554Z] 2023-03-13 17:21:53,246 [execute] INFO git cat-file --batch [2023-03-13T17:21:53.554Z] 2023-03-13 17:21:53,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-355/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T17:21:53.554Z] 2023-03-13 17:21:53,251 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-355/.semver/PR-355 [2023-03-13T17:21:53.554Z] 0.0.0 [Pipeline] } [2023-03-13T17:21:53.564Z] $ docker exec --env ******** --env ******** 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b ssh-agent -k [2023-03-13T17:21:53.661Z] unset SSH_AUTH_SOCK; [2023-03-13T17:21:53.661Z] unset SSH_AGENT_PID; [2023-03-13T17:21:53.661Z] echo Agent pid 76 killed; [2023-03-13T17:21:53.670Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T17:21:53.975Z] + git semver [Pipeline] } [2023-03-13T17:21:54.251Z] $ docker stop --time=1 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b [2023-03-13T17:21:55.567Z] $ docker rm -f --volumes 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T17:21:55.896Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T17:21:56.102Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T17:21:56.105Z] [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-13T17:21:56.237Z] provisioning config files... [2023-03-13T17:21:56.245Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-355@tmp/config13731584670509715169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:21:56.537Z] ---> docker-login.sh [2023-03-13T17:21:56.537Z] nexus3.edgexfoundry.org:10001 [2023-03-13T17:21:56.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:21:56.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:21:56.537Z] Configure a credential helper to remove this warning. See [2023-03-13T17:21:56.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:21:56.537Z] [2023-03-13T17:21:56.537Z] Login Succeeded [2023-03-13T17:21:56.537Z] nexus3.edgexfoundry.org:10002 [2023-03-13T17:21:56.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:21:56.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:21:56.537Z] Configure a credential helper to remove this warning. See [2023-03-13T17:21:56.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:21:56.537Z] [2023-03-13T17:21:56.537Z] Login Succeeded [2023-03-13T17:21:56.537Z] nexus3.edgexfoundry.org:10003 [2023-03-13T17:21:56.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:21:56.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:21:56.796Z] Configure a credential helper to remove this warning. See [2023-03-13T17:21:56.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:21:56.796Z] [2023-03-13T17:21:56.796Z] Login Succeeded [2023-03-13T17:21:56.796Z] nexus3.edgexfoundry.org:10004 [2023-03-13T17:21:56.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:21:56.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:21:56.796Z] Configure a credential helper to remove this warning. See [2023-03-13T17:21:56.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:21:56.796Z] [2023-03-13T17:21:56.796Z] Login Succeeded [2023-03-13T17:21:56.796Z] docker.io [2023-03-13T17:21:56.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:21:57.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:21:57.055Z] Configure a credential helper to remove this warning. See [2023-03-13T17:21:57.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:21:57.055Z] [2023-03-13T17:21:57.055Z] Login Succeeded [2023-03-13T17:21:57.055Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T17:21:57.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T17:21:57.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T17:21:57.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T17:21:57.147Z] ========================================================= [2023-03-13T17:21:57.147Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T17:21:57.147Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:21:57.457Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T17:21:57.457Z] Sending build context to Docker daemon 23.44MB [2023-03-13T17:21:57.457Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T17:21:57.457Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T17:21:57.722Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T17:21:57.722Z] 213ec9aee27d: Pulling fs layer [2023-03-13T17:21:57.722Z] 4583459ba037: Pulling fs layer [2023-03-13T17:21:57.722Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T17:21:57.722Z] 53926ce57604: Pulling fs layer [2023-03-13T17:21:57.722Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T17:21:57.722Z] 22ff95d597cd: Pulling fs layer [2023-03-13T17:21:57.722Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T17:21:57.722Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T17:21:57.722Z] a7acece74701: Pulling fs layer [2023-03-13T17:21:57.722Z] 22ff95d597cd: Waiting [2023-03-13T17:21:57.722Z] 96b7cbca73a9: Waiting [2023-03-13T17:21:57.722Z] 12d6caf4c0d1: Waiting [2023-03-13T17:21:57.722Z] a7acece74701: Waiting [2023-03-13T17:21:57.722Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T17:21:57.722Z] 93c1e223e6f2: Download complete [2023-03-13T17:21:57.722Z] 4583459ba037: Download complete [2023-03-13T17:21:57.722Z] 21b2b0c7a3f4: Download complete [2023-03-13T17:21:57.722Z] 22ff95d597cd: Verifying Checksum [2023-03-13T17:21:57.722Z] 22ff95d597cd: Download complete [2023-03-13T17:21:57.722Z] 213ec9aee27d: Verifying Checksum [2023-03-13T17:21:57.722Z] 213ec9aee27d: Download complete [2023-03-13T17:21:57.987Z] 12d6caf4c0d1: Download complete [2023-03-13T17:21:57.987Z] 213ec9aee27d: Pull complete [2023-03-13T17:21:58.266Z] 4583459ba037: Pull complete [2023-03-13T17:21:58.266Z] 93c1e223e6f2: Pull complete [2023-03-13T17:21:58.858Z] a7acece74701: Verifying Checksum [2023-03-13T17:21:58.858Z] a7acece74701: Download complete [2023-03-13T17:21:59.117Z] 53926ce57604: Verifying Checksum [2023-03-13T17:21:59.117Z] 53926ce57604: Download complete [2023-03-13T17:21:59.117Z] 96b7cbca73a9: Download complete [2023-03-13T17:22:03.305Z] 53926ce57604: Pull complete [2023-03-13T17:22:03.305Z] 21b2b0c7a3f4: Pull complete [2023-03-13T17:22:03.305Z] 22ff95d597cd: Pull complete [2023-03-13T17:22:03.305Z] 12d6caf4c0d1: Pull complete [2023-03-13T17:22:04.680Z] 96b7cbca73a9: Pull complete [2023-03-13T17:22:05.616Z] a7acece74701: Pull complete [2023-03-13T17:22:05.616Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T17:22:05.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T17:22:05.616Z] ---> db6d94c90886 [2023-03-13T17:22:05.616Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T17:22:10.904Z] ---> Running in 3c08461e401d [2023-03-13T17:22:10.904Z] Removing intermediate container 3c08461e401d [2023-03-13T17:22:10.904Z] ---> 7119694cf290 [2023-03-13T17:22:10.904Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T17:22:10.904Z] ---> Running in 621a18844c6f [2023-03-13T17:22:10.904Z] Removing intermediate container 621a18844c6f [2023-03-13T17:22:10.904Z] ---> e95523513784 [2023-03-13T17:22:10.904Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T17:22:10.904Z] ---> Running in 1c5b513940f6 [2023-03-13T17:22:10.904Z] Removing intermediate container 1c5b513940f6 [2023-03-13T17:22:10.904Z] ---> 39a7344c4b20 [2023-03-13T17:22:10.904Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-13T17:22:10.904Z] ---> Running in f01676a5cc47 [2023-03-13T17:22:10.904Z] Removing intermediate container f01676a5cc47 [2023-03-13T17:22:10.904Z] ---> cea54a71364e [2023-03-13T17:22:10.904Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T17:22:11.163Z] ---> Running in 28d2f12ffc64 [2023-03-13T17:22:11.205Z] Still waiting to schedule task [2023-03-13T17:22:11.206Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-13T17:22:11.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T17:22:11.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T17:22:11.680Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T17:22:11.680Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T17:22:11.680Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T17:22:11.680Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T17:22:11.680Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T17:22:11.680Z] OK: 216 MiB in 55 packages [2023-03-13T17:22:12.250Z] Removing intermediate container 28d2f12ffc64 [2023-03-13T17:22:12.250Z] ---> 0893aa19662c [2023-03-13T17:22:12.251Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-13T17:22:12.251Z] ---> ace090c9f2f8 [2023-03-13T17:22:12.251Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T17:22:12.510Z] ---> Running in 7018f50efc5c [2023-03-13T17:22:44.806Z] Removing intermediate container 7018f50efc5c [2023-03-13T17:22:44.806Z] ---> cdccdd2b1c83 [2023-03-13T17:22:44.806Z] Step 10/12 : COPY . . [2023-03-13T17:22:44.806Z] ---> a0b6dd6a72d8 [2023-03-13T17:22:44.806Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T17:22:44.806Z] ---> Running in 456892de997d [2023-03-13T17:22:44.806Z] Removing intermediate container 456892de997d [2023-03-13T17:22:44.806Z] ---> e48aecaf64c0 [2023-03-13T17:22:44.806Z] Step 12/12 : RUN $MAKE [2023-03-13T17:22:44.806Z] ---> Running in 22a131921731 [2023-03-13T17:22:44.806Z] noop [2023-03-13T17:22:44.806Z] Removing intermediate container 22a131921731 [2023-03-13T17:22:44.806Z] ---> 9e8fb3523ebe [2023-03-13T17:22:44.806Z] Successfully built 9e8fb3523ebe [2023-03-13T17:22:44.806Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:22:45.121Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T17:22:45.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:22:45.195Z] prd-ubuntu20.04-docker-8c-8g-9920 does not seem to be running inside a container [2023-03-13T17:22:45.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-355 -v /w/workspace/foundry_device-virtual-go_PR-355:/w/workspace/foundry_device-virtual-go_PR-355:rw,z -v /w/workspace/foundry_device-virtual-go_PR-355@tmp:/w/workspace/foundry_device-virtual-go_PR-355@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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T17:22:45.570Z] $ docker top bf02a5de91dc041d439b54debb2f3f9d3e74eb4d47fab553657216f04c55f3c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:22:45.919Z] + go version [2023-03-13T17:22:45.919Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T17:22:45.934Z] $ docker stop --time=1 bf02a5de91dc041d439b54debb2f3f9d3e74eb4d47fab553657216f04c55f3c6 [2023-03-13T17:22:47.207Z] $ docker rm -f --volumes bf02a5de91dc041d439b54debb2f3f9d3e74eb4d47fab553657216f04c55f3c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:22:47.622Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T17:22:47.622Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:22:47.698Z] prd-ubuntu20.04-docker-8c-8g-9920 does not seem to be running inside a container [2023-03-13T17:22:47.730Z] $ 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-355 -v /w/workspace/foundry_device-virtual-go_PR-355:/w/workspace/foundry_device-virtual-go_PR-355:rw,z -v /w/workspace/foundry_device-virtual-go_PR-355@tmp:/w/workspace/foundry_device-virtual-go_PR-355@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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T17:22:48.056Z] $ docker top 617c2132d26bef93f98ebddcaf9aa8e6957c79d9dc122225243a71db63179c12 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:22:48.398Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-355 [Pipeline] fileExists [Pipeline] sh [2023-03-13T17:22:48.700Z] + make test [2023-03-13T17:22:48.700Z] go test ./... -coverprofile=coverage.out [2023-03-13T17:22:49.266Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-13T17:22:59.264Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-13T17:22:59.264Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.033s coverage: 65.7% of statements [2023-03-13T17:23:05.826Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-13T17:23:05.826Z] go vet ./... [2023-03-13T17:23:09.110Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T17:23:09.110Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T17:23:09.110Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T17:23:09.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T17:23:09.148Z] $ docker stop --time=1 617c2132d26bef93f98ebddcaf9aa8e6957c79d9dc122225243a71db63179c12 [2023-03-13T17:23:12.225Z] $ docker rm -f --volumes 617c2132d26bef93f98ebddcaf9aa8e6957c79d9dc122225243a71db63179c12 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T17:23:12.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T17:23:12.752Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-13T17:23:13.162Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T17:23:13.450Z] + ls -al . [2023-03-13T17:23:13.450Z] total 192 [2023-03-13T17:23:13.450Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 17:22 . [2023-03-13T17:23:13.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:21 .. [2023-03-13T17:23:13.450Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:22 .git [2023-03-13T17:23:13.450Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:21 .github [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 13 17:21 .gitignore [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 17:21 .golangci.yml [2023-03-13T17:23:13.450Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 17:21 .semver [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 13 17:21 Attribution.txt [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 13 17:21 CHANGELOG.md [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 13 17:21 Dockerfile [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 17:21 GOVERNANCE.md [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 13 17:21 Jenkinsfile [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 17:21 LICENSE [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 1661 Mar 13 17:21 Makefile [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 13 17:21 OWNERS.md [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 13 17:21 README.md [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 17:21 VERSION [2023-03-13T17:23:13.450Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 17:21 bin [2023-03-13T17:23:13.450Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:21 cmd [2023-03-13T17:23:13.450Z] -rw-r--r-- 1 jenkins jenkins 44127 Mar 13 17:22 coverage.out [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 13 17:21 go.mod [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 13 17:21 go.sum [2023-03-13T17:23:13.450Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:21 internal [2023-03-13T17:23:13.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:21 snap [2023-03-13T17:23:13.450Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 13 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:23:14.088Z] + 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=2792140bb3070a79365b077863fdf6b5434988de --label arch=amd64 --label version=0.0.0 . [2023-03-13T17:23:14.088Z] Sending build context to Docker daemon 23.48MB [2023-03-13T17:23:14.088Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T17:23:14.088Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-13T17:23:14.088Z] ---> 9e8fb3523ebe [2023-03-13T17:23:14.088Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T17:23:14.347Z] ---> Running in f055af7d5b8b [2023-03-13T17:23:14.347Z] Removing intermediate container f055af7d5b8b [2023-03-13T17:23:14.347Z] ---> 6e7f7bb3b4bb [2023-03-13T17:23:14.347Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T17:23:14.347Z] ---> Running in a9ecaf796256 [2023-03-13T17:23:14.347Z] Removing intermediate container a9ecaf796256 [2023-03-13T17:23:14.347Z] ---> aea3cedb4476 [2023-03-13T17:23:14.347Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-13T17:23:14.347Z] ---> Running in 6bcf43ee2bf5 [2023-03-13T17:23:14.606Z] Removing intermediate container 6bcf43ee2bf5 [2023-03-13T17:23:14.606Z] ---> f448d6ab2513 [2023-03-13T17:23:14.606Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-13T17:23:14.606Z] ---> Running in 4e2295166580 [2023-03-13T17:23:14.606Z] Removing intermediate container 4e2295166580 [2023-03-13T17:23:14.606Z] ---> c5ad59aa4b33 [2023-03-13T17:23:14.606Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T17:23:14.606Z] ---> Running in ac6042d1097c [2023-03-13T17:23:14.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T17:23:15.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T17:23:15.387Z] OK: 216 MiB in 55 packages [2023-03-13T17:23:15.645Z] Removing intermediate container ac6042d1097c [2023-03-13T17:23:15.645Z] ---> b8434016d058 [2023-03-13T17:23:15.645Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-13T17:23:15.904Z] ---> 3d41c65b8c88 [2023-03-13T17:23:15.904Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T17:23:15.904Z] ---> Running in 988cfae9f921 [2023-03-13T17:23:16.841Z] Removing intermediate container 988cfae9f921 [2023-03-13T17:23:16.841Z] ---> b90e0c1cf94e [2023-03-13T17:23:16.841Z] Step 10/25 : COPY . . [2023-03-13T17:23:17.407Z] ---> 76444fe111f4 [2023-03-13T17:23:17.407Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T17:23:17.407Z] ---> Running in 609a8ba1ce41 [2023-03-13T17:23:17.407Z] Removing intermediate container 609a8ba1ce41 [2023-03-13T17:23:17.407Z] ---> a9226cdd2615 [2023-03-13T17:23:17.407Z] Step 12/25 : RUN $MAKE [2023-03-13T17:23:17.407Z] ---> Running in 0c9ee238107d [2023-03-13T17:23:17.666Z] 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-13T17:23:39.589Z] Removing intermediate container 0c9ee238107d [2023-03-13T17:23:39.589Z] ---> 4e677a669882 [2023-03-13T17:23:39.589Z] Step 13/25 : FROM alpine:3.16 [2023-03-13T17:23:39.589Z] 3.16: Pulling from library/alpine [2023-03-13T17:23:39.589Z] ef5531b6e74e: Pulling fs layer [2023-03-13T17:23:39.589Z] ef5531b6e74e: Download complete [2023-03-13T17:23:39.589Z] ef5531b6e74e: Pull complete [2023-03-13T17:23:39.589Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-13T17:23:39.589Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T17:23:39.589Z] ---> dfd21b5a31f5 [2023-03-13T17:23:39.589Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-13T17:23:39.589Z] ---> Running in 15cd74fb89ef [2023-03-13T17:23:39.589Z] Removing intermediate container 15cd74fb89ef [2023-03-13T17:23:39.589Z] ---> 1032838b58ca [2023-03-13T17:23:39.589Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-13T17:23:39.589Z] ---> Running in 5109675aedd3 [2023-03-13T17:23:39.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T17:23:39.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T17:23:39.589Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-13T17:23:39.589Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T17:23:39.589Z] OK: 6 MiB in 15 packages [2023-03-13T17:23:39.848Z] Removing intermediate container 5109675aedd3 [2023-03-13T17:23:39.848Z] ---> e3eb325f5f76 [2023-03-13T17:23:39.848Z] Step 16/25 : WORKDIR / [2023-03-13T17:23:39.848Z] ---> Running in 321f8fe853c1 [2023-03-13T17:23:39.848Z] Removing intermediate container 321f8fe853c1 [2023-03-13T17:23:39.848Z] ---> ec60884b2a8d [2023-03-13T17:23:39.848Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-13T17:23:40.106Z] ---> 35e2c57fc491 [2023-03-13T17:23:40.106Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-13T17:23:40.106Z] ---> 522ef101af5b [2023-03-13T17:23:40.106Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-13T17:23:41.044Z] ---> ae878382fd23 [2023-03-13T17:23:41.044Z] Step 20/25 : EXPOSE 59900 [2023-03-13T17:23:41.044Z] ---> Running in 5d6abcfed023 [2023-03-13T17:23:41.044Z] Removing intermediate container 5d6abcfed023 [2023-03-13T17:23:41.044Z] ---> 2648ef026287 [2023-03-13T17:23:41.044Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-13T17:23:41.044Z] ---> Running in 270fcc4edd6f [2023-03-13T17:23:41.303Z] Removing intermediate container 270fcc4edd6f [2023-03-13T17:23:41.303Z] ---> 38c22303c76f [2023-03-13T17:23:41.303Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-13T17:23:41.303Z] ---> Running in 467d174e78fc [2023-03-13T17:23:41.303Z] Removing intermediate container 467d174e78fc [2023-03-13T17:23:41.303Z] ---> 7f977ea0af2c [2023-03-13T17:23:41.303Z] Step 23/25 : LABEL arch=amd64 [2023-03-13T17:23:41.303Z] ---> Running in 5bdcffb3756a [2023-03-13T17:23:41.303Z] Removing intermediate container 5bdcffb3756a [2023-03-13T17:23:41.303Z] ---> 6b107cd41f73 [2023-03-13T17:23:41.303Z] Step 24/25 : LABEL git_sha=2792140bb3070a79365b077863fdf6b5434988de [2023-03-13T17:23:41.303Z] ---> Running in 0ca64f1a111e [2023-03-13T17:23:41.563Z] Removing intermediate container 0ca64f1a111e [2023-03-13T17:23:41.563Z] ---> 0b04191ced12 [2023-03-13T17:23:41.563Z] Step 25/25 : LABEL version=0.0.0 [2023-03-13T17:23:41.563Z] ---> Running in 21b6ccaf76b6 [2023-03-13T17:23:41.563Z] Removing intermediate container 21b6ccaf76b6 [2023-03-13T17:23:41.563Z] ---> bb74433892bb [2023-03-13T17:23:41.563Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T17:23:41.563Z] Successfully built bb74433892bb [2023-03-13T17:23:41.563Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:23:42.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T17:23:42.009Z] [2023-03-13T17:23:42.009Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:23:42.312Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T17:23:42.312Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T17:23:42.312Z] 5eb5b503b376: Pulling fs layer [2023-03-13T17:23:42.312Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T17:23:42.312Z] ec43610c2a17: Pulling fs layer [2023-03-13T17:23:42.312Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T17:23:42.312Z] 33b1e0a273af: Pulling fs layer [2023-03-13T17:23:42.312Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T17:23:42.312Z] 33b1e0a273af: Waiting [2023-03-13T17:23:42.312Z] 2f39f015ded8: Pulling fs layer [2023-03-13T17:23:42.312Z] 5d3b04190fa2: Waiting [2023-03-13T17:23:42.312Z] 2f39f015ded8: Waiting [2023-03-13T17:23:42.312Z] 5c69ac0246d0: Verifying Checksum [2023-03-13T17:23:42.312Z] 5c69ac0246d0: Download complete [2023-03-13T17:23:42.312Z] 3a2ae6a8a46f: Download complete [2023-03-13T17:23:42.574Z] 33b1e0a273af: Verifying Checksum [2023-03-13T17:23:42.574Z] 33b1e0a273af: Download complete [2023-03-13T17:23:42.574Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T17:23:42.574Z] 5d3b04190fa2: Download complete [2023-03-13T17:23:42.574Z] ec43610c2a17: Verifying Checksum [2023-03-13T17:23:42.574Z] ec43610c2a17: Download complete [2023-03-13T17:23:42.574Z] 5eb5b503b376: Verifying Checksum [2023-03-13T17:23:42.574Z] 5eb5b503b376: Download complete [2023-03-13T17:23:43.141Z] 2f39f015ded8: Verifying Checksum [2023-03-13T17:23:43.141Z] 2f39f015ded8: Download complete [2023-03-13T17:23:44.094Z] 5eb5b503b376: Pull complete [2023-03-13T17:23:44.094Z] 5c69ac0246d0: Pull complete [2023-03-13T17:23:44.353Z] ec43610c2a17: Pull complete [2023-03-13T17:23:44.353Z] 3a2ae6a8a46f: Pull complete [2023-03-13T17:23:44.611Z] 33b1e0a273af: Pull complete [2023-03-13T17:23:44.611Z] 5d3b04190fa2: Pull complete [2023-03-13T17:23:45.215Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9922 in /w/workspace/foundry_device-virtual-go_PR-355 [Pipeline] { [Pipeline] ws [2023-03-13T17:23:45.228Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2023-03-13T17:23:45.261Z] The recommended git tool is: git [2023-03-13T17:23:48.793Z] 2f39f015ded8: Pull complete [2023-03-13T17:23:48.793Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T17:23:48.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T17:23:48.793Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:23:48.870Z] prd-ubuntu20.04-docker-8c-8g-9920 does not seem to be running inside a container [2023-03-13T17:23:48.905Z] $ 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-355 -v /w/workspace/foundry_device-virtual-go_PR-355:/w/workspace/foundry_device-virtual-go_PR-355:rw,z -v /w/workspace/foundry_device-virtual-go_PR-355@tmp:/w/workspace/foundry_device-virtual-go_PR-355@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T17:23:50.097Z] using credential edgex-jenkins-ssh [2023-03-13T17:23:50.118Z] Cloning the remote Git repository [2023-03-13T17:23:50.169Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-13T17:23:50.249Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2023-03-13T17:23:52.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-13T17:23:52.075Z] > git --version # timeout=10 [2023-03-13T17:23:52.097Z] > git --version # 'git version 2.25.1' [2023-03-13T17:23:52.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T17:23:52.166Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T17:23:53.867Z] $ docker top fa48736c6cec7582b5e3495f608adefcc17abc827ead8da0e7635bd6a7873fcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:23:54.074Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-13T17:23:54.252Z] ---> job-cost.sh [2023-03-13T17:23:54.252Z] lf-activate-venv: SKIPPING [2023-03-13T17:23:54.252Z] INFO: No Stack... [2023-03-13T17:23:54.511Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T17:23:54.770Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T17:23:55.062Z] + cat /w/workspace/foundry_device-virtual-go_PR-355/archives/cost.csv [2023-03-13T17:23:55.062Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T17:23:55.077Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] [2023-03-13T17:23:55.084Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] did not exist. Created. [2023-03-13T17:23:55.084Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T17:23:55.384Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T17:23:55.412Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T17:23:55.418Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T17:23:55.439Z] $ docker stop --time=1 fa48736c6cec7582b5e3495f608adefcc17abc827ead8da0e7635bd6a7873fcd [2023-03-13T17:23:54.102Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T17:23:54.886Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-13T17:23:54.926Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-13T17:23:54.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T17:23:54.945Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T17:23:55.508Z] Merging remotes/origin/main commit 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 into PR head commit 2792140bb3070a79365b077863fdf6b5434988de [2023-03-13T17:23:55.739Z] Merge succeeded, producing 2792140bb3070a79365b077863fdf6b5434988de [2023-03-13T17:23:55.739Z] Checking out Revision 2792140bb3070a79365b077863fdf6b5434988de (PR-355) [2023-03-13T17:23:56.596Z] $ docker rm -f --volumes fa48736c6cec7582b5e3495f608adefcc17abc827ead8da0e7635bd6a7873fcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T17:23:55.531Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T17:23:55.553Z] > git checkout -f 2792140bb3070a79365b077863fdf6b5434988de # timeout=10 [2023-03-13T17:23:55.635Z] > git remote # timeout=10 [2023-03-13T17:23:55.659Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T17:23:55.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T17:23:55.692Z] > git merge 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 [2023-03-13T17:23:55.715Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T17:23:55.747Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T17:23:55.761Z] > git checkout -f 2792140bb3070a79365b077863fdf6b5434988de # timeout=10 [2023-03-13T17:23:59.209Z] Commit message: "refactor(snap): Remove external metadata sourcing" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T17:24:00.065Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T17:24:00.065Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T17:24:00.065Z] Dload Upload Total Spent Left Speed [2023-03-13T17:24:00.065Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-03-13T17:24:00.814Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T17:24:01.140Z] + sudo tee /etc/docker/daemon.new [2023-03-13T17:24:01.140Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T17:24:01.140Z] { [2023-03-13T17:24:01.140Z] "registry-mirrors": [ [2023-03-13T17:24:01.140Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T17:24:01.140Z] ], [2023-03-13T17:24:01.140Z] "bip": "10.250.0.254/24", [2023-03-13T17:24:01.140Z] "hosts": [ [2023-03-13T17:24:01.140Z] "tcp://0.0.0.0:5555", [2023-03-13T17:24:01.140Z] "unix:///var/run/docker.sock" [2023-03-13T17:24:01.140Z] ], [2023-03-13T17:24:01.140Z] "mtu": 1458, [2023-03-13T17:24:01.140Z] "selinux-enabled": true, [2023-03-13T17:24:01.140Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T17:24:01.140Z] } [Pipeline] sh [2023-03-13T17:24:01.477Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T17:24:01.826Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T17:24:20.092Z] provisioning config files... [2023-03-13T17:24:20.115Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config14013247444110825824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:24:20.461Z] ---> docker-login.sh [2023-03-13T17:24:20.462Z] nexus3.edgexfoundry.org:10001 [2023-03-13T17:24:21.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:24:21.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:24:21.051Z] Configure a credential helper to remove this warning. See [2023-03-13T17:24:21.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:24:21.051Z] [2023-03-13T17:24:21.051Z] Login Succeeded [2023-03-13T17:24:21.051Z] nexus3.edgexfoundry.org:10002 [2023-03-13T17:24:21.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:24:21.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:24:21.588Z] Configure a credential helper to remove this warning. See [2023-03-13T17:24:21.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:24:21.588Z] [2023-03-13T17:24:21.588Z] Login Succeeded [2023-03-13T17:24:21.588Z] nexus3.edgexfoundry.org:10003 [2023-03-13T17:24:21.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:24:21.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:24:21.861Z] Configure a credential helper to remove this warning. See [2023-03-13T17:24:21.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:24:21.861Z] [2023-03-13T17:24:21.861Z] Login Succeeded [2023-03-13T17:24:21.861Z] nexus3.edgexfoundry.org:10004 [2023-03-13T17:24:22.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:24:22.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:24:22.130Z] Configure a credential helper to remove this warning. See [2023-03-13T17:24:22.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:24:22.130Z] [2023-03-13T17:24:22.130Z] Login Succeeded [2023-03-13T17:24:22.130Z] docker.io [2023-03-13T17:24:22.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:24:22.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:24:22.667Z] Configure a credential helper to remove this warning. See [2023-03-13T17:24:22.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:24:22.667Z] [2023-03-13T17:24:22.667Z] Login Succeeded [2023-03-13T17:24:22.667Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T17:24:22.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T17:24:22.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T17:24:22.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T17:24:22.969Z] ========================================================= [2023-03-13T17:24:22.969Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T17:24:22.969Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:24:23.322Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T17:24:23.590Z] Sending build context to Docker daemon 11.87MB [2023-03-13T17:24:23.591Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T17:24:23.591Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T17:24:23.862Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T17:24:23.862Z] 9b18e9b68314: Pulling fs layer [2023-03-13T17:24:23.862Z] 35d82f9e3411: Pulling fs layer [2023-03-13T17:24:23.862Z] e16973657156: Pulling fs layer [2023-03-13T17:24:23.862Z] fc693d55d65f: Pulling fs layer [2023-03-13T17:24:23.862Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T17:24:23.862Z] dda99020689f: Pulling fs layer [2023-03-13T17:24:23.862Z] db1c61fa0a46: Pulling fs layer [2023-03-13T17:24:23.862Z] 891c053d2c06: Pulling fs layer [2023-03-13T17:24:23.862Z] fc693d55d65f: Waiting [2023-03-13T17:24:23.862Z] 7e9fc2657dce: Waiting [2023-03-13T17:24:23.862Z] dda99020689f: Waiting [2023-03-13T17:24:23.862Z] db1c61fa0a46: Waiting [2023-03-13T17:24:23.862Z] 891c053d2c06: Waiting [2023-03-13T17:24:23.862Z] e16973657156: Verifying Checksum [2023-03-13T17:24:23.862Z] e16973657156: Download complete [2023-03-13T17:24:23.862Z] 35d82f9e3411: Verifying Checksum [2023-03-13T17:24:23.862Z] 35d82f9e3411: Download complete [2023-03-13T17:24:23.862Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T17:24:23.862Z] 7e9fc2657dce: Download complete [2023-03-13T17:24:23.862Z] dda99020689f: Download complete [2023-03-13T17:24:23.862Z] 9b18e9b68314: Verifying Checksum [2023-03-13T17:24:23.862Z] 9b18e9b68314: Download complete [2023-03-13T17:24:24.869Z] 9b18e9b68314: Pull complete [2023-03-13T17:24:25.139Z] 891c053d2c06: Verifying Checksum [2023-03-13T17:24:25.139Z] 891c053d2c06: Download complete [2023-03-13T17:24:25.407Z] 35d82f9e3411: Pull complete [2023-03-13T17:24:25.675Z] e16973657156: Pull complete [2023-03-13T17:24:26.265Z] db1c61fa0a46: Verifying Checksum [2023-03-13T17:24:26.265Z] db1c61fa0a46: Download complete [2023-03-13T17:24:26.853Z] fc693d55d65f: Verifying Checksum [2023-03-13T17:24:26.853Z] fc693d55d65f: Download complete [2023-03-13T17:24:39.188Z] fc693d55d65f: Pull complete [2023-03-13T17:24:39.188Z] 7e9fc2657dce: Pull complete [2023-03-13T17:24:39.188Z] dda99020689f: Pull complete [2023-03-13T17:24:45.867Z] db1c61fa0a46: Pull complete [2023-03-13T17:24:47.285Z] 891c053d2c06: Pull complete [2023-03-13T17:24:47.285Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T17:24:47.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T17:24:47.285Z] ---> f96f9c87975a [2023-03-13T17:24:47.285Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T17:24:49.235Z] ---> Running in 5b991341f82e [2023-03-13T17:24:49.509Z] Removing intermediate container 5b991341f82e [2023-03-13T17:24:49.509Z] ---> 8d0ed8c30f34 [2023-03-13T17:24:49.509Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T17:24:49.509Z] ---> Running in 4f1b93e1c8fd [2023-03-13T17:24:49.774Z] Removing intermediate container 4f1b93e1c8fd [2023-03-13T17:24:49.774Z] ---> 47991efac4c1 [2023-03-13T17:24:49.774Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T17:24:50.040Z] ---> Running in 3eac925137b9 [2023-03-13T17:24:50.307Z] Removing intermediate container 3eac925137b9 [2023-03-13T17:24:50.307Z] ---> 6c3b50427ef5 [2023-03-13T17:24:50.307Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-13T17:24:50.307Z] ---> Running in b95f8f27e9a2 [2023-03-13T17:24:50.575Z] Removing intermediate container b95f8f27e9a2 [2023-03-13T17:24:50.575Z] ---> d9a5055b1151 [2023-03-13T17:24:50.575Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T17:24:50.575Z] ---> Running in 7fcf5577b444 [2023-03-13T17:24:51.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T17:24:51.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T17:24:52.957Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T17:24:52.957Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T17:24:52.957Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T17:24:52.957Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T17:24:52.957Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T17:24:52.957Z] OK: 226 MiB in 55 packages [2023-03-13T17:24:54.368Z] Removing intermediate container 7fcf5577b444 [2023-03-13T17:24:54.368Z] ---> 6406ccf774b3 [2023-03-13T17:24:54.368Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-13T17:24:54.635Z] ---> 940884248b2f [2023-03-13T17:24:54.635Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T17:24:54.635Z] ---> Running in 072cf6ac4877 [2023-03-13T17:26:02.522Z] Removing intermediate container 072cf6ac4877 [2023-03-13T17:26:02.522Z] ---> 13dac2c92c05 [2023-03-13T17:26:02.522Z] Step 10/12 : COPY . . [2023-03-13T17:26:02.522Z] ---> deebba26eec4 [2023-03-13T17:26:02.522Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T17:26:02.522Z] ---> Running in ae62998fb6c5 [2023-03-13T17:26:02.522Z] Removing intermediate container ae62998fb6c5 [2023-03-13T17:26:02.522Z] ---> adf0f33df788 [2023-03-13T17:26:02.522Z] Step 12/12 : RUN $MAKE [2023-03-13T17:26:02.522Z] ---> Running in 44eec0d1913b [2023-03-13T17:26:02.522Z] noop [2023-03-13T17:26:02.522Z] Removing intermediate container 44eec0d1913b [2023-03-13T17:26:02.522Z] ---> 982ad812f146 [2023-03-13T17:26:02.522Z] Successfully built 982ad812f146 [2023-03-13T17:26:02.522Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:26:02.883Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T17:26:02.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:26:03.056Z] prd-ubuntu20.04-docker-arm64-4c-16g-9922 does not seem to be running inside a container [2023-03-13T17:26:03.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2023-03-13T17:26:04.164Z] $ docker top d11c206a8a3f8a0ae6ba89f44e2119a66e7f555f2276f29cac57b9162ed7be84 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:26:04.954Z] + go version [2023-03-13T17:26:04.954Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T17:26:04.972Z] $ docker stop --time=1 d11c206a8a3f8a0ae6ba89f44e2119a66e7f555f2276f29cac57b9162ed7be84 [2023-03-13T17:26:06.588Z] $ docker rm -f --volumes d11c206a8a3f8a0ae6ba89f44e2119a66e7f555f2276f29cac57b9162ed7be84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:26:07.110Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T17:26:07.111Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:26:07.276Z] prd-ubuntu20.04-docker-arm64-4c-16g-9922 does not seem to be running inside a container [2023-03-13T17:26:07.337Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2023-03-13T17:26:08.436Z] $ docker top a4b17cf95f872b25d190043bf53e615ff6049418fc77dcc5209660f0b94b2083 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:26:08.926Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-13T17:26:09.258Z] + make test [2023-03-13T17:26:09.258Z] go test ./... -coverprofile=coverage.out [2023-03-13T17:26:10.662Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-13T17:27:32.282Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-13T17:27:32.282Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.115s coverage: 65.7% of statements [2023-03-13T17:27:32.282Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-13T17:27:32.282Z] go vet ./... [2023-03-13T17:27:47.285Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T17:27:47.285Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T17:27:47.285Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T17:27:47.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T17:27:47.324Z] $ docker stop --time=1 a4b17cf95f872b25d190043bf53e615ff6049418fc77dcc5209660f0b94b2083 [2023-03-13T17:27:49.068Z] $ docker rm -f --volumes a4b17cf95f872b25d190043bf53e615ff6049418fc77dcc5209660f0b94b2083 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T17:27:49.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T17:27:50.021Z] Warning: overwriting stash ‘coverage-report’ [2023-03-13T17:27:50.478Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T17:27:50.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T17:27:51.161Z] + ls -al . [2023-03-13T17:27:51.162Z] total 188 [2023-03-13T17:27:51.162Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:26 . [2023-03-13T17:27:51.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:23 .. [2023-03-13T17:27:51.162Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:23 .git [2023-03-13T17:27:51.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:23 .github [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 13 17:23 .gitignore [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 17:23 .golangci.yml [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 13 17:23 Attribution.txt [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 13 17:23 CHANGELOG.md [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 13 17:23 Dockerfile [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 17:23 GOVERNANCE.md [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 13 17:23 Jenkinsfile [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 17:23 LICENSE [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 1661 Mar 13 17:23 Makefile [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 13 17:23 OWNERS.md [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 13 17:23 README.md [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 17:21 VERSION [2023-03-13T17:27:51.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 17:23 bin [2023-03-13T17:27:51.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:23 cmd [2023-03-13T17:27:51.162Z] -rw-r--r-- 1 jenkins jenkins 44127 Mar 13 17:27 coverage.out [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 13 17:23 go.mod [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 13 17:23 go.sum [2023-03-13T17:27:51.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:23 internal [2023-03-13T17:27:51.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:23 snap [2023-03-13T17:27:51.162Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 13 17:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:27:51.499Z] + 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=2792140bb3070a79365b077863fdf6b5434988de --label arch=arm64 --label version=0.0.0 . [2023-03-13T17:27:51.768Z] Sending build context to Docker daemon 11.92MB [2023-03-13T17:27:51.768Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T17:27:51.768Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-13T17:27:51.768Z] ---> 982ad812f146 [2023-03-13T17:27:51.768Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T17:27:52.033Z] ---> Running in 5b04409324cb [2023-03-13T17:27:52.300Z] Removing intermediate container 5b04409324cb [2023-03-13T17:27:52.300Z] ---> 13418438341e [2023-03-13T17:27:52.300Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T17:27:52.300Z] ---> Running in af4b1de555ca [2023-03-13T17:27:52.884Z] Removing intermediate container af4b1de555ca [2023-03-13T17:27:52.884Z] ---> 582e49bfd34d [2023-03-13T17:27:52.884Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-13T17:27:52.884Z] ---> Running in 3045c78be555 [2023-03-13T17:27:53.150Z] Removing intermediate container 3045c78be555 [2023-03-13T17:27:53.150Z] ---> 93796afaf607 [2023-03-13T17:27:53.150Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-13T17:27:53.150Z] ---> Running in 8c348486b9cc [2023-03-13T17:27:53.420Z] Removing intermediate container 8c348486b9cc [2023-03-13T17:27:53.420Z] ---> 9753f665ec1a [2023-03-13T17:27:53.420Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T17:27:53.420Z] ---> Running in 3f8fdf8e8115 [2023-03-13T17:27:54.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T17:27:54.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T17:27:55.933Z] OK: 226 MiB in 55 packages [2023-03-13T17:27:56.895Z] Removing intermediate container 3f8fdf8e8115 [2023-03-13T17:27:56.895Z] ---> c63d62431288 [2023-03-13T17:27:56.895Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-13T17:27:57.163Z] ---> e435d3cd8d88 [2023-03-13T17:27:57.163Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T17:27:57.163Z] ---> Running in f40f8d766f6b [2023-03-13T17:27:59.768Z] Removing intermediate container f40f8d766f6b [2023-03-13T17:27:59.768Z] ---> d78f4d311dcf [2023-03-13T17:27:59.768Z] Step 10/25 : COPY . . [2023-03-13T17:28:01.180Z] ---> 5f13009029f2 [2023-03-13T17:28:01.180Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T17:28:01.457Z] ---> Running in 24958639a0d4 [2023-03-13T17:28:01.726Z] Removing intermediate container 24958639a0d4 [2023-03-13T17:28:01.726Z] ---> 0da61c786871 [2023-03-13T17:28:01.726Z] Step 12/25 : RUN $MAKE [2023-03-13T17:28:01.726Z] ---> Running in 9ceac23903a8 [2023-03-13T17:28:02.693Z] 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-13T17:30:24.510Z] Removing intermediate container 9ceac23903a8 [2023-03-13T17:30:24.510Z] ---> 9ea3bf1815a4 [2023-03-13T17:30:24.510Z] Step 13/25 : FROM alpine:3.16 [2023-03-13T17:30:24.510Z] 3.16: Pulling from library/alpine [2023-03-13T17:30:24.510Z] 3760b48202b3: Pulling fs layer [2023-03-13T17:30:24.510Z] 3760b48202b3: Verifying Checksum [2023-03-13T17:30:24.510Z] 3760b48202b3: Download complete [2023-03-13T17:30:24.510Z] 3760b48202b3: Pull complete [2023-03-13T17:30:25.097Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-13T17:30:25.097Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T17:30:25.097Z] ---> 4c81e5bf8899 [2023-03-13T17:30:25.097Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-13T17:30:25.365Z] ---> Running in 93a802815d90 [2023-03-13T17:30:25.637Z] Removing intermediate container 93a802815d90 [2023-03-13T17:30:25.637Z] ---> 4be8685dafcf [2023-03-13T17:30:25.637Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-13T17:30:25.637Z] ---> Running in 59e6b849b7e3 [2023-03-13T17:30:26.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T17:30:27.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T17:30:28.161Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-13T17:30:28.161Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T17:30:28.161Z] OK: 5 MiB in 15 packages [2023-03-13T17:30:29.143Z] Removing intermediate container 59e6b849b7e3 [2023-03-13T17:30:29.143Z] ---> 354033b701ce [2023-03-13T17:30:29.143Z] Step 16/25 : WORKDIR / [2023-03-13T17:30:29.143Z] ---> Running in 51b19e7f49e5 [2023-03-13T17:30:29.414Z] Removing intermediate container 51b19e7f49e5 [2023-03-13T17:30:29.414Z] ---> 0f76d326ffcf [2023-03-13T17:30:29.414Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-13T17:30:29.684Z] ---> a9f23e6aed50 [2023-03-13T17:30:29.684Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-13T17:30:30.279Z] ---> e868f90b16d3 [2023-03-13T17:30:30.280Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-13T17:30:31.693Z] ---> ee20af6d99ef [2023-03-13T17:30:31.693Z] Step 20/25 : EXPOSE 59900 [2023-03-13T17:30:31.693Z] ---> Running in 762001468d45 [2023-03-13T17:30:31.962Z] Removing intermediate container 762001468d45 [2023-03-13T17:30:31.962Z] ---> 73354cae20cd [2023-03-13T17:30:31.962Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-13T17:30:31.962Z] ---> Running in 0779b2a7c279 [2023-03-13T17:30:32.228Z] Removing intermediate container 0779b2a7c279 [2023-03-13T17:30:32.228Z] ---> 24ea8e28ce24 [2023-03-13T17:30:32.228Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-13T17:30:32.228Z] ---> Running in f6c365842737 [2023-03-13T17:30:32.499Z] Removing intermediate container f6c365842737 [2023-03-13T17:30:32.499Z] ---> c14263b838a3 [2023-03-13T17:30:32.499Z] Step 23/25 : LABEL arch=arm64 [2023-03-13T17:30:32.771Z] ---> Running in 8893f505c088 [2023-03-13T17:30:33.043Z] Removing intermediate container 8893f505c088 [2023-03-13T17:30:33.043Z] ---> 05b566ffe5bd [2023-03-13T17:30:33.043Z] Step 24/25 : LABEL git_sha=2792140bb3070a79365b077863fdf6b5434988de [2023-03-13T17:30:33.043Z] ---> Running in 6cf88c7a30cc [2023-03-13T17:30:33.313Z] Removing intermediate container 6cf88c7a30cc [2023-03-13T17:30:33.313Z] ---> bbbbf2d08918 [2023-03-13T17:30:33.313Z] Step 25/25 : LABEL version=0.0.0 [2023-03-13T17:30:33.313Z] ---> Running in d64b7d03c6b5 [2023-03-13T17:30:33.580Z] Removing intermediate container d64b7d03c6b5 [2023-03-13T17:30:33.580Z] ---> 7b4e1d03da8e [2023-03-13T17:30:33.580Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T17:30:33.580Z] Successfully built 7b4e1d03da8e [2023-03-13T17:30:33.580Z] 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-13T17:30:34.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T17:30:34.023Z] [2023-03-13T17:30:34.023Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:30:34.358Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T17:30:34.358Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T17:30:34.358Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T17:30:34.358Z] 04944245beec: Pulling fs layer [2023-03-13T17:30:34.358Z] 699f458cf7ca: Pulling fs layer [2023-03-13T17:30:34.358Z] 765212b225bb: Pulling fs layer [2023-03-13T17:30:34.358Z] f23df028b6ca: Pulling fs layer [2023-03-13T17:30:34.358Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T17:30:34.358Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T17:30:34.358Z] f23df028b6ca: Waiting [2023-03-13T17:30:34.358Z] d65c8cfc05b1: Waiting [2023-03-13T17:30:34.358Z] 2437ff75d9bd: Waiting [2023-03-13T17:30:34.358Z] 765212b225bb: Waiting [2023-03-13T17:30:34.628Z] 04944245beec: Verifying Checksum [2023-03-13T17:30:34.628Z] 04944245beec: Download complete [2023-03-13T17:30:34.628Z] 765212b225bb: Verifying Checksum [2023-03-13T17:30:34.628Z] 765212b225bb: Download complete [2023-03-13T17:30:34.628Z] f23df028b6ca: Verifying Checksum [2023-03-13T17:30:34.628Z] f23df028b6ca: Download complete [2023-03-13T17:30:34.628Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T17:30:34.628Z] d65c8cfc05b1: Download complete [2023-03-13T17:30:34.628Z] 699f458cf7ca: Verifying Checksum [2023-03-13T17:30:34.628Z] 699f458cf7ca: Download complete [2023-03-13T17:30:35.209Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T17:30:35.209Z] 8998bd30e6a1: Download complete [2023-03-13T17:30:37.154Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T17:30:37.154Z] 2437ff75d9bd: Download complete [2023-03-13T17:30:39.097Z] 8998bd30e6a1: Pull complete [2023-03-13T17:30:39.364Z] 04944245beec: Pull complete [2023-03-13T17:30:40.774Z] 699f458cf7ca: Pull complete [2023-03-13T17:30:40.774Z] 765212b225bb: Pull complete [2023-03-13T17:30:41.736Z] f23df028b6ca: Pull complete [2023-03-13T17:30:41.737Z] d65c8cfc05b1: Pull complete [2023-03-13T17:30:56.738Z] 2437ff75d9bd: Pull complete [2023-03-13T17:30:56.738Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T17:30:56.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T17:30:56.738Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:30:56.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-9922 does not seem to be running inside a container [2023-03-13T17:30:56.994Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T17:30:59.531Z] $ docker top bd2c64d6d2f08d8b4221827409d40b67aa271dfc0cbf35139cc42c65cad4be7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:31:00.372Z] ---> job-cost.sh [2023-03-13T17:31:00.372Z] lf-activate-venv: SKIPPING [2023-03-13T17:31:00.372Z] INFO: No Stack... [2023-03-13T17:31:00.639Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T17:31:01.601Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T17:31:01.930Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2023-03-13T17:31:01.930Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T17:31:01.992Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] [2023-03-13T17:31:01.999Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] did not exist. Created. [2023-03-13T17:31:01.999Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T17:31:02.344Z] /w/workspace/device-virtual-go/2@tmp/durable-a45f5bc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T17:31:03.272Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T17:31:03.289Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T17:31:03.336Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T17:31:03.343Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T17:31:03.366Z] $ docker stop --time=1 bd2c64d6d2f08d8b4221827409d40b67aa271dfc0cbf35139cc42c65cad4be7b [2023-03-13T17:31:04.835Z] $ docker rm -f --volumes bd2c64d6d2f08d8b4221827409d40b67aa271dfc0cbf35139cc42c65cad4be7b [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-13T17:31:05.273Z] provisioning config files... [2023-03-13T17:31:05.282Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-355@tmp/config11031526614511822471tmp [Pipeline] { [Pipeline] sh [2023-03-13T17:31:05.575Z] + set +x [2023-03-13T17:31:05.575Z] + curl -s https://codecov.io/bash [2023-03-13T17:31:05.575Z] + bash -s -- [2023-03-13T17:31:05.575Z] [2023-03-13T17:31:05.575Z] _____ _ [2023-03-13T17:31:05.575Z] / ____| | | [2023-03-13T17:31:05.576Z] | | ___ __| | ___ ___ _____ __ [2023-03-13T17:31:05.576Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-13T17:31:05.576Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-13T17:31:05.576Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-13T17:31:05.576Z] Bash-1.0.6 [2023-03-13T17:31:05.576Z] [2023-03-13T17:31:05.576Z] [2023-03-13T17:31:05.576Z] ==> git version 2.25.1 found [2023-03-13T17:31:05.576Z] ==> 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-13T17:31:05.576Z] Release-Date: 2020-01-08 [2023-03-13T17:31:05.576Z] 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-13T17:31:05.576Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-13T17:31:05.576Z] ==> Jenkins CI detected. [2023-03-13T17:31:05.576Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-355 [2023-03-13T17:31:05.576Z] project root: . [2023-03-13T17:31:05.576Z] --> token set from env [2023-03-13T17:31:05.576Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-13T17:31:05.576Z] ==> Running gcov in . (disable via -X gcov) [2023-03-13T17:31:05.576Z] ==> Python coveragepy not found [2023-03-13T17:31:05.576Z] ==> Searching for coverage reports in: [2023-03-13T17:31:05.576Z] + . [2023-03-13T17:31:05.576Z] -> Found 1 reports [2023-03-13T17:31:05.576Z] ==> Detecting git/mercurial file structure [2023-03-13T17:31:05.576Z] ==> Reading reports [2023-03-13T17:31:05.576Z] + ./coverage.out bytes=44127 [2023-03-13T17:31:05.576Z] ==> Appending adjustments [2023-03-13T17:31:05.576Z] https://docs.codecov.io/docs/fixing-reports [2023-03-13T17:31:05.835Z] + Found adjustments [2023-03-13T17:31:05.835Z] ==> Gzipping contents [2023-03-13T17:31:05.835Z] 8.0K /tmp/codecov.OKa4Vv.gz [2023-03-13T17:31:05.835Z] ==> Uploading reports [2023-03-13T17:31:05.835Z] url: https://codecov.io [2023-03-13T17:31:05.835Z] query: branch=PR-355&commit=2792140bb3070a79365b077863fdf6b5434988de&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-355%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=355&job=&cmd_args= [2023-03-13T17:31:05.835Z] -> Pinging Codecov [2023-03-13T17:31:05.835Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-355&commit=2792140bb3070a79365b077863fdf6b5434988de&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-355%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=355&job=&cmd_args= [2023-03-13T17:31:05.835Z] -> Uploading to [2023-03-13T17:31:05.835Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-13/5E52B4B073DB2E39498172D8E973AA87/2792140bb3070a79365b077863fdf6b5434988de/e24c1f05-0d36-455a-8973-fd16890e0a5f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T173105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf9db6fb15449bc086bb25057e67dad330212890446106af6dcae2568157a164 [2023-03-13T17:31:06.094Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T17:31:06.094Z] Dload Upload Total Spent Left Speed [2023-03-13T17:31:06.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5473 0 0 100 5473 0 23388 --:--:-- --:--:-- --:--:-- 23388 [2023-03-13T17:31:06.094Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2792140bb3070a79365b077863fdf6b5434988de [Pipeline] } [2023-03-13T17:31:06.101Z] 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-13T17:31:06.894Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-355/archives ] [2023-03-13T17:31:06.894Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-355/archives [2023-03-13T17:31:06.894Z] total 16 [2023-03-13T17:31:06.894Z] drwxr-xr-x 3 root root 4096 Mar 13 17:23 . [2023-03-13T17:31:06.894Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 17:23 .. [2023-03-13T17:31:06.894Z] drwxr-xr-x 2 root root 4096 Mar 13 17:23 cost [2023-03-13T17:31:06.894Z] -rw-r--r-- 1 root root 89 Mar 13 17:23 cost.csv [2023-03-13T17:31:06.894Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-355/archives [2023-03-13T17:31:06.894Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-355/archives [2023-03-13T17:31:06.894Z] total 16 [2023-03-13T17:31:06.894Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 17:23 . [2023-03-13T17:31:06.894Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 17:23 .. [2023-03-13T17:31:06.894Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 17:23 cost [2023-03-13T17:31:06.894Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 13 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:31:07.191Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:31:08.054Z] ---> package-listing.sh [2023-03-13T17:31:08.054Z] ++ facter osfamily [2023-03-13T17:31:08.054Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T17:31:08.054Z] + OS_FAMILY=debian [2023-03-13T17:31:08.054Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-355 [2023-03-13T17:31:08.054Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T17:31:08.054Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T17:31:08.054Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T17:31:08.054Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T17:31:08.054Z] + '[' /w/workspace/foundry_device-virtual-go_PR-355 ']' [2023-03-13T17:31:08.054Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T17:31:08.054Z] + case "${OS_FAMILY}" in [2023-03-13T17:31:08.054Z] + dpkg -l [2023-03-13T17:31:08.054Z] + grep '^ii' [2023-03-13T17:31:08.313Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T17:31:08.313Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T17:31:08.313Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T17:31:08.313Z] + '[' /w/workspace/foundry_device-virtual-go_PR-355 ']' [2023-03-13T17:31:08.313Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-355/archives/ [2023-03-13T17:31:08.313Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-355/archives/ [Pipeline] echo [2023-03-13T17:31:08.325Z] 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-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T17:31:08.604Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:31:08.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T17:31:08.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:31:08.975Z] prd-ubuntu20.04-docker-8c-8g-9920 does not seem to be running inside a container [2023-03-13T17:31:09.012Z] $ 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-355/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-355 -v /w/workspace/foundry_device-virtual-go_PR-355:/w/workspace/foundry_device-virtual-go_PR-355:rw,z -v /w/workspace/foundry_device-virtual-go_PR-355@tmp:/w/workspace/foundry_device-virtual-go_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T17:31:09.208Z] $ docker top 174817f675e57965788386e15b190ccbece7b94ac312792974cb76bb94e6d478 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:31:09.540Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T17:31:09.821Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T17:31:10.106Z] + ls /var/log/sa-host [2023-03-13T17:31:10.106Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T17:31:10.252Z] provisioning config files... [2023-03-13T17:31:10.261Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-355@tmp/config3073173041184549648tmp [Pipeline] { [Pipeline] echo [2023-03-13T17:31:10.275Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:31:10.557Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T17:31:10.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:31:10.905Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T17:31:10.913Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:31:11.197Z] ---> sudo-logs.sh [2023-03-13T17:31:11.197Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T17:31:11.225Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:31:11.507Z] ---> job-cost.sh [2023-03-13T17:31:11.508Z] lf-activate-venv: SKIPPING [2023-03-13T17:31:11.508Z] DEBUG: total: 0.2199999988079071 [2023-03-13T17:31:11.508Z] INFO: Retrieving Stack Cost... [2023-03-13T17:31:11.766Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T17:31:12.334Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T17:31:12.348Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:31:12.630Z] ---> logs-deploy.sh [2023-03-13T17:31:12.630Z] lf-activate-venv: SKIPPING [2023-03-13T17:31:12.630Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-355/2 [2023-03-13T17:31:12.630Z] INFO: archiving workspace using pattern(s): [2023-03-13T17:31:13.565Z] Archives upload complete. [2023-03-13T17:31:13.565Z] INFO: archiving logs to Nexus