Pull request #339 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from c15a857566fe9c1c40a382c918136db912394674+36cfc47f60822cf39bc0d17e26bed27cbab57cb6 (b5b7861ffcce85b3beb7942827ef536f3a340ab5) 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-ssh7201580785558788843.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16985973597534964922.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8386132783032478741.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1307546690825198469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14665096154067838214.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15482724138253158475.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5853 in /w/workspace/foundry_device-virtual-go_PR-339 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-339 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 into PR head commit c15a857566fe9c1c40a382c918136db912394674 Merge succeeded, producing c15a857566fe9c1c40a382c918136db912394674 Checking out Revision c15a857566fe9c1c40a382c918136db912394674 (PR-339) > git config core.sparsecheckout # timeout=10 > git checkout -f c15a857566fe9c1c40a382c918136db912394674 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c15a857566fe9c1c40a382c918136db912394674 # timeout=10 Commit message: "feat!: updates for common config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-14T18:27:25.795Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T18:27:25.971Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T18:27:26.079Z] ========================================================= [2023-02-14T18:27:26.079Z] EdgeX Global Pipelines Version Info [2023-02-14T18:27:26.079Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:27:26.821Z] ------------------- [2023-02-14T18:27:26.821Z] stable info: [2023-02-14T18:27:26.821Z] ------------------- [2023-02-14T18:27:26.821Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T18:27:26.821Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T18:27:26.821Z] Message: update stable to v1.0.244 [2023-02-14T18:27:27.392Z] ------------------- [2023-02-14T18:27:27.392Z] experimental info: [2023-02-14T18:27:27.392Z] ------------------- [2023-02-14T18:27:27.392Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T18:27:27.392Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T18:27:27.392Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T18:27:27.696Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-14T18:27:27.742Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-14T18:27:27.787Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T18:27:27.827Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T18:27:27.871Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T18:27:27.910Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T18:27:27.950Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T18:27:27.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-14T18:27:28.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T18:27:28.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T18:27:28.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T18:27:28.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-14T18:27:28.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T18:27:28.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T18:27:28.284Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T18:27:28.323Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T18:27:28.364Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T18:27:28.402Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T18:27:28.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T18:27:28.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T18:27:28.523Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-14T18:27:28.564Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-14T18:27:28.607Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T18:27:28.651Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T18:27:28.695Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T18:27:28.734Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T18:27:28.775Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T18:27:28.814Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-339 [Pipeline] echo [2023-02-14T18:27:28.858Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-339 [Pipeline] echo [2023-02-14T18:27:28.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-339 [Pipeline] echo [2023-02-14T18:27:28.937Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c15a857566fe9c1c40a382c918136db912394674 [Pipeline] echo [2023-02-14T18:27:28.981Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c15a857 [Pipeline] echo [2023-02-14T18:27:29.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:27:29.137Z] provisioning config files... [2023-02-14T18:27:29.152Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config3890613366315352224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:27:29.496Z] ---> docker-login.sh [2023-02-14T18:27:29.497Z] nexus3.edgexfoundry.org:10001 [2023-02-14T18:27:29.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:27:30.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:27:30.019Z] Configure a credential helper to remove this warning. See [2023-02-14T18:27:30.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:27:30.019Z] [2023-02-14T18:27:30.019Z] Login Succeeded [2023-02-14T18:27:30.019Z] nexus3.edgexfoundry.org:10002 [2023-02-14T18:27:30.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:27:30.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:27:30.019Z] Configure a credential helper to remove this warning. See [2023-02-14T18:27:30.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:27:30.019Z] [2023-02-14T18:27:30.019Z] Login Succeeded [2023-02-14T18:27:30.019Z] nexus3.edgexfoundry.org:10003 [2023-02-14T18:27:30.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:27:30.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:27:30.280Z] Configure a credential helper to remove this warning. See [2023-02-14T18:27:30.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:27:30.280Z] [2023-02-14T18:27:30.280Z] Login Succeeded [2023-02-14T18:27:30.280Z] nexus3.edgexfoundry.org:10004 [2023-02-14T18:27:30.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:27:30.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:27:30.280Z] Configure a credential helper to remove this warning. See [2023-02-14T18:27:30.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:27:30.280Z] [2023-02-14T18:27:30.280Z] Login Succeeded [2023-02-14T18:27:30.280Z] docker.io [2023-02-14T18:27:30.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:27:30.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:27:30.541Z] Configure a credential helper to remove this warning. See [2023-02-14T18:27:30.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:27:30.541Z] [2023-02-14T18:27:30.541Z] Login Succeeded [2023-02-14T18:27:30.541Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T18:27:30.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T18:27:31.198Z] + git rev-list -1 --merges c15a857566fe9c1c40a382c918136db912394674~1..c15a857566fe9c1c40a382c918136db912394674 [Pipeline] echo [2023-02-14T18:27:31.263Z] -----------> git rev-list -1 --merges c15a857566fe9c1c40a382c918136db912394674~1..c15a857566fe9c1c40a382c918136db912394674 c15a857566fe9c1c40a382c918136db912394674 [false] [Pipeline] sh [2023-02-14T18:27:31.575Z] + git log --format=format:%s -1 c15a857566fe9c1c40a382c918136db912394674 [Pipeline] echo [2023-02-14T18:27:31.609Z] ========================================================= [2023-02-14T18:27:31.610Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T18:27:31.610Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T18:27:32.029Z] + git log --format=format:%s -1 c15a857566fe9c1c40a382c918136db912394674 [Pipeline] echo [2023-02-14T18:27:32.063Z] [semverPrep] GIT_COMMIT: c15a857566fe9c1c40a382c918136db912394674, Commit Message: feat!: updates for common config [Pipeline] echo [2023-02-14T18:27:32.090Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T18:27:32.475Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T18:27:32.475Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T18:27:32.475Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T18:27:32.475Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T18:27:32.475Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-14T18:27:32.475Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T18:27:32.475Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:27:32.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T18:27:32.951Z] [2023-02-14T18:27:32.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:27:33.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T18:27:33.332Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T18:27:33.332Z] b85a868b505f: Pulling fs layer [2023-02-14T18:27:33.332Z] e2be974225ed: Pulling fs layer [2023-02-14T18:27:33.332Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T18:27:33.332Z] 988bab9f4d93: Pulling fs layer [2023-02-14T18:27:33.332Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T18:27:33.332Z] eaf3925da568: Pulling fs layer [2023-02-14T18:27:33.332Z] bab4dde63d76: Pulling fs layer [2023-02-14T18:27:33.332Z] bde34c3a00c8: Pulling fs layer [2023-02-14T18:27:33.332Z] b352a97aabf1: Pulling fs layer [2023-02-14T18:27:33.332Z] 4872d77fe225: Pulling fs layer [2023-02-14T18:27:33.332Z] 988bab9f4d93: Waiting [2023-02-14T18:27:33.332Z] 5851b861e8e6: Pulling fs layer [2023-02-14T18:27:33.332Z] 1469e6f7b9e6: Waiting [2023-02-14T18:27:33.332Z] eaf3925da568: Waiting [2023-02-14T18:27:33.332Z] bab4dde63d76: Waiting [2023-02-14T18:27:33.332Z] bde34c3a00c8: Waiting [2023-02-14T18:27:33.332Z] b352a97aabf1: Waiting [2023-02-14T18:27:33.332Z] 4872d77fe225: Waiting [2023-02-14T18:27:33.332Z] 5851b861e8e6: Waiting [2023-02-14T18:27:33.332Z] e2be974225ed: Verifying Checksum [2023-02-14T18:27:33.332Z] e2be974225ed: Download complete [2023-02-14T18:27:33.332Z] 988bab9f4d93: Verifying Checksum [2023-02-14T18:27:33.332Z] 988bab9f4d93: Download complete [2023-02-14T18:27:33.596Z] 1469e6f7b9e6: Verifying Checksum [2023-02-14T18:27:33.596Z] 1469e6f7b9e6: Download complete [2023-02-14T18:27:33.596Z] eaf3925da568: Verifying Checksum [2023-02-14T18:27:33.596Z] eaf3925da568: Download complete [2023-02-14T18:27:33.859Z] 339a4e72a1f5: Verifying Checksum [2023-02-14T18:27:33.859Z] 339a4e72a1f5: Download complete [2023-02-14T18:27:33.859Z] bde34c3a00c8: Verifying Checksum [2023-02-14T18:27:33.859Z] bde34c3a00c8: Download complete [2023-02-14T18:27:33.859Z] b352a97aabf1: Verifying Checksum [2023-02-14T18:27:33.859Z] 4872d77fe225: Download complete [2023-02-14T18:27:33.859Z] 5851b861e8e6: Verifying Checksum [2023-02-14T18:27:33.859Z] 5851b861e8e6: Download complete [2023-02-14T18:27:34.119Z] b85a868b505f: Verifying Checksum [2023-02-14T18:27:34.119Z] b85a868b505f: Download complete [2023-02-14T18:27:34.379Z] bab4dde63d76: Verifying Checksum [2023-02-14T18:27:34.379Z] bab4dde63d76: Download complete [2023-02-14T18:27:35.368Z] b85a868b505f: Pull complete [2023-02-14T18:27:35.368Z] e2be974225ed: Pull complete [2023-02-14T18:27:35.936Z] 339a4e72a1f5: Pull complete [2023-02-14T18:27:35.936Z] 988bab9f4d93: Pull complete [2023-02-14T18:27:36.193Z] 1469e6f7b9e6: Pull complete [2023-02-14T18:27:36.193Z] eaf3925da568: Pull complete [2023-02-14T18:27:38.097Z] bab4dde63d76: Pull complete [2023-02-14T18:27:38.097Z] bde34c3a00c8: Pull complete [2023-02-14T18:27:38.097Z] b352a97aabf1: Pull complete [2023-02-14T18:27:38.097Z] 4872d77fe225: Pull complete [2023-02-14T18:27:38.362Z] 5851b861e8e6: Pull complete [2023-02-14T18:27:38.362Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T18:27:38.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T18:27:38.362Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:27:38.594Z] prd-ubuntu20.04-docker-8c-8g-5853 does not seem to be running inside a container [2023-02-14T18:27:38.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-14T18:27:39.881Z] $ docker top b85e97bebfdc6755258d721cbdcd4668c1c831e0f3b70c9b64fb9e381f330b53 -eo pid,comm [2023-02-14T18:27:39.934Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-14T18:27:39.934Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T18:27:40.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T18:27:40.063Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T18:27:40.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T18:27:40.178Z] $ docker exec b85e97bebfdc6755258d721cbdcd4668c1c831e0f3b70c9b64fb9e381f330b53 ssh-agent [2023-02-14T18:27:40.284Z] SSH_AUTH_SOCK=/tmp/ssh-SBa2zR87hfZa/agent.33 [2023-02-14T18:27:40.284Z] SSH_AGENT_PID=39 [2023-02-14T18:27:40.290Z] Running ssh-add (command line suppressed) [2023-02-14T18:27:40.392Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_6670331506757595552.key (/w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_6670331506757595552.key) [2023-02-14T18:27:40.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T18:27:40.738Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T18:27:40.764Z] $ docker exec --env ******** --env ******** b85e97bebfdc6755258d721cbdcd4668c1c831e0f3b70c9b64fb9e381f330b53 ssh-agent -k [2023-02-14T18:27:40.858Z] unset SSH_AUTH_SOCK; [2023-02-14T18:27:40.858Z] unset SSH_AGENT_PID; [2023-02-14T18:27:40.858Z] echo Agent pid 39 killed; [2023-02-14T18:27:40.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T18:27:40.950Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T18:27:40.950Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T18:27:41.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T18:27:41.071Z] $ docker exec b85e97bebfdc6755258d721cbdcd4668c1c831e0f3b70c9b64fb9e381f330b53 ssh-agent [2023-02-14T18:27:41.186Z] SSH_AUTH_SOCK=/tmp/ssh-KEQJtcuklAoU/agent.71 [2023-02-14T18:27:41.186Z] SSH_AGENT_PID=77 [2023-02-14T18:27:41.191Z] Running ssh-add (command line suppressed) [2023-02-14T18:27:41.309Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_7355814274367265012.key (/w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_7355814274367265012.key) [2023-02-14T18:27:41.323Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T18:27:41.656Z] + git semver init [2023-02-14T18:27:41.916Z] 2023-02-14 18:27:41,841 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T18:27:41.916Z] 2023-02-14 18:27:41,842 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-339/.semver [2023-02-14T18:27:41.916Z] 2023-02-14 18:27:41,842 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-339/.semver [2023-02-14T18:27:41.916Z] 2023-02-14 18:27:41,843 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-339/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-339, universal_newlines=False, shell=None, istream=None) [2023-02-14T18:27:43.294Z] 2023-02-14 18:27:43,022 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-339/.git/info/exclude [2023-02-14T18:27:43.294Z] 2023-02-14 18:27:43,022 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 with force:False [2023-02-14T18:27:43.294Z] 2023-02-14 18:27:43,022 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 [2023-02-14T18:27:43.294Z] 2023-02-14 18:27:43,025 [execute] INFO git cat-file --batch-check [2023-02-14T18:27:43.294Z] 2023-02-14 18:27:43,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T18:27:43.294Z] 2023-02-14 18:27:43,031 [execute] INFO git cat-file --batch [2023-02-14T18:27:43.294Z] 2023-02-14 18:27:43,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T18:27:43.294Z] 2023-02-14 18:27:43,037 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 [2023-02-14T18:27:43.294Z] 0.0.0 [Pipeline] } [2023-02-14T18:27:43.324Z] $ docker exec --env ******** --env ******** b85e97bebfdc6755258d721cbdcd4668c1c831e0f3b70c9b64fb9e381f330b53 ssh-agent -k [2023-02-14T18:27:43.420Z] unset SSH_AUTH_SOCK; [2023-02-14T18:27:43.421Z] unset SSH_AGENT_PID; [2023-02-14T18:27:43.421Z] echo Agent pid 77 killed; [2023-02-14T18:27:43.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T18:27:43.864Z] + git semver [Pipeline] } [2023-02-14T18:27:44.159Z] $ docker stop --time=1 b85e97bebfdc6755258d721cbdcd4668c1c831e0f3b70c9b64fb9e381f330b53 [2023-02-14T18:27:45.467Z] $ docker rm -f --volumes b85e97bebfdc6755258d721cbdcd4668c1c831e0f3b70c9b64fb9e381f330b53 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T18:27:45.861Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T18:27:46.134Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T18:27:46.154Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:27:46.759Z] provisioning config files... [2023-02-14T18:27:46.768Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config10208938799419889163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:27:47.113Z] ---> docker-login.sh [2023-02-14T18:27:47.113Z] nexus3.edgexfoundry.org:10001 [2023-02-14T18:27:47.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:27:47.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:27:47.113Z] Configure a credential helper to remove this warning. See [2023-02-14T18:27:47.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:27:47.113Z] [2023-02-14T18:27:47.113Z] Login Succeeded [2023-02-14T18:27:47.113Z] nexus3.edgexfoundry.org:10002 [2023-02-14T18:27:47.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:27:47.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:27:47.113Z] Configure a credential helper to remove this warning. See [2023-02-14T18:27:47.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:27:47.113Z] [2023-02-14T18:27:47.113Z] Login Succeeded [2023-02-14T18:27:47.113Z] nexus3.edgexfoundry.org:10003 [2023-02-14T18:27:47.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:27:47.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:27:47.373Z] Configure a credential helper to remove this warning. See [2023-02-14T18:27:47.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:27:47.373Z] [2023-02-14T18:27:47.373Z] Login Succeeded [2023-02-14T18:27:47.373Z] nexus3.edgexfoundry.org:10004 [2023-02-14T18:27:47.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:27:47.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:27:47.373Z] Configure a credential helper to remove this warning. See [2023-02-14T18:27:47.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:27:47.373Z] [2023-02-14T18:27:47.373Z] Login Succeeded [2023-02-14T18:27:47.373Z] docker.io [2023-02-14T18:27:47.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:27:47.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:27:47.893Z] Configure a credential helper to remove this warning. See [2023-02-14T18:27:47.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:27:47.893Z] [2023-02-14T18:27:47.893Z] Login Succeeded [2023-02-14T18:27:47.893Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T18:27:47.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T18:27:48.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:27:48.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:27:48.175Z] ========================================================= [2023-02-14T18:27:48.175Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T18:27:48.175Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:27:48.632Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T18:27:48.632Z] Sending build context to Docker daemon 23.38MB [2023-02-14T18:27:48.632Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:27:48.632Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-14T18:27:48.893Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T18:27:48.893Z] 213ec9aee27d: Pulling fs layer [2023-02-14T18:27:48.893Z] 4583459ba037: Pulling fs layer [2023-02-14T18:27:48.893Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T18:27:48.893Z] 53926ce57604: Pulling fs layer [2023-02-14T18:27:48.893Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T18:27:48.893Z] 22ff95d597cd: Pulling fs layer [2023-02-14T18:27:48.893Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T18:27:48.893Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T18:27:48.893Z] a7acece74701: Pulling fs layer [2023-02-14T18:27:48.893Z] 53926ce57604: Waiting [2023-02-14T18:27:48.893Z] 12d6caf4c0d1: Waiting [2023-02-14T18:27:48.893Z] 96b7cbca73a9: Waiting [2023-02-14T18:27:48.893Z] a7acece74701: Waiting [2023-02-14T18:27:48.893Z] 21b2b0c7a3f4: Waiting [2023-02-14T18:27:48.893Z] 22ff95d597cd: Waiting [2023-02-14T18:27:48.893Z] 93c1e223e6f2: Verifying Checksum [2023-02-14T18:27:48.893Z] 93c1e223e6f2: Download complete [2023-02-14T18:27:48.893Z] 4583459ba037: Verifying Checksum [2023-02-14T18:27:48.893Z] 4583459ba037: Download complete [2023-02-14T18:27:48.893Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-14T18:27:48.893Z] 21b2b0c7a3f4: Download complete [2023-02-14T18:27:48.893Z] 22ff95d597cd: Verifying Checksum [2023-02-14T18:27:48.893Z] 22ff95d597cd: Download complete [2023-02-14T18:27:48.894Z] 213ec9aee27d: Verifying Checksum [2023-02-14T18:27:48.894Z] 213ec9aee27d: Download complete [2023-02-14T18:27:48.894Z] 12d6caf4c0d1: Verifying Checksum [2023-02-14T18:27:48.894Z] 12d6caf4c0d1: Download complete [2023-02-14T18:27:49.162Z] 213ec9aee27d: Pull complete [2023-02-14T18:27:49.162Z] 4583459ba037: Pull complete [2023-02-14T18:27:49.162Z] 93c1e223e6f2: Pull complete [2023-02-14T18:27:50.163Z] a7acece74701: Verifying Checksum [2023-02-14T18:27:50.163Z] a7acece74701: Download complete [2023-02-14T18:27:50.163Z] 53926ce57604: Verifying Checksum [2023-02-14T18:27:50.163Z] 53926ce57604: Download complete [2023-02-14T18:27:50.163Z] 96b7cbca73a9: Download complete [2023-02-14T18:27:53.442Z] 53926ce57604: Pull complete [2023-02-14T18:27:53.700Z] 21b2b0c7a3f4: Pull complete [2023-02-14T18:27:53.700Z] 22ff95d597cd: Pull complete [2023-02-14T18:27:53.700Z] 12d6caf4c0d1: Pull complete [2023-02-14T18:27:56.232Z] 96b7cbca73a9: Pull complete [2023-02-14T18:27:56.492Z] a7acece74701: Pull complete [2023-02-14T18:27:56.492Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T18:27:56.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T18:27:56.492Z] ---> db6d94c90886 [2023-02-14T18:27:56.492Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T18:27:58.404Z] ---> Running in 13a649c192de [2023-02-14T18:27:58.664Z] Removing intermediate container 13a649c192de [2023-02-14T18:27:58.664Z] ---> 507c59d87c62 [2023-02-14T18:27:58.664Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T18:27:58.664Z] ---> Running in 4939e81dd662 [2023-02-14T18:27:58.664Z] Removing intermediate container 4939e81dd662 [2023-02-14T18:27:58.664Z] ---> 6ab6d578ae89 [2023-02-14T18:27:58.664Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:27:58.933Z] ---> Running in d6c030738f65 [2023-02-14T18:27:58.933Z] Removing intermediate container d6c030738f65 [2023-02-14T18:27:58.933Z] ---> 2de4740d5301 [2023-02-14T18:27:58.933Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-14T18:27:58.933Z] ---> Running in 9ce54228b00e [2023-02-14T18:27:59.192Z] Removing intermediate container 9ce54228b00e [2023-02-14T18:27:59.192Z] ---> 2662ac072568 [2023-02-14T18:27:59.192Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:27:59.192Z] ---> Running in c46c3a24c853 [2023-02-14T18:27:59.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T18:27:59.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T18:27:59.709Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-14T18:27:59.709Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-14T18:27:59.709Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-14T18:27:59.709Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-14T18:27:59.709Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:27:59.709Z] OK: 216 MiB in 55 packages [2023-02-14T18:28:00.277Z] Removing intermediate container c46c3a24c853 [2023-02-14T18:28:00.277Z] ---> 278540273539 [2023-02-14T18:28:00.277Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-14T18:28:00.277Z] ---> c477f8288c4d [2023-02-14T18:28:00.277Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:28:00.277Z] ---> Running in 0ad60f71a496 [2023-02-14T18:28:01.569Z] Still waiting to schedule task [2023-02-14T18:28:01.569Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-14T18:28:32.372Z] Removing intermediate container 0ad60f71a496 [2023-02-14T18:28:32.372Z] ---> fc4bf13d99fd [2023-02-14T18:28:32.372Z] Step 10/12 : COPY . . [2023-02-14T18:28:32.372Z] ---> 4b9a83a52f49 [2023-02-14T18:28:32.372Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:28:32.372Z] ---> Running in d40256757eb0 [2023-02-14T18:28:32.372Z] Removing intermediate container d40256757eb0 [2023-02-14T18:28:32.372Z] ---> 8b713b322e5b [2023-02-14T18:28:32.372Z] Step 12/12 : RUN $MAKE [2023-02-14T18:28:32.372Z] ---> Running in 8cceb1cf3040 [2023-02-14T18:28:32.372Z] noop [2023-02-14T18:28:32.372Z] Removing intermediate container 8cceb1cf3040 [2023-02-14T18:28:32.372Z] ---> 5b0375202446 [2023-02-14T18:28:32.372Z] Successfully built 5b0375202446 [2023-02-14T18:28:32.372Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:28:32.808Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T18:28:32.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:28:32.944Z] prd-ubuntu20.04-docker-8c-8g-5853 does not seem to be running inside a container [2023-02-14T18:28:32.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T18:28:33.348Z] $ docker top 3f47d9bb71e9bdaf6d4775065b5fd587352d0420377f1b155c64fbdfc4e10d98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:28:33.729Z] + go version [2023-02-14T18:28:33.729Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-14T18:28:33.763Z] $ docker stop --time=1 3f47d9bb71e9bdaf6d4775065b5fd587352d0420377f1b155c64fbdfc4e10d98 [2023-02-14T18:28:35.064Z] $ docker rm -f --volumes 3f47d9bb71e9bdaf6d4775065b5fd587352d0420377f1b155c64fbdfc4e10d98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:28:35.746Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T18:28:35.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:28:35.893Z] prd-ubuntu20.04-docker-8c-8g-5853 does not seem to be running inside a container [2023-02-14T18:28:35.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T18:28:36.307Z] $ docker top 636362a04dfda5ad7133849415ae85e47d9ed33d75cc7037111cb153b886e5a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:28:36.693Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-339 [Pipeline] fileExists [Pipeline] sh [2023-02-14T18:28:37.048Z] + make test [2023-02-14T18:28:37.048Z] go test ./... -coverprofile=coverage.out [2023-02-14T18:28:37.307Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-14T18:28:47.271Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-14T18:28:47.271Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2023-02-14T18:28:53.835Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-14T18:28:53.835Z] go vet ./... [2023-02-14T18:28:55.734Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T18:28:55.734Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T18:28:55.734Z] ./bin/test-attribution-txt.sh [2023-02-14T18:28:55.734Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T18:28:55.734Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T18:28:55.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T18:28:55.812Z] $ docker stop --time=1 636362a04dfda5ad7133849415ae85e47d9ed33d75cc7037111cb153b886e5a8 [2023-02-14T18:28:57.655Z] $ docker rm -f --volumes 636362a04dfda5ad7133849415ae85e47d9ed33d75cc7037111cb153b886e5a8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T18:28:58.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T18:28:58.207Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-14T18:28:58.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T18:28:59.174Z] + ls -al . [2023-02-14T18:28:59.174Z] total 192 [2023-02-14T18:28:59.174Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 18:28 . [2023-02-14T18:28:59.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:27 .. [2023-02-14T18:28:59.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:28 .git [2023-02-14T18:28:59.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:27 .github [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 14 18:27 .gitignore [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 18:27 .golangci.yml [2023-02-14T18:28:59.174Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 18:27 .semver [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 14 18:27 Attribution.txt [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 14 18:27 CHANGELOG.md [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 14 18:27 Dockerfile [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 18:27 GOVERNANCE.md [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 14 18:27 Jenkinsfile [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 18:27 LICENSE [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 14 18:27 Makefile [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 14 18:27 OWNERS.md [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 14 18:27 README.md [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 18:27 VERSION [2023-02-14T18:28:59.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 18:27 bin [2023-02-14T18:28:59.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:27 cmd [2023-02-14T18:28:59.174Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 14 18:28 coverage.out [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 14 18:27 go.mod [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 14 18:27 go.sum [2023-02-14T18:28:59.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:27 internal [2023-02-14T18:28:59.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:27 snap [2023-02-14T18:28:59.174Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 14 18:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:28:59.573Z] + 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=c15a857566fe9c1c40a382c918136db912394674 --label arch=amd64 --label version=0.0.0 . [2023-02-14T18:28:59.574Z] Sending build context to Docker daemon 23.43MB [2023-02-14T18:28:59.574Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:28:59.574Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-14T18:28:59.574Z] ---> 5b0375202446 [2023-02-14T18:28:59.574Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T18:28:59.832Z] ---> Running in d4325df91d63 [2023-02-14T18:28:59.832Z] Removing intermediate container d4325df91d63 [2023-02-14T18:28:59.832Z] ---> 38df4c3d19f0 [2023-02-14T18:28:59.832Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T18:28:59.832Z] ---> Running in 7cdd717bc443 [2023-02-14T18:28:59.832Z] Removing intermediate container 7cdd717bc443 [2023-02-14T18:28:59.832Z] ---> 4f82c70cd9e0 [2023-02-14T18:28:59.832Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:29:00.092Z] ---> Running in 7edd2b93a185 [2023-02-14T18:29:00.092Z] Removing intermediate container 7edd2b93a185 [2023-02-14T18:29:00.092Z] ---> ae56db2857f3 [2023-02-14T18:29:00.092Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-14T18:29:00.092Z] ---> Running in b67c566840c9 [2023-02-14T18:29:00.092Z] Removing intermediate container b67c566840c9 [2023-02-14T18:29:00.092Z] ---> d47decbb29e3 [2023-02-14T18:29:00.092Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:29:00.351Z] ---> Running in 9f987f91f8a6 [2023-02-14T18:29:00.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T18:29:00.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T18:29:00.876Z] OK: 216 MiB in 55 packages [2023-02-14T18:29:01.135Z] Removing intermediate container 9f987f91f8a6 [2023-02-14T18:29:01.135Z] ---> dd3f423c49e6 [2023-02-14T18:29:01.135Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-14T18:29:01.395Z] ---> 8398977df09d [2023-02-14T18:29:01.395Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:29:01.395Z] ---> Running in 63d0ab69b55e [2023-02-14T18:29:02.329Z] Removing intermediate container 63d0ab69b55e [2023-02-14T18:29:02.329Z] ---> 69a06b3340b7 [2023-02-14T18:29:02.329Z] Step 10/25 : COPY . . [2023-02-14T18:29:02.897Z] ---> 2e17e0b3a685 [2023-02-14T18:29:02.897Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:29:02.897Z] ---> Running in 0b4bbce43375 [2023-02-14T18:29:02.897Z] Removing intermediate container 0b4bbce43375 [2023-02-14T18:29:02.897Z] ---> 976fe3e7f2aa [2023-02-14T18:29:02.897Z] Step 12/25 : RUN $MAKE [2023-02-14T18:29:02.897Z] ---> Running in 134105207afe [2023-02-14T18:29:03.156Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-14T18:29:21.231Z] Removing intermediate container 134105207afe [2023-02-14T18:29:21.231Z] ---> 5fc07ca5ffe2 [2023-02-14T18:29:21.231Z] Step 13/25 : FROM alpine:3.16 [2023-02-14T18:29:21.231Z] 3.16: Pulling from library/alpine [2023-02-14T18:29:21.231Z] ef5531b6e74e: Pulling fs layer [2023-02-14T18:29:21.231Z] ef5531b6e74e: Verifying Checksum [2023-02-14T18:29:21.231Z] ef5531b6e74e: Download complete [2023-02-14T18:29:21.231Z] ef5531b6e74e: Pull complete [2023-02-14T18:29:21.231Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T18:29:21.231Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T18:29:21.231Z] ---> dfd21b5a31f5 [2023-02-14T18:29:21.231Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-14T18:29:21.231Z] ---> Running in 837f50e67810 [2023-02-14T18:29:21.231Z] Removing intermediate container 837f50e67810 [2023-02-14T18:29:21.231Z] ---> 2590592d658e [2023-02-14T18:29:21.231Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-14T18:29:21.231Z] ---> Running in 0d58130caefc [2023-02-14T18:29:21.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T18:29:21.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T18:29:21.491Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-14T18:29:21.491Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:29:21.491Z] OK: 6 MiB in 15 packages [2023-02-14T18:29:22.059Z] Removing intermediate container 0d58130caefc [2023-02-14T18:29:22.059Z] ---> cfd2a2cc442a [2023-02-14T18:29:22.059Z] Step 16/25 : WORKDIR / [2023-02-14T18:29:22.059Z] ---> Running in 16c915fede6c [2023-02-14T18:29:22.059Z] Removing intermediate container 16c915fede6c [2023-02-14T18:29:22.059Z] ---> 86c9aff551cc [2023-02-14T18:29:22.059Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-14T18:29:22.318Z] ---> b662795bf046 [2023-02-14T18:29:22.318Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-14T18:29:22.318Z] ---> cbdd93d75ecc [2023-02-14T18:29:22.318Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-14T18:29:22.886Z] ---> d0fa1d6bcfed [2023-02-14T18:29:22.886Z] Step 20/25 : EXPOSE 59900 [2023-02-14T18:29:22.886Z] ---> Running in f27e220dc16f [2023-02-14T18:29:22.886Z] Removing intermediate container f27e220dc16f [2023-02-14T18:29:22.886Z] ---> 29f1cc7aac86 [2023-02-14T18:29:22.886Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-14T18:29:22.886Z] ---> Running in 05db35460e7c [2023-02-14T18:29:23.147Z] Removing intermediate container 05db35460e7c [2023-02-14T18:29:23.147Z] ---> dd66767e3f5e [2023-02-14T18:29:23.147Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T18:29:23.147Z] ---> Running in 2ad9c9b767b7 [2023-02-14T18:29:23.147Z] Removing intermediate container 2ad9c9b767b7 [2023-02-14T18:29:23.147Z] ---> 3f318c13cb31 [2023-02-14T18:29:23.147Z] Step 23/25 : LABEL arch=amd64 [2023-02-14T18:29:23.147Z] ---> Running in 30ce001b2ed0 [2023-02-14T18:29:23.406Z] Removing intermediate container 30ce001b2ed0 [2023-02-14T18:29:23.406Z] ---> 5d2a5926b6f8 [2023-02-14T18:29:23.406Z] Step 24/25 : LABEL git_sha=c15a857566fe9c1c40a382c918136db912394674 [2023-02-14T18:29:23.406Z] ---> Running in 1556a385afa8 [2023-02-14T18:29:23.406Z] Removing intermediate container 1556a385afa8 [2023-02-14T18:29:23.406Z] ---> cce2df28c951 [2023-02-14T18:29:23.406Z] Step 25/25 : LABEL version=0.0.0 [2023-02-14T18:29:23.406Z] ---> Running in a51e03a8ba4c [2023-02-14T18:29:23.668Z] Removing intermediate container a51e03a8ba4c [2023-02-14T18:29:23.668Z] ---> 5682095d3d08 [2023-02-14T18:29:23.668Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T18:29:23.668Z] Successfully built 5682095d3d08 [2023-02-14T18:29:23.668Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:29:24.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:29:24.501Z] [2023-02-14T18:29:24.501Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:29:24.876Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:29:24.876Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-14T18:29:24.876Z] 5eb5b503b376: Pulling fs layer [2023-02-14T18:29:24.876Z] 5c69ac0246d0: Pulling fs layer [2023-02-14T18:29:24.876Z] ec43610c2a17: Pulling fs layer [2023-02-14T18:29:24.876Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-14T18:29:24.876Z] 33b1e0a273af: Pulling fs layer [2023-02-14T18:29:24.876Z] 5d3b04190fa2: Pulling fs layer [2023-02-14T18:29:24.876Z] 2f39f015ded8: Pulling fs layer [2023-02-14T18:29:24.876Z] 3a2ae6a8a46f: Waiting [2023-02-14T18:29:24.876Z] 33b1e0a273af: Waiting [2023-02-14T18:29:24.876Z] 5d3b04190fa2: Waiting [2023-02-14T18:29:24.876Z] 2f39f015ded8: Waiting [2023-02-14T18:29:24.876Z] 5c69ac0246d0: Download complete [2023-02-14T18:29:24.876Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-14T18:29:24.876Z] 3a2ae6a8a46f: Download complete [2023-02-14T18:29:25.137Z] 33b1e0a273af: Verifying Checksum [2023-02-14T18:29:25.137Z] 33b1e0a273af: Download complete [2023-02-14T18:29:25.137Z] 5d3b04190fa2: Verifying Checksum [2023-02-14T18:29:25.137Z] 5d3b04190fa2: Download complete [2023-02-14T18:29:25.137Z] ec43610c2a17: Verifying Checksum [2023-02-14T18:29:25.137Z] ec43610c2a17: Download complete [2023-02-14T18:29:25.398Z] 5eb5b503b376: Verifying Checksum [2023-02-14T18:29:25.398Z] 5eb5b503b376: Download complete [2023-02-14T18:29:25.984Z] 2f39f015ded8: Verifying Checksum [2023-02-14T18:29:25.984Z] 2f39f015ded8: Download complete [2023-02-14T18:29:26.549Z] 5eb5b503b376: Pull complete [2023-02-14T18:29:26.549Z] 5c69ac0246d0: Pull complete [2023-02-14T18:29:27.115Z] ec43610c2a17: Pull complete [2023-02-14T18:29:27.115Z] 3a2ae6a8a46f: Pull complete [2023-02-14T18:29:27.115Z] 33b1e0a273af: Pull complete [2023-02-14T18:29:27.373Z] 5d3b04190fa2: Pull complete [2023-02-14T18:29:31.555Z] 2f39f015ded8: Pull complete [2023-02-14T18:29:31.555Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-14T18:29:31.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:29:31.555Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:29:31.785Z] prd-ubuntu20.04-docker-8c-8g-5853 does not seem to be running inside a container [2023-02-14T18:29:31.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T18:29:33.547Z] $ docker top d85c45b385c9ef5d3ed332519a0d665668dde2a09fc760b4754c9d2e229b185d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:29:33.998Z] ---> job-cost.sh [2023-02-14T18:29:33.998Z] lf-activate-venv: SKIPPING [2023-02-14T18:29:33.998Z] INFO: No Stack... [2023-02-14T18:29:34.242Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5854 in /w/workspace/foundry_device-virtual-go_PR-339 [Pipeline] { [2023-02-14T18:29:34.257Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] ws [2023-02-14T18:29:34.316Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-02-14T18:29:34.391Z] The recommended git tool is: git [2023-02-14T18:29:34.824Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T18:29:35.137Z] + cat /w/workspace/foundry_device-virtual-go_PR-339/archives/cost.csv [2023-02-14T18:29:35.137Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T18:29:35.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-339-1-stack-cost] [2023-02-14T18:29:35.181Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-339-1-stack-cost] did not exist. Created. [2023-02-14T18:29:35.181Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-339-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T18:29:35.563Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-14T18:29:35.612Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T18:29:35.643Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-339-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T18:29:35.723Z] $ docker stop --time=1 d85c45b385c9ef5d3ed332519a0d665668dde2a09fc760b4754c9d2e229b185d [2023-02-14T18:29:36.898Z] $ docker rm -f --volumes d85c45b385c9ef5d3ed332519a0d665668dde2a09fc760b4754c9d2e229b185d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-14T18:29:39.556Z] using credential edgex-jenkins-ssh [2023-02-14T18:29:39.573Z] Cloning the remote Git repository [2023-02-14T18:29:39.614Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-14T18:29:39.691Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-02-14T18:29:39.829Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-14T18:29:39.829Z] > git --version # timeout=10 [2023-02-14T18:29:39.850Z] > git --version # 'git version 2.25.1' [2023-02-14T18:29:39.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T18:29:39.912Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T18:29:41.959Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-14T18:29:41.984Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T18:29:42.828Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-14T18:29:42.878Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-14T18:29:42.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T18:29:42.901Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-14T18:29:43.563Z] Merging remotes/origin/main commit 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 into PR head commit c15a857566fe9c1c40a382c918136db912394674 [2023-02-14T18:29:43.791Z] Merge succeeded, producing c15a857566fe9c1c40a382c918136db912394674 [2023-02-14T18:29:43.791Z] Checking out Revision c15a857566fe9c1c40a382c918136db912394674 (PR-339) [2023-02-14T18:29:43.579Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T18:29:43.598Z] > git checkout -f c15a857566fe9c1c40a382c918136db912394674 # timeout=10 [2023-02-14T18:29:43.679Z] > git remote # timeout=10 [2023-02-14T18:29:43.696Z] > git config --get remote.origin.url # timeout=10 [2023-02-14T18:29:43.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T18:29:43.731Z] > git merge 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 [2023-02-14T18:29:43.758Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-14T18:29:43.794Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T18:29:43.810Z] > git checkout -f c15a857566fe9c1c40a382c918136db912394674 # timeout=10 [2023-02-14T18:29:47.263Z] Commit message: "feat!: updates for common config" [2023-02-14T18:29:47.307Z] > git --version # timeout=10 [2023-02-14T18:29:47.317Z] > git --version # 'git version 2.25.1' [2023-02-14T18:29:47.336Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T18:29:48.525Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-14T18:29:48.525Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T18:29:48.525Z] Dload Upload Total Spent Left Speed [2023-02-14T18:29:48.525Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh [2023-02-14T18:29:49.229Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-14T18:29:49.567Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-14T18:29:49.568Z] + sudo tee /etc/docker/daemon.new [2023-02-14T18:29:49.568Z] { [2023-02-14T18:29:49.568Z] "registry-mirrors": [ [2023-02-14T18:29:49.568Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-14T18:29:49.568Z] ], [2023-02-14T18:29:49.568Z] "bip": "10.250.0.254/24", [2023-02-14T18:29:49.568Z] "hosts": [ [2023-02-14T18:29:49.568Z] "tcp://0.0.0.0:5555", [2023-02-14T18:29:49.568Z] "unix:///var/run/docker.sock" [2023-02-14T18:29:49.568Z] ], [2023-02-14T18:29:49.568Z] "mtu": 1458, [2023-02-14T18:29:49.568Z] "selinux-enabled": true, [2023-02-14T18:29:49.568Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-14T18:29:49.568Z] } [Pipeline] sh [2023-02-14T18:29:49.909Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-14T18:29:50.252Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:30:08.547Z] provisioning config files... [2023-02-14T18:30:08.572Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config13743678894823701980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:30:08.967Z] ---> docker-login.sh [2023-02-14T18:30:08.967Z] nexus3.edgexfoundry.org:10001 [2023-02-14T18:30:09.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:30:09.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:30:09.516Z] Configure a credential helper to remove this warning. See [2023-02-14T18:30:09.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:30:09.516Z] [2023-02-14T18:30:09.516Z] Login Succeeded [2023-02-14T18:30:09.516Z] nexus3.edgexfoundry.org:10002 [2023-02-14T18:30:09.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:30:09.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:30:09.784Z] Configure a credential helper to remove this warning. See [2023-02-14T18:30:09.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:30:09.784Z] [2023-02-14T18:30:09.784Z] Login Succeeded [2023-02-14T18:30:10.057Z] nexus3.edgexfoundry.org:10003 [2023-02-14T18:30:10.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:30:10.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:30:10.328Z] Configure a credential helper to remove this warning. See [2023-02-14T18:30:10.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:30:10.328Z] [2023-02-14T18:30:10.328Z] Login Succeeded [2023-02-14T18:30:10.328Z] nexus3.edgexfoundry.org:10004 [2023-02-14T18:30:10.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:30:10.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:30:10.601Z] Configure a credential helper to remove this warning. See [2023-02-14T18:30:10.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:30:10.601Z] [2023-02-14T18:30:10.601Z] Login Succeeded [2023-02-14T18:30:10.601Z] docker.io [2023-02-14T18:30:10.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:30:11.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:30:11.140Z] Configure a credential helper to remove this warning. See [2023-02-14T18:30:11.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:30:11.140Z] [2023-02-14T18:30:11.140Z] Login Succeeded [2023-02-14T18:30:11.140Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T18:30:11.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T18:30:11.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:30:11.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:30:11.633Z] ========================================================= [2023-02-14T18:30:11.633Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-14T18:30:11.633Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:30:12.129Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T18:30:12.398Z] Sending build context to Docker daemon 11.85MB [2023-02-14T18:30:12.398Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:30:12.398Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-14T18:30:13.829Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-14T18:30:13.829Z] 9b18e9b68314: Pulling fs layer [2023-02-14T18:30:13.829Z] 35d82f9e3411: Pulling fs layer [2023-02-14T18:30:13.829Z] e16973657156: Pulling fs layer [2023-02-14T18:30:13.829Z] fc693d55d65f: Pulling fs layer [2023-02-14T18:30:13.829Z] 7e9fc2657dce: Pulling fs layer [2023-02-14T18:30:13.829Z] dda99020689f: Pulling fs layer [2023-02-14T18:30:13.829Z] db1c61fa0a46: Pulling fs layer [2023-02-14T18:30:13.829Z] 891c053d2c06: Pulling fs layer [2023-02-14T18:30:13.829Z] 7e9fc2657dce: Waiting [2023-02-14T18:30:13.829Z] dda99020689f: Waiting [2023-02-14T18:30:13.829Z] db1c61fa0a46: Waiting [2023-02-14T18:30:13.829Z] 891c053d2c06: Waiting [2023-02-14T18:30:13.829Z] fc693d55d65f: Waiting [2023-02-14T18:30:13.829Z] e16973657156: Download complete [2023-02-14T18:30:13.829Z] 35d82f9e3411: Download complete [2023-02-14T18:30:13.829Z] 7e9fc2657dce: Download complete [2023-02-14T18:30:13.829Z] dda99020689f: Verifying Checksum [2023-02-14T18:30:13.829Z] dda99020689f: Download complete [2023-02-14T18:30:13.829Z] 9b18e9b68314: Verifying Checksum [2023-02-14T18:30:13.829Z] 9b18e9b68314: Download complete [2023-02-14T18:30:14.810Z] 9b18e9b68314: Pull complete [2023-02-14T18:30:14.810Z] 891c053d2c06: Verifying Checksum [2023-02-14T18:30:14.810Z] 891c053d2c06: Download complete [2023-02-14T18:30:15.410Z] 35d82f9e3411: Pull complete [2023-02-14T18:30:15.684Z] e16973657156: Pull complete [2023-02-14T18:30:16.278Z] db1c61fa0a46: Download complete [2023-02-14T18:30:16.875Z] fc693d55d65f: Verifying Checksum [2023-02-14T18:30:16.875Z] fc693d55d65f: Download complete [2023-02-14T18:30:29.220Z] fc693d55d65f: Pull complete [2023-02-14T18:30:29.220Z] 7e9fc2657dce: Pull complete [2023-02-14T18:30:29.220Z] dda99020689f: Pull complete [2023-02-14T18:30:35.892Z] db1c61fa0a46: Pull complete [2023-02-14T18:30:37.853Z] 891c053d2c06: Pull complete [2023-02-14T18:30:37.853Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-14T18:30:37.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-14T18:30:37.853Z] ---> f96f9c87975a [2023-02-14T18:30:37.853Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T18:30:38.438Z] ---> Running in d62b470d372d [2023-02-14T18:30:38.707Z] Removing intermediate container d62b470d372d [2023-02-14T18:30:38.707Z] ---> 9e3c2dca7ba5 [2023-02-14T18:30:38.707Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T18:30:38.707Z] ---> Running in 29f17a6a473b [2023-02-14T18:30:38.975Z] Removing intermediate container 29f17a6a473b [2023-02-14T18:30:38.975Z] ---> a01e711ddd80 [2023-02-14T18:30:38.975Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:30:38.975Z] ---> Running in db1367beb72a [2023-02-14T18:30:39.562Z] Removing intermediate container db1367beb72a [2023-02-14T18:30:39.562Z] ---> 941d41e26372 [2023-02-14T18:30:39.562Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-14T18:30:39.562Z] ---> Running in 6ab0386140ca [2023-02-14T18:30:39.830Z] Removing intermediate container 6ab0386140ca [2023-02-14T18:30:39.830Z] ---> c2dcc9693f91 [2023-02-14T18:30:39.830Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:30:39.830Z] ---> Running in dd3365ed7473 [2023-02-14T18:30:41.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T18:30:41.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T18:30:42.202Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-14T18:30:42.202Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-14T18:30:42.202Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-14T18:30:42.202Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-14T18:30:42.202Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:30:42.469Z] OK: 226 MiB in 55 packages [2023-02-14T18:30:43.429Z] Removing intermediate container dd3365ed7473 [2023-02-14T18:30:43.429Z] ---> 39b6b388987f [2023-02-14T18:30:43.429Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-14T18:30:43.697Z] ---> 4b47648c38b5 [2023-02-14T18:30:43.697Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:30:43.974Z] ---> Running in 99e7f045e8ad [2023-02-14T18:31:51.862Z] Removing intermediate container 99e7f045e8ad [2023-02-14T18:31:51.862Z] ---> abbd14171c78 [2023-02-14T18:31:51.862Z] Step 10/12 : COPY . . [2023-02-14T18:31:51.862Z] ---> a2c7433641aa [2023-02-14T18:31:51.862Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:31:51.862Z] ---> Running in 18dad7e7117c [2023-02-14T18:31:51.862Z] Removing intermediate container 18dad7e7117c [2023-02-14T18:31:51.862Z] ---> a93d5fc6c571 [2023-02-14T18:31:51.862Z] Step 12/12 : RUN $MAKE [2023-02-14T18:31:51.862Z] ---> Running in 4608e00724d7 [2023-02-14T18:31:51.862Z] noop [2023-02-14T18:31:52.446Z] Removing intermediate container 4608e00724d7 [2023-02-14T18:31:52.446Z] ---> e024bdb2d3ad [2023-02-14T18:31:52.446Z] Successfully built e024bdb2d3ad [2023-02-14T18:31:52.446Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:31:52.915Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T18:31:52.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:31:53.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-5854 does not seem to be running inside a container [2023-02-14T18:31:53.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-14T18:31:54.428Z] $ docker top 7665d615dd77692825f86b47d7c1f8ba288d44e4830e175294034059a30eed6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:31:55.294Z] + go version [2023-02-14T18:31:55.294Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-14T18:31:55.329Z] $ docker stop --time=1 7665d615dd77692825f86b47d7c1f8ba288d44e4830e175294034059a30eed6e [2023-02-14T18:31:56.926Z] $ docker rm -f --volumes 7665d615dd77692825f86b47d7c1f8ba288d44e4830e175294034059a30eed6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:31:57.773Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T18:31:57.773Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:31:58.029Z] prd-ubuntu20.04-docker-arm64-4c-16g-5854 does not seem to be running inside a container [2023-02-14T18:31:58.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-14T18:31:59.214Z] $ docker top eb4758fb08dd1db589dcd56d04bb287edae1e166f8d2a2e38c3ee30d637d7da2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:31:59.760Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-14T18:32:00.146Z] + make test [2023-02-14T18:32:00.146Z] go test ./... -coverprofile=coverage.out [2023-02-14T18:32:02.091Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-14T18:33:23.729Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-14T18:33:23.729Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.127s coverage: 65.7% of statements [2023-02-14T18:33:23.729Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-14T18:33:23.729Z] go vet ./... [2023-02-14T18:33:41.938Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T18:33:41.938Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T18:33:41.938Z] ./bin/test-attribution-txt.sh [2023-02-14T18:33:41.938Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T18:33:41.938Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T18:33:41.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T18:33:42.078Z] $ docker stop --time=1 eb4758fb08dd1db589dcd56d04bb287edae1e166f8d2a2e38c3ee30d637d7da2 [2023-02-14T18:33:43.812Z] $ docker rm -f --volumes eb4758fb08dd1db589dcd56d04bb287edae1e166f8d2a2e38c3ee30d637d7da2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T18:33:44.762Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T18:33:44.794Z] Warning: overwriting stash ‘coverage-report’ [2023-02-14T18:33:45.262Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T18:33:45.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T18:33:46.202Z] + ls -al . [2023-02-14T18:33:46.202Z] total 188 [2023-02-14T18:33:46.202Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:32 . [2023-02-14T18:33:46.203Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:29 .. [2023-02-14T18:33:46.203Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:29 .git [2023-02-14T18:33:46.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:29 .github [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 14 18:29 .gitignore [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 18:29 .golangci.yml [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 14 18:29 Attribution.txt [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 14 18:29 CHANGELOG.md [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 14 18:29 Dockerfile [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 18:29 GOVERNANCE.md [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 14 18:29 Jenkinsfile [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 18:29 LICENSE [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 14 18:29 Makefile [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 14 18:29 OWNERS.md [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 14 18:29 README.md [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 18:27 VERSION [2023-02-14T18:33:46.203Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 18:29 bin [2023-02-14T18:33:46.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:29 cmd [2023-02-14T18:33:46.203Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 14 18:33 coverage.out [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 14 18:29 go.mod [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 14 18:29 go.sum [2023-02-14T18:33:46.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:29 internal [2023-02-14T18:33:46.203Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:29 snap [2023-02-14T18:33:46.203Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 14 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:33:46.627Z] + 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=c15a857566fe9c1c40a382c918136db912394674 --label arch=arm64 --label version=0.0.0 . [2023-02-14T18:33:46.895Z] Sending build context to Docker daemon 11.9MB [2023-02-14T18:33:46.895Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:33:46.895Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-14T18:33:46.895Z] ---> e024bdb2d3ad [2023-02-14T18:33:46.895Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T18:33:47.162Z] ---> Running in ef55f2e9e503 [2023-02-14T18:33:47.430Z] Removing intermediate container ef55f2e9e503 [2023-02-14T18:33:47.430Z] ---> e43f9e8de1a5 [2023-02-14T18:33:47.430Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T18:33:47.430Z] ---> Running in 0bc8adfd9071 [2023-02-14T18:33:47.701Z] Removing intermediate container 0bc8adfd9071 [2023-02-14T18:33:47.701Z] ---> 8cf8e450184a [2023-02-14T18:33:47.701Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:33:47.969Z] ---> Running in 32a5bb3e5587 [2023-02-14T18:33:47.969Z] Removing intermediate container 32a5bb3e5587 [2023-02-14T18:33:47.969Z] ---> 0aeb187e6a2a [2023-02-14T18:33:47.969Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-14T18:33:48.236Z] ---> Running in 07bbb10664d6 [2023-02-14T18:33:48.502Z] Removing intermediate container 07bbb10664d6 [2023-02-14T18:33:48.502Z] ---> 7dfa155ce520 [2023-02-14T18:33:48.502Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:33:48.502Z] ---> Running in 311e8f3ec014 [2023-02-14T18:33:49.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T18:33:50.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T18:33:51.451Z] OK: 226 MiB in 55 packages [2023-02-14T18:33:52.037Z] Removing intermediate container 311e8f3ec014 [2023-02-14T18:33:52.037Z] ---> b3b490fc1274 [2023-02-14T18:33:52.037Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-14T18:33:52.721Z] ---> d7674dc84a7f [2023-02-14T18:33:52.721Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:33:52.721Z] ---> Running in 07bd8f8d3db1 [2023-02-14T18:33:56.143Z] Removing intermediate container 07bd8f8d3db1 [2023-02-14T18:33:56.143Z] ---> 345c2c9a99d1 [2023-02-14T18:33:56.143Z] Step 10/25 : COPY . . [2023-02-14T18:33:57.121Z] ---> e2c639015a27 [2023-02-14T18:33:57.121Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:33:57.121Z] ---> Running in 54ea5b54eb7e [2023-02-14T18:33:57.391Z] Removing intermediate container 54ea5b54eb7e [2023-02-14T18:33:57.391Z] ---> 802661f9c6d7 [2023-02-14T18:33:57.391Z] Step 12/25 : RUN $MAKE [2023-02-14T18:33:57.391Z] ---> Running in bbb02c88ff83 [2023-02-14T18:33:58.357Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-14T18:36:05.412Z] Removing intermediate container bbb02c88ff83 [2023-02-14T18:36:05.412Z] ---> 5cd116ed230e [2023-02-14T18:36:05.412Z] Step 13/25 : FROM alpine:3.16 [2023-02-14T18:36:05.412Z] 3.16: Pulling from library/alpine [2023-02-14T18:36:05.412Z] 3760b48202b3: Pulling fs layer [2023-02-14T18:36:05.412Z] 3760b48202b3: Download complete [2023-02-14T18:36:05.412Z] 3760b48202b3: Pull complete [2023-02-14T18:36:05.412Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T18:36:05.412Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T18:36:05.412Z] ---> 4c81e5bf8899 [2023-02-14T18:36:05.412Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-14T18:36:05.412Z] ---> Running in f331d3a21fbe [2023-02-14T18:36:05.681Z] Removing intermediate container f331d3a21fbe [2023-02-14T18:36:05.950Z] ---> 5edfd3e9a6da [2023-02-14T18:36:05.950Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-14T18:36:05.950Z] ---> Running in e5387b693a78 [2023-02-14T18:36:06.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T18:36:07.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T18:36:08.596Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-14T18:36:08.596Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:36:08.596Z] OK: 5 MiB in 15 packages [2023-02-14T18:36:09.187Z] Removing intermediate container e5387b693a78 [2023-02-14T18:36:09.187Z] ---> efd80b13138b [2023-02-14T18:36:09.187Z] Step 16/25 : WORKDIR / [2023-02-14T18:36:09.187Z] ---> Running in 19697fd7813a [2023-02-14T18:36:09.781Z] Removing intermediate container 19697fd7813a [2023-02-14T18:36:09.781Z] ---> 489a4b816c83 [2023-02-14T18:36:09.781Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-14T18:36:11.192Z] ---> 14b67a9ab212 [2023-02-14T18:36:11.192Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-14T18:36:11.778Z] ---> 86be4a9564a4 [2023-02-14T18:36:11.778Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-14T18:36:13.186Z] ---> 3f60e9ea4947 [2023-02-14T18:36:13.186Z] Step 20/25 : EXPOSE 59900 [2023-02-14T18:36:13.186Z] ---> Running in 64c1609fb3ea [2023-02-14T18:36:13.454Z] Removing intermediate container 64c1609fb3ea [2023-02-14T18:36:13.454Z] ---> 2fc6c3ebecda [2023-02-14T18:36:13.454Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-14T18:36:13.454Z] ---> Running in 30a1284ee142 [2023-02-14T18:36:13.730Z] Removing intermediate container 30a1284ee142 [2023-02-14T18:36:13.730Z] ---> 577ade572200 [2023-02-14T18:36:13.730Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T18:36:13.998Z] ---> Running in 4298099495bb [2023-02-14T18:36:14.267Z] Removing intermediate container 4298099495bb [2023-02-14T18:36:14.267Z] ---> 3776190ae0db [2023-02-14T18:36:14.267Z] Step 23/25 : LABEL arch=arm64 [2023-02-14T18:36:14.267Z] ---> Running in b81b61a09815 [2023-02-14T18:36:14.534Z] Removing intermediate container b81b61a09815 [2023-02-14T18:36:14.534Z] ---> a8264e9a0407 [2023-02-14T18:36:14.534Z] Step 24/25 : LABEL git_sha=c15a857566fe9c1c40a382c918136db912394674 [2023-02-14T18:36:14.534Z] ---> Running in 8a6af74a3ef9 [2023-02-14T18:36:14.804Z] Removing intermediate container 8a6af74a3ef9 [2023-02-14T18:36:14.804Z] ---> 0c6c306ed324 [2023-02-14T18:36:14.804Z] Step 25/25 : LABEL version=0.0.0 [2023-02-14T18:36:15.074Z] ---> Running in 31e74f61fb29 [2023-02-14T18:36:15.340Z] Removing intermediate container 31e74f61fb29 [2023-02-14T18:36:15.340Z] ---> 27f2ef79b5b6 [2023-02-14T18:36:15.340Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T18:36:15.340Z] Successfully built 27f2ef79b5b6 [2023-02-14T18:36:15.340Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:36:16.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T18:36:16.138Z] [2023-02-14T18:36:16.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:36:16.541Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T18:36:16.541Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-14T18:36:16.541Z] 8998bd30e6a1: Pulling fs layer [2023-02-14T18:36:16.541Z] 04944245beec: Pulling fs layer [2023-02-14T18:36:16.541Z] 699f458cf7ca: Pulling fs layer [2023-02-14T18:36:16.541Z] 765212b225bb: Pulling fs layer [2023-02-14T18:36:16.541Z] f23df028b6ca: Pulling fs layer [2023-02-14T18:36:16.541Z] d65c8cfc05b1: Pulling fs layer [2023-02-14T18:36:16.541Z] 2437ff75d9bd: Pulling fs layer [2023-02-14T18:36:16.541Z] f23df028b6ca: Waiting [2023-02-14T18:36:16.541Z] d65c8cfc05b1: Waiting [2023-02-14T18:36:16.541Z] 2437ff75d9bd: Waiting [2023-02-14T18:36:16.541Z] 765212b225bb: Waiting [2023-02-14T18:36:16.814Z] 04944245beec: Verifying Checksum [2023-02-14T18:36:16.814Z] 04944245beec: Download complete [2023-02-14T18:36:16.814Z] 765212b225bb: Verifying Checksum [2023-02-14T18:36:16.814Z] 765212b225bb: Download complete [2023-02-14T18:36:16.814Z] f23df028b6ca: Download complete [2023-02-14T18:36:16.814Z] d65c8cfc05b1: Verifying Checksum [2023-02-14T18:36:16.814Z] d65c8cfc05b1: Download complete [2023-02-14T18:36:17.084Z] 699f458cf7ca: Verifying Checksum [2023-02-14T18:36:17.084Z] 699f458cf7ca: Download complete [2023-02-14T18:36:17.354Z] 8998bd30e6a1: Verifying Checksum [2023-02-14T18:36:17.355Z] 8998bd30e6a1: Download complete [2023-02-14T18:36:19.947Z] 2437ff75d9bd: Verifying Checksum [2023-02-14T18:36:19.947Z] 2437ff75d9bd: Download complete [2023-02-14T18:36:21.356Z] 8998bd30e6a1: Pull complete [2023-02-14T18:36:21.623Z] 04944245beec: Pull complete [2023-02-14T18:36:23.574Z] 699f458cf7ca: Pull complete [2023-02-14T18:36:23.842Z] 765212b225bb: Pull complete [2023-02-14T18:36:24.804Z] f23df028b6ca: Pull complete [2023-02-14T18:36:24.804Z] d65c8cfc05b1: Pull complete [2023-02-14T18:36:39.800Z] 2437ff75d9bd: Pull complete [2023-02-14T18:36:39.800Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-14T18:36:39.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T18:36:39.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:36:40.110Z] prd-ubuntu20.04-docker-arm64-4c-16g-5854 does not seem to be running inside a container [2023-02-14T18:36:40.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-14T18:36:42.700Z] $ docker top 246538016b72b7c08294d30ef8454007897ca1dead4e0842d7c84889f241cd6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:36:43.280Z] ---> job-cost.sh [2023-02-14T18:36:43.545Z] lf-activate-venv: SKIPPING [2023-02-14T18:36:43.545Z] INFO: No Stack... [2023-02-14T18:36:44.125Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-14T18:36:44.704Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T18:36:45.048Z] + + cutcat -d, /w/workspace/device-virtual-go/1/archives/cost.csv -f6 [2023-02-14T18:36:45.048Z] [Pipeline] lock [2023-02-14T18:36:45.127Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-339-1-stack-cost] [2023-02-14T18:36:45.131Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-339-1-stack-cost] did not exist. Created. [2023-02-14T18:36:45.132Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-339-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T18:36:45.537Z] /w/workspace/device-virtual-go/1@tmp/durable-e5d6d476/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-14T18:36:45.887Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-14T18:36:45.922Z] Warning: overwriting stash ‘stack-cost’ [2023-02-14T18:36:45.971Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T18:36:45.985Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-339-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T18:36:46.064Z] $ docker stop --time=1 246538016b72b7c08294d30ef8454007897ca1dead4e0842d7c84889f241cd6f [2023-02-14T18:36:47.546Z] $ docker rm -f --volumes 246538016b72b7c08294d30ef8454007897ca1dead4e0842d7c84889f241cd6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-14T18:36:48.567Z] provisioning config files... [2023-02-14T18:36:48.574Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config4271399719574887036tmp [Pipeline] { [Pipeline] sh [2023-02-14T18:36:48.914Z] + set +x [2023-02-14T18:36:48.914Z] + curl -s https://codecov.io/bash [2023-02-14T18:36:48.914Z] + bash -s -- [2023-02-14T18:36:48.914Z] [2023-02-14T18:36:48.914Z] _____ _ [2023-02-14T18:36:48.914Z] / ____| | | [2023-02-14T18:36:48.914Z] | | ___ __| | ___ ___ _____ __ [2023-02-14T18:36:48.914Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-14T18:36:48.914Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-14T18:36:48.914Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-14T18:36:48.914Z] Bash-1.0.6 [2023-02-14T18:36:48.914Z] [2023-02-14T18:36:48.914Z] [2023-02-14T18:36:48.914Z] ==> git version 2.25.1 found [2023-02-14T18:36:48.914Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-14T18:36:48.914Z] Release-Date: 2020-01-08 [2023-02-14T18:36:48.914Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-14T18:36:48.914Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-14T18:36:48.914Z] ==> Jenkins CI detected. [2023-02-14T18:36:48.914Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-339 [2023-02-14T18:36:48.914Z] project root: . [2023-02-14T18:36:48.914Z] --> token set from env [2023-02-14T18:36:48.914Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-14T18:36:48.914Z] ==> Running gcov in . (disable via -X gcov) [2023-02-14T18:36:48.914Z] ==> Python coveragepy not found [2023-02-14T18:36:48.914Z] ==> Searching for coverage reports in: [2023-02-14T18:36:48.914Z] + . [2023-02-14T18:36:48.914Z] -> Found 1 reports [2023-02-14T18:36:48.914Z] ==> Detecting git/mercurial file structure [2023-02-14T18:36:48.914Z] ==> Reading reports [2023-02-14T18:36:48.914Z] + ./coverage.out bytes=44128 [2023-02-14T18:36:48.914Z] ==> Appending adjustments [2023-02-14T18:36:48.914Z] https://docs.codecov.io/docs/fixing-reports [2023-02-14T18:36:49.173Z] + Found adjustments [2023-02-14T18:36:49.173Z] ==> Gzipping contents [2023-02-14T18:36:49.173Z] 8.0K /tmp/codecov.50cH7W.gz [2023-02-14T18:36:49.173Z] ==> Uploading reports [2023-02-14T18:36:49.173Z] url: https://codecov.io [2023-02-14T18:36:49.173Z] query: branch=PR-339&commit=c15a857566fe9c1c40a382c918136db912394674&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-339%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=339&job=&cmd_args= [2023-02-14T18:36:49.173Z] -> Pinging Codecov [2023-02-14T18:36:49.173Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-339&commit=c15a857566fe9c1c40a382c918136db912394674&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-339%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=339&job=&cmd_args= [2023-02-14T18:36:49.433Z] -> Uploading to [2023-02-14T18:36:49.433Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-14/5E52B4B073DB2E39498172D8E973AA87/c15a857566fe9c1c40a382c918136db912394674/cbbdd2e4-763f-41e8-8671-2982af6a4d89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T183649Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fcfe82b153be6a8900a42e5857beaa9108ee9ff28d399456f399cb7c626df690 [2023-02-14T18:36:49.433Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T18:36:49.433Z] Dload Upload Total Spent Left Speed [2023-02-14T18:36:49.693Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5466 0 0 100 5466 0 64305 --:--:-- --:--:-- --:--:-- 63558 100 5466 0 0 100 5466 0 18591 --:--:-- --:--:-- --:--:-- 18528 [2023-02-14T18:36:49.693Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/c15a857566fe9c1c40a382c918136db912394674 [Pipeline] } [2023-02-14T18:36:49.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-14T18:36:51.458Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-339/archives ] [2023-02-14T18:36:51.458Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-339/archives [2023-02-14T18:36:51.458Z] total 16 [2023-02-14T18:36:51.458Z] drwxr-xr-x 3 root root 4096 Feb 14 18:29 . [2023-02-14T18:36:51.458Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 18:29 .. [2023-02-14T18:36:51.458Z] drwxr-xr-x 2 root root 4096 Feb 14 18:29 cost [2023-02-14T18:36:51.458Z] -rw-r--r-- 1 root root 89 Feb 14 18:29 cost.csv [2023-02-14T18:36:51.458Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-339/archives [2023-02-14T18:36:51.458Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-339/archives [2023-02-14T18:36:51.458Z] total 16 [2023-02-14T18:36:51.458Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 18:29 . [2023-02-14T18:36:51.458Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 18:29 .. [2023-02-14T18:36:51.458Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 18:29 cost [2023-02-14T18:36:51.458Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 14 18:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:36:51.786Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:36:52.678Z] ---> package-listing.sh [2023-02-14T18:36:52.678Z] ++ facter osfamily [2023-02-14T18:36:52.678Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-14T18:36:52.936Z] + OS_FAMILY=debian [2023-02-14T18:36:52.937Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-339 [2023-02-14T18:36:52.937Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-14T18:36:52.937Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-14T18:36:52.937Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-14T18:36:52.937Z] + PACKAGES=/tmp/packages_start.txt [2023-02-14T18:36:52.937Z] + '[' /w/workspace/foundry_device-virtual-go_PR-339 ']' [2023-02-14T18:36:52.937Z] + PACKAGES=/tmp/packages_end.txt [2023-02-14T18:36:52.937Z] + case "${OS_FAMILY}" in [2023-02-14T18:36:52.937Z] + dpkg -l [2023-02-14T18:36:52.937Z] + grep '^ii' [2023-02-14T18:36:52.937Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-14T18:36:52.937Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-14T18:36:52.937Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-14T18:36:52.937Z] + '[' /w/workspace/foundry_device-virtual-go_PR-339 ']' [2023-02-14T18:36:52.937Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-339/archives/ [2023-02-14T18:36:52.937Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-339/archives/ [Pipeline] echo [2023-02-14T18:36:52.980Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-14T18:36:53.272Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:36:53.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:36:53.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:36:54.039Z] prd-ubuntu20.04-docker-8c-8g-5853 does not seem to be running inside a container [2023-02-14T18:36:54.063Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T18:36:54.248Z] $ docker top 4acb24ed4e4aa4624ce116c46a8eedb1f2ab34d76b7c97996322b2e50dfa6da8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:36:54.649Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-14T18:36:54.965Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-14T18:36:55.280Z] + ls /var/log/sa-host [2023-02-14T18:36:55.280Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:36:55.505Z] provisioning config files... [2023-02-14T18:36:55.514Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config5594907151969240079tmp [Pipeline] { [Pipeline] echo [2023-02-14T18:36:55.575Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:36:55.887Z] ---> create-netrc.sh [Pipeline] } [2023-02-14T18:36:55.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:36:56.322Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-14T18:36:56.353Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:36:56.669Z] ---> sudo-logs.sh [2023-02-14T18:36:56.669Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-14T18:36:56.746Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:36:57.054Z] ---> job-cost.sh [2023-02-14T18:36:57.054Z] lf-activate-venv: SKIPPING [2023-02-14T18:36:57.054Z] DEBUG: total: 0.2199999988079071 [2023-02-14T18:36:57.054Z] INFO: Retrieving Stack Cost... [2023-02-14T18:36:57.626Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T18:36:58.194Z] INFO: Archiving Costs [Pipeline] echo [2023-02-14T18:36:58.231Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:36:58.541Z] ---> logs-deploy.sh [2023-02-14T18:36:58.541Z] lf-activate-venv: SKIPPING [2023-02-14T18:36:58.541Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-339/1 [2023-02-14T18:36:58.541Z] INFO: archiving workspace using pattern(s): [2023-02-14T18:36:59.476Z] Archives upload complete. [2023-02-14T18:36:59.476Z] INFO: archiving logs to Nexus