Pull request #344 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6432efbc329d5bbc539d5cf228bb1b66a86daa3b+809182d388b7784ea0303513e5a82decca2f34a7 (f3f6d1231e5bf4dff0a332ffc192ef1d440199fa) 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-ssh27390987237363590.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-ssh12515116119454609455.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-344/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-344/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4125489195540823038.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-344/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11342462495063889790.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-ssh18422301673361830388.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-344/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-344/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3285629212173461206.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-6732 in /w/workspace/foundry_device-virtual-go_PR-344 [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-344 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 809182d388b7784ea0303513e5a82decca2f34a7 into PR head commit 6432efbc329d5bbc539d5cf228bb1b66a86daa3b Merge succeeded, producing 6432efbc329d5bbc539d5cf228bb1b66a86daa3b Checking out Revision 6432efbc329d5bbc539d5cf228bb1b66a86daa3b (PR-344) Commit message: "build(deps): Bump golang.org/x/net from 0.5.0 to 0.7.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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/344/head:refs/remotes/origin/PR-344 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6432efbc329d5bbc539d5cf228bb1b66a86daa3b # 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 809182d388b7784ea0303513e5a82decca2f34a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6432efbc329d5bbc539d5cf228bb1b66a86daa3b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-20T12:33:15.491Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-20T12:33:15.672Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-20T12:33:15.776Z] ========================================================= [2023-02-20T12:33:15.776Z] EdgeX Global Pipelines Version Info [2023-02-20T12:33:15.776Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:33:16.513Z] ------------------- [2023-02-20T12:33:16.513Z] stable info: [2023-02-20T12:33:16.514Z] ------------------- [2023-02-20T12:33:16.514Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-20T12:33:16.514Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T12:33:16.514Z] Message: update stable to v1.0.244 [2023-02-20T12:33:17.083Z] ------------------- [2023-02-20T12:33:17.083Z] experimental info: [2023-02-20T12:33:17.083Z] ------------------- [2023-02-20T12:33:17.083Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-20T12:33:17.083Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T12:33:17.083Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-20T12:33:17.386Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-20T12:33:17.422Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-20T12:33:17.477Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-20T12:33:17.521Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-20T12:33:17.562Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-20T12:33:17.603Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-20T12:33:17.648Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-20T12:33:17.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-20T12:33:17.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-20T12:33:17.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-20T12:33:17.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-20T12:33:17.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-20T12:33:17.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-20T12:33:17.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-20T12:33:18.001Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T12:33:18.040Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T12:33:18.077Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T12:33:18.124Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T12:33:18.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-20T12:33:18.207Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-20T12:33:18.246Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-20T12:33:18.286Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-20T12:33:18.326Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-20T12:33:18.363Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-20T12:33:18.403Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-20T12:33:18.445Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-20T12:33:18.483Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-20T12:33:18.524Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-344 [Pipeline] echo [2023-02-20T12:33:18.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-344 [Pipeline] echo [2023-02-20T12:33:18.599Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-344 [Pipeline] echo [2023-02-20T12:33:18.639Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6432efbc329d5bbc539d5cf228bb1b66a86daa3b [Pipeline] echo [2023-02-20T12:33:18.681Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6432efb [Pipeline] echo [2023-02-20T12:33:18.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T12:33:18.837Z] provisioning config files... [2023-02-20T12:33:18.867Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-344@tmp/config2277900429992370873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:33:19.203Z] ---> docker-login.sh [2023-02-20T12:33:19.204Z] nexus3.edgexfoundry.org:10001 [2023-02-20T12:33:19.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:33:19.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:33:19.722Z] Configure a credential helper to remove this warning. See [2023-02-20T12:33:19.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:33:19.722Z] [2023-02-20T12:33:19.722Z] Login Succeeded [2023-02-20T12:33:19.722Z] nexus3.edgexfoundry.org:10002 [2023-02-20T12:33:19.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:33:19.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:33:19.722Z] Configure a credential helper to remove this warning. See [2023-02-20T12:33:19.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:33:19.722Z] [2023-02-20T12:33:19.722Z] Login Succeeded [2023-02-20T12:33:19.722Z] nexus3.edgexfoundry.org:10003 [2023-02-20T12:33:19.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:33:19.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:33:19.983Z] Configure a credential helper to remove this warning. See [2023-02-20T12:33:19.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:33:19.983Z] [2023-02-20T12:33:19.983Z] Login Succeeded [2023-02-20T12:33:19.983Z] nexus3.edgexfoundry.org:10004 [2023-02-20T12:33:19.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:33:19.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:33:19.983Z] Configure a credential helper to remove this warning. See [2023-02-20T12:33:19.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:33:19.983Z] [2023-02-20T12:33:19.983Z] Login Succeeded [2023-02-20T12:33:19.983Z] docker.io [2023-02-20T12:33:19.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:33:20.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:33:20.243Z] Configure a credential helper to remove this warning. See [2023-02-20T12:33:20.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:33:20.243Z] [2023-02-20T12:33:20.243Z] Login Succeeded [2023-02-20T12:33:20.243Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T12:33:20.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-20T12:33:20.923Z] + git rev-list -1 --merges 6432efbc329d5bbc539d5cf228bb1b66a86daa3b~1..6432efbc329d5bbc539d5cf228bb1b66a86daa3b [Pipeline] echo [2023-02-20T12:33:20.995Z] -----------> git rev-list -1 --merges 6432efbc329d5bbc539d5cf228bb1b66a86daa3b~1..6432efbc329d5bbc539d5cf228bb1b66a86daa3b 6432efbc329d5bbc539d5cf228bb1b66a86daa3b [false] [Pipeline] sh [2023-02-20T12:33:21.310Z] + git log --format=format:%s -1 6432efbc329d5bbc539d5cf228bb1b66a86daa3b [Pipeline] echo [2023-02-20T12:33:21.350Z] ========================================================= [2023-02-20T12:33:21.350Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-20T12:33:21.350Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T12:33:21.802Z] + git log --format=format:%s -1 6432efbc329d5bbc539d5cf228bb1b66a86daa3b [Pipeline] echo [2023-02-20T12:33:21.834Z] [semverPrep] GIT_COMMIT: 6432efbc329d5bbc539d5cf228bb1b66a86daa3b, Commit Message: build(deps): Bump golang.org/x/net from 0.5.0 to 0.7.0 [Pipeline] echo [2023-02-20T12:33:21.867Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-20T12:33:22.263Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T12:33:22.263Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-20T12:33:22.263Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-20T12:33:22.263Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-20T12:33:22.263Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-20T12:33:22.263Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-20T12:33:22.263Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:33:22.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T12:33:22.762Z] [2023-02-20T12:33:22.762Z] 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-20T12:33:23.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T12:33:23.139Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-20T12:33:23.139Z] b85a868b505f: Pulling fs layer [2023-02-20T12:33:23.139Z] e2be974225ed: Pulling fs layer [2023-02-20T12:33:23.139Z] 339a4e72a1f5: Pulling fs layer [2023-02-20T12:33:23.139Z] 988bab9f4d93: Pulling fs layer [2023-02-20T12:33:23.139Z] 1469e6f7b9e6: Pulling fs layer [2023-02-20T12:33:23.139Z] eaf3925da568: Pulling fs layer [2023-02-20T12:33:23.139Z] bab4dde63d76: Pulling fs layer [2023-02-20T12:33:23.139Z] bde34c3a00c8: Pulling fs layer [2023-02-20T12:33:23.139Z] b352a97aabf1: Pulling fs layer [2023-02-20T12:33:23.139Z] 4872d77fe225: Pulling fs layer [2023-02-20T12:33:23.139Z] 5851b861e8e6: Pulling fs layer [2023-02-20T12:33:23.139Z] 988bab9f4d93: Waiting [2023-02-20T12:33:23.139Z] 1469e6f7b9e6: Waiting [2023-02-20T12:33:23.139Z] eaf3925da568: Waiting [2023-02-20T12:33:23.139Z] bab4dde63d76: Waiting [2023-02-20T12:33:23.139Z] bde34c3a00c8: Waiting [2023-02-20T12:33:23.139Z] b352a97aabf1: Waiting [2023-02-20T12:33:23.139Z] 4872d77fe225: Waiting [2023-02-20T12:33:23.139Z] 5851b861e8e6: Waiting [2023-02-20T12:33:23.139Z] e2be974225ed: Download complete [2023-02-20T12:33:23.139Z] 988bab9f4d93: Download complete [2023-02-20T12:33:23.404Z] 1469e6f7b9e6: Verifying Checksum [2023-02-20T12:33:23.404Z] 1469e6f7b9e6: Download complete [2023-02-20T12:33:23.404Z] eaf3925da568: Verifying Checksum [2023-02-20T12:33:23.404Z] eaf3925da568: Download complete [2023-02-20T12:33:23.404Z] 339a4e72a1f5: Verifying Checksum [2023-02-20T12:33:23.404Z] 339a4e72a1f5: Download complete [2023-02-20T12:33:23.404Z] bde34c3a00c8: Download complete [2023-02-20T12:33:23.404Z] b352a97aabf1: Verifying Checksum [2023-02-20T12:33:23.404Z] b352a97aabf1: Download complete [2023-02-20T12:33:23.404Z] 4872d77fe225: Download complete [2023-02-20T12:33:23.404Z] 5851b861e8e6: Verifying Checksum [2023-02-20T12:33:23.404Z] 5851b861e8e6: Download complete [2023-02-20T12:33:23.404Z] b85a868b505f: Verifying Checksum [2023-02-20T12:33:23.404Z] b85a868b505f: Download complete [2023-02-20T12:33:23.665Z] bab4dde63d76: Verifying Checksum [2023-02-20T12:33:23.665Z] bab4dde63d76: Download complete [2023-02-20T12:33:25.044Z] b85a868b505f: Pull complete [2023-02-20T12:33:25.044Z] e2be974225ed: Pull complete [2023-02-20T12:33:25.619Z] 339a4e72a1f5: Pull complete [2023-02-20T12:33:25.619Z] 988bab9f4d93: Pull complete [2023-02-20T12:33:25.881Z] 1469e6f7b9e6: Pull complete [2023-02-20T12:33:26.141Z] eaf3925da568: Pull complete [2023-02-20T12:33:28.048Z] bab4dde63d76: Pull complete [2023-02-20T12:33:28.048Z] bde34c3a00c8: Pull complete [2023-02-20T12:33:28.048Z] b352a97aabf1: Pull complete [2023-02-20T12:33:28.308Z] 4872d77fe225: Pull complete [2023-02-20T12:33:28.308Z] 5851b861e8e6: Pull complete [2023-02-20T12:33:28.308Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-20T12:33:28.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T12:33:28.308Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T12:33:28.525Z] prd-ubuntu20.04-docker-8c-8g-6732 does not seem to be running inside a container [2023-02-20T12:33:28.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-344 -v /w/workspace/foundry_device-virtual-go_PR-344:/w/workspace/foundry_device-virtual-go_PR-344:rw,z -v /w/workspace/foundry_device-virtual-go_PR-344@tmp:/w/workspace/foundry_device-virtual-go_PR-344@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-20T12:33:31.925Z] $ docker top 660b41f6b4caf8aa883935b8a9836a8b9b4a489e26c47aa903303a6cc99f6ef5 -eo pid,comm [2023-02-20T12:33:31.978Z] 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-20T12:33:31.978Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T12:33:32.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T12:33:32.101Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T12:33:32.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T12:33:32.221Z] $ docker exec 660b41f6b4caf8aa883935b8a9836a8b9b4a489e26c47aa903303a6cc99f6ef5 ssh-agent [2023-02-20T12:33:32.329Z] SSH_AUTH_SOCK=/tmp/ssh-hcWKQG2Vexd4/agent.32 [2023-02-20T12:33:32.329Z] SSH_AGENT_PID=38 [2023-02-20T12:33:32.335Z] Running ssh-add (command line suppressed) [2023-02-20T12:33:32.443Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-344@tmp/private_key_12234968702587499877.key (/w/workspace/foundry_device-virtual-go_PR-344@tmp/private_key_12234968702587499877.key) [2023-02-20T12:33:32.455Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T12:33:32.785Z] + git tag --points-at HEAD [Pipeline] } [2023-02-20T12:33:32.815Z] $ docker exec --env ******** --env ******** 660b41f6b4caf8aa883935b8a9836a8b9b4a489e26c47aa903303a6cc99f6ef5 ssh-agent -k [2023-02-20T12:33:32.910Z] unset SSH_AUTH_SOCK; [2023-02-20T12:33:32.910Z] unset SSH_AGENT_PID; [2023-02-20T12:33:32.910Z] echo Agent pid 38 killed; [2023-02-20T12:33:32.918Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-20T12:33:33.009Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T12:33:33.009Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T12:33:33.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T12:33:33.140Z] $ docker exec 660b41f6b4caf8aa883935b8a9836a8b9b4a489e26c47aa903303a6cc99f6ef5 ssh-agent [2023-02-20T12:33:33.247Z] SSH_AUTH_SOCK=/tmp/ssh-p7At0XCKZumS/agent.70 [2023-02-20T12:33:33.247Z] SSH_AGENT_PID=76 [2023-02-20T12:33:33.252Z] Running ssh-add (command line suppressed) [2023-02-20T12:33:33.375Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-344@tmp/private_key_757279261045383943.key (/w/workspace/foundry_device-virtual-go_PR-344@tmp/private_key_757279261045383943.key) [2023-02-20T12:33:33.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T12:33:33.716Z] + git semver init [2023-02-20T12:33:33.975Z] 2023-02-20 12:33:33,916 [run_init] DEBUG init version:0.0.0 force:False [2023-02-20T12:33:33.975Z] 2023-02-20 12:33:33,917 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-344/.semver [2023-02-20T12:33:33.975Z] 2023-02-20 12:33:33,917 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-344/.semver [2023-02-20T12:33:33.975Z] 2023-02-20 12:33:33,917 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-344/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-344, universal_newlines=False, shell=None, istream=None) [2023-02-20T12:33:35.355Z] 2023-02-20 12:33:35,205 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-344/.git/info/exclude [2023-02-20T12:33:35.355Z] 2023-02-20 12:33:35,205 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-344/.semver/PR-344 with force:False [2023-02-20T12:33:35.355Z] 2023-02-20 12:33:35,205 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-344/.semver/PR-344 [2023-02-20T12:33:35.355Z] 2023-02-20 12:33:35,210 [execute] INFO git cat-file --batch-check [2023-02-20T12:33:35.355Z] 2023-02-20 12:33:35,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-344/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T12:33:35.355Z] 2023-02-20 12:33:35,217 [execute] INFO git cat-file --batch [2023-02-20T12:33:35.355Z] 2023-02-20 12:33:35,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-344/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T12:33:35.355Z] 2023-02-20 12:33:35,223 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-344/.semver/PR-344 [2023-02-20T12:33:35.355Z] 0.0.0 [Pipeline] } [2023-02-20T12:33:35.386Z] $ docker exec --env ******** --env ******** 660b41f6b4caf8aa883935b8a9836a8b9b4a489e26c47aa903303a6cc99f6ef5 ssh-agent -k [2023-02-20T12:33:35.495Z] unset SSH_AUTH_SOCK; [2023-02-20T12:33:35.496Z] unset SSH_AGENT_PID; [2023-02-20T12:33:35.496Z] echo Agent pid 76 killed; [2023-02-20T12:33:35.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T12:33:35.926Z] + git semver [Pipeline] } [2023-02-20T12:33:36.218Z] $ docker stop --time=1 660b41f6b4caf8aa883935b8a9836a8b9b4a489e26c47aa903303a6cc99f6ef5 [2023-02-20T12:33:37.550Z] $ docker rm -f --volumes 660b41f6b4caf8aa883935b8a9836a8b9b4a489e26c47aa903303a6cc99f6ef5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T12:33:37.951Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-20T12:33:38.241Z] Stashed 1 file(s) [Pipeline] echo [2023-02-20T12:33:38.258Z] [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-20T12:33:38.864Z] provisioning config files... [2023-02-20T12:33:38.874Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-344@tmp/config7196332276211566765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:33:39.236Z] ---> docker-login.sh [2023-02-20T12:33:39.236Z] nexus3.edgexfoundry.org:10001 [2023-02-20T12:33:39.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:33:39.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:33:39.236Z] Configure a credential helper to remove this warning. See [2023-02-20T12:33:39.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:33:39.236Z] [2023-02-20T12:33:39.236Z] Login Succeeded [2023-02-20T12:33:39.236Z] nexus3.edgexfoundry.org:10002 [2023-02-20T12:33:39.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:33:39.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:33:39.236Z] Configure a credential helper to remove this warning. See [2023-02-20T12:33:39.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:33:39.236Z] [2023-02-20T12:33:39.236Z] Login Succeeded [2023-02-20T12:33:39.236Z] nexus3.edgexfoundry.org:10003 [2023-02-20T12:33:39.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:33:39.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:33:39.496Z] Configure a credential helper to remove this warning. See [2023-02-20T12:33:39.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:33:39.496Z] [2023-02-20T12:33:39.496Z] Login Succeeded [2023-02-20T12:33:39.496Z] nexus3.edgexfoundry.org:10004 [2023-02-20T12:33:39.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:33:39.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:33:39.496Z] Configure a credential helper to remove this warning. See [2023-02-20T12:33:39.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:33:39.496Z] [2023-02-20T12:33:39.496Z] Login Succeeded [2023-02-20T12:33:39.496Z] docker.io [2023-02-20T12:33:39.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:33:39.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:33:39.756Z] Configure a credential helper to remove this warning. See [2023-02-20T12:33:39.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:33:39.756Z] [2023-02-20T12:33:39.756Z] Login Succeeded [2023-02-20T12:33:39.756Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T12:33:39.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T12:33:39.980Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T12:33:40.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T12:33:40.054Z] ========================================================= [2023-02-20T12:33:40.054Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-20T12:33:40.054Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:33:40.546Z] + 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-20T12:33:40.546Z] Sending build context to Docker daemon 23.4MB [2023-02-20T12:33:40.546Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T12:33:40.546Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T12:33:40.806Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-20T12:33:40.806Z] 213ec9aee27d: Pulling fs layer [2023-02-20T12:33:40.806Z] 4583459ba037: Pulling fs layer [2023-02-20T12:33:40.806Z] 93c1e223e6f2: Pulling fs layer [2023-02-20T12:33:40.806Z] 53926ce57604: Pulling fs layer [2023-02-20T12:33:40.806Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-20T12:33:40.806Z] 22ff95d597cd: Pulling fs layer [2023-02-20T12:33:40.806Z] 12d6caf4c0d1: Pulling fs layer [2023-02-20T12:33:40.806Z] 96b7cbca73a9: Pulling fs layer [2023-02-20T12:33:40.806Z] a7acece74701: Pulling fs layer [2023-02-20T12:33:40.806Z] 12d6caf4c0d1: Waiting [2023-02-20T12:33:40.806Z] 53926ce57604: Waiting [2023-02-20T12:33:40.806Z] 21b2b0c7a3f4: Waiting [2023-02-20T12:33:40.806Z] 96b7cbca73a9: Waiting [2023-02-20T12:33:40.806Z] a7acece74701: Waiting [2023-02-20T12:33:40.806Z] 22ff95d597cd: Waiting [2023-02-20T12:33:40.806Z] 93c1e223e6f2: Verifying Checksum [2023-02-20T12:33:40.806Z] 93c1e223e6f2: Download complete [2023-02-20T12:33:40.806Z] 4583459ba037: Verifying Checksum [2023-02-20T12:33:40.806Z] 4583459ba037: Download complete [2023-02-20T12:33:40.806Z] 21b2b0c7a3f4: Download complete [2023-02-20T12:33:40.806Z] 22ff95d597cd: Download complete [2023-02-20T12:33:40.806Z] 213ec9aee27d: Verifying Checksum [2023-02-20T12:33:40.806Z] 213ec9aee27d: Download complete [2023-02-20T12:33:40.806Z] 12d6caf4c0d1: Download complete [2023-02-20T12:33:41.071Z] 213ec9aee27d: Pull complete [2023-02-20T12:33:41.071Z] 4583459ba037: Pull complete [2023-02-20T12:33:41.071Z] 93c1e223e6f2: Pull complete [2023-02-20T12:33:41.659Z] a7acece74701: Verifying Checksum [2023-02-20T12:33:41.659Z] a7acece74701: Download complete [2023-02-20T12:33:41.659Z] 53926ce57604: Verifying Checksum [2023-02-20T12:33:41.659Z] 53926ce57604: Download complete [2023-02-20T12:33:41.659Z] 96b7cbca73a9: Verifying Checksum [2023-02-20T12:33:45.849Z] 53926ce57604: Pull complete [2023-02-20T12:33:45.849Z] 21b2b0c7a3f4: Pull complete [2023-02-20T12:33:45.849Z] 22ff95d597cd: Pull complete [2023-02-20T12:33:45.849Z] 12d6caf4c0d1: Pull complete [2023-02-20T12:33:48.385Z] 96b7cbca73a9: Pull complete [2023-02-20T12:33:48.953Z] a7acece74701: Pull complete [2023-02-20T12:33:48.953Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-20T12:33:48.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-20T12:33:48.953Z] ---> db6d94c90886 [2023-02-20T12:33:48.953Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T12:33:53.681Z] Still waiting to schedule task [2023-02-20T12:33:53.681Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-20T12:33:59.011Z] ---> Running in 81f57d4c7b28 [2023-02-20T12:33:59.011Z] Removing intermediate container 81f57d4c7b28 [2023-02-20T12:33:59.011Z] ---> eb4a1ecc0dd1 [2023-02-20T12:33:59.011Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T12:33:59.011Z] ---> Running in ff144a71cdb0 [2023-02-20T12:33:59.011Z] Removing intermediate container ff144a71cdb0 [2023-02-20T12:33:59.011Z] ---> f03f554d0c44 [2023-02-20T12:33:59.011Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T12:33:59.578Z] ---> Running in a9d12d953d3c [2023-02-20T12:34:00.515Z] Removing intermediate container a9d12d953d3c [2023-02-20T12:34:00.515Z] ---> dbf6339ae377 [2023-02-20T12:34:00.515Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-20T12:34:00.774Z] ---> Running in f13dbc2b5b44 [2023-02-20T12:34:01.712Z] Removing intermediate container f13dbc2b5b44 [2023-02-20T12:34:01.712Z] ---> 73c322bc088e [2023-02-20T12:34:01.712Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T12:34:01.971Z] ---> Running in 02c769890b5e [2023-02-20T12:34:02.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T12:34:02.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T12:34:02.798Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T12:34:02.798Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-20T12:34:02.798Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T12:34:02.798Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T12:34:02.798Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T12:34:02.798Z] OK: 216 MiB in 55 packages [2023-02-20T12:34:03.736Z] Removing intermediate container 02c769890b5e [2023-02-20T12:34:03.736Z] ---> 9ad8df8e6063 [2023-02-20T12:34:03.736Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-20T12:34:03.736Z] ---> e81b46874452 [2023-02-20T12:34:03.736Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T12:34:03.736Z] ---> Running in 1f4d3288e8ed [2023-02-20T12:34:50.464Z] Removing intermediate container 1f4d3288e8ed [2023-02-20T12:34:50.464Z] ---> 91eac1a1282b [2023-02-20T12:34:50.464Z] Step 10/12 : COPY . . [2023-02-20T12:34:50.464Z] ---> 38b7587fe476 [2023-02-20T12:34:50.464Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T12:34:50.464Z] ---> Running in 4e3dd3859075 [2023-02-20T12:34:50.464Z] Removing intermediate container 4e3dd3859075 [2023-02-20T12:34:50.464Z] ---> 56bb7e88bf48 [2023-02-20T12:34:50.464Z] Step 12/12 : RUN $MAKE [2023-02-20T12:34:50.464Z] ---> Running in a4260c2f8157 [2023-02-20T12:34:50.464Z] noop [2023-02-20T12:34:50.464Z] Removing intermediate container a4260c2f8157 [2023-02-20T12:34:50.464Z] ---> afe6300e1ce5 [2023-02-20T12:34:50.464Z] Successfully built afe6300e1ce5 [2023-02-20T12:34:50.464Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:34:50.922Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T12:34:50.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T12:34:51.079Z] prd-ubuntu20.04-docker-8c-8g-6732 does not seem to be running inside a container [2023-02-20T12:34:51.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-344 -v /w/workspace/foundry_device-virtual-go_PR-344:/w/workspace/foundry_device-virtual-go_PR-344:rw,z -v /w/workspace/foundry_device-virtual-go_PR-344@tmp:/w/workspace/foundry_device-virtual-go_PR-344@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 ******** ci-base-image-x86_64 cat [2023-02-20T12:34:51.453Z] $ docker top c60f0ae8b8c7f50c4afa7f36ff68d94ace0c2002027225d989eb137c263a3987 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T12:34:51.848Z] + go version [2023-02-20T12:34:51.849Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-20T12:34:51.881Z] $ docker stop --time=1 c60f0ae8b8c7f50c4afa7f36ff68d94ace0c2002027225d989eb137c263a3987 [2023-02-20T12:34:53.470Z] $ docker rm -f --volumes c60f0ae8b8c7f50c4afa7f36ff68d94ace0c2002027225d989eb137c263a3987 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:34:54.211Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T12:34:54.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T12:34:54.356Z] prd-ubuntu20.04-docker-8c-8g-6732 does not seem to be running inside a container [2023-02-20T12:34:54.388Z] $ 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-344 -v /w/workspace/foundry_device-virtual-go_PR-344:/w/workspace/foundry_device-virtual-go_PR-344:rw,z -v /w/workspace/foundry_device-virtual-go_PR-344@tmp:/w/workspace/foundry_device-virtual-go_PR-344@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 ******** ci-base-image-x86_64 cat [2023-02-20T12:34:54.716Z] $ docker top 19a3df67516567597281bc78409fce47efd5f7671eb83e9da8f24af6dfc41141 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T12:34:55.105Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-344 [Pipeline] fileExists [Pipeline] sh [2023-02-20T12:34:55.457Z] + make test [2023-02-20T12:34:55.457Z] go test ./... -coverprofile=coverage.out [2023-02-20T12:34:55.715Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-20T12:35:05.694Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-20T12:35:05.694Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2023-02-20T12:35:13.829Z] 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-20T12:35:13.829Z] go vet ./... [2023-02-20T12:35:16.384Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T12:35:16.384Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T12:35:16.384Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-20T12:35:16.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T12:35:16.452Z] $ docker stop --time=1 19a3df67516567597281bc78409fce47efd5f7671eb83e9da8f24af6dfc41141 [2023-02-20T12:35:19.268Z] $ docker rm -f --volumes 19a3df67516567597281bc78409fce47efd5f7671eb83e9da8f24af6dfc41141 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T12:35:19.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T12:35:19.839Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-20T12:35:20.610Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T12:35:20.919Z] + ls -al . [2023-02-20T12:35:20.919Z] total 192 [2023-02-20T12:35:20.919Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 12:34 . [2023-02-20T12:35:20.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 12:33 .. [2023-02-20T12:35:20.919Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 12:35 .git [2023-02-20T12:35:20.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:33 .github [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 20 12:33 .gitignore [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 12:33 .golangci.yml [2023-02-20T12:35:20.919Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 12:33 .semver [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 8641 Feb 20 12:33 Attribution.txt [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 20 12:33 CHANGELOG.md [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 20 12:33 Dockerfile [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 12:33 GOVERNANCE.md [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 20 12:33 Jenkinsfile [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 12:33 LICENSE [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 20 12:33 Makefile [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 20 12:33 OWNERS.md [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 20 12:33 README.md [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 12:33 VERSION [2023-02-20T12:35:20.919Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 12:33 bin [2023-02-20T12:35:20.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:33 cmd [2023-02-20T12:35:20.919Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 20 12:35 coverage.out [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 20 12:33 go.mod [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 20 12:33 go.sum [2023-02-20T12:35:20.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:33 internal [2023-02-20T12:35:20.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 12:33 snap [2023-02-20T12:35:20.919Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 20 12:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:35:21.321Z] + 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=6432efbc329d5bbc539d5cf228bb1b66a86daa3b --label arch=amd64 --label version=0.0.0 . [2023-02-20T12:35:21.321Z] Sending build context to Docker daemon 23.44MB [2023-02-20T12:35:21.321Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T12:35:21.321Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-20T12:35:21.321Z] ---> afe6300e1ce5 [2023-02-20T12:35:21.321Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T12:35:21.694Z] ---> Running in 5419c5300396 [2023-02-20T12:35:21.967Z] Removing intermediate container 5419c5300396 [2023-02-20T12:35:21.967Z] ---> 74672ef452e9 [2023-02-20T12:35:21.967Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T12:35:21.967Z] ---> Running in 77224266fd76 [2023-02-20T12:35:21.967Z] Removing intermediate container 77224266fd76 [2023-02-20T12:35:21.967Z] ---> cb204480af40 [2023-02-20T12:35:21.967Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-20T12:35:21.967Z] ---> Running in 05db34bff6ec [2023-02-20T12:35:21.967Z] Removing intermediate container 05db34bff6ec [2023-02-20T12:35:21.967Z] ---> 5754cca37e90 [2023-02-20T12:35:21.967Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-20T12:35:21.967Z] ---> Running in b6a2d46a9af2 [2023-02-20T12:35:22.230Z] Removing intermediate container b6a2d46a9af2 [2023-02-20T12:35:22.230Z] ---> 080486a9a68a [2023-02-20T12:35:22.230Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T12:35:22.230Z] ---> Running in 334a2dbfb47c [2023-02-20T12:35:22.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T12:35:22.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T12:35:23.119Z] OK: 216 MiB in 55 packages [2023-02-20T12:35:23.610Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6733 in /w/workspace/foundry_device-virtual-go_PR-344 [Pipeline] { [Pipeline] ws [2023-02-20T12:35:23.676Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [2023-02-20T12:35:23.685Z] Removing intermediate container 334a2dbfb47c [2023-02-20T12:35:23.685Z] ---> 7a6b3acd73ed [2023-02-20T12:35:23.685Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-20T12:35:23.685Z] ---> 3e05b03fc975 [2023-02-20T12:35:23.685Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T12:35:23.685Z] ---> Running in 35a0632798d6 [Pipeline] checkout [2023-02-20T12:35:23.778Z] The recommended git tool is: git [2023-02-20T12:35:24.619Z] Removing intermediate container 35a0632798d6 [2023-02-20T12:35:24.619Z] ---> 8d9dd1d0c55c [2023-02-20T12:35:24.619Z] Step 10/25 : COPY . . [2023-02-20T12:35:25.557Z] ---> be517c5cad38 [2023-02-20T12:35:25.557Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T12:35:25.557Z] ---> Running in 7c5f6c4d70af [2023-02-20T12:35:25.557Z] Removing intermediate container 7c5f6c4d70af [2023-02-20T12:35:25.557Z] ---> 49d8105db424 [2023-02-20T12:35:25.557Z] Step 12/25 : RUN $MAKE [2023-02-20T12:35:25.557Z] ---> Running in cfc752dd1b51 [2023-02-20T12:35:25.815Z] 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-20T12:35:28.935Z] using credential edgex-jenkins-ssh [2023-02-20T12:35:28.951Z] Cloning the remote Git repository [2023-02-20T12:35:28.989Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-20T12:35:29.058Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-02-20T12:35:29.194Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-20T12:35:29.195Z] > git --version # timeout=10 [2023-02-20T12:35:29.221Z] > git --version # 'git version 2.25.1' [2023-02-20T12:35:29.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T12:35:29.278Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T12:35:31.297Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-20T12:35:31.323Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T12:35:32.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-20T12:35:32.244Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-20T12:35:32.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T12:35:32.265Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-20T12:35:32.804Z] Merging remotes/origin/main commit 809182d388b7784ea0303513e5a82decca2f34a7 into PR head commit 6432efbc329d5bbc539d5cf228bb1b66a86daa3b [2023-02-20T12:35:33.002Z] Merge succeeded, producing 6432efbc329d5bbc539d5cf228bb1b66a86daa3b [2023-02-20T12:35:33.002Z] Checking out Revision 6432efbc329d5bbc539d5cf228bb1b66a86daa3b (PR-344) [2023-02-20T12:35:33.432Z] Commit message: "build(deps): Bump golang.org/x/net from 0.5.0 to 0.7.0" [2023-02-20T12:35:33.479Z] > git --version # timeout=10 [2023-02-20T12:35:33.493Z] > git --version # 'git version 2.25.1' [2023-02-20T12:35:33.504Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-02-20T12:35:32.815Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T12:35:32.830Z] > git checkout -f 6432efbc329d5bbc539d5cf228bb1b66a86daa3b # timeout=10 [2023-02-20T12:35:32.905Z] > git remote # timeout=10 [2023-02-20T12:35:32.921Z] > git config --get remote.origin.url # timeout=10 [2023-02-20T12:35:32.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T12:35:32.952Z] > git merge 809182d388b7784ea0303513e5a82decca2f34a7 # timeout=10 [2023-02-20T12:35:32.979Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-20T12:35:33.005Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T12:35:33.020Z] > git checkout -f 6432efbc329d5bbc539d5cf228bb1b66a86daa3b # timeout=10 [Pipeline] sh [2023-02-20T12:35:34.593Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-20T12:35:34.593Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T12:35:34.593Z] Dload Upload Total Spent Left Speed [2023-02-20T12:35:34.593Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73705 0 --:--:-- --:--:-- --:--:-- 74133 [Pipeline] sh [2023-02-20T12:35:35.162Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-20T12:35:35.521Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-20T12:35:35.521Z] + sudo tee /etc/docker/daemon.new [2023-02-20T12:35:35.521Z] { [2023-02-20T12:35:35.521Z] "registry-mirrors": [ [2023-02-20T12:35:35.521Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-20T12:35:35.521Z] ], [2023-02-20T12:35:35.521Z] "bip": "10.250.0.254/24", [2023-02-20T12:35:35.521Z] "hosts": [ [2023-02-20T12:35:35.521Z] "tcp://0.0.0.0:5555", [2023-02-20T12:35:35.521Z] "unix:///var/run/docker.sock" [2023-02-20T12:35:35.521Z] ], [2023-02-20T12:35:35.521Z] "mtu": 1458, [2023-02-20T12:35:35.521Z] "selinux-enabled": true, [2023-02-20T12:35:35.521Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-20T12:35:35.521Z] } [Pipeline] sh [2023-02-20T12:35:35.894Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-20T12:35:36.251Z] + sudo service docker restart [2023-02-20T12:35:47.751Z] Removing intermediate container cfc752dd1b51 [2023-02-20T12:35:47.751Z] ---> a1457a61fa20 [2023-02-20T12:35:47.751Z] Step 13/25 : FROM alpine:3.16 [2023-02-20T12:35:48.011Z] 3.16: Pulling from library/alpine [2023-02-20T12:35:48.011Z] ef5531b6e74e: Pulling fs layer [2023-02-20T12:35:48.273Z] ef5531b6e74e: Verifying Checksum [2023-02-20T12:35:48.273Z] ef5531b6e74e: Download complete [2023-02-20T12:35:48.534Z] ef5531b6e74e: Pull complete [2023-02-20T12:35:48.534Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-20T12:35:48.534Z] Status: Downloaded newer image for alpine:3.16 [2023-02-20T12:35:48.534Z] ---> dfd21b5a31f5 [2023-02-20T12:35:48.534Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-20T12:35:48.795Z] ---> Running in 5b1a1d44f566 [2023-02-20T12:35:48.795Z] Removing intermediate container 5b1a1d44f566 [2023-02-20T12:35:48.795Z] ---> 629c9ef8e283 [2023-02-20T12:35:48.795Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-20T12:35:48.795Z] ---> Running in e3bb649d51c8 [2023-02-20T12:35:49.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T12:35:49.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T12:35:49.624Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-20T12:35:49.624Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T12:35:49.624Z] OK: 6 MiB in 15 packages [2023-02-20T12:35:50.193Z] Removing intermediate container e3bb649d51c8 [2023-02-20T12:35:50.193Z] ---> 49480cb75df5 [2023-02-20T12:35:50.193Z] Step 16/25 : WORKDIR / [2023-02-20T12:35:50.193Z] ---> Running in 0a64e09d5731 [2023-02-20T12:35:50.193Z] Removing intermediate container 0a64e09d5731 [2023-02-20T12:35:50.193Z] ---> 61ed5c354e19 [2023-02-20T12:35:50.193Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-20T12:35:50.193Z] ---> ff5c8705b194 [2023-02-20T12:35:50.193Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-20T12:35:50.452Z] ---> 169eeb8115ec [2023-02-20T12:35:50.452Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-20T12:35:51.390Z] ---> de50c673fea7 [2023-02-20T12:35:51.390Z] Step 20/25 : EXPOSE 59900 [2023-02-20T12:35:51.390Z] ---> Running in 2b0ea172c41d [2023-02-20T12:35:51.390Z] Removing intermediate container 2b0ea172c41d [2023-02-20T12:35:51.390Z] ---> 02afd1e94968 [2023-02-20T12:35:51.390Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-20T12:35:51.390Z] ---> Running in cd93cd4d9f55 [2023-02-20T12:35:51.390Z] Removing intermediate container cd93cd4d9f55 [2023-02-20T12:35:51.390Z] ---> f0ca46050c05 [2023-02-20T12:35:51.390Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-20T12:35:51.390Z] ---> Running in e78829e13cb1 [2023-02-20T12:35:51.390Z] Removing intermediate container e78829e13cb1 [2023-02-20T12:35:51.390Z] ---> f037d1775b1d [2023-02-20T12:35:51.390Z] Step 23/25 : LABEL arch=amd64 [2023-02-20T12:35:51.650Z] ---> Running in 7b6fdbedb6e0 [2023-02-20T12:35:51.650Z] Removing intermediate container 7b6fdbedb6e0 [2023-02-20T12:35:51.650Z] ---> 5b376ebb99b4 [2023-02-20T12:35:51.650Z] Step 24/25 : LABEL git_sha=6432efbc329d5bbc539d5cf228bb1b66a86daa3b [2023-02-20T12:35:51.650Z] ---> Running in 6a02c9d90582 [2023-02-20T12:35:51.650Z] Removing intermediate container 6a02c9d90582 [2023-02-20T12:35:51.650Z] ---> 3a6af0f20d46 [2023-02-20T12:35:51.650Z] Step 25/25 : LABEL version=0.0.0 [2023-02-20T12:35:51.650Z] ---> Running in 481618c5f85b [2023-02-20T12:35:51.910Z] Removing intermediate container 481618c5f85b [2023-02-20T12:35:51.910Z] ---> 06fd02e0ab2a [2023-02-20T12:35:51.910Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T12:35:51.910Z] Successfully built 06fd02e0ab2a [2023-02-20T12:35:51.910Z] 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-20T12:35:52.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T12:35:52.828Z] [2023-02-20T12:35:52.828Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:35:53.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T12:35:53.205Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-20T12:35:53.205Z] 5eb5b503b376: Pulling fs layer [2023-02-20T12:35:53.205Z] 5c69ac0246d0: Pulling fs layer [2023-02-20T12:35:53.205Z] ec43610c2a17: Pulling fs layer [2023-02-20T12:35:53.205Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-20T12:35:53.205Z] 33b1e0a273af: Pulling fs layer [2023-02-20T12:35:53.205Z] 5d3b04190fa2: Pulling fs layer [2023-02-20T12:35:53.205Z] 2f39f015ded8: Pulling fs layer [2023-02-20T12:35:53.205Z] 3a2ae6a8a46f: Waiting [2023-02-20T12:35:53.205Z] 5d3b04190fa2: Waiting [2023-02-20T12:35:53.205Z] 33b1e0a273af: Waiting [2023-02-20T12:35:53.205Z] 5c69ac0246d0: Download complete [2023-02-20T12:35:53.205Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-20T12:35:53.205Z] 3a2ae6a8a46f: Download complete [2023-02-20T12:35:53.465Z] 33b1e0a273af: Verifying Checksum [2023-02-20T12:35:53.465Z] 33b1e0a273af: Download complete [2023-02-20T12:35:53.465Z] ec43610c2a17: Verifying Checksum [2023-02-20T12:35:53.465Z] ec43610c2a17: Download complete [2023-02-20T12:35:53.465Z] 5d3b04190fa2: Download complete [2023-02-20T12:35:53.465Z] 5eb5b503b376: Verifying Checksum [2023-02-20T12:35:53.465Z] 5eb5b503b376: Download complete [2023-02-20T12:35:54.037Z] 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T12:35:54.659Z] provisioning config files... [2023-02-20T12:35:54.684Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12166390766048180334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:35:54.973Z] 5eb5b503b376: Pull complete [2023-02-20T12:35:55.073Z] ---> docker-login.sh [2023-02-20T12:35:55.073Z] nexus3.edgexfoundry.org:10001 [2023-02-20T12:35:55.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:35:55.542Z] 5c69ac0246d0: Pull complete [2023-02-20T12:35:55.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:35:55.627Z] Configure a credential helper to remove this warning. See [2023-02-20T12:35:55.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:35:55.627Z] [2023-02-20T12:35:55.627Z] Login Succeeded [2023-02-20T12:35:55.627Z] nexus3.edgexfoundry.org:10002 [2023-02-20T12:35:55.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:35:55.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:35:55.898Z] Configure a credential helper to remove this warning. See [2023-02-20T12:35:55.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:35:55.898Z] [2023-02-20T12:35:55.898Z] Login Succeeded [2023-02-20T12:35:55.898Z] nexus3.edgexfoundry.org:10003 [2023-02-20T12:35:56.112Z] ec43610c2a17: Pull complete [2023-02-20T12:35:56.112Z] 3a2ae6a8a46f: Pull complete [2023-02-20T12:35:56.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:35:56.371Z] 33b1e0a273af: Pull complete [2023-02-20T12:35:56.371Z] 5d3b04190fa2: Pull complete [2023-02-20T12:35:56.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:35:56.448Z] Configure a credential helper to remove this warning. See [2023-02-20T12:35:56.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:35:56.448Z] [2023-02-20T12:35:56.448Z] Login Succeeded [2023-02-20T12:35:56.448Z] nexus3.edgexfoundry.org:10004 [2023-02-20T12:35:56.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:35:56.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:35:56.718Z] Configure a credential helper to remove this warning. See [2023-02-20T12:35:56.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:35:56.718Z] [2023-02-20T12:35:56.718Z] Login Succeeded [2023-02-20T12:35:56.718Z] docker.io [2023-02-20T12:35:56.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T12:35:57.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T12:35:57.257Z] Configure a credential helper to remove this warning. See [2023-02-20T12:35:57.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T12:35:57.257Z] [2023-02-20T12:35:57.257Z] Login Succeeded [2023-02-20T12:35:57.257Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T12:35:57.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T12:35:57.660Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T12:35:57.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T12:35:57.738Z] ========================================================= [2023-02-20T12:35:57.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-20T12:35:57.738Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:35:58.253Z] + 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-20T12:35:58.521Z] Sending build context to Docker daemon 11.85MB [2023-02-20T12:35:58.521Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T12:35:58.521Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T12:35:58.800Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-20T12:35:58.800Z] 9b18e9b68314: Pulling fs layer [2023-02-20T12:35:58.800Z] 35d82f9e3411: Pulling fs layer [2023-02-20T12:35:58.800Z] e16973657156: Pulling fs layer [2023-02-20T12:35:58.800Z] fc693d55d65f: Pulling fs layer [2023-02-20T12:35:58.800Z] 7e9fc2657dce: Pulling fs layer [2023-02-20T12:35:58.800Z] dda99020689f: Pulling fs layer [2023-02-20T12:35:58.800Z] db1c61fa0a46: Pulling fs layer [2023-02-20T12:35:58.800Z] 891c053d2c06: Pulling fs layer [2023-02-20T12:35:58.800Z] 7e9fc2657dce: Waiting [2023-02-20T12:35:58.800Z] dda99020689f: Waiting [2023-02-20T12:35:58.800Z] db1c61fa0a46: Waiting [2023-02-20T12:35:58.800Z] 891c053d2c06: Waiting [2023-02-20T12:35:58.800Z] fc693d55d65f: Waiting [2023-02-20T12:35:58.800Z] e16973657156: Verifying Checksum [2023-02-20T12:35:58.800Z] e16973657156: Download complete [2023-02-20T12:35:58.800Z] 35d82f9e3411: Verifying Checksum [2023-02-20T12:35:58.800Z] 35d82f9e3411: Download complete [2023-02-20T12:35:58.800Z] 7e9fc2657dce: Verifying Checksum [2023-02-20T12:35:58.800Z] 7e9fc2657dce: Download complete [2023-02-20T12:35:58.800Z] dda99020689f: Verifying Checksum [2023-02-20T12:35:58.800Z] dda99020689f: Download complete [2023-02-20T12:35:58.800Z] 9b18e9b68314: Verifying Checksum [2023-02-20T12:35:58.800Z] 9b18e9b68314: Download complete [2023-02-20T12:35:59.773Z] 9b18e9b68314: Pull complete [2023-02-20T12:36:00.053Z] 891c053d2c06: Verifying Checksum [2023-02-20T12:36:00.053Z] 891c053d2c06: Download complete [2023-02-20T12:36:00.326Z] 35d82f9e3411: Pull complete [2023-02-20T12:36:00.599Z] e16973657156: Pull complete [2023-02-20T12:36:01.189Z] db1c61fa0a46: Verifying Checksum [2023-02-20T12:36:01.189Z] db1c61fa0a46: Download complete [2023-02-20T12:36:01.644Z] 2f39f015ded8: Pull complete [2023-02-20T12:36:01.644Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-20T12:36:01.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T12:36:01.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-02-20T12:36:01.777Z] fc693d55d65f: Verifying Checksum [2023-02-20T12:36:01.777Z] fc693d55d65f: Download complete [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T12:36:01.911Z] prd-ubuntu20.04-docker-8c-8g-6732 does not seem to be running inside a container [2023-02-20T12:36:01.943Z] $ 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-344 -v /w/workspace/foundry_device-virtual-go_PR-344:/w/workspace/foundry_device-virtual-go_PR-344:rw,z -v /w/workspace/foundry_device-virtual-go_PR-344@tmp:/w/workspace/foundry_device-virtual-go_PR-344@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-20T12:36:08.127Z] $ docker top 36a2f534f872338d4b0d68677939787e3b2a12e177d1c7091a221cbed17ed821 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:36:08.583Z] ---> job-cost.sh [2023-02-20T12:36:08.583Z] lf-activate-venv: SKIPPING [2023-02-20T12:36:08.583Z] INFO: No Stack... [2023-02-20T12:36:09.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T12:36:09.412Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T12:36:09.729Z] + cat /w/workspace/foundry_device-virtual-go_PR-344/archives/cost.csv [2023-02-20T12:36:09.729Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T12:36:09.772Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-344-1-stack-cost] [2023-02-20T12:36:09.777Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-344-1-stack-cost] did not exist. Created. [2023-02-20T12:36:09.777Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-344-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T12:36:10.175Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-20T12:36:10.228Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T12:36:10.258Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-344-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T12:36:10.345Z] $ docker stop --time=1 36a2f534f872338d4b0d68677939787e3b2a12e177d1c7091a221cbed17ed821 [2023-02-20T12:36:11.498Z] $ docker rm -f --volumes 36a2f534f872338d4b0d68677939787e3b2a12e177d1c7091a221cbed17ed821 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-20T12:36:14.209Z] fc693d55d65f: Pull complete [2023-02-20T12:36:14.209Z] 7e9fc2657dce: Pull complete [2023-02-20T12:36:14.209Z] dda99020689f: Pull complete [2023-02-20T12:36:20.934Z] db1c61fa0a46: Pull complete [2023-02-20T12:36:22.908Z] 891c053d2c06: Pull complete [2023-02-20T12:36:22.908Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-20T12:36:22.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-20T12:36:22.908Z] ---> f96f9c87975a [2023-02-20T12:36:22.908Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T12:36:24.860Z] ---> Running in 3d646a2f7dfd [2023-02-20T12:36:24.860Z] Removing intermediate container 3d646a2f7dfd [2023-02-20T12:36:24.860Z] ---> 27210dc74977 [2023-02-20T12:36:24.860Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T12:36:24.860Z] ---> Running in 15393d5c4446 [2023-02-20T12:36:25.143Z] Removing intermediate container 15393d5c4446 [2023-02-20T12:36:25.143Z] ---> 49d486e8ccac [2023-02-20T12:36:25.143Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T12:36:25.143Z] ---> Running in 9490ce2e5983 [2023-02-20T12:36:25.727Z] Removing intermediate container 9490ce2e5983 [2023-02-20T12:36:25.727Z] ---> d037d3a06c5b [2023-02-20T12:36:25.727Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-20T12:36:25.727Z] ---> Running in a4e9293a5759 [2023-02-20T12:36:25.997Z] Removing intermediate container a4e9293a5759 [2023-02-20T12:36:25.997Z] ---> fdfff53d7388 [2023-02-20T12:36:25.997Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T12:36:25.997Z] ---> Running in 22636b0e79ce [2023-02-20T12:36:27.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T12:36:27.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T12:36:28.378Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T12:36:28.378Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-20T12:36:28.378Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T12:36:28.378Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T12:36:28.378Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T12:36:28.646Z] OK: 226 MiB in 55 packages [2023-02-20T12:36:29.611Z] Removing intermediate container 22636b0e79ce [2023-02-20T12:36:29.611Z] ---> c2a5b69ad3ec [2023-02-20T12:36:29.611Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-20T12:36:30.576Z] ---> 31f5beafe0b5 [2023-02-20T12:36:30.576Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T12:36:30.848Z] ---> Running in 1e81abe0fef3 [2023-02-20T12:37:52.491Z] Removing intermediate container 1e81abe0fef3 [2023-02-20T12:37:52.491Z] ---> c67b8ed77224 [2023-02-20T12:37:52.491Z] Step 10/12 : COPY . . [2023-02-20T12:37:52.491Z] ---> 3de0dc7382ac [2023-02-20T12:37:52.491Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T12:37:52.491Z] ---> Running in 77e71709e9ce [2023-02-20T12:37:52.491Z] Removing intermediate container 77e71709e9ce [2023-02-20T12:37:52.491Z] ---> f43c58f00f1a [2023-02-20T12:37:52.491Z] Step 12/12 : RUN $MAKE [2023-02-20T12:37:52.491Z] ---> Running in e28881f34651 [2023-02-20T12:37:52.491Z] noop [2023-02-20T12:37:52.491Z] Removing intermediate container e28881f34651 [2023-02-20T12:37:52.491Z] ---> acd84c58f501 [2023-02-20T12:37:52.491Z] Successfully built acd84c58f501 [2023-02-20T12:37:52.491Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:37:52.968Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T12:37:52.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T12:37:53.228Z] prd-ubuntu20.04-docker-arm64-4c-16g-6733 does not seem to be running inside a container [2023-02-20T12:37:53.302Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-20T12:37:54.525Z] $ docker top 07c3778c4a01a1c5fe13e94f5c0587d03d8483f5feca02f70ceea0038bd05b55 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T12:37:55.378Z] + go version [2023-02-20T12:37:55.378Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-20T12:37:55.422Z] $ docker stop --time=1 07c3778c4a01a1c5fe13e94f5c0587d03d8483f5feca02f70ceea0038bd05b55 [2023-02-20T12:37:57.028Z] $ docker rm -f --volumes 07c3778c4a01a1c5fe13e94f5c0587d03d8483f5feca02f70ceea0038bd05b55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:37:57.894Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T12:37:57.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T12:37:58.157Z] prd-ubuntu20.04-docker-arm64-4c-16g-6733 does not seem to be running inside a container [2023-02-20T12:37:58.228Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-20T12:38:01.445Z] $ docker top 3e3452be3f0e20c9e2f3bd169ec3418925c9b11262f49b4af82daf5b48b29194 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T12:38:02.003Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-20T12:38:02.658Z] + make test [2023-02-20T12:38:02.658Z] go test ./... -coverprofile=coverage.out [2023-02-20T12:38:04.606Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-20T12:39:28.335Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-20T12:39:28.335Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.125s coverage: 65.7% of statements [2023-02-20T12:39:28.335Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-20T12:39:28.335Z] go vet ./... [2023-02-20T12:39:43.346Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T12:39:43.346Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T12:39:43.346Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-20T12:39:43.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T12:39:43.424Z] $ docker stop --time=1 3e3452be3f0e20c9e2f3bd169ec3418925c9b11262f49b4af82daf5b48b29194 [2023-02-20T12:39:45.236Z] $ docker rm -f --volumes 3e3452be3f0e20c9e2f3bd169ec3418925c9b11262f49b4af82daf5b48b29194 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T12:39:46.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T12:39:46.354Z] Warning: overwriting stash ‘coverage-report’ [2023-02-20T12:39:46.805Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T12:39:47.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T12:39:47.759Z] + ls -al . [2023-02-20T12:39:47.759Z] total 188 [2023-02-20T12:39:47.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 12:38 . [2023-02-20T12:39:47.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 12:35 .. [2023-02-20T12:39:47.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 12:35 .git [2023-02-20T12:39:47.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:35 .github [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 20 12:35 .gitignore [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 12:35 .golangci.yml [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 8641 Feb 20 12:35 Attribution.txt [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 20 12:35 CHANGELOG.md [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 20 12:35 Dockerfile [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 12:35 GOVERNANCE.md [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 20 12:35 Jenkinsfile [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 12:35 LICENSE [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 20 12:35 Makefile [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 20 12:35 OWNERS.md [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 20 12:35 README.md [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 12:33 VERSION [2023-02-20T12:39:47.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 12:35 bin [2023-02-20T12:39:47.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:35 cmd [2023-02-20T12:39:47.759Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 20 12:39 coverage.out [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 20 12:35 go.mod [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 20 12:35 go.sum [2023-02-20T12:39:47.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:35 internal [2023-02-20T12:39:47.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 12:35 snap [2023-02-20T12:39:47.759Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 20 12:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:39:48.173Z] + 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=6432efbc329d5bbc539d5cf228bb1b66a86daa3b --label arch=arm64 --label version=0.0.0 . [2023-02-20T12:39:48.758Z] Sending build context to Docker daemon 11.89MB [2023-02-20T12:39:48.758Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T12:39:48.758Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-20T12:39:48.758Z] ---> acd84c58f501 [2023-02-20T12:39:48.758Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T12:39:48.758Z] ---> Running in 051bd10ecee6 [2023-02-20T12:39:49.029Z] Removing intermediate container 051bd10ecee6 [2023-02-20T12:39:49.029Z] ---> c47bf998f8c9 [2023-02-20T12:39:49.029Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T12:39:49.029Z] ---> Running in af4a1b5f824a [2023-02-20T12:39:49.612Z] Removing intermediate container af4a1b5f824a [2023-02-20T12:39:49.612Z] ---> 1689451d192c [2023-02-20T12:39:49.612Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-20T12:39:49.612Z] ---> Running in d8f47f25e3c6 [2023-02-20T12:39:49.881Z] Removing intermediate container d8f47f25e3c6 [2023-02-20T12:39:49.881Z] ---> f77744661d8b [2023-02-20T12:39:49.881Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-20T12:39:49.881Z] ---> Running in f2c449e370ba [2023-02-20T12:39:50.147Z] Removing intermediate container f2c449e370ba [2023-02-20T12:39:50.147Z] ---> 0fe1d3dfc008 [2023-02-20T12:39:50.147Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T12:39:50.414Z] ---> Running in a159afeee800 [2023-02-20T12:39:51.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T12:39:51.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T12:39:52.602Z] OK: 226 MiB in 55 packages [2023-02-20T12:39:53.560Z] Removing intermediate container a159afeee800 [2023-02-20T12:39:53.560Z] ---> 1c2a9c686ea8 [2023-02-20T12:39:53.560Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-20T12:39:53.826Z] ---> a59cf7ed1340 [2023-02-20T12:39:53.826Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T12:39:54.099Z] ---> Running in e14b846cfeef [2023-02-20T12:39:58.360Z] Removing intermediate container e14b846cfeef [2023-02-20T12:39:58.360Z] ---> 7d0077dbf8a1 [2023-02-20T12:39:58.360Z] Step 10/25 : COPY . . [2023-02-20T12:39:59.771Z] ---> 8fc48eac0b19 [2023-02-20T12:39:59.771Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T12:39:59.771Z] ---> Running in a211e3856fe1 [2023-02-20T12:40:00.354Z] Removing intermediate container a211e3856fe1 [2023-02-20T12:40:00.354Z] ---> 59e7b049d857 [2023-02-20T12:40:00.354Z] Step 12/25 : RUN $MAKE [2023-02-20T12:40:00.354Z] ---> Running in 6cf6cbc4f05d [2023-02-20T12:40:01.315Z] 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-20T12:42:08.030Z] Removing intermediate container 6cf6cbc4f05d [2023-02-20T12:42:08.030Z] ---> 632c3da26664 [2023-02-20T12:42:08.030Z] Step 13/25 : FROM alpine:3.16 [2023-02-20T12:42:08.030Z] 3.16: Pulling from library/alpine [2023-02-20T12:42:08.030Z] 3760b48202b3: Pulling fs layer [2023-02-20T12:42:08.030Z] 3760b48202b3: Download complete [2023-02-20T12:42:08.030Z] 3760b48202b3: Pull complete [2023-02-20T12:42:08.030Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-20T12:42:08.030Z] Status: Downloaded newer image for alpine:3.16 [2023-02-20T12:42:08.030Z] ---> 4c81e5bf8899 [2023-02-20T12:42:08.030Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-20T12:42:08.030Z] ---> Running in 7c42c7b4b0e0 [2023-02-20T12:42:08.030Z] Removing intermediate container 7c42c7b4b0e0 [2023-02-20T12:42:08.030Z] ---> 95a6461c13d1 [2023-02-20T12:42:08.030Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-20T12:42:08.030Z] ---> Running in 573370e5a81c [2023-02-20T12:42:08.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T12:42:08.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T12:42:09.523Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-20T12:42:09.523Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T12:42:09.523Z] OK: 5 MiB in 15 packages [2023-02-20T12:42:10.482Z] Removing intermediate container 573370e5a81c [2023-02-20T12:42:10.482Z] ---> 393ffa758090 [2023-02-20T12:42:10.482Z] Step 16/25 : WORKDIR / [2023-02-20T12:42:10.482Z] ---> Running in 74b573dc3d89 [2023-02-20T12:42:10.749Z] Removing intermediate container 74b573dc3d89 [2023-02-20T12:42:10.749Z] ---> 8408f1cdfd98 [2023-02-20T12:42:10.749Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-20T12:42:11.330Z] ---> 74e7fa8081ce [2023-02-20T12:42:11.330Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-20T12:42:11.912Z] ---> b3339719a73c [2023-02-20T12:42:11.912Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-20T12:42:13.324Z] ---> c3a2b886ef9f [2023-02-20T12:42:13.324Z] Step 20/25 : EXPOSE 59900 [2023-02-20T12:42:13.324Z] ---> Running in 5a9f03714b94 [2023-02-20T12:42:13.324Z] Removing intermediate container 5a9f03714b94 [2023-02-20T12:42:13.324Z] ---> 93dd773dcffc [2023-02-20T12:42:13.324Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-20T12:42:13.324Z] ---> Running in 129ed740b62f [2023-02-20T12:42:13.597Z] Removing intermediate container 129ed740b62f [2023-02-20T12:42:13.597Z] ---> 1298ee8e52a6 [2023-02-20T12:42:13.597Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-20T12:42:13.866Z] ---> Running in b94b6e2eb1d4 [2023-02-20T12:42:14.133Z] Removing intermediate container b94b6e2eb1d4 [2023-02-20T12:42:14.133Z] ---> c3bc7059b0fd [2023-02-20T12:42:14.133Z] Step 23/25 : LABEL arch=arm64 [2023-02-20T12:42:14.133Z] ---> Running in d2f23038d7fc [2023-02-20T12:42:14.400Z] Removing intermediate container d2f23038d7fc [2023-02-20T12:42:14.400Z] ---> 0c060fd2c0c5 [2023-02-20T12:42:14.400Z] Step 24/25 : LABEL git_sha=6432efbc329d5bbc539d5cf228bb1b66a86daa3b [2023-02-20T12:42:14.400Z] ---> Running in e6e33eba3c35 [2023-02-20T12:42:14.686Z] Removing intermediate container e6e33eba3c35 [2023-02-20T12:42:14.686Z] ---> c477f96f401a [2023-02-20T12:42:14.686Z] Step 25/25 : LABEL version=0.0.0 [2023-02-20T12:42:14.686Z] ---> Running in 11bc24bf12de [2023-02-20T12:42:14.953Z] Removing intermediate container 11bc24bf12de [2023-02-20T12:42:14.953Z] ---> ee5dec3ad67a [2023-02-20T12:42:14.953Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T12:42:15.220Z] Successfully built ee5dec3ad67a [2023-02-20T12:42:15.220Z] 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-20T12:42:16.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T12:42:16.002Z] [2023-02-20T12:42:16.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:42:16.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T12:42:17.360Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-20T12:42:17.360Z] 8998bd30e6a1: Pulling fs layer [2023-02-20T12:42:17.360Z] 04944245beec: Pulling fs layer [2023-02-20T12:42:17.360Z] 699f458cf7ca: Pulling fs layer [2023-02-20T12:42:17.360Z] 765212b225bb: Pulling fs layer [2023-02-20T12:42:17.360Z] f23df028b6ca: Pulling fs layer [2023-02-20T12:42:17.360Z] d65c8cfc05b1: Pulling fs layer [2023-02-20T12:42:17.360Z] 2437ff75d9bd: Pulling fs layer [2023-02-20T12:42:17.360Z] 765212b225bb: Waiting [2023-02-20T12:42:17.360Z] f23df028b6ca: Waiting [2023-02-20T12:42:17.360Z] d65c8cfc05b1: Waiting [2023-02-20T12:42:17.360Z] 2437ff75d9bd: Waiting [2023-02-20T12:42:17.360Z] 04944245beec: Verifying Checksum [2023-02-20T12:42:17.360Z] 04944245beec: Download complete [2023-02-20T12:42:17.360Z] 765212b225bb: Verifying Checksum [2023-02-20T12:42:17.360Z] 765212b225bb: Download complete [2023-02-20T12:42:17.360Z] f23df028b6ca: Download complete [2023-02-20T12:42:17.360Z] d65c8cfc05b1: Verifying Checksum [2023-02-20T12:42:17.360Z] d65c8cfc05b1: Download complete [2023-02-20T12:42:17.633Z] 699f458cf7ca: Verifying Checksum [2023-02-20T12:42:17.633Z] 699f458cf7ca: Download complete [2023-02-20T12:42:17.900Z] 8998bd30e6a1: Verifying Checksum [2023-02-20T12:42:17.900Z] 8998bd30e6a1: Download complete [2023-02-20T12:42:19.838Z] 2437ff75d9bd: Verifying Checksum [2023-02-20T12:42:21.803Z] 8998bd30e6a1: Pull complete [2023-02-20T12:42:22.387Z] 04944245beec: Pull complete [2023-02-20T12:42:23.799Z] 699f458cf7ca: Pull complete [2023-02-20T12:42:23.799Z] 765212b225bb: Pull complete [2023-02-20T12:42:24.769Z] f23df028b6ca: Pull complete [2023-02-20T12:42:25.038Z] d65c8cfc05b1: Pull complete [2023-02-20T12:42:40.053Z] 2437ff75d9bd: Pull complete [2023-02-20T12:42:40.053Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-20T12:42:40.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T12:42:40.053Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T12:42:40.463Z] prd-ubuntu20.04-docker-arm64-4c-16g-6733 does not seem to be running inside a container [2023-02-20T12:42:40.570Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-20T12:42:43.189Z] $ docker top 85c3d411df129fbdc549114f1b36d8b88a2b0a2addc06c2bc7ecdb444abd518b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:42:44.165Z] ---> job-cost.sh [2023-02-20T12:42:44.165Z] lf-activate-venv: SKIPPING [2023-02-20T12:42:44.165Z] INFO: No Stack... [2023-02-20T12:42:44.761Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-20T12:42:45.354Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T12:42:46.046Z] + cut -d, -f6 [2023-02-20T12:42:46.046Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2023-02-20T12:42:46.140Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-344-1-stack-cost] [2023-02-20T12:42:46.145Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-344-1-stack-cost] did not exist. Created. [2023-02-20T12:42:46.145Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-344-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T12:42:46.889Z] /w/workspace/device-virtual-go/1@tmp/durable-21aff4df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-20T12:42:47.574Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-20T12:42:47.612Z] Warning: overwriting stash ‘stack-cost’ [2023-02-20T12:42:47.657Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T12:42:47.672Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-344-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T12:42:47.762Z] $ docker stop --time=1 85c3d411df129fbdc549114f1b36d8b88a2b0a2addc06c2bc7ecdb444abd518b [2023-02-20T12:42:49.241Z] $ docker rm -f --volumes 85c3d411df129fbdc549114f1b36d8b88a2b0a2addc06c2bc7ecdb444abd518b [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-20T12:42:50.185Z] provisioning config files... [2023-02-20T12:42:50.194Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-344@tmp/config10003243991146275073tmp [Pipeline] { [Pipeline] sh [2023-02-20T12:42:50.529Z] + set +x [2023-02-20T12:42:50.529Z] + bash -s -- [2023-02-20T12:42:50.529Z] + curl -s https://codecov.io/bash [2023-02-20T12:42:50.529Z] [2023-02-20T12:42:50.529Z] _____ _ [2023-02-20T12:42:50.529Z] / ____| | | [2023-02-20T12:42:50.529Z] | | ___ __| | ___ ___ _____ __ [2023-02-20T12:42:50.529Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-20T12:42:50.529Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-20T12:42:50.529Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-20T12:42:50.529Z] Bash-1.0.6 [2023-02-20T12:42:50.529Z] [2023-02-20T12:42:50.529Z] [2023-02-20T12:42:50.529Z] ==> git version 2.25.1 found [2023-02-20T12:42:50.529Z] ==> 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-20T12:42:50.529Z] Release-Date: 2020-01-08 [2023-02-20T12:42:50.529Z] 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-20T12:42:50.529Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-20T12:42:50.529Z] ==> Jenkins CI detected. [2023-02-20T12:42:50.529Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-344 [2023-02-20T12:42:50.529Z] project root: . [2023-02-20T12:42:50.529Z] --> token set from env [2023-02-20T12:42:50.529Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-20T12:42:50.529Z] ==> Running gcov in . (disable via -X gcov) [2023-02-20T12:42:50.529Z] ==> Python coveragepy not found [2023-02-20T12:42:50.529Z] ==> Searching for coverage reports in: [2023-02-20T12:42:50.529Z] + . [2023-02-20T12:42:50.789Z] -> Found 1 reports [2023-02-20T12:42:50.789Z] ==> Detecting git/mercurial file structure [2023-02-20T12:42:50.789Z] ==> Reading reports [2023-02-20T12:42:50.789Z] + ./coverage.out bytes=44128 [2023-02-20T12:42:50.789Z] ==> Appending adjustments [2023-02-20T12:42:50.789Z] https://docs.codecov.io/docs/fixing-reports [2023-02-20T12:42:50.789Z] + Found adjustments [2023-02-20T12:42:50.789Z] ==> Gzipping contents [2023-02-20T12:42:50.789Z] 8.0K /tmp/codecov.oTpQml.gz [2023-02-20T12:42:50.789Z] ==> Uploading reports [2023-02-20T12:42:50.789Z] url: https://codecov.io [2023-02-20T12:42:50.789Z] query: branch=PR-344&commit=6432efbc329d5bbc539d5cf228bb1b66a86daa3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-344%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=344&job=&cmd_args= [2023-02-20T12:42:50.789Z] -> Pinging Codecov [2023-02-20T12:42:50.789Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-344&commit=6432efbc329d5bbc539d5cf228bb1b66a86daa3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-344%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=344&job=&cmd_args= [2023-02-20T12:42:51.049Z] -> Uploading to [2023-02-20T12:42:51.049Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-20/5E52B4B073DB2E39498172D8E973AA87/6432efbc329d5bbc539d5cf228bb1b66a86daa3b/62255d92-5a2c-4dd1-acdf-694f52b3892c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230220T124250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04653fc923affc5e1fc921a754c490f0be4d1b42c66e922b122c27809508d1da [2023-02-20T12:42:51.049Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T12:42:51.049Z] Dload Upload Total Spent Left Speed [2023-02-20T12:42:51.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5487 0 0 100 5487 0 18474 --:--:-- --:--:-- --:--:-- 18412 [2023-02-20T12:42:51.312Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/6432efbc329d5bbc539d5cf228bb1b66a86daa3b [Pipeline] } [2023-02-20T12:42:51.340Z] 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-20T12:42:53.084Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-344/archives ] [2023-02-20T12:42:53.084Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-344/archives [2023-02-20T12:42:53.084Z] total 16 [2023-02-20T12:42:53.084Z] drwxr-xr-x 3 root root 4096 Feb 20 12:36 . [2023-02-20T12:42:53.084Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 12:36 .. [2023-02-20T12:42:53.084Z] drwxr-xr-x 2 root root 4096 Feb 20 12:36 cost [2023-02-20T12:42:53.084Z] -rw-r--r-- 1 root root 89 Feb 20 12:36 cost.csv [2023-02-20T12:42:53.084Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-344/archives [2023-02-20T12:42:53.084Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-344/archives [2023-02-20T12:42:53.084Z] total 16 [2023-02-20T12:42:53.084Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 12:36 . [2023-02-20T12:42:53.084Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 12:36 .. [2023-02-20T12:42:53.084Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 12:36 cost [2023-02-20T12:42:53.084Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 20 12:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:42:53.427Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:42:54.318Z] ---> package-listing.sh [2023-02-20T12:42:54.318Z] ++ facter osfamily [2023-02-20T12:42:54.318Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-20T12:42:54.577Z] + OS_FAMILY=debian [2023-02-20T12:42:54.577Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-344 [2023-02-20T12:42:54.577Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-20T12:42:54.577Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-20T12:42:54.577Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-20T12:42:54.577Z] + PACKAGES=/tmp/packages_start.txt [2023-02-20T12:42:54.577Z] + '[' /w/workspace/foundry_device-virtual-go_PR-344 ']' [2023-02-20T12:42:54.577Z] + PACKAGES=/tmp/packages_end.txt [2023-02-20T12:42:54.577Z] + case "${OS_FAMILY}" in [2023-02-20T12:42:54.577Z] + dpkg -l [2023-02-20T12:42:54.577Z] + grep '^ii' [2023-02-20T12:42:54.577Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-20T12:42:54.577Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-20T12:42:54.577Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-20T12:42:54.577Z] + '[' /w/workspace/foundry_device-virtual-go_PR-344 ']' [2023-02-20T12:42:54.577Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-344/archives/ [2023-02-20T12:42:54.577Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-344/archives/ [Pipeline] echo [2023-02-20T12:42:54.613Z] 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-344/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-20T12:42:54.907Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T12:42:55.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T12:42:55.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T12:42:55.681Z] prd-ubuntu20.04-docker-8c-8g-6732 does not seem to be running inside a container [2023-02-20T12:42:55.715Z] $ 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-344/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-344 -v /w/workspace/foundry_device-virtual-go_PR-344:/w/workspace/foundry_device-virtual-go_PR-344:rw,z -v /w/workspace/foundry_device-virtual-go_PR-344@tmp:/w/workspace/foundry_device-virtual-go_PR-344@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-20T12:42:56.092Z] $ docker top a69b24b5e59046c98564faa3ee6e02a08a7d15812e4767e4ea251e82be3442c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T12:42:56.479Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-20T12:42:56.792Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-20T12:42:57.098Z] + ls /var/log/sa-host [2023-02-20T12:42:57.098Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T12:42:57.297Z] provisioning config files... [2023-02-20T12:42:57.307Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-344@tmp/config4914511360411877088tmp [Pipeline] { [Pipeline] echo [2023-02-20T12:42:57.359Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:42:57.668Z] ---> create-netrc.sh [Pipeline] } [2023-02-20T12:42:57.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:42:58.113Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-20T12:42:58.148Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:42:58.467Z] ---> sudo-logs.sh [2023-02-20T12:42:58.467Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-20T12:42:58.546Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:42:58.861Z] ---> job-cost.sh [2023-02-20T12:42:58.861Z] lf-activate-venv: SKIPPING [2023-02-20T12:42:58.861Z] DEBUG: total: 0.2199999988079071 [2023-02-20T12:42:58.861Z] INFO: Retrieving Stack Cost... [2023-02-20T12:42:59.800Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T12:43:00.059Z] INFO: Archiving Costs [Pipeline] echo [2023-02-20T12:43:00.101Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T12:43:00.425Z] ---> logs-deploy.sh [2023-02-20T12:43:00.425Z] lf-activate-venv: SKIPPING [2023-02-20T12:43:00.425Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-344/1 [2023-02-20T12:43:00.425Z] INFO: archiving workspace using pattern(s): [2023-02-20T12:43:01.367Z] Archives upload complete. [2023-02-20T12:43:01.629Z] INFO: archiving logs to Nexus