Pull request #339 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 ejlee3 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from a748b6b7c253edcc529294d5f0d3ad5eededb5cd+36cfc47f60822cf39bc0d17e26bed27cbab57cb6 (6822c64e94964444aa4cdb92936f1c1252573ee4) 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-ssh6835679721935179440.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-ssh17940175650167244845.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-339/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-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4006461159210228030.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-ssh10662884301349522751.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-339/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-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14266654830348771930.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 ‘prd-ubuntu20.04-docker-8c-8g-5855’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5857 in /w/workspace/foundry_device-virtual-go_PR-339 [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-339 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 into PR head commit a748b6b7c253edcc529294d5f0d3ad5eededb5cd Merge succeeded, producing a748b6b7c253edcc529294d5f0d3ad5eededb5cd Checking out Revision a748b6b7c253edcc529294d5f0d3ad5eededb5cd (PR-339) > 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/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a748b6b7c253edcc529294d5f0d3ad5eededb5cd # 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 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a748b6b7c253edcc529294d5f0d3ad5eededb5cd # timeout=10 Commit message: "fix: address pr comments" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-14T18:47:00.194Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T18:47:00.257Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T18:47:00.271Z] ========================================================= [2023-02-14T18:47:00.271Z] EdgeX Global Pipelines Version Info [2023-02-14T18:47:00.271Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2ccb81a7e497e6512bf135fb6b132abd0d44872f # timeout=10 [2023-02-14T18:47:01.361Z] ------------------- [2023-02-14T18:47:01.361Z] stable info: [2023-02-14T18:47:01.361Z] ------------------- [2023-02-14T18:47:01.361Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T18:47:01.361Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T18:47:01.361Z] Message: update stable to v1.0.244 [2023-02-14T18:47:01.622Z] ------------------- [2023-02-14T18:47:01.622Z] experimental info: [2023-02-14T18:47:01.622Z] ------------------- [2023-02-14T18:47:01.622Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T18:47:01.622Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T18:47:01.622Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T18:47:01.823Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-14T18:47:01.835Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-14T18:47:01.848Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T18:47:01.860Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T18:47:01.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T18:47:01.884Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T18:47:01.896Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T18:47:01.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-14T18:47:01.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T18:47:01.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T18:47:01.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T18:47:01.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-14T18:47:01.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T18:47:01.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T18:47:01.987Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T18:47:01.995Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T18:47:02.004Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T18:47:02.012Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T18:47:02.021Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T18:47:02.031Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T18:47:02.049Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-14T18:47:02.067Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-14T18:47:02.084Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T18:47:02.094Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T18:47:02.106Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T18:47:02.117Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T18:47:02.125Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T18:47:02.134Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-339 [Pipeline] echo [2023-02-14T18:47:02.142Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-339 [Pipeline] echo [2023-02-14T18:47:02.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-339 [Pipeline] echo [2023-02-14T18:47:02.159Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a748b6b7c253edcc529294d5f0d3ad5eededb5cd [Pipeline] echo [2023-02-14T18:47:02.167Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a748b6b [Pipeline] echo [2023-02-14T18:47:02.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:47:02.215Z] provisioning config files... [2023-02-14T18:47:02.227Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config7283221670338173640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:47:02.535Z] ---> docker-login.sh [2023-02-14T18:47:02.535Z] nexus3.edgexfoundry.org:10001 [2023-02-14T18:47:03.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:47:03.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:47:03.366Z] Configure a credential helper to remove this warning. See [2023-02-14T18:47:03.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:47:03.366Z] [2023-02-14T18:47:03.366Z] Login Succeeded [2023-02-14T18:47:03.366Z] nexus3.edgexfoundry.org:10002 [2023-02-14T18:47:03.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:47:03.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:47:03.367Z] Configure a credential helper to remove this warning. See [2023-02-14T18:47:03.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:47:03.367Z] [2023-02-14T18:47:03.367Z] Login Succeeded [2023-02-14T18:47:03.367Z] nexus3.edgexfoundry.org:10003 [2023-02-14T18:47:03.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:47:03.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:47:03.626Z] Configure a credential helper to remove this warning. See [2023-02-14T18:47:03.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:47:03.626Z] [2023-02-14T18:47:03.626Z] Login Succeeded [2023-02-14T18:47:03.626Z] nexus3.edgexfoundry.org:10004 [2023-02-14T18:47:03.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:47:03.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:47:03.626Z] Configure a credential helper to remove this warning. See [2023-02-14T18:47:03.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:47:03.626Z] [2023-02-14T18:47:03.626Z] Login Succeeded [2023-02-14T18:47:03.626Z] docker.io [2023-02-14T18:47:03.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:47:04.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:47:04.196Z] Configure a credential helper to remove this warning. See [2023-02-14T18:47:04.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:47:04.196Z] [2023-02-14T18:47:04.196Z] Login Succeeded [2023-02-14T18:47:04.196Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T18:47:04.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T18:47:04.548Z] + git rev-list -1 --merges a748b6b7c253edcc529294d5f0d3ad5eededb5cd~1..a748b6b7c253edcc529294d5f0d3ad5eededb5cd [Pipeline] echo [2023-02-14T18:47:04.598Z] -----------> git rev-list -1 --merges a748b6b7c253edcc529294d5f0d3ad5eededb5cd~1..a748b6b7c253edcc529294d5f0d3ad5eededb5cd a748b6b7c253edcc529294d5f0d3ad5eededb5cd [false] [Pipeline] sh [2023-02-14T18:47:04.885Z] + git log --format=format:%s -1 a748b6b7c253edcc529294d5f0d3ad5eededb5cd [Pipeline] echo [2023-02-14T18:47:04.899Z] ========================================================= [2023-02-14T18:47:04.899Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T18:47:04.899Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T18:47:05.212Z] + git log --format=format:%s -1 a748b6b7c253edcc529294d5f0d3ad5eededb5cd [Pipeline] echo [2023-02-14T18:47:05.224Z] [semverPrep] GIT_COMMIT: a748b6b7c253edcc529294d5f0d3ad5eededb5cd, Commit Message: fix: address pr comments [Pipeline] echo [2023-02-14T18:47:05.233Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T18:47:05.574Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T18:47:05.574Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T18:47:05.574Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T18:47:05.574Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T18:47:05.574Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-14T18:47:05.574Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T18:47:05.574Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:47:05.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T18:47:05.939Z] [2023-02-14T18:47:05.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:47:06.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T18:47:06.245Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T18:47:06.245Z] b85a868b505f: Pulling fs layer [2023-02-14T18:47:06.245Z] e2be974225ed: Pulling fs layer [2023-02-14T18:47:06.245Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T18:47:06.245Z] 988bab9f4d93: Pulling fs layer [2023-02-14T18:47:06.245Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T18:47:06.245Z] eaf3925da568: Pulling fs layer [2023-02-14T18:47:06.245Z] bab4dde63d76: Pulling fs layer [2023-02-14T18:47:06.245Z] bde34c3a00c8: Pulling fs layer [2023-02-14T18:47:06.245Z] b352a97aabf1: Pulling fs layer [2023-02-14T18:47:06.245Z] 4872d77fe225: Pulling fs layer [2023-02-14T18:47:06.245Z] 5851b861e8e6: Pulling fs layer [2023-02-14T18:47:06.245Z] 1469e6f7b9e6: Waiting [2023-02-14T18:47:06.245Z] 988bab9f4d93: Waiting [2023-02-14T18:47:06.245Z] eaf3925da568: Waiting [2023-02-14T18:47:06.245Z] bab4dde63d76: Waiting [2023-02-14T18:47:06.245Z] bde34c3a00c8: Waiting [2023-02-14T18:47:06.245Z] b352a97aabf1: Waiting [2023-02-14T18:47:06.245Z] 4872d77fe225: Waiting [2023-02-14T18:47:06.245Z] 5851b861e8e6: Waiting [2023-02-14T18:47:06.245Z] e2be974225ed: Download complete [2023-02-14T18:47:06.245Z] 988bab9f4d93: Verifying Checksum [2023-02-14T18:47:06.245Z] 988bab9f4d93: Download complete [2023-02-14T18:47:06.510Z] 1469e6f7b9e6: Verifying Checksum [2023-02-14T18:47:06.510Z] 1469e6f7b9e6: Download complete [2023-02-14T18:47:06.510Z] eaf3925da568: Verifying Checksum [2023-02-14T18:47:06.510Z] eaf3925da568: Download complete [2023-02-14T18:47:06.773Z] 339a4e72a1f5: Verifying Checksum [2023-02-14T18:47:06.773Z] 339a4e72a1f5: Download complete [2023-02-14T18:47:06.773Z] bde34c3a00c8: Download complete [2023-02-14T18:47:06.773Z] b352a97aabf1: Download complete [2023-02-14T18:47:06.773Z] 4872d77fe225: Download complete [2023-02-14T18:47:06.773Z] 5851b861e8e6: Download complete [2023-02-14T18:47:06.773Z] b85a868b505f: Verifying Checksum [2023-02-14T18:47:06.773Z] b85a868b505f: Download complete [2023-02-14T18:47:07.033Z] bab4dde63d76: Verifying Checksum [2023-02-14T18:47:07.033Z] bab4dde63d76: Download complete [2023-02-14T18:47:07.970Z] b85a868b505f: Pull complete [2023-02-14T18:47:08.248Z] e2be974225ed: Pull complete [2023-02-14T18:47:08.819Z] 339a4e72a1f5: Pull complete [2023-02-14T18:47:08.819Z] 988bab9f4d93: Pull complete [2023-02-14T18:47:09.082Z] 1469e6f7b9e6: Pull complete [2023-02-14T18:47:09.082Z] eaf3925da568: Pull complete [2023-02-14T18:47:11.618Z] bab4dde63d76: Pull complete [2023-02-14T18:47:11.618Z] bde34c3a00c8: Pull complete [2023-02-14T18:47:11.618Z] b352a97aabf1: Pull complete [2023-02-14T18:47:11.618Z] 4872d77fe225: Pull complete [2023-02-14T18:47:11.618Z] 5851b861e8e6: Pull complete [2023-02-14T18:47:11.618Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T18:47:11.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T18:47:11.618Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:47:11.719Z] prd-ubuntu20.04-docker-8c-8g-5857 does not seem to be running inside a container [2023-02-14T18:47:11.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-14T18:47:16.184Z] $ docker top 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 -eo pid,comm [2023-02-14T18:47:16.244Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-14T18:47:16.244Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T18:47:16.279Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T18:47:16.279Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T18:47:16.398Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T18:47:16.404Z] $ docker exec 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 ssh-agent [2023-02-14T18:47:16.512Z] SSH_AUTH_SOCK=/tmp/ssh-fcvTqbmdyes6/agent.33 [2023-02-14T18:47:16.512Z] SSH_AGENT_PID=39 [2023-02-14T18:47:16.518Z] Running ssh-add (command line suppressed) [2023-02-14T18:47:16.625Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_11747820291923666995.key (/w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_11747820291923666995.key) [2023-02-14T18:47:16.636Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T18:47:16.927Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T18:47:16.942Z] $ docker exec --env ******** --env ******** 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 ssh-agent -k [2023-02-14T18:47:17.036Z] unset SSH_AUTH_SOCK; [2023-02-14T18:47:17.037Z] unset SSH_AGENT_PID; [2023-02-14T18:47:17.037Z] echo Agent pid 39 killed; [2023-02-14T18:47:17.042Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T18:47:17.065Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T18:47:17.065Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T18:47:17.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T18:47:17.193Z] $ docker exec 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 ssh-agent [2023-02-14T18:47:17.305Z] SSH_AUTH_SOCK=/tmp/ssh-6omM1UwT6xyR/agent.71 [2023-02-14T18:47:17.305Z] SSH_AGENT_PID=77 [2023-02-14T18:47:17.310Z] Running ssh-add (command line suppressed) [2023-02-14T18:47:17.421Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_977590320145066381.key (/w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_977590320145066381.key) [2023-02-14T18:47:17.433Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T18:47:17.718Z] + git semver init [2023-02-14T18:47:17.978Z] 2023-02-14 18:47:17,886 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T18:47:17.978Z] 2023-02-14 18:47:17,887 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-339/.semver [2023-02-14T18:47:17.978Z] 2023-02-14 18:47:17,887 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-339/.semver [2023-02-14T18:47:17.978Z] 2023-02-14 18:47:17,888 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-339/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-339, universal_newlines=False, shell=None, istream=None) [2023-02-14T18:47:19.955Z] 2023-02-14 18:47:19,518 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-339/.git/info/exclude [2023-02-14T18:47:19.955Z] 2023-02-14 18:47:19,518 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 with force:False [2023-02-14T18:47:19.955Z] 2023-02-14 18:47:19,519 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 [2023-02-14T18:47:19.955Z] 2023-02-14 18:47:19,523 [execute] INFO git cat-file --batch-check [2023-02-14T18:47:19.955Z] 2023-02-14 18:47:19,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T18:47:19.955Z] 2023-02-14 18:47:19,528 [execute] INFO git cat-file --batch [2023-02-14T18:47:19.955Z] 2023-02-14 18:47:19,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T18:47:19.955Z] 2023-02-14 18:47:19,533 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 [2023-02-14T18:47:19.955Z] 0.0.0 [Pipeline] } [2023-02-14T18:47:19.968Z] $ docker exec --env ******** --env ******** 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 ssh-agent -k [2023-02-14T18:47:20.070Z] unset SSH_AUTH_SOCK; [2023-02-14T18:47:20.070Z] unset SSH_AGENT_PID; [2023-02-14T18:47:20.071Z] echo Agent pid 77 killed; [2023-02-14T18:47:20.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T18:47:20.386Z] + git semver [Pipeline] } [2023-02-14T18:47:20.661Z] $ docker stop --time=1 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 [2023-02-14T18:47:21.974Z] $ docker rm -f --volumes 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T18:47:22.310Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T18:47:22.538Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T18:47:22.541Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:47:22.708Z] provisioning config files... [2023-02-14T18:47:22.717Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config2042886788746706058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:47:23.017Z] ---> docker-login.sh [2023-02-14T18:47:23.017Z] nexus3.edgexfoundry.org:10001 [2023-02-14T18:47:23.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:47:23.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:47:23.017Z] Configure a credential helper to remove this warning. See [2023-02-14T18:47:23.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:47:23.017Z] [2023-02-14T18:47:23.017Z] Login Succeeded [2023-02-14T18:47:23.017Z] nexus3.edgexfoundry.org:10002 [2023-02-14T18:47:23.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:47:23.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:47:23.017Z] Configure a credential helper to remove this warning. See [2023-02-14T18:47:23.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:47:23.017Z] [2023-02-14T18:47:23.017Z] Login Succeeded [2023-02-14T18:47:23.278Z] nexus3.edgexfoundry.org:10003 [2023-02-14T18:47:23.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:47:23.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:47:23.278Z] Configure a credential helper to remove this warning. See [2023-02-14T18:47:23.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:47:23.278Z] [2023-02-14T18:47:23.278Z] Login Succeeded [2023-02-14T18:47:23.278Z] nexus3.edgexfoundry.org:10004 [2023-02-14T18:47:23.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:47:23.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:47:23.278Z] Configure a credential helper to remove this warning. See [2023-02-14T18:47:23.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:47:23.278Z] [2023-02-14T18:47:23.278Z] Login Succeeded [2023-02-14T18:47:23.278Z] docker.io [2023-02-14T18:47:23.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:47:23.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:47:23.798Z] Configure a credential helper to remove this warning. See [2023-02-14T18:47:23.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:47:23.798Z] [2023-02-14T18:47:23.798Z] Login Succeeded [2023-02-14T18:47:23.798Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T18:47:23.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T18:47:23.866Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:47:23.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:47:23.882Z] ========================================================= [2023-02-14T18:47:23.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T18:47:23.882Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:47:24.201Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T18:47:24.201Z] Sending build context to Docker daemon 23.39MB [2023-02-14T18:47:24.201Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:47:24.201Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-14T18:47:24.465Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T18:47:24.465Z] 213ec9aee27d: Pulling fs layer [2023-02-14T18:47:24.465Z] 4583459ba037: Pulling fs layer [2023-02-14T18:47:24.465Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T18:47:24.465Z] 53926ce57604: Pulling fs layer [2023-02-14T18:47:24.465Z] 53926ce57604: Waiting [2023-02-14T18:47:24.465Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T18:47:24.465Z] 22ff95d597cd: Pulling fs layer [2023-02-14T18:47:24.465Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T18:47:24.465Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T18:47:24.465Z] a7acece74701: Pulling fs layer [2023-02-14T18:47:24.465Z] 21b2b0c7a3f4: Waiting [2023-02-14T18:47:24.465Z] 22ff95d597cd: Waiting [2023-02-14T18:47:24.465Z] 12d6caf4c0d1: Waiting [2023-02-14T18:47:24.465Z] a7acece74701: Waiting [2023-02-14T18:47:24.465Z] 93c1e223e6f2: Verifying Checksum [2023-02-14T18:47:24.465Z] 93c1e223e6f2: Download complete [2023-02-14T18:47:24.465Z] 4583459ba037: Verifying Checksum [2023-02-14T18:47:24.465Z] 4583459ba037: Download complete [2023-02-14T18:47:24.465Z] 21b2b0c7a3f4: Download complete [2023-02-14T18:47:24.465Z] 22ff95d597cd: Verifying Checksum [2023-02-14T18:47:24.465Z] 22ff95d597cd: Download complete [2023-02-14T18:47:24.465Z] 213ec9aee27d: Verifying Checksum [2023-02-14T18:47:24.465Z] 213ec9aee27d: Download complete [2023-02-14T18:47:24.465Z] 12d6caf4c0d1: Download complete [2023-02-14T18:47:24.730Z] 213ec9aee27d: Pull complete [2023-02-14T18:47:25.002Z] 4583459ba037: Pull complete [2023-02-14T18:47:25.002Z] 93c1e223e6f2: Pull complete [2023-02-14T18:47:26.021Z] 53926ce57604: Download complete [2023-02-14T18:47:26.021Z] a7acece74701: Verifying Checksum [2023-02-14T18:47:26.021Z] a7acece74701: Download complete [2023-02-14T18:47:26.021Z] 96b7cbca73a9: Verifying Checksum [2023-02-14T18:47:30.243Z] 53926ce57604: Pull complete [2023-02-14T18:47:30.244Z] 21b2b0c7a3f4: Pull complete [2023-02-14T18:47:30.244Z] 22ff95d597cd: Pull complete [2023-02-14T18:47:30.244Z] 12d6caf4c0d1: Pull complete [2023-02-14T18:47:32.773Z] 96b7cbca73a9: Pull complete [2023-02-14T18:47:33.342Z] a7acece74701: Pull complete [2023-02-14T18:47:33.342Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T18:47:33.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T18:47:33.342Z] ---> db6d94c90886 [2023-02-14T18:47:33.342Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T18:47:37.662Z] Still waiting to schedule task [2023-02-14T18:47:37.663Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5856’ is offline [2023-02-14T18:47:45.588Z] ---> Running in 3031a964c068 [2023-02-14T18:47:45.588Z] Removing intermediate container 3031a964c068 [2023-02-14T18:47:45.588Z] ---> 4752029b7599 [2023-02-14T18:47:45.588Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T18:47:45.588Z] ---> Running in 24ae5a105f68 [2023-02-14T18:47:46.546Z] Removing intermediate container 24ae5a105f68 [2023-02-14T18:47:46.546Z] ---> 74bbc01289c3 [2023-02-14T18:47:46.546Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:47:46.806Z] ---> Running in fe129dc234e2 [2023-02-14T18:47:47.742Z] Removing intermediate container fe129dc234e2 [2023-02-14T18:47:47.742Z] ---> 55bbfea8cb6c [2023-02-14T18:47:47.742Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-14T18:47:48.310Z] ---> Running in 54d3ad465bba [2023-02-14T18:47:48.878Z] Removing intermediate container 54d3ad465bba [2023-02-14T18:47:48.878Z] ---> dc3096e8aeea [2023-02-14T18:47:48.878Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:47:49.137Z] ---> Running in 85c44c3a3aae [2023-02-14T18:47:49.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T18:47:51.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T18:47:51.339Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-14T18:47:51.339Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-14T18:47:51.339Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-14T18:47:51.339Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-14T18:47:51.339Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:47:51.339Z] OK: 216 MiB in 55 packages [2023-02-14T18:47:52.299Z] Removing intermediate container 85c44c3a3aae [2023-02-14T18:47:52.299Z] ---> 2810aa1ed3b4 [2023-02-14T18:47:52.299Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-14T18:47:52.299Z] ---> 38b8afde773d [2023-02-14T18:47:52.299Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:47:52.299Z] ---> Running in 44faf2a6fb1e [2023-02-14T18:48:48.999Z] Removing intermediate container 44faf2a6fb1e [2023-02-14T18:48:49.000Z] ---> 274566ac9b2f [2023-02-14T18:48:49.000Z] Step 10/12 : COPY . . [2023-02-14T18:48:49.000Z] ---> e3a1747d2163 [2023-02-14T18:48:49.000Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:48:49.000Z] ---> Running in b8befda063c8 [2023-02-14T18:48:49.000Z] Removing intermediate container b8befda063c8 [2023-02-14T18:48:49.000Z] ---> 6aa47b2d9cee [2023-02-14T18:48:49.000Z] Step 12/12 : RUN $MAKE [2023-02-14T18:48:49.000Z] ---> Running in b647d3c543c9 [2023-02-14T18:48:49.000Z] noop [2023-02-14T18:48:49.000Z] Removing intermediate container b647d3c543c9 [2023-02-14T18:48:49.000Z] ---> 06ec117ea91f [2023-02-14T18:48:49.000Z] Successfully built 06ec117ea91f [2023-02-14T18:48:49.000Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:48:49.316Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T18:48:49.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:48:49.386Z] prd-ubuntu20.04-docker-8c-8g-5857 does not seem to be running inside a container [2023-02-14T18:48:49.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T18:48:49.777Z] $ docker top 7a2a4a2d977d304b358dfc79f29ce7255e3ddbc42ef147d7c750a9d748aa2f2f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:48:50.118Z] + go version [2023-02-14T18:48:50.118Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-14T18:48:50.130Z] $ docker stop --time=1 7a2a4a2d977d304b358dfc79f29ce7255e3ddbc42ef147d7c750a9d748aa2f2f [2023-02-14T18:48:51.435Z] $ docker rm -f --volumes 7a2a4a2d977d304b358dfc79f29ce7255e3ddbc42ef147d7c750a9d748aa2f2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:48:51.850Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T18:48:51.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:48:51.954Z] prd-ubuntu20.04-docker-8c-8g-5857 does not seem to be running inside a container [2023-02-14T18:48:52.036Z] $ 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-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T18:48:52.397Z] $ docker top 2497d24a356796bb9ab2cdb4ce14fb087957a5e26bab81a472a579cc3c46762b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:48:52.750Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-339 [Pipeline] fileExists [Pipeline] sh [2023-02-14T18:48:53.050Z] + make test [2023-02-14T18:48:53.050Z] go test ./... -coverprofile=coverage.out [2023-02-14T18:48:53.309Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-14T18:49:03.287Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-14T18:49:03.287Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2023-02-14T18:49:09.850Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-14T18:49:09.850Z] go vet ./... [2023-02-14T18:49:13.124Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T18:49:13.124Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T18:49:13.124Z] ./bin/test-attribution-txt.sh [2023-02-14T18:49:13.124Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T18:49:13.124Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T18:49:13.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T18:49:13.151Z] $ docker stop --time=1 2497d24a356796bb9ab2cdb4ce14fb087957a5e26bab81a472a579cc3c46762b [2023-02-14T18:49:13.767Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5858 in /w/workspace/foundry_device-virtual-go_PR-339 [2023-02-14T18:49:17.456Z] $ docker rm -f --volumes 2497d24a356796bb9ab2cdb4ce14fb087957a5e26bab81a472a579cc3c46762b [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-02-14T18:49:17.710Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2023-02-14T18:49:17.742Z] The recommended git tool is: git [2023-02-14T18:49:17.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T18:49:18.007Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-14T18:49:18.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T18:49:18.742Z] + ls -al . [2023-02-14T18:49:18.742Z] total 192 [2023-02-14T18:49:18.742Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 18:48 . [2023-02-14T18:49:18.742Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:46 .. [2023-02-14T18:49:18.742Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:49 .git [2023-02-14T18:49:18.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:46 .github [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 14 18:46 .gitignore [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 18:46 .golangci.yml [2023-02-14T18:49:18.743Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 18:47 .semver [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 14 18:46 Attribution.txt [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 14 18:46 CHANGELOG.md [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 14 18:46 Dockerfile [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 18:46 GOVERNANCE.md [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 14 18:46 Jenkinsfile [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 18:46 LICENSE [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 14 18:46 Makefile [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 14 18:46 OWNERS.md [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 14 18:46 README.md [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 18:47 VERSION [2023-02-14T18:49:18.743Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 18:46 bin [2023-02-14T18:49:18.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:46 cmd [2023-02-14T18:49:18.743Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 14 18:49 coverage.out [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 14 18:46 go.mod [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 14 18:46 go.sum [2023-02-14T18:49:18.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:46 internal [2023-02-14T18:49:18.743Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:46 snap [2023-02-14T18:49:18.743Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 14 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:49:19.040Z] + 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=a748b6b7c253edcc529294d5f0d3ad5eededb5cd --label arch=amd64 --label version=0.0.0 . [2023-02-14T18:49:19.040Z] Sending build context to Docker daemon 23.44MB [2023-02-14T18:49:19.040Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:49:19.040Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-14T18:49:19.040Z] ---> 06ec117ea91f [2023-02-14T18:49:19.040Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T18:49:20.010Z] ---> Running in a8be9b629195 [2023-02-14T18:49:20.010Z] Removing intermediate container a8be9b629195 [2023-02-14T18:49:20.010Z] ---> ac36bf8dcaa7 [2023-02-14T18:49:20.010Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T18:49:20.010Z] ---> Running in b02bc879df1a [2023-02-14T18:49:20.010Z] Removing intermediate container b02bc879df1a [2023-02-14T18:49:20.010Z] ---> 962538923f41 [2023-02-14T18:49:20.010Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:49:20.010Z] ---> Running in a7e559b5dcbf [2023-02-14T18:49:20.010Z] Removing intermediate container a7e559b5dcbf [2023-02-14T18:49:20.010Z] ---> 3e287d2a513f [2023-02-14T18:49:20.010Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-14T18:49:20.269Z] ---> Running in 57bb1fd1f074 [2023-02-14T18:49:20.269Z] Removing intermediate container 57bb1fd1f074 [2023-02-14T18:49:20.269Z] ---> f79a7e353697 [2023-02-14T18:49:20.269Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:49:20.269Z] ---> Running in 35b49146a465 [2023-02-14T18:49:20.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T18:49:20.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T18:49:21.044Z] OK: 216 MiB in 55 packages [2023-02-14T18:49:21.303Z] Removing intermediate container 35b49146a465 [2023-02-14T18:49:21.303Z] ---> ead49a56b50a [2023-02-14T18:49:21.303Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-14T18:49:21.909Z] ---> 2a6656ef8adc [2023-02-14T18:49:21.909Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:49:22.168Z] ---> Running in a9bbbe25148c [2023-02-14T18:49:22.691Z] using credential edgex-jenkins-ssh [2023-02-14T18:49:22.710Z] Cloning the remote Git repository [2023-02-14T18:49:23.103Z] Removing intermediate container a9bbbe25148c [2023-02-14T18:49:23.103Z] ---> e5372f0e19a0 [2023-02-14T18:49:23.103Z] Step 10/25 : COPY . . [2023-02-14T18:49:22.746Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-14T18:49:22.816Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2023-02-14T18:49:22.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-14T18:49:22.972Z] > git --version # timeout=10 [2023-02-14T18:49:22.991Z] > git --version # 'git version 2.25.1' [2023-02-14T18:49:22.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T18:49:23.050Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T18:49:24.070Z] ---> ec973a10c828 [2023-02-14T18:49:24.071Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:49:24.071Z] ---> Running in 217c2aa99edc [2023-02-14T18:49:24.329Z] Removing intermediate container 217c2aa99edc [2023-02-14T18:49:24.329Z] ---> f499a09f9486 [2023-02-14T18:49:24.329Z] Step 12/25 : RUN $MAKE [2023-02-14T18:49:24.329Z] ---> Running in 98143be9d83e [2023-02-14T18:49:24.586Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-14T18:49:27.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-14T18:49:27.313Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T18:49:28.856Z] Merging remotes/origin/main commit 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 into PR head commit a748b6b7c253edcc529294d5f0d3ad5eededb5cd [2023-02-14T18:49:29.071Z] Merge succeeded, producing a748b6b7c253edcc529294d5f0d3ad5eededb5cd [2023-02-14T18:49:29.072Z] Checking out Revision a748b6b7c253edcc529294d5f0d3ad5eededb5cd (PR-339) [2023-02-14T18:49:28.141Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-14T18:49:28.183Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-14T18:49:28.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T18:49:28.201Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-14T18:49:28.873Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T18:49:28.887Z] > git checkout -f a748b6b7c253edcc529294d5f0d3ad5eededb5cd # timeout=10 [2023-02-14T18:49:28.974Z] > git remote # timeout=10 [2023-02-14T18:49:28.993Z] > git config --get remote.origin.url # timeout=10 [2023-02-14T18:49:29.010Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T18:49:29.025Z] > git merge 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 [2023-02-14T18:49:29.050Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-14T18:49:29.076Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T18:49:29.089Z] > git checkout -f a748b6b7c253edcc529294d5f0d3ad5eededb5cd # timeout=10 [2023-02-14T18:49:32.559Z] Commit message: "fix: address pr comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T18:49:33.545Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-14T18:49:33.545Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T18:49:33.545Z] Dload Upload Total Spent Left Speed [2023-02-14T18:49:33.546Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh [2023-02-14T18:49:34.193Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-14T18:49:34.532Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-14T18:49:34.532Z] + sudo tee /etc/docker/daemon.new [2023-02-14T18:49:34.532Z] { [2023-02-14T18:49:34.532Z] "registry-mirrors": [ [2023-02-14T18:49:34.532Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-14T18:49:34.532Z] ], [2023-02-14T18:49:34.532Z] "bip": "10.250.0.254/24", [2023-02-14T18:49:34.532Z] "hosts": [ [2023-02-14T18:49:34.532Z] "tcp://0.0.0.0:5555", [2023-02-14T18:49:34.532Z] "unix:///var/run/docker.sock" [2023-02-14T18:49:34.532Z] ], [2023-02-14T18:49:34.532Z] "mtu": 1458, [2023-02-14T18:49:34.532Z] "selinux-enabled": true, [2023-02-14T18:49:34.532Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-14T18:49:34.532Z] } [Pipeline] sh [2023-02-14T18:49:34.863Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-14T18:49:35.196Z] + sudo service docker restart [2023-02-14T18:49:51.207Z] Removing intermediate container 98143be9d83e [2023-02-14T18:49:51.207Z] ---> a758a26de263 [2023-02-14T18:49:51.207Z] Step 13/25 : FROM alpine:3.16 [2023-02-14T18:49:52.150Z] 3.16: Pulling from library/alpine [2023-02-14T18:49:52.150Z] ef5531b6e74e: Pulling fs layer [2023-02-14T18:49:52.408Z] ef5531b6e74e: Verifying Checksum [2023-02-14T18:49:52.408Z] ef5531b6e74e: Download complete [2023-02-14T18:49:52.975Z] ef5531b6e74e: Pull complete [2023-02-14T18:49:52.975Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T18:49:52.975Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T18:49:52.975Z] ---> dfd21b5a31f5 [2023-02-14T18:49:52.975Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:49:53.468Z] provisioning config files... [2023-02-14T18:49:53.499Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config13955740405700422196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:49:53.543Z] ---> Running in 850f53ccb874 [2023-02-14T18:49:53.543Z] Removing intermediate container 850f53ccb874 [2023-02-14T18:49:53.543Z] ---> 8e201854d57b [2023-02-14T18:49:53.543Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-14T18:49:53.804Z] ---> Running in f61b78c1bf86 [2023-02-14T18:49:53.850Z] ---> docker-login.sh [2023-02-14T18:49:53.850Z] nexus3.edgexfoundry.org:10001 [2023-02-14T18:49:54.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T18:49:54.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:49:54.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:49:54.438Z] Configure a credential helper to remove this warning. See [2023-02-14T18:49:54.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:49:54.438Z] [2023-02-14T18:49:54.438Z] Login Succeeded [2023-02-14T18:49:54.438Z] nexus3.edgexfoundry.org:10002 [2023-02-14T18:49:54.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T18:49:54.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:49:54.921Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-14T18:49:54.921Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:49:54.921Z] OK: 6 MiB in 15 packages [2023-02-14T18:49:54.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:49:54.977Z] Configure a credential helper to remove this warning. See [2023-02-14T18:49:54.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:49:54.977Z] [2023-02-14T18:49:54.977Z] Login Succeeded [2023-02-14T18:49:54.977Z] nexus3.edgexfoundry.org:10003 [2023-02-14T18:49:54.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:49:55.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:49:55.246Z] Configure a credential helper to remove this warning. See [2023-02-14T18:49:55.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:49:55.246Z] [2023-02-14T18:49:55.246Z] Login Succeeded [2023-02-14T18:49:55.246Z] nexus3.edgexfoundry.org:10004 [2023-02-14T18:49:55.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:49:55.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:49:55.521Z] Configure a credential helper to remove this warning. See [2023-02-14T18:49:55.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:49:55.521Z] [2023-02-14T18:49:55.521Z] Login Succeeded [2023-02-14T18:49:55.521Z] docker.io [2023-02-14T18:49:55.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:49:55.866Z] Removing intermediate container f61b78c1bf86 [2023-02-14T18:49:55.866Z] ---> 5cc936c0d616 [2023-02-14T18:49:55.866Z] Step 16/25 : WORKDIR / [2023-02-14T18:49:55.866Z] ---> Running in 621212e4ec3d [2023-02-14T18:49:55.866Z] Removing intermediate container 621212e4ec3d [2023-02-14T18:49:55.866Z] ---> f0f106267141 [2023-02-14T18:49:55.866Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-14T18:49:56.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:49:56.058Z] Configure a credential helper to remove this warning. See [2023-02-14T18:49:56.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:49:56.058Z] [2023-02-14T18:49:56.058Z] Login Succeeded [2023-02-14T18:49:56.058Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T18:49:56.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-02-14T18:49:56.126Z] ---> 9a86f0ff81b4 [2023-02-14T18:49:56.126Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-14T18:49:56.126Z] ---> 15409e6261a8 [2023-02-14T18:49:56.126Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [Pipeline] echo [2023-02-14T18:49:56.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:49:56.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:49:56.331Z] ========================================================= [2023-02-14T18:49:56.331Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-14T18:49:56.331Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:49:56.668Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T18:49:56.939Z] Sending build context to Docker daemon 11.86MB [2023-02-14T18:49:56.939Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:49:56.939Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-14T18:49:57.211Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-14T18:49:57.212Z] 9b18e9b68314: Pulling fs layer [2023-02-14T18:49:57.212Z] 35d82f9e3411: Pulling fs layer [2023-02-14T18:49:57.212Z] e16973657156: Pulling fs layer [2023-02-14T18:49:57.212Z] fc693d55d65f: Pulling fs layer [2023-02-14T18:49:57.212Z] 7e9fc2657dce: Pulling fs layer [2023-02-14T18:49:57.212Z] dda99020689f: Pulling fs layer [2023-02-14T18:49:57.212Z] db1c61fa0a46: Pulling fs layer [2023-02-14T18:49:57.212Z] 891c053d2c06: Pulling fs layer [2023-02-14T18:49:57.212Z] fc693d55d65f: Waiting [2023-02-14T18:49:57.212Z] db1c61fa0a46: Waiting [2023-02-14T18:49:57.212Z] 891c053d2c06: Waiting [2023-02-14T18:49:57.212Z] dda99020689f: Waiting [2023-02-14T18:49:57.212Z] 7e9fc2657dce: Waiting [2023-02-14T18:49:57.212Z] e16973657156: Verifying Checksum [2023-02-14T18:49:57.212Z] e16973657156: Download complete [2023-02-14T18:49:57.212Z] 35d82f9e3411: Download complete [2023-02-14T18:49:57.212Z] 7e9fc2657dce: Verifying Checksum [2023-02-14T18:49:57.212Z] 7e9fc2657dce: Download complete [2023-02-14T18:49:57.212Z] dda99020689f: Verifying Checksum [2023-02-14T18:49:57.212Z] dda99020689f: Download complete [2023-02-14T18:49:57.212Z] 9b18e9b68314: Verifying Checksum [2023-02-14T18:49:57.212Z] 9b18e9b68314: Download complete [2023-02-14T18:49:57.504Z] ---> 1e9fb0e03416 [2023-02-14T18:49:57.505Z] Step 20/25 : EXPOSE 59900 [2023-02-14T18:49:57.505Z] ---> Running in 148a007d7f2d [2023-02-14T18:49:57.505Z] Removing intermediate container 148a007d7f2d [2023-02-14T18:49:57.505Z] ---> 5e884b4cca75 [2023-02-14T18:49:57.505Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-14T18:49:57.505Z] ---> Running in 6520ffe0d6c5 [2023-02-14T18:49:57.505Z] Removing intermediate container 6520ffe0d6c5 [2023-02-14T18:49:57.505Z] ---> de5a25c5e46e [2023-02-14T18:49:57.505Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T18:49:57.505Z] ---> Running in f33532a55e87 [2023-02-14T18:49:57.505Z] Removing intermediate container f33532a55e87 [2023-02-14T18:49:57.505Z] ---> db62178a020e [2023-02-14T18:49:57.505Z] Step 23/25 : LABEL arch=amd64 [2023-02-14T18:49:57.505Z] ---> Running in 93c21a765777 [2023-02-14T18:49:57.765Z] Removing intermediate container 93c21a765777 [2023-02-14T18:49:57.765Z] ---> 09ab03559a36 [2023-02-14T18:49:57.765Z] Step 24/25 : LABEL git_sha=a748b6b7c253edcc529294d5f0d3ad5eededb5cd [2023-02-14T18:49:57.765Z] ---> Running in 725ba416fbdb [2023-02-14T18:49:57.765Z] Removing intermediate container 725ba416fbdb [2023-02-14T18:49:57.765Z] ---> 022248f0c94a [2023-02-14T18:49:57.765Z] Step 25/25 : LABEL version=0.0.0 [2023-02-14T18:49:57.765Z] ---> Running in a52efc4f9848 [2023-02-14T18:49:57.765Z] Removing intermediate container a52efc4f9848 [2023-02-14T18:49:57.765Z] ---> d98d86b87928 [2023-02-14T18:49:57.765Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T18:49:58.026Z] Successfully built d98d86b87928 [2023-02-14T18:49:58.026Z] 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] { [2023-02-14T18:49:58.191Z] 9b18e9b68314: Pull complete [2023-02-14T18:49:58.191Z] 891c053d2c06: Verifying Checksum [2023-02-14T18:49:58.191Z] 891c053d2c06: Download complete [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:49:58.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:49:58.502Z] [2023-02-14T18:49:58.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:49:58.783Z] 35d82f9e3411: Pull complete [2023-02-14T18:49:58.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:49:58.812Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-14T18:49:58.812Z] 5eb5b503b376: Pulling fs layer [2023-02-14T18:49:58.812Z] 5c69ac0246d0: Pulling fs layer [2023-02-14T18:49:58.812Z] ec43610c2a17: Pulling fs layer [2023-02-14T18:49:58.812Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-14T18:49:58.812Z] 33b1e0a273af: Pulling fs layer [2023-02-14T18:49:58.812Z] 5d3b04190fa2: Pulling fs layer [2023-02-14T18:49:58.812Z] 2f39f015ded8: Pulling fs layer [2023-02-14T18:49:58.812Z] 33b1e0a273af: Waiting [2023-02-14T18:49:58.812Z] 5d3b04190fa2: Waiting [2023-02-14T18:49:58.812Z] 3a2ae6a8a46f: Waiting [2023-02-14T18:49:58.812Z] 5c69ac0246d0: Download complete [2023-02-14T18:49:58.812Z] 3a2ae6a8a46f: Download complete [2023-02-14T18:49:59.061Z] e16973657156: Pull complete [2023-02-14T18:49:59.074Z] 33b1e0a273af: Verifying Checksum [2023-02-14T18:49:59.074Z] 33b1e0a273af: Download complete [2023-02-14T18:49:59.074Z] 5d3b04190fa2: Verifying Checksum [2023-02-14T18:49:59.074Z] 5d3b04190fa2: Download complete [2023-02-14T18:49:59.074Z] ec43610c2a17: Verifying Checksum [2023-02-14T18:49:59.074Z] ec43610c2a17: Download complete [2023-02-14T18:49:59.335Z] 5eb5b503b376: Download complete [2023-02-14T18:49:59.659Z] db1c61fa0a46: Verifying Checksum [2023-02-14T18:49:59.659Z] db1c61fa0a46: Download complete [2023-02-14T18:49:59.911Z] 2f39f015ded8: Download complete [2023-02-14T18:49:59.929Z] fc693d55d65f: Verifying Checksum [2023-02-14T18:49:59.929Z] fc693d55d65f: Download complete [2023-02-14T18:50:00.856Z] 5eb5b503b376: Pull complete [2023-02-14T18:50:00.856Z] 5c69ac0246d0: Pull complete [2023-02-14T18:50:01.426Z] ec43610c2a17: Pull complete [2023-02-14T18:50:01.685Z] 3a2ae6a8a46f: Pull complete [2023-02-14T18:50:01.943Z] 33b1e0a273af: Pull complete [2023-02-14T18:50:01.943Z] 5d3b04190fa2: Pull complete [2023-02-14T18:50:07.209Z] 2f39f015ded8: Pull complete [2023-02-14T18:50:07.209Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-14T18:50:07.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:50:07.209Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:50:07.299Z] prd-ubuntu20.04-docker-8c-8g-5857 does not seem to be running inside a container [2023-02-14T18:50:07.336Z] $ 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-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T18:50:12.254Z] fc693d55d65f: Pull complete [2023-02-14T18:50:12.255Z] 7e9fc2657dce: Pull complete [2023-02-14T18:50:12.255Z] dda99020689f: Pull complete [2023-02-14T18:50:16.964Z] $ docker top eb59d631096b23f38207024d3e4402d7de9a2ff1629da43911ef9e5c22292c1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:50:17.339Z] ---> job-cost.sh [2023-02-14T18:50:17.339Z] lf-activate-venv: SKIPPING [2023-02-14T18:50:17.339Z] INFO: No Stack... [2023-02-14T18:50:17.628Z] db1c61fa0a46: Pull complete [2023-02-14T18:50:20.234Z] 891c053d2c06: Pull complete [2023-02-14T18:50:20.234Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-14T18:50:20.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-14T18:50:20.234Z] ---> f96f9c87975a [2023-02-14T18:50:20.234Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T18:50:21.534Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T18:50:21.535Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T18:50:21.828Z] + cat /w/workspace/foundry_device-virtual-go_PR-339/archives/cost.csv [2023-02-14T18:50:21.828Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T18:50:21.843Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] [2023-02-14T18:50:21.852Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] did not exist. Created. [2023-02-14T18:50:21.852Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T18:50:22.155Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-14T18:50:22.176Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T18:50:22.182Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] [2023-02-14T18:50:22.187Z] ---> Running in 05d91ba26d9b [Pipeline] // lock [Pipeline] } [2023-02-14T18:50:22.203Z] $ docker stop --time=1 eb59d631096b23f38207024d3e4402d7de9a2ff1629da43911ef9e5c22292c1a [2023-02-14T18:50:22.454Z] Removing intermediate container 05d91ba26d9b [2023-02-14T18:50:22.454Z] ---> 41ca3b4bd4a5 [2023-02-14T18:50:22.454Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T18:50:22.454Z] ---> Running in 7583a228ab02 [2023-02-14T18:50:22.723Z] Removing intermediate container 7583a228ab02 [2023-02-14T18:50:22.723Z] ---> 87ce7cd42b93 [2023-02-14T18:50:22.723Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:50:22.992Z] ---> Running in f1a20619cf39 [2023-02-14T18:50:23.258Z] Removing intermediate container f1a20619cf39 [2023-02-14T18:50:23.258Z] ---> 16aaf7396a13 [2023-02-14T18:50:23.258Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-14T18:50:23.258Z] ---> Running in 57782e2a5386 [2023-02-14T18:50:23.527Z] Removing intermediate container 57782e2a5386 [2023-02-14T18:50:23.527Z] ---> 9e9da154ef4f [2023-02-14T18:50:23.527Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:50:23.542Z] $ docker rm -f --volumes eb59d631096b23f38207024d3e4402d7de9a2ff1629da43911ef9e5c22292c1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-14T18:50:23.796Z] ---> Running in 0433a26254a5 [2023-02-14T18:50:24.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T18:50:25.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T18:50:25.986Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-14T18:50:25.986Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-14T18:50:25.986Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-14T18:50:25.986Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-14T18:50:25.986Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:50:26.255Z] OK: 226 MiB in 55 packages [2023-02-14T18:50:27.230Z] Removing intermediate container 0433a26254a5 [2023-02-14T18:50:27.230Z] ---> fa2dc67bacb4 [2023-02-14T18:50:27.230Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-14T18:50:27.817Z] ---> d9bc7980437a [2023-02-14T18:50:27.817Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:50:27.817Z] ---> Running in fc533fa88a29 [2023-02-14T18:51:49.477Z] Removing intermediate container fc533fa88a29 [2023-02-14T18:51:49.477Z] ---> a34f04e8c55d [2023-02-14T18:51:49.477Z] Step 10/12 : COPY . . [2023-02-14T18:51:49.477Z] ---> 985332520ca8 [2023-02-14T18:51:49.477Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:51:49.477Z] ---> Running in 35691ed130d6 [2023-02-14T18:51:49.477Z] Removing intermediate container 35691ed130d6 [2023-02-14T18:51:49.477Z] ---> 47b6efbbb916 [2023-02-14T18:51:49.477Z] Step 12/12 : RUN $MAKE [2023-02-14T18:51:49.477Z] ---> Running in fb7775d89fbb [2023-02-14T18:51:49.477Z] noop [2023-02-14T18:51:49.477Z] Removing intermediate container fb7775d89fbb [2023-02-14T18:51:49.477Z] ---> b30b7050af82 [2023-02-14T18:51:49.477Z] Successfully built b30b7050af82 [2023-02-14T18:51:49.477Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:51:49.834Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T18:51:49.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:51:50.026Z] prd-ubuntu20.04-docker-arm64-4c-16g-5858 does not seem to be running inside a container [2023-02-14T18:51:50.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-14T18:51:51.239Z] $ docker top 7006f2f301754d0eeb6a89b03e68758e9482f590c0cf9123c810cc6f1f1f95b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:51:52.054Z] + go version [2023-02-14T18:51:52.054Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-14T18:51:52.066Z] $ docker stop --time=1 7006f2f301754d0eeb6a89b03e68758e9482f590c0cf9123c810cc6f1f1f95b5 [2023-02-14T18:51:53.696Z] $ docker rm -f --volumes 7006f2f301754d0eeb6a89b03e68758e9482f590c0cf9123c810cc6f1f1f95b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:51:54.235Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T18:51:54.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:51:54.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-5858 does not seem to be running inside a container [2023-02-14T18:51:54.462Z] $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-14T18:51:55.541Z] $ docker top 8526a38b4b5ebb0b3ed40ba8ff44789c47f092e62dbf5807163c367e9b73a297 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:51:56.043Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh [2023-02-14T18:51:56.376Z] + make test [2023-02-14T18:51:56.376Z] go test ./... -coverprofile=coverage.out [2023-02-14T18:51:58.320Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-14T18:53:19.958Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-14T18:53:19.959Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.127s coverage: 65.7% of statements [2023-02-14T18:53:19.959Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-14T18:53:19.959Z] go vet ./... [2023-02-14T18:53:34.955Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T18:53:34.955Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T18:53:34.955Z] ./bin/test-attribution-txt.sh [2023-02-14T18:53:34.955Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T18:53:34.955Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T18:53:34.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T18:53:35.003Z] $ docker stop --time=1 8526a38b4b5ebb0b3ed40ba8ff44789c47f092e62dbf5807163c367e9b73a297 [2023-02-14T18:53:36.807Z] $ docker rm -f --volumes 8526a38b4b5ebb0b3ed40ba8ff44789c47f092e62dbf5807163c367e9b73a297 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T18:53:37.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T18:53:37.770Z] Warning: overwriting stash ‘coverage-report’ [2023-02-14T18:53:38.257Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T18:53:38.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T18:53:38.966Z] + ls -al . [2023-02-14T18:53:38.966Z] total 188 [2023-02-14T18:53:38.966Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:51 . [2023-02-14T18:53:38.966Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:49 .. [2023-02-14T18:53:38.966Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:49 .git [2023-02-14T18:53:38.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:49 .github [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 14 18:49 .gitignore [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 18:49 .golangci.yml [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 14 18:49 Attribution.txt [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 14 18:49 CHANGELOG.md [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 14 18:49 Dockerfile [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 18:49 GOVERNANCE.md [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 14 18:49 Jenkinsfile [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 18:49 LICENSE [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 14 18:49 Makefile [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 14 18:49 OWNERS.md [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 14 18:49 README.md [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 18:47 VERSION [2023-02-14T18:53:38.966Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 18:49 bin [2023-02-14T18:53:38.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:49 cmd [2023-02-14T18:53:38.966Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 14 18:53 coverage.out [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 14 18:49 go.mod [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 14 18:49 go.sum [2023-02-14T18:53:38.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:49 internal [2023-02-14T18:53:38.966Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:49 snap [2023-02-14T18:53:38.966Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 14 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:53:39.311Z] + 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=a748b6b7c253edcc529294d5f0d3ad5eededb5cd --label arch=arm64 --label version=0.0.0 . [2023-02-14T18:53:39.579Z] Sending build context to Docker daemon 11.9MB [2023-02-14T18:53:39.847Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:53:39.847Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-14T18:53:39.847Z] ---> b30b7050af82 [2023-02-14T18:53:39.847Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T18:53:39.847Z] ---> Running in 19b313cfa84d [2023-02-14T18:53:40.114Z] Removing intermediate container 19b313cfa84d [2023-02-14T18:53:40.114Z] ---> a0169904fe09 [2023-02-14T18:53:40.114Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T18:53:40.381Z] ---> Running in 31f7f702291c [2023-02-14T18:53:40.647Z] Removing intermediate container 31f7f702291c [2023-02-14T18:53:40.647Z] ---> a8e8da7c3014 [2023-02-14T18:53:40.647Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:53:40.647Z] ---> Running in f3ea42764083 [2023-02-14T18:53:40.922Z] Removing intermediate container f3ea42764083 [2023-02-14T18:53:40.922Z] ---> 51b2080bc11a [2023-02-14T18:53:40.922Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-14T18:53:40.922Z] ---> Running in 4e5f0ef3505e [2023-02-14T18:53:41.506Z] Removing intermediate container 4e5f0ef3505e [2023-02-14T18:53:41.506Z] ---> acb97c6e8f73 [2023-02-14T18:53:41.506Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:53:41.506Z] ---> Running in 67c5eaf66075 [2023-02-14T18:53:42.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T18:53:42.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T18:53:43.696Z] OK: 226 MiB in 55 packages [2023-02-14T18:53:45.641Z] Removing intermediate container 67c5eaf66075 [2023-02-14T18:53:45.641Z] ---> 92faea5e292d [2023-02-14T18:53:45.641Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-14T18:53:46.226Z] ---> 7c350eac96a7 [2023-02-14T18:53:46.226Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:53:46.495Z] ---> Running in 9d407e867962 [2023-02-14T18:53:49.980Z] Removing intermediate container 9d407e867962 [2023-02-14T18:53:49.980Z] ---> 7669d31380c7 [2023-02-14T18:53:49.980Z] Step 10/25 : COPY . . [2023-02-14T18:53:50.611Z] ---> bfca335b9846 [2023-02-14T18:53:50.611Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:53:50.893Z] ---> Running in 9b7ff5b78e82 [2023-02-14T18:53:51.167Z] Removing intermediate container 9b7ff5b78e82 [2023-02-14T18:53:51.167Z] ---> 8cdf59a44522 [2023-02-14T18:53:51.167Z] Step 12/25 : RUN $MAKE [2023-02-14T18:53:51.167Z] ---> Running in c2cbee06aae7 [2023-02-14T18:53:52.145Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-14T18:56:01.554Z] Removing intermediate container c2cbee06aae7 [2023-02-14T18:56:01.554Z] ---> 0bbc29ad2898 [2023-02-14T18:56:01.554Z] Step 13/25 : FROM alpine:3.16 [2023-02-14T18:56:01.554Z] 3.16: Pulling from library/alpine [2023-02-14T18:56:01.554Z] 3760b48202b3: Pulling fs layer [2023-02-14T18:56:01.554Z] 3760b48202b3: Verifying Checksum [2023-02-14T18:56:01.554Z] 3760b48202b3: Download complete [2023-02-14T18:56:01.554Z] 3760b48202b3: Pull complete [2023-02-14T18:56:01.554Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T18:56:01.554Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T18:56:01.554Z] ---> 4c81e5bf8899 [2023-02-14T18:56:01.554Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-14T18:56:01.554Z] ---> Running in 076514a8199b [2023-02-14T18:56:01.554Z] Removing intermediate container 076514a8199b [2023-02-14T18:56:01.554Z] ---> 6dc3db4dd0e7 [2023-02-14T18:56:01.554Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-14T18:56:01.554Z] ---> Running in 2223659ee843 [2023-02-14T18:56:01.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T18:56:01.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T18:56:01.554Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-14T18:56:01.554Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:56:01.554Z] OK: 5 MiB in 15 packages [2023-02-14T18:56:01.554Z] Removing intermediate container 2223659ee843 [2023-02-14T18:56:01.554Z] ---> a9c7379e999f [2023-02-14T18:56:01.554Z] Step 16/25 : WORKDIR / [2023-02-14T18:56:01.554Z] ---> Running in d7019fb096fe [2023-02-14T18:56:01.554Z] Removing intermediate container d7019fb096fe [2023-02-14T18:56:01.554Z] ---> 0aa80acd20f4 [2023-02-14T18:56:01.554Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-14T18:56:01.554Z] ---> 06d8957ae822 [2023-02-14T18:56:01.554Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-14T18:56:01.554Z] ---> d14fed5fe1bf [2023-02-14T18:56:01.554Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-14T18:56:02.136Z] ---> bc5bb775d61e [2023-02-14T18:56:02.136Z] Step 20/25 : EXPOSE 59900 [2023-02-14T18:56:02.136Z] ---> Running in 27d682fe96b0 [2023-02-14T18:56:02.402Z] Removing intermediate container 27d682fe96b0 [2023-02-14T18:56:02.402Z] ---> 923e838de08e [2023-02-14T18:56:02.402Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-14T18:56:02.402Z] ---> Running in d08cae044946 [2023-02-14T18:56:02.669Z] Removing intermediate container d08cae044946 [2023-02-14T18:56:02.669Z] ---> fc30a938bb86 [2023-02-14T18:56:02.669Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T18:56:02.669Z] ---> Running in f3154b329a22 [2023-02-14T18:56:05.623Z] Removing intermediate container f3154b329a22 [2023-02-14T18:56:05.623Z] ---> f6aef45a0c29 [2023-02-14T18:56:05.623Z] Step 23/25 : LABEL arch=arm64 [2023-02-14T18:56:05.623Z] ---> Running in ad5d852a9d52 [2023-02-14T18:56:05.623Z] Removing intermediate container ad5d852a9d52 [2023-02-14T18:56:05.623Z] ---> 51ebc2202f31 [2023-02-14T18:56:05.623Z] Step 24/25 : LABEL git_sha=a748b6b7c253edcc529294d5f0d3ad5eededb5cd [2023-02-14T18:56:05.623Z] ---> Running in e83b5be6c78f [2023-02-14T18:56:05.623Z] Removing intermediate container e83b5be6c78f [2023-02-14T18:56:05.623Z] ---> 854eaf500d8c [2023-02-14T18:56:05.623Z] Step 25/25 : LABEL version=0.0.0 [2023-02-14T18:56:05.623Z] ---> Running in 6c7d2702e99a [2023-02-14T18:56:05.623Z] Removing intermediate container 6c7d2702e99a [2023-02-14T18:56:05.623Z] ---> 067e87b56080 [2023-02-14T18:56:05.623Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T18:56:05.623Z] Successfully built 067e87b56080 [2023-02-14T18:56:05.623Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:56:06.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T18:56:06.088Z] [2023-02-14T18:56:06.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:56:06.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T18:56:06.416Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-14T18:56:06.416Z] 8998bd30e6a1: Pulling fs layer [2023-02-14T18:56:06.416Z] 04944245beec: Pulling fs layer [2023-02-14T18:56:06.416Z] 699f458cf7ca: Pulling fs layer [2023-02-14T18:56:06.416Z] 765212b225bb: Pulling fs layer [2023-02-14T18:56:06.416Z] f23df028b6ca: Pulling fs layer [2023-02-14T18:56:06.416Z] d65c8cfc05b1: Pulling fs layer [2023-02-14T18:56:06.416Z] 2437ff75d9bd: Pulling fs layer [2023-02-14T18:56:06.416Z] 765212b225bb: Waiting [2023-02-14T18:56:06.416Z] f23df028b6ca: Waiting [2023-02-14T18:56:06.416Z] 2437ff75d9bd: Waiting [2023-02-14T18:56:06.416Z] d65c8cfc05b1: Waiting [2023-02-14T18:56:06.688Z] 04944245beec: Verifying Checksum [2023-02-14T18:56:06.688Z] 04944245beec: Download complete [2023-02-14T18:56:06.688Z] 765212b225bb: Verifying Checksum [2023-02-14T18:56:06.688Z] 765212b225bb: Download complete [2023-02-14T18:56:06.688Z] f23df028b6ca: Verifying Checksum [2023-02-14T18:56:06.688Z] f23df028b6ca: Download complete [2023-02-14T18:56:06.688Z] d65c8cfc05b1: Verifying Checksum [2023-02-14T18:56:06.688Z] d65c8cfc05b1: Download complete [2023-02-14T18:56:06.955Z] 699f458cf7ca: Verifying Checksum [2023-02-14T18:56:06.955Z] 699f458cf7ca: Download complete [2023-02-14T18:56:07.221Z] 8998bd30e6a1: Verifying Checksum [2023-02-14T18:56:07.221Z] 8998bd30e6a1: Download complete [2023-02-14T18:56:09.161Z] 2437ff75d9bd: Verifying Checksum [2023-02-14T18:56:09.161Z] 2437ff75d9bd: Download complete [2023-02-14T18:56:10.567Z] 8998bd30e6a1: Pull complete [2023-02-14T18:56:11.148Z] 04944245beec: Pull complete [2023-02-14T18:56:12.556Z] 699f458cf7ca: Pull complete [2023-02-14T18:56:12.556Z] 765212b225bb: Pull complete [2023-02-14T18:56:13.515Z] f23df028b6ca: Pull complete [2023-02-14T18:56:13.515Z] d65c8cfc05b1: Pull complete [2023-02-14T18:56:28.505Z] 2437ff75d9bd: Pull complete [2023-02-14T18:56:28.505Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-14T18:56:28.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T18:56:28.505Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:56:28.695Z] prd-ubuntu20.04-docker-arm64-4c-16g-5858 does not seem to be running inside a container [2023-02-14T18:56:28.783Z] $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-14T18:56:31.184Z] $ docker top a02fbcbc21d611770cab195c5247bb7be7a26c58bf01e6b36e9dc08f12ce86c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:56:31.674Z] ---> job-cost.sh [2023-02-14T18:56:31.941Z] lf-activate-venv: SKIPPING [2023-02-14T18:56:31.941Z] INFO: No Stack... [2023-02-14T18:56:33.878Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-14T18:56:34.456Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T18:56:34.772Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [2023-02-14T18:56:34.772Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T18:56:34.842Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] [2023-02-14T18:56:34.849Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] did not exist. Created. [2023-02-14T18:56:34.849Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T18:56:35.194Z] /w/workspace/device-virtual-go/3@tmp/durable-a5a6c844/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-14T18:56:35.846Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-14T18:56:35.870Z] Warning: overwriting stash ‘stack-cost’ [2023-02-14T18:56:35.916Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T18:56:35.923Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T18:56:35.958Z] $ docker stop --time=1 a02fbcbc21d611770cab195c5247bb7be7a26c58bf01e6b36e9dc08f12ce86c1 [2023-02-14T18:56:37.444Z] $ docker rm -f --volumes a02fbcbc21d611770cab195c5247bb7be7a26c58bf01e6b36e9dc08f12ce86c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-14T18:56:37.864Z] provisioning config files... [2023-02-14T18:56:37.872Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config361731313271622507tmp [Pipeline] { [Pipeline] sh [2023-02-14T18:56:38.243Z] + set +x [2023-02-14T18:56:38.243Z] + curl -s https://codecov.io/bash [2023-02-14T18:56:38.243Z] + bash -s -- [2023-02-14T18:56:38.243Z] [2023-02-14T18:56:38.243Z] _____ _ [2023-02-14T18:56:38.243Z] / ____| | | [2023-02-14T18:56:38.243Z] | | ___ __| | ___ ___ _____ __ [2023-02-14T18:56:38.243Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-14T18:56:38.243Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-14T18:56:38.243Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-14T18:56:38.243Z] Bash-1.0.6 [2023-02-14T18:56:38.243Z] [2023-02-14T18:56:38.243Z] [2023-02-14T18:56:38.243Z] ==> git version 2.25.1 found [2023-02-14T18:56:38.243Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-14T18:56:38.243Z] Release-Date: 2020-01-08 [2023-02-14T18:56:38.243Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-14T18:56:38.243Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-14T18:56:38.243Z] ==> Jenkins CI detected. [2023-02-14T18:56:38.243Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-339 [2023-02-14T18:56:38.243Z] project root: . [2023-02-14T18:56:38.243Z] --> token set from env [2023-02-14T18:56:38.243Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-14T18:56:38.243Z] ==> Running gcov in . (disable via -X gcov) [2023-02-14T18:56:38.243Z] ==> Python coveragepy not found [2023-02-14T18:56:38.243Z] ==> Searching for coverage reports in: [2023-02-14T18:56:38.243Z] + . [2023-02-14T18:56:38.502Z] -> Found 1 reports [2023-02-14T18:56:38.502Z] ==> Detecting git/mercurial file structure [2023-02-14T18:56:38.502Z] ==> Reading reports [2023-02-14T18:56:38.502Z] + ./coverage.out bytes=44128 [2023-02-14T18:56:38.502Z] ==> Appending adjustments [2023-02-14T18:56:38.502Z] https://docs.codecov.io/docs/fixing-reports [2023-02-14T18:56:38.502Z] + Found adjustments [2023-02-14T18:56:38.502Z] ==> Gzipping contents [2023-02-14T18:56:38.502Z] 8.0K /tmp/codecov.V3QjoN.gz [2023-02-14T18:56:38.502Z] ==> Uploading reports [2023-02-14T18:56:38.502Z] url: https://codecov.io [2023-02-14T18:56:38.502Z] query: branch=PR-339&commit=a748b6b7c253edcc529294d5f0d3ad5eededb5cd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-339%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=339&job=&cmd_args= [2023-02-14T18:56:38.502Z] -> Pinging Codecov [2023-02-14T18:56:38.502Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-339&commit=a748b6b7c253edcc529294d5f0d3ad5eededb5cd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-339%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=339&job=&cmd_args= [2023-02-14T18:56:38.762Z] -> Uploading to [2023-02-14T18:56:38.762Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-14/5E52B4B073DB2E39498172D8E973AA87/a748b6b7c253edcc529294d5f0d3ad5eededb5cd/dd905c5e-7115-4076-b6e8-16208320e8bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T185638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=890ac6a62a5764366177f19b41f1d876e17264648464700c4df95ab5e094507c [2023-02-14T18:56:38.762Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T18:56:38.762Z] Dload Upload Total Spent Left Speed [2023-02-14T18:56:39.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5459 0 0 100 5459 0 17440 --:--:-- --:--:-- --:--:-- 17440 [2023-02-14T18:56:39.021Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a748b6b7c253edcc529294d5f0d3ad5eededb5cd [Pipeline] } [2023-02-14T18:56:39.029Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-14T18:56:39.793Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-339/archives ] [2023-02-14T18:56:39.793Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-339/archives [2023-02-14T18:56:39.793Z] total 16 [2023-02-14T18:56:39.793Z] drwxr-xr-x 3 root root 4096 Feb 14 18:50 . [2023-02-14T18:56:39.793Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 18:50 .. [2023-02-14T18:56:39.793Z] drwxr-xr-x 2 root root 4096 Feb 14 18:50 cost [2023-02-14T18:56:39.793Z] -rw-r--r-- 1 root root 89 Feb 14 18:50 cost.csv [2023-02-14T18:56:39.793Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-339/archives [2023-02-14T18:56:39.793Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-339/archives [2023-02-14T18:56:39.793Z] total 16 [2023-02-14T18:56:39.793Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 18:50 . [2023-02-14T18:56:39.793Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 18:50 .. [2023-02-14T18:56:39.793Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 18:50 cost [2023-02-14T18:56:39.793Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 14 18:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:56:40.589Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:56:41.526Z] ---> package-listing.sh [2023-02-14T18:56:41.526Z] ++ facter osfamily [2023-02-14T18:56:41.526Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-14T18:56:41.526Z] + OS_FAMILY=debian [2023-02-14T18:56:41.526Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-339 [2023-02-14T18:56:41.526Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-14T18:56:41.526Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-14T18:56:41.526Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-14T18:56:41.526Z] + PACKAGES=/tmp/packages_start.txt [2023-02-14T18:56:41.526Z] + '[' /w/workspace/foundry_device-virtual-go_PR-339 ']' [2023-02-14T18:56:41.526Z] + PACKAGES=/tmp/packages_end.txt [2023-02-14T18:56:41.526Z] + case "${OS_FAMILY}" in [2023-02-14T18:56:41.526Z] + dpkg -l [2023-02-14T18:56:41.526Z] + grep '^ii' [2023-02-14T18:56:41.784Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-14T18:56:41.784Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-14T18:56:41.784Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-14T18:56:41.784Z] + '[' /w/workspace/foundry_device-virtual-go_PR-339 ']' [2023-02-14T18:56:41.784Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-339/archives/ [2023-02-14T18:56:41.784Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-339/archives/ [Pipeline] echo [2023-02-14T18:56:41.795Z] 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-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-14T18:56:42.073Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:56:42.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:56:42.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:56:42.705Z] prd-ubuntu20.04-docker-8c-8g-5857 does not seem to be running inside a container [2023-02-14T18:56:42.732Z] $ 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-339/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-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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-02-14T18:56:45.137Z] $ docker top 1acbd446274420c8f7164148edf41aaa0db51b5af3b271b2fd816b174ce94474 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:56:45.488Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-14T18:56:45.776Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-14T18:56:46.062Z] + ls /var/log/sa-host [2023-02-14T18:56:46.062Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:56:46.203Z] provisioning config files... [2023-02-14T18:56:46.212Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config4812114123882983205tmp [Pipeline] { [Pipeline] echo [2023-02-14T18:56:46.223Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:56:46.508Z] ---> create-netrc.sh [Pipeline] } [2023-02-14T18:56:46.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:56:46.854Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-14T18:56:46.862Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:56:47.141Z] ---> sudo-logs.sh [2023-02-14T18:56:47.141Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-14T18:56:47.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:56:47.457Z] ---> job-cost.sh [2023-02-14T18:56:47.457Z] lf-activate-venv: SKIPPING [2023-02-14T18:56:47.457Z] DEBUG: total: 0.2199999988079071 [2023-02-14T18:56:47.457Z] INFO: Retrieving Stack Cost... [2023-02-14T18:56:47.716Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T18:56:48.303Z] INFO: Archiving Costs [Pipeline] echo [2023-02-14T18:56:48.316Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:56:48.602Z] ---> logs-deploy.sh [2023-02-14T18:56:48.602Z] lf-activate-venv: SKIPPING [2023-02-14T18:56:48.602Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-339/3 [2023-02-14T18:56:48.602Z] INFO: archiving workspace using pattern(s): [2023-02-14T18:56:49.981Z] Archives upload complete. [2023-02-14T18:56:49.981Z] INFO: archiving logs to Nexus [2023-02-14T18:56:50.549Z] ---> uname -a: [2023-02-14T18:56:50.549Z] Linux prd-ubuntu20-04-docker-8c-8g-5857 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-02-14T18:56:50.549Z] [2023-02-14T18:56:50.549Z]