Pull request #368 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 vli11 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 8ed51eb9eaa0a405dde043671b4ac8557819634f rather than fe064901a62a67ca9ae1ee0798090cfe3af9ec79 Obtained Jenkinsfile from 8ed51eb9eaa0a405dde043671b4ac8557819634f 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-ssh15640791671227046744.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18059680488521293716.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-368/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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13973630458670983965.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh8258103648153766325.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-368/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-368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13701756421995351261.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5317 in /w/workspace/foundry_device-virtual-go_PR-368 [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-368 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit fe064901a62a67ca9ae1ee0798090cfe3af9ec79 Merge succeeded, producing fe064901a62a67ca9ae1ee0798090cfe3af9ec79 Checking out Revision fe064901a62a67ca9ae1ee0798090cfe3af9ec79 (PR-368) > git config core.sparsecheckout # timeout=10 > git checkout -f fe064901a62a67ca9ae1ee0798090cfe3af9ec79 # 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 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe064901a62a67ca9ae1ee0798090cfe3af9ec79 # timeout=10 Commit message: "refactor!: Change configuration and devices files format to YAML" First time build. Skipping changelog. > git rev-list --no-walk 9b001715682b89ce05f6197f4a31789827fe5e84 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T22:29:43.104Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T22:29:43.160Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T22:29:43.173Z] ========================================================= [2023-03-22T22:29:43.173Z] EdgeX Global Pipelines Version Info [2023-03-22T22:29:43.173Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:29:43.892Z] ------------------- [2023-03-22T22:29:43.892Z] stable info: [2023-03-22T22:29:43.892Z] ------------------- [2023-03-22T22:29:43.893Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T22:29:43.893Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T22:29:43.893Z] Message: update stable to v1.0.245 [2023-03-22T22:29:44.463Z] ------------------- [2023-03-22T22:29:44.463Z] experimental info: [2023-03-22T22:29:44.463Z] ------------------- [2023-03-22T22:29:44.463Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T22:29:44.463Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-22T22:29:44.463Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T22:29:44.634Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-22T22:29:44.648Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-22T22:29:44.660Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T22:29:44.675Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T22:29:44.687Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T22:29:44.700Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T22:29:44.712Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T22:29:44.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-22T22:29:44.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T22:29:44.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T22:29:44.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T22:29:44.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-22T22:29:44.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T22:29:44.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T22:29:44.818Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T22:29:44.830Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T22:29:44.845Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T22:29:44.859Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T22:29:44.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T22:29:44.881Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T22:29:44.891Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-22T22:29:44.901Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-22T22:29:44.913Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T22:29:44.925Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T22:29:44.934Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T22:29:44.943Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T22:29:44.952Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T22:29:44.969Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo [2023-03-22T22:29:44.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo [2023-03-22T22:29:44.991Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo [2023-03-22T22:29:45.003Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [Pipeline] echo [2023-03-22T22:29:45.015Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe06490 [Pipeline] echo [2023-03-22T22:29:45.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:29:45.069Z] provisioning config files... [2023-03-22T22:29:45.082Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config2258895893336133843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:29:45.386Z] ---> docker-login.sh [2023-03-22T22:29:45.386Z] nexus3.edgexfoundry.org:10001 [2023-03-22T22:29:45.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:29:45.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:29:45.648Z] Configure a credential helper to remove this warning. See [2023-03-22T22:29:45.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:29:45.648Z] [2023-03-22T22:29:45.648Z] Login Succeeded [2023-03-22T22:29:45.648Z] nexus3.edgexfoundry.org:10002 [2023-03-22T22:29:45.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:29:45.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:29:45.909Z] Configure a credential helper to remove this warning. See [2023-03-22T22:29:45.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:29:45.909Z] [2023-03-22T22:29:45.909Z] Login Succeeded [2023-03-22T22:29:45.909Z] nexus3.edgexfoundry.org:10003 [2023-03-22T22:29:45.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:29:45.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:29:45.909Z] Configure a credential helper to remove this warning. See [2023-03-22T22:29:45.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:29:45.909Z] [2023-03-22T22:29:45.909Z] Login Succeeded [2023-03-22T22:29:45.909Z] nexus3.edgexfoundry.org:10004 [2023-03-22T22:29:45.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:29:45.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:29:45.909Z] Configure a credential helper to remove this warning. See [2023-03-22T22:29:45.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:29:45.909Z] [2023-03-22T22:29:45.909Z] Login Succeeded [2023-03-22T22:29:45.909Z] docker.io [2023-03-22T22:29:46.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:29:46.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:29:46.431Z] Configure a credential helper to remove this warning. See [2023-03-22T22:29:46.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:29:46.431Z] [2023-03-22T22:29:46.431Z] Login Succeeded [2023-03-22T22:29:46.431Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T22:29:46.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T22:29:46.812Z] + git rev-list -1 --merges fe064901a62a67ca9ae1ee0798090cfe3af9ec79~1..fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [Pipeline] echo [2023-03-22T22:29:46.856Z] -----------> git rev-list -1 --merges fe064901a62a67ca9ae1ee0798090cfe3af9ec79~1..fe064901a62a67ca9ae1ee0798090cfe3af9ec79 fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [false] [Pipeline] sh [2023-03-22T22:29:47.144Z] + git log --format=format:%s -1 fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [Pipeline] echo [2023-03-22T22:29:47.157Z] ========================================================= [2023-03-22T22:29:47.157Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T22:29:47.157Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T22:29:47.470Z] + git log --format=format:%s -1 fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [Pipeline] echo [2023-03-22T22:29:47.480Z] [semverPrep] GIT_COMMIT: fe064901a62a67ca9ae1ee0798090cfe3af9ec79, Commit Message: refactor!: Change configuration and devices files format to YAML [Pipeline] echo [2023-03-22T22:29:47.491Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T22:29:47.852Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T22:29:47.852Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T22:29:47.852Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T22:29:47.852Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T22:29:47.852Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T22:29:47.852Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T22:29:47.852Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:29:48.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T22:29:48.258Z] [2023-03-22T22:29:48.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:29:48.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T22:29:48.568Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T22:29:48.568Z] b85a868b505f: Pulling fs layer [2023-03-22T22:29:48.568Z] e2be974225ed: Pulling fs layer [2023-03-22T22:29:48.568Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T22:29:48.568Z] 988bab9f4d93: Pulling fs layer [2023-03-22T22:29:48.568Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T22:29:48.568Z] eaf3925da568: Pulling fs layer [2023-03-22T22:29:48.568Z] bab4dde63d76: Pulling fs layer [2023-03-22T22:29:48.568Z] bde34c3a00c8: Pulling fs layer [2023-03-22T22:29:48.569Z] b352a97aabf1: Pulling fs layer [2023-03-22T22:29:48.569Z] 4872d77fe225: Pulling fs layer [2023-03-22T22:29:48.569Z] 5851b861e8e6: Pulling fs layer [2023-03-22T22:29:48.569Z] bab4dde63d76: Waiting [2023-03-22T22:29:48.569Z] 1469e6f7b9e6: Waiting [2023-03-22T22:29:48.569Z] bde34c3a00c8: Waiting [2023-03-22T22:29:48.569Z] b352a97aabf1: Waiting [2023-03-22T22:29:48.569Z] 4872d77fe225: Waiting [2023-03-22T22:29:48.569Z] eaf3925da568: Waiting [2023-03-22T22:29:48.569Z] 988bab9f4d93: Waiting [2023-03-22T22:29:48.569Z] e2be974225ed: Download complete [2023-03-22T22:29:48.569Z] 988bab9f4d93: Verifying Checksum [2023-03-22T22:29:48.569Z] 988bab9f4d93: Download complete [2023-03-22T22:29:48.830Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T22:29:48.830Z] 1469e6f7b9e6: Download complete [2023-03-22T22:29:48.830Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T22:29:48.830Z] 339a4e72a1f5: Download complete [2023-03-22T22:29:48.830Z] eaf3925da568: Download complete [2023-03-22T22:29:48.830Z] bde34c3a00c8: Verifying Checksum [2023-03-22T22:29:48.830Z] bde34c3a00c8: Download complete [2023-03-22T22:29:48.830Z] b352a97aabf1: Verifying Checksum [2023-03-22T22:29:48.830Z] b352a97aabf1: Download complete [2023-03-22T22:29:48.830Z] 4872d77fe225: Verifying Checksum [2023-03-22T22:29:48.830Z] 4872d77fe225: Download complete [2023-03-22T22:29:48.830Z] 5851b861e8e6: Verifying Checksum [2023-03-22T22:29:48.830Z] 5851b861e8e6: Download complete [2023-03-22T22:29:48.830Z] b85a868b505f: Download complete [2023-03-22T22:29:49.395Z] bab4dde63d76: Verifying Checksum [2023-03-22T22:29:49.395Z] bab4dde63d76: Download complete [2023-03-22T22:29:50.331Z] b85a868b505f: Pull complete [2023-03-22T22:29:50.331Z] e2be974225ed: Pull complete [2023-03-22T22:29:50.900Z] 339a4e72a1f5: Pull complete [2023-03-22T22:29:50.900Z] 988bab9f4d93: Pull complete [2023-03-22T22:29:51.159Z] 1469e6f7b9e6: Pull complete [2023-03-22T22:29:51.159Z] eaf3925da568: Pull complete [2023-03-22T22:29:53.061Z] bab4dde63d76: Pull complete [2023-03-22T22:29:53.061Z] bde34c3a00c8: Pull complete [2023-03-22T22:29:53.322Z] b352a97aabf1: Pull complete [2023-03-22T22:29:53.322Z] 4872d77fe225: Pull complete [2023-03-22T22:29:53.322Z] 5851b861e8e6: Pull complete [2023-03-22T22:29:53.322Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T22:29:53.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T22:29:53.322Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:29:53.424Z] prd-ubuntu20.04-docker-8c-8g-5317 does not seem to be running inside a container [2023-03-22T22:29:53.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T22:29:54.802Z] $ docker top 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 -eo pid,comm [2023-03-22T22:29:54.869Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-22T22:29:54.869Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T22:29:54.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T22:29:54.910Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T22:29:55.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T22:29:55.030Z] $ docker exec 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 ssh-agent [2023-03-22T22:29:55.140Z] SSH_AUTH_SOCK=/tmp/ssh-rgaSzDhvwhb1/agent.31 [2023-03-22T22:29:55.140Z] SSH_AGENT_PID=37 [2023-03-22T22:29:55.148Z] Running ssh-add (command line suppressed) [2023-03-22T22:29:55.251Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_1341827192891002843.key (/w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_1341827192891002843.key) [2023-03-22T22:29:55.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T22:29:55.570Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T22:29:55.575Z] $ docker exec --env ******** --env ******** 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 ssh-agent -k [2023-03-22T22:29:55.683Z] unset SSH_AUTH_SOCK; [2023-03-22T22:29:55.684Z] unset SSH_AGENT_PID; [2023-03-22T22:29:55.684Z] echo Agent pid 37 killed; [2023-03-22T22:29:55.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T22:29:55.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T22:29:55.732Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T22:29:55.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T22:29:55.838Z] $ docker exec 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 ssh-agent [2023-03-22T22:29:55.959Z] SSH_AUTH_SOCK=/tmp/ssh-HooTpwP6k8wr/agent.69 [2023-03-22T22:29:55.959Z] SSH_AGENT_PID=76 [2023-03-22T22:29:55.963Z] Running ssh-add (command line suppressed) [2023-03-22T22:29:56.053Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_10335520498383541109.key (/w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_10335520498383541109.key) [2023-03-22T22:29:56.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T22:29:56.383Z] + git semver init [2023-03-22T22:29:56.643Z] 2023-03-22 22:29:56,558 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T22:29:56.643Z] 2023-03-22 22:29:56,559 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-368/.semver [2023-03-22T22:29:56.643Z] 2023-03-22 22:29:56,559 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-368/.semver [2023-03-22T22:29:56.643Z] 2023-03-22 22:29:56,559 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-368/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-368, universal_newlines=False, shell=None, istream=None) [2023-03-22T22:29:57.582Z] 2023-03-22 22:29:57,486 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-368/.git/info/exclude [2023-03-22T22:29:57.582Z] 2023-03-22 22:29:57,487 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 with force:False [2023-03-22T22:29:57.582Z] 2023-03-22 22:29:57,487 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 [2023-03-22T22:29:57.582Z] 2023-03-22 22:29:57,491 [execute] INFO git cat-file --batch-check [2023-03-22T22:29:57.582Z] 2023-03-22 22:29:57,491 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T22:29:57.582Z] 2023-03-22 22:29:57,498 [execute] INFO git cat-file --batch [2023-03-22T22:29:57.582Z] 2023-03-22 22:29:57,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T22:29:57.582Z] 2023-03-22 22:29:57,505 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 [2023-03-22T22:29:57.582Z] 0.0.0 [Pipeline] } [2023-03-22T22:29:57.585Z] $ docker exec --env ******** --env ******** 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 ssh-agent -k [2023-03-22T22:29:57.687Z] unset SSH_AUTH_SOCK; [2023-03-22T22:29:57.688Z] unset SSH_AGENT_PID; [2023-03-22T22:29:57.688Z] echo Agent pid 76 killed; [2023-03-22T22:29:57.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T22:29:57.998Z] + git semver [Pipeline] } [2023-03-22T22:29:58.264Z] $ docker stop --time=1 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 [2023-03-22T22:29:59.593Z] $ docker rm -f --volumes 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T22:29:59.940Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T22:30:00.127Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T22:30:00.129Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:30:00.246Z] provisioning config files... [2023-03-22T22:30:00.254Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config705353873077425438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:30:00.545Z] ---> docker-login.sh [2023-03-22T22:30:00.545Z] nexus3.edgexfoundry.org:10001 [2023-03-22T22:30:00.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:30:00.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:30:00.545Z] Configure a credential helper to remove this warning. See [2023-03-22T22:30:00.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:30:00.545Z] [2023-03-22T22:30:00.545Z] Login Succeeded [2023-03-22T22:30:00.545Z] nexus3.edgexfoundry.org:10002 [2023-03-22T22:30:00.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:30:00.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:30:00.545Z] Configure a credential helper to remove this warning. See [2023-03-22T22:30:00.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:30:00.545Z] [2023-03-22T22:30:00.545Z] Login Succeeded [2023-03-22T22:30:00.545Z] nexus3.edgexfoundry.org:10003 [2023-03-22T22:30:00.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:30:00.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:30:00.807Z] Configure a credential helper to remove this warning. See [2023-03-22T22:30:00.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:30:00.807Z] [2023-03-22T22:30:00.807Z] Login Succeeded [2023-03-22T22:30:00.807Z] nexus3.edgexfoundry.org:10004 [2023-03-22T22:30:00.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:30:00.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:30:00.807Z] Configure a credential helper to remove this warning. See [2023-03-22T22:30:00.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:30:00.807Z] [2023-03-22T22:30:00.807Z] Login Succeeded [2023-03-22T22:30:00.807Z] docker.io [2023-03-22T22:30:01.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:30:01.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:30:01.068Z] Configure a credential helper to remove this warning. See [2023-03-22T22:30:01.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:30:01.068Z] [2023-03-22T22:30:01.068Z] Login Succeeded [2023-03-22T22:30:01.068Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T22:30:01.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T22:30:01.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:30:01.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:30:01.148Z] ========================================================= [2023-03-22T22:30:01.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T22:30:01.148Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:30:01.449Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T22:30:01.449Z] Sending build context to Docker daemon 23.53MB [2023-03-22T22:30:01.449Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:30:01.449Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-22T22:30:01.712Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T22:30:01.712Z] 63b65145d645: Pulling fs layer [2023-03-22T22:30:01.712Z] a2d21d5440eb: Pulling fs layer [2023-03-22T22:30:01.712Z] 935e6c44a52c: Pulling fs layer [2023-03-22T22:30:01.712Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T22:30:01.712Z] 30dea6a524f1: Pulling fs layer [2023-03-22T22:30:01.712Z] a2aff8979fd8: Pulling fs layer [2023-03-22T22:30:01.712Z] 94cc34f8dd06: Waiting [2023-03-22T22:30:01.712Z] 6808be2612f2: Pulling fs layer [2023-03-22T22:30:01.712Z] 30dea6a524f1: Waiting [2023-03-22T22:30:01.712Z] f25807f1079a: Pulling fs layer [2023-03-22T22:30:01.712Z] f25807f1079a: Waiting [2023-03-22T22:30:01.712Z] a2d21d5440eb: Verifying Checksum [2023-03-22T22:30:01.712Z] a2d21d5440eb: Download complete [2023-03-22T22:30:01.712Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T22:30:01.712Z] 94cc34f8dd06: Download complete [2023-03-22T22:30:01.712Z] 30dea6a524f1: Verifying Checksum [2023-03-22T22:30:01.712Z] 30dea6a524f1: Download complete [2023-03-22T22:30:01.712Z] 63b65145d645: Download complete [2023-03-22T22:30:01.712Z] a2aff8979fd8: Verifying Checksum [2023-03-22T22:30:01.712Z] a2aff8979fd8: Download complete [2023-03-22T22:30:01.984Z] 63b65145d645: Pull complete [2023-03-22T22:30:01.984Z] a2d21d5440eb: Pull complete [2023-03-22T22:30:02.248Z] f25807f1079a: Verifying Checksum [2023-03-22T22:30:02.248Z] f25807f1079a: Download complete [2023-03-22T22:30:02.518Z] 935e6c44a52c: Verifying Checksum [2023-03-22T22:30:02.518Z] 935e6c44a52c: Download complete [2023-03-22T22:30:02.518Z] 6808be2612f2: Verifying Checksum [2023-03-22T22:30:02.518Z] 6808be2612f2: Download complete [2023-03-22T22:30:05.807Z] 935e6c44a52c: Pull complete [2023-03-22T22:30:06.065Z] 94cc34f8dd06: Pull complete [2023-03-22T22:30:06.065Z] 30dea6a524f1: Pull complete [2023-03-22T22:30:06.065Z] a2aff8979fd8: Pull complete [2023-03-22T22:30:08.594Z] 6808be2612f2: Pull complete [2023-03-22T22:30:09.529Z] f25807f1079a: Pull complete [2023-03-22T22:30:09.529Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T22:30:09.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T22:30:09.529Z] ---> 3b553350e43f [2023-03-22T22:30:09.529Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-22T22:30:10.907Z] ---> Running in 96f40476387a [2023-03-22T22:30:11.166Z] Removing intermediate container 96f40476387a [2023-03-22T22:30:11.166Z] ---> 3ca4146fe832 [2023-03-22T22:30:11.166Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T22:30:11.166Z] ---> Running in 26925aecabcf [2023-03-22T22:30:11.166Z] Removing intermediate container 26925aecabcf [2023-03-22T22:30:11.166Z] ---> 728d4cf0a1d4 [2023-03-22T22:30:11.166Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-22T22:30:11.166Z] ---> Running in b385161d531b [2023-03-22T22:30:11.426Z] Removing intermediate container b385161d531b [2023-03-22T22:30:11.426Z] ---> 529c552e28a2 [2023-03-22T22:30:11.426Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-22T22:30:11.426Z] ---> Running in 6b37151a4c0c [2023-03-22T22:30:11.426Z] Removing intermediate container 6b37151a4c0c [2023-03-22T22:30:11.426Z] ---> c7031eefa9e9 [2023-03-22T22:30:11.426Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T22:30:11.426Z] ---> Running in a35494c4ec2b [2023-03-22T22:30:11.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T22:30:11.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T22:30:12.206Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-22T22:30:12.206Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-22T22:30:12.206Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-22T22:30:12.206Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-22T22:30:12.206Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T22:30:12.206Z] OK: 269 MiB in 57 packages [2023-03-22T22:30:12.773Z] Removing intermediate container a35494c4ec2b [2023-03-22T22:30:12.773Z] ---> 3111883ce0cc [2023-03-22T22:30:12.773Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-22T22:30:12.773Z] ---> 7c7a6b6e65a9 [2023-03-22T22:30:12.773Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:30:12.773Z] ---> Running in a617263df5e6 [2023-03-22T22:30:15.220Z] Still waiting to schedule task [2023-03-22T22:30:15.221Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-22T22:30:39.337Z] Removing intermediate container a617263df5e6 [2023-03-22T22:30:39.337Z] ---> a96b95f0f64d [2023-03-22T22:30:39.337Z] Step 10/12 : COPY . . [2023-03-22T22:30:39.337Z] ---> ab0961c3003a [2023-03-22T22:30:39.337Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T22:30:39.337Z] ---> Running in c23ac6f55bb1 [2023-03-22T22:30:39.337Z] Removing intermediate container c23ac6f55bb1 [2023-03-22T22:30:39.337Z] ---> 2a411ee35bf9 [2023-03-22T22:30:39.337Z] Step 12/12 : RUN $MAKE [2023-03-22T22:30:39.337Z] ---> Running in 2e6bd602c5af [2023-03-22T22:30:39.337Z] noop [2023-03-22T22:30:39.337Z] Removing intermediate container 2e6bd602c5af [2023-03-22T22:30:39.337Z] ---> 193b5917d750 [2023-03-22T22:30:39.337Z] Successfully built 193b5917d750 [2023-03-22T22:30:39.337Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:30:39.657Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T22:30:39.657Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:30:39.729Z] prd-ubuntu20.04-docker-8c-8g-5317 does not seem to be running inside a container [2023-03-22T22:30:39.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T22:30:40.154Z] $ docker top 1a9d5098a31ca51d09c6237ae9b60a73726b93b33899a08b3925a14f40334618 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:30:40.499Z] + go version [2023-03-22T22:30:40.500Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T22:30:40.518Z] $ docker stop --time=1 1a9d5098a31ca51d09c6237ae9b60a73726b93b33899a08b3925a14f40334618 [2023-03-22T22:30:41.781Z] $ docker rm -f --volumes 1a9d5098a31ca51d09c6237ae9b60a73726b93b33899a08b3925a14f40334618 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:30:42.147Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T22:30:42.147Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:30:42.219Z] prd-ubuntu20.04-docker-8c-8g-5317 does not seem to be running inside a container [2023-03-22T22:30:42.256Z] $ 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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T22:30:42.610Z] $ docker top 385dcb58e72fa3bbfc81689c030239200a5fb85687b3e2ba29f1d5b8246b9d27 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:30:42.950Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-368 [Pipeline] fileExists [Pipeline] sh [2023-03-22T22:30:43.243Z] + make test [2023-03-22T22:30:43.243Z] go test ./... -coverprofile=coverage.out [2023-03-22T22:30:48.505Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-22T22:30:58.468Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-22T22:30:58.468Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2023-03-22T22:31:05.032Z] go vet ./... [2023-03-22T22:31:09.215Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T22:31:09.215Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T22:31:09.215Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T22:31:09.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T22:31:09.247Z] $ docker stop --time=1 385dcb58e72fa3bbfc81689c030239200a5fb85687b3e2ba29f1d5b8246b9d27 [2023-03-22T22:31:11.169Z] $ docker rm -f --volumes 385dcb58e72fa3bbfc81689c030239200a5fb85687b3e2ba29f1d5b8246b9d27 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T22:31:11.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T22:31:11.670Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T22:31:12.164Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T22:31:12.447Z] + ls -al . [2023-03-22T22:31:12.447Z] total 192 [2023-03-22T22:31:12.447Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 22:30 . [2023-03-22T22:31:12.447Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:29 .. [2023-03-22T22:31:12.447Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:29 .git [2023-03-22T22:31:12.447Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:29 .github [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 22 22:29 .gitignore [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 22:29 .golangci.yml [2023-03-22T22:31:12.447Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:29 .semver [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 22 22:29 Attribution.txt [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 22 22:29 CHANGELOG.md [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 22 22:29 Dockerfile [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:29 GOVERNANCE.md [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 22 22:29 Jenkinsfile [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 22:29 LICENSE [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 22 22:29 Makefile [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 22 22:29 OWNERS.md [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 22 22:29 README.md [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:29 VERSION [2023-03-22T22:31:12.447Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:29 bin [2023-03-22T22:31:12.447Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:29 cmd [2023-03-22T22:31:12.447Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 22 22:30 coverage.out [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 3254 Mar 22 22:29 go.mod [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 30610 Mar 22 22:29 go.sum [2023-03-22T22:31:12.447Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:29 internal [2023-03-22T22:31:12.447Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:29 snap [2023-03-22T22:31:12.447Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 22 22:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:31:12.761Z] + 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=fe064901a62a67ca9ae1ee0798090cfe3af9ec79 --label arch=amd64 --label version=0.0.0 . [2023-03-22T22:31:12.761Z] Sending build context to Docker daemon 23.57MB [2023-03-22T22:31:12.761Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:31:12.761Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-22T22:31:12.761Z] ---> 193b5917d750 [2023-03-22T22:31:12.761Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-22T22:31:13.019Z] ---> Running in 901ca58cd67b [2023-03-22T22:31:13.019Z] Removing intermediate container 901ca58cd67b [2023-03-22T22:31:13.019Z] ---> 71ccb9256451 [2023-03-22T22:31:13.019Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T22:31:13.019Z] ---> Running in 7af347930260 [2023-03-22T22:31:13.019Z] Removing intermediate container 7af347930260 [2023-03-22T22:31:13.019Z] ---> dd633f0d23f6 [2023-03-22T22:31:13.019Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-22T22:31:13.278Z] ---> Running in c17691fee4f9 [2023-03-22T22:31:13.278Z] Removing intermediate container c17691fee4f9 [2023-03-22T22:31:13.278Z] ---> 8da0a2e2bc47 [2023-03-22T22:31:13.278Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-22T22:31:13.278Z] ---> Running in 8310326dcc9d [2023-03-22T22:31:13.278Z] Removing intermediate container 8310326dcc9d [2023-03-22T22:31:13.278Z] ---> 86b93a39405e [2023-03-22T22:31:13.278Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T22:31:13.278Z] ---> Running in 6b1110770ebe [2023-03-22T22:31:13.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T22:31:13.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T22:31:14.103Z] OK: 269 MiB in 57 packages [2023-03-22T22:31:14.363Z] Removing intermediate container 6b1110770ebe [2023-03-22T22:31:14.363Z] ---> 8e3523feb419 [2023-03-22T22:31:14.363Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-22T22:31:14.621Z] ---> 8af359e5810c [2023-03-22T22:31:14.621Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:31:14.621Z] ---> Running in 20d60b0f7c9a [2023-03-22T22:31:15.556Z] Removing intermediate container 20d60b0f7c9a [2023-03-22T22:31:15.556Z] ---> dcbc6b9761ec [2023-03-22T22:31:15.556Z] Step 10/25 : COPY . . [2023-03-22T22:31:16.124Z] ---> 331d4190b1da [2023-03-22T22:31:16.124Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T22:31:16.124Z] ---> Running in 24e172148728 [2023-03-22T22:31:16.124Z] Removing intermediate container 24e172148728 [2023-03-22T22:31:16.124Z] ---> 00046bedc913 [2023-03-22T22:31:16.124Z] Step 12/25 : RUN $MAKE [2023-03-22T22:31:16.124Z] ---> Running in 71af2bb74c60 [2023-03-22T22:31:16.383Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-22T22:31:34.465Z] Removing intermediate container 71af2bb74c60 [2023-03-22T22:31:34.465Z] ---> d1dba1c41062 [2023-03-22T22:31:34.465Z] Step 13/25 : FROM alpine:3.17 [2023-03-22T22:31:34.465Z] 3.17: Pulling from library/alpine [2023-03-22T22:31:34.465Z] 63b65145d645: Already exists [2023-03-22T22:31:34.465Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T22:31:34.465Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T22:31:34.465Z] ---> b2aa39c304c2 [2023-03-22T22:31:34.465Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-22T22:31:34.465Z] ---> Running in aaa6c8b5bf7c [2023-03-22T22:31:34.465Z] Removing intermediate container aaa6c8b5bf7c [2023-03-22T22:31:34.465Z] ---> 4100ca48821b [2023-03-22T22:31:34.465Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-22T22:31:34.726Z] ---> Running in fceaee5c8d61 [2023-03-22T22:31:34.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T22:31:34.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T22:31:35.242Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-22T22:31:35.242Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T22:31:35.242Z] OK: 7 MiB in 16 packages [2023-03-22T22:31:35.502Z] Removing intermediate container fceaee5c8d61 [2023-03-22T22:31:35.502Z] ---> a4eb7bea35a5 [2023-03-22T22:31:35.502Z] Step 16/25 : WORKDIR / [2023-03-22T22:31:35.502Z] ---> Running in dc97abdc7d1d [2023-03-22T22:31:35.761Z] Removing intermediate container dc97abdc7d1d [2023-03-22T22:31:35.761Z] ---> c1e94505f062 [2023-03-22T22:31:35.761Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-22T22:31:35.761Z] ---> 8e20efbacff7 [2023-03-22T22:31:35.761Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-22T22:31:36.020Z] ---> 8d34d0bf6a65 [2023-03-22T22:31:36.020Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-22T22:31:36.587Z] ---> bd854e2b23a3 [2023-03-22T22:31:36.587Z] Step 20/25 : EXPOSE 59900 [2023-03-22T22:31:36.587Z] ---> Running in 2f5b63824d80 [2023-03-22T22:31:36.587Z] Removing intermediate container 2f5b63824d80 [2023-03-22T22:31:36.587Z] ---> 4642798b2db8 [2023-03-22T22:31:36.587Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-22T22:31:36.587Z] ---> Running in 13f72c551167 [2023-03-22T22:31:36.587Z] Removing intermediate container 13f72c551167 [2023-03-22T22:31:36.587Z] ---> 95f165778f41 [2023-03-22T22:31:36.587Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T22:31:36.587Z] ---> Running in 416fba15b2f0 [2023-03-22T22:31:36.851Z] Removing intermediate container 416fba15b2f0 [2023-03-22T22:31:36.851Z] ---> 6630b466617f [2023-03-22T22:31:36.851Z] Step 23/25 : LABEL arch=amd64 [2023-03-22T22:31:36.851Z] ---> Running in 594db712c627 [2023-03-22T22:31:36.851Z] Removing intermediate container 594db712c627 [2023-03-22T22:31:36.851Z] ---> e3eb14366be3 [2023-03-22T22:31:36.851Z] Step 24/25 : LABEL git_sha=fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [2023-03-22T22:31:36.851Z] ---> Running in 656dcd5a6ff4 [2023-03-22T22:31:36.851Z] Removing intermediate container 656dcd5a6ff4 [2023-03-22T22:31:36.851Z] ---> 152d010f2791 [2023-03-22T22:31:36.851Z] Step 25/25 : LABEL version=0.0.0 [2023-03-22T22:31:37.109Z] ---> Running in e6db4e859dc0 [2023-03-22T22:31:37.110Z] Removing intermediate container e6db4e859dc0 [2023-03-22T22:31:37.110Z] ---> 32841b7fc93d [2023-03-22T22:31:37.110Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T22:31:37.110Z] Successfully built 32841b7fc93d [2023-03-22T22:31:37.110Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:31:37.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:31:37.527Z] [2023-03-22T22:31:37.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:31:37.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:31:37.828Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T22:31:37.828Z] 5eb5b503b376: Pulling fs layer [2023-03-22T22:31:37.828Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T22:31:37.828Z] ec43610c2a17: Pulling fs layer [2023-03-22T22:31:37.828Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T22:31:37.828Z] 33b1e0a273af: Pulling fs layer [2023-03-22T22:31:37.828Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T22:31:37.828Z] 2f39f015ded8: Pulling fs layer [2023-03-22T22:31:37.828Z] 33b1e0a273af: Waiting [2023-03-22T22:31:37.828Z] 5d3b04190fa2: Waiting [2023-03-22T22:31:37.828Z] 3a2ae6a8a46f: Waiting [2023-03-22T22:31:37.828Z] 2f39f015ded8: Waiting [2023-03-22T22:31:37.828Z] 5c69ac0246d0: Verifying Checksum [2023-03-22T22:31:37.828Z] 5c69ac0246d0: Download complete [2023-03-22T22:31:37.828Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T22:31:37.828Z] 3a2ae6a8a46f: Download complete [2023-03-22T22:31:38.088Z] ec43610c2a17: Verifying Checksum [2023-03-22T22:31:38.088Z] ec43610c2a17: Download complete [2023-03-22T22:31:38.088Z] 5d3b04190fa2: Verifying Checksum [2023-03-22T22:31:38.088Z] 5d3b04190fa2: Download complete [2023-03-22T22:31:38.088Z] 33b1e0a273af: Verifying Checksum [2023-03-22T22:31:38.088Z] 33b1e0a273af: Download complete [2023-03-22T22:31:38.088Z] 5eb5b503b376: Verifying Checksum [2023-03-22T22:31:38.088Z] 5eb5b503b376: Download complete [2023-03-22T22:31:38.654Z] 2f39f015ded8: Download complete [2023-03-22T22:31:39.220Z] 5eb5b503b376: Pull complete [2023-03-22T22:31:39.480Z] 5c69ac0246d0: Pull complete [2023-03-22T22:31:39.738Z] ec43610c2a17: Pull complete [2023-03-22T22:31:39.738Z] 3a2ae6a8a46f: Pull complete [2023-03-22T22:31:39.996Z] 33b1e0a273af: Pull complete [2023-03-22T22:31:39.996Z] 5d3b04190fa2: Pull complete [2023-03-22T22:31:44.177Z] 2f39f015ded8: Pull complete [2023-03-22T22:31:44.177Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T22:31:44.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:31:44.177Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:31:44.258Z] prd-ubuntu20.04-docker-8c-8g-5317 does not seem to be running inside a container [2023-03-22T22:31:44.299Z] $ 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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T22:31:45.833Z] $ docker top 942b1985aeebc58d35041cd4464d49207be2117a7a9ec1ce311349fb91dcff85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:31:46.231Z] ---> job-cost.sh [2023-03-22T22:31:46.231Z] lf-activate-venv: SKIPPING [2023-03-22T22:31:46.231Z] INFO: No Stack... [2023-03-22T22:31:46.800Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T22:31:47.367Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T22:31:47.655Z] + cat /w/workspace/foundry_device-virtual-go_PR-368/archives/cost.csv [2023-03-22T22:31:47.656Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T22:31:47.668Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] [2023-03-22T22:31:47.678Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] did not exist. Created. [2023-03-22T22:31:47.679Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T22:31:47.977Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T22:31:48.002Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T22:31:48.007Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T22:31:48.033Z] $ docker stop --time=1 942b1985aeebc58d35041cd4464d49207be2117a7a9ec1ce311349fb91dcff85 [2023-03-22T22:31:49.216Z] $ docker rm -f --volumes 942b1985aeebc58d35041cd4464d49207be2117a7a9ec1ce311349fb91dcff85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T22:34:51.939Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5319 in /w/workspace/foundry_device-virtual-go_PR-368 [Pipeline] { [Pipeline] ws [2023-03-22T22:34:51.951Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2023-03-22T22:34:51.989Z] The recommended git tool is: git [2023-03-22T22:35:01.788Z] using credential edgex-jenkins-ssh [2023-03-22T22:35:01.805Z] Cloning the remote Git repository [2023-03-22T22:35:01.881Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-22T22:35:02.059Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2023-03-22T22:35:02.396Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-22T22:35:02.401Z] > git --version # timeout=10 [2023-03-22T22:35:02.475Z] > git --version # 'git version 2.25.1' [2023-03-22T22:35:02.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T22:35:02.815Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T22:35:05.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-22T22:35:05.390Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T22:35:06.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-22T22:35:07.072Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-22T22:35:07.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T22:35:07.113Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T22:35:07.813Z] Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [2023-03-22T22:35:08.282Z] Merge succeeded, producing fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [2023-03-22T22:35:08.283Z] Checking out Revision fe064901a62a67ca9ae1ee0798090cfe3af9ec79 (PR-368) [2023-03-22T22:35:07.842Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T22:35:07.970Z] > git checkout -f fe064901a62a67ca9ae1ee0798090cfe3af9ec79 # timeout=10 [2023-03-22T22:35:08.114Z] > git remote # timeout=10 [2023-03-22T22:35:08.157Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T22:35:08.190Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T22:35:08.209Z] > git merge 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 [2023-03-22T22:35:08.252Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T22:35:08.294Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T22:35:08.348Z] > git checkout -f fe064901a62a67ca9ae1ee0798090cfe3af9ec79 # timeout=10 [2023-03-22T22:35:12.377Z] Commit message: "refactor!: Change configuration and devices files format to YAML" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T22:35:13.440Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T22:35:13.440Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T22:35:13.440Z] Dload Upload Total Spent Left Speed [2023-03-22T22:35:13.440Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-03-22T22:35:14.158Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T22:35:14.507Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T22:35:14.507Z] + sudo tee /etc/docker/daemon.new [2023-03-22T22:35:14.507Z] { [2023-03-22T22:35:14.507Z] "registry-mirrors": [ [2023-03-22T22:35:14.507Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T22:35:14.507Z] ], [2023-03-22T22:35:14.507Z] "bip": "10.250.0.254/24", [2023-03-22T22:35:14.507Z] "hosts": [ [2023-03-22T22:35:14.507Z] "tcp://0.0.0.0:5555", [2023-03-22T22:35:14.507Z] "unix:///var/run/docker.sock" [2023-03-22T22:35:14.507Z] ], [2023-03-22T22:35:14.507Z] "mtu": 1458, [2023-03-22T22:35:14.507Z] "selinux-enabled": true, [2023-03-22T22:35:14.507Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T22:35:14.507Z] } [Pipeline] sh [2023-03-22T22:35:14.862Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T22:35:15.224Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:35:33.726Z] provisioning config files... [2023-03-22T22:35:33.759Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3560249975327104349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:35:34.139Z] ---> docker-login.sh [2023-03-22T22:35:34.139Z] nexus3.edgexfoundry.org:10001 [2023-03-22T22:35:34.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:35:34.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:35:34.735Z] Configure a credential helper to remove this warning. See [2023-03-22T22:35:34.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:35:34.735Z] [2023-03-22T22:35:34.735Z] Login Succeeded [2023-03-22T22:35:34.735Z] nexus3.edgexfoundry.org:10002 [2023-03-22T22:35:35.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:35:35.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:35:35.287Z] Configure a credential helper to remove this warning. See [2023-03-22T22:35:35.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:35:35.287Z] [2023-03-22T22:35:35.287Z] Login Succeeded [2023-03-22T22:35:35.287Z] nexus3.edgexfoundry.org:10003 [2023-03-22T22:35:35.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:35:35.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:35:35.562Z] Configure a credential helper to remove this warning. See [2023-03-22T22:35:35.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:35:35.562Z] [2023-03-22T22:35:35.562Z] Login Succeeded [2023-03-22T22:35:35.562Z] nexus3.edgexfoundry.org:10004 [2023-03-22T22:35:35.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:35:36.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:35:36.111Z] Configure a credential helper to remove this warning. See [2023-03-22T22:35:36.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:35:36.111Z] [2023-03-22T22:35:36.111Z] Login Succeeded [2023-03-22T22:35:36.111Z] docker.io [2023-03-22T22:35:36.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:35:36.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:35:36.657Z] Configure a credential helper to remove this warning. See [2023-03-22T22:35:36.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:35:36.657Z] [2023-03-22T22:35:36.657Z] Login Succeeded [2023-03-22T22:35:36.657Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T22:35:36.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T22:35:37.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:35:37.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:35:37.033Z] ========================================================= [2023-03-22T22:35:37.033Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T22:35:37.033Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:35:37.395Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T22:35:37.681Z] Sending build context to Docker daemon 11.94MB [2023-03-22T22:35:37.973Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:35:37.973Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-22T22:35:37.973Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T22:35:37.973Z] af6eaf76a39c: Pulling fs layer [2023-03-22T22:35:37.973Z] 55522c791124: Pulling fs layer [2023-03-22T22:35:37.973Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T22:35:37.973Z] 169dfbe0d373: Pulling fs layer [2023-03-22T22:35:37.973Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T22:35:37.973Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T22:35:37.974Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T22:35:37.974Z] e1ff8fa3b103: Waiting [2023-03-22T22:35:37.974Z] 5abe8eddf0d5: Waiting [2023-03-22T22:35:37.974Z] 52ebb69f0ebf: Waiting [2023-03-22T22:35:37.974Z] 169dfbe0d373: Waiting [2023-03-22T22:35:38.256Z] 55522c791124: Verifying Checksum [2023-03-22T22:35:38.256Z] 55522c791124: Download complete [2023-03-22T22:35:38.256Z] 169dfbe0d373: Verifying Checksum [2023-03-22T22:35:38.256Z] 169dfbe0d373: Download complete [2023-03-22T22:35:38.256Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T22:35:38.256Z] e1ff8fa3b103: Download complete [2023-03-22T22:35:38.256Z] af6eaf76a39c: Verifying Checksum [2023-03-22T22:35:38.256Z] af6eaf76a39c: Download complete [2023-03-22T22:35:39.229Z] af6eaf76a39c: Pull complete [2023-03-22T22:35:39.502Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T22:35:39.502Z] 5abe8eddf0d5: Download complete [2023-03-22T22:35:39.774Z] 55522c791124: Pull complete [2023-03-22T22:35:41.208Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T22:35:41.208Z] ce5c4a1c91eb: Download complete [2023-03-22T22:35:41.208Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T22:35:41.208Z] 52ebb69f0ebf: Download complete [2023-03-22T22:35:53.569Z] ce5c4a1c91eb: Pull complete [2023-03-22T22:35:53.569Z] 169dfbe0d373: Pull complete [2023-03-22T22:35:53.569Z] e1ff8fa3b103: Pull complete [2023-03-22T22:35:58.944Z] 52ebb69f0ebf: Pull complete [2023-03-22T22:36:00.927Z] 5abe8eddf0d5: Pull complete [2023-03-22T22:36:00.927Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T22:36:00.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T22:36:00.927Z] ---> 6cb57ee374ae [2023-03-22T22:36:00.927Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-22T22:36:06.191Z] ---> Running in a62d04f11962 [2023-03-22T22:36:06.191Z] Removing intermediate container a62d04f11962 [2023-03-22T22:36:06.191Z] ---> 98c86ded52a6 [2023-03-22T22:36:06.191Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T22:36:06.191Z] ---> Running in 8178164fc847 [2023-03-22T22:36:06.191Z] Removing intermediate container 8178164fc847 [2023-03-22T22:36:06.191Z] ---> 3ec368e33934 [2023-03-22T22:36:06.191Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-22T22:36:06.191Z] ---> Running in 4e47f73c8c56 [2023-03-22T22:36:06.191Z] Removing intermediate container 4e47f73c8c56 [2023-03-22T22:36:06.191Z] ---> 1e401dee3faa [2023-03-22T22:36:06.191Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-22T22:36:06.191Z] ---> Running in 6c56e9ca4097 [2023-03-22T22:36:06.191Z] Removing intermediate container 6c56e9ca4097 [2023-03-22T22:36:06.191Z] ---> f48fb35d2b97 [2023-03-22T22:36:06.191Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T22:36:06.191Z] ---> Running in 543ff158071f [2023-03-22T22:36:06.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T22:36:09.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T22:36:10.643Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-22T22:36:10.643Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-22T22:36:10.643Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-22T22:36:10.643Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-22T22:36:10.643Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T22:36:10.643Z] OK: 268 MiB in 57 packages [2023-03-22T22:36:11.619Z] Removing intermediate container 543ff158071f [2023-03-22T22:36:11.619Z] ---> 2e0e511eccc0 [2023-03-22T22:36:11.619Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-22T22:36:12.215Z] ---> a73d432e95b6 [2023-03-22T22:36:12.215Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:36:12.489Z] ---> Running in 4b439b122407 [2023-03-22T22:37:34.179Z] Removing intermediate container 4b439b122407 [2023-03-22T22:37:34.179Z] ---> 3827e021be68 [2023-03-22T22:37:34.179Z] Step 10/12 : COPY . . [2023-03-22T22:37:34.179Z] ---> 5abb78daddc6 [2023-03-22T22:37:34.179Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T22:37:34.179Z] ---> Running in ee2d7f960bb5 [2023-03-22T22:37:34.179Z] Removing intermediate container ee2d7f960bb5 [2023-03-22T22:37:34.179Z] ---> 7ff906b5a854 [2023-03-22T22:37:34.179Z] Step 12/12 : RUN $MAKE [2023-03-22T22:37:34.179Z] ---> Running in b6f4a464dde3 [2023-03-22T22:37:34.179Z] noop [2023-03-22T22:37:34.179Z] Removing intermediate container b6f4a464dde3 [2023-03-22T22:37:34.179Z] ---> d5d8a2f6ffb4 [2023-03-22T22:37:34.179Z] Successfully built d5d8a2f6ffb4 [2023-03-22T22:37:34.179Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:37:34.527Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T22:37:34.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:37:34.765Z] prd-ubuntu20.04-docker-arm64-4c-16g-5319 does not seem to be running inside a container [2023-03-22T22:37:34.845Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-03-22T22:37:36.099Z] $ docker top 3b220a516ddd9ba3b7f64dfd7e32e804b5f97d675110567865585c516e9128b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:37:36.954Z] + go version [2023-03-22T22:37:36.954Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T22:37:36.979Z] $ docker stop --time=1 3b220a516ddd9ba3b7f64dfd7e32e804b5f97d675110567865585c516e9128b0 [2023-03-22T22:37:40.113Z] $ docker rm -f --volumes 3b220a516ddd9ba3b7f64dfd7e32e804b5f97d675110567865585c516e9128b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:37:40.653Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T22:37:40.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:37:40.846Z] prd-ubuntu20.04-docker-arm64-4c-16g-5319 does not seem to be running inside a container [2023-03-22T22:37:40.925Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-03-22T22:37:42.143Z] $ docker top 3fcd54e474dc54d78531418fe7f70a44af6676a588f3cf67e22e3cfbbd16bebc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:37:42.668Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-22T22:37:43.010Z] + make test [2023-03-22T22:37:43.010Z] go test ./... -coverprofile=coverage.out [2023-03-22T22:38:21.920Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-22T22:40:13.660Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-22T22:40:13.660Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.137s coverage: 65.7% of statements [2023-03-22T22:40:13.930Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-22T22:40:13.930Z] go vet ./... [2023-03-22T22:40:46.210Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T22:40:46.210Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T22:40:46.210Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T22:40:46.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T22:40:46.250Z] $ docker stop --time=1 3fcd54e474dc54d78531418fe7f70a44af6676a588f3cf67e22e3cfbbd16bebc [2023-03-22T22:40:49.482Z] $ docker rm -f --volumes 3fcd54e474dc54d78531418fe7f70a44af6676a588f3cf67e22e3cfbbd16bebc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T22:40:50.752Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T22:40:50.774Z] Warning: overwriting stash ‘coverage-report’ [2023-03-22T22:40:51.567Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T22:40:51.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T22:40:52.324Z] + ls -al . [2023-03-22T22:40:52.324Z] total 188 [2023-03-22T22:40:52.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:37 . [2023-03-22T22:40:52.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:35 .. [2023-03-22T22:40:52.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:35 .git [2023-03-22T22:40:52.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:35 .github [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 22 22:35 .gitignore [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 22:35 .golangci.yml [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 22 22:35 Attribution.txt [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 22 22:35 CHANGELOG.md [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 22 22:35 Dockerfile [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:35 GOVERNANCE.md [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 22 22:35 Jenkinsfile [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 22:35 LICENSE [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 22 22:35 Makefile [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 22 22:35 OWNERS.md [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 22 22:35 README.md [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:29 VERSION [2023-03-22T22:40:52.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:35 bin [2023-03-22T22:40:52.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:35 cmd [2023-03-22T22:40:52.324Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 22 22:40 coverage.out [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 3254 Mar 22 22:35 go.mod [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 30610 Mar 22 22:35 go.sum [2023-03-22T22:40:52.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:35 internal [2023-03-22T22:40:52.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:35 snap [2023-03-22T22:40:52.324Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 22 22:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:40:52.683Z] + 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=fe064901a62a67ca9ae1ee0798090cfe3af9ec79 --label arch=arm64 --label version=0.0.0 . [2023-03-22T22:40:53.280Z] Sending build context to Docker daemon 11.98MB [2023-03-22T22:40:53.280Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:40:53.280Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-22T22:40:53.280Z] ---> d5d8a2f6ffb4 [2023-03-22T22:40:53.280Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-22T22:40:53.280Z] ---> Running in c3687494a686 [2023-03-22T22:40:53.555Z] Removing intermediate container c3687494a686 [2023-03-22T22:40:53.555Z] ---> 5ec91030d04a [2023-03-22T22:40:53.555Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T22:40:53.827Z] ---> Running in 9bbada605968 [2023-03-22T22:40:54.100Z] Removing intermediate container 9bbada605968 [2023-03-22T22:40:54.100Z] ---> 7c6d0586c8c4 [2023-03-22T22:40:54.100Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-22T22:40:54.100Z] ---> Running in f227e56de642 [2023-03-22T22:40:54.388Z] Removing intermediate container f227e56de642 [2023-03-22T22:40:54.388Z] ---> 27969f988773 [2023-03-22T22:40:54.388Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-22T22:40:54.667Z] ---> Running in f17e9dd659bc [2023-03-22T22:40:54.942Z] Removing intermediate container f17e9dd659bc [2023-03-22T22:40:54.942Z] ---> 5be2353bec25 [2023-03-22T22:40:54.942Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T22:40:54.942Z] ---> Running in 3ded16eaa85e [2023-03-22T22:40:55.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T22:40:56.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T22:40:57.862Z] OK: 268 MiB in 57 packages [2023-03-22T22:40:58.836Z] Removing intermediate container 3ded16eaa85e [2023-03-22T22:40:58.836Z] ---> ad810e36bb20 [2023-03-22T22:40:58.836Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-22T22:41:00.806Z] ---> 168c9c888dd6 [2023-03-22T22:41:00.806Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:41:00.806Z] ---> Running in 003a0bef4ced [2023-03-22T22:41:04.175Z] Removing intermediate container 003a0bef4ced [2023-03-22T22:41:04.175Z] ---> fbe05b1430e6 [2023-03-22T22:41:04.175Z] Step 10/25 : COPY . . [2023-03-22T22:41:05.141Z] ---> ee285033b071 [2023-03-22T22:41:05.141Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T22:41:05.141Z] ---> Running in 7579609332d0 [2023-03-22T22:41:05.411Z] Removing intermediate container 7579609332d0 [2023-03-22T22:41:05.411Z] ---> 0b4b69c12c62 [2023-03-22T22:41:05.411Z] Step 12/25 : RUN $MAKE [2023-03-22T22:41:05.411Z] ---> Running in 3f630d211fd5 [2023-03-22T22:41:06.376Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-22T22:43:43.148Z] Removing intermediate container 3f630d211fd5 [2023-03-22T22:43:43.148Z] ---> fd831f669da7 [2023-03-22T22:43:43.148Z] Step 13/25 : FROM alpine:3.17 [2023-03-22T22:43:43.148Z] 3.17: Pulling from library/alpine [2023-03-22T22:43:43.148Z] af6eaf76a39c: Already exists [2023-03-22T22:43:43.148Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T22:43:43.148Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T22:43:43.148Z] ---> d74e625d9115 [2023-03-22T22:43:43.148Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-22T22:43:43.148Z] ---> Running in 862064a0ef22 [2023-03-22T22:43:43.148Z] Removing intermediate container 862064a0ef22 [2023-03-22T22:43:43.148Z] ---> abc136d0266c [2023-03-22T22:43:43.148Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-22T22:43:43.148Z] ---> Running in fc0dea27f51f [2023-03-22T22:43:43.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T22:43:43.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T22:43:43.148Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-22T22:43:43.148Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T22:43:43.148Z] OK: 8 MiB in 16 packages [2023-03-22T22:43:43.148Z] Removing intermediate container fc0dea27f51f [2023-03-22T22:43:43.148Z] ---> 291eb3d463ed [2023-03-22T22:43:43.148Z] Step 16/25 : WORKDIR / [2023-03-22T22:43:43.148Z] ---> Running in 11f66b7d37e1 [2023-03-22T22:43:43.148Z] Removing intermediate container 11f66b7d37e1 [2023-03-22T22:43:43.148Z] ---> 5b68bd459d0f [2023-03-22T22:43:43.148Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-22T22:43:43.148Z] ---> 7eb77339f4c9 [2023-03-22T22:43:43.148Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-22T22:43:43.148Z] ---> bf70d6f87bf3 [2023-03-22T22:43:43.148Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-22T22:43:43.148Z] ---> 0f32eb3fb04c [2023-03-22T22:43:43.148Z] Step 20/25 : EXPOSE 59900 [2023-03-22T22:43:43.148Z] ---> Running in cec8d84803df [2023-03-22T22:43:43.148Z] Removing intermediate container cec8d84803df [2023-03-22T22:43:43.148Z] ---> 921b3e8e1026 [2023-03-22T22:43:43.148Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-22T22:43:43.148Z] ---> Running in 80934502bf0a [2023-03-22T22:43:43.148Z] Removing intermediate container 80934502bf0a [2023-03-22T22:43:43.148Z] ---> 48f4a0ad61c8 [2023-03-22T22:43:43.148Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T22:43:43.148Z] ---> Running in 01eec7d3defb [2023-03-22T22:43:43.148Z] Removing intermediate container 01eec7d3defb [2023-03-22T22:43:43.148Z] ---> b20d605ef566 [2023-03-22T22:43:43.148Z] Step 23/25 : LABEL arch=arm64 [2023-03-22T22:43:43.148Z] ---> Running in 6920c8e7babd [2023-03-22T22:43:43.148Z] Removing intermediate container 6920c8e7babd [2023-03-22T22:43:43.148Z] ---> bb678b2402a3 [2023-03-22T22:43:43.148Z] Step 24/25 : LABEL git_sha=fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [2023-03-22T22:43:43.148Z] ---> Running in 53aedcdf26cd [2023-03-22T22:43:43.148Z] Removing intermediate container 53aedcdf26cd [2023-03-22T22:43:43.148Z] ---> 33790a37c5b3 [2023-03-22T22:43:43.148Z] Step 25/25 : LABEL version=0.0.0 [2023-03-22T22:43:43.148Z] ---> Running in 9d9cb4799b80 [2023-03-22T22:43:43.148Z] Removing intermediate container 9d9cb4799b80 [2023-03-22T22:43:43.148Z] ---> acb3046a15aa [2023-03-22T22:43:43.148Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T22:43:43.148Z] Successfully built acb3046a15aa [2023-03-22T22:43:43.148Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:43:43.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T22:43:43.578Z] [2023-03-22T22:43:43.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:43:43.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T22:43:44.184Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T22:43:44.184Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T22:43:44.184Z] 04944245beec: Pulling fs layer [2023-03-22T22:43:44.184Z] 699f458cf7ca: Pulling fs layer [2023-03-22T22:43:44.184Z] 765212b225bb: Pulling fs layer [2023-03-22T22:43:44.184Z] f23df028b6ca: Pulling fs layer [2023-03-22T22:43:44.184Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T22:43:44.184Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T22:43:44.184Z] 765212b225bb: Waiting [2023-03-22T22:43:44.184Z] f23df028b6ca: Waiting [2023-03-22T22:43:44.184Z] d65c8cfc05b1: Waiting [2023-03-22T22:43:44.184Z] 2437ff75d9bd: Waiting [2023-03-22T22:43:44.184Z] 04944245beec: Verifying Checksum [2023-03-22T22:43:44.184Z] 04944245beec: Download complete [2023-03-22T22:43:44.184Z] 765212b225bb: Verifying Checksum [2023-03-22T22:43:44.184Z] 765212b225bb: Download complete [2023-03-22T22:43:44.184Z] f23df028b6ca: Verifying Checksum [2023-03-22T22:43:44.184Z] f23df028b6ca: Download complete [2023-03-22T22:43:44.456Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T22:43:44.456Z] d65c8cfc05b1: Download complete [2023-03-22T22:43:44.456Z] 699f458cf7ca: Verifying Checksum [2023-03-22T22:43:44.456Z] 699f458cf7ca: Download complete [2023-03-22T22:43:44.725Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T22:43:44.725Z] 8998bd30e6a1: Download complete [2023-03-22T22:43:47.313Z] 2437ff75d9bd: Download complete [2023-03-22T22:43:50.669Z] 8998bd30e6a1: Pull complete [2023-03-22T22:43:50.669Z] 04944245beec: Pull complete [2023-03-22T22:43:52.082Z] 699f458cf7ca: Pull complete [2023-03-22T22:43:52.352Z] 765212b225bb: Pull complete [2023-03-22T22:43:53.319Z] f23df028b6ca: Pull complete [2023-03-22T22:43:53.319Z] d65c8cfc05b1: Pull complete [2023-03-22T22:44:08.344Z] 2437ff75d9bd: Pull complete [2023-03-22T22:44:08.344Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T22:44:08.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T22:44:08.344Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:44:08.544Z] prd-ubuntu20.04-docker-arm64-4c-16g-5319 does not seem to be running inside a container [2023-03-22T22:44:08.621Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T22:44:11.596Z] $ docker top 402058a24801176576b1e3831433145c5ed90e46ecb50798b781b2d7ca7daf0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:44:12.453Z] ---> job-cost.sh [2023-03-22T22:44:12.453Z] lf-activate-venv: SKIPPING [2023-03-22T22:44:12.453Z] INFO: No Stack... [2023-03-22T22:44:13.037Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T22:44:14.002Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T22:44:14.645Z] + + cat /w/workspace/device-virtual-go/2/archives/cost.csvcut [2023-03-22T22:44:14.645Z] -d, -f6 [Pipeline] lock [2023-03-22T22:44:14.686Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] [2023-03-22T22:44:14.692Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] did not exist. Created. [2023-03-22T22:44:14.693Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T22:44:15.363Z] /w/workspace/device-virtual-go/2@tmp/durable-d4c37583/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T22:44:16.029Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T22:44:16.053Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T22:44:16.110Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T22:44:16.117Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T22:44:16.142Z] $ docker stop --time=1 402058a24801176576b1e3831433145c5ed90e46ecb50798b781b2d7ca7daf0e [2023-03-22T22:44:17.691Z] $ docker rm -f --volumes 402058a24801176576b1e3831433145c5ed90e46ecb50798b781b2d7ca7daf0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-22T22:44:18.086Z] provisioning config files... [2023-03-22T22:44:18.094Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config13010514951968572307tmp [Pipeline] { [Pipeline] sh [2023-03-22T22:44:18.386Z] + set +x [2023-03-22T22:44:18.386Z] + curl -s https://codecov.io/bash [2023-03-22T22:44:18.386Z] + bash -s -- [2023-03-22T22:44:18.386Z] [2023-03-22T22:44:18.386Z] _____ _ [2023-03-22T22:44:18.386Z] / ____| | | [2023-03-22T22:44:18.386Z] | | ___ __| | ___ ___ _____ __ [2023-03-22T22:44:18.386Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-22T22:44:18.386Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-22T22:44:18.386Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-22T22:44:18.386Z] Bash-1.0.6 [2023-03-22T22:44:18.386Z] [2023-03-22T22:44:18.386Z] [2023-03-22T22:44:18.386Z] ==> git version 2.25.1 found [2023-03-22T22:44:18.386Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-22T22:44:18.386Z] Release-Date: 2020-01-08 [2023-03-22T22:44:18.386Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-22T22:44:18.386Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-22T22:44:18.386Z] ==> Jenkins CI detected. [2023-03-22T22:44:18.386Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-368 [2023-03-22T22:44:18.386Z] project root: . [2023-03-22T22:44:18.386Z] --> token set from env [2023-03-22T22:44:18.386Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-22T22:44:18.386Z] ==> Running gcov in . (disable via -X gcov) [2023-03-22T22:44:18.386Z] ==> Python coveragepy not found [2023-03-22T22:44:18.386Z] ==> Searching for coverage reports in: [2023-03-22T22:44:18.386Z] + . [2023-03-22T22:44:18.386Z] -> Found 1 reports [2023-03-22T22:44:18.386Z] ==> Detecting git/mercurial file structure [2023-03-22T22:44:18.646Z] ==> Reading reports [2023-03-22T22:44:18.646Z] + ./coverage.out bytes=44311 [2023-03-22T22:44:18.646Z] ==> Appending adjustments [2023-03-22T22:44:18.646Z] https://docs.codecov.io/docs/fixing-reports [2023-03-22T22:44:18.646Z] + Found adjustments [2023-03-22T22:44:18.646Z] ==> Gzipping contents [2023-03-22T22:44:18.646Z] 8.0K /tmp/codecov.xFcNy2.gz [2023-03-22T22:44:18.646Z] ==> Uploading reports [2023-03-22T22:44:18.646Z] url: https://codecov.io [2023-03-22T22:44:18.646Z] query: branch=PR-368&commit=fe064901a62a67ca9ae1ee0798090cfe3af9ec79&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-368%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=368&job=&cmd_args= [2023-03-22T22:44:18.646Z] -> Pinging Codecov [2023-03-22T22:44:18.646Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-368&commit=fe064901a62a67ca9ae1ee0798090cfe3af9ec79&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-368%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=368&job=&cmd_args= [2023-03-22T22:44:18.906Z] -> Uploading to [2023-03-22T22:44:18.906Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-22/5E52B4B073DB2E39498172D8E973AA87/fe064901a62a67ca9ae1ee0798090cfe3af9ec79/1a115a0c-3c52-4d67-9e8a-225669f6c11e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T224418Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=afabe823f7de09a27e0972925aa93861a8d5f9e26e0c82b71569211d3c06e5af [2023-03-22T22:44:18.906Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T22:44:18.906Z] Dload Upload Total Spent Left Speed [2023-03-22T22:44:19.166Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5413 0 0 100 5413 0 20426 --:--:-- --:--:-- --:--:-- 20426 [2023-03-22T22:44:19.166Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [Pipeline] } [2023-03-22T22:44:19.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-22T22:44:19.836Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-368/archives ] [2023-03-22T22:44:19.836Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-368/archives [2023-03-22T22:44:19.836Z] total 16 [2023-03-22T22:44:19.836Z] drwxr-xr-x 3 root root 4096 Mar 22 22:31 . [2023-03-22T22:44:19.836Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 22:31 .. [2023-03-22T22:44:19.836Z] drwxr-xr-x 2 root root 4096 Mar 22 22:31 cost [2023-03-22T22:44:19.836Z] -rw-r--r-- 1 root root 89 Mar 22 22:31 cost.csv [2023-03-22T22:44:19.836Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-368/archives [2023-03-22T22:44:19.836Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-368/archives [2023-03-22T22:44:19.836Z] total 16 [2023-03-22T22:44:19.836Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:31 . [2023-03-22T22:44:19.836Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 22:31 .. [2023-03-22T22:44:19.836Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 22:31 cost [2023-03-22T22:44:19.836Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 22 22:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:44:20.125Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:44:20.980Z] ---> package-listing.sh [2023-03-22T22:44:20.980Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T22:44:20.980Z] ++ facter osfamily [2023-03-22T22:44:21.239Z] + OS_FAMILY=debian [2023-03-22T22:44:21.239Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-368 [2023-03-22T22:44:21.239Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T22:44:21.239Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T22:44:21.239Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T22:44:21.239Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T22:44:21.239Z] + '[' /w/workspace/foundry_device-virtual-go_PR-368 ']' [2023-03-22T22:44:21.239Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T22:44:21.239Z] + case "${OS_FAMILY}" in [2023-03-22T22:44:21.239Z] + dpkg -l [2023-03-22T22:44:21.239Z] + grep '^ii' [2023-03-22T22:44:21.239Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T22:44:21.239Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T22:44:21.239Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T22:44:21.239Z] + '[' /w/workspace/foundry_device-virtual-go_PR-368 ']' [2023-03-22T22:44:21.239Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-368/archives/ [2023-03-22T22:44:21.239Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-368/archives/ [Pipeline] echo [2023-03-22T22:44:21.249Z] 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-368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T22:44:21.527Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:44:22.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:44:22.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:44:22.152Z] prd-ubuntu20.04-docker-8c-8g-5317 does not seem to be running inside a container [2023-03-22T22:44:22.197Z] $ 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-368/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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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-03-22T22:44:22.414Z] $ docker top 3627070a31beb2135bc3d15a4cd497359af9a4f8fe88817569d8a2e27f5eb7fe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:44:22.734Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T22:44:23.020Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T22:44:23.306Z] + ls /var/log/sa-host [2023-03-22T22:44:23.306Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:44:23.367Z] provisioning config files... [2023-03-22T22:44:23.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config6049174365218613342tmp [Pipeline] { [Pipeline] echo [2023-03-22T22:44:23.386Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:44:23.664Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T22:44:23.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:44:23.991Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T22:44:23.999Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:44:24.280Z] ---> sudo-logs.sh [2023-03-22T22:44:24.280Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T22:44:24.308Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:44:24.592Z] ---> job-cost.sh [2023-03-22T22:44:24.592Z] lf-activate-venv: SKIPPING [2023-03-22T22:44:24.592Z] DEBUG: total: 0.2199999988079071 [2023-03-22T22:44:24.592Z] INFO: Retrieving Stack Cost... [2023-03-22T22:44:25.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T22:44:25.419Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T22:44:25.429Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:44:25.716Z] ---> logs-deploy.sh [2023-03-22T22:44:25.717Z] lf-activate-venv: SKIPPING [2023-03-22T22:44:25.717Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-368/2 [2023-03-22T22:44:25.717Z] INFO: archiving workspace using pattern(s): [2023-03-22T22:44:26.652Z] Archives upload complete. [2023-03-22T22:44:26.652Z] INFO: archiving logs to Nexus