Pull request #399 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 81c3d8df6e6916a21c685b3cf20bca39d3871f6d rather than a323398b570b4605ef02cb66b6ed5c65d654fcbc Obtained Jenkinsfile from 81c3d8df6e6916a21c685b3cf20bca39d3871f6d 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-ssh5937274123703752434.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh16366422611436912529.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-399/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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11786626110017941160.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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13647895688386165676.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh439162289301326476.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-399/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-399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3279877550247318632.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14443 in /w/workspace/foundry_device-virtual-go_PR-399 [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-399 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Merging remotes/origin/main commit 81c3d8df6e6916a21c685b3cf20bca39d3871f6d into PR head commit a323398b570b4605ef02cb66b6ed5c65d654fcbc Merge succeeded, producing a323398b570b4605ef02cb66b6ed5c65d654fcbc Checking out Revision a323398b570b4605ef02cb66b6ed5c65d654fcbc (PR-399) 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/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a323398b570b4605ef02cb66b6ed5c65d654fcbc # 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 81c3d8df6e6916a21c685b3cf20bca39d3871f6d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a323398b570b4605ef02cb66b6ed5c65d654fcbc # timeout=10 Commit message: "build: Ignore all go-mods except device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T04:32:13.410Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T04:32:13.587Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T04:32:13.687Z] ========================================================= [2023-05-08T04:32:13.687Z] EdgeX Global Pipelines Version Info [2023-05-08T04:32:13.687Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:32:14.420Z] ------------------- [2023-05-08T04:32:14.420Z] stable info: [2023-05-08T04:32:14.420Z] ------------------- [2023-05-08T04:32:14.420Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T04:32:14.420Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T04:32:14.420Z] Message: update stable to v1.0.249 [2023-05-08T04:32:14.990Z] ------------------- [2023-05-08T04:32:14.990Z] experimental info: [2023-05-08T04:32:14.990Z] ------------------- [2023-05-08T04:32:14.990Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T04:32:14.990Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T04:32:14.990Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T04:32:15.309Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-05-08T04:32:15.353Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-05-08T04:32:15.396Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T04:32:15.441Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T04:32:15.486Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T04:32:15.532Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T04:32:15.574Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T04:32:15.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-08T04:32:15.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T04:32:15.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T04:32:15.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T04:32:15.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-05-08T04:32:15.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T04:32:15.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T04:32:15.921Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T04:32:15.958Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T04:32:16.001Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T04:32:16.040Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T04:32:16.081Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T04:32:16.124Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T04:32:16.180Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-08T04:32:16.220Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-08T04:32:16.265Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T04:32:16.307Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T04:32:16.348Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T04:32:16.390Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T04:32:16.431Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T04:32:16.469Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-399 [Pipeline] echo [2023-05-08T04:32:16.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-399 [Pipeline] echo [2023-05-08T04:32:16.540Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-399 [Pipeline] echo [2023-05-08T04:32:16.580Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a323398b570b4605ef02cb66b6ed5c65d654fcbc [Pipeline] echo [2023-05-08T04:32:16.625Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a323398 [Pipeline] echo [2023-05-08T04:32:16.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T04:32:16.785Z] provisioning config files... [2023-05-08T04:32:16.800Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-399@tmp/config5186221303587340911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:32:17.149Z] ---> docker-login.sh [2023-05-08T04:32:17.149Z] nexus3.edgexfoundry.org:10001 [2023-05-08T04:32:17.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:32:17.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:32:17.408Z] Configure a credential helper to remove this warning. See [2023-05-08T04:32:17.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:32:17.408Z] [2023-05-08T04:32:17.408Z] Login Succeeded [2023-05-08T04:32:17.408Z] nexus3.edgexfoundry.org:10002 [2023-05-08T04:32:17.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:32:17.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:32:17.669Z] Configure a credential helper to remove this warning. See [2023-05-08T04:32:17.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:32:17.669Z] [2023-05-08T04:32:17.669Z] Login Succeeded [2023-05-08T04:32:17.669Z] nexus3.edgexfoundry.org:10003 [2023-05-08T04:32:17.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:32:17.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:32:17.669Z] Configure a credential helper to remove this warning. See [2023-05-08T04:32:17.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:32:17.669Z] [2023-05-08T04:32:17.669Z] Login Succeeded [2023-05-08T04:32:17.669Z] nexus3.edgexfoundry.org:10004 [2023-05-08T04:32:17.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:32:17.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:32:17.669Z] Configure a credential helper to remove this warning. See [2023-05-08T04:32:17.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:32:17.669Z] [2023-05-08T04:32:17.669Z] Login Succeeded [2023-05-08T04:32:17.669Z] docker.io [2023-05-08T04:32:17.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:32:18.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:32:18.191Z] Configure a credential helper to remove this warning. See [2023-05-08T04:32:18.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:32:18.191Z] [2023-05-08T04:32:18.191Z] Login Succeeded [2023-05-08T04:32:18.191Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T04:32:18.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T04:32:18.859Z] + git rev-list -1 --merges a323398b570b4605ef02cb66b6ed5c65d654fcbc~1..a323398b570b4605ef02cb66b6ed5c65d654fcbc [Pipeline] echo [2023-05-08T04:32:18.924Z] -----------> git rev-list -1 --merges a323398b570b4605ef02cb66b6ed5c65d654fcbc~1..a323398b570b4605ef02cb66b6ed5c65d654fcbc a323398b570b4605ef02cb66b6ed5c65d654fcbc [false] [Pipeline] sh [2023-05-08T04:32:19.279Z] + git log --format=format:%s -1 a323398b570b4605ef02cb66b6ed5c65d654fcbc [Pipeline] echo [2023-05-08T04:32:19.323Z] ========================================================= [2023-05-08T04:32:19.323Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T04:32:19.323Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T04:32:19.826Z] + git log --format=format:%s -1 a323398b570b4605ef02cb66b6ed5c65d654fcbc [Pipeline] echo [2023-05-08T04:32:19.867Z] [semverPrep] GIT_COMMIT: a323398b570b4605ef02cb66b6ed5c65d654fcbc, Commit Message: build: Ignore all go-mods except device-sdk-go [Pipeline] echo [2023-05-08T04:32:19.901Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T04:32:20.281Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T04:32:20.282Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T04:32:20.282Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T04:32:20.282Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T04:32:20.282Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T04:32:20.282Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T04:32:20.282Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:32:20.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T04:32:20.703Z] [2023-05-08T04:32:20.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:32:21.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T04:32:21.081Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T04:32:21.081Z] b85a868b505f: Pulling fs layer [2023-05-08T04:32:21.081Z] e2be974225ed: Pulling fs layer [2023-05-08T04:32:21.081Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T04:32:21.081Z] 988bab9f4d93: Pulling fs layer [2023-05-08T04:32:21.081Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T04:32:21.081Z] eaf3925da568: Pulling fs layer [2023-05-08T04:32:21.081Z] bab4dde63d76: Pulling fs layer [2023-05-08T04:32:21.081Z] bde34c3a00c8: Pulling fs layer [2023-05-08T04:32:21.081Z] b352a97aabf1: Pulling fs layer [2023-05-08T04:32:21.081Z] 4872d77fe225: Pulling fs layer [2023-05-08T04:32:21.081Z] 5851b861e8e6: Pulling fs layer [2023-05-08T04:32:21.081Z] b352a97aabf1: Waiting [2023-05-08T04:32:21.081Z] bab4dde63d76: Waiting [2023-05-08T04:32:21.081Z] 988bab9f4d93: Waiting [2023-05-08T04:32:21.081Z] bde34c3a00c8: Waiting [2023-05-08T04:32:21.081Z] 4872d77fe225: Waiting [2023-05-08T04:32:21.081Z] 5851b861e8e6: Waiting [2023-05-08T04:32:21.081Z] eaf3925da568: Waiting [2023-05-08T04:32:21.081Z] 1469e6f7b9e6: Waiting [2023-05-08T04:32:21.081Z] e2be974225ed: Verifying Checksum [2023-05-08T04:32:21.081Z] e2be974225ed: Download complete [2023-05-08T04:32:21.081Z] 988bab9f4d93: Verifying Checksum [2023-05-08T04:32:21.081Z] 988bab9f4d93: Download complete [2023-05-08T04:32:21.081Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T04:32:21.081Z] 339a4e72a1f5: Download complete [2023-05-08T04:32:21.081Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T04:32:21.081Z] 1469e6f7b9e6: Download complete [2023-05-08T04:32:21.343Z] eaf3925da568: Verifying Checksum [2023-05-08T04:32:21.343Z] eaf3925da568: Download complete [2023-05-08T04:32:21.343Z] bde34c3a00c8: Download complete [2023-05-08T04:32:21.343Z] b352a97aabf1: Verifying Checksum [2023-05-08T04:32:21.343Z] b352a97aabf1: Download complete [2023-05-08T04:32:21.343Z] 4872d77fe225: Download complete [2023-05-08T04:32:21.343Z] 5851b861e8e6: Verifying Checksum [2023-05-08T04:32:21.343Z] 5851b861e8e6: Download complete [2023-05-08T04:32:21.343Z] b85a868b505f: Verifying Checksum [2023-05-08T04:32:21.343Z] b85a868b505f: Download complete [2023-05-08T04:32:21.602Z] bab4dde63d76: Verifying Checksum [2023-05-08T04:32:21.602Z] bab4dde63d76: Download complete [2023-05-08T04:32:22.539Z] b85a868b505f: Pull complete [2023-05-08T04:32:22.539Z] e2be974225ed: Pull complete [2023-05-08T04:32:23.106Z] 339a4e72a1f5: Pull complete [2023-05-08T04:32:23.106Z] 988bab9f4d93: Pull complete [2023-05-08T04:32:23.365Z] 1469e6f7b9e6: Pull complete [2023-05-08T04:32:23.625Z] eaf3925da568: Pull complete [2023-05-08T04:32:25.526Z] bab4dde63d76: Pull complete [2023-05-08T04:32:25.526Z] bde34c3a00c8: Pull complete [2023-05-08T04:32:25.526Z] b352a97aabf1: Pull complete [2023-05-08T04:32:25.785Z] 4872d77fe225: Pull complete [2023-05-08T04:32:25.785Z] 5851b861e8e6: Pull complete [2023-05-08T04:32:25.785Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T04:32:25.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T04:32:25.785Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:32:26.023Z] prd-ubuntu20.04-docker-8c-8g-14443 does not seem to be running inside a container [2023-05-08T04:32:26.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-399 -v /w/workspace/foundry_device-virtual-go_PR-399:/w/workspace/foundry_device-virtual-go_PR-399:rw,z -v /w/workspace/foundry_device-virtual-go_PR-399@tmp:/w/workspace/foundry_device-virtual-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T04:32:28.795Z] $ docker top 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa -eo pid,comm [2023-05-08T04:32:28.853Z] 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-05-08T04:32:28.853Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T04:32:28.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T04:32:28.979Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T04:32:29.103Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T04:32:29.110Z] $ docker exec 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa ssh-agent [2023-05-08T04:32:29.230Z] SSH_AUTH_SOCK=/tmp/ssh-GCaO4DW1aDck/agent.32 [2023-05-08T04:32:29.230Z] SSH_AGENT_PID=38 [2023-05-08T04:32:29.237Z] Running ssh-add (command line suppressed) [2023-05-08T04:32:29.351Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-399@tmp/private_key_8347741205687973207.key (/w/workspace/foundry_device-virtual-go_PR-399@tmp/private_key_8347741205687973207.key) [2023-05-08T04:32:29.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T04:32:29.698Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T04:32:29.731Z] $ docker exec --env ******** --env ******** 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa ssh-agent -k [2023-05-08T04:32:29.832Z] unset SSH_AUTH_SOCK; [2023-05-08T04:32:29.833Z] unset SSH_AGENT_PID; [2023-05-08T04:32:29.833Z] echo Agent pid 38 killed; [2023-05-08T04:32:29.843Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T04:32:29.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T04:32:29.941Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T04:32:30.062Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T04:32:30.069Z] $ docker exec 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa ssh-agent [2023-05-08T04:32:30.195Z] SSH_AUTH_SOCK=/tmp/ssh-rtbRAHesg1zt/agent.70 [2023-05-08T04:32:30.195Z] SSH_AGENT_PID=76 [2023-05-08T04:32:30.200Z] Running ssh-add (command line suppressed) [2023-05-08T04:32:30.315Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-399@tmp/private_key_156808903300357946.key (/w/workspace/foundry_device-virtual-go_PR-399@tmp/private_key_156808903300357946.key) [2023-05-08T04:32:30.328Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T04:32:30.666Z] + git semver init [2023-05-08T04:32:30.928Z] 2023-05-08 04:32:30,856 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T04:32:30.928Z] 2023-05-08 04:32:30,857 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-399/.semver [2023-05-08T04:32:30.928Z] 2023-05-08 04:32:30,857 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-399/.semver [2023-05-08T04:32:30.928Z] 2023-05-08 04:32:30,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-399/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-399, universal_newlines=False, shell=None, istream=None) [2023-05-08T04:32:32.312Z] 2023-05-08 04:32:32,064 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-399/.git/info/exclude [2023-05-08T04:32:32.313Z] 2023-05-08 04:32:32,064 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-399/.semver/PR-399 with force:False [2023-05-08T04:32:32.313Z] 2023-05-08 04:32:32,065 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-399/.semver/PR-399 [2023-05-08T04:32:32.313Z] 2023-05-08 04:32:32,069 [execute] INFO git cat-file --batch-check [2023-05-08T04:32:32.313Z] 2023-05-08 04:32:32,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T04:32:32.313Z] 2023-05-08 04:32:32,075 [execute] INFO git cat-file --batch [2023-05-08T04:32:32.313Z] 2023-05-08 04:32:32,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T04:32:32.313Z] 2023-05-08 04:32:32,081 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-399/.semver/PR-399 [2023-05-08T04:32:32.313Z] 0.0.0 [Pipeline] } [2023-05-08T04:32:32.409Z] $ docker exec --env ******** --env ******** 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa ssh-agent -k [2023-05-08T04:32:32.509Z] unset SSH_AUTH_SOCK; [2023-05-08T04:32:32.510Z] unset SSH_AGENT_PID; [2023-05-08T04:32:32.510Z] echo Agent pid 76 killed; [2023-05-08T04:32:32.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T04:32:32.968Z] + git semver [Pipeline] } [2023-05-08T04:32:33.259Z] $ docker stop --time=1 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa [2023-05-08T04:32:34.541Z] $ docker rm -f --volumes 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T04:32:34.942Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T04:32:35.232Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T04:32:35.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-05-08T04:32:35.839Z] provisioning config files... [2023-05-08T04:32:35.850Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-399@tmp/config9381704702782880964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:32:36.210Z] ---> docker-login.sh [2023-05-08T04:32:36.210Z] nexus3.edgexfoundry.org:10001 [2023-05-08T04:32:36.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:32:36.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:32:36.210Z] Configure a credential helper to remove this warning. See [2023-05-08T04:32:36.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:32:36.210Z] [2023-05-08T04:32:36.210Z] Login Succeeded [2023-05-08T04:32:36.210Z] nexus3.edgexfoundry.org:10002 [2023-05-08T04:32:36.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:32:36.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:32:36.210Z] Configure a credential helper to remove this warning. See [2023-05-08T04:32:36.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:32:36.210Z] [2023-05-08T04:32:36.210Z] Login Succeeded [2023-05-08T04:32:36.210Z] nexus3.edgexfoundry.org:10003 [2023-05-08T04:32:36.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:32:36.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:32:36.471Z] Configure a credential helper to remove this warning. See [2023-05-08T04:32:36.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:32:36.471Z] [2023-05-08T04:32:36.471Z] Login Succeeded [2023-05-08T04:32:36.471Z] nexus3.edgexfoundry.org:10004 [2023-05-08T04:32:36.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:32:36.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:32:36.471Z] Configure a credential helper to remove this warning. See [2023-05-08T04:32:36.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:32:36.471Z] [2023-05-08T04:32:36.471Z] Login Succeeded [2023-05-08T04:32:36.471Z] docker.io [2023-05-08T04:32:36.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:32:36.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:32:36.990Z] Configure a credential helper to remove this warning. See [2023-05-08T04:32:36.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:32:36.991Z] [2023-05-08T04:32:36.991Z] Login Succeeded [2023-05-08T04:32:36.991Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T04:32:37.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T04:32:37.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T04:32:37.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T04:32:37.298Z] ========================================================= [2023-05-08T04:32:37.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T04:32:37.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:32:37.816Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T04:32:37.816Z] Sending build context to Docker daemon 23.61MB [2023-05-08T04:32:37.816Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T04:32:37.816Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-08T04:32:38.075Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T04:32:38.075Z] f56be85fc22e: Pulling fs layer [2023-05-08T04:32:38.075Z] 85791d961cd3: Pulling fs layer [2023-05-08T04:32:38.075Z] d694b5ae8c79: Pulling fs layer [2023-05-08T04:32:38.075Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T04:32:38.075Z] 4d19c01a9841: Pulling fs layer [2023-05-08T04:32:38.075Z] 9325e15d5711: Pulling fs layer [2023-05-08T04:32:38.075Z] 556b6ee489ea: Pulling fs layer [2023-05-08T04:32:38.075Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T04:32:38.075Z] 9325e15d5711: Waiting [2023-05-08T04:32:38.075Z] c5a4b2cf53e6: Waiting [2023-05-08T04:32:38.075Z] 556b6ee489ea: Waiting [2023-05-08T04:32:38.075Z] 9f32a84ed3da: Waiting [2023-05-08T04:32:38.075Z] 4d19c01a9841: Waiting [2023-05-08T04:32:38.075Z] 85791d961cd3: Download complete [2023-05-08T04:32:38.075Z] 9f32a84ed3da: Verifying Checksum [2023-05-08T04:32:38.075Z] 9f32a84ed3da: Download complete [2023-05-08T04:32:38.075Z] 4d19c01a9841: Verifying Checksum [2023-05-08T04:32:38.075Z] 4d19c01a9841: Download complete [2023-05-08T04:32:38.075Z] f56be85fc22e: Verifying Checksum [2023-05-08T04:32:38.075Z] f56be85fc22e: Download complete [2023-05-08T04:32:38.075Z] 9325e15d5711: Verifying Checksum [2023-05-08T04:32:38.075Z] 9325e15d5711: Download complete [2023-05-08T04:32:38.075Z] f56be85fc22e: Pull complete [2023-05-08T04:32:38.336Z] 85791d961cd3: Pull complete [2023-05-08T04:32:38.595Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T04:32:38.595Z] c5a4b2cf53e6: Download complete [2023-05-08T04:32:38.595Z] d694b5ae8c79: Download complete [2023-05-08T04:32:38.853Z] 556b6ee489ea: Verifying Checksum [2023-05-08T04:32:38.853Z] 556b6ee489ea: Download complete [2023-05-08T04:32:42.146Z] d694b5ae8c79: Pull complete [2023-05-08T04:32:42.146Z] 9f32a84ed3da: Pull complete [2023-05-08T04:32:42.146Z] 4d19c01a9841: Pull complete [2023-05-08T04:32:42.146Z] 9325e15d5711: Pull complete [2023-05-08T04:32:44.679Z] 556b6ee489ea: Pull complete [2023-05-08T04:32:45.616Z] c5a4b2cf53e6: Pull complete [2023-05-08T04:32:45.616Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T04:32:45.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T04:32:45.616Z] ---> c4be618373d6 [2023-05-08T04:32:45.616Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T04:32:50.657Z] Still waiting to schedule task [2023-05-08T04:32:50.658Z] ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-08T04:32:50.658Z] ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-08T04:32:50.658Z] ‘prd-ubuntu20.04-docker-8c-8g-14435’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-08T04:32:50.658Z] ‘prd-ubuntu20.04-docker-8c-8g-14445’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-08T04:32:50.658Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14437’ is offline [2023-05-08T04:32:50.658Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14444’ is offline [2023-05-08T04:32:50.894Z] ---> Running in 683be20b1e7e [2023-05-08T04:32:50.894Z] Removing intermediate container 683be20b1e7e [2023-05-08T04:32:50.894Z] ---> d012b1037c07 [2023-05-08T04:32:50.894Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T04:32:50.894Z] ---> Running in f86029b0de65 [2023-05-08T04:32:50.894Z] Removing intermediate container f86029b0de65 [2023-05-08T04:32:50.894Z] ---> 5a915468003e [2023-05-08T04:32:50.894Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-05-08T04:32:50.894Z] ---> Running in 7e2218ea01ea [2023-05-08T04:32:50.894Z] Removing intermediate container 7e2218ea01ea [2023-05-08T04:32:50.894Z] ---> 5fcced200fa8 [2023-05-08T04:32:50.894Z] Step 6/12 : WORKDIR /device-virtual-go [2023-05-08T04:32:50.894Z] ---> Running in 47117e4e9bdb [2023-05-08T04:32:50.894Z] Removing intermediate container 47117e4e9bdb [2023-05-08T04:32:50.894Z] ---> a1eee4d34afa [2023-05-08T04:32:50.894Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T04:32:50.894Z] ---> Running in de5edfbbc013 [2023-05-08T04:32:51.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T04:32:51.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T04:32:51.418Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-08T04:32:51.418Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-08T04:32:51.684Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-08T04:32:51.684Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-08T04:32:51.684Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T04:32:51.684Z] OK: 269 MiB in 57 packages [2023-05-08T04:32:52.276Z] Removing intermediate container de5edfbbc013 [2023-05-08T04:32:52.276Z] ---> 3ad5fa6bd651 [2023-05-08T04:32:52.276Z] Step 8/12 : COPY go.mod vendor* ./ [2023-05-08T04:32:52.276Z] ---> 4d8abc0e1527 [2023-05-08T04:32:52.276Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T04:32:52.276Z] ---> Running in 9128d271d34a [2023-05-08T04:33:18.871Z] Removing intermediate container 9128d271d34a [2023-05-08T04:33:18.871Z] ---> ae57eba3cea4 [2023-05-08T04:33:18.871Z] Step 10/12 : COPY . . [2023-05-08T04:33:18.871Z] ---> 62030c8c0790 [2023-05-08T04:33:18.871Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T04:33:18.871Z] ---> Running in 0a6190602fe8 [2023-05-08T04:33:18.871Z] Removing intermediate container 0a6190602fe8 [2023-05-08T04:33:18.871Z] ---> 7ea2a2f9c677 [2023-05-08T04:33:18.871Z] Step 12/12 : RUN $MAKE [2023-05-08T04:33:18.871Z] ---> Running in 537a2343e98d [2023-05-08T04:33:19.132Z] noop [2023-05-08T04:33:19.392Z] Removing intermediate container 537a2343e98d [2023-05-08T04:33:19.392Z] ---> c7b993141e45 [2023-05-08T04:33:19.392Z] Successfully built c7b993141e45 [2023-05-08T04:33:19.392Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:33:19.877Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T04:33:19.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:33:20.051Z] prd-ubuntu20.04-docker-8c-8g-14443 does not seem to be running inside a container [2023-05-08T04:33:20.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-399 -v /w/workspace/foundry_device-virtual-go_PR-399:/w/workspace/foundry_device-virtual-go_PR-399:rw,z -v /w/workspace/foundry_device-virtual-go_PR-399@tmp:/w/workspace/foundry_device-virtual-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T04:33:20.483Z] $ docker top 5c9efc0e62f06f46936fe4bd5996b5752f78645f933c8ecd66b4002faf691d27 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T04:33:20.869Z] + go version [2023-05-08T04:33:20.869Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T04:33:20.905Z] $ docker stop --time=1 5c9efc0e62f06f46936fe4bd5996b5752f78645f933c8ecd66b4002faf691d27 [2023-05-08T04:33:22.167Z] $ docker rm -f --volumes 5c9efc0e62f06f46936fe4bd5996b5752f78645f933c8ecd66b4002faf691d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:33:22.889Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T04:33:22.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:33:23.052Z] prd-ubuntu20.04-docker-8c-8g-14443 does not seem to be running inside a container [2023-05-08T04:33:23.088Z] $ 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-399 -v /w/workspace/foundry_device-virtual-go_PR-399:/w/workspace/foundry_device-virtual-go_PR-399:rw,z -v /w/workspace/foundry_device-virtual-go_PR-399@tmp:/w/workspace/foundry_device-virtual-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T04:33:23.431Z] $ docker top b6dd164b414112497af457a7f2d4bb383704770a6ca9ce177736284fdd8d83e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T04:33:23.838Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-399 [Pipeline] fileExists [Pipeline] sh [2023-05-08T04:33:24.202Z] + make test [2023-05-08T04:33:24.202Z] go test ./... -coverprofile=coverage.out [2023-05-08T04:33:29.475Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-05-08T04:33:37.580Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-05-08T04:33:37.580Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements [2023-05-08T04:33:44.139Z] go vet ./... [2023-05-08T04:33:47.652Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T04:33:47.652Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T04:33:47.652Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T04:33:47.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T04:33:47.727Z] $ docker stop --time=1 b6dd164b414112497af457a7f2d4bb383704770a6ca9ce177736284fdd8d83e0 [2023-05-08T04:33:50.674Z] $ docker rm -f --volumes b6dd164b414112497af457a7f2d4bb383704770a6ca9ce177736284fdd8d83e0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T04:33:51.206Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T04:33:51.277Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T04:33:51.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T04:33:52.216Z] + ls -al . [2023-05-08T04:33:52.216Z] total 192 [2023-05-08T04:33:52.216Z] drwxrwxr-x 9 jenkins jenkins 4096 May 8 04:33 . [2023-05-08T04:33:52.216Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:32 .. [2023-05-08T04:33:52.216Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:32 .git [2023-05-08T04:33:52.216Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:32 .github [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 337 May 8 04:32 .gitignore [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:32 .golangci.yml [2023-05-08T04:33:52.216Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:32 .semver [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 8652 May 8 04:32 Attribution.txt [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 11367 May 8 04:32 CHANGELOG.md [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 1646 May 8 04:32 Dockerfile [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:32 GOVERNANCE.md [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 660 May 8 04:32 Jenkinsfile [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:32 LICENSE [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 1696 May 8 04:32 Makefile [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 623 May 8 04:32 OWNERS.md [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 3578 May 8 04:32 README.md [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:32 VERSION [2023-05-08T04:33:52.216Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:32 bin [2023-05-08T04:33:52.216Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:32 cmd [2023-05-08T04:33:52.216Z] -rw-r--r-- 1 jenkins jenkins 43063 May 8 04:33 coverage.out [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 3209 May 8 04:32 go.mod [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 30994 May 8 04:32 go.sum [2023-05-08T04:33:52.216Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:32 internal [2023-05-08T04:33:52.216Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:32 snap [2023-05-08T04:33:52.216Z] -rw-rw-r-- 1 jenkins jenkins 235 May 8 04:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:33:52.608Z] + 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=a323398b570b4605ef02cb66b6ed5c65d654fcbc --label arch=amd64 --label version=0.0.0 . [2023-05-08T04:33:52.608Z] Sending build context to Docker daemon 23.66MB [2023-05-08T04:33:52.608Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T04:33:52.608Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-08T04:33:52.608Z] ---> c7b993141e45 [2023-05-08T04:33:52.608Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T04:33:52.869Z] ---> Running in 2d9907b1827d [2023-05-08T04:33:53.131Z] Removing intermediate container 2d9907b1827d [2023-05-08T04:33:53.131Z] ---> 48b15ee87abb [2023-05-08T04:33:53.131Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T04:33:53.131Z] ---> Running in 7570e62dbbb1 [2023-05-08T04:33:53.131Z] Removing intermediate container 7570e62dbbb1 [2023-05-08T04:33:53.131Z] ---> 342f5d2b4779 [2023-05-08T04:33:53.131Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-05-08T04:33:53.131Z] ---> Running in 3aa55b7a2485 [2023-05-08T04:33:53.131Z] Removing intermediate container 3aa55b7a2485 [2023-05-08T04:33:53.131Z] ---> f5588230782b [2023-05-08T04:33:53.131Z] Step 6/25 : WORKDIR /device-virtual-go [2023-05-08T04:33:53.131Z] ---> Running in 86077ae572c4 [2023-05-08T04:33:53.400Z] Removing intermediate container 86077ae572c4 [2023-05-08T04:33:53.400Z] ---> b12370fe1852 [2023-05-08T04:33:53.400Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T04:33:53.400Z] ---> Running in 63fc9566b0dc [2023-05-08T04:33:53.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T04:33:53.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T04:33:53.918Z] OK: 269 MiB in 57 packages [2023-05-08T04:33:54.179Z] Removing intermediate container 63fc9566b0dc [2023-05-08T04:33:54.179Z] ---> 7d2503c4c82d [2023-05-08T04:33:54.179Z] Step 8/25 : COPY go.mod vendor* ./ [2023-05-08T04:33:54.179Z] ---> 2aae4a0860b5 [2023-05-08T04:33:54.179Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T04:33:54.446Z] ---> Running in 9180e3ae84e4 [2023-05-08T04:33:55.013Z] Removing intermediate container 9180e3ae84e4 [2023-05-08T04:33:55.013Z] ---> 8f41de521238 [2023-05-08T04:33:55.013Z] Step 10/25 : COPY . . [2023-05-08T04:33:55.952Z] ---> 2895fc295a1c [2023-05-08T04:33:55.952Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T04:33:55.952Z] ---> Running in 589e3ab52335 [2023-05-08T04:33:55.952Z] Removing intermediate container 589e3ab52335 [2023-05-08T04:33:55.952Z] ---> 4f216ce868ac [2023-05-08T04:33:55.952Z] Step 12/25 : RUN $MAKE [2023-05-08T04:33:55.952Z] ---> Running in 15f9908616e8 [2023-05-08T04:33:56.211Z] 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-05-08T04:34:14.329Z] Removing intermediate container 15f9908616e8 [2023-05-08T04:34:14.329Z] ---> 7715f5bedb31 [2023-05-08T04:34:14.329Z] Step 13/25 : FROM alpine:3.17 [2023-05-08T04:34:14.899Z] 3.17: Pulling from library/alpine [2023-05-08T04:34:14.899Z] f56be85fc22e: Already exists [2023-05-08T04:34:14.899Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T04:34:15.157Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T04:34:15.157Z] ---> 9ed4aefc74f6 [2023-05-08T04:34:15.157Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-05-08T04:34:15.157Z] ---> Running in 367c89c1ee4e [2023-05-08T04:34:15.157Z] Removing intermediate container 367c89c1ee4e [2023-05-08T04:34:15.157Z] ---> e8c1b963e0ac [2023-05-08T04:34:15.157Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-05-08T04:34:15.157Z] ---> Running in 2f0797f99063 [2023-05-08T04:34:15.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T04:34:15.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T04:34:15.676Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-08T04:34:15.676Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T04:34:15.676Z] OK: 7 MiB in 16 packages [2023-05-08T04:34:16.246Z] Removing intermediate container 2f0797f99063 [2023-05-08T04:34:16.246Z] ---> 082085741ae6 [2023-05-08T04:34:16.246Z] Step 16/25 : WORKDIR / [2023-05-08T04:34:16.246Z] ---> Running in 7414d2c336e6 [2023-05-08T04:34:16.246Z] Removing intermediate container 7414d2c336e6 [2023-05-08T04:34:16.246Z] ---> fdabdbc29600 [2023-05-08T04:34:16.246Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-05-08T04:34:16.505Z] ---> cd1bf2ee9fe7 [2023-05-08T04:34:16.505Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-05-08T04:34:16.505Z] ---> 03a03f3e4551 [2023-05-08T04:34:16.505Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-05-08T04:34:17.439Z] ---> 8a664a934b74 [2023-05-08T04:34:17.439Z] Step 20/25 : EXPOSE 59900 [2023-05-08T04:34:17.439Z] ---> Running in 5f9bde516857 [2023-05-08T04:34:17.439Z] Removing intermediate container 5f9bde516857 [2023-05-08T04:34:17.439Z] ---> 101fc362de16 [2023-05-08T04:34:17.439Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-05-08T04:34:17.439Z] ---> Running in f81b2a3c9eb1 [2023-05-08T04:34:17.439Z] Removing intermediate container f81b2a3c9eb1 [2023-05-08T04:34:17.439Z] ---> 1ef52ab3c5ea [2023-05-08T04:34:17.439Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T04:34:17.439Z] ---> Running in c551c07b2ccd [2023-05-08T04:34:17.699Z] Removing intermediate container c551c07b2ccd [2023-05-08T04:34:17.699Z] ---> 7ae3f8c0fd4e [2023-05-08T04:34:17.699Z] Step 23/25 : LABEL arch=amd64 [2023-05-08T04:34:17.699Z] ---> Running in 624de6d6ef4d [2023-05-08T04:34:17.699Z] Removing intermediate container 624de6d6ef4d [2023-05-08T04:34:17.699Z] ---> 30c1989f20d6 [2023-05-08T04:34:17.699Z] Step 24/25 : LABEL git_sha=a323398b570b4605ef02cb66b6ed5c65d654fcbc [2023-05-08T04:34:17.699Z] ---> Running in 46679b2964a5 [2023-05-08T04:34:17.699Z] Removing intermediate container 46679b2964a5 [2023-05-08T04:34:17.699Z] ---> 3070a481c5c9 [2023-05-08T04:34:17.699Z] Step 25/25 : LABEL version=0.0.0 [2023-05-08T04:34:17.699Z] ---> Running in eb34ef86ba2b [2023-05-08T04:34:17.958Z] Removing intermediate container eb34ef86ba2b [2023-05-08T04:34:17.958Z] ---> 62220985dfa7 [2023-05-08T04:34:17.958Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T04:34:17.958Z] Successfully built 62220985dfa7 [2023-05-08T04:34:17.958Z] 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-05-08T04:34:18.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T04:34:18.908Z] [2023-05-08T04:34:18.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:34:19.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T04:34:19.294Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T04:34:19.294Z] 5eb5b503b376: Pulling fs layer [2023-05-08T04:34:19.294Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T04:34:19.294Z] ec43610c2a17: Pulling fs layer [2023-05-08T04:34:19.294Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T04:34:19.294Z] 33b1e0a273af: Pulling fs layer [2023-05-08T04:34:19.294Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T04:34:19.294Z] 2f39f015ded8: Pulling fs layer [2023-05-08T04:34:19.294Z] 33b1e0a273af: Waiting [2023-05-08T04:34:19.294Z] 5d3b04190fa2: Waiting [2023-05-08T04:34:19.294Z] 3a2ae6a8a46f: Waiting [2023-05-08T04:34:19.294Z] 2f39f015ded8: Waiting [2023-05-08T04:34:19.294Z] 5c69ac0246d0: Download complete [2023-05-08T04:34:19.294Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T04:34:19.294Z] 3a2ae6a8a46f: Download complete [2023-05-08T04:34:19.294Z] 33b1e0a273af: Verifying Checksum [2023-05-08T04:34:19.294Z] 33b1e0a273af: Download complete [2023-05-08T04:34:19.294Z] ec43610c2a17: Verifying Checksum [2023-05-08T04:34:19.294Z] ec43610c2a17: Download complete [2023-05-08T04:34:19.294Z] 5d3b04190fa2: Download complete [2023-05-08T04:34:19.554Z] 5eb5b503b376: Verifying Checksum [2023-05-08T04:34:19.554Z] 5eb5b503b376: Download complete [2023-05-08T04:34:20.118Z] 2f39f015ded8: Verifying Checksum [2023-05-08T04:34:20.119Z] 2f39f015ded8: Download complete [2023-05-08T04:34:20.685Z] 5eb5b503b376: Pull complete [2023-05-08T04:34:20.685Z] 5c69ac0246d0: Pull complete [2023-05-08T04:34:21.252Z] ec43610c2a17: Pull complete [2023-05-08T04:34:21.252Z] 3a2ae6a8a46f: Pull complete [2023-05-08T04:34:21.525Z] 33b1e0a273af: Pull complete [2023-05-08T04:34:21.525Z] 5d3b04190fa2: Pull complete [2023-05-08T04:34:26.828Z] 2f39f015ded8: Pull complete [2023-05-08T04:34:26.828Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T04:34:26.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T04:34:26.828Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:34:27.054Z] prd-ubuntu20.04-docker-8c-8g-14443 does not seem to be running inside a container [2023-05-08T04:34:27.083Z] $ 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-399 -v /w/workspace/foundry_device-virtual-go_PR-399:/w/workspace/foundry_device-virtual-go_PR-399:rw,z -v /w/workspace/foundry_device-virtual-go_PR-399@tmp:/w/workspace/foundry_device-virtual-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T04:34:30.895Z] $ docker top a8f7affabf69ca93be0ee1a4c86a09969517f67eaf1e6bb7d22fbee498eb1926 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:34:31.329Z] ---> job-cost.sh [2023-05-08T04:34:31.329Z] lf-activate-venv: SKIPPING [2023-05-08T04:34:31.329Z] INFO: No Stack... [2023-05-08T04:34:31.588Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T04:34:32.157Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T04:34:32.476Z] + cat /w/workspace/foundry_device-virtual-go_PR-399/archives/cost.csv [2023-05-08T04:34:32.476Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T04:34:32.524Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] [2023-05-08T04:34:32.531Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] did not exist. Created. [2023-05-08T04:34:32.531Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T04:34:32.925Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T04:34:32.977Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T04:34:33.007Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T04:34:33.097Z] $ docker stop --time=1 a8f7affabf69ca93be0ee1a4c86a09969517f67eaf1e6bb7d22fbee498eb1926 [2023-05-08T04:34:34.238Z] $ docker rm -f --volumes a8f7affabf69ca93be0ee1a4c86a09969517f67eaf1e6bb7d22fbee498eb1926 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T04:35:36.915Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14447 in /w/workspace/foundry_device-virtual-go_PR-399 [Pipeline] { [Pipeline] ws [2023-05-08T04:35:36.974Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-05-08T04:35:37.062Z] The recommended git tool is: git [2023-05-08T04:35:43.923Z] using credential edgex-jenkins-ssh [2023-05-08T04:35:43.950Z] Cloning the remote Git repository [2023-05-08T04:35:44.007Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-05-08T04:35:44.128Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-05-08T04:35:44.321Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-05-08T04:35:44.322Z] > git --version # timeout=10 [2023-05-08T04:35:44.350Z] > git --version # 'git version 2.25.1' [2023-05-08T04:35:44.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T04:35:44.548Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T04:35:47.055Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-05-08T04:35:47.084Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T04:35:48.264Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-05-08T04:35:48.327Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-05-08T04:35:48.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T04:35:48.350Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-08T04:35:49.093Z] Merging remotes/origin/main commit 81c3d8df6e6916a21c685b3cf20bca39d3871f6d into PR head commit a323398b570b4605ef02cb66b6ed5c65d654fcbc [2023-05-08T04:35:49.494Z] Merge succeeded, producing a323398b570b4605ef02cb66b6ed5c65d654fcbc [2023-05-08T04:35:49.495Z] Checking out Revision a323398b570b4605ef02cb66b6ed5c65d654fcbc (PR-399) [2023-05-08T04:35:49.116Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T04:35:49.235Z] > git checkout -f a323398b570b4605ef02cb66b6ed5c65d654fcbc # timeout=10 [2023-05-08T04:35:49.343Z] > git remote # timeout=10 [2023-05-08T04:35:49.369Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T04:35:49.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T04:35:49.428Z] > git merge 81c3d8df6e6916a21c685b3cf20bca39d3871f6d # timeout=10 [2023-05-08T04:35:49.461Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T04:35:49.501Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T04:35:49.522Z] > git checkout -f a323398b570b4605ef02cb66b6ed5c65d654fcbc # timeout=10 [2023-05-08T04:35:53.170Z] Commit message: "build: Ignore all go-mods except device-sdk-go" [2023-05-08T04:35:53.236Z] > git --version # timeout=10 [2023-05-08T04:35:53.249Z] > git --version # 'git version 2.25.1' [2023-05-08T04:35:53.265Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T04:35:54.368Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T04:35:54.368Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T04:35:54.368Z] Dload Upload Total Spent Left Speed [2023-05-08T04:35:54.368Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-05-08T04:35:55.105Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T04:35:55.467Z] + sudo tee /etc/docker/daemon.new [2023-05-08T04:35:55.467Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T04:35:55.467Z] { [2023-05-08T04:35:55.467Z] "registry-mirrors": [ [2023-05-08T04:35:55.467Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T04:35:55.467Z] ], [2023-05-08T04:35:55.467Z] "bip": "10.250.0.254/24", [2023-05-08T04:35:55.467Z] "hosts": [ [2023-05-08T04:35:55.467Z] "tcp://0.0.0.0:5555", [2023-05-08T04:35:55.467Z] "unix:///var/run/docker.sock" [2023-05-08T04:35:55.467Z] ], [2023-05-08T04:35:55.467Z] "mtu": 1458, [2023-05-08T04:35:55.467Z] "selinux-enabled": true, [2023-05-08T04:35:55.467Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T04:35:55.467Z] } [Pipeline] sh [2023-05-08T04:35:55.820Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T04:35:56.182Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T04:36:14.576Z] provisioning config files... [2023-05-08T04:36:14.612Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12320017622609709113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:36:15.023Z] ---> docker-login.sh [2023-05-08T04:36:15.023Z] nexus3.edgexfoundry.org:10001 [2023-05-08T04:36:15.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:36:15.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:36:15.621Z] Configure a credential helper to remove this warning. See [2023-05-08T04:36:15.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:36:15.621Z] [2023-05-08T04:36:15.621Z] Login Succeeded [2023-05-08T04:36:15.621Z] nexus3.edgexfoundry.org:10002 [2023-05-08T04:36:15.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:36:16.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:36:16.173Z] Configure a credential helper to remove this warning. See [2023-05-08T04:36:16.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:36:16.173Z] [2023-05-08T04:36:16.173Z] Login Succeeded [2023-05-08T04:36:16.173Z] nexus3.edgexfoundry.org:10003 [2023-05-08T04:36:16.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:36:16.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:36:16.451Z] Configure a credential helper to remove this warning. See [2023-05-08T04:36:16.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:36:16.451Z] [2023-05-08T04:36:16.451Z] Login Succeeded [2023-05-08T04:36:16.451Z] nexus3.edgexfoundry.org:10004 [2023-05-08T04:36:16.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:36:16.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:36:16.998Z] Configure a credential helper to remove this warning. See [2023-05-08T04:36:16.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:36:16.998Z] [2023-05-08T04:36:16.998Z] Login Succeeded [2023-05-08T04:36:16.998Z] docker.io [2023-05-08T04:36:17.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:36:17.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:36:17.547Z] Configure a credential helper to remove this warning. See [2023-05-08T04:36:17.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:36:17.547Z] [2023-05-08T04:36:17.547Z] Login Succeeded [2023-05-08T04:36:17.547Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T04:36:17.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T04:36:18.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T04:36:18.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T04:36:18.104Z] ========================================================= [2023-05-08T04:36:18.104Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T04:36:18.104Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:36:18.619Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T04:36:18.910Z] Sending build context to Docker daemon 11.98MB [2023-05-08T04:36:19.191Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T04:36:19.191Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-08T04:36:19.191Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T04:36:19.191Z] c41833b44d91: Pulling fs layer [2023-05-08T04:36:19.191Z] ed15518f5707: Pulling fs layer [2023-05-08T04:36:19.191Z] feae8fd75edb: Pulling fs layer [2023-05-08T04:36:19.191Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T04:36:19.191Z] 3cdef696dda3: Pulling fs layer [2023-05-08T04:36:19.191Z] 2ced38df9373: Pulling fs layer [2023-05-08T04:36:19.191Z] 58f1dce35555: Pulling fs layer [2023-05-08T04:36:19.191Z] 3cdef696dda3: Waiting [2023-05-08T04:36:19.191Z] 2ced38df9373: Waiting [2023-05-08T04:36:19.191Z] 58f1dce35555: Waiting [2023-05-08T04:36:19.191Z] 242c74f7c9fa: Waiting [2023-05-08T04:36:19.468Z] ed15518f5707: Verifying Checksum [2023-05-08T04:36:19.468Z] ed15518f5707: Download complete [2023-05-08T04:36:19.468Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T04:36:19.468Z] 242c74f7c9fa: Download complete [2023-05-08T04:36:19.468Z] 3cdef696dda3: Verifying Checksum [2023-05-08T04:36:19.468Z] 3cdef696dda3: Download complete [2023-05-08T04:36:19.468Z] c41833b44d91: Verifying Checksum [2023-05-08T04:36:19.468Z] c41833b44d91: Download complete [2023-05-08T04:36:20.936Z] c41833b44d91: Pull complete [2023-05-08T04:36:20.936Z] 58f1dce35555: Verifying Checksum [2023-05-08T04:36:20.936Z] 58f1dce35555: Download complete [2023-05-08T04:36:21.538Z] ed15518f5707: Pull complete [2023-05-08T04:36:22.524Z] feae8fd75edb: Verifying Checksum [2023-05-08T04:36:22.524Z] feae8fd75edb: Download complete [2023-05-08T04:36:22.524Z] 2ced38df9373: Verifying Checksum [2023-05-08T04:36:22.524Z] 2ced38df9373: Download complete [2023-05-08T04:36:37.580Z] feae8fd75edb: Pull complete [2023-05-08T04:36:37.580Z] 242c74f7c9fa: Pull complete [2023-05-08T04:36:37.580Z] 3cdef696dda3: Pull complete [2023-05-08T04:36:43.007Z] 2ced38df9373: Pull complete [2023-05-08T04:36:45.612Z] 58f1dce35555: Pull complete [2023-05-08T04:36:45.612Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T04:36:45.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T04:36:45.612Z] ---> fadd8f120f05 [2023-05-08T04:36:45.612Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T04:36:47.603Z] ---> Running in 58d1e6bbdc19 [2023-05-08T04:36:47.603Z] Removing intermediate container 58d1e6bbdc19 [2023-05-08T04:36:47.603Z] ---> f36ed1b9d351 [2023-05-08T04:36:47.603Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T04:36:47.876Z] ---> Running in bb79af86c9f2 [2023-05-08T04:36:48.149Z] Removing intermediate container bb79af86c9f2 [2023-05-08T04:36:48.149Z] ---> 5322ad2c74b0 [2023-05-08T04:36:48.149Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-05-08T04:36:48.149Z] ---> Running in be51c0600af2 [2023-05-08T04:36:48.421Z] Removing intermediate container be51c0600af2 [2023-05-08T04:36:48.421Z] ---> 5fad0668f07d [2023-05-08T04:36:48.421Z] Step 6/12 : WORKDIR /device-virtual-go [2023-05-08T04:36:48.695Z] ---> Running in 6a0a35691418 [2023-05-08T04:36:48.972Z] Removing intermediate container 6a0a35691418 [2023-05-08T04:36:48.972Z] ---> 2b5d6c710338 [2023-05-08T04:36:48.972Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T04:36:48.972Z] ---> Running in 2456887054b7 [2023-05-08T04:36:50.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T04:36:51.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T04:36:52.443Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-08T04:36:52.443Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-08T04:36:52.443Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-08T04:36:52.443Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-08T04:36:52.443Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T04:36:52.443Z] OK: 268 MiB in 57 packages [2023-05-08T04:36:53.872Z] Removing intermediate container 2456887054b7 [2023-05-08T04:36:53.872Z] ---> 4ac8a3a14bb4 [2023-05-08T04:36:53.872Z] Step 8/12 : COPY go.mod vendor* ./ [2023-05-08T04:36:54.149Z] ---> e185f6e0965a [2023-05-08T04:36:54.149Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T04:36:54.425Z] ---> Running in b3012908f73d [2023-05-08T04:38:02.371Z] Removing intermediate container b3012908f73d [2023-05-08T04:38:02.371Z] ---> 5532642f261b [2023-05-08T04:38:02.371Z] Step 10/12 : COPY . . [2023-05-08T04:38:02.371Z] ---> 5abf6d34a69e [2023-05-08T04:38:02.371Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T04:38:02.371Z] ---> Running in 59de2f2cebb0 [2023-05-08T04:38:02.371Z] Removing intermediate container 59de2f2cebb0 [2023-05-08T04:38:02.371Z] ---> 801413aca1a7 [2023-05-08T04:38:02.371Z] Step 12/12 : RUN $MAKE [2023-05-08T04:38:02.371Z] ---> Running in bd622fe5e78c [2023-05-08T04:38:02.371Z] noop [2023-05-08T04:38:02.371Z] Removing intermediate container bd622fe5e78c [2023-05-08T04:38:02.371Z] ---> c6291a2ac8c2 [2023-05-08T04:38:02.371Z] Successfully built c6291a2ac8c2 [2023-05-08T04:38:02.371Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:38:02.857Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T04:38:02.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:38:03.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-14447 does not seem to be running inside a container [2023-05-08T04:38:03.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-08T04:38:06.335Z] $ docker top c04311047c01d430e2cbc208f3134044622b1ebbc11f86e6ade948903f5c2ea1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T04:38:07.322Z] + go version [2023-05-08T04:38:07.322Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T04:38:07.354Z] $ docker stop --time=1 c04311047c01d430e2cbc208f3134044622b1ebbc11f86e6ade948903f5c2ea1 [2023-05-08T04:38:09.148Z] $ docker rm -f --volumes c04311047c01d430e2cbc208f3134044622b1ebbc11f86e6ade948903f5c2ea1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:38:10.087Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T04:38:10.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:38:10.384Z] prd-ubuntu20.04-docker-arm64-4c-16g-14447 does not seem to be running inside a container [2023-05-08T04:38:10.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-08T04:38:11.821Z] $ docker top 18dcce87283f7449f071556d51e7ee9dd5f68cff18e0d4bd513c42777d968cdd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T04:38:12.771Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-08T04:38:13.501Z] + make test [2023-05-08T04:38:13.502Z] go test ./... -coverprofile=coverage.out [2023-05-08T04:38:52.491Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-05-08T04:40:59.284Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-05-08T04:41:01.246Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.098s coverage: 58.4% of statements [2023-05-08T04:41:01.839Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T04:41:01.839Z] go vet ./... [2023-05-08T04:41:34.138Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T04:41:34.138Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T04:41:34.138Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T04:41:34.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T04:41:34.216Z] $ docker stop --time=1 18dcce87283f7449f071556d51e7ee9dd5f68cff18e0d4bd513c42777d968cdd [2023-05-08T04:41:36.124Z] $ docker rm -f --volumes 18dcce87283f7449f071556d51e7ee9dd5f68cff18e0d4bd513c42777d968cdd [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T04:41:37.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T04:41:37.504Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T04:41:38.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T04:41:38.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T04:41:39.272Z] + ls -al . [2023-05-08T04:41:39.272Z] total 188 [2023-05-08T04:41:39.272Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:38 . [2023-05-08T04:41:39.272Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:35 .. [2023-05-08T04:41:39.272Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:35 .git [2023-05-08T04:41:39.272Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:35 .github [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 337 May 8 04:35 .gitignore [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:35 .golangci.yml [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 8652 May 8 04:35 Attribution.txt [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 11367 May 8 04:35 CHANGELOG.md [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 1646 May 8 04:35 Dockerfile [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:35 GOVERNANCE.md [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 660 May 8 04:35 Jenkinsfile [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:35 LICENSE [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 1696 May 8 04:35 Makefile [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 623 May 8 04:35 OWNERS.md [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 3578 May 8 04:35 README.md [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:32 VERSION [2023-05-08T04:41:39.272Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:35 bin [2023-05-08T04:41:39.272Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:35 cmd [2023-05-08T04:41:39.272Z] -rw-r--r-- 1 jenkins jenkins 43063 May 8 04:41 coverage.out [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 3209 May 8 04:35 go.mod [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 30994 May 8 04:35 go.sum [2023-05-08T04:41:39.272Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:35 internal [2023-05-08T04:41:39.272Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:35 snap [2023-05-08T04:41:39.272Z] -rw-rw-r-- 1 jenkins jenkins 235 May 8 04:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:41:39.744Z] + 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=a323398b570b4605ef02cb66b6ed5c65d654fcbc --label arch=arm64 --label version=0.0.0 . [2023-05-08T04:41:40.350Z] Sending build context to Docker daemon 12.02MB [2023-05-08T04:41:40.350Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T04:41:40.350Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-08T04:41:40.350Z] ---> c6291a2ac8c2 [2023-05-08T04:41:40.350Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T04:41:43.715Z] ---> Running in 7216b896a688 [2023-05-08T04:41:43.715Z] Removing intermediate container 7216b896a688 [2023-05-08T04:41:43.715Z] ---> 42051d662fda [2023-05-08T04:41:43.715Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T04:41:43.715Z] ---> Running in a51eda2c6040 [2023-05-08T04:41:44.306Z] Removing intermediate container a51eda2c6040 [2023-05-08T04:41:44.306Z] ---> fe6cd29a177b [2023-05-08T04:41:44.306Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-05-08T04:41:44.306Z] ---> Running in c6a83e64d7b8 [2023-05-08T04:41:44.589Z] Removing intermediate container c6a83e64d7b8 [2023-05-08T04:41:44.589Z] ---> b027b4eabaa7 [2023-05-08T04:41:44.589Z] Step 6/25 : WORKDIR /device-virtual-go [2023-05-08T04:41:44.589Z] ---> Running in eb7f49f4aab2 [2023-05-08T04:41:45.184Z] Removing intermediate container eb7f49f4aab2 [2023-05-08T04:41:45.184Z] ---> 58c60855cd67 [2023-05-08T04:41:45.184Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T04:41:45.184Z] ---> Running in d2c1db8585d0 [2023-05-08T04:41:46.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T04:41:47.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T04:41:48.575Z] OK: 268 MiB in 57 packages [2023-05-08T04:41:49.553Z] Removing intermediate container d2c1db8585d0 [2023-05-08T04:41:49.553Z] ---> 02f72e30b68a [2023-05-08T04:41:49.553Z] Step 8/25 : COPY go.mod vendor* ./ [2023-05-08T04:41:50.148Z] ---> 4ca6874922d4 [2023-05-08T04:41:50.148Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T04:41:50.148Z] ---> Running in c2e01a5fc25c [2023-05-08T04:41:52.756Z] Removing intermediate container c2e01a5fc25c [2023-05-08T04:41:52.756Z] ---> 12e1bbf76291 [2023-05-08T04:41:52.756Z] Step 10/25 : COPY . . [2023-05-08T04:41:58.138Z] ---> 5f9339a3ca2c [2023-05-08T04:41:58.138Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T04:41:58.138Z] ---> Running in 57ba0a3b7080 [2023-05-08T04:41:58.138Z] Removing intermediate container 57ba0a3b7080 [2023-05-08T04:41:58.138Z] ---> c2ef826ef7ff [2023-05-08T04:41:58.138Z] Step 12/25 : RUN $MAKE [2023-05-08T04:41:58.138Z] ---> Running in 5e2250b265c3 [2023-05-08T04:41:59.557Z] 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-05-08T04:44:36.353Z] Removing intermediate container 5e2250b265c3 [2023-05-08T04:44:36.353Z] ---> d7b952ed0d30 [2023-05-08T04:44:36.353Z] Step 13/25 : FROM alpine:3.17 [2023-05-08T04:44:36.353Z] 3.17: Pulling from library/alpine [2023-05-08T04:44:36.353Z] c41833b44d91: Already exists [2023-05-08T04:44:36.353Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T04:44:36.353Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T04:44:36.353Z] ---> 51e60588ff2c [2023-05-08T04:44:36.353Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-05-08T04:44:36.353Z] ---> Running in 248ccb1f5d07 [2023-05-08T04:44:36.353Z] Removing intermediate container 248ccb1f5d07 [2023-05-08T04:44:36.353Z] ---> 13a6055af3c8 [2023-05-08T04:44:36.353Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-05-08T04:44:36.353Z] ---> Running in b95eff39d504 [2023-05-08T04:44:36.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T04:44:36.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T04:44:37.325Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-08T04:44:37.325Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T04:44:37.325Z] OK: 8 MiB in 16 packages [2023-05-08T04:44:39.921Z] Removing intermediate container b95eff39d504 [2023-05-08T04:44:39.921Z] ---> 0fdc571853cd [2023-05-08T04:44:39.921Z] Step 16/25 : WORKDIR / [2023-05-08T04:44:39.921Z] ---> Running in 76f78e7638d9 [2023-05-08T04:44:39.921Z] Removing intermediate container 76f78e7638d9 [2023-05-08T04:44:39.921Z] ---> e2d263ae103c [2023-05-08T04:44:39.921Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-05-08T04:44:40.509Z] ---> 4e332b61c226 [2023-05-08T04:44:40.509Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-05-08T04:44:41.097Z] ---> 7baa7fb0fdec [2023-05-08T04:44:41.097Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-05-08T04:44:42.518Z] ---> 986f2b858979 [2023-05-08T04:44:42.518Z] Step 20/25 : EXPOSE 59900 [2023-05-08T04:44:42.518Z] ---> Running in b5cd7280bbf4 [2023-05-08T04:44:43.105Z] Removing intermediate container b5cd7280bbf4 [2023-05-08T04:44:43.105Z] ---> 87ce788b53d4 [2023-05-08T04:44:43.105Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-05-08T04:44:43.105Z] ---> Running in 5aa098125627 [2023-05-08T04:44:43.376Z] Removing intermediate container 5aa098125627 [2023-05-08T04:44:43.376Z] ---> 6da86fd14e63 [2023-05-08T04:44:43.376Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T04:44:43.376Z] ---> Running in d961e8126641 [2023-05-08T04:44:43.646Z] Removing intermediate container d961e8126641 [2023-05-08T04:44:43.646Z] ---> 3728501153d7 [2023-05-08T04:44:43.646Z] Step 23/25 : LABEL arch=arm64 [2023-05-08T04:44:43.933Z] ---> Running in 0dad6dc6556c [2023-05-08T04:44:44.202Z] Removing intermediate container 0dad6dc6556c [2023-05-08T04:44:44.202Z] ---> 7cd512b25e11 [2023-05-08T04:44:44.202Z] Step 24/25 : LABEL git_sha=a323398b570b4605ef02cb66b6ed5c65d654fcbc [2023-05-08T04:44:44.202Z] ---> Running in 88aa1b8a1349 [2023-05-08T04:44:44.471Z] Removing intermediate container 88aa1b8a1349 [2023-05-08T04:44:44.471Z] ---> f50067ec5386 [2023-05-08T04:44:44.471Z] Step 25/25 : LABEL version=0.0.0 [2023-05-08T04:44:44.741Z] ---> Running in b8dc6ad4b0e3 [2023-05-08T04:44:45.010Z] Removing intermediate container b8dc6ad4b0e3 [2023-05-08T04:44:45.010Z] ---> 6ee8ef799666 [2023-05-08T04:44:45.010Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T04:44:45.010Z] Successfully built 6ee8ef799666 [2023-05-08T04:44:45.010Z] 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-05-08T04:44:45.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T04:44:45.860Z] [2023-05-08T04:44:45.860Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:44:46.263Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T04:44:46.536Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T04:44:46.536Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T04:44:46.536Z] 04944245beec: Pulling fs layer [2023-05-08T04:44:46.536Z] 699f458cf7ca: Pulling fs layer [2023-05-08T04:44:46.536Z] 765212b225bb: Pulling fs layer [2023-05-08T04:44:46.536Z] f23df028b6ca: Pulling fs layer [2023-05-08T04:44:46.536Z] 765212b225bb: Waiting [2023-05-08T04:44:46.536Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T04:44:46.536Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T04:44:46.536Z] f23df028b6ca: Waiting [2023-05-08T04:44:46.536Z] d65c8cfc05b1: Waiting [2023-05-08T04:44:46.536Z] 2437ff75d9bd: Waiting [2023-05-08T04:44:46.536Z] 04944245beec: Verifying Checksum [2023-05-08T04:44:46.536Z] 04944245beec: Download complete [2023-05-08T04:44:46.536Z] 765212b225bb: Verifying Checksum [2023-05-08T04:44:46.536Z] 765212b225bb: Download complete [2023-05-08T04:44:46.536Z] f23df028b6ca: Download complete [2023-05-08T04:44:46.807Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T04:44:46.807Z] d65c8cfc05b1: Download complete [2023-05-08T04:44:46.807Z] 699f458cf7ca: Verifying Checksum [2023-05-08T04:44:46.807Z] 699f458cf7ca: Download complete [2023-05-08T04:44:47.396Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T04:44:47.396Z] 8998bd30e6a1: Download complete [2023-05-08T04:44:49.988Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T04:44:49.988Z] 2437ff75d9bd: Download complete [2023-05-08T04:44:52.582Z] 8998bd30e6a1: Pull complete [2023-05-08T04:44:52.582Z] 04944245beec: Pull complete [2023-05-08T04:44:54.050Z] 699f458cf7ca: Pull complete [2023-05-08T04:44:54.050Z] 765212b225bb: Pull complete [2023-05-08T04:44:55.011Z] f23df028b6ca: Pull complete [2023-05-08T04:44:55.279Z] d65c8cfc05b1: Pull complete [2023-05-08T04:45:10.299Z] 2437ff75d9bd: Pull complete [2023-05-08T04:45:10.299Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T04:45:10.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T04:45:10.299Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:45:10.617Z] prd-ubuntu20.04-docker-arm64-4c-16g-14447 does not seem to be running inside a container [2023-05-08T04:45:10.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-08T04:45:13.472Z] $ docker top bc3c24047fffbe4d577f36334af903190fac9836dfa8d2ef9cb45f86011726a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:45:14.393Z] ---> job-cost.sh [2023-05-08T04:45:14.393Z] lf-activate-venv: SKIPPING [2023-05-08T04:45:14.393Z] INFO: No Stack... [2023-05-08T04:45:14.662Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T04:45:15.630Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T04:45:16.296Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-05-08T04:45:16.296Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T04:45:16.400Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] [2023-05-08T04:45:16.405Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] did not exist. Created. [2023-05-08T04:45:16.405Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T04:45:17.149Z] /w/workspace/device-virtual-go/1@tmp/durable-910c207c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T04:45:17.836Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T04:45:17.870Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T04:45:17.926Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T04:45:17.941Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T04:45:18.018Z] $ docker stop --time=1 bc3c24047fffbe4d577f36334af903190fac9836dfa8d2ef9cb45f86011726a7 [2023-05-08T04:45:19.588Z] $ docker rm -f --volumes bc3c24047fffbe4d577f36334af903190fac9836dfa8d2ef9cb45f86011726a7 [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-05-08T04:45:20.555Z] provisioning config files... [2023-05-08T04:45:20.563Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-399@tmp/config8186034647180296601tmp [Pipeline] { [Pipeline] sh [2023-05-08T04:45:20.881Z] + set +x [2023-05-08T04:45:20.881Z] + curl -s https://codecov.io/bash [2023-05-08T04:45:20.881Z] + bash -s -- [2023-05-08T04:45:20.881Z] [2023-05-08T04:45:20.881Z] _____ _ [2023-05-08T04:45:20.881Z] / ____| | | [2023-05-08T04:45:20.881Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T04:45:20.881Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T04:45:20.881Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T04:45:20.881Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T04:45:20.881Z] Bash-1.0.6 [2023-05-08T04:45:20.881Z] [2023-05-08T04:45:20.881Z] [2023-05-08T04:45:20.881Z] ==> git version 2.25.1 found [2023-05-08T04:45:20.881Z] ==> 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-05-08T04:45:20.881Z] Release-Date: 2020-01-08 [2023-05-08T04:45:20.881Z] 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-05-08T04:45:20.881Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T04:45:20.881Z] ==> Jenkins CI detected. [2023-05-08T04:45:20.881Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-399 [2023-05-08T04:45:20.881Z] project root: . [2023-05-08T04:45:20.881Z] --> token set from env [2023-05-08T04:45:20.881Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T04:45:20.881Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T04:45:20.881Z] ==> Python coveragepy not found [2023-05-08T04:45:20.881Z] ==> Searching for coverage reports in: [2023-05-08T04:45:20.881Z] + . [2023-05-08T04:45:21.140Z] -> Found 1 reports [2023-05-08T04:45:21.140Z] ==> Detecting git/mercurial file structure [2023-05-08T04:45:21.140Z] ==> Reading reports [2023-05-08T04:45:21.140Z] + ./coverage.out bytes=43063 [2023-05-08T04:45:21.140Z] ==> Appending adjustments [2023-05-08T04:45:21.140Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T04:45:21.140Z] + Found adjustments [2023-05-08T04:45:21.140Z] ==> Gzipping contents [2023-05-08T04:45:21.140Z] 8.0K /tmp/codecov.okQbsH.gz [2023-05-08T04:45:21.140Z] ==> Uploading reports [2023-05-08T04:45:21.140Z] url: https://codecov.io [2023-05-08T04:45:21.140Z] query: branch=PR-399&commit=a323398b570b4605ef02cb66b6ed5c65d654fcbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-399%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=399&job=&cmd_args= [2023-05-08T04:45:21.140Z] -> Pinging Codecov [2023-05-08T04:45:21.140Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-399&commit=a323398b570b4605ef02cb66b6ed5c65d654fcbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-399%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=399&job=&cmd_args= [2023-05-08T04:45:21.400Z] -> Uploading to [2023-05-08T04:45:21.400Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/5E52B4B073DB2E39498172D8E973AA87/a323398b570b4605ef02cb66b6ed5c65d654fcbc/c69aa926-3e58-4a3a-94fd-6c3aaa7fa106.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T044521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cf651d7bd95df9ed0e127f05508f2bfb277a84304ff01e240b414440da29c381 [2023-05-08T04:45:21.400Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T04:45:21.400Z] Dload Upload Total Spent Left Speed [2023-05-08T04:45:21.659Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23246 --:--:-- --:--:-- --:--:-- 23246 [2023-05-08T04:45:21.659Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a323398b570b4605ef02cb66b6ed5c65d654fcbc [Pipeline] } [2023-05-08T04:45:21.686Z] 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-05-08T04:45:23.450Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-399/archives ] [2023-05-08T04:45:23.450Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-399/archives [2023-05-08T04:45:23.450Z] total 16 [2023-05-08T04:45:23.450Z] drwxr-xr-x 3 root root 4096 May 8 04:34 . [2023-05-08T04:45:23.450Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:34 .. [2023-05-08T04:45:23.450Z] drwxr-xr-x 2 root root 4096 May 8 04:34 cost [2023-05-08T04:45:23.450Z] -rw-r--r-- 1 root root 89 May 8 04:34 cost.csv [2023-05-08T04:45:23.450Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-399/archives [2023-05-08T04:45:23.450Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-399/archives [2023-05-08T04:45:23.450Z] total 16 [2023-05-08T04:45:23.450Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:34 . [2023-05-08T04:45:23.450Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:34 .. [2023-05-08T04:45:23.450Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 04:34 cost [2023-05-08T04:45:23.450Z] -rw-r--r-- 1 jenkins jenkins 89 May 8 04:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:45:23.778Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:45:24.665Z] ---> package-listing.sh [2023-05-08T04:45:24.665Z] ++ facter osfamily [2023-05-08T04:45:24.665Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T04:45:24.924Z] + OS_FAMILY=debian [2023-05-08T04:45:24.924Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-399 [2023-05-08T04:45:24.924Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T04:45:24.924Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T04:45:24.924Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T04:45:24.924Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T04:45:24.924Z] + '[' /w/workspace/foundry_device-virtual-go_PR-399 ']' [2023-05-08T04:45:24.924Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T04:45:24.924Z] + case "${OS_FAMILY}" in [2023-05-08T04:45:24.924Z] + dpkg -l [2023-05-08T04:45:24.924Z] + grep '^ii' [2023-05-08T04:45:24.924Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T04:45:24.924Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T04:45:24.924Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T04:45:24.924Z] + '[' /w/workspace/foundry_device-virtual-go_PR-399 ']' [2023-05-08T04:45:24.924Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-399/archives/ [2023-05-08T04:45:24.924Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-399/archives/ [Pipeline] echo [2023-05-08T04:45:24.961Z] 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-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-08T04:45:25.250Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:45:25.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T04:45:25.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:45:26.022Z] prd-ubuntu20.04-docker-8c-8g-14443 does not seem to be running inside a container [2023-05-08T04:45:26.054Z] $ 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-399/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-399 -v /w/workspace/foundry_device-virtual-go_PR-399:/w/workspace/foundry_device-virtual-go_PR-399:rw,z -v /w/workspace/foundry_device-virtual-go_PR-399@tmp:/w/workspace/foundry_device-virtual-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T04:45:26.255Z] $ docker top 05626acbef2b2910bc1dcbeb58d7dd6e1db84ba0b080462bb5f43ae946f6251a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T04:45:26.646Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T04:45:26.958Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T04:45:27.268Z] + ls /var/log/sa-host [2023-05-08T04:45:27.268Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T04:45:27.409Z] provisioning config files... [2023-05-08T04:45:27.419Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-399@tmp/config17164910689476416276tmp [Pipeline] { [Pipeline] echo [2023-05-08T04:45:27.470Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:45:27.783Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T04:45:27.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:45:28.217Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T04:45:28.249Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:45:28.563Z] ---> sudo-logs.sh [2023-05-08T04:45:28.564Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T04:45:28.651Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:45:28.969Z] ---> job-cost.sh [2023-05-08T04:45:28.969Z] lf-activate-venv: SKIPPING [2023-05-08T04:45:28.969Z] DEBUG: total: 0.2199999988079071 [2023-05-08T04:45:28.969Z] INFO: Retrieving Stack Cost... [2023-05-08T04:45:29.539Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T04:45:29.801Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T04:45:29.843Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:45:30.149Z] ---> logs-deploy.sh [2023-05-08T04:45:30.150Z] lf-activate-venv: SKIPPING [2023-05-08T04:45:30.150Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-399/1 [2023-05-08T04:45:30.150Z] INFO: archiving workspace using pattern(s): [2023-05-08T04:45:31.091Z] Archives upload complete. [2023-05-08T04:45:31.091Z] INFO: archiving logs to Nexus