Pull request #380 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 weichou1229 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 626db8e9a2222f123adcb85f9e159bc679c0b5f7 rather than 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 Obtained Jenkinsfile from 626db8e9a2222f123adcb85f9e159bc679c0b5f7 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-ssh14028503833519793624.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6778519919436125000.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-380/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-380/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7517268232076188095.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-380/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16173618526325872258.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh17069962802855832772.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-380/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-380/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14530079084489407436.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-8403 in /w/workspace/foundry_device-virtual-go_PR-380 [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-380 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 Merge succeeded, producing 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 Checking out Revision 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 (PR-380) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 # 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 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 # timeout=10 Commit message: "feat: Update Discover func error message" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-13T06:35:25.287Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-13T06:35:25.451Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-13T06:35:25.544Z] ========================================================= [2023-04-13T06:35:25.544Z] EdgeX Global Pipelines Version Info [2023-04-13T06:35:25.544Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:35:26.281Z] ------------------- [2023-04-13T06:35:26.281Z] stable info: [2023-04-13T06:35:26.281Z] ------------------- [2023-04-13T06:35:26.281Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-13T06:35:26.281Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T06:35:26.281Z] Message: update stable to v1.0.248 [2023-04-13T06:35:26.851Z] ------------------- [2023-04-13T06:35:26.851Z] experimental info: [2023-04-13T06:35:26.851Z] ------------------- [2023-04-13T06:35:26.851Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-13T06:35:26.851Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T06:35:26.851Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-13T06:35:27.122Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-04-13T06:35:27.163Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-04-13T06:35:27.205Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-13T06:35:27.241Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-13T06:35:27.279Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-13T06:35:27.320Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-13T06:35:27.360Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-13T06:35:27.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-13T06:35:27.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-13T06:35:27.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-13T06:35:27.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-13T06:35:27.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-04-13T06:35:27.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-13T06:35:27.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-13T06:35:27.670Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T06:35:27.707Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T06:35:27.743Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T06:35:27.781Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T06:35:27.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-13T06:35:27.858Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-13T06:35:27.903Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-13T06:35:27.939Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-13T06:35:27.989Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-13T06:35:28.028Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-13T06:35:28.066Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-13T06:35:28.105Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-13T06:35:28.145Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-13T06:35:28.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-380 [Pipeline] echo [2023-04-13T06:35:28.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-380 [Pipeline] echo [2023-04-13T06:35:28.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-380 [Pipeline] echo [2023-04-13T06:35:28.297Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 [Pipeline] echo [2023-04-13T06:35:28.335Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c85051 [Pipeline] echo [2023-04-13T06:35:28.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T06:35:28.489Z] provisioning config files... [2023-04-13T06:35:28.504Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-380@tmp/config12148077698228267385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:35:28.852Z] ---> docker-login.sh [2023-04-13T06:35:28.853Z] nexus3.edgexfoundry.org:10001 [2023-04-13T06:35:29.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:35:29.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:35:29.113Z] Configure a credential helper to remove this warning. See [2023-04-13T06:35:29.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:35:29.113Z] [2023-04-13T06:35:29.113Z] Login Succeeded [2023-04-13T06:35:29.113Z] nexus3.edgexfoundry.org:10002 [2023-04-13T06:35:29.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:35:29.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:35:29.373Z] Configure a credential helper to remove this warning. See [2023-04-13T06:35:29.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:35:29.373Z] [2023-04-13T06:35:29.373Z] Login Succeeded [2023-04-13T06:35:29.373Z] nexus3.edgexfoundry.org:10003 [2023-04-13T06:35:29.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:35:29.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:35:29.373Z] Configure a credential helper to remove this warning. See [2023-04-13T06:35:29.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:35:29.373Z] [2023-04-13T06:35:29.373Z] Login Succeeded [2023-04-13T06:35:29.373Z] nexus3.edgexfoundry.org:10004 [2023-04-13T06:35:29.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:35:29.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:35:29.373Z] Configure a credential helper to remove this warning. See [2023-04-13T06:35:29.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:35:29.373Z] [2023-04-13T06:35:29.373Z] Login Succeeded [2023-04-13T06:35:29.373Z] docker.io [2023-04-13T06:35:29.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:35:29.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:35:29.898Z] Configure a credential helper to remove this warning. See [2023-04-13T06:35:29.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:35:29.898Z] [2023-04-13T06:35:29.898Z] Login Succeeded [2023-04-13T06:35:29.898Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T06:35:29.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-13T06:35:30.562Z] + git rev-list -1 --merges 7c8505111f6f113d92a2c30437fe8275a6e7a1c1~1..7c8505111f6f113d92a2c30437fe8275a6e7a1c1 [Pipeline] echo [2023-04-13T06:35:30.619Z] -----------> git rev-list -1 --merges 7c8505111f6f113d92a2c30437fe8275a6e7a1c1~1..7c8505111f6f113d92a2c30437fe8275a6e7a1c1 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 [false] [Pipeline] sh [2023-04-13T06:35:30.928Z] + git log --format=format:%s -1 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 [Pipeline] echo [2023-04-13T06:35:30.964Z] ========================================================= [2023-04-13T06:35:30.964Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-13T06:35:30.964Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T06:35:31.387Z] + git log --format=format:%s -1 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 [Pipeline] echo [2023-04-13T06:35:31.423Z] [semverPrep] GIT_COMMIT: 7c8505111f6f113d92a2c30437fe8275a6e7a1c1, Commit Message: feat: Update Discover func error message [Pipeline] echo [2023-04-13T06:35:31.453Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-13T06:35:31.846Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T06:35:31.846Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-13T06:35:31.846Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-13T06:35:31.846Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-13T06:35:31.846Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-13T06:35:31.846Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-13T06:35:31.846Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:35:32.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T06:35:32.349Z] [2023-04-13T06:35:32.349Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:35:32.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T06:35:32.782Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-13T06:35:32.782Z] b85a868b505f: Pulling fs layer [2023-04-13T06:35:32.782Z] e2be974225ed: Pulling fs layer [2023-04-13T06:35:32.782Z] 339a4e72a1f5: Pulling fs layer [2023-04-13T06:35:32.782Z] 988bab9f4d93: Pulling fs layer [2023-04-13T06:35:32.782Z] 1469e6f7b9e6: Pulling fs layer [2023-04-13T06:35:32.782Z] eaf3925da568: Pulling fs layer [2023-04-13T06:35:32.782Z] bab4dde63d76: Pulling fs layer [2023-04-13T06:35:32.782Z] bde34c3a00c8: Pulling fs layer [2023-04-13T06:35:32.782Z] b352a97aabf1: Pulling fs layer [2023-04-13T06:35:32.782Z] 4872d77fe225: Pulling fs layer [2023-04-13T06:35:32.782Z] 5851b861e8e6: Pulling fs layer [2023-04-13T06:35:32.782Z] 988bab9f4d93: Waiting [2023-04-13T06:35:32.782Z] 1469e6f7b9e6: Waiting [2023-04-13T06:35:32.782Z] eaf3925da568: Waiting [2023-04-13T06:35:32.782Z] bab4dde63d76: Waiting [2023-04-13T06:35:32.782Z] bde34c3a00c8: Waiting [2023-04-13T06:35:32.782Z] b352a97aabf1: Waiting [2023-04-13T06:35:32.782Z] e2be974225ed: Download complete [2023-04-13T06:35:32.782Z] 988bab9f4d93: Download complete [2023-04-13T06:35:33.041Z] 1469e6f7b9e6: Verifying Checksum [2023-04-13T06:35:33.041Z] 1469e6f7b9e6: Download complete [2023-04-13T06:35:33.041Z] eaf3925da568: Verifying Checksum [2023-04-13T06:35:33.041Z] eaf3925da568: Download complete [2023-04-13T06:35:33.041Z] 339a4e72a1f5: Verifying Checksum [2023-04-13T06:35:33.041Z] 339a4e72a1f5: Download complete [2023-04-13T06:35:33.041Z] b352a97aabf1: Download complete [2023-04-13T06:35:33.041Z] 4872d77fe225: Verifying Checksum [2023-04-13T06:35:33.041Z] 4872d77fe225: Download complete [2023-04-13T06:35:33.041Z] 5851b861e8e6: Verifying Checksum [2023-04-13T06:35:33.041Z] 5851b861e8e6: Download complete [2023-04-13T06:35:33.041Z] b85a868b505f: Download complete [2023-04-13T06:35:33.301Z] bab4dde63d76: Verifying Checksum [2023-04-13T06:35:33.301Z] bab4dde63d76: Download complete [2023-04-13T06:35:34.237Z] b85a868b505f: Pull complete [2023-04-13T06:35:34.237Z] e2be974225ed: Pull complete [2023-04-13T06:35:34.807Z] 339a4e72a1f5: Pull complete [2023-04-13T06:35:34.807Z] 988bab9f4d93: Pull complete [2023-04-13T06:35:34.807Z] 1469e6f7b9e6: Pull complete [2023-04-13T06:35:35.067Z] eaf3925da568: Pull complete [2023-04-13T06:35:36.443Z] bab4dde63d76: Pull complete [2023-04-13T06:35:36.443Z] bde34c3a00c8: Pull complete [2023-04-13T06:35:36.704Z] b352a97aabf1: Pull complete [2023-04-13T06:35:36.705Z] 4872d77fe225: Pull complete [2023-04-13T06:35:36.705Z] 5851b861e8e6: Pull complete [2023-04-13T06:35:36.705Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-13T06:35:36.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T06:35:36.705Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:35:36.952Z] prd-ubuntu20.04-docker-8c-8g-8403 does not seem to be running inside a container [2023-04-13T06:35:36.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-380 -v /w/workspace/foundry_device-virtual-go_PR-380:/w/workspace/foundry_device-virtual-go_PR-380:rw,z -v /w/workspace/foundry_device-virtual-go_PR-380@tmp:/w/workspace/foundry_device-virtual-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T06:35:38.202Z] $ docker top 9fe6dfb4234600458d925f65967a54b913312d7d2523289736b88f1088bd8fdd -eo pid,comm [2023-04-13T06:35:38.246Z] 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-04-13T06:35:38.246Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T06:35:38.364Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T06:35:38.364Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T06:35:38.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T06:35:38.486Z] $ docker exec 9fe6dfb4234600458d925f65967a54b913312d7d2523289736b88f1088bd8fdd ssh-agent [2023-04-13T06:35:38.583Z] SSH_AUTH_SOCK=/tmp/ssh-ihzxcjN9QmJx/agent.31 [2023-04-13T06:35:38.583Z] SSH_AGENT_PID=37 [2023-04-13T06:35:38.590Z] Running ssh-add (command line suppressed) [2023-04-13T06:35:38.687Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-380@tmp/private_key_519095701649976076.key (/w/workspace/foundry_device-virtual-go_PR-380@tmp/private_key_519095701649976076.key) [2023-04-13T06:35:38.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T06:35:39.025Z] + git tag --points-at HEAD [Pipeline] } [2023-04-13T06:35:39.056Z] $ docker exec --env ******** --env ******** 9fe6dfb4234600458d925f65967a54b913312d7d2523289736b88f1088bd8fdd ssh-agent -k [2023-04-13T06:35:39.152Z] unset SSH_AUTH_SOCK; [2023-04-13T06:35:39.153Z] unset SSH_AGENT_PID; [2023-04-13T06:35:39.153Z] echo Agent pid 37 killed; [2023-04-13T06:35:39.161Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-13T06:35:39.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T06:35:39.255Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T06:35:39.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T06:35:39.376Z] $ docker exec 9fe6dfb4234600458d925f65967a54b913312d7d2523289736b88f1088bd8fdd ssh-agent [2023-04-13T06:35:39.474Z] SSH_AUTH_SOCK=/tmp/ssh-fdxga5RemFBN/agent.69 [2023-04-13T06:35:39.475Z] SSH_AGENT_PID=75 [2023-04-13T06:35:39.480Z] Running ssh-add (command line suppressed) [2023-04-13T06:35:39.578Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-380@tmp/private_key_1263915031335525738.key (/w/workspace/foundry_device-virtual-go_PR-380@tmp/private_key_1263915031335525738.key) [2023-04-13T06:35:39.586Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T06:35:39.914Z] + git semver init [2023-04-13T06:35:40.172Z] 2023-04-13 06:35:40,092 [run_init] DEBUG init version:0.0.0 force:False [2023-04-13T06:35:40.172Z] 2023-04-13 06:35:40,093 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-380/.semver [2023-04-13T06:35:40.172Z] 2023-04-13 06:35:40,093 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-380/.semver [2023-04-13T06:35:40.172Z] 2023-04-13 06:35:40,094 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-380/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-380, universal_newlines=False, shell=None, istream=None) [2023-04-13T06:35:41.112Z] 2023-04-13 06:35:41,049 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-380/.git/info/exclude [2023-04-13T06:35:41.112Z] 2023-04-13 06:35:41,050 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-380/.semver/PR-380 with force:False [2023-04-13T06:35:41.112Z] 2023-04-13 06:35:41,050 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-380/.semver/PR-380 [2023-04-13T06:35:41.112Z] 2023-04-13 06:35:41,054 [execute] INFO git cat-file --batch-check [2023-04-13T06:35:41.112Z] 2023-04-13 06:35:41,054 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T06:35:41.112Z] 2023-04-13 06:35:41,061 [execute] INFO git cat-file --batch [2023-04-13T06:35:41.112Z] 2023-04-13 06:35:41,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T06:35:41.112Z] 2023-04-13 06:35:41,066 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-380/.semver/PR-380 [2023-04-13T06:35:41.112Z] 0.0.0 [Pipeline] } [2023-04-13T06:35:41.143Z] $ docker exec --env ******** --env ******** 9fe6dfb4234600458d925f65967a54b913312d7d2523289736b88f1088bd8fdd ssh-agent -k [2023-04-13T06:35:41.234Z] unset SSH_AUTH_SOCK; [2023-04-13T06:35:41.235Z] unset SSH_AGENT_PID; [2023-04-13T06:35:41.235Z] echo Agent pid 75 killed; [2023-04-13T06:35:41.240Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T06:35:41.658Z] + git semver [Pipeline] } [2023-04-13T06:35:41.946Z] $ docker stop --time=1 9fe6dfb4234600458d925f65967a54b913312d7d2523289736b88f1088bd8fdd [2023-04-13T06:35:43.230Z] $ docker rm -f --volumes 9fe6dfb4234600458d925f65967a54b913312d7d2523289736b88f1088bd8fdd [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T06:35:43.619Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-13T06:35:43.870Z] Stashed 1 file(s) [Pipeline] echo [2023-04-13T06:35:43.887Z] [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-04-13T06:35:44.455Z] provisioning config files... [2023-04-13T06:35:44.465Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-380@tmp/config13047401182680594601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:35:44.795Z] ---> docker-login.sh [2023-04-13T06:35:44.795Z] nexus3.edgexfoundry.org:10001 [2023-04-13T06:35:44.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:35:44.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:35:44.795Z] Configure a credential helper to remove this warning. See [2023-04-13T06:35:44.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:35:44.795Z] [2023-04-13T06:35:44.795Z] Login Succeeded [2023-04-13T06:35:44.795Z] nexus3.edgexfoundry.org:10002 [2023-04-13T06:35:44.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:35:44.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:35:44.795Z] Configure a credential helper to remove this warning. See [2023-04-13T06:35:44.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:35:44.795Z] [2023-04-13T06:35:44.795Z] Login Succeeded [2023-04-13T06:35:44.795Z] nexus3.edgexfoundry.org:10003 [2023-04-13T06:35:45.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:35:45.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:35:45.053Z] Configure a credential helper to remove this warning. See [2023-04-13T06:35:45.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:35:45.053Z] [2023-04-13T06:35:45.053Z] Login Succeeded [2023-04-13T06:35:45.053Z] nexus3.edgexfoundry.org:10004 [2023-04-13T06:35:45.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:35:45.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:35:45.053Z] Configure a credential helper to remove this warning. See [2023-04-13T06:35:45.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:35:45.053Z] [2023-04-13T06:35:45.053Z] Login Succeeded [2023-04-13T06:35:45.053Z] docker.io [2023-04-13T06:35:45.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:35:45.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:35:45.313Z] Configure a credential helper to remove this warning. See [2023-04-13T06:35:45.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:35:45.313Z] [2023-04-13T06:35:45.313Z] Login Succeeded [2023-04-13T06:35:45.313Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T06:35:45.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T06:35:45.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T06:35:45.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T06:35:45.591Z] ========================================================= [2023-04-13T06:35:45.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-13T06:35:45.591Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:35:46.071Z] + 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-04-13T06:35:46.071Z] Sending build context to Docker daemon 23.54MB [2023-04-13T06:35:46.071Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T06:35:46.071Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T06:35:46.071Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-13T06:35:46.071Z] 63b65145d645: Pulling fs layer [2023-04-13T06:35:46.071Z] a2d21d5440eb: Pulling fs layer [2023-04-13T06:35:46.071Z] 935e6c44a52c: Pulling fs layer [2023-04-13T06:35:46.071Z] 94cc34f8dd06: Pulling fs layer [2023-04-13T06:35:46.071Z] 30dea6a524f1: Pulling fs layer [2023-04-13T06:35:46.071Z] a2aff8979fd8: Pulling fs layer [2023-04-13T06:35:46.071Z] 6808be2612f2: Pulling fs layer [2023-04-13T06:35:46.071Z] f25807f1079a: Pulling fs layer [2023-04-13T06:35:46.071Z] a2aff8979fd8: Waiting [2023-04-13T06:35:46.071Z] 6808be2612f2: Waiting [2023-04-13T06:35:46.071Z] f25807f1079a: Waiting [2023-04-13T06:35:46.071Z] 30dea6a524f1: Waiting [2023-04-13T06:35:46.071Z] 94cc34f8dd06: Waiting [2023-04-13T06:35:46.331Z] a2d21d5440eb: Download complete [2023-04-13T06:35:46.331Z] 94cc34f8dd06: Verifying Checksum [2023-04-13T06:35:46.331Z] 94cc34f8dd06: Download complete [2023-04-13T06:35:46.331Z] 30dea6a524f1: Download complete [2023-04-13T06:35:46.331Z] 63b65145d645: Verifying Checksum [2023-04-13T06:35:46.331Z] 63b65145d645: Download complete [2023-04-13T06:35:46.331Z] a2aff8979fd8: Verifying Checksum [2023-04-13T06:35:46.331Z] a2aff8979fd8: Download complete [2023-04-13T06:35:46.331Z] 63b65145d645: Pull complete [2023-04-13T06:35:46.590Z] a2d21d5440eb: Pull complete [2023-04-13T06:35:46.590Z] f25807f1079a: Verifying Checksum [2023-04-13T06:35:46.590Z] f25807f1079a: Download complete [2023-04-13T06:35:46.848Z] 935e6c44a52c: Verifying Checksum [2023-04-13T06:35:46.848Z] 935e6c44a52c: Download complete [2023-04-13T06:35:46.848Z] 6808be2612f2: Verifying Checksum [2023-04-13T06:35:46.848Z] 6808be2612f2: Download complete [2023-04-13T06:35:50.128Z] 935e6c44a52c: Pull complete [2023-04-13T06:35:50.128Z] 94cc34f8dd06: Pull complete [2023-04-13T06:35:50.128Z] 30dea6a524f1: Pull complete [2023-04-13T06:35:50.128Z] a2aff8979fd8: Pull complete [2023-04-13T06:35:52.029Z] 6808be2612f2: Pull complete [2023-04-13T06:35:52.964Z] f25807f1079a: Pull complete [2023-04-13T06:35:52.964Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-13T06:35:52.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-13T06:35:52.964Z] ---> 3b553350e43f [2023-04-13T06:35:52.964Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T06:35:54.342Z] ---> Running in c0f8f892b6b7 [2023-04-13T06:35:54.342Z] Removing intermediate container c0f8f892b6b7 [2023-04-13T06:35:54.342Z] ---> db75b2d5d92f [2023-04-13T06:35:54.342Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T06:35:54.342Z] ---> Running in b08bfa2da070 [2023-04-13T06:35:54.342Z] Removing intermediate container b08bfa2da070 [2023-04-13T06:35:54.342Z] ---> 2d8222695477 [2023-04-13T06:35:54.342Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T06:35:54.603Z] ---> Running in 8d528da5fe4c [2023-04-13T06:35:54.603Z] Removing intermediate container 8d528da5fe4c [2023-04-13T06:35:54.603Z] ---> 66a2692a4f78 [2023-04-13T06:35:54.603Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-13T06:35:54.603Z] ---> Running in 1f17da506814 [2023-04-13T06:35:54.603Z] Removing intermediate container 1f17da506814 [2023-04-13T06:35:54.603Z] ---> ade0d9e1eb86 [2023-04-13T06:35:54.603Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T06:35:54.603Z] ---> Running in fac22021eb52 [2023-04-13T06:35:54.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T06:35:55.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T06:35:55.377Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T06:35:55.377Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T06:35:55.377Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T06:35:55.377Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T06:35:55.377Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T06:35:55.377Z] OK: 269 MiB in 57 packages [2023-04-13T06:35:55.943Z] Removing intermediate container fac22021eb52 [2023-04-13T06:35:55.943Z] ---> ef50d30d07ea [2023-04-13T06:35:55.943Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-13T06:35:55.943Z] ---> 1931e3466580 [2023-04-13T06:35:55.943Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T06:35:55.943Z] ---> Running in 73ba3058271c [2023-04-13T06:35:59.286Z] Still waiting to schedule task [2023-04-13T06:35:59.286Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-13T06:36:17.873Z] Removing intermediate container 73ba3058271c [2023-04-13T06:36:17.873Z] ---> 18cbe596c6a8 [2023-04-13T06:36:17.873Z] Step 10/12 : COPY . . [2023-04-13T06:36:17.873Z] ---> d190f6d3b190 [2023-04-13T06:36:17.873Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T06:36:17.873Z] ---> Running in 3212b4e84178 [2023-04-13T06:36:17.873Z] Removing intermediate container 3212b4e84178 [2023-04-13T06:36:17.873Z] ---> 0cb96fa04db3 [2023-04-13T06:36:17.873Z] Step 12/12 : RUN $MAKE [2023-04-13T06:36:17.873Z] ---> Running in 498388f5ce71 [2023-04-13T06:36:17.873Z] noop [2023-04-13T06:36:17.873Z] Removing intermediate container 498388f5ce71 [2023-04-13T06:36:17.873Z] ---> b5020623f81a [2023-04-13T06:36:17.873Z] Successfully built b5020623f81a [2023-04-13T06:36:17.873Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:36:18.300Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T06:36:18.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:36:18.443Z] prd-ubuntu20.04-docker-8c-8g-8403 does not seem to be running inside a container [2023-04-13T06:36:18.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-380 -v /w/workspace/foundry_device-virtual-go_PR-380:/w/workspace/foundry_device-virtual-go_PR-380:rw,z -v /w/workspace/foundry_device-virtual-go_PR-380@tmp:/w/workspace/foundry_device-virtual-go_PR-380@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 ******** ci-base-image-x86_64 cat [2023-04-13T06:36:18.791Z] $ docker top 416ee4c17ea1d94bcc46f224da747eb90ec64a35ef12e4a7b1625b55914cd869 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T06:36:19.168Z] + go version [2023-04-13T06:36:19.168Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-13T06:36:19.204Z] $ docker stop --time=1 416ee4c17ea1d94bcc46f224da747eb90ec64a35ef12e4a7b1625b55914cd869 [2023-04-13T06:36:20.484Z] $ docker rm -f --volumes 416ee4c17ea1d94bcc46f224da747eb90ec64a35ef12e4a7b1625b55914cd869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:36:21.216Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T06:36:21.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:36:21.369Z] prd-ubuntu20.04-docker-8c-8g-8403 does not seem to be running inside a container [2023-04-13T06:36:21.401Z] $ 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-380 -v /w/workspace/foundry_device-virtual-go_PR-380:/w/workspace/foundry_device-virtual-go_PR-380:rw,z -v /w/workspace/foundry_device-virtual-go_PR-380@tmp:/w/workspace/foundry_device-virtual-go_PR-380@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 ******** ci-base-image-x86_64 cat [2023-04-13T06:36:21.748Z] $ docker top a862270cb856ca67c67b227e4e06c4e276ce4883d51a1526712956eb1b8c2092 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T06:36:22.135Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-380 [Pipeline] fileExists [Pipeline] sh [2023-04-13T06:36:22.495Z] + make test [2023-04-13T06:36:22.495Z] go test ./... -coverprofile=coverage.out [2023-04-13T06:36:27.764Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-13T06:36:35.864Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-04-13T06:36:35.864Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.7% of statements [2023-04-13T06:36:41.125Z] go vet ./... [2023-04-13T06:36:44.404Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T06:36:44.404Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T06:36:44.404Z] ./bin/test-attribution-txt.sh [2023-04-13T06:36:44.404Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T06:36:44.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T06:36:44.480Z] $ docker stop --time=1 a862270cb856ca67c67b227e4e06c4e276ce4883d51a1526712956eb1b8c2092 [2023-04-13T06:36:46.281Z] $ docker rm -f --volumes a862270cb856ca67c67b227e4e06c4e276ce4883d51a1526712956eb1b8c2092 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T06:36:46.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T06:36:46.876Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-13T06:36:47.590Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T06:36:47.894Z] + ls -al . [2023-04-13T06:36:47.894Z] total 192 [2023-04-13T06:36:47.894Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 06:36 . [2023-04-13T06:36:47.894Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:35 .. [2023-04-13T06:36:47.894Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:35 .git [2023-04-13T06:36:47.894Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:35 .github [2023-04-13T06:36:47.894Z] -rw-rw-r-- 1 jenkins jenkins 337 Apr 13 06:35 .gitignore [2023-04-13T06:36:47.894Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 06:35 .golangci.yml [2023-04-13T06:36:47.894Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 06:35 .semver [2023-04-13T06:36:47.894Z] -rw-rw-r-- 1 jenkins jenkins 8641 Apr 13 06:35 Attribution.txt [2023-04-13T06:36:47.894Z] -rw-rw-r-- 1 jenkins jenkins 11367 Apr 13 06:35 CHANGELOG.md [2023-04-13T06:36:47.894Z] -rw-rw-r-- 1 jenkins jenkins 1646 Apr 13 06:35 Dockerfile [2023-04-13T06:36:47.894Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 06:35 GOVERNANCE.md [2023-04-13T06:36:47.894Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 13 06:35 Jenkinsfile [2023-04-13T06:36:47.894Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 06:35 LICENSE [2023-04-13T06:36:47.895Z] -rw-rw-r-- 1 jenkins jenkins 1696 Apr 13 06:35 Makefile [2023-04-13T06:36:47.895Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 13 06:35 OWNERS.md [2023-04-13T06:36:47.895Z] -rw-rw-r-- 1 jenkins jenkins 3578 Apr 13 06:35 README.md [2023-04-13T06:36:47.895Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 06:35 VERSION [2023-04-13T06:36:47.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:35 bin [2023-04-13T06:36:47.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:35 cmd [2023-04-13T06:36:47.895Z] -rw-r--r-- 1 jenkins jenkins 42970 Apr 13 06:36 coverage.out [2023-04-13T06:36:47.895Z] -rw-rw-r-- 1 jenkins jenkins 3209 Apr 13 06:35 go.mod [2023-04-13T06:36:47.895Z] -rw-rw-r-- 1 jenkins jenkins 31219 Apr 13 06:35 go.sum [2023-04-13T06:36:47.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:35 internal [2023-04-13T06:36:47.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:35 snap [2023-04-13T06:36:47.895Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 13 06:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:36:48.293Z] + 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=7c8505111f6f113d92a2c30437fe8275a6e7a1c1 --label arch=amd64 --label version=0.0.0 . [2023-04-13T06:36:48.293Z] Sending build context to Docker daemon 23.59MB [2023-04-13T06:36:48.293Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T06:36:48.293Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-13T06:36:48.293Z] ---> b5020623f81a [2023-04-13T06:36:48.293Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T06:36:48.552Z] ---> Running in 3a5781dc682b [2023-04-13T06:36:48.552Z] Removing intermediate container 3a5781dc682b [2023-04-13T06:36:48.552Z] ---> 84d56cf8d0b1 [2023-04-13T06:36:48.552Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T06:36:48.552Z] ---> Running in 1ad93b349b9d [2023-04-13T06:36:48.552Z] Removing intermediate container 1ad93b349b9d [2023-04-13T06:36:48.552Z] ---> fdf003092aaa [2023-04-13T06:36:48.552Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-04-13T06:36:48.552Z] ---> Running in d6601c94e164 [2023-04-13T06:36:48.552Z] Removing intermediate container d6601c94e164 [2023-04-13T06:36:48.552Z] ---> f1589bb756a9 [2023-04-13T06:36:48.552Z] Step 6/25 : WORKDIR /device-virtual-go [2023-04-13T06:36:48.811Z] ---> Running in b654a8b0f102 [2023-04-13T06:36:48.811Z] Removing intermediate container b654a8b0f102 [2023-04-13T06:36:48.811Z] ---> 600845c72e04 [2023-04-13T06:36:48.811Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T06:36:48.811Z] ---> Running in 4a43047599ac [2023-04-13T06:36:49.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T06:36:49.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T06:36:49.589Z] OK: 269 MiB in 57 packages [2023-04-13T06:36:49.847Z] Removing intermediate container 4a43047599ac [2023-04-13T06:36:49.847Z] ---> 891416ab0fb0 [2023-04-13T06:36:49.847Z] Step 8/25 : COPY go.mod vendor* ./ [2023-04-13T06:36:49.847Z] ---> 3754aa6f1767 [2023-04-13T06:36:49.847Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T06:36:49.847Z] ---> Running in 7e798f014f1b [2023-04-13T06:36:50.783Z] Removing intermediate container 7e798f014f1b [2023-04-13T06:36:50.783Z] ---> b4ad92a69345 [2023-04-13T06:36:50.783Z] Step 10/25 : COPY . . [2023-04-13T06:36:51.350Z] ---> d94830c4d855 [2023-04-13T06:36:51.350Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T06:36:51.350Z] ---> Running in 8dc6c8866557 [2023-04-13T06:36:51.350Z] Removing intermediate container 8dc6c8866557 [2023-04-13T06:36:51.350Z] ---> 194f1619b4ad [2023-04-13T06:36:51.350Z] Step 12/25 : RUN $MAKE [2023-04-13T06:36:51.350Z] ---> Running in 5053084aa867 [2023-04-13T06:36:51.609Z] 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-04-13T06:37:06.484Z] Removing intermediate container 5053084aa867 [2023-04-13T06:37:06.484Z] ---> a31e0c98821e [2023-04-13T06:37:06.484Z] Step 13/25 : FROM alpine:3.17 [2023-04-13T06:37:06.743Z] 3.17: Pulling from library/alpine [2023-04-13T06:37:06.743Z] f56be85fc22e: Pulling fs layer [2023-04-13T06:37:06.743Z] f56be85fc22e: Verifying Checksum [2023-04-13T06:37:06.743Z] f56be85fc22e: Download complete [2023-04-13T06:37:07.001Z] f56be85fc22e: Pull complete [2023-04-13T06:37:07.001Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T06:37:07.001Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T06:37:07.001Z] ---> 9ed4aefc74f6 [2023-04-13T06:37:07.001Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-04-13T06:37:07.001Z] ---> Running in 256313e191c3 [2023-04-13T06:37:07.264Z] Removing intermediate container 256313e191c3 [2023-04-13T06:37:07.264Z] ---> 8a7fb1030cec [2023-04-13T06:37:07.264Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-04-13T06:37:07.264Z] ---> Running in f838de6bb1c0 [2023-04-13T06:37:07.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T06:37:07.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T06:37:07.783Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T06:37:07.783Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T06:37:07.783Z] OK: 7 MiB in 16 packages [2023-04-13T06:37:08.348Z] Removing intermediate container f838de6bb1c0 [2023-04-13T06:37:08.348Z] ---> 1b44ceb2566d [2023-04-13T06:37:08.348Z] Step 16/25 : WORKDIR / [2023-04-13T06:37:08.348Z] ---> Running in 0fb2fad08959 [2023-04-13T06:37:08.348Z] Removing intermediate container 0fb2fad08959 [2023-04-13T06:37:08.348Z] ---> 000e73c9105b [2023-04-13T06:37:08.348Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-04-13T06:37:08.348Z] ---> 5a985e221213 [2023-04-13T06:37:08.348Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-04-13T06:37:08.606Z] ---> 08fe9010ba7f [2023-04-13T06:37:08.606Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-04-13T06:37:08.865Z] ---> 774a4021e4aa [2023-04-13T06:37:08.865Z] Step 20/25 : EXPOSE 59900 [2023-04-13T06:37:09.122Z] ---> Running in 86cb7467ee3b [2023-04-13T06:37:09.122Z] Removing intermediate container 86cb7467ee3b [2023-04-13T06:37:09.122Z] ---> 992eaab14cbd [2023-04-13T06:37:09.122Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-04-13T06:37:09.122Z] ---> Running in 7bb44edc5edb [2023-04-13T06:37:09.122Z] Removing intermediate container 7bb44edc5edb [2023-04-13T06:37:09.122Z] ---> 495551d1e233 [2023-04-13T06:37:09.122Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-13T06:37:09.122Z] ---> Running in 4cc7da1f70d6 [2023-04-13T06:37:09.122Z] Removing intermediate container 4cc7da1f70d6 [2023-04-13T06:37:09.122Z] ---> 36e0756a3ef8 [2023-04-13T06:37:09.122Z] Step 23/25 : LABEL arch=amd64 [2023-04-13T06:37:09.122Z] ---> Running in 125d2d702370 [2023-04-13T06:37:09.380Z] Removing intermediate container 125d2d702370 [2023-04-13T06:37:09.380Z] ---> c36dc46664f3 [2023-04-13T06:37:09.380Z] Step 24/25 : LABEL git_sha=7c8505111f6f113d92a2c30437fe8275a6e7a1c1 [2023-04-13T06:37:09.380Z] ---> Running in 640ab9d1440f [2023-04-13T06:37:09.380Z] Removing intermediate container 640ab9d1440f [2023-04-13T06:37:09.380Z] ---> 1275826c0be0 [2023-04-13T06:37:09.380Z] Step 25/25 : LABEL version=0.0.0 [2023-04-13T06:37:09.380Z] ---> Running in 56ce27ce1350 [2023-04-13T06:37:09.380Z] Removing intermediate container 56ce27ce1350 [2023-04-13T06:37:09.380Z] ---> 99e42085f05a [2023-04-13T06:37:09.380Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T06:37:09.380Z] Successfully built 99e42085f05a [2023-04-13T06:37:09.380Z] 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-04-13T06:37:10.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T06:37:10.245Z] [2023-04-13T06:37:10.245Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:37:10.619Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T06:37:10.619Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-13T06:37:10.619Z] 5eb5b503b376: Pulling fs layer [2023-04-13T06:37:10.619Z] 5c69ac0246d0: Pulling fs layer [2023-04-13T06:37:10.619Z] ec43610c2a17: Pulling fs layer [2023-04-13T06:37:10.619Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-13T06:37:10.619Z] 33b1e0a273af: Pulling fs layer [2023-04-13T06:37:10.619Z] 5d3b04190fa2: Pulling fs layer [2023-04-13T06:37:10.619Z] 2f39f015ded8: Pulling fs layer [2023-04-13T06:37:10.619Z] 3a2ae6a8a46f: Waiting [2023-04-13T06:37:10.619Z] 33b1e0a273af: Waiting [2023-04-13T06:37:10.619Z] 5d3b04190fa2: Waiting [2023-04-13T06:37:10.619Z] 2f39f015ded8: Waiting [2023-04-13T06:37:10.619Z] 5c69ac0246d0: Download complete [2023-04-13T06:37:10.619Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-13T06:37:10.619Z] 3a2ae6a8a46f: Download complete [2023-04-13T06:37:10.619Z] 33b1e0a273af: Verifying Checksum [2023-04-13T06:37:10.619Z] 33b1e0a273af: Download complete [2023-04-13T06:37:10.619Z] 5d3b04190fa2: Verifying Checksum [2023-04-13T06:37:10.619Z] 5d3b04190fa2: Download complete [2023-04-13T06:37:10.619Z] ec43610c2a17: Verifying Checksum [2023-04-13T06:37:10.619Z] ec43610c2a17: Download complete [2023-04-13T06:37:10.877Z] 5eb5b503b376: Verifying Checksum [2023-04-13T06:37:10.877Z] 5eb5b503b376: Download complete [2023-04-13T06:37:11.443Z] 2f39f015ded8: Download complete [2023-04-13T06:37:12.010Z] 5eb5b503b376: Pull complete [2023-04-13T06:37:12.010Z] 5c69ac0246d0: Pull complete [2023-04-13T06:37:12.269Z] ec43610c2a17: Pull complete [2023-04-13T06:37:12.269Z] 3a2ae6a8a46f: Pull complete [2023-04-13T06:37:12.529Z] 33b1e0a273af: Pull complete [2023-04-13T06:37:12.529Z] 5d3b04190fa2: Pull complete [2023-04-13T06:37:16.723Z] 2f39f015ded8: Pull complete [2023-04-13T06:37:16.723Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-13T06:37:16.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T06:37:16.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:37:16.946Z] prd-ubuntu20.04-docker-8c-8g-8403 does not seem to be running inside a container [2023-04-13T06:37:16.978Z] $ 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-380 -v /w/workspace/foundry_device-virtual-go_PR-380:/w/workspace/foundry_device-virtual-go_PR-380:rw,z -v /w/workspace/foundry_device-virtual-go_PR-380@tmp:/w/workspace/foundry_device-virtual-go_PR-380@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-04-13T06:37:18.211Z] $ docker top a074770ea59791faa9cf3d0c0bbe0a0612053e337a675742283f057c62c06738 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:37:18.653Z] ---> job-cost.sh [2023-04-13T06:37:18.653Z] lf-activate-venv: SKIPPING [2023-04-13T06:37:18.653Z] INFO: No Stack... [2023-04-13T06:37:18.912Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T06:37:19.170Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T06:37:19.477Z] + cat /w/workspace/foundry_device-virtual-go_PR-380/archives/cost.csv [2023-04-13T06:37:19.477Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T06:37:19.517Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-380-1-stack-cost] [2023-04-13T06:37:19.521Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-380-1-stack-cost] did not exist. Created. [2023-04-13T06:37:19.521Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-380-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T06:37:19.903Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-13T06:37:19.953Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T06:37:19.988Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-380-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T06:37:20.071Z] $ docker stop --time=1 a074770ea59791faa9cf3d0c0bbe0a0612053e337a675742283f057c62c06738 [2023-04-13T06:37:21.254Z] $ docker rm -f --volumes a074770ea59791faa9cf3d0c0bbe0a0612053e337a675742283f057c62c06738 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T06:37:41.550Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8404 in /w/workspace/foundry_device-virtual-go_PR-380 [Pipeline] { [Pipeline] ws [2023-04-13T06:37:41.616Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-04-13T06:37:41.694Z] The recommended git tool is: git [2023-04-13T06:37:52.004Z] using credential edgex-jenkins-ssh [2023-04-13T06:37:52.024Z] Cloning the remote Git repository [2023-04-13T06:37:52.104Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-04-13T06:37:52.315Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-04-13T06:37:52.798Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-13T06:37:52.800Z] > git --version # timeout=10 [2023-04-13T06:37:52.904Z] > git --version # 'git version 2.25.1' [2023-04-13T06:37:52.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T06:37:53.242Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T06:37:55.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-13T06:37:55.733Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T06:37:57.446Z] Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 [2023-04-13T06:37:57.831Z] Merge succeeded, producing 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 [2023-04-13T06:37:57.832Z] Checking out Revision 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 (PR-380) [2023-04-13T06:37:56.733Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-13T06:37:56.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-13T06:37:56.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T06:37:56.827Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-13T06:37:57.461Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T06:37:57.556Z] > git checkout -f 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 # timeout=10 [2023-04-13T06:37:57.645Z] > git remote # timeout=10 [2023-04-13T06:37:57.677Z] > git config --get remote.origin.url # timeout=10 [2023-04-13T06:37:57.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T06:37:57.727Z] > git merge 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 [2023-04-13T06:37:57.764Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-13T06:37:57.836Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T06:37:57.863Z] > git checkout -f 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 # timeout=10 [2023-04-13T06:38:01.603Z] Commit message: "feat: Update Discover func error message" [2023-04-13T06:38:01.674Z] > git --version # timeout=10 [2023-04-13T06:38:01.751Z] > git --version # 'git version 2.25.1' [2023-04-13T06:38:01.802Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T06:38:03.086Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-13T06:38:03.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T06:38:03.086Z] Dload Upload Total Spent Left Speed [2023-04-13T06:38:03.086Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh [2023-04-13T06:38:03.702Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-13T06:38:04.053Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-13T06:38:04.053Z] + sudo tee /etc/docker/daemon.new [2023-04-13T06:38:04.053Z] { [2023-04-13T06:38:04.053Z] "registry-mirrors": [ [2023-04-13T06:38:04.053Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-13T06:38:04.053Z] ], [2023-04-13T06:38:04.053Z] "bip": "10.250.0.254/24", [2023-04-13T06:38:04.053Z] "hosts": [ [2023-04-13T06:38:04.053Z] "tcp://0.0.0.0:5555", [2023-04-13T06:38:04.053Z] "unix:///var/run/docker.sock" [2023-04-13T06:38:04.053Z] ], [2023-04-13T06:38:04.053Z] "mtu": 1458, [2023-04-13T06:38:04.053Z] "selinux-enabled": true, [2023-04-13T06:38:04.053Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-13T06:38:04.053Z] } [Pipeline] sh [2023-04-13T06:38:04.426Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-13T06:38:04.774Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T06:38:23.125Z] provisioning config files... [2023-04-13T06:38:23.160Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8541709302719273431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:38:23.554Z] ---> docker-login.sh [2023-04-13T06:38:23.554Z] nexus3.edgexfoundry.org:10001 [2023-04-13T06:38:24.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:38:24.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:38:24.146Z] Configure a credential helper to remove this warning. See [2023-04-13T06:38:24.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:38:24.146Z] [2023-04-13T06:38:24.146Z] Login Succeeded [2023-04-13T06:38:24.417Z] nexus3.edgexfoundry.org:10002 [2023-04-13T06:38:24.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:38:24.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:38:24.687Z] Configure a credential helper to remove this warning. See [2023-04-13T06:38:24.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:38:24.687Z] [2023-04-13T06:38:24.687Z] Login Succeeded [2023-04-13T06:38:24.687Z] nexus3.edgexfoundry.org:10003 [2023-04-13T06:38:24.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:38:24.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:38:24.958Z] Configure a credential helper to remove this warning. See [2023-04-13T06:38:24.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:38:24.958Z] [2023-04-13T06:38:24.958Z] Login Succeeded [2023-04-13T06:38:24.958Z] nexus3.edgexfoundry.org:10004 [2023-04-13T06:38:25.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:38:25.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:38:25.504Z] Configure a credential helper to remove this warning. See [2023-04-13T06:38:25.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:38:25.504Z] [2023-04-13T06:38:25.504Z] Login Succeeded [2023-04-13T06:38:25.504Z] docker.io [2023-04-13T06:38:25.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:38:26.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:38:26.043Z] Configure a credential helper to remove this warning. See [2023-04-13T06:38:26.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:38:26.043Z] [2023-04-13T06:38:26.043Z] Login Succeeded [2023-04-13T06:38:26.043Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T06:38:26.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T06:38:26.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T06:38:26.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T06:38:26.626Z] ========================================================= [2023-04-13T06:38:26.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-13T06:38:26.626Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:38:27.135Z] + 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-04-13T06:38:28.558Z] Sending build context to Docker daemon 11.93MB [2023-04-13T06:38:28.558Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T06:38:28.558Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T06:38:28.558Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-13T06:38:28.558Z] af6eaf76a39c: Pulling fs layer [2023-04-13T06:38:28.558Z] 55522c791124: Pulling fs layer [2023-04-13T06:38:28.558Z] ce5c4a1c91eb: Pulling fs layer [2023-04-13T06:38:28.558Z] 169dfbe0d373: Pulling fs layer [2023-04-13T06:38:28.558Z] e1ff8fa3b103: Pulling fs layer [2023-04-13T06:38:28.558Z] 52ebb69f0ebf: Pulling fs layer [2023-04-13T06:38:28.558Z] 5abe8eddf0d5: Pulling fs layer [2023-04-13T06:38:28.558Z] e1ff8fa3b103: Waiting [2023-04-13T06:38:28.558Z] 5abe8eddf0d5: Waiting [2023-04-13T06:38:28.558Z] 169dfbe0d373: Waiting [2023-04-13T06:38:28.558Z] 52ebb69f0ebf: Waiting [2023-04-13T06:38:28.558Z] 55522c791124: Verifying Checksum [2023-04-13T06:38:28.558Z] 55522c791124: Download complete [2023-04-13T06:38:28.558Z] 169dfbe0d373: Verifying Checksum [2023-04-13T06:38:28.558Z] 169dfbe0d373: Download complete [2023-04-13T06:38:28.827Z] e1ff8fa3b103: Verifying Checksum [2023-04-13T06:38:28.827Z] e1ff8fa3b103: Download complete [2023-04-13T06:38:28.827Z] af6eaf76a39c: Verifying Checksum [2023-04-13T06:38:28.827Z] af6eaf76a39c: Download complete [2023-04-13T06:38:29.925Z] af6eaf76a39c: Pull complete [2023-04-13T06:38:30.204Z] 5abe8eddf0d5: Verifying Checksum [2023-04-13T06:38:30.204Z] 5abe8eddf0d5: Download complete [2023-04-13T06:38:30.475Z] 55522c791124: Pull complete [2023-04-13T06:38:31.450Z] ce5c4a1c91eb: Verifying Checksum [2023-04-13T06:38:31.450Z] ce5c4a1c91eb: Download complete [2023-04-13T06:38:31.450Z] 52ebb69f0ebf: Verifying Checksum [2023-04-13T06:38:31.450Z] 52ebb69f0ebf: Download complete [2023-04-13T06:38:43.813Z] ce5c4a1c91eb: Pull complete [2023-04-13T06:38:43.813Z] 169dfbe0d373: Pull complete [2023-04-13T06:38:43.813Z] e1ff8fa3b103: Pull complete [2023-04-13T06:38:50.482Z] 52ebb69f0ebf: Pull complete [2023-04-13T06:38:51.900Z] 5abe8eddf0d5: Pull complete [2023-04-13T06:38:51.900Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-13T06:38:51.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-13T06:38:51.900Z] ---> 6cb57ee374ae [2023-04-13T06:38:51.900Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T06:38:52.871Z] ---> Running in 5b2b455cf5a8 [2023-04-13T06:38:52.871Z] Removing intermediate container 5b2b455cf5a8 [2023-04-13T06:38:52.871Z] ---> 410499335f00 [2023-04-13T06:38:52.871Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T06:38:53.141Z] ---> Running in 9ff842985317 [2023-04-13T06:38:53.411Z] Removing intermediate container 9ff842985317 [2023-04-13T06:38:53.411Z] ---> e37f98c1120a [2023-04-13T06:38:53.411Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T06:38:53.411Z] ---> Running in 646526a4694e [2023-04-13T06:38:53.682Z] Removing intermediate container 646526a4694e [2023-04-13T06:38:53.682Z] ---> 508ff0f438a7 [2023-04-13T06:38:53.682Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-13T06:38:53.682Z] ---> Running in 31b5d9f7054f [2023-04-13T06:38:53.953Z] Removing intermediate container 31b5d9f7054f [2023-04-13T06:38:53.953Z] ---> a1d4996749fd [2023-04-13T06:38:53.953Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T06:38:54.227Z] ---> Running in fdc1dcc2c6fc [2023-04-13T06:38:55.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T06:38:55.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T06:38:56.739Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T06:38:57.006Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T06:38:57.006Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T06:38:57.006Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T06:38:57.006Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T06:38:57.006Z] OK: 268 MiB in 57 packages [2023-04-13T06:38:57.985Z] Removing intermediate container fdc1dcc2c6fc [2023-04-13T06:38:57.985Z] ---> b08a98676f50 [2023-04-13T06:38:57.985Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-13T06:38:58.573Z] ---> e85b26cd4e04 [2023-04-13T06:38:58.573Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T06:38:58.573Z] ---> Running in bfa7b12a7843 [2023-04-13T06:40:06.475Z] Removing intermediate container bfa7b12a7843 [2023-04-13T06:40:06.475Z] ---> 38e46321f4c3 [2023-04-13T06:40:06.475Z] Step 10/12 : COPY . . [2023-04-13T06:40:06.475Z] ---> db67483b89c4 [2023-04-13T06:40:06.475Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T06:40:06.475Z] ---> Running in 8c1eed6b3f03 [2023-04-13T06:40:06.475Z] Removing intermediate container 8c1eed6b3f03 [2023-04-13T06:40:06.475Z] ---> 86b9e2a6dbeb [2023-04-13T06:40:06.475Z] Step 12/12 : RUN $MAKE [2023-04-13T06:40:06.475Z] ---> Running in 9a32c84e2706 [2023-04-13T06:40:06.475Z] noop [2023-04-13T06:40:06.475Z] Removing intermediate container 9a32c84e2706 [2023-04-13T06:40:06.475Z] ---> 4ebddc0d4bfa [2023-04-13T06:40:06.475Z] Successfully built 4ebddc0d4bfa [2023-04-13T06:40:06.475Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:40:06.980Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T06:40:06.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:40:07.287Z] prd-ubuntu20.04-docker-arm64-4c-16g-8404 does not seem to be running inside a container [2023-04-13T06:40:07.364Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-13T06:40:08.645Z] $ docker top ad252729764b4a0961239b540a40b29eb95eaf0266d100fa0572d322d9ba7b19 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T06:40:09.533Z] + go version [2023-04-13T06:40:09.533Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-13T06:40:09.563Z] $ docker stop --time=1 ad252729764b4a0961239b540a40b29eb95eaf0266d100fa0572d322d9ba7b19 [2023-04-13T06:40:11.212Z] $ docker rm -f --volumes ad252729764b4a0961239b540a40b29eb95eaf0266d100fa0572d322d9ba7b19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:40:12.096Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T06:40:12.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:40:12.369Z] prd-ubuntu20.04-docker-arm64-4c-16g-8404 does not seem to be running inside a container [2023-04-13T06:40:12.433Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-13T06:40:14.495Z] $ docker top b11f81fb82faf9c80b7bf6f576a0fcb53bc4e84a57ff26c4aab99758810a4986 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T06:40:15.393Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-13T06:40:15.791Z] + make test [2023-04-13T06:40:16.064Z] go test ./... -coverprofile=coverage.out [2023-04-13T06:40:48.334Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-13T06:42:40.019Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-04-13T06:42:40.019Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.094s coverage: 58.5% of statements [2023-04-13T06:42:40.019Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-13T06:42:40.019Z] go vet ./... [2023-04-13T06:43:02.097Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T06:43:02.097Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T06:43:02.097Z] ./bin/test-attribution-txt.sh [2023-04-13T06:43:02.097Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T06:43:02.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T06:43:02.175Z] $ docker stop --time=1 b11f81fb82faf9c80b7bf6f576a0fcb53bc4e84a57ff26c4aab99758810a4986 [2023-04-13T06:43:03.999Z] $ docker rm -f --volumes b11f81fb82faf9c80b7bf6f576a0fcb53bc4e84a57ff26c4aab99758810a4986 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T06:43:05.195Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T06:43:05.232Z] Warning: overwriting stash ‘coverage-report’ [2023-04-13T06:43:05.685Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T06:43:06.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T06:43:06.618Z] + ls -al . [2023-04-13T06:43:06.618Z] total 188 [2023-04-13T06:43:06.618Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:40 . [2023-04-13T06:43:06.618Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:37 .. [2023-04-13T06:43:06.618Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:37 .git [2023-04-13T06:43:06.618Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:37 .github [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 337 Apr 13 06:37 .gitignore [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 06:37 .golangci.yml [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 8641 Apr 13 06:37 Attribution.txt [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 11367 Apr 13 06:37 CHANGELOG.md [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 1646 Apr 13 06:37 Dockerfile [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 06:37 GOVERNANCE.md [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 13 06:37 Jenkinsfile [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 06:37 LICENSE [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 1696 Apr 13 06:37 Makefile [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 13 06:37 OWNERS.md [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 3578 Apr 13 06:37 README.md [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 06:35 VERSION [2023-04-13T06:43:06.618Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:37 bin [2023-04-13T06:43:06.618Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:37 cmd [2023-04-13T06:43:06.618Z] -rw-r--r-- 1 jenkins jenkins 42970 Apr 13 06:42 coverage.out [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 3209 Apr 13 06:37 go.mod [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 31219 Apr 13 06:37 go.sum [2023-04-13T06:43:06.618Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:37 internal [2023-04-13T06:43:06.618Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:37 snap [2023-04-13T06:43:06.618Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 13 06:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:43:07.027Z] + 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=7c8505111f6f113d92a2c30437fe8275a6e7a1c1 --label arch=arm64 --label version=0.0.0 . [2023-04-13T06:43:07.296Z] Sending build context to Docker daemon 11.98MB [2023-04-13T06:43:07.296Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T06:43:07.296Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-13T06:43:07.296Z] ---> 4ebddc0d4bfa [2023-04-13T06:43:07.296Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T06:43:07.566Z] ---> Running in 444a5726e30d [2023-04-13T06:43:07.835Z] Removing intermediate container 444a5726e30d [2023-04-13T06:43:07.835Z] ---> decd6290e6ca [2023-04-13T06:43:07.835Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T06:43:07.835Z] ---> Running in 2ddd58de036c [2023-04-13T06:43:08.103Z] Removing intermediate container 2ddd58de036c [2023-04-13T06:43:08.103Z] ---> 75598bc98a45 [2023-04-13T06:43:08.103Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-04-13T06:43:08.372Z] ---> Running in 2dca946a62ba [2023-04-13T06:43:08.641Z] Removing intermediate container 2dca946a62ba [2023-04-13T06:43:08.641Z] ---> 3230fcb45728 [2023-04-13T06:43:08.641Z] Step 6/25 : WORKDIR /device-virtual-go [2023-04-13T06:43:08.641Z] ---> Running in d880c97c54c8 [2023-04-13T06:43:08.911Z] Removing intermediate container d880c97c54c8 [2023-04-13T06:43:08.911Z] ---> 75f3c1788d8b [2023-04-13T06:43:08.911Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T06:43:09.184Z] ---> Running in 0000576f2500 [2023-04-13T06:43:10.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T06:43:10.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T06:43:11.705Z] OK: 268 MiB in 57 packages [2023-04-13T06:43:12.289Z] Removing intermediate container 0000576f2500 [2023-04-13T06:43:12.289Z] ---> d568f1def849 [2023-04-13T06:43:12.289Z] Step 8/25 : COPY go.mod vendor* ./ [2023-04-13T06:43:12.878Z] ---> 1725a4c09dcc [2023-04-13T06:43:12.878Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T06:43:12.878Z] ---> Running in e70cf3c02f09 [2023-04-13T06:43:15.458Z] Removing intermediate container e70cf3c02f09 [2023-04-13T06:43:15.458Z] ---> 9fb4539402c5 [2023-04-13T06:43:15.458Z] Step 10/25 : COPY . . [2023-04-13T06:43:18.037Z] ---> 8c7e9c04402c [2023-04-13T06:43:18.037Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T06:43:18.037Z] ---> Running in 9ecf7e9b19f0 [2023-04-13T06:43:18.304Z] Removing intermediate container 9ecf7e9b19f0 [2023-04-13T06:43:18.304Z] ---> e5608addf417 [2023-04-13T06:43:18.304Z] Step 12/25 : RUN $MAKE [2023-04-13T06:43:18.304Z] ---> Running in 3519fb4bc132 [2023-04-13T06:43:19.269Z] 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-04-13T06:45:25.945Z] Removing intermediate container 3519fb4bc132 [2023-04-13T06:45:25.945Z] ---> 51089a0b22c6 [2023-04-13T06:45:25.945Z] Step 13/25 : FROM alpine:3.17 [2023-04-13T06:45:25.945Z] 3.17: Pulling from library/alpine [2023-04-13T06:45:25.945Z] c41833b44d91: Pulling fs layer [2023-04-13T06:45:25.945Z] c41833b44d91: Verifying Checksum [2023-04-13T06:45:25.945Z] c41833b44d91: Download complete [2023-04-13T06:45:25.945Z] c41833b44d91: Pull complete [2023-04-13T06:45:25.945Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T06:45:25.945Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T06:45:25.945Z] ---> 51e60588ff2c [2023-04-13T06:45:25.945Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-04-13T06:45:25.945Z] ---> Running in f0705aa4df28 [2023-04-13T06:45:25.945Z] Removing intermediate container f0705aa4df28 [2023-04-13T06:45:25.945Z] ---> 78b5e9ecfb2f [2023-04-13T06:45:25.945Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-04-13T06:45:25.945Z] ---> Running in 1e1799d0a4ae [2023-04-13T06:45:25.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T06:45:25.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T06:45:25.945Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T06:45:25.945Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T06:45:25.945Z] OK: 8 MiB in 16 packages [2023-04-13T06:45:25.945Z] Removing intermediate container 1e1799d0a4ae [2023-04-13T06:45:25.945Z] ---> 4fedde98db7a [2023-04-13T06:45:25.945Z] Step 16/25 : WORKDIR / [2023-04-13T06:45:25.945Z] ---> Running in 6c090ff88e74 [2023-04-13T06:45:25.945Z] Removing intermediate container 6c090ff88e74 [2023-04-13T06:45:25.945Z] ---> ce8a87e8e4d7 [2023-04-13T06:45:25.945Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-04-13T06:45:25.945Z] ---> ee0dc25f1e77 [2023-04-13T06:45:25.945Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-04-13T06:45:25.945Z] ---> efe3c3b8ddda [2023-04-13T06:45:25.945Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-04-13T06:45:25.945Z] ---> cb5d92f1a949 [2023-04-13T06:45:25.945Z] Step 20/25 : EXPOSE 59900 [2023-04-13T06:45:25.945Z] ---> Running in 39d9c72e4c9a [2023-04-13T06:45:25.945Z] Removing intermediate container 39d9c72e4c9a [2023-04-13T06:45:25.945Z] ---> e200ef48539e [2023-04-13T06:45:25.945Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-04-13T06:45:25.945Z] ---> Running in f8d204fc71c3 [2023-04-13T06:45:25.945Z] Removing intermediate container f8d204fc71c3 [2023-04-13T06:45:25.945Z] ---> 35c7c1ca0996 [2023-04-13T06:45:25.945Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-13T06:45:25.945Z] ---> Running in 3d2f7686e4ea [2023-04-13T06:45:25.945Z] Removing intermediate container 3d2f7686e4ea [2023-04-13T06:45:25.945Z] ---> 17e4f6469664 [2023-04-13T06:45:25.945Z] Step 23/25 : LABEL arch=arm64 [2023-04-13T06:45:25.945Z] ---> Running in cf5f5aaf6c4d [2023-04-13T06:45:26.214Z] Removing intermediate container cf5f5aaf6c4d [2023-04-13T06:45:26.214Z] ---> 4d4894bc5f51 [2023-04-13T06:45:26.214Z] Step 24/25 : LABEL git_sha=7c8505111f6f113d92a2c30437fe8275a6e7a1c1 [2023-04-13T06:45:26.482Z] ---> Running in 608040ca5412 [2023-04-13T06:45:26.482Z] Removing intermediate container 608040ca5412 [2023-04-13T06:45:26.482Z] ---> 3e92165aee54 [2023-04-13T06:45:26.482Z] Step 25/25 : LABEL version=0.0.0 [2023-04-13T06:45:26.753Z] ---> Running in 2b5f5e95d02f [2023-04-13T06:45:27.018Z] Removing intermediate container 2b5f5e95d02f [2023-04-13T06:45:27.018Z] ---> 65247fbec933 [2023-04-13T06:45:27.018Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T06:45:27.018Z] Successfully built 65247fbec933 [2023-04-13T06:45:27.018Z] 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-04-13T06:45:27.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T06:45:27.813Z] [2023-04-13T06:45:27.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:45:28.217Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T06:45:28.217Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-13T06:45:28.217Z] 8998bd30e6a1: Pulling fs layer [2023-04-13T06:45:28.217Z] 04944245beec: Pulling fs layer [2023-04-13T06:45:28.217Z] 699f458cf7ca: Pulling fs layer [2023-04-13T06:45:28.217Z] 765212b225bb: Pulling fs layer [2023-04-13T06:45:28.217Z] f23df028b6ca: Pulling fs layer [2023-04-13T06:45:28.217Z] d65c8cfc05b1: Pulling fs layer [2023-04-13T06:45:28.217Z] 2437ff75d9bd: Pulling fs layer [2023-04-13T06:45:28.217Z] f23df028b6ca: Waiting [2023-04-13T06:45:28.217Z] d65c8cfc05b1: Waiting [2023-04-13T06:45:28.217Z] 2437ff75d9bd: Waiting [2023-04-13T06:45:28.217Z] 765212b225bb: Waiting [2023-04-13T06:45:28.483Z] 04944245beec: Verifying Checksum [2023-04-13T06:45:28.483Z] 04944245beec: Download complete [2023-04-13T06:45:28.483Z] 765212b225bb: Verifying Checksum [2023-04-13T06:45:28.483Z] 765212b225bb: Download complete [2023-04-13T06:45:28.483Z] f23df028b6ca: Verifying Checksum [2023-04-13T06:45:28.483Z] f23df028b6ca: Download complete [2023-04-13T06:45:28.483Z] d65c8cfc05b1: Verifying Checksum [2023-04-13T06:45:28.483Z] d65c8cfc05b1: Download complete [2023-04-13T06:45:28.751Z] 699f458cf7ca: Verifying Checksum [2023-04-13T06:45:28.751Z] 699f458cf7ca: Download complete [2023-04-13T06:45:29.018Z] 8998bd30e6a1: Verifying Checksum [2023-04-13T06:45:29.018Z] 8998bd30e6a1: Download complete [2023-04-13T06:45:30.970Z] 2437ff75d9bd: Verifying Checksum [2023-04-13T06:45:30.971Z] 2437ff75d9bd: Download complete [2023-04-13T06:45:32.908Z] 8998bd30e6a1: Pull complete [2023-04-13T06:45:33.174Z] 04944245beec: Pull complete [2023-04-13T06:45:34.581Z] 699f458cf7ca: Pull complete [2023-04-13T06:45:34.581Z] 765212b225bb: Pull complete [2023-04-13T06:45:35.273Z] f23df028b6ca: Pull complete [2023-04-13T06:45:35.548Z] d65c8cfc05b1: Pull complete [2023-04-13T06:45:50.661Z] 2437ff75d9bd: Pull complete [2023-04-13T06:45:50.661Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-13T06:45:50.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T06:45:50.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:45:50.982Z] prd-ubuntu20.04-docker-arm64-4c-16g-8404 does not seem to be running inside a container [2023-04-13T06:45:51.043Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-13T06:45:53.563Z] $ docker top e310ee42617691d8524babffdc1560474b2ebee08ccd043878672b2f8ac92f32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:45:54.479Z] ---> job-cost.sh [2023-04-13T06:45:54.479Z] lf-activate-venv: SKIPPING [2023-04-13T06:45:54.479Z] INFO: No Stack... [2023-04-13T06:45:54.746Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-13T06:45:55.710Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T06:45:56.056Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-04-13T06:45:56.056Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T06:45:56.405Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-380-1-stack-cost] [2023-04-13T06:45:56.410Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-380-1-stack-cost] did not exist. Created. [2023-04-13T06:45:56.410Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-380-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T06:45:56.822Z] /w/workspace/device-virtual-go/1@tmp/durable-589c305d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-13T06:46:00.363Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-13T06:46:00.407Z] Warning: overwriting stash ‘stack-cost’ [2023-04-13T06:46:00.456Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T06:46:00.472Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-380-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T06:46:00.549Z] $ docker stop --time=1 e310ee42617691d8524babffdc1560474b2ebee08ccd043878672b2f8ac92f32 [2023-04-13T06:46:02.053Z] $ docker rm -f --volumes e310ee42617691d8524babffdc1560474b2ebee08ccd043878672b2f8ac92f32 [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-04-13T06:46:03.077Z] provisioning config files... [2023-04-13T06:46:03.087Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-380@tmp/config8356851609706033755tmp [Pipeline] { [Pipeline] sh [2023-04-13T06:46:03.421Z] + set +x [2023-04-13T06:46:03.421Z] + + bashcurl -s -s -- https://codecov.io/bash [2023-04-13T06:46:03.421Z] [2023-04-13T06:46:03.421Z] [2023-04-13T06:46:03.421Z] _____ _ [2023-04-13T06:46:03.421Z] / ____| | | [2023-04-13T06:46:03.421Z] | | ___ __| | ___ ___ _____ __ [2023-04-13T06:46:03.421Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-13T06:46:03.421Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-13T06:46:03.421Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-13T06:46:03.421Z] Bash-1.0.6 [2023-04-13T06:46:03.421Z] [2023-04-13T06:46:03.421Z] [2023-04-13T06:46:03.421Z] ==> git version 2.25.1 found [2023-04-13T06:46:03.421Z] ==> 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-04-13T06:46:03.421Z] Release-Date: 2020-01-08 [2023-04-13T06:46:03.421Z] 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-04-13T06:46:03.421Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-13T06:46:03.421Z] ==> Jenkins CI detected. [2023-04-13T06:46:03.421Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-380 [2023-04-13T06:46:03.421Z] project root: . [2023-04-13T06:46:03.421Z] --> token set from env [2023-04-13T06:46:03.421Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-13T06:46:03.682Z] ==> Running gcov in . (disable via -X gcov) [2023-04-13T06:46:03.682Z] ==> Python coveragepy not found [2023-04-13T06:46:03.682Z] ==> Searching for coverage reports in: [2023-04-13T06:46:03.682Z] + . [2023-04-13T06:46:03.682Z] -> Found 1 reports [2023-04-13T06:46:03.682Z] ==> Detecting git/mercurial file structure [2023-04-13T06:46:03.682Z] ==> Reading reports [2023-04-13T06:46:03.682Z] + ./coverage.out bytes=42970 [2023-04-13T06:46:03.682Z] ==> Appending adjustments [2023-04-13T06:46:03.682Z] https://docs.codecov.io/docs/fixing-reports [2023-04-13T06:46:03.682Z] + Found adjustments [2023-04-13T06:46:03.682Z] ==> Gzipping contents [2023-04-13T06:46:03.682Z] 8.0K /tmp/codecov.Zpt2aJ.gz [2023-04-13T06:46:03.682Z] ==> Uploading reports [2023-04-13T06:46:03.682Z] url: https://codecov.io [2023-04-13T06:46:03.683Z] query: branch=PR-380&commit=7c8505111f6f113d92a2c30437fe8275a6e7a1c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-380%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=380&job=&cmd_args= [2023-04-13T06:46:03.683Z] -> Pinging Codecov [2023-04-13T06:46:03.683Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-380&commit=7c8505111f6f113d92a2c30437fe8275a6e7a1c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-380%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=380&job=&cmd_args= [2023-04-13T06:46:03.942Z] -> Uploading to [2023-04-13T06:46:03.942Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-13/5E52B4B073DB2E39498172D8E973AA87/7c8505111f6f113d92a2c30437fe8275a6e7a1c1/f7c12889-4510-4553-8f56-9a6421d1ccd3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T064603Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df28222268b2edbaf5e4301f5e2c671b75025f78d8a8852f0024d5f4630c24b1 [2023-04-13T06:46:03.942Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T06:46:03.942Z] Dload Upload Total Spent Left Speed [2023-04-13T06:46:04.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5164 0 0 100 5164 0 21338 --:--:-- --:--:-- --:--:-- 21338 [2023-04-13T06:46:04.201Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/7c8505111f6f113d92a2c30437fe8275a6e7a1c1 [Pipeline] } [2023-04-13T06:46:04.229Z] 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-04-13T06:46:05.919Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-380/archives ] [2023-04-13T06:46:05.919Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-380/archives [2023-04-13T06:46:05.919Z] total 16 [2023-04-13T06:46:05.919Z] drwxr-xr-x 3 root root 4096 Apr 13 06:37 . [2023-04-13T06:46:05.919Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 06:37 .. [2023-04-13T06:46:05.919Z] drwxr-xr-x 2 root root 4096 Apr 13 06:37 cost [2023-04-13T06:46:05.919Z] -rw-r--r-- 1 root root 89 Apr 13 06:37 cost.csv [2023-04-13T06:46:05.919Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-380/archives [2023-04-13T06:46:05.919Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-380/archives [2023-04-13T06:46:05.919Z] total 16 [2023-04-13T06:46:05.919Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 06:37 . [2023-04-13T06:46:05.919Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 06:37 .. [2023-04-13T06:46:05.919Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 06:37 cost [2023-04-13T06:46:05.920Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 13 06:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:46:06.254Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:46:07.176Z] ---> package-listing.sh [2023-04-13T06:46:07.176Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-13T06:46:07.176Z] ++ facter osfamily [2023-04-13T06:46:07.435Z] + OS_FAMILY=debian [2023-04-13T06:46:07.435Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-380 [2023-04-13T06:46:07.435Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-13T06:46:07.435Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-13T06:46:07.435Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-13T06:46:07.435Z] + PACKAGES=/tmp/packages_start.txt [2023-04-13T06:46:07.435Z] + '[' /w/workspace/foundry_device-virtual-go_PR-380 ']' [2023-04-13T06:46:07.435Z] + PACKAGES=/tmp/packages_end.txt [2023-04-13T06:46:07.435Z] + case "${OS_FAMILY}" in [2023-04-13T06:46:07.435Z] + dpkg -l [2023-04-13T06:46:07.435Z] + grep '^ii' [2023-04-13T06:46:07.435Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-13T06:46:07.435Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-13T06:46:07.435Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-13T06:46:07.435Z] + '[' /w/workspace/foundry_device-virtual-go_PR-380 ']' [2023-04-13T06:46:07.435Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-380/archives/ [2023-04-13T06:46:07.435Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-380/archives/ [Pipeline] echo [2023-04-13T06:46:07.467Z] 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-380/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-13T06:46:07.770Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:46:08.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T06:46:08.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:46:08.562Z] prd-ubuntu20.04-docker-8c-8g-8403 does not seem to be running inside a container [2023-04-13T06:46:08.593Z] $ 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-380/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-380 -v /w/workspace/foundry_device-virtual-go_PR-380:/w/workspace/foundry_device-virtual-go_PR-380:rw,z -v /w/workspace/foundry_device-virtual-go_PR-380@tmp:/w/workspace/foundry_device-virtual-go_PR-380@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T06:46:08.806Z] $ docker top 9bfeb2518876ab7c194482831938d820c01f08efd7ae40647599e8881ba8e7fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T06:46:09.198Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-13T06:46:09.507Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-13T06:46:09.819Z] + ls /var/log/sa-host [2023-04-13T06:46:09.819Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T06:46:10.028Z] provisioning config files... [2023-04-13T06:46:10.037Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-380@tmp/config3619641604112048726tmp [Pipeline] { [Pipeline] echo [2023-04-13T06:46:10.083Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:46:10.395Z] ---> create-netrc.sh [Pipeline] } [2023-04-13T06:46:10.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:46:10.828Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-13T06:46:10.865Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:46:11.183Z] ---> sudo-logs.sh [2023-04-13T06:46:11.183Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-13T06:46:11.263Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:46:11.572Z] ---> job-cost.sh [2023-04-13T06:46:11.573Z] lf-activate-venv: SKIPPING [2023-04-13T06:46:11.573Z] DEBUG: total: 0.2199999988079071 [2023-04-13T06:46:11.573Z] INFO: Retrieving Stack Cost... [2023-04-13T06:46:11.832Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T06:46:12.400Z] INFO: Archiving Costs [Pipeline] echo [2023-04-13T06:46:12.435Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:46:12.744Z] ---> logs-deploy.sh [2023-04-13T06:46:12.744Z] lf-activate-venv: SKIPPING [2023-04-13T06:46:12.744Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-380/1 [2023-04-13T06:46:12.744Z] INFO: archiving workspace using pattern(s): [2023-04-13T06:46:13.683Z] Archives upload complete. [2023-04-13T06:46:13.683Z] INFO: archiving logs to Nexus