Pull request #338 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 jinlinGuan for edgexfoundry/device-virtual-go Loading trusted files from base branch main at bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 rather than 5351041dac5b69342adc5f304c7234e72385c54e Obtained Jenkinsfile from bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 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-ssh17924437812499699095.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-ssh7208979466453171903.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-338/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-338/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9536168471778759183.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-ssh11997142576911671559.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-338/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-338/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18302059329629094301.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-5494’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5495 in /w/workspace/foundry_device-virtual-go_PR-338 [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-338 # 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 bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 into PR head commit 5351041dac5b69342adc5f304c7234e72385c54e Merge succeeded, producing 5351041dac5b69342adc5f304c7234e72385c54e Checking out Revision 5351041dac5b69342adc5f304c7234e72385c54e (PR-338) > 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/338/head:refs/remotes/origin/PR-338 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5351041dac5b69342adc5f304c7234e72385c54e # 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 bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5351041dac5b69342adc5f304c7234e72385c54e # timeout=10 Commit message: "build(deps)!: bump device-sdk-go and go-mod-core-contracts versions" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T07:18:15.050Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T07:18:15.118Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T07:18:15.138Z] ========================================================= [2023-02-13T07:18:15.138Z] EdgeX Global Pipelines Version Info [2023-02-13T07:18:15.138Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 078c265f9abc1776f984bc8ca80ae715da7e2ec5 # timeout=10 [2023-02-13T07:18:15.847Z] ------------------- [2023-02-13T07:18:15.847Z] stable info: [2023-02-13T07:18:15.847Z] ------------------- [2023-02-13T07:18:15.847Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T07:18:15.847Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T07:18:15.847Z] Message: update stable to v1.0.244 [2023-02-13T07:18:16.422Z] ------------------- [2023-02-13T07:18:16.422Z] experimental info: [2023-02-13T07:18:16.422Z] ------------------- [2023-02-13T07:18:16.422Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T07:18:16.422Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T07:18:16.422Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T07:18:16.584Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-13T07:18:16.595Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-13T07:18:16.606Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T07:18:16.619Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T07:18:16.630Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T07:18:16.642Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T07:18:16.654Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T07:18:16.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-13T07:18:16.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T07:18:16.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T07:18:16.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T07:18:16.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-13T07:18:16.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T07:18:16.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T07:18:16.747Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T07:18:16.758Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T07:18:16.771Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T07:18:16.784Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T07:18:16.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T07:18:16.817Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T07:18:16.831Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-13T07:18:16.842Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-13T07:18:16.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T07:18:16.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T07:18:16.878Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T07:18:16.888Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T07:18:16.899Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T07:18:16.913Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-338 [Pipeline] echo [2023-02-13T07:18:16.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-338 [Pipeline] echo [2023-02-13T07:18:16.939Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-338 [Pipeline] echo [2023-02-13T07:18:16.951Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5351041dac5b69342adc5f304c7234e72385c54e [Pipeline] echo [2023-02-13T07:18:16.962Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5351041 [Pipeline] echo [2023-02-13T07:18:16.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:18:17.030Z] provisioning config files... [2023-02-13T07:18:17.043Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config10901460303608409991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:18:17.348Z] ---> docker-login.sh [2023-02-13T07:18:17.348Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:18:17.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:18:17.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:18:17.610Z] Configure a credential helper to remove this warning. See [2023-02-13T07:18:17.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:18:17.610Z] [2023-02-13T07:18:17.610Z] Login Succeeded [2023-02-13T07:18:17.610Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:18:17.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:18:17.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:18:17.872Z] Configure a credential helper to remove this warning. See [2023-02-13T07:18:17.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:18:17.872Z] [2023-02-13T07:18:17.872Z] Login Succeeded [2023-02-13T07:18:17.872Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:18:17.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:18:17.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:18:17.872Z] Configure a credential helper to remove this warning. See [2023-02-13T07:18:17.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:18:17.872Z] [2023-02-13T07:18:17.872Z] Login Succeeded [2023-02-13T07:18:17.872Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:18:18.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:18:18.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:18:18.139Z] Configure a credential helper to remove this warning. See [2023-02-13T07:18:18.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:18:18.139Z] [2023-02-13T07:18:18.139Z] Login Succeeded [2023-02-13T07:18:18.139Z] docker.io [2023-02-13T07:18:18.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:18:18.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:18:18.400Z] Configure a credential helper to remove this warning. See [2023-02-13T07:18:18.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:18:18.400Z] [2023-02-13T07:18:18.400Z] Login Succeeded [2023-02-13T07:18:18.400Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:18:18.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T07:18:18.790Z] + git rev-list -1 --merges 5351041dac5b69342adc5f304c7234e72385c54e~1..5351041dac5b69342adc5f304c7234e72385c54e [Pipeline] echo [2023-02-13T07:18:18.842Z] -----------> git rev-list -1 --merges 5351041dac5b69342adc5f304c7234e72385c54e~1..5351041dac5b69342adc5f304c7234e72385c54e 5351041dac5b69342adc5f304c7234e72385c54e [false] [Pipeline] sh [2023-02-13T07:18:19.129Z] + git log --format=format:%s -1 5351041dac5b69342adc5f304c7234e72385c54e [Pipeline] echo [2023-02-13T07:18:19.144Z] ========================================================= [2023-02-13T07:18:19.144Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T07:18:19.144Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:18:19.461Z] + git log --format=format:%s -1 5351041dac5b69342adc5f304c7234e72385c54e [Pipeline] echo [2023-02-13T07:18:19.471Z] [semverPrep] GIT_COMMIT: 5351041dac5b69342adc5f304c7234e72385c54e, Commit Message: build(deps)!: bump device-sdk-go and go-mod-core-contracts versions [Pipeline] echo [2023-02-13T07:18:19.480Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T07:18:19.829Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T07:18:19.829Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T07:18:19.829Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T07:18:19.829Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T07:18:19.829Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T07:18:19.829Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T07:18:19.829Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:18:20.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:18:20.288Z] [2023-02-13T07:18:20.288Z] 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-13T07:18:20.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:18:20.592Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T07:18:20.592Z] b85a868b505f: Pulling fs layer [2023-02-13T07:18:20.592Z] e2be974225ed: Pulling fs layer [2023-02-13T07:18:20.592Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T07:18:20.592Z] 988bab9f4d93: Pulling fs layer [2023-02-13T07:18:20.592Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T07:18:20.592Z] eaf3925da568: Pulling fs layer [2023-02-13T07:18:20.592Z] bab4dde63d76: Pulling fs layer [2023-02-13T07:18:20.592Z] bde34c3a00c8: Pulling fs layer [2023-02-13T07:18:20.592Z] b352a97aabf1: Pulling fs layer [2023-02-13T07:18:20.592Z] 4872d77fe225: Pulling fs layer [2023-02-13T07:18:20.592Z] 5851b861e8e6: Pulling fs layer [2023-02-13T07:18:20.592Z] bab4dde63d76: Waiting [2023-02-13T07:18:20.592Z] bde34c3a00c8: Waiting [2023-02-13T07:18:20.592Z] b352a97aabf1: Waiting [2023-02-13T07:18:20.592Z] 4872d77fe225: Waiting [2023-02-13T07:18:20.592Z] 5851b861e8e6: Waiting [2023-02-13T07:18:20.592Z] 988bab9f4d93: Waiting [2023-02-13T07:18:20.592Z] 1469e6f7b9e6: Waiting [2023-02-13T07:18:20.592Z] eaf3925da568: Waiting [2023-02-13T07:18:20.857Z] e2be974225ed: Download complete [2023-02-13T07:18:20.857Z] 988bab9f4d93: Verifying Checksum [2023-02-13T07:18:20.857Z] 988bab9f4d93: Download complete [2023-02-13T07:18:21.124Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T07:18:21.124Z] 1469e6f7b9e6: Download complete [2023-02-13T07:18:21.124Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T07:18:21.124Z] 339a4e72a1f5: Download complete [2023-02-13T07:18:21.124Z] eaf3925da568: Download complete [2023-02-13T07:18:21.124Z] bde34c3a00c8: Verifying Checksum [2023-02-13T07:18:21.124Z] bde34c3a00c8: Download complete [2023-02-13T07:18:21.124Z] b352a97aabf1: Download complete [2023-02-13T07:18:21.124Z] 4872d77fe225: Download complete [2023-02-13T07:18:21.124Z] 5851b861e8e6: Verifying Checksum [2023-02-13T07:18:21.124Z] 5851b861e8e6: Download complete [2023-02-13T07:18:21.386Z] b85a868b505f: Verifying Checksum [2023-02-13T07:18:21.386Z] b85a868b505f: Download complete [2023-02-13T07:18:21.645Z] bab4dde63d76: Verifying Checksum [2023-02-13T07:18:21.645Z] bab4dde63d76: Download complete [2023-02-13T07:18:22.590Z] b85a868b505f: Pull complete [2023-02-13T07:18:22.855Z] e2be974225ed: Pull complete [2023-02-13T07:18:23.458Z] 339a4e72a1f5: Pull complete [2023-02-13T07:18:23.458Z] 988bab9f4d93: Pull complete [2023-02-13T07:18:23.719Z] 1469e6f7b9e6: Pull complete [2023-02-13T07:18:23.719Z] eaf3925da568: Pull complete [2023-02-13T07:18:25.626Z] bab4dde63d76: Pull complete [2023-02-13T07:18:25.626Z] bde34c3a00c8: Pull complete [2023-02-13T07:18:25.626Z] b352a97aabf1: Pull complete [2023-02-13T07:18:25.626Z] 4872d77fe225: Pull complete [2023-02-13T07:18:25.902Z] 5851b861e8e6: Pull complete [2023-02-13T07:18:25.902Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T07:18:25.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:18:25.902Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:18:25.990Z] prd-ubuntu20.04-docker-8c-8g-5495 does not seem to be running inside a container [2023-02-13T07:18:26.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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-13T07:18:29.609Z] $ docker top cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 -eo pid,comm [2023-02-13T07:18:29.668Z] 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-13T07:18:29.668Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T07:18:29.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:18:29.705Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:18:29.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:18:29.806Z] $ docker exec cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 ssh-agent [2023-02-13T07:18:29.903Z] SSH_AUTH_SOCK=/tmp/ssh-5GiB4wclzcmI/agent.32 [2023-02-13T07:18:29.903Z] SSH_AGENT_PID=38 [2023-02-13T07:18:29.908Z] Running ssh-add (command line suppressed) [2023-02-13T07:18:29.999Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_9415096436337851689.key (/w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_9415096436337851689.key) [2023-02-13T07:18:30.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:18:30.300Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T07:18:30.306Z] $ docker exec --env ******** --env ******** cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 ssh-agent -k [2023-02-13T07:18:30.396Z] unset SSH_AUTH_SOCK; [2023-02-13T07:18:30.396Z] unset SSH_AGENT_PID; [2023-02-13T07:18:30.396Z] echo Agent pid 38 killed; [2023-02-13T07:18:30.410Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T07:18:30.433Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:18:30.433Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:18:30.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:18:30.527Z] $ docker exec cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 ssh-agent [2023-02-13T07:18:30.627Z] SSH_AUTH_SOCK=/tmp/ssh-FzvPqn8fVgzn/agent.70 [2023-02-13T07:18:30.627Z] SSH_AGENT_PID=76 [2023-02-13T07:18:30.631Z] Running ssh-add (command line suppressed) [2023-02-13T07:18:30.721Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_8488337097385036743.key (/w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_8488337097385036743.key) [2023-02-13T07:18:30.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:18:31.024Z] + git semver init [2023-02-13T07:18:31.283Z] 2023-02-13 07:18:31,183 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T07:18:31.283Z] 2023-02-13 07:18:31,184 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-338/.semver [2023-02-13T07:18:31.283Z] 2023-02-13 07:18:31,185 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-338/.semver [2023-02-13T07:18:31.283Z] 2023-02-13 07:18:31,185 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-338/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-338, universal_newlines=False, shell=None, istream=None) [2023-02-13T07:18:32.663Z] 2023-02-13 07:18:32,465 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-338/.git/info/exclude [2023-02-13T07:18:32.663Z] 2023-02-13 07:18:32,465 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-338/.semver/PR-338 with force:False [2023-02-13T07:18:32.663Z] 2023-02-13 07:18:32,465 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-338/.semver/PR-338 [2023-02-13T07:18:32.663Z] 2023-02-13 07:18:32,469 [execute] INFO git cat-file --batch-check [2023-02-13T07:18:32.663Z] 2023-02-13 07:18:32,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-338/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T07:18:32.663Z] 2023-02-13 07:18:32,475 [execute] INFO git cat-file --batch [2023-02-13T07:18:32.663Z] 2023-02-13 07:18:32,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-338/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T07:18:32.663Z] 2023-02-13 07:18:32,480 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-338/.semver/PR-338 [2023-02-13T07:18:32.663Z] 0.0.0 [Pipeline] } [2023-02-13T07:18:32.670Z] $ docker exec --env ******** --env ******** cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 ssh-agent -k [2023-02-13T07:18:32.766Z] unset SSH_AUTH_SOCK; [2023-02-13T07:18:32.767Z] unset SSH_AGENT_PID; [2023-02-13T07:18:32.767Z] echo Agent pid 76 killed; [2023-02-13T07:18:32.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T07:18:33.097Z] + git semver [Pipeline] } [2023-02-13T07:18:33.369Z] $ docker stop --time=1 cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 [2023-02-13T07:18:34.677Z] $ docker rm -f --volumes cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:18:35.022Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T07:18:35.232Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T07:18:35.236Z] [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-13T07:18:35.377Z] provisioning config files... [2023-02-13T07:18:35.385Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config14363185832440662134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:18:35.680Z] ---> docker-login.sh [2023-02-13T07:18:35.680Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:18:35.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:18:35.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:18:35.680Z] Configure a credential helper to remove this warning. See [2023-02-13T07:18:35.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:18:35.680Z] [2023-02-13T07:18:35.680Z] Login Succeeded [2023-02-13T07:18:35.680Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:18:35.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:18:35.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:18:35.680Z] Configure a credential helper to remove this warning. See [2023-02-13T07:18:35.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:18:35.680Z] [2023-02-13T07:18:35.680Z] Login Succeeded [2023-02-13T07:18:35.680Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:18:35.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:18:35.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:18:35.943Z] Configure a credential helper to remove this warning. See [2023-02-13T07:18:35.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:18:35.943Z] [2023-02-13T07:18:35.943Z] Login Succeeded [2023-02-13T07:18:35.943Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:18:35.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:18:35.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:18:35.943Z] Configure a credential helper to remove this warning. See [2023-02-13T07:18:35.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:18:35.943Z] [2023-02-13T07:18:35.943Z] Login Succeeded [2023-02-13T07:18:35.943Z] docker.io [2023-02-13T07:18:36.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:18:36.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:18:36.204Z] Configure a credential helper to remove this warning. See [2023-02-13T07:18:36.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:18:36.204Z] [2023-02-13T07:18:36.204Z] Login Succeeded [2023-02-13T07:18:36.204Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:18:36.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T07:18:36.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:18:36.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:18:36.285Z] ========================================================= [2023-02-13T07:18:36.285Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T07:18:36.285Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:18:36.608Z] + 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-13T07:18:36.608Z] Sending build context to Docker daemon 23.38MB [2023-02-13T07:18:36.608Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:18:36.608Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-13T07:18:36.866Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T07:18:36.866Z] 213ec9aee27d: Pulling fs layer [2023-02-13T07:18:36.866Z] 4583459ba037: Pulling fs layer [2023-02-13T07:18:36.866Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T07:18:36.866Z] 53926ce57604: Pulling fs layer [2023-02-13T07:18:36.866Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T07:18:36.866Z] 22ff95d597cd: Pulling fs layer [2023-02-13T07:18:36.866Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T07:18:36.866Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T07:18:36.866Z] a7acece74701: Pulling fs layer [2023-02-13T07:18:36.866Z] 53926ce57604: Waiting [2023-02-13T07:18:36.866Z] 12d6caf4c0d1: Waiting [2023-02-13T07:18:36.866Z] 96b7cbca73a9: Waiting [2023-02-13T07:18:36.866Z] 21b2b0c7a3f4: Waiting [2023-02-13T07:18:36.866Z] a7acece74701: Waiting [2023-02-13T07:18:36.866Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T07:18:36.866Z] 93c1e223e6f2: Download complete [2023-02-13T07:18:36.866Z] 4583459ba037: Verifying Checksum [2023-02-13T07:18:36.866Z] 4583459ba037: Download complete [2023-02-13T07:18:36.866Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T07:18:36.867Z] 21b2b0c7a3f4: Download complete [2023-02-13T07:18:36.867Z] 22ff95d597cd: Verifying Checksum [2023-02-13T07:18:36.867Z] 22ff95d597cd: Download complete [2023-02-13T07:18:36.867Z] 213ec9aee27d: Verifying Checksum [2023-02-13T07:18:36.867Z] 213ec9aee27d: Download complete [2023-02-13T07:18:36.867Z] 12d6caf4c0d1: Verifying Checksum [2023-02-13T07:18:37.126Z] 213ec9aee27d: Pull complete [2023-02-13T07:18:37.388Z] 4583459ba037: Pull complete [2023-02-13T07:18:37.388Z] 93c1e223e6f2: Pull complete [2023-02-13T07:18:37.990Z] a7acece74701: Verifying Checksum [2023-02-13T07:18:37.990Z] a7acece74701: Download complete [2023-02-13T07:18:37.990Z] 53926ce57604: Verifying Checksum [2023-02-13T07:18:37.990Z] 53926ce57604: Download complete [2023-02-13T07:18:38.249Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T07:18:38.249Z] 96b7cbca73a9: Download complete [2023-02-13T07:18:42.446Z] 53926ce57604: Pull complete [2023-02-13T07:18:42.446Z] 21b2b0c7a3f4: Pull complete [2023-02-13T07:18:42.446Z] 22ff95d597cd: Pull complete [2023-02-13T07:18:42.446Z] 12d6caf4c0d1: Pull complete [2023-02-13T07:18:44.349Z] 96b7cbca73a9: Pull complete [2023-02-13T07:18:45.285Z] a7acece74701: Pull complete [2023-02-13T07:18:45.285Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T07:18:45.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T07:18:45.285Z] ---> db6d94c90886 [2023-02-13T07:18:45.285Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T07:18:50.342Z] Still waiting to schedule task [2023-02-13T07:18:50.343Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5491’ is offline [2023-02-13T07:18:51.855Z] ---> Running in dd371bfeeb4d [2023-02-13T07:18:51.855Z] Removing intermediate container dd371bfeeb4d [2023-02-13T07:18:51.855Z] ---> 74d2afe6dbaa [2023-02-13T07:18:51.855Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T07:18:51.855Z] ---> Running in 40a0d7417a14 [2023-02-13T07:18:51.855Z] Removing intermediate container 40a0d7417a14 [2023-02-13T07:18:51.855Z] ---> 60e78a9757d2 [2023-02-13T07:18:51.855Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:18:51.855Z] ---> Running in cded4cb96285 [2023-02-13T07:18:51.855Z] Removing intermediate container cded4cb96285 [2023-02-13T07:18:51.855Z] ---> 5d7a135b076f [2023-02-13T07:18:51.855Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-13T07:18:51.855Z] ---> Running in f1f11c777545 [2023-02-13T07:18:51.855Z] Removing intermediate container f1f11c777545 [2023-02-13T07:18:51.855Z] ---> 05ca9e8a3be4 [2023-02-13T07:18:51.855Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T07:18:51.855Z] ---> Running in a22656146bf0 [2023-02-13T07:18:51.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:18:51.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:18:52.423Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T07:18:52.423Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-13T07:18:52.423Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T07:18:52.423Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T07:18:52.423Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T07:18:52.423Z] OK: 216 MiB in 55 packages [2023-02-13T07:18:52.991Z] Removing intermediate container a22656146bf0 [2023-02-13T07:18:52.991Z] ---> f95bd39bd73f [2023-02-13T07:18:52.991Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-13T07:18:52.991Z] ---> 63f70c931f62 [2023-02-13T07:18:52.991Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:18:52.991Z] ---> Running in e89d8df35331 [2023-02-13T07:20:00.700Z] Removing intermediate container e89d8df35331 [2023-02-13T07:20:00.700Z] ---> 606dab718a16 [2023-02-13T07:20:00.700Z] Step 10/12 : COPY . . [2023-02-13T07:20:00.700Z] ---> 0cb0144c6880 [2023-02-13T07:20:00.700Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:20:00.700Z] ---> Running in c923067d440c [2023-02-13T07:20:00.700Z] Removing intermediate container c923067d440c [2023-02-13T07:20:00.700Z] ---> 1710b39ba044 [2023-02-13T07:20:00.700Z] Step 12/12 : RUN $MAKE [2023-02-13T07:20:00.700Z] ---> Running in 6638d1d67bdc [2023-02-13T07:20:00.700Z] noop [2023-02-13T07:20:00.700Z] Removing intermediate container 6638d1d67bdc [2023-02-13T07:20:00.700Z] ---> 726ed216655a [2023-02-13T07:20:00.700Z] Successfully built 726ed216655a [2023-02-13T07:20:00.700Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:20:01.074Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T07:20:01.074Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:20:01.176Z] prd-ubuntu20.04-docker-8c-8g-5495 does not seem to be running inside a container [2023-02-13T07:20:01.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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-13T07:20:02.486Z] $ docker top 132f6bb16d5f3299b5faeeb6c2ee130b04c82710efbfa1d5cd7cdc74cc727e36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:20:02.868Z] + go version [2023-02-13T07:20:02.868Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T07:20:02.888Z] $ docker stop --time=1 132f6bb16d5f3299b5faeeb6c2ee130b04c82710efbfa1d5cd7cdc74cc727e36 [2023-02-13T07:20:05.686Z] $ docker rm -f --volumes 132f6bb16d5f3299b5faeeb6c2ee130b04c82710efbfa1d5cd7cdc74cc727e36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:20:06.256Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T07:20:06.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:20:06.333Z] prd-ubuntu20.04-docker-8c-8g-5495 does not seem to be running inside a container [2023-02-13T07:20:06.370Z] $ 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-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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-13T07:20:08.311Z] $ docker top d64a0c77f5bbc2af5b80228033e17636bead9e7511ef370302b5bbbf860d87a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:20:08.647Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-338 [Pipeline] fileExists [Pipeline] sh [2023-02-13T07:20:09.001Z] + make test [2023-02-13T07:20:09.001Z] go test ./... -coverprofile=coverage.out [2023-02-13T07:20:09.265Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-13T07:20:19.259Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-13T07:20:19.259Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.036s coverage: 65.7% of statements [2023-02-13T07:20:22.253Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5496 in /w/workspace/foundry_device-virtual-go_PR-338 [Pipeline] { [Pipeline] ws [2023-02-13T07:20:22.267Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2023-02-13T07:20:22.306Z] The recommended git tool is: git [2023-02-13T07:20:25.900Z] 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-13T07:20:25.900Z] go vet ./... [2023-02-13T07:20:27.536Z] using credential edgex-jenkins-ssh [2023-02-13T07:20:27.559Z] Cloning the remote Git repository [2023-02-13T07:20:28.472Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T07:20:28.472Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T07:20:28.472Z] ./bin/test-attribution-txt.sh [2023-02-13T07:20:28.472Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T07:20:28.472Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [2023-02-13T07:20:27.605Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-13T07:20:27.675Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2023-02-13T07:20:27.825Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-13T07:20:27.826Z] > git --version # timeout=10 [2023-02-13T07:20:27.850Z] > git --version # 'git version 2.25.1' [2023-02-13T07:20:27.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T07:20:27.915Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] echo [2023-02-13T07:20:28.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T07:20:28.762Z] $ docker stop --time=1 d64a0c77f5bbc2af5b80228033e17636bead9e7511ef370302b5bbbf860d87a0 [2023-02-13T07:20:29.973Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-13T07:20:29.995Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T07:20:30.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-13T07:20:30.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-13T07:20:30.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T07:20:30.946Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/338/head:refs/remotes/origin/PR-338 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T07:20:31.594Z] Merging remotes/origin/main commit bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 into PR head commit 5351041dac5b69342adc5f304c7234e72385c54e [2023-02-13T07:20:31.741Z] $ docker rm -f --volumes d64a0c77f5bbc2af5b80228033e17636bead9e7511ef370302b5bbbf860d87a0 [2023-02-13T07:20:31.827Z] Merge succeeded, producing 5351041dac5b69342adc5f304c7234e72385c54e [2023-02-13T07:20:31.827Z] Checking out Revision 5351041dac5b69342adc5f304c7234e72385c54e (PR-338) [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:20:32.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T07:20:32.206Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T07:20:31.609Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T07:20:31.632Z] > git checkout -f 5351041dac5b69342adc5f304c7234e72385c54e # timeout=10 [2023-02-13T07:20:31.719Z] > git remote # timeout=10 [2023-02-13T07:20:31.737Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T07:20:31.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T07:20:31.775Z] > git merge bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 # timeout=10 [2023-02-13T07:20:31.803Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T07:20:31.835Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T07:20:31.851Z] > git checkout -f 5351041dac5b69342adc5f304c7234e72385c54e # timeout=10 [2023-02-13T07:20:32.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T07:20:32.990Z] + ls -al . [2023-02-13T07:20:32.990Z] total 192 [2023-02-13T07:20:32.990Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 07:20 . [2023-02-13T07:20:32.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:18 .. [2023-02-13T07:20:32.990Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:20 .git [2023-02-13T07:20:32.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:18 .github [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 13 07:18 .gitignore [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:18 .golangci.yml [2023-02-13T07:20:32.990Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:18 .semver [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 13 07:18 Attribution.txt [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 13 07:18 CHANGELOG.md [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 13 07:18 Dockerfile [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:18 GOVERNANCE.md [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 13 07:18 Jenkinsfile [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:18 LICENSE [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 13 07:18 Makefile [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 13 07:18 OWNERS.md [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 13 07:18 README.md [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 07:18 VERSION [2023-02-13T07:20:32.990Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:18 bin [2023-02-13T07:20:32.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:18 cmd [2023-02-13T07:20:32.990Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 13 07:20 coverage.out [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 13 07:18 go.mod [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 13 07:18 go.sum [2023-02-13T07:20:32.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:18 internal [2023-02-13T07:20:32.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:18 snap [2023-02-13T07:20:32.990Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 13 07:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:20:33.300Z] + 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=5351041dac5b69342adc5f304c7234e72385c54e --label arch=amd64 --label version=0.0.0 . [2023-02-13T07:20:33.300Z] Sending build context to Docker daemon 23.42MB [2023-02-13T07:20:33.300Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:20:33.300Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-13T07:20:33.300Z] ---> 726ed216655a [2023-02-13T07:20:33.300Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T07:20:33.865Z] ---> Running in 1177fc01abb3 [2023-02-13T07:20:33.865Z] Removing intermediate container 1177fc01abb3 [2023-02-13T07:20:33.865Z] ---> f9523e896228 [2023-02-13T07:20:33.865Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T07:20:33.865Z] ---> Running in 59d871279b72 [2023-02-13T07:20:33.865Z] Removing intermediate container 59d871279b72 [2023-02-13T07:20:33.865Z] ---> e6e6c54b16bf [2023-02-13T07:20:33.865Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:20:33.865Z] ---> Running in 924b83bc26c4 [2023-02-13T07:20:33.865Z] Removing intermediate container 924b83bc26c4 [2023-02-13T07:20:33.865Z] ---> 15f100b481c5 [2023-02-13T07:20:33.865Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-13T07:20:33.865Z] ---> Running in 987cc9557b70 [2023-02-13T07:20:34.124Z] Removing intermediate container 987cc9557b70 [2023-02-13T07:20:34.124Z] ---> dfb1752a9244 [2023-02-13T07:20:34.124Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T07:20:34.124Z] ---> Running in aca82eaab81a [2023-02-13T07:20:34.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:20:34.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:20:34.643Z] OK: 216 MiB in 55 packages [2023-02-13T07:20:35.213Z] Removing intermediate container aca82eaab81a [2023-02-13T07:20:35.213Z] ---> bded98b45cf0 [2023-02-13T07:20:35.213Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-13T07:20:35.213Z] ---> a68ef5a862e0 [2023-02-13T07:20:35.213Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:20:35.213Z] ---> Running in 20d213c6dca6 [2023-02-13T07:20:35.324Z] Commit message: "build(deps)!: bump device-sdk-go and go-mod-core-contracts versions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:20:36.147Z] Removing intermediate container 20d213c6dca6 [2023-02-13T07:20:36.147Z] ---> e4ac20f22fb7 [2023-02-13T07:20:36.147Z] Step 10/25 : COPY . . [2023-02-13T07:20:36.259Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T07:20:36.259Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T07:20:36.259Z] Dload Upload Total Spent Left Speed [2023-02-13T07:20:36.259Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-02-13T07:20:36.987Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T07:20:37.082Z] ---> b71a99894ab8 [2023-02-13T07:20:37.082Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:20:37.082Z] ---> Running in 3e4d13299b1a [2023-02-13T07:20:37.082Z] Removing intermediate container 3e4d13299b1a [2023-02-13T07:20:37.082Z] ---> 59fb691deee5 [2023-02-13T07:20:37.082Z] Step 12/25 : RUN $MAKE [2023-02-13T07:20:37.082Z] ---> Running in b8e029d4c075 [2023-02-13T07:20:37.082Z] 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-13T07:20:37.328Z] + sudo tee /etc/docker/daemon.new [2023-02-13T07:20:37.328Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T07:20:37.328Z] { [2023-02-13T07:20:37.328Z] "registry-mirrors": [ [2023-02-13T07:20:37.328Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T07:20:37.328Z] ], [2023-02-13T07:20:37.328Z] "bip": "10.250.0.254/24", [2023-02-13T07:20:37.328Z] "hosts": [ [2023-02-13T07:20:37.328Z] "tcp://0.0.0.0:5555", [2023-02-13T07:20:37.328Z] "unix:///var/run/docker.sock" [2023-02-13T07:20:37.328Z] ], [2023-02-13T07:20:37.328Z] "mtu": 1458, [2023-02-13T07:20:37.328Z] "selinux-enabled": true, [2023-02-13T07:20:37.328Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T07:20:37.328Z] } [Pipeline] sh [2023-02-13T07:20:37.651Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T07:20:37.979Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:20:56.226Z] provisioning config files... [2023-02-13T07:20:56.249Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config17687439828999667109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:20:56.603Z] ---> docker-login.sh [2023-02-13T07:20:56.603Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:20:56.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:57.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:57.142Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:57.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:57.142Z] [2023-02-13T07:20:57.142Z] Login Succeeded [2023-02-13T07:20:57.142Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:20:57.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:57.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:57.409Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:57.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:57.409Z] [2023-02-13T07:20:57.409Z] Login Succeeded [2023-02-13T07:20:57.409Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:20:57.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:57.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:57.946Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:57.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:57.946Z] [2023-02-13T07:20:57.946Z] Login Succeeded [2023-02-13T07:20:57.946Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:20:58.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:58.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:58.214Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:58.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:58.214Z] [2023-02-13T07:20:58.214Z] Login Succeeded [2023-02-13T07:20:58.214Z] docker.io [2023-02-13T07:20:58.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:58.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:58.750Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:58.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:58.750Z] [2023-02-13T07:20:58.750Z] Login Succeeded [2023-02-13T07:20:58.750Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:20:58.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T07:20:59.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:20:59.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:20:59.042Z] ========================================================= [2023-02-13T07:20:59.042Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T07:20:59.042Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:20:59.390Z] + 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-13T07:20:59.657Z] Sending build context to Docker daemon 11.85MB [2023-02-13T07:20:59.657Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:20:59.657Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-13T07:21:00.622Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T07:21:00.622Z] 9b18e9b68314: Pulling fs layer [2023-02-13T07:21:00.622Z] 35d82f9e3411: Pulling fs layer [2023-02-13T07:21:00.622Z] e16973657156: Pulling fs layer [2023-02-13T07:21:00.622Z] fc693d55d65f: Pulling fs layer [2023-02-13T07:21:00.622Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T07:21:00.622Z] dda99020689f: Pulling fs layer [2023-02-13T07:21:00.622Z] db1c61fa0a46: Pulling fs layer [2023-02-13T07:21:00.622Z] 891c053d2c06: Pulling fs layer [2023-02-13T07:21:00.622Z] fc693d55d65f: Waiting [2023-02-13T07:21:00.622Z] 7e9fc2657dce: Waiting [2023-02-13T07:21:00.622Z] dda99020689f: Waiting [2023-02-13T07:21:00.622Z] db1c61fa0a46: Waiting [2023-02-13T07:21:00.622Z] 891c053d2c06: Waiting [2023-02-13T07:21:00.622Z] e16973657156: Download complete [2023-02-13T07:21:00.622Z] 35d82f9e3411: Verifying Checksum [2023-02-13T07:21:00.622Z] 35d82f9e3411: Download complete [2023-02-13T07:21:00.622Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T07:21:00.622Z] 7e9fc2657dce: Download complete [2023-02-13T07:21:00.622Z] dda99020689f: Verifying Checksum [2023-02-13T07:21:00.622Z] dda99020689f: Download complete [2023-02-13T07:21:00.622Z] 9b18e9b68314: Verifying Checksum [2023-02-13T07:21:00.622Z] 9b18e9b68314: Download complete [2023-02-13T07:21:01.625Z] 9b18e9b68314: Pull complete [2023-02-13T07:21:01.625Z] 891c053d2c06: Verifying Checksum [2023-02-13T07:21:01.625Z] 891c053d2c06: Download complete [2023-02-13T07:21:02.218Z] 35d82f9e3411: Pull complete [2023-02-13T07:21:02.500Z] e16973657156: Pull complete [2023-02-13T07:21:03.087Z] db1c61fa0a46: Verifying Checksum [2023-02-13T07:21:03.087Z] db1c61fa0a46: Download complete [2023-02-13T07:21:03.682Z] fc693d55d65f: Verifying Checksum [2023-02-13T07:21:03.682Z] fc693d55d65f: Download complete [2023-02-13T07:21:05.863Z] Removing intermediate container b8e029d4c075 [2023-02-13T07:21:05.863Z] ---> 6f109db076f0 [2023-02-13T07:21:05.863Z] Step 13/25 : FROM alpine:3.16 [2023-02-13T07:21:05.863Z] 3.16: Pulling from library/alpine [2023-02-13T07:21:05.863Z] ef5531b6e74e: Pulling fs layer [2023-02-13T07:21:05.863Z] ef5531b6e74e: Verifying Checksum [2023-02-13T07:21:05.863Z] ef5531b6e74e: Download complete [2023-02-13T07:21:05.863Z] ef5531b6e74e: Pull complete [2023-02-13T07:21:05.863Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T07:21:05.863Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T07:21:05.863Z] ---> dfd21b5a31f5 [2023-02-13T07:21:05.863Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-13T07:21:05.863Z] ---> Running in c05541c7bcac [2023-02-13T07:21:05.863Z] Removing intermediate container c05541c7bcac [2023-02-13T07:21:05.863Z] ---> 13420f60a89f [2023-02-13T07:21:05.863Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-13T07:21:05.863Z] ---> Running in 511f72a47550 [2023-02-13T07:21:05.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:21:05.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:21:05.863Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T07:21:05.863Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T07:21:05.863Z] OK: 6 MiB in 15 packages [2023-02-13T07:21:05.863Z] Removing intermediate container 511f72a47550 [2023-02-13T07:21:05.863Z] ---> 452ddf732e42 [2023-02-13T07:21:05.863Z] Step 16/25 : WORKDIR / [2023-02-13T07:21:05.863Z] ---> Running in edc4f974fd2a [2023-02-13T07:21:05.863Z] Removing intermediate container edc4f974fd2a [2023-02-13T07:21:05.863Z] ---> efaff8368624 [2023-02-13T07:21:05.863Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-13T07:21:05.863Z] ---> 5f5b9b82d311 [2023-02-13T07:21:05.863Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-13T07:21:05.863Z] ---> eac5fd770bc6 [2023-02-13T07:21:05.863Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-13T07:21:05.863Z] ---> 73f7560a94b2 [2023-02-13T07:21:05.863Z] Step 20/25 : EXPOSE 59900 [2023-02-13T07:21:05.863Z] ---> Running in 2e24f71ab1fa [2023-02-13T07:21:06.121Z] Removing intermediate container 2e24f71ab1fa [2023-02-13T07:21:06.121Z] ---> ac8e3bc3d735 [2023-02-13T07:21:06.121Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-13T07:21:06.121Z] ---> Running in e77d5c8174fc [2023-02-13T07:21:06.121Z] Removing intermediate container e77d5c8174fc [2023-02-13T07:21:06.121Z] ---> 51704d0b8dca [2023-02-13T07:21:06.121Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T07:21:06.121Z] ---> Running in 8d7c6e7ad493 [2023-02-13T07:21:06.121Z] Removing intermediate container 8d7c6e7ad493 [2023-02-13T07:21:06.121Z] ---> 358bdb00b922 [2023-02-13T07:21:06.121Z] Step 23/25 : LABEL arch=amd64 [2023-02-13T07:21:06.121Z] ---> Running in 6992e75e02ca [2023-02-13T07:21:06.381Z] Removing intermediate container 6992e75e02ca [2023-02-13T07:21:06.381Z] ---> 90b74be647db [2023-02-13T07:21:06.381Z] Step 24/25 : LABEL git_sha=5351041dac5b69342adc5f304c7234e72385c54e [2023-02-13T07:21:06.381Z] ---> Running in 067259d7c3fc [2023-02-13T07:21:06.381Z] Removing intermediate container 067259d7c3fc [2023-02-13T07:21:06.381Z] ---> d6a90b229ba5 [2023-02-13T07:21:06.381Z] Step 25/25 : LABEL version=0.0.0 [2023-02-13T07:21:06.381Z] ---> Running in d114bec85b4e [2023-02-13T07:21:06.381Z] Removing intermediate container d114bec85b4e [2023-02-13T07:21:06.381Z] ---> c32603e6f867 [2023-02-13T07:21:06.381Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T07:21:06.381Z] Successfully built c32603e6f867 [2023-02-13T07:21:06.638Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:21:07.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:21:07.083Z] [2023-02-13T07:21:07.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:21:07.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:21:07.392Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T07:21:07.392Z] 5eb5b503b376: Pulling fs layer [2023-02-13T07:21:07.392Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T07:21:07.392Z] ec43610c2a17: Pulling fs layer [2023-02-13T07:21:07.392Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T07:21:07.392Z] 33b1e0a273af: Pulling fs layer [2023-02-13T07:21:07.392Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T07:21:07.392Z] 2f39f015ded8: Pulling fs layer [2023-02-13T07:21:07.392Z] 3a2ae6a8a46f: Waiting [2023-02-13T07:21:07.392Z] 33b1e0a273af: Waiting [2023-02-13T07:21:07.392Z] 5d3b04190fa2: Waiting [2023-02-13T07:21:07.392Z] 2f39f015ded8: Waiting [2023-02-13T07:21:07.392Z] 5c69ac0246d0: Verifying Checksum [2023-02-13T07:21:07.392Z] 5c69ac0246d0: Download complete [2023-02-13T07:21:07.392Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T07:21:07.392Z] 3a2ae6a8a46f: Download complete [2023-02-13T07:21:07.655Z] 33b1e0a273af: Verifying Checksum [2023-02-13T07:21:07.655Z] 33b1e0a273af: Download complete [2023-02-13T07:21:07.655Z] 5d3b04190fa2: Download complete [2023-02-13T07:21:07.655Z] ec43610c2a17: Verifying Checksum [2023-02-13T07:21:07.655Z] ec43610c2a17: Download complete [2023-02-13T07:21:07.918Z] 5eb5b503b376: Verifying Checksum [2023-02-13T07:21:07.918Z] 5eb5b503b376: Download complete [2023-02-13T07:21:08.501Z] 2f39f015ded8: Download complete [2023-02-13T07:21:09.067Z] 5eb5b503b376: Pull complete [2023-02-13T07:21:09.067Z] 5c69ac0246d0: Pull complete [2023-02-13T07:21:09.633Z] ec43610c2a17: Pull complete [2023-02-13T07:21:09.633Z] 3a2ae6a8a46f: Pull complete [2023-02-13T07:21:09.892Z] 33b1e0a273af: Pull complete [2023-02-13T07:21:09.892Z] 5d3b04190fa2: Pull complete [2023-02-13T07:21:14.107Z] 2f39f015ded8: Pull complete [2023-02-13T07:21:14.107Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T07:21:14.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:21:14.107Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:21:14.211Z] prd-ubuntu20.04-docker-8c-8g-5495 does not seem to be running inside a container [2023-02-13T07:21:14.253Z] $ 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-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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-13T07:21:16.028Z] fc693d55d65f: Pull complete [2023-02-13T07:21:16.028Z] 7e9fc2657dce: Pull complete [2023-02-13T07:21:16.028Z] dda99020689f: Pull complete [2023-02-13T07:21:20.302Z] $ docker top 08eebfeeff321631091965b0624cab6b797165d599a4c53a926e2f7d3f03d797 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:21:20.680Z] ---> job-cost.sh [2023-02-13T07:21:20.680Z] lf-activate-venv: SKIPPING [2023-02-13T07:21:20.680Z] INFO: No Stack... [2023-02-13T07:21:21.245Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T07:21:21.812Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T07:21:22.100Z] + cat /w/workspace/foundry_device-virtual-go_PR-338/archives/cost.csv [2023-02-13T07:21:22.100Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T07:21:22.115Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] [2023-02-13T07:21:22.121Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] did not exist. Created. [2023-02-13T07:21:22.121Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T07:21:22.427Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T07:21:22.457Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T07:21:22.463Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T07:21:22.489Z] $ docker stop --time=1 08eebfeeff321631091965b0624cab6b797165d599a4c53a926e2f7d3f03d797 [2023-02-13T07:21:22.699Z] db1c61fa0a46: Pull complete [2023-02-13T07:21:23.809Z] $ docker rm -f --volumes 08eebfeeff321631091965b0624cab6b797165d599a4c53a926e2f7d3f03d797 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T07:21:25.291Z] 891c053d2c06: Pull complete [2023-02-13T07:21:25.291Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T07:21:25.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T07:21:25.291Z] ---> f96f9c87975a [2023-02-13T07:21:25.291Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T07:21:26.257Z] ---> Running in 1c14003dfedc [2023-02-13T07:21:26.257Z] Removing intermediate container 1c14003dfedc [2023-02-13T07:21:26.257Z] ---> 8e4629e5b314 [2023-02-13T07:21:26.257Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T07:21:26.524Z] ---> Running in 734f67aff0cf [2023-02-13T07:21:26.791Z] Removing intermediate container 734f67aff0cf [2023-02-13T07:21:26.792Z] ---> d46ba178f3e6 [2023-02-13T07:21:26.792Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:21:26.792Z] ---> Running in 3369240b3cc2 [2023-02-13T07:21:27.059Z] Removing intermediate container 3369240b3cc2 [2023-02-13T07:21:27.059Z] ---> a84bc2fa8e4f [2023-02-13T07:21:27.060Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-13T07:21:27.329Z] ---> Running in 485b1fffc82e [2023-02-13T07:21:27.596Z] Removing intermediate container 485b1fffc82e [2023-02-13T07:21:27.596Z] ---> 71c44d9ac4b8 [2023-02-13T07:21:27.596Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T07:21:27.596Z] ---> Running in 87db1349a019 [2023-02-13T07:21:28.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:21:29.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:21:30.108Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T07:21:30.108Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-13T07:21:30.108Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T07:21:30.108Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T07:21:30.108Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T07:21:30.108Z] OK: 226 MiB in 55 packages [2023-02-13T07:21:31.072Z] Removing intermediate container 87db1349a019 [2023-02-13T07:21:31.072Z] ---> 5a7898882939 [2023-02-13T07:21:31.072Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-13T07:21:31.661Z] ---> ee2a304b8470 [2023-02-13T07:21:31.661Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:21:31.661Z] ---> Running in 38291f90b919 [2023-02-13T07:22:39.861Z] Removing intermediate container 38291f90b919 [2023-02-13T07:22:39.861Z] ---> 94204ab384f4 [2023-02-13T07:22:39.861Z] Step 10/12 : COPY . . [2023-02-13T07:22:39.861Z] ---> fe45cd5c6259 [2023-02-13T07:22:39.861Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:22:39.861Z] ---> Running in 26dd409194bd [2023-02-13T07:22:39.861Z] Removing intermediate container 26dd409194bd [2023-02-13T07:22:39.861Z] ---> cd1515aafc57 [2023-02-13T07:22:39.861Z] Step 12/12 : RUN $MAKE [2023-02-13T07:22:39.861Z] ---> Running in b9b4c773d49c [2023-02-13T07:22:39.861Z] noop [2023-02-13T07:22:39.861Z] Removing intermediate container b9b4c773d49c [2023-02-13T07:22:39.861Z] ---> c2612afd137a [2023-02-13T07:22:39.861Z] Successfully built c2612afd137a [2023-02-13T07:22:39.861Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:22:40.219Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T07:22:40.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:22:40.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-5496 does not seem to be running inside a container [2023-02-13T07:22:40.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T07:22:43.498Z] $ docker top 47f6460465239282d282be6c89c29c62f2208ec38ac532061c8bb86be889a77a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:22:44.319Z] + go version [2023-02-13T07:22:44.319Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T07:22:44.336Z] $ docker stop --time=1 47f6460465239282d282be6c89c29c62f2208ec38ac532061c8bb86be889a77a [2023-02-13T07:22:45.973Z] $ docker rm -f --volumes 47f6460465239282d282be6c89c29c62f2208ec38ac532061c8bb86be889a77a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:22:46.520Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T07:22:46.520Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:22:46.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-5496 does not seem to be running inside a container [2023-02-13T07:22:46.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T07:22:47.947Z] $ docker top 6397261b2d2308a64af73541f4f85268d88cd81c0d4dcfc46f38f7d1478f7a6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:22:48.775Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-13T07:22:49.105Z] + make test [2023-02-13T07:22:49.105Z] go test ./... -coverprofile=coverage.out [2023-02-13T07:22:51.048Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-13T07:24:12.714Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-13T07:24:13.298Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements [2023-02-13T07:24:13.882Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T07:24:13.882Z] go vet ./... [2023-02-13T07:24:40.587Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T07:24:40.587Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T07:24:40.587Z] ./bin/test-attribution-txt.sh [2023-02-13T07:24:40.587Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T07:24:40.587Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T07:24:40.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T07:24:40.617Z] $ docker stop --time=1 6397261b2d2308a64af73541f4f85268d88cd81c0d4dcfc46f38f7d1478f7a6c [2023-02-13T07:24:42.520Z] $ docker rm -f --volumes 6397261b2d2308a64af73541f4f85268d88cd81c0d4dcfc46f38f7d1478f7a6c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:24:43.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T07:24:43.575Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T07:24:44.164Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:24:44.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T07:24:44.902Z] + ls -al . [2023-02-13T07:24:44.902Z] total 188 [2023-02-13T07:24:44.902Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:22 . [2023-02-13T07:24:44.902Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:20 .. [2023-02-13T07:24:44.902Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:20 .git [2023-02-13T07:24:44.902Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:20 .github [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 13 07:20 .gitignore [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:20 .golangci.yml [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 13 07:20 Attribution.txt [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 13 07:20 CHANGELOG.md [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 13 07:20 Dockerfile [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:20 GOVERNANCE.md [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 13 07:20 Jenkinsfile [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:20 LICENSE [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 13 07:20 Makefile [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 13 07:20 OWNERS.md [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 13 07:20 README.md [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 07:18 VERSION [2023-02-13T07:24:44.902Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:20 bin [2023-02-13T07:24:44.902Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:20 cmd [2023-02-13T07:24:44.902Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 13 07:24 coverage.out [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 13 07:20 go.mod [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 13 07:20 go.sum [2023-02-13T07:24:44.902Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:20 internal [2023-02-13T07:24:44.902Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:20 snap [2023-02-13T07:24:44.902Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 13 07:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:24:45.248Z] + 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=5351041dac5b69342adc5f304c7234e72385c54e --label arch=arm64 --label version=0.0.0 . [2023-02-13T07:24:45.836Z] Sending build context to Docker daemon 11.89MB [2023-02-13T07:24:45.836Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:24:45.836Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-13T07:24:45.836Z] ---> c2612afd137a [2023-02-13T07:24:45.837Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T07:24:45.837Z] ---> Running in c47d1ec77eab [2023-02-13T07:24:47.792Z] Removing intermediate container c47d1ec77eab [2023-02-13T07:24:47.792Z] ---> d30983266dc1 [2023-02-13T07:24:47.792Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T07:24:47.792Z] ---> Running in 4933a0094fdc [2023-02-13T07:24:47.792Z] Removing intermediate container 4933a0094fdc [2023-02-13T07:24:47.792Z] ---> edf7b40e5176 [2023-02-13T07:24:47.792Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:24:47.792Z] ---> Running in 72118801c28a [2023-02-13T07:24:48.378Z] Removing intermediate container 72118801c28a [2023-02-13T07:24:48.378Z] ---> abf242267059 [2023-02-13T07:24:48.378Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-13T07:24:48.378Z] ---> Running in 6350b6543ed8 [2023-02-13T07:24:48.649Z] Removing intermediate container 6350b6543ed8 [2023-02-13T07:24:48.649Z] ---> c3989e2c4529 [2023-02-13T07:24:48.649Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T07:24:48.917Z] ---> Running in 157379fb0576 [2023-02-13T07:24:49.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:24:50.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:24:51.128Z] OK: 226 MiB in 55 packages [2023-02-13T07:24:52.104Z] Removing intermediate container 157379fb0576 [2023-02-13T07:24:52.104Z] ---> 61e38f862cc3 [2023-02-13T07:24:52.104Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-13T07:24:52.466Z] ---> 2b795c6f83fb [2023-02-13T07:24:52.466Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:24:52.771Z] ---> Running in c236eebe2fa5 [2023-02-13T07:24:56.226Z] Removing intermediate container c236eebe2fa5 [2023-02-13T07:24:56.226Z] ---> bd376122d794 [2023-02-13T07:24:56.226Z] Step 10/25 : COPY . . [2023-02-13T07:24:57.208Z] ---> ed40bcc7f887 [2023-02-13T07:24:57.208Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:24:57.208Z] ---> Running in 8ad789dc18c1 [2023-02-13T07:24:57.498Z] Removing intermediate container 8ad789dc18c1 [2023-02-13T07:24:57.498Z] ---> da05fb602adf [2023-02-13T07:24:57.498Z] Step 12/25 : RUN $MAKE [2023-02-13T07:24:57.776Z] ---> Running in 7aab4fb8f2e0 [2023-02-13T07:24:59.207Z] 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-13T07:27:36.101Z] Removing intermediate container 7aab4fb8f2e0 [2023-02-13T07:27:36.101Z] ---> a0b87c74ec26 [2023-02-13T07:27:36.101Z] Step 13/25 : FROM alpine:3.16 [2023-02-13T07:27:36.101Z] 3.16: Pulling from library/alpine [2023-02-13T07:27:36.101Z] 3760b48202b3: Pulling fs layer [2023-02-13T07:27:36.101Z] 3760b48202b3: Verifying Checksum [2023-02-13T07:27:36.101Z] 3760b48202b3: Download complete [2023-02-13T07:27:36.101Z] 3760b48202b3: Pull complete [2023-02-13T07:27:36.101Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T07:27:36.101Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T07:27:36.101Z] ---> 4c81e5bf8899 [2023-02-13T07:27:36.101Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-13T07:27:36.101Z] ---> Running in ba22683cb77c [2023-02-13T07:27:36.101Z] Removing intermediate container ba22683cb77c [2023-02-13T07:27:36.101Z] ---> bb7675800578 [2023-02-13T07:27:36.101Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-13T07:27:36.101Z] ---> Running in 126c5b0203a1 [2023-02-13T07:27:36.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:27:36.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:27:36.101Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T07:27:36.101Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T07:27:36.101Z] OK: 5 MiB in 15 packages [2023-02-13T07:27:36.101Z] Removing intermediate container 126c5b0203a1 [2023-02-13T07:27:36.101Z] ---> 645fb59c2fbf [2023-02-13T07:27:36.101Z] Step 16/25 : WORKDIR / [2023-02-13T07:27:36.101Z] ---> Running in b4b8aa711d91 [2023-02-13T07:27:36.101Z] Removing intermediate container b4b8aa711d91 [2023-02-13T07:27:36.101Z] ---> 38fc31781d8f [2023-02-13T07:27:36.101Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-13T07:27:36.101Z] ---> 01a14312fcb8 [2023-02-13T07:27:36.101Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-13T07:27:36.101Z] ---> 36e3a0448e6b [2023-02-13T07:27:36.101Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-13T07:27:36.101Z] ---> b233b5edeeef [2023-02-13T07:27:36.101Z] Step 20/25 : EXPOSE 59900 [2023-02-13T07:27:36.101Z] ---> Running in 6dde5fad3c9a [2023-02-13T07:27:36.101Z] Removing intermediate container 6dde5fad3c9a [2023-02-13T07:27:36.101Z] ---> dc6f088a8de5 [2023-02-13T07:27:36.101Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-13T07:27:36.101Z] ---> Running in 42693003ccda [2023-02-13T07:27:36.101Z] Removing intermediate container 42693003ccda [2023-02-13T07:27:36.101Z] ---> 2eb0e58fdae1 [2023-02-13T07:27:36.101Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T07:27:36.101Z] ---> Running in 850ba19452e7 [2023-02-13T07:27:36.101Z] Removing intermediate container 850ba19452e7 [2023-02-13T07:27:36.101Z] ---> e8d94541a623 [2023-02-13T07:27:36.101Z] Step 23/25 : LABEL arch=arm64 [2023-02-13T07:27:36.101Z] ---> Running in 5b89640ebdba [2023-02-13T07:27:36.101Z] Removing intermediate container 5b89640ebdba [2023-02-13T07:27:36.102Z] ---> 760337bbc8bb [2023-02-13T07:27:36.102Z] Step 24/25 : LABEL git_sha=5351041dac5b69342adc5f304c7234e72385c54e [2023-02-13T07:27:36.102Z] ---> Running in bc5c1a430954 [2023-02-13T07:27:36.102Z] Removing intermediate container bc5c1a430954 [2023-02-13T07:27:36.102Z] ---> c504ed70b6a9 [2023-02-13T07:27:36.102Z] Step 25/25 : LABEL version=0.0.0 [2023-02-13T07:27:36.102Z] ---> Running in 287fb40a2645 [2023-02-13T07:27:36.102Z] Removing intermediate container 287fb40a2645 [2023-02-13T07:27:36.102Z] ---> bcefb559c742 [2023-02-13T07:27:36.102Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T07:27:36.102Z] Successfully built bcefb559c742 [2023-02-13T07:27:36.102Z] 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-13T07:27:36.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:27:36.580Z] [2023-02-13T07:27:36.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:27:36.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:27:36.919Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T07:27:36.919Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T07:27:36.919Z] 04944245beec: Pulling fs layer [2023-02-13T07:27:36.919Z] 699f458cf7ca: Pulling fs layer [2023-02-13T07:27:36.919Z] 765212b225bb: Pulling fs layer [2023-02-13T07:27:36.919Z] f23df028b6ca: Pulling fs layer [2023-02-13T07:27:36.919Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T07:27:36.919Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T07:27:36.919Z] f23df028b6ca: Waiting [2023-02-13T07:27:36.919Z] d65c8cfc05b1: Waiting [2023-02-13T07:27:36.919Z] 2437ff75d9bd: Waiting [2023-02-13T07:27:36.919Z] 765212b225bb: Waiting [2023-02-13T07:27:37.188Z] 04944245beec: Verifying Checksum [2023-02-13T07:27:37.188Z] 04944245beec: Download complete [2023-02-13T07:27:37.188Z] 765212b225bb: Verifying Checksum [2023-02-13T07:27:37.188Z] 765212b225bb: Download complete [2023-02-13T07:27:37.188Z] f23df028b6ca: Verifying Checksum [2023-02-13T07:27:37.188Z] f23df028b6ca: Download complete [2023-02-13T07:27:37.463Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T07:27:37.463Z] d65c8cfc05b1: Download complete [2023-02-13T07:27:37.463Z] 699f458cf7ca: Verifying Checksum [2023-02-13T07:27:37.463Z] 699f458cf7ca: Download complete [2023-02-13T07:27:37.735Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T07:27:37.735Z] 8998bd30e6a1: Download complete [2023-02-13T07:27:40.332Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T07:27:40.332Z] 2437ff75d9bd: Download complete [2023-02-13T07:27:41.746Z] 8998bd30e6a1: Pull complete [2023-02-13T07:27:42.013Z] 04944245beec: Pull complete [2023-02-13T07:27:43.423Z] 699f458cf7ca: Pull complete [2023-02-13T07:27:43.423Z] 765212b225bb: Pull complete [2023-02-13T07:27:44.008Z] f23df028b6ca: Pull complete [2023-02-13T07:27:44.276Z] d65c8cfc05b1: Pull complete [2023-02-13T07:27:56.592Z] 2437ff75d9bd: Pull complete [2023-02-13T07:27:56.592Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T07:27:56.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:27:56.857Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:27:57.048Z] prd-ubuntu20.04-docker-arm64-4c-16g-5496 does not seem to be running inside a container [2023-02-13T07:27:57.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T07:27:59.725Z] $ docker top 1038b435ac16f8a8b635ec9d112fb0b37e3cb466f44296641a63fbbc31e0b7f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:28:00.584Z] ---> job-cost.sh [2023-02-13T07:28:00.584Z] lf-activate-venv: SKIPPING [2023-02-13T07:28:00.584Z] INFO: No Stack... [2023-02-13T07:28:00.852Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T07:28:01.820Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T07:28:02.469Z] + cut -d, -f6 [2023-02-13T07:28:02.470Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock [2023-02-13T07:28:02.545Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] [2023-02-13T07:28:02.553Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] did not exist. Created. [2023-02-13T07:28:02.553Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T07:28:03.221Z] /w/workspace/device-virtual-go/2@tmp/durable-ecda8292/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T07:28:03.888Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T07:28:03.921Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T07:28:03.976Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T07:28:03.983Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T07:28:04.001Z] $ docker stop --time=1 1038b435ac16f8a8b635ec9d112fb0b37e3cb466f44296641a63fbbc31e0b7f0 [2023-02-13T07:28:05.518Z] $ docker rm -f --volumes 1038b435ac16f8a8b635ec9d112fb0b37e3cb466f44296641a63fbbc31e0b7f0 [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-13T07:28:05.946Z] provisioning config files... [2023-02-13T07:28:05.956Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config16897612970056074574tmp [Pipeline] { [Pipeline] sh [2023-02-13T07:28:06.247Z] + set +x [2023-02-13T07:28:06.247Z] + + bash -scurl -- -s [2023-02-13T07:28:06.247Z] https://codecov.io/bash [2023-02-13T07:28:06.247Z] [2023-02-13T07:28:06.247Z] _____ _ [2023-02-13T07:28:06.247Z] / ____| | | [2023-02-13T07:28:06.247Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T07:28:06.247Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T07:28:06.247Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T07:28:06.247Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T07:28:06.247Z] Bash-1.0.6 [2023-02-13T07:28:06.247Z] [2023-02-13T07:28:06.247Z] [2023-02-13T07:28:06.247Z] ==> git version 2.25.1 found [2023-02-13T07:28:06.247Z] ==> 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-13T07:28:06.247Z] Release-Date: 2020-01-08 [2023-02-13T07:28:06.247Z] 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-13T07:28:06.247Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T07:28:06.247Z] ==> Jenkins CI detected. [2023-02-13T07:28:06.247Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-338 [2023-02-13T07:28:06.247Z] project root: . [2023-02-13T07:28:06.247Z] --> token set from env [2023-02-13T07:28:06.247Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T07:28:06.247Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T07:28:06.247Z] ==> Python coveragepy not found [2023-02-13T07:28:06.247Z] ==> Searching for coverage reports in: [2023-02-13T07:28:06.247Z] + . [2023-02-13T07:28:06.247Z] -> Found 1 reports [2023-02-13T07:28:06.247Z] ==> Detecting git/mercurial file structure [2023-02-13T07:28:06.247Z] ==> Reading reports [2023-02-13T07:28:06.506Z] + ./coverage.out bytes=44128 [2023-02-13T07:28:06.506Z] ==> Appending adjustments [2023-02-13T07:28:06.506Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T07:28:06.506Z] + Found adjustments [2023-02-13T07:28:06.506Z] ==> Gzipping contents [2023-02-13T07:28:06.506Z] 8.0K /tmp/codecov.oU3joY.gz [2023-02-13T07:28:06.506Z] ==> Uploading reports [2023-02-13T07:28:06.506Z] url: https://codecov.io [2023-02-13T07:28:06.506Z] query: branch=PR-338&commit=5351041dac5b69342adc5f304c7234e72385c54e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-338%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=338&job=&cmd_args= [2023-02-13T07:28:06.506Z] -> Pinging Codecov [2023-02-13T07:28:06.506Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-338&commit=5351041dac5b69342adc5f304c7234e72385c54e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-338%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=338&job=&cmd_args= [2023-02-13T07:28:06.765Z] -> Uploading to [2023-02-13T07:28:06.765Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/5E52B4B073DB2E39498172D8E973AA87/5351041dac5b69342adc5f304c7234e72385c54e/3567f174-8a89-4ec4-87ff-38fbaba84480.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T072806Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d82a139e880102e0f973d7658c58ac63eaca18452c0b91c8df25a0a5915b395f [2023-02-13T07:28:06.765Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T07:28:06.765Z] Dload Upload Total Spent Left Speed [2023-02-13T07:28:07.024Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5490 0 0 100 5490 0 23164 --:--:-- --:--:-- --:--:-- 23164 [2023-02-13T07:28:07.024Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/5351041dac5b69342adc5f304c7234e72385c54e [Pipeline] } [2023-02-13T07:28:07.031Z] 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-13T07:28:07.720Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-338/archives ] [2023-02-13T07:28:07.720Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-338/archives [2023-02-13T07:28:07.720Z] total 16 [2023-02-13T07:28:07.720Z] drwxr-xr-x 3 root root 4096 Feb 13 07:21 . [2023-02-13T07:28:07.720Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 07:21 .. [2023-02-13T07:28:07.720Z] drwxr-xr-x 2 root root 4096 Feb 13 07:21 cost [2023-02-13T07:28:07.720Z] -rw-r--r-- 1 root root 89 Feb 13 07:21 cost.csv [2023-02-13T07:28:07.720Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-338/archives [2023-02-13T07:28:07.720Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-338/archives [2023-02-13T07:28:07.720Z] total 16 [2023-02-13T07:28:07.720Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:21 . [2023-02-13T07:28:07.720Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 07:21 .. [2023-02-13T07:28:07.720Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 07:21 cost [2023-02-13T07:28:07.720Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 13 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:28:08.014Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:28:08.879Z] ---> package-listing.sh [2023-02-13T07:28:08.879Z] ++ facter osfamily [2023-02-13T07:28:08.879Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T07:28:09.138Z] + OS_FAMILY=debian [2023-02-13T07:28:09.138Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-338 [2023-02-13T07:28:09.138Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T07:28:09.138Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T07:28:09.138Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T07:28:09.138Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T07:28:09.138Z] + '[' /w/workspace/foundry_device-virtual-go_PR-338 ']' [2023-02-13T07:28:09.138Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T07:28:09.138Z] + case "${OS_FAMILY}" in [2023-02-13T07:28:09.138Z] + dpkg -l [2023-02-13T07:28:09.138Z] + grep '^ii' [2023-02-13T07:28:09.138Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T07:28:09.138Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T07:28:09.138Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T07:28:09.138Z] + '[' /w/workspace/foundry_device-virtual-go_PR-338 ']' [2023-02-13T07:28:09.138Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-338/archives/ [2023-02-13T07:28:09.138Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-338/archives/ [Pipeline] echo [2023-02-13T07:28:09.150Z] 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-338/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T07:28:09.429Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:28:09.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:28:09.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:28:10.055Z] prd-ubuntu20.04-docker-8c-8g-5495 does not seem to be running inside a container [2023-02-13T07:28:10.093Z] $ 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-338/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-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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-13T07:28:10.304Z] $ docker top 66566b2848436e34494b03a4ee41b4833d5bd75201f8f87ed687d709e2725f26 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:28:10.642Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T07:28:10.926Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T07:28:11.212Z] + ls /var/log/sa-host [2023-02-13T07:28:11.212Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:28:11.353Z] provisioning config files... [2023-02-13T07:28:11.361Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config11206143598225212648tmp [Pipeline] { [Pipeline] echo [2023-02-13T07:28:11.373Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:28:11.657Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T07:28:11.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:28:12.004Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T07:28:12.014Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:28:12.295Z] ---> sudo-logs.sh [2023-02-13T07:28:12.295Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T07:28:12.321Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:28:12.605Z] ---> job-cost.sh [2023-02-13T07:28:12.605Z] lf-activate-venv: SKIPPING [2023-02-13T07:28:12.605Z] DEBUG: total: 0.2199999988079071 [2023-02-13T07:28:12.605Z] INFO: Retrieving Stack Cost... [2023-02-13T07:28:13.171Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T07:28:13.429Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T07:28:13.443Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:28:13.726Z] ---> logs-deploy.sh [2023-02-13T07:28:13.726Z] lf-activate-venv: SKIPPING [2023-02-13T07:28:13.726Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-338/2 [2023-02-13T07:28:13.726Z] INFO: archiving workspace using pattern(s): [2023-02-13T07:28:14.663Z] Archives upload complete. [2023-02-13T07:28:14.663Z] INFO: archiving logs to Nexus