Pull request #376 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 4efa56b4c53bfd63d1b185632fb211d8f865e63a rather than 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 Obtained Jenkinsfile from 4efa56b4c53bfd63d1b185632fb211d8f865e63a 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-ssh2434975526377587392.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8831974196040417812.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh 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-376/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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11277936139534574104.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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13342852790573582570.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh5983193249292650562.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-376/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-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh844998419995620762.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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 ‘prd-ubuntu20.04-docker-8c-8g-7119’ Running on prd-ubuntu20.04-docker-8c-8g-7121 in /w/workspace/foundry_device-virtual-go_PR-376 [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-376 # 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 Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 Merge succeeded, producing 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 Checking out Revision 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 (PR-376) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 # 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 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-07T09:23:00.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-07T09:23:00.733Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-07T09:23:00.829Z] ========================================================= [2023-04-07T09:23:00.829Z] EdgeX Global Pipelines Version Info [2023-04-07T09:23:00.829Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:23:01.577Z] ------------------- [2023-04-07T09:23:01.577Z] stable info: [2023-04-07T09:23:01.577Z] ------------------- [2023-04-07T09:23:01.577Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-07T09:23:01.577Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-07T09:23:01.577Z] Message: update stable to v1.0.245 [2023-04-07T09:23:02.150Z] ------------------- [2023-04-07T09:23:02.150Z] experimental info: [2023-04-07T09:23:02.150Z] ------------------- [2023-04-07T09:23:02.150Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-07T09:23:02.150Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-07T09:23:02.150Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-07T09:23:02.452Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-04-07T09:23:02.493Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-04-07T09:23:02.539Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-07T09:23:02.580Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-07T09:23:02.623Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-07T09:23:02.661Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-07T09:23:02.703Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-07T09:23:02.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-07T09:23:02.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-07T09:23:02.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-07T09:23:02.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-07T09:23:02.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-04-07T09:23:02.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-07T09:23:03.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-07T09:23:03.045Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-07T09:23:03.088Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-07T09:23:03.132Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T09:23:03.174Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T09:23:03.225Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-07T09:23:03.267Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-07T09:23:03.309Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-07T09:23:03.352Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-07T09:23:03.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-07T09:23:03.441Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-07T09:23:03.484Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-07T09:23:03.527Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-07T09:23:03.570Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-07T09:23:03.613Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo [2023-04-07T09:23:03.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo [2023-04-07T09:23:03.697Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo [2023-04-07T09:23:03.740Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [Pipeline] echo [2023-04-07T09:23:03.779Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1af87b1 [Pipeline] echo [2023-04-07T09:23:03.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T09:23:03.940Z] provisioning config files... [2023-04-07T09:23:03.955Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config9467438187590864855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:23:04.299Z] ---> docker-login.sh [2023-04-07T09:23:04.299Z] nexus3.edgexfoundry.org:10001 [2023-04-07T09:23:04.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:23:04.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:23:04.561Z] Configure a credential helper to remove this warning. See [2023-04-07T09:23:04.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:23:04.561Z] [2023-04-07T09:23:04.561Z] Login Succeeded [2023-04-07T09:23:04.561Z] nexus3.edgexfoundry.org:10002 [2023-04-07T09:23:04.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:23:04.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:23:04.561Z] Configure a credential helper to remove this warning. See [2023-04-07T09:23:04.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:23:04.561Z] [2023-04-07T09:23:04.561Z] Login Succeeded [2023-04-07T09:23:04.561Z] nexus3.edgexfoundry.org:10003 [2023-04-07T09:23:04.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:23:04.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:23:04.822Z] Configure a credential helper to remove this warning. See [2023-04-07T09:23:04.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:23:04.822Z] [2023-04-07T09:23:04.822Z] Login Succeeded [2023-04-07T09:23:04.822Z] nexus3.edgexfoundry.org:10004 [2023-04-07T09:23:04.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:23:04.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:23:04.822Z] Configure a credential helper to remove this warning. See [2023-04-07T09:23:04.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:23:04.822Z] [2023-04-07T09:23:04.822Z] Login Succeeded [2023-04-07T09:23:04.822Z] docker.io [2023-04-07T09:23:05.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:23:05.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:23:05.082Z] Configure a credential helper to remove this warning. See [2023-04-07T09:23:05.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:23:05.082Z] [2023-04-07T09:23:05.082Z] Login Succeeded [2023-04-07T09:23:05.082Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T09:23:05.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-07T09:23:05.786Z] + git rev-list -1 --merges 1af87b10f7d9f04dbdc95f01e0cf938275db6d03~1..1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [Pipeline] echo [2023-04-07T09:23:05.850Z] -----------> git rev-list -1 --merges 1af87b10f7d9f04dbdc95f01e0cf938275db6d03~1..1af87b10f7d9f04dbdc95f01e0cf938275db6d03 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [false] [Pipeline] sh [2023-04-07T09:23:06.165Z] + git log --format=format:%s -1 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [Pipeline] echo [2023-04-07T09:23:06.197Z] ========================================================= [2023-04-07T09:23:06.197Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-07T09:23:06.197Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T09:23:06.637Z] + git log --format=format:%s -1 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [Pipeline] echo [2023-04-07T09:23:06.666Z] [semverPrep] GIT_COMMIT: 1af87b10f7d9f04dbdc95f01e0cf938275db6d03, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo [2023-04-07T09:23:06.694Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-07T09:23:07.092Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-07T09:23:07.092Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-07T09:23:07.092Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-07T09:23:07.092Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-07T09:23:07.092Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-07T09:23:07.092Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-07T09:23:07.092Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:23:07.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T09:23:07.594Z] [2023-04-07T09:23:07.594Z] 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-07T09:23:07.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T09:23:07.968Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-07T09:23:07.968Z] b85a868b505f: Pulling fs layer [2023-04-07T09:23:07.968Z] e2be974225ed: Pulling fs layer [2023-04-07T09:23:07.968Z] 339a4e72a1f5: Pulling fs layer [2023-04-07T09:23:07.968Z] 988bab9f4d93: Pulling fs layer [2023-04-07T09:23:07.968Z] 1469e6f7b9e6: Pulling fs layer [2023-04-07T09:23:07.968Z] eaf3925da568: Pulling fs layer [2023-04-07T09:23:07.968Z] bab4dde63d76: Pulling fs layer [2023-04-07T09:23:07.968Z] bde34c3a00c8: Pulling fs layer [2023-04-07T09:23:07.968Z] b352a97aabf1: Pulling fs layer [2023-04-07T09:23:07.968Z] 4872d77fe225: Pulling fs layer [2023-04-07T09:23:07.968Z] 5851b861e8e6: Pulling fs layer [2023-04-07T09:23:07.968Z] 988bab9f4d93: Waiting [2023-04-07T09:23:07.968Z] 1469e6f7b9e6: Waiting [2023-04-07T09:23:07.968Z] eaf3925da568: Waiting [2023-04-07T09:23:07.968Z] bab4dde63d76: Waiting [2023-04-07T09:23:07.968Z] bde34c3a00c8: Waiting [2023-04-07T09:23:07.968Z] b352a97aabf1: Waiting [2023-04-07T09:23:07.968Z] 4872d77fe225: Waiting [2023-04-07T09:23:07.968Z] 5851b861e8e6: Waiting [2023-04-07T09:23:07.968Z] e2be974225ed: Verifying Checksum [2023-04-07T09:23:07.968Z] e2be974225ed: Download complete [2023-04-07T09:23:07.968Z] 988bab9f4d93: Verifying Checksum [2023-04-07T09:23:07.968Z] 988bab9f4d93: Download complete [2023-04-07T09:23:08.229Z] 1469e6f7b9e6: Verifying Checksum [2023-04-07T09:23:08.229Z] 1469e6f7b9e6: Download complete [2023-04-07T09:23:08.229Z] eaf3925da568: Download complete [2023-04-07T09:23:08.229Z] 339a4e72a1f5: Verifying Checksum [2023-04-07T09:23:08.229Z] 339a4e72a1f5: Download complete [2023-04-07T09:23:08.229Z] bde34c3a00c8: Download complete [2023-04-07T09:23:08.229Z] b352a97aabf1: Download complete [2023-04-07T09:23:08.229Z] 4872d77fe225: Verifying Checksum [2023-04-07T09:23:08.229Z] 4872d77fe225: Download complete [2023-04-07T09:23:08.229Z] 5851b861e8e6: Verifying Checksum [2023-04-07T09:23:08.230Z] 5851b861e8e6: Download complete [2023-04-07T09:23:08.230Z] b85a868b505f: Verifying Checksum [2023-04-07T09:23:08.230Z] b85a868b505f: Download complete [2023-04-07T09:23:08.488Z] bab4dde63d76: Verifying Checksum [2023-04-07T09:23:08.488Z] bab4dde63d76: Download complete [2023-04-07T09:23:09.424Z] b85a868b505f: Pull complete [2023-04-07T09:23:09.685Z] e2be974225ed: Pull complete [2023-04-07T09:23:10.253Z] 339a4e72a1f5: Pull complete [2023-04-07T09:23:10.253Z] 988bab9f4d93: Pull complete [2023-04-07T09:23:10.513Z] 1469e6f7b9e6: Pull complete [2023-04-07T09:23:10.513Z] eaf3925da568: Pull complete [2023-04-07T09:23:12.421Z] bab4dde63d76: Pull complete [2023-04-07T09:23:12.421Z] bde34c3a00c8: Pull complete [2023-04-07T09:23:12.421Z] b352a97aabf1: Pull complete [2023-04-07T09:23:12.421Z] 4872d77fe225: Pull complete [2023-04-07T09:23:12.421Z] 5851b861e8e6: Pull complete [2023-04-07T09:23:12.421Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-07T09:23:12.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T09:23:12.682Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T09:23:12.898Z] prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container [2023-04-07T09:23:12.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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-07T09:23:15.512Z] $ docker top 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 -eo pid,comm [2023-04-07T09:23:15.570Z] 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-07T09:23:15.570Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-07T09:23:15.710Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T09:23:15.710Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T09:23:15.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T09:23:15.832Z] $ docker exec 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 ssh-agent [2023-04-07T09:23:15.942Z] SSH_AUTH_SOCK=/tmp/ssh-Fww8T6w4lnR0/agent.32 [2023-04-07T09:23:15.942Z] SSH_AGENT_PID=38 [2023-04-07T09:23:15.950Z] Running ssh-add (command line suppressed) [2023-04-07T09:23:16.058Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_7258045033567147451.key (/w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_7258045033567147451.key) [2023-04-07T09:23:16.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T09:23:16.406Z] + git tag --points-at HEAD [Pipeline] } [2023-04-07T09:23:16.433Z] $ docker exec --env ******** --env ******** 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 ssh-agent -k [2023-04-07T09:23:16.534Z] unset SSH_AUTH_SOCK; [2023-04-07T09:23:16.537Z] unset SSH_AGENT_PID; [2023-04-07T09:23:16.537Z] echo Agent pid 38 killed; [2023-04-07T09:23:16.545Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-07T09:23:16.622Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T09:23:16.622Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T09:23:16.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T09:23:16.738Z] $ docker exec 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 ssh-agent [2023-04-07T09:23:16.839Z] SSH_AUTH_SOCK=/tmp/ssh-eMW4vumYE5Fr/agent.70 [2023-04-07T09:23:16.839Z] SSH_AGENT_PID=76 [2023-04-07T09:23:16.845Z] Running ssh-add (command line suppressed) [2023-04-07T09:23:16.951Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_15082602895005376174.key (/w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_15082602895005376174.key) [2023-04-07T09:23:16.967Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T09:23:17.299Z] + git semver init [2023-04-07T09:23:17.560Z] 2023-04-07 09:23:17,480 [run_init] DEBUG init version:0.0.0 force:False [2023-04-07T09:23:17.560Z] 2023-04-07 09:23:17,481 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-376/.semver [2023-04-07T09:23:17.560Z] 2023-04-07 09:23:17,482 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-376/.semver [2023-04-07T09:23:17.560Z] 2023-04-07 09:23:17,482 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-376/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-376, universal_newlines=False, shell=None, istream=None) [2023-04-07T09:23:18.945Z] 2023-04-07 09:23:18,582 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-376/.git/info/exclude [2023-04-07T09:23:18.945Z] 2023-04-07 09:23:18,583 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 with force:False [2023-04-07T09:23:18.945Z] 2023-04-07 09:23:18,583 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 [2023-04-07T09:23:18.945Z] 2023-04-07 09:23:18,586 [execute] INFO git cat-file --batch-check [2023-04-07T09:23:18.945Z] 2023-04-07 09:23:18,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T09:23:18.945Z] 2023-04-07 09:23:18,592 [execute] INFO git cat-file --batch [2023-04-07T09:23:18.945Z] 2023-04-07 09:23:18,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T09:23:18.945Z] 2023-04-07 09:23:18,597 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 [2023-04-07T09:23:18.945Z] 0.0.0 [Pipeline] } [2023-04-07T09:23:18.974Z] $ docker exec --env ******** --env ******** 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 ssh-agent -k [2023-04-07T09:23:19.059Z] unset SSH_AUTH_SOCK; [2023-04-07T09:23:19.059Z] unset SSH_AGENT_PID; [2023-04-07T09:23:19.059Z] echo Agent pid 76 killed; [2023-04-07T09:23:19.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-07T09:23:19.501Z] + git semver [Pipeline] } [2023-04-07T09:23:19.791Z] $ docker stop --time=1 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 [2023-04-07T09:23:21.070Z] $ docker rm -f --volumes 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T09:23:21.463Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-07T09:23:21.734Z] Stashed 1 file(s) [Pipeline] echo [2023-04-07T09:23:21.753Z] [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-07T09:23:22.350Z] provisioning config files... [2023-04-07T09:23:22.361Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config14443615455840530065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:23:22.710Z] ---> docker-login.sh [2023-04-07T09:23:22.710Z] nexus3.edgexfoundry.org:10001 [2023-04-07T09:23:22.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:23:22.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:23:22.710Z] Configure a credential helper to remove this warning. See [2023-04-07T09:23:22.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:23:22.710Z] [2023-04-07T09:23:22.710Z] Login Succeeded [2023-04-07T09:23:22.710Z] nexus3.edgexfoundry.org:10002 [2023-04-07T09:23:22.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:23:22.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:23:22.710Z] Configure a credential helper to remove this warning. See [2023-04-07T09:23:22.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:23:22.710Z] [2023-04-07T09:23:22.710Z] Login Succeeded [2023-04-07T09:23:22.710Z] nexus3.edgexfoundry.org:10003 [2023-04-07T09:23:22.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:23:22.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:23:22.970Z] Configure a credential helper to remove this warning. See [2023-04-07T09:23:22.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:23:22.970Z] [2023-04-07T09:23:22.970Z] Login Succeeded [2023-04-07T09:23:22.970Z] nexus3.edgexfoundry.org:10004 [2023-04-07T09:23:22.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:23:22.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:23:22.970Z] Configure a credential helper to remove this warning. See [2023-04-07T09:23:22.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:23:22.970Z] [2023-04-07T09:23:22.970Z] Login Succeeded [2023-04-07T09:23:22.970Z] docker.io [2023-04-07T09:23:22.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:23:23.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:23:23.229Z] Configure a credential helper to remove this warning. See [2023-04-07T09:23:23.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:23:23.229Z] [2023-04-07T09:23:23.229Z] Login Succeeded [2023-04-07T09:23:23.229Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T09:23:23.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T09:23:23.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T09:23:23.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T09:23:23.520Z] ========================================================= [2023-04-07T09:23:23.520Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-07T09:23:23.520Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:23:23.995Z] + 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-07T09:23:23.995Z] Sending build context to Docker daemon 23.55MB [2023-04-07T09:23:23.995Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T09:23:23.995Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-07T09:23:24.256Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-07T09:23:24.256Z] 63b65145d645: Pulling fs layer [2023-04-07T09:23:24.256Z] a2d21d5440eb: Pulling fs layer [2023-04-07T09:23:24.256Z] 935e6c44a52c: Pulling fs layer [2023-04-07T09:23:24.256Z] 94cc34f8dd06: Pulling fs layer [2023-04-07T09:23:24.256Z] 30dea6a524f1: Pulling fs layer [2023-04-07T09:23:24.256Z] a2aff8979fd8: Pulling fs layer [2023-04-07T09:23:24.256Z] 6808be2612f2: Pulling fs layer [2023-04-07T09:23:24.256Z] f25807f1079a: Pulling fs layer [2023-04-07T09:23:24.256Z] 30dea6a524f1: Waiting [2023-04-07T09:23:24.256Z] a2aff8979fd8: Waiting [2023-04-07T09:23:24.256Z] 6808be2612f2: Waiting [2023-04-07T09:23:24.256Z] f25807f1079a: Waiting [2023-04-07T09:23:24.256Z] 94cc34f8dd06: Waiting [2023-04-07T09:23:24.256Z] a2d21d5440eb: Download complete [2023-04-07T09:23:24.256Z] 94cc34f8dd06: Download complete [2023-04-07T09:23:24.256Z] 30dea6a524f1: Download complete [2023-04-07T09:23:24.256Z] 63b65145d645: Verifying Checksum [2023-04-07T09:23:24.256Z] 63b65145d645: Download complete [2023-04-07T09:23:24.256Z] a2aff8979fd8: Verifying Checksum [2023-04-07T09:23:24.256Z] a2aff8979fd8: Download complete [2023-04-07T09:23:24.256Z] 63b65145d645: Pull complete [2023-04-07T09:23:24.517Z] a2d21d5440eb: Pull complete [2023-04-07T09:23:24.778Z] f25807f1079a: Verifying Checksum [2023-04-07T09:23:24.778Z] f25807f1079a: Download complete [2023-04-07T09:23:24.778Z] 935e6c44a52c: Verifying Checksum [2023-04-07T09:23:24.778Z] 935e6c44a52c: Download complete [2023-04-07T09:23:25.037Z] 6808be2612f2: Verifying Checksum [2023-04-07T09:23:25.037Z] 6808be2612f2: Download complete [2023-04-07T09:23:28.320Z] 935e6c44a52c: Pull complete [2023-04-07T09:23:28.320Z] 94cc34f8dd06: Pull complete [2023-04-07T09:23:28.320Z] 30dea6a524f1: Pull complete [2023-04-07T09:23:28.320Z] a2aff8979fd8: Pull complete [2023-04-07T09:23:30.851Z] 6808be2612f2: Pull complete [2023-04-07T09:23:31.417Z] f25807f1079a: Pull complete [2023-04-07T09:23:31.417Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-07T09:23:31.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-07T09:23:31.417Z] ---> 3b553350e43f [2023-04-07T09:23:31.417Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-07T09:23:35.670Z] ---> Running in 0437c0e69de8 [2023-04-07T09:23:35.670Z] Removing intermediate container 0437c0e69de8 [2023-04-07T09:23:35.670Z] ---> 3fa5fb6e2b74 [2023-04-07T09:23:35.670Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-07T09:23:35.670Z] ---> Running in 37ee9268b024 [2023-04-07T09:23:35.670Z] Removing intermediate container 37ee9268b024 [2023-04-07T09:23:35.670Z] ---> 2432bf505148 [2023-04-07T09:23:35.670Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-07T09:23:35.670Z] ---> Running in d11cbcd976aa [2023-04-07T09:23:35.670Z] Removing intermediate container d11cbcd976aa [2023-04-07T09:23:35.670Z] ---> f586f29fff28 [2023-04-07T09:23:35.670Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-07T09:23:35.670Z] ---> Running in 9625ae14c57d [2023-04-07T09:23:35.670Z] Removing intermediate container 9625ae14c57d [2023-04-07T09:23:35.670Z] ---> 0cef2f8eeefa [2023-04-07T09:23:35.670Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-07T09:23:35.670Z] ---> Running in c2c911d7b65e [2023-04-07T09:23:35.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T09:23:36.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T09:23:36.449Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-07T09:23:36.449Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-07T09:23:36.449Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-07T09:23:36.449Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-07T09:23:36.449Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T09:23:36.449Z] OK: 269 MiB in 57 packages [2023-04-07T09:23:37.029Z] Removing intermediate container c2c911d7b65e [2023-04-07T09:23:37.029Z] ---> a8fa6ca65f4b [2023-04-07T09:23:37.029Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-07T09:23:37.029Z] ---> 96576fb71e25 [2023-04-07T09:23:37.030Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T09:23:37.030Z] ---> Running in 9a71517f3252 [2023-04-07T09:23:37.182Z] Still waiting to schedule task [2023-04-07T09:23:37.183Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7120’ is offline [2023-04-07T09:24:03.762Z] Removing intermediate container 9a71517f3252 [2023-04-07T09:24:03.762Z] ---> 6c20ab5ee2f9 [2023-04-07T09:24:03.762Z] Step 10/12 : COPY . . [2023-04-07T09:24:04.696Z] ---> 3ccd315f637a [2023-04-07T09:24:04.696Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T09:24:04.696Z] ---> Running in 731ab0dbd4e4 [2023-04-07T09:24:04.696Z] Removing intermediate container 731ab0dbd4e4 [2023-04-07T09:24:04.696Z] ---> 31b5e5e8a303 [2023-04-07T09:24:04.696Z] Step 12/12 : RUN $MAKE [2023-04-07T09:24:04.696Z] ---> Running in 7c2ba829a534 [2023-04-07T09:24:04.955Z] noop [2023-04-07T09:24:05.214Z] Removing intermediate container 7c2ba829a534 [2023-04-07T09:24:05.214Z] ---> 99b9e267d344 [2023-04-07T09:24:05.214Z] Successfully built 99b9e267d344 [2023-04-07T09:24:05.214Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:24:05.664Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T09:24:05.665Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T09:24:05.824Z] prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container [2023-04-07T09:24:05.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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-07T09:24:06.185Z] $ docker top 20ed96249dc216aada9dd29c246a7680826185ad21be24ce78a7505ec02e4d4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T09:24:06.571Z] + go version [2023-04-07T09:24:06.571Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-07T09:24:06.609Z] $ docker stop --time=1 20ed96249dc216aada9dd29c246a7680826185ad21be24ce78a7505ec02e4d4a [2023-04-07T09:24:07.889Z] $ docker rm -f --volumes 20ed96249dc216aada9dd29c246a7680826185ad21be24ce78a7505ec02e4d4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:24:08.604Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T09:24:08.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T09:24:08.760Z] prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container [2023-04-07T09:24:08.797Z] $ 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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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-07T09:24:09.124Z] $ docker top 9ae133827c8cb5adf699ac05d80f79bc7ec3c84b80ecea798fde7b9895af41df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T09:24:09.499Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-376 [Pipeline] fileExists [Pipeline] sh [2023-04-07T09:24:09.851Z] + make test [2023-04-07T09:24:09.851Z] go test ./... -coverprofile=coverage.out [2023-04-07T09:24:15.116Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-07T09:24:23.216Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-04-07T09:24:23.216Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.036s coverage: 59.1% of statements [2023-04-07T09:24:29.773Z] go vet ./... [2023-04-07T09:24:33.055Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-07T09:24:33.055Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-07T09:24:33.055Z] ./bin/test-attribution-txt.sh [2023-04-07T09:24:33.055Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-07T09:24:33.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-07T09:24:33.134Z] $ docker stop --time=1 9ae133827c8cb5adf699ac05d80f79bc7ec3c84b80ecea798fde7b9895af41df [2023-04-07T09:24:37.117Z] $ docker rm -f --volumes 9ae133827c8cb5adf699ac05d80f79bc7ec3c84b80ecea798fde7b9895af41df [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T09:24:37.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-07T09:24:37.713Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-07T09:24:38.305Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-07T09:24:38.616Z] + ls -al . [2023-04-07T09:24:38.617Z] total 192 [2023-04-07T09:24:38.617Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 09:24 . [2023-04-07T09:24:38.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:22 .. [2023-04-07T09:24:38.617Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:23 .git [2023-04-07T09:24:38.617Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:22 .github [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 337 Apr 7 09:22 .gitignore [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 09:22 .golangci.yml [2023-04-07T09:24:38.617Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:23 .semver [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 8641 Apr 7 09:22 Attribution.txt [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 11367 Apr 7 09:22 CHANGELOG.md [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 1646 Apr 7 09:22 Dockerfile [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 09:22 GOVERNANCE.md [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 09:22 Jenkinsfile [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:22 LICENSE [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 1696 Apr 7 09:22 Makefile [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 7 09:22 OWNERS.md [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 3578 Apr 7 09:22 README.md [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:23 VERSION [2023-04-07T09:24:38.617Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:22 bin [2023-04-07T09:24:38.617Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:22 cmd [2023-04-07T09:24:38.617Z] -rw-r--r-- 1 jenkins jenkins 42975 Apr 7 09:24 coverage.out [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 3209 Apr 7 09:22 go.mod [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 31219 Apr 7 09:22 go.sum [2023-04-07T09:24:38.617Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:22 internal [2023-04-07T09:24:38.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:22 snap [2023-04-07T09:24:38.617Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 09:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:24:39.010Z] + 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=1af87b10f7d9f04dbdc95f01e0cf938275db6d03 --label arch=amd64 --label version=0.0.0 . [2023-04-07T09:24:39.010Z] Sending build context to Docker daemon 23.59MB [2023-04-07T09:24:39.010Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T09:24:39.010Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-07T09:24:39.010Z] ---> 99b9e267d344 [2023-04-07T09:24:39.010Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-07T09:24:39.581Z] ---> Running in d10e0d195772 [2023-04-07T09:24:39.581Z] Removing intermediate container d10e0d195772 [2023-04-07T09:24:39.581Z] ---> 17f313dcfc5f [2023-04-07T09:24:39.581Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-07T09:24:39.581Z] ---> Running in 845f662e11ed [2023-04-07T09:24:39.581Z] Removing intermediate container 845f662e11ed [2023-04-07T09:24:39.581Z] ---> 47f2a22326ed [2023-04-07T09:24:39.581Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-04-07T09:24:39.581Z] ---> Running in e8f6a9e2783e [2023-04-07T09:24:39.581Z] Removing intermediate container e8f6a9e2783e [2023-04-07T09:24:39.581Z] ---> 5080299c9562 [2023-04-07T09:24:39.581Z] Step 6/25 : WORKDIR /device-virtual-go [2023-04-07T09:24:39.841Z] ---> Running in b4d0a3a4b1b8 [2023-04-07T09:24:39.841Z] Removing intermediate container b4d0a3a4b1b8 [2023-04-07T09:24:39.841Z] ---> 4f39bfeefccc [2023-04-07T09:24:39.841Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-07T09:24:39.841Z] ---> Running in 26095b307b92 [2023-04-07T09:24:40.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T09:24:40.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T09:24:40.624Z] OK: 269 MiB in 57 packages [2023-04-07T09:24:40.885Z] Removing intermediate container 26095b307b92 [2023-04-07T09:24:40.885Z] ---> 98fd34bbca8c [2023-04-07T09:24:40.885Z] Step 8/25 : COPY go.mod vendor* ./ [2023-04-07T09:24:40.885Z] ---> 341046331ac0 [2023-04-07T09:24:40.885Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T09:24:40.885Z] ---> Running in 5ad56f1df5fd [2023-04-07T09:24:41.823Z] Removing intermediate container 5ad56f1df5fd [2023-04-07T09:24:41.824Z] ---> 51caa1844b6e [2023-04-07T09:24:41.824Z] Step 10/25 : COPY . . [2023-04-07T09:24:42.394Z] ---> 842e1c955ce9 [2023-04-07T09:24:42.394Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T09:24:42.394Z] ---> Running in 5f6ee0384f2a [2023-04-07T09:24:42.394Z] Removing intermediate container 5f6ee0384f2a [2023-04-07T09:24:42.394Z] ---> b5a9ff121c33 [2023-04-07T09:24:42.394Z] Step 12/25 : RUN $MAKE [2023-04-07T09:24:42.394Z] ---> Running in 19cf9d93c706 [2023-04-07T09:24:42.652Z] 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-07T09:25:04.579Z] Removing intermediate container 19cf9d93c706 [2023-04-07T09:25:04.579Z] ---> 6fcf3c95a293 [2023-04-07T09:25:04.579Z] Step 13/25 : FROM alpine:3.17 [2023-04-07T09:25:04.579Z] 3.17: Pulling from library/alpine [2023-04-07T09:25:04.579Z] f56be85fc22e: Pulling fs layer [2023-04-07T09:25:04.579Z] f56be85fc22e: Verifying Checksum [2023-04-07T09:25:04.579Z] f56be85fc22e: Download complete [2023-04-07T09:25:04.579Z] f56be85fc22e: Pull complete [2023-04-07T09:25:04.579Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-07T09:25:04.579Z] Status: Downloaded newer image for alpine:3.17 [2023-04-07T09:25:04.579Z] ---> 9ed4aefc74f6 [2023-04-07T09:25:04.579Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-04-07T09:25:04.579Z] ---> Running in d1305f030255 [2023-04-07T09:25:04.579Z] Removing intermediate container d1305f030255 [2023-04-07T09:25:04.579Z] ---> 80e0c2d6558b [2023-04-07T09:25:04.579Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-04-07T09:25:04.579Z] ---> Running in 11871c0b56c2 [2023-04-07T09:25:04.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T09:25:04.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T09:25:04.579Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-07T09:25:04.579Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T09:25:04.579Z] OK: 7 MiB in 16 packages [2023-04-07T09:25:04.579Z] Removing intermediate container 11871c0b56c2 [2023-04-07T09:25:04.579Z] ---> 831a116d9347 [2023-04-07T09:25:04.579Z] Step 16/25 : WORKDIR / [2023-04-07T09:25:04.579Z] ---> Running in d9173f418908 [2023-04-07T09:25:04.579Z] Removing intermediate container d9173f418908 [2023-04-07T09:25:04.579Z] ---> c3ec83955c9c [2023-04-07T09:25:04.579Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-04-07T09:25:04.579Z] ---> 45d630b94aa4 [2023-04-07T09:25:04.579Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-04-07T09:25:04.579Z] ---> a62fc7f3983d [2023-04-07T09:25:04.579Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-04-07T09:25:05.177Z] ---> 83ccc2aed0fb [2023-04-07T09:25:05.177Z] Step 20/25 : EXPOSE 59900 [2023-04-07T09:25:05.177Z] ---> Running in fcb62f46289d [2023-04-07T09:25:05.439Z] Removing intermediate container fcb62f46289d [2023-04-07T09:25:05.439Z] ---> ff0faaba25a0 [2023-04-07T09:25:05.439Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-04-07T09:25:05.439Z] ---> Running in 8b4b42b1560c [2023-04-07T09:25:05.439Z] Removing intermediate container 8b4b42b1560c [2023-04-07T09:25:05.439Z] ---> f9ba75d74120 [2023-04-07T09:25:05.439Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-07T09:25:05.439Z] ---> Running in ec763ad66e02 [2023-04-07T09:25:05.439Z] Removing intermediate container ec763ad66e02 [2023-04-07T09:25:05.439Z] ---> 0f1ef787fb39 [2023-04-07T09:25:05.439Z] Step 23/25 : LABEL arch=amd64 [2023-04-07T09:25:05.439Z] ---> Running in 1c0b96729cc5 [2023-04-07T09:25:05.698Z] Removing intermediate container 1c0b96729cc5 [2023-04-07T09:25:05.698Z] ---> 120ecf3ec073 [2023-04-07T09:25:05.698Z] Step 24/25 : LABEL git_sha=1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [2023-04-07T09:25:05.698Z] ---> Running in b9749e5b66b0 [2023-04-07T09:25:05.698Z] Removing intermediate container b9749e5b66b0 [2023-04-07T09:25:05.698Z] ---> 4321721a1660 [2023-04-07T09:25:05.698Z] Step 25/25 : LABEL version=0.0.0 [2023-04-07T09:25:05.698Z] ---> Running in 9da0f7f7a415 [2023-04-07T09:25:05.698Z] Removing intermediate container 9da0f7f7a415 [2023-04-07T09:25:05.698Z] ---> 661ddfcb53b6 [2023-04-07T09:25:05.698Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-07T09:25:05.698Z] Successfully built 661ddfcb53b6 [2023-04-07T09:25:05.698Z] 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-07T09:25:06.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T09:25:06.596Z] [2023-04-07T09:25:06.596Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:25:06.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T09:25:06.967Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-07T09:25:06.967Z] 5eb5b503b376: Pulling fs layer [2023-04-07T09:25:06.967Z] 5c69ac0246d0: Pulling fs layer [2023-04-07T09:25:06.967Z] ec43610c2a17: Pulling fs layer [2023-04-07T09:25:06.967Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-07T09:25:06.967Z] 33b1e0a273af: Pulling fs layer [2023-04-07T09:25:06.967Z] 5d3b04190fa2: Pulling fs layer [2023-04-07T09:25:06.967Z] 2f39f015ded8: Pulling fs layer [2023-04-07T09:25:06.967Z] 33b1e0a273af: Waiting [2023-04-07T09:25:06.967Z] 3a2ae6a8a46f: Waiting [2023-04-07T09:25:06.967Z] 5d3b04190fa2: Waiting [2023-04-07T09:25:06.967Z] 2f39f015ded8: Waiting [2023-04-07T09:25:06.967Z] 5c69ac0246d0: Download complete [2023-04-07T09:25:06.967Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-07T09:25:06.967Z] 3a2ae6a8a46f: Download complete [2023-04-07T09:25:06.967Z] 33b1e0a273af: Verifying Checksum [2023-04-07T09:25:06.967Z] 33b1e0a273af: Download complete [2023-04-07T09:25:06.967Z] ec43610c2a17: Verifying Checksum [2023-04-07T09:25:06.967Z] ec43610c2a17: Download complete [2023-04-07T09:25:06.967Z] 5d3b04190fa2: Verifying Checksum [2023-04-07T09:25:06.967Z] 5d3b04190fa2: Download complete [2023-04-07T09:25:07.225Z] 5eb5b503b376: Download complete [2023-04-07T09:25:07.790Z] 2f39f015ded8: Verifying Checksum [2023-04-07T09:25:07.790Z] 2f39f015ded8: Download complete [2023-04-07T09:25:08.400Z] 5eb5b503b376: Pull complete [2023-04-07T09:25:08.400Z] 5c69ac0246d0: Pull complete [2023-04-07T09:25:08.657Z] ec43610c2a17: Pull complete [2023-04-07T09:25:08.915Z] 3a2ae6a8a46f: Pull complete [2023-04-07T09:25:09.172Z] 33b1e0a273af: Pull complete [2023-04-07T09:25:09.172Z] 5d3b04190fa2: Pull complete [2023-04-07T09:25:13.352Z] 2f39f015ded8: Pull complete [2023-04-07T09:25:13.352Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-07T09:25:13.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T09:25:13.352Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T09:25:13.591Z] prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container [2023-04-07T09:25:13.625Z] $ 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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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-07T09:25:14.496Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7122 in /w/workspace/foundry_device-virtual-go_PR-376 [2023-04-07T09:25:19.652Z] $ docker top 0271ac9208816d3f17541898ecb8e8ae5009d5a9bc49a4e669192fdc212e7caf -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-04-07T09:25:19.897Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-04-07T09:25:19.977Z] The recommended git tool is: git [2023-04-07T09:25:20.133Z] ---> job-cost.sh [2023-04-07T09:25:20.133Z] lf-activate-venv: SKIPPING [2023-04-07T09:25:20.133Z] INFO: No Stack... [2023-04-07T09:25:20.393Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T09:25:20.804Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T09:25:21.426Z] + cat /w/workspace/foundry_device-virtual-go_PR-376/archives/cost.csv [2023-04-07T09:25:21.426Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T09:25:21.467Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] [2023-04-07T09:25:21.473Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] did not exist. Created. [2023-04-07T09:25:21.473Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T09:25:21.861Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-07T09:25:21.911Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T09:25:21.939Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T09:25:22.022Z] $ docker stop --time=1 0271ac9208816d3f17541898ecb8e8ae5009d5a9bc49a4e669192fdc212e7caf [2023-04-07T09:25:23.164Z] $ docker rm -f --volumes 0271ac9208816d3f17541898ecb8e8ae5009d5a9bc49a4e669192fdc212e7caf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-07T09:25:25.776Z] using credential edgex-jenkins-ssh [2023-04-07T09:25:25.792Z] Cloning the remote Git repository [2023-04-07T09:25:25.832Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-04-07T09:25:25.927Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-04-07T09:25:26.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-07T09:25:26.065Z] > git --version # timeout=10 [2023-04-07T09:25:26.084Z] > git --version # 'git version 2.25.1' [2023-04-07T09:25:26.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T09:25:26.232Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T09:25:28.208Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-07T09:25:28.237Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T09:25:28.966Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-07T09:25:29.005Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-07T09:25:29.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T09:25:29.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-07T09:25:29.626Z] Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [2023-04-07T09:25:29.890Z] Merge succeeded, producing 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [2023-04-07T09:25:29.890Z] Checking out Revision 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 (PR-376) [2023-04-07T09:25:29.639Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T09:25:29.696Z] > git checkout -f 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 # timeout=10 [2023-04-07T09:25:29.775Z] > git remote # timeout=10 [2023-04-07T09:25:29.793Z] > git config --get remote.origin.url # timeout=10 [2023-04-07T09:25:29.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T09:25:29.843Z] > git merge 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 [2023-04-07T09:25:29.871Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-07T09:25:29.893Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T09:25:29.908Z] > git checkout -f 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 # timeout=10 [2023-04-07T09:25:33.382Z] Commit message: "feat!: Consume SDK interface changes" [2023-04-07T09:25:33.425Z] > git --version # timeout=10 [2023-04-07T09:25:33.440Z] > git --version # 'git version 2.25.1' [2023-04-07T09:25:33.450Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T09:25:34.708Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-07T09:25:34.708Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T09:25:34.708Z] Dload Upload Total Spent Left Speed [2023-04-07T09:25:34.708Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-04-07T09:25:35.366Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-07T09:25:35.716Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-07T09:25:35.716Z] + sudo tee /etc/docker/daemon.new [2023-04-07T09:25:35.716Z] { [2023-04-07T09:25:35.716Z] "registry-mirrors": [ [2023-04-07T09:25:35.716Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-07T09:25:35.716Z] ], [2023-04-07T09:25:35.716Z] "bip": "10.250.0.254/24", [2023-04-07T09:25:35.716Z] "hosts": [ [2023-04-07T09:25:35.716Z] "tcp://0.0.0.0:5555", [2023-04-07T09:25:35.716Z] "unix:///var/run/docker.sock" [2023-04-07T09:25:35.716Z] ], [2023-04-07T09:25:35.716Z] "mtu": 1458, [2023-04-07T09:25:35.716Z] "selinux-enabled": true, [2023-04-07T09:25:35.716Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-07T09:25:35.716Z] } [Pipeline] sh [2023-04-07T09:25:36.054Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-07T09:25:36.399Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T09:25:54.698Z] provisioning config files... [2023-04-07T09:25:54.723Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6001439790332140435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:25:55.108Z] ---> docker-login.sh [2023-04-07T09:25:55.108Z] nexus3.edgexfoundry.org:10001 [2023-04-07T09:25:55.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:25:55.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:25:55.652Z] Configure a credential helper to remove this warning. See [2023-04-07T09:25:55.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:25:55.652Z] [2023-04-07T09:25:55.652Z] Login Succeeded [2023-04-07T09:25:55.652Z] nexus3.edgexfoundry.org:10002 [2023-04-07T09:25:55.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:25:55.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:25:55.922Z] Configure a credential helper to remove this warning. See [2023-04-07T09:25:55.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:25:55.922Z] [2023-04-07T09:25:55.922Z] Login Succeeded [2023-04-07T09:25:55.922Z] nexus3.edgexfoundry.org:10003 [2023-04-07T09:25:56.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:25:56.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:25:56.460Z] Configure a credential helper to remove this warning. See [2023-04-07T09:25:56.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:25:56.460Z] [2023-04-07T09:25:56.460Z] Login Succeeded [2023-04-07T09:25:56.460Z] nexus3.edgexfoundry.org:10004 [2023-04-07T09:25:56.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:25:56.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:25:56.730Z] Configure a credential helper to remove this warning. See [2023-04-07T09:25:56.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:25:56.730Z] [2023-04-07T09:25:56.730Z] Login Succeeded [2023-04-07T09:25:56.730Z] docker.io [2023-04-07T09:25:56.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T09:25:57.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T09:25:57.265Z] Configure a credential helper to remove this warning. See [2023-04-07T09:25:57.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T09:25:57.265Z] [2023-04-07T09:25:57.265Z] Login Succeeded [2023-04-07T09:25:57.265Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T09:25:57.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T09:25:57.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T09:25:57.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T09:25:57.758Z] ========================================================= [2023-04-07T09:25:57.758Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-07T09:25:57.758Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:25:58.254Z] + 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-07T09:25:58.521Z] Sending build context to Docker daemon 11.94MB [2023-04-07T09:25:58.521Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T09:25:58.521Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-07T09:26:01.868Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-07T09:26:01.868Z] af6eaf76a39c: Pulling fs layer [2023-04-07T09:26:01.868Z] 55522c791124: Pulling fs layer [2023-04-07T09:26:01.868Z] ce5c4a1c91eb: Pulling fs layer [2023-04-07T09:26:01.868Z] 169dfbe0d373: Pulling fs layer [2023-04-07T09:26:01.868Z] e1ff8fa3b103: Pulling fs layer [2023-04-07T09:26:01.868Z] 52ebb69f0ebf: Pulling fs layer [2023-04-07T09:26:01.868Z] 5abe8eddf0d5: Pulling fs layer [2023-04-07T09:26:01.868Z] e1ff8fa3b103: Waiting [2023-04-07T09:26:01.868Z] 52ebb69f0ebf: Waiting [2023-04-07T09:26:01.868Z] 5abe8eddf0d5: Waiting [2023-04-07T09:26:01.868Z] 169dfbe0d373: Waiting [2023-04-07T09:26:01.868Z] 55522c791124: Verifying Checksum [2023-04-07T09:26:01.868Z] 55522c791124: Download complete [2023-04-07T09:26:01.868Z] 169dfbe0d373: Verifying Checksum [2023-04-07T09:26:01.868Z] 169dfbe0d373: Download complete [2023-04-07T09:26:01.868Z] e1ff8fa3b103: Verifying Checksum [2023-04-07T09:26:01.868Z] e1ff8fa3b103: Download complete [2023-04-07T09:26:01.868Z] af6eaf76a39c: Verifying Checksum [2023-04-07T09:26:02.840Z] af6eaf76a39c: Pull complete [2023-04-07T09:26:02.840Z] 5abe8eddf0d5: Verifying Checksum [2023-04-07T09:26:02.840Z] 5abe8eddf0d5: Download complete [2023-04-07T09:26:03.432Z] 55522c791124: Pull complete [2023-04-07T09:26:04.028Z] ce5c4a1c91eb: Verifying Checksum [2023-04-07T09:26:04.028Z] ce5c4a1c91eb: Download complete [2023-04-07T09:26:04.028Z] 52ebb69f0ebf: Download complete [2023-04-07T09:26:16.341Z] ce5c4a1c91eb: Pull complete [2023-04-07T09:26:16.341Z] 169dfbe0d373: Pull complete [2023-04-07T09:26:16.341Z] e1ff8fa3b103: Pull complete [2023-04-07T09:26:20.603Z] 52ebb69f0ebf: Pull complete [2023-04-07T09:26:22.013Z] 5abe8eddf0d5: Pull complete [2023-04-07T09:26:22.013Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-07T09:26:22.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-07T09:26:22.013Z] ---> 6cb57ee374ae [2023-04-07T09:26:22.013Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-07T09:26:24.086Z] ---> Running in 72fc7c316d37 [2023-04-07T09:26:24.086Z] Removing intermediate container 72fc7c316d37 [2023-04-07T09:26:24.086Z] ---> 545841529f55 [2023-04-07T09:26:24.086Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-07T09:26:24.086Z] ---> Running in 58de1b2b41a0 [2023-04-07T09:26:24.353Z] Removing intermediate container 58de1b2b41a0 [2023-04-07T09:26:24.353Z] ---> acea836be95f [2023-04-07T09:26:24.353Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-07T09:26:24.353Z] ---> Running in f749237a9b40 [2023-04-07T09:26:24.620Z] Removing intermediate container f749237a9b40 [2023-04-07T09:26:24.620Z] ---> aa7b85d4cb8e [2023-04-07T09:26:24.620Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-07T09:26:24.888Z] ---> Running in bd0ded93cbfa [2023-04-07T09:26:25.158Z] Removing intermediate container bd0ded93cbfa [2023-04-07T09:26:25.158Z] ---> f9f8ddd0a73f [2023-04-07T09:26:25.158Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-07T09:26:25.158Z] ---> Running in 21585ca9a0f3 [2023-04-07T09:26:26.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T09:26:26.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T09:26:27.664Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-07T09:26:27.664Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-07T09:26:27.664Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-07T09:26:27.664Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-07T09:26:27.931Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T09:26:27.931Z] OK: 268 MiB in 57 packages [2023-04-07T09:26:28.888Z] Removing intermediate container 21585ca9a0f3 [2023-04-07T09:26:28.888Z] ---> 8b7b025d1515 [2023-04-07T09:26:28.888Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-07T09:26:29.156Z] ---> 0ed629d2f336 [2023-04-07T09:26:29.156Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T09:26:29.156Z] ---> Running in a7c324799ed2 [2023-04-07T09:27:25.561Z] Removing intermediate container a7c324799ed2 [2023-04-07T09:27:25.561Z] ---> 317929c7afe0 [2023-04-07T09:27:25.561Z] Step 10/12 : COPY . . [2023-04-07T09:27:26.526Z] ---> 2a6e337df560 [2023-04-07T09:27:26.526Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T09:27:26.526Z] ---> Running in 14c865943a97 [2023-04-07T09:27:26.794Z] Removing intermediate container 14c865943a97 [2023-04-07T09:27:26.794Z] ---> b3c5d114c63f [2023-04-07T09:27:26.794Z] Step 12/12 : RUN $MAKE [2023-04-07T09:27:26.794Z] ---> Running in 2bf4ebd478df [2023-04-07T09:27:27.757Z] noop [2023-04-07T09:27:28.341Z] Removing intermediate container 2bf4ebd478df [2023-04-07T09:27:28.341Z] ---> 21d98b671dc9 [2023-04-07T09:27:28.341Z] Successfully built 21d98b671dc9 [2023-04-07T09:27:28.341Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:27:28.801Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T09:27:28.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T09:27:29.090Z] prd-ubuntu20.04-docker-arm64-4c-16g-7122 does not seem to be running inside a container [2023-04-07T09:27:29.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-07T09:27:31.915Z] $ docker top fc76fdcc6c333b7bff0ea069cd87b42e206933fee500a82152ea68d771ae201c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T09:27:32.788Z] + go version [2023-04-07T09:27:32.788Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-07T09:27:32.824Z] $ docker stop --time=1 fc76fdcc6c333b7bff0ea069cd87b42e206933fee500a82152ea68d771ae201c [2023-04-07T09:27:34.431Z] $ docker rm -f --volumes fc76fdcc6c333b7bff0ea069cd87b42e206933fee500a82152ea68d771ae201c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:27:35.220Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T09:27:35.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T09:27:35.457Z] prd-ubuntu20.04-docker-arm64-4c-16g-7122 does not seem to be running inside a container [2023-04-07T09:27:35.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-07T09:27:36.657Z] $ docker top d1e619e33161cf78fec5b21ec2039af647ab06fd8f61b72ed7fd18d2a80f12fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T09:27:37.527Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-07T09:27:37.912Z] + make test [2023-04-07T09:27:37.912Z] go test ./... -coverprofile=coverage.out [2023-04-07T09:28:10.158Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-07T09:30:01.807Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-04-07T09:30:01.807Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.144s coverage: 58.9% of statements [2023-04-07T09:30:01.807Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-07T09:30:01.807Z] go vet ./... [2023-04-07T09:30:40.733Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-07T09:30:40.733Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-07T09:30:40.733Z] ./bin/test-attribution-txt.sh [2023-04-07T09:30:40.733Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-07T09:30:40.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-07T09:30:40.808Z] $ docker stop --time=1 d1e619e33161cf78fec5b21ec2039af647ab06fd8f61b72ed7fd18d2a80f12fb [2023-04-07T09:30:42.593Z] $ docker rm -f --volumes d1e619e33161cf78fec5b21ec2039af647ab06fd8f61b72ed7fd18d2a80f12fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T09:30:43.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-07T09:30:43.879Z] Warning: overwriting stash ‘coverage-report’ [2023-04-07T09:30:44.498Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T09:30:45.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-07T09:30:45.444Z] + ls -al . [2023-04-07T09:30:45.445Z] total 188 [2023-04-07T09:30:45.445Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:27 . [2023-04-07T09:30:45.445Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:25 .. [2023-04-07T09:30:45.445Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:25 .git [2023-04-07T09:30:45.445Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:25 .github [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 337 Apr 7 09:25 .gitignore [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 09:25 .golangci.yml [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 8641 Apr 7 09:25 Attribution.txt [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 11367 Apr 7 09:25 CHANGELOG.md [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 1646 Apr 7 09:25 Dockerfile [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 09:25 GOVERNANCE.md [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 09:25 Jenkinsfile [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:25 LICENSE [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 1696 Apr 7 09:25 Makefile [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 7 09:25 OWNERS.md [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 3578 Apr 7 09:25 README.md [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:23 VERSION [2023-04-07T09:30:45.445Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:25 bin [2023-04-07T09:30:45.445Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:25 cmd [2023-04-07T09:30:45.445Z] -rw-r--r-- 1 jenkins jenkins 42975 Apr 7 09:29 coverage.out [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 3209 Apr 7 09:25 go.mod [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 31219 Apr 7 09:25 go.sum [2023-04-07T09:30:45.445Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:25 internal [2023-04-07T09:30:45.445Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:25 snap [2023-04-07T09:30:45.445Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 09:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:30:45.855Z] + 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=1af87b10f7d9f04dbdc95f01e0cf938275db6d03 --label arch=arm64 --label version=0.0.0 . [2023-04-07T09:30:46.449Z] Sending build context to Docker daemon 11.98MB [2023-04-07T09:30:46.449Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T09:30:46.449Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-07T09:30:46.449Z] ---> 21d98b671dc9 [2023-04-07T09:30:46.449Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-07T09:30:46.449Z] ---> Running in acb8e3e3c612 [2023-04-07T09:30:47.411Z] Removing intermediate container acb8e3e3c612 [2023-04-07T09:30:47.411Z] ---> adb51ff09385 [2023-04-07T09:30:47.411Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-07T09:30:47.411Z] ---> Running in 364e991e55da [2023-04-07T09:30:47.682Z] Removing intermediate container 364e991e55da [2023-04-07T09:30:47.682Z] ---> 65342546e753 [2023-04-07T09:30:47.682Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-04-07T09:30:47.682Z] ---> Running in cf3209078c03 [2023-04-07T09:30:47.951Z] Removing intermediate container cf3209078c03 [2023-04-07T09:30:47.951Z] ---> ed2ccd423c94 [2023-04-07T09:30:47.951Z] Step 6/25 : WORKDIR /device-virtual-go [2023-04-07T09:30:47.951Z] ---> Running in 7a94a759a2de [2023-04-07T09:30:48.219Z] Removing intermediate container 7a94a759a2de [2023-04-07T09:30:48.219Z] ---> 719606d2d2ba [2023-04-07T09:30:48.219Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-07T09:30:48.219Z] ---> Running in df73e8add65c [2023-04-07T09:30:49.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T09:30:49.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T09:30:50.735Z] OK: 268 MiB in 57 packages [2023-04-07T09:30:51.698Z] Removing intermediate container df73e8add65c [2023-04-07T09:30:51.698Z] ---> 250238e0ac33 [2023-04-07T09:30:51.698Z] Step 8/25 : COPY go.mod vendor* ./ [2023-04-07T09:30:51.965Z] ---> fd3f23dabdea [2023-04-07T09:30:51.965Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T09:30:51.965Z] ---> Running in f59ac51dc763 [2023-04-07T09:30:54.561Z] Removing intermediate container f59ac51dc763 [2023-04-07T09:30:54.561Z] ---> a202f6e8116f [2023-04-07T09:30:54.561Z] Step 10/25 : COPY . . [2023-04-07T09:30:55.976Z] ---> 10b4ba3989e8 [2023-04-07T09:30:55.976Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T09:30:55.976Z] ---> Running in cc4d1f94183f [2023-04-07T09:30:55.976Z] Removing intermediate container cc4d1f94183f [2023-04-07T09:30:55.976Z] ---> 1649de58b446 [2023-04-07T09:30:55.976Z] Step 12/25 : RUN $MAKE [2023-04-07T09:30:55.976Z] ---> Running in bc30327c31cb [2023-04-07T09:30:56.950Z] 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-07T09:33:03.630Z] Removing intermediate container bc30327c31cb [2023-04-07T09:33:03.630Z] ---> 4f08f66c17f3 [2023-04-07T09:33:03.630Z] Step 13/25 : FROM alpine:3.17 [2023-04-07T09:33:03.630Z] 3.17: Pulling from library/alpine [2023-04-07T09:33:03.630Z] c41833b44d91: Pulling fs layer [2023-04-07T09:33:03.630Z] c41833b44d91: Verifying Checksum [2023-04-07T09:33:03.630Z] c41833b44d91: Download complete [2023-04-07T09:33:03.630Z] c41833b44d91: Pull complete [2023-04-07T09:33:03.630Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-07T09:33:03.630Z] Status: Downloaded newer image for alpine:3.17 [2023-04-07T09:33:03.630Z] ---> 51e60588ff2c [2023-04-07T09:33:03.630Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-04-07T09:33:03.630Z] ---> Running in b862a80d3f10 [2023-04-07T09:33:03.630Z] Removing intermediate container b862a80d3f10 [2023-04-07T09:33:03.630Z] ---> e135cedd00d7 [2023-04-07T09:33:03.630Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-04-07T09:33:03.898Z] ---> Running in b292199510ad [2023-04-07T09:33:04.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T09:33:05.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T09:33:06.407Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-07T09:33:06.407Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T09:33:06.407Z] OK: 8 MiB in 16 packages [2023-04-07T09:33:07.370Z] Removing intermediate container b292199510ad [2023-04-07T09:33:07.370Z] ---> 89147c902b67 [2023-04-07T09:33:07.370Z] Step 16/25 : WORKDIR / [2023-04-07T09:33:07.370Z] ---> Running in 4b04c833de20 [2023-04-07T09:33:07.638Z] Removing intermediate container 4b04c833de20 [2023-04-07T09:33:07.638Z] ---> bda86e5ccf7c [2023-04-07T09:33:07.638Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-04-07T09:33:08.223Z] ---> 21348deb15e2 [2023-04-07T09:33:08.223Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-04-07T09:33:08.491Z] ---> 1783e443b7a9 [2023-04-07T09:33:08.491Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-04-07T09:33:09.901Z] ---> cb672a9ea932 [2023-04-07T09:33:09.901Z] Step 20/25 : EXPOSE 59900 [2023-04-07T09:33:09.901Z] ---> Running in f2725ce06029 [2023-04-07T09:33:10.170Z] Removing intermediate container f2725ce06029 [2023-04-07T09:33:10.170Z] ---> d0c64aa82992 [2023-04-07T09:33:10.170Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-04-07T09:33:10.439Z] ---> Running in 90398ac1b826 [2023-04-07T09:33:10.709Z] Removing intermediate container 90398ac1b826 [2023-04-07T09:33:10.709Z] ---> 4a5f5929e8bd [2023-04-07T09:33:10.709Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-07T09:33:10.709Z] ---> Running in 1d58cd29f7e0 [2023-04-07T09:33:10.977Z] Removing intermediate container 1d58cd29f7e0 [2023-04-07T09:33:10.977Z] ---> d8349ce80316 [2023-04-07T09:33:10.977Z] Step 23/25 : LABEL arch=arm64 [2023-04-07T09:33:10.977Z] ---> Running in 548c31928f39 [2023-04-07T09:33:11.251Z] Removing intermediate container 548c31928f39 [2023-04-07T09:33:11.251Z] ---> 853e3aa04be7 [2023-04-07T09:33:11.251Z] Step 24/25 : LABEL git_sha=1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [2023-04-07T09:33:11.520Z] ---> Running in f0c8d54af0a5 [2023-04-07T09:33:11.787Z] Removing intermediate container f0c8d54af0a5 [2023-04-07T09:33:11.787Z] ---> bc5dc8822eea [2023-04-07T09:33:11.787Z] Step 25/25 : LABEL version=0.0.0 [2023-04-07T09:33:11.787Z] ---> Running in 76344855c56d [2023-04-07T09:33:12.054Z] Removing intermediate container 76344855c56d [2023-04-07T09:33:12.054Z] ---> 8aa888b2d157 [2023-04-07T09:33:12.054Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-07T09:33:12.054Z] Successfully built 8aa888b2d157 [2023-04-07T09:33:12.054Z] 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-07T09:33:12.866Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T09:33:12.866Z] [2023-04-07T09:33:12.866Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:33:13.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T09:33:13.261Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-07T09:33:13.261Z] 8998bd30e6a1: Pulling fs layer [2023-04-07T09:33:13.261Z] 04944245beec: Pulling fs layer [2023-04-07T09:33:13.261Z] 699f458cf7ca: Pulling fs layer [2023-04-07T09:33:13.261Z] 765212b225bb: Pulling fs layer [2023-04-07T09:33:13.261Z] f23df028b6ca: Pulling fs layer [2023-04-07T09:33:13.261Z] d65c8cfc05b1: Pulling fs layer [2023-04-07T09:33:13.261Z] 2437ff75d9bd: Pulling fs layer [2023-04-07T09:33:13.261Z] 765212b225bb: Waiting [2023-04-07T09:33:13.261Z] f23df028b6ca: Waiting [2023-04-07T09:33:13.262Z] d65c8cfc05b1: Waiting [2023-04-07T09:33:13.262Z] 2437ff75d9bd: Waiting [2023-04-07T09:33:13.532Z] 04944245beec: Verifying Checksum [2023-04-07T09:33:13.532Z] 04944245beec: Download complete [2023-04-07T09:33:13.532Z] 765212b225bb: Verifying Checksum [2023-04-07T09:33:13.532Z] 765212b225bb: Download complete [2023-04-07T09:33:13.532Z] f23df028b6ca: Verifying Checksum [2023-04-07T09:33:13.532Z] f23df028b6ca: Download complete [2023-04-07T09:33:13.532Z] d65c8cfc05b1: Verifying Checksum [2023-04-07T09:33:13.532Z] d65c8cfc05b1: Download complete [2023-04-07T09:33:13.532Z] 699f458cf7ca: Verifying Checksum [2023-04-07T09:33:13.532Z] 699f458cf7ca: Download complete [2023-04-07T09:33:14.115Z] 8998bd30e6a1: Verifying Checksum [2023-04-07T09:33:14.115Z] 8998bd30e6a1: Download complete [2023-04-07T09:33:16.063Z] 2437ff75d9bd: Verifying Checksum [2023-04-07T09:33:16.063Z] 2437ff75d9bd: Download complete [2023-04-07T09:33:18.006Z] 8998bd30e6a1: Pull complete [2023-04-07T09:33:18.591Z] 04944245beec: Pull complete [2023-04-07T09:33:21.175Z] 699f458cf7ca: Pull complete [2023-04-07T09:33:21.443Z] 765212b225bb: Pull complete [2023-04-07T09:33:22.406Z] f23df028b6ca: Pull complete [2023-04-07T09:33:22.406Z] d65c8cfc05b1: Pull complete [2023-04-07T09:33:37.395Z] 2437ff75d9bd: Pull complete [2023-04-07T09:33:37.395Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-07T09:33:37.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T09:33:37.395Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T09:33:37.713Z] prd-ubuntu20.04-docker-arm64-4c-16g-7122 does not seem to be running inside a container [2023-04-07T09:33:37.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-07T09:33:40.214Z] $ docker top de1aa85fdcd2cd88aee3508e3b068a2b42243b936b8e8530e5f98cfe2281b70b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:33:41.089Z] ---> job-cost.sh [2023-04-07T09:33:41.089Z] lf-activate-venv: SKIPPING [2023-04-07T09:33:41.089Z] INFO: No Stack... [2023-04-07T09:33:41.356Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-07T09:33:42.315Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T09:33:42.973Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-04-07T09:33:42.973Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T09:33:43.055Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] [2023-04-07T09:33:43.060Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] did not exist. Created. [2023-04-07T09:33:43.060Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T09:33:43.789Z] /w/workspace/device-virtual-go/1@tmp/durable-aebb58d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-07T09:33:44.469Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-07T09:33:44.505Z] Warning: overwriting stash ‘stack-cost’ [2023-04-07T09:33:44.558Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T09:33:44.576Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T09:33:44.667Z] $ docker stop --time=1 de1aa85fdcd2cd88aee3508e3b068a2b42243b936b8e8530e5f98cfe2281b70b [2023-04-07T09:33:46.200Z] $ docker rm -f --volumes de1aa85fdcd2cd88aee3508e3b068a2b42243b936b8e8530e5f98cfe2281b70b [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-07T09:33:47.293Z] provisioning config files... [2023-04-07T09:33:47.302Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config9268042822688110348tmp [Pipeline] { [Pipeline] sh [2023-04-07T09:33:47.640Z] + set +x [2023-04-07T09:33:47.640Z] + curl -s https://codecov.io/bash [2023-04-07T09:33:47.640Z] + bash -s -- [2023-04-07T09:33:47.640Z] [2023-04-07T09:33:47.640Z] _____ _ [2023-04-07T09:33:47.640Z] / ____| | | [2023-04-07T09:33:47.640Z] | | ___ __| | ___ ___ _____ __ [2023-04-07T09:33:47.640Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-07T09:33:47.640Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-07T09:33:47.640Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-07T09:33:47.640Z] Bash-1.0.6 [2023-04-07T09:33:47.640Z] [2023-04-07T09:33:47.640Z] [2023-04-07T09:33:47.640Z] ==> git version 2.25.1 found [2023-04-07T09:33:47.640Z] ==> 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-07T09:33:47.640Z] Release-Date: 2020-01-08 [2023-04-07T09:33:47.640Z] 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-07T09:33:47.640Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-07T09:33:47.640Z] ==> Jenkins CI detected. [2023-04-07T09:33:47.640Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-376 [2023-04-07T09:33:47.640Z] project root: . [2023-04-07T09:33:47.640Z] --> token set from env [2023-04-07T09:33:47.640Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-07T09:33:47.900Z] ==> Running gcov in . (disable via -X gcov) [2023-04-07T09:33:47.900Z] ==> Python coveragepy not found [2023-04-07T09:33:47.900Z] ==> Searching for coverage reports in: [2023-04-07T09:33:47.900Z] + . [2023-04-07T09:33:47.900Z] -> Found 1 reports [2023-04-07T09:33:47.900Z] ==> Detecting git/mercurial file structure [2023-04-07T09:33:47.900Z] ==> Reading reports [2023-04-07T09:33:47.900Z] + ./coverage.out bytes=42975 [2023-04-07T09:33:47.900Z] ==> Appending adjustments [2023-04-07T09:33:47.900Z] https://docs.codecov.io/docs/fixing-reports [2023-04-07T09:33:47.900Z] + Found adjustments [2023-04-07T09:33:47.900Z] ==> Gzipping contents [2023-04-07T09:33:47.900Z] 8.0K /tmp/codecov.DN8fb4.gz [2023-04-07T09:33:47.900Z] ==> Uploading reports [2023-04-07T09:33:47.900Z] url: https://codecov.io [2023-04-07T09:33:47.900Z] query: branch=PR-376&commit=1af87b10f7d9f04dbdc95f01e0cf938275db6d03&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=376&job=&cmd_args= [2023-04-07T09:33:47.900Z] -> Pinging Codecov [2023-04-07T09:33:47.900Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-376&commit=1af87b10f7d9f04dbdc95f01e0cf938275db6d03&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=376&job=&cmd_args= [2023-04-07T09:33:48.159Z] -> Uploading to [2023-04-07T09:33:48.159Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-07/5E52B4B073DB2E39498172D8E973AA87/1af87b10f7d9f04dbdc95f01e0cf938275db6d03/4a425a1c-413a-4d10-aeb6-f52b1e26ae7b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T093347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13df8dcd705e5a094180bb3c88506fb653e8a21dcddb1261ffc255cc2a08a45c [2023-04-07T09:33:48.159Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T09:33:48.159Z] Dload Upload Total Spent Left Speed [2023-04-07T09:33:48.418Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5205 0 0 100 5205 0 16523 --:--:-- --:--:-- --:--:-- 16523 [2023-04-07T09:33:48.418Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [Pipeline] } [2023-04-07T09:33:48.448Z] 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-07T09:33:50.240Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-376/archives ] [2023-04-07T09:33:50.240Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-376/archives [2023-04-07T09:33:50.240Z] total 16 [2023-04-07T09:33:50.240Z] drwxr-xr-x 3 root root 4096 Apr 7 09:25 . [2023-04-07T09:33:50.240Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:25 .. [2023-04-07T09:33:50.240Z] drwxr-xr-x 2 root root 4096 Apr 7 09:25 cost [2023-04-07T09:33:50.240Z] -rw-r--r-- 1 root root 89 Apr 7 09:25 cost.csv [2023-04-07T09:33:50.240Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-376/archives [2023-04-07T09:33:50.240Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-376/archives [2023-04-07T09:33:50.240Z] total 16 [2023-04-07T09:33:50.240Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:25 . [2023-04-07T09:33:50.240Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:25 .. [2023-04-07T09:33:50.240Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 09:25 cost [2023-04-07T09:33:50.240Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 7 09:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:33:50.571Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:33:51.458Z] ---> package-listing.sh [2023-04-07T09:33:51.458Z] ++ facter osfamily [2023-04-07T09:33:51.458Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-07T09:33:51.718Z] + OS_FAMILY=debian [2023-04-07T09:33:51.718Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-376 [2023-04-07T09:33:51.718Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-07T09:33:51.718Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-07T09:33:51.718Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-07T09:33:51.718Z] + PACKAGES=/tmp/packages_start.txt [2023-04-07T09:33:51.718Z] + '[' /w/workspace/foundry_device-virtual-go_PR-376 ']' [2023-04-07T09:33:51.718Z] + PACKAGES=/tmp/packages_end.txt [2023-04-07T09:33:51.718Z] + case "${OS_FAMILY}" in [2023-04-07T09:33:51.718Z] + dpkg -l [2023-04-07T09:33:51.718Z] + grep '^ii' [2023-04-07T09:33:51.718Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-07T09:33:51.718Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-07T09:33:51.718Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-07T09:33:51.718Z] + '[' /w/workspace/foundry_device-virtual-go_PR-376 ']' [2023-04-07T09:33:51.718Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-376/archives/ [2023-04-07T09:33:51.718Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-376/archives/ [Pipeline] echo [2023-04-07T09:33:51.750Z] 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-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-07T09:33:52.043Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T09:33:52.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T09:33:52.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T09:33:52.550Z] prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container [2023-04-07T09:33:52.583Z] $ 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-376/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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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-07T09:33:52.765Z] $ docker top a9a5d61404d4033dc28ef7c8ac89e2bd408f1324ff15da6b2306ea1931ca5d5d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T09:33:53.140Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-07T09:33:53.449Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-07T09:33:53.758Z] + ls /var/log/sa-host [2023-04-07T09:33:53.758Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T09:33:53.963Z] provisioning config files... [2023-04-07T09:33:53.972Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config8872819141986464611tmp [Pipeline] { [Pipeline] echo [2023-04-07T09:33:54.021Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:33:54.330Z] ---> create-netrc.sh [Pipeline] } [2023-04-07T09:33:54.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:33:54.769Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-07T09:33:54.806Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:33:55.115Z] ---> sudo-logs.sh [2023-04-07T09:33:55.116Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-07T09:33:55.211Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:33:55.525Z] ---> job-cost.sh [2023-04-07T09:33:55.525Z] lf-activate-venv: SKIPPING [2023-04-07T09:33:55.525Z] DEBUG: total: 0.2199999988079071 [2023-04-07T09:33:55.525Z] INFO: Retrieving Stack Cost... [2023-04-07T09:33:55.784Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T09:33:56.353Z] INFO: Archiving Costs [Pipeline] echo [2023-04-07T09:33:56.391Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T09:33:56.703Z] ---> logs-deploy.sh [2023-04-07T09:33:56.703Z] lf-activate-venv: SKIPPING [2023-04-07T09:33:56.703Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-376/1 [2023-04-07T09:33:56.703Z] INFO: archiving workspace using pattern(s): [2023-04-07T09:33:57.642Z] Archives upload complete. [2023-04-07T09:33:57.642Z] INFO: archiving logs to Nexus