Pull request #423 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 66712e7cd52047b67924e783ab4a139eb47b1ef8+83fb2e95e5e72747d7a272c489488621ada49dbc (041962fa7324189a7f2df630ab7183f445143726) 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-ssh13730173781899754770.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16522290411569611760.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-423/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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17035677154518128235.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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14722431577753698721.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh8117954465560798668.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-423/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-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8649322757456571154.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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 Running on prd-ubuntu20.04-docker-8c-8g-4998 in /w/workspace/foundry_device-virtual-go_PR-423 [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-423 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 83fb2e95e5e72747d7a272c489488621ada49dbc into PR head commit 66712e7cd52047b67924e783ab4a139eb47b1ef8 Merge succeeded, producing 66712e7cd52047b67924e783ab4a139eb47b1ef8 Checking out Revision 66712e7cd52047b67924e783ab4a139eb47b1ef8 (PR-423) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66712e7cd52047b67924e783ab4a139eb47b1ef8 # 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 83fb2e95e5e72747d7a272c489488621ada49dbc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66712e7cd52047b67924e783ab4a139eb47b1ef8 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-31T11:51:57.023Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-31T11:51:57.213Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-31T11:51:57.324Z] ========================================================= [2023-08-31T11:51:57.324Z] EdgeX Global Pipelines Version Info [2023-08-31T11:51:57.324Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-31T11:51:58.049Z] ------------------- [2023-08-31T11:51:58.049Z] stable info: [2023-08-31T11:51:58.049Z] ------------------- [2023-08-31T11:51:58.049Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-31T11:51:58.049Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T11:51:58.049Z] Message: update stable to v1.0.253 [2023-08-31T11:51:58.621Z] ------------------- [2023-08-31T11:51:58.621Z] experimental info: [2023-08-31T11:51:58.621Z] ------------------- [2023-08-31T11:51:58.621Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-31T11:51:58.621Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T11:51:58.621Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-31T11:51:58.919Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-08-31T11:51:58.962Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-08-31T11:51:59.006Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-31T11:51:59.051Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-31T11:51:59.102Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-31T11:51:59.146Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-31T11:51:59.188Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-31T11:51:59.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-31T11:51:59.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-31T11:51:59.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-31T11:51:59.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-31T11:51:59.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-08-31T11:51:59.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-31T11:51:59.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-31T11:51:59.538Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T11:51:59.581Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T11:51:59.621Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T11:51:59.662Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T11:51:59.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-31T11:51:59.742Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-31T11:51:59.781Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-31T11:51:59.823Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-31T11:51:59.863Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-31T11:51:59.901Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-31T11:51:59.941Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-31T11:51:59.985Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-31T11:52:00.028Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-31T11:52:00.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo [2023-08-31T11:52:00.124Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo [2023-08-31T11:52:00.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo [2023-08-31T11:52:00.221Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66712e7cd52047b67924e783ab4a139eb47b1ef8 [Pipeline] echo [2023-08-31T11:52:00.265Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66712e7 [Pipeline] echo [2023-08-31T11:52:00.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T11:52:00.446Z] provisioning config files... [2023-08-31T11:52:00.464Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-423@tmp/config13383905074984377581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T11:52:01.398Z] ---> docker-login.sh [2023-08-31T11:52:01.398Z] nexus3.edgexfoundry.org:10001 [2023-08-31T11:52:01.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:52:01.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:52:01.659Z] Configure a credential helper to remove this warning. See [2023-08-31T11:52:01.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:52:01.659Z] [2023-08-31T11:52:01.659Z] Login Succeeded [2023-08-31T11:52:01.659Z] nexus3.edgexfoundry.org:10002 [2023-08-31T11:52:01.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:52:01.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:52:01.919Z] Configure a credential helper to remove this warning. See [2023-08-31T11:52:01.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:52:01.919Z] [2023-08-31T11:52:01.919Z] Login Succeeded [2023-08-31T11:52:01.919Z] nexus3.edgexfoundry.org:10003 [2023-08-31T11:52:01.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:52:01.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:52:01.919Z] Configure a credential helper to remove this warning. See [2023-08-31T11:52:01.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:52:01.919Z] [2023-08-31T11:52:01.919Z] Login Succeeded [2023-08-31T11:52:01.919Z] nexus3.edgexfoundry.org:10004 [2023-08-31T11:52:02.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:52:02.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:52:02.191Z] Configure a credential helper to remove this warning. See [2023-08-31T11:52:02.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:52:02.191Z] [2023-08-31T11:52:02.191Z] Login Succeeded [2023-08-31T11:52:02.191Z] docker.io [2023-08-31T11:52:02.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:52:02.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:52:02.450Z] Configure a credential helper to remove this warning. See [2023-08-31T11:52:02.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:52:02.450Z] [2023-08-31T11:52:02.450Z] Login Succeeded [2023-08-31T11:52:02.450Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T11:52:02.479Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-31T11:52:03.139Z] + git rev-list -1 --merges 66712e7cd52047b67924e783ab4a139eb47b1ef8~1..66712e7cd52047b67924e783ab4a139eb47b1ef8 [Pipeline] echo [2023-08-31T11:52:03.202Z] -----------> git rev-list -1 --merges 66712e7cd52047b67924e783ab4a139eb47b1ef8~1..66712e7cd52047b67924e783ab4a139eb47b1ef8 66712e7cd52047b67924e783ab4a139eb47b1ef8 [false] [Pipeline] sh [2023-08-31T11:52:03.518Z] + git log --format=format:%s -1 66712e7cd52047b67924e783ab4a139eb47b1ef8 [Pipeline] echo [2023-08-31T11:52:03.560Z] ========================================================= [2023-08-31T11:52:03.560Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-31T11:52:03.560Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T11:52:03.988Z] + git log --format=format:%s -1 66712e7cd52047b67924e783ab4a139eb47b1ef8 [Pipeline] echo [2023-08-31T11:52:04.023Z] [semverPrep] GIT_COMMIT: 66712e7cd52047b67924e783ab4a139eb47b1ef8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-08-31T11:52:04.055Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-31T11:52:04.453Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T11:52:04.453Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-31T11:52:04.453Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-31T11:52:04.453Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-31T11:52:04.453Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-08-31T11:52:04.453Z] tee -a /etc/ssh/ssh_known_hosts [2023-08-31T11:52:04.453Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:52:04.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T11:52:04.965Z] [2023-08-31T11:52:04.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:52:05.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T11:52:05.336Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-31T11:52:05.336Z] b85a868b505f: Pulling fs layer [2023-08-31T11:52:05.336Z] e2be974225ed: Pulling fs layer [2023-08-31T11:52:05.336Z] 339a4e72a1f5: Pulling fs layer [2023-08-31T11:52:05.336Z] 988bab9f4d93: Pulling fs layer [2023-08-31T11:52:05.336Z] 1469e6f7b9e6: Pulling fs layer [2023-08-31T11:52:05.336Z] eaf3925da568: Pulling fs layer [2023-08-31T11:52:05.336Z] bab4dde63d76: Pulling fs layer [2023-08-31T11:52:05.336Z] bde34c3a00c8: Pulling fs layer [2023-08-31T11:52:05.336Z] b352a97aabf1: Pulling fs layer [2023-08-31T11:52:05.336Z] 4872d77fe225: Pulling fs layer [2023-08-31T11:52:05.336Z] 5851b861e8e6: Pulling fs layer [2023-08-31T11:52:05.336Z] b352a97aabf1: Waiting [2023-08-31T11:52:05.336Z] bab4dde63d76: Waiting [2023-08-31T11:52:05.336Z] bde34c3a00c8: Waiting [2023-08-31T11:52:05.336Z] 4872d77fe225: Waiting [2023-08-31T11:52:05.336Z] 5851b861e8e6: Waiting [2023-08-31T11:52:05.336Z] 988bab9f4d93: Waiting [2023-08-31T11:52:05.336Z] 1469e6f7b9e6: Waiting [2023-08-31T11:52:05.336Z] eaf3925da568: Waiting [2023-08-31T11:52:05.336Z] e2be974225ed: Verifying Checksum [2023-08-31T11:52:05.336Z] e2be974225ed: Download complete [2023-08-31T11:52:05.336Z] 988bab9f4d93: Verifying Checksum [2023-08-31T11:52:05.336Z] 988bab9f4d93: Download complete [2023-08-31T11:52:05.599Z] 1469e6f7b9e6: Download complete [2023-08-31T11:52:05.600Z] 339a4e72a1f5: Verifying Checksum [2023-08-31T11:52:05.600Z] 339a4e72a1f5: Download complete [2023-08-31T11:52:05.600Z] eaf3925da568: Download complete [2023-08-31T11:52:05.600Z] bde34c3a00c8: Verifying Checksum [2023-08-31T11:52:05.600Z] bde34c3a00c8: Download complete [2023-08-31T11:52:05.600Z] b352a97aabf1: Verifying Checksum [2023-08-31T11:52:05.600Z] b352a97aabf1: Download complete [2023-08-31T11:52:05.600Z] 4872d77fe225: Verifying Checksum [2023-08-31T11:52:05.600Z] 4872d77fe225: Download complete [2023-08-31T11:52:05.600Z] 5851b861e8e6: Download complete [2023-08-31T11:52:05.600Z] b85a868b505f: Verifying Checksum [2023-08-31T11:52:05.600Z] b85a868b505f: Download complete [2023-08-31T11:52:05.858Z] bab4dde63d76: Verifying Checksum [2023-08-31T11:52:06.793Z] b85a868b505f: Pull complete [2023-08-31T11:52:07.053Z] e2be974225ed: Pull complete [2023-08-31T11:52:07.622Z] 339a4e72a1f5: Pull complete [2023-08-31T11:52:07.622Z] 988bab9f4d93: Pull complete [2023-08-31T11:52:07.882Z] 1469e6f7b9e6: Pull complete [2023-08-31T11:52:07.882Z] eaf3925da568: Pull complete [2023-08-31T11:52:09.784Z] bab4dde63d76: Pull complete [2023-08-31T11:52:09.784Z] bde34c3a00c8: Pull complete [2023-08-31T11:52:09.784Z] b352a97aabf1: Pull complete [2023-08-31T11:52:09.784Z] 4872d77fe225: Pull complete [2023-08-31T11:52:10.044Z] 5851b861e8e6: Pull complete [2023-08-31T11:52:10.044Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-31T11:52:10.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T11:52:10.044Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T11:52:10.273Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-08-31T11:52:10.307Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-423 -v /w/workspace/foundry_device-virtual-go_PR-423:/w/workspace/foundry_device-virtual-go_PR-423:rw,z -v /w/workspace/foundry_device-virtual-go_PR-423@tmp:/w/workspace/foundry_device-virtual-go_PR-423@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T11:52:13.643Z] $ docker top 6f0a93b84a51481b3cb409cfb11b023a69b3c93c546a7b30fe64ea5b661d7584 -eo pid,comm [2023-08-31T11:52:13.696Z] 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-08-31T11:52:13.696Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T11:52:13.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T11:52:13.838Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T11:52:13.938Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T11:52:13.940Z] $ docker exec 6f0a93b84a51481b3cb409cfb11b023a69b3c93c546a7b30fe64ea5b661d7584 ssh-agent [2023-08-31T11:52:14.059Z] SSH_AUTH_SOCK=/tmp/ssh-O4ATNbRekiQ8/agent.33 [2023-08-31T11:52:14.059Z] SSH_AGENT_PID=39 [2023-08-31T11:52:14.065Z] Running ssh-add (command line suppressed) [2023-08-31T11:52:14.164Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-423@tmp/private_key_2313304501672385204.key (/w/workspace/foundry_device-virtual-go_PR-423@tmp/private_key_2313304501672385204.key) [2023-08-31T11:52:14.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T11:52:14.508Z] + git tag --points-at HEAD [Pipeline] } [2023-08-31T11:52:14.534Z] $ docker exec --env ******** --env ******** 6f0a93b84a51481b3cb409cfb11b023a69b3c93c546a7b30fe64ea5b661d7584 ssh-agent -k [2023-08-31T11:52:14.631Z] unset SSH_AUTH_SOCK; [2023-08-31T11:52:14.632Z] unset SSH_AGENT_PID; [2023-08-31T11:52:14.632Z] echo Agent pid 39 killed; [2023-08-31T11:52:14.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-31T11:52:14.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T11:52:14.733Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T11:52:14.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T11:52:14.834Z] $ docker exec 6f0a93b84a51481b3cb409cfb11b023a69b3c93c546a7b30fe64ea5b661d7584 ssh-agent [2023-08-31T11:52:14.938Z] SSH_AUTH_SOCK=/tmp/ssh-2NZtS1w7XAOU/agent.71 [2023-08-31T11:52:14.938Z] SSH_AGENT_PID=77 [2023-08-31T11:52:14.942Z] Running ssh-add (command line suppressed) [2023-08-31T11:52:15.045Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-423@tmp/private_key_12135591336053359969.key (/w/workspace/foundry_device-virtual-go_PR-423@tmp/private_key_12135591336053359969.key) [2023-08-31T11:52:15.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T11:52:15.392Z] + git semver init [2023-08-31T11:52:15.651Z] 2023-08-31 11:52:15,556 [run_init] DEBUG init version:0.0.0 force:False [2023-08-31T11:52:15.651Z] 2023-08-31 11:52:15,557 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-423/.semver [2023-08-31T11:52:15.651Z] 2023-08-31 11:52:15,557 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-423/.semver [2023-08-31T11:52:15.651Z] 2023-08-31 11:52:15,558 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-423/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-423, universal_newlines=False, shell=None, istream=None) [2023-08-31T11:52:17.028Z] 2023-08-31 11:52:16,769 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-423/.git/info/exclude [2023-08-31T11:52:17.028Z] 2023-08-31 11:52:16,770 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-423/.semver/PR-423 with force:False [2023-08-31T11:52:17.028Z] 2023-08-31 11:52:16,770 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-423/.semver/PR-423 [2023-08-31T11:52:17.028Z] 2023-08-31 11:52:16,774 [execute] INFO git cat-file --batch-check [2023-08-31T11:52:17.028Z] 2023-08-31 11:52:16,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T11:52:17.028Z] 2023-08-31 11:52:16,780 [execute] INFO git cat-file --batch [2023-08-31T11:52:17.028Z] 2023-08-31 11:52:16,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T11:52:17.028Z] 2023-08-31 11:52:16,785 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-423/.semver/PR-423 [2023-08-31T11:52:17.028Z] 0.0.0 [Pipeline] } [2023-08-31T11:52:17.056Z] $ docker exec --env ******** --env ******** 6f0a93b84a51481b3cb409cfb11b023a69b3c93c546a7b30fe64ea5b661d7584 ssh-agent -k [2023-08-31T11:52:17.155Z] unset SSH_AUTH_SOCK; [2023-08-31T11:52:17.155Z] unset SSH_AGENT_PID; [2023-08-31T11:52:17.155Z] echo Agent pid 77 killed; [2023-08-31T11:52:17.164Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T11:52:17.608Z] + git semver [Pipeline] } [2023-08-31T11:52:17.900Z] $ docker stop --time=1 6f0a93b84a51481b3cb409cfb11b023a69b3c93c546a7b30fe64ea5b661d7584 [2023-08-31T11:52:19.178Z] $ docker rm -f --volumes 6f0a93b84a51481b3cb409cfb11b023a69b3c93c546a7b30fe64ea5b661d7584 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T11:52:19.582Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-31T11:52:19.866Z] Stashed 1 file(s) [Pipeline] echo [2023-08-31T11:52:19.883Z] [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-08-31T11:52:20.523Z] provisioning config files... [2023-08-31T11:52:20.533Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-423@tmp/config11189909056340736579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T11:52:20.882Z] ---> docker-login.sh [2023-08-31T11:52:20.882Z] nexus3.edgexfoundry.org:10001 [2023-08-31T11:52:20.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:52:20.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:52:20.882Z] Configure a credential helper to remove this warning. See [2023-08-31T11:52:20.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:52:20.882Z] [2023-08-31T11:52:20.882Z] Login Succeeded [2023-08-31T11:52:20.882Z] nexus3.edgexfoundry.org:10002 [2023-08-31T11:52:20.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:52:20.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:52:20.882Z] Configure a credential helper to remove this warning. See [2023-08-31T11:52:20.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:52:20.882Z] [2023-08-31T11:52:20.882Z] Login Succeeded [2023-08-31T11:52:20.882Z] nexus3.edgexfoundry.org:10003 [2023-08-31T11:52:21.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:52:21.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:52:21.143Z] Configure a credential helper to remove this warning. See [2023-08-31T11:52:21.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:52:21.143Z] [2023-08-31T11:52:21.143Z] Login Succeeded [2023-08-31T11:52:21.143Z] nexus3.edgexfoundry.org:10004 [2023-08-31T11:52:21.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:52:21.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:52:21.143Z] Configure a credential helper to remove this warning. See [2023-08-31T11:52:21.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:52:21.143Z] [2023-08-31T11:52:21.143Z] Login Succeeded [2023-08-31T11:52:21.143Z] docker.io [2023-08-31T11:52:21.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:52:21.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:52:21.403Z] Configure a credential helper to remove this warning. See [2023-08-31T11:52:21.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:52:21.403Z] [2023-08-31T11:52:21.403Z] Login Succeeded [2023-08-31T11:52:21.403Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T11:52:21.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T11:52:21.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T11:52:21.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T11:52:21.716Z] ========================================================= [2023-08-31T11:52:21.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-31T11:52:21.716Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:52:22.189Z] + 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-08-31T11:52:22.189Z] Sending build context to Docker daemon 23.58MB [2023-08-31T11:52:22.189Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T11:52:22.189Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-31T11:52:22.449Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-31T11:52:22.449Z] 4db1b89c0bd1: Pulling fs layer [2023-08-31T11:52:22.449Z] 6911f1a30b25: Pulling fs layer [2023-08-31T11:52:22.449Z] e194b8c5c2a9: Pulling fs layer [2023-08-31T11:52:22.449Z] 6863d3e3a2b1: Pulling fs layer [2023-08-31T11:52:22.449Z] ec0bb842ea78: Pulling fs layer [2023-08-31T11:52:22.449Z] 40a00589a448: Pulling fs layer [2023-08-31T11:52:22.449Z] 6c08303d61cc: Pulling fs layer [2023-08-31T11:52:22.449Z] 798269fcf238: Pulling fs layer [2023-08-31T11:52:22.449Z] ec0bb842ea78: Waiting [2023-08-31T11:52:22.449Z] 6c08303d61cc: Waiting [2023-08-31T11:52:22.449Z] 798269fcf238: Waiting [2023-08-31T11:52:22.449Z] 6863d3e3a2b1: Waiting [2023-08-31T11:52:22.449Z] 6911f1a30b25: Download complete [2023-08-31T11:52:22.449Z] 6863d3e3a2b1: Verifying Checksum [2023-08-31T11:52:22.449Z] 6863d3e3a2b1: Download complete [2023-08-31T11:52:22.449Z] ec0bb842ea78: Download complete [2023-08-31T11:52:22.449Z] 4db1b89c0bd1: Download complete [2023-08-31T11:52:22.449Z] 40a00589a448: Verifying Checksum [2023-08-31T11:52:22.449Z] 40a00589a448: Download complete [2023-08-31T11:52:22.449Z] 4db1b89c0bd1: Pull complete [2023-08-31T11:52:22.711Z] 6911f1a30b25: Pull complete [2023-08-31T11:52:22.970Z] 798269fcf238: Verifying Checksum [2023-08-31T11:52:22.970Z] 798269fcf238: Download complete [2023-08-31T11:52:22.970Z] e194b8c5c2a9: Download complete [2023-08-31T11:52:23.229Z] 6c08303d61cc: Verifying Checksum [2023-08-31T11:52:23.229Z] 6c08303d61cc: Download complete [2023-08-31T11:52:26.517Z] e194b8c5c2a9: Pull complete [2023-08-31T11:52:26.517Z] 6863d3e3a2b1: Pull complete [2023-08-31T11:52:26.517Z] ec0bb842ea78: Pull complete [2023-08-31T11:52:26.518Z] 40a00589a448: Pull complete [2023-08-31T11:52:29.046Z] 6c08303d61cc: Pull complete [2023-08-31T11:52:29.979Z] 798269fcf238: Pull complete [2023-08-31T11:52:29.979Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-31T11:52:29.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-31T11:52:29.979Z] ---> ec979cd7f677 [2023-08-31T11:52:29.979Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T11:52:34.193Z] ---> Running in 365455c1733a [2023-08-31T11:52:34.193Z] Removing intermediate container 365455c1733a [2023-08-31T11:52:34.193Z] ---> 741a04c7f868 [2023-08-31T11:52:34.193Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T11:52:34.193Z] ---> Running in 738d9d3bbdb9 [2023-08-31T11:52:34.453Z] Removing intermediate container 738d9d3bbdb9 [2023-08-31T11:52:34.453Z] ---> 8ebcbf452320 [2023-08-31T11:52:34.453Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-31T11:52:34.453Z] ---> Running in 206fe503cbe9 [2023-08-31T11:52:34.453Z] Removing intermediate container 206fe503cbe9 [2023-08-31T11:52:34.453Z] ---> 1699ba543e97 [2023-08-31T11:52:34.453Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-31T11:52:34.712Z] ---> Running in 65f20b3e958d [2023-08-31T11:52:34.712Z] Removing intermediate container 65f20b3e958d [2023-08-31T11:52:34.712Z] ---> f78b95a15d93 [2023-08-31T11:52:34.712Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T11:52:34.712Z] ---> Running in ff1d2ac46949 [2023-08-31T11:52:34.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T11:52:35.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T11:52:35.328Z] Still waiting to schedule task [2023-08-31T11:52:35.328Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-31T11:52:35.491Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T11:52:35.491Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-31T11:52:35.491Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T11:52:35.491Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T11:52:35.491Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T11:52:35.491Z] OK: 269 MiB in 57 packages [2023-08-31T11:52:36.057Z] Removing intermediate container ff1d2ac46949 [2023-08-31T11:52:36.057Z] ---> 1488f4ef6527 [2023-08-31T11:52:36.057Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-31T11:52:36.057Z] ---> 1bd39a75f8b7 [2023-08-31T11:52:36.057Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T11:52:36.057Z] ---> Running in 2c7104a8f6d2 [2023-08-31T11:53:15.001Z] Removing intermediate container 2c7104a8f6d2 [2023-08-31T11:53:15.001Z] ---> c8a5cc6c17f3 [2023-08-31T11:53:15.001Z] Step 10/12 : COPY . . [2023-08-31T11:53:15.001Z] ---> f182339eb436 [2023-08-31T11:53:15.001Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T11:53:15.001Z] ---> Running in dbf9f8f3160d [2023-08-31T11:53:15.001Z] Removing intermediate container dbf9f8f3160d [2023-08-31T11:53:15.001Z] ---> 1e517d39b6eb [2023-08-31T11:53:15.001Z] Step 12/12 : RUN $MAKE [2023-08-31T11:53:15.001Z] ---> Running in c19fc1c74716 [2023-08-31T11:53:15.001Z] noop [2023-08-31T11:53:15.001Z] Removing intermediate container c19fc1c74716 [2023-08-31T11:53:15.001Z] ---> 371052decffb [2023-08-31T11:53:15.001Z] Successfully built 371052decffb [2023-08-31T11:53:15.001Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:53:15.452Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T11:53:15.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T11:53:15.605Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-08-31T11:53:15.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-423 -v /w/workspace/foundry_device-virtual-go_PR-423:/w/workspace/foundry_device-virtual-go_PR-423:rw,z -v /w/workspace/foundry_device-virtual-go_PR-423@tmp:/w/workspace/foundry_device-virtual-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-31T11:53:15.973Z] $ docker top 48cb6b9f43b37418da820f851a2434304b517f50d975ead23f254c42bc5cfffd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T11:53:16.360Z] + go version [2023-08-31T11:53:16.360Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-31T11:53:16.394Z] $ docker stop --time=1 48cb6b9f43b37418da820f851a2434304b517f50d975ead23f254c42bc5cfffd [2023-08-31T11:53:17.663Z] $ docker rm -f --volumes 48cb6b9f43b37418da820f851a2434304b517f50d975ead23f254c42bc5cfffd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:53:18.410Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T11:53:18.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T11:53:18.558Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-08-31T11:53:18.594Z] $ 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-423 -v /w/workspace/foundry_device-virtual-go_PR-423:/w/workspace/foundry_device-virtual-go_PR-423:rw,z -v /w/workspace/foundry_device-virtual-go_PR-423@tmp:/w/workspace/foundry_device-virtual-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-31T11:53:18.909Z] $ docker top 04025bf9997615c41fbd28ffe67bde198d0c33ef23a923779f228d2890b023ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T11:53:19.291Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-423 [Pipeline] fileExists [Pipeline] sh [2023-08-31T11:53:19.655Z] + make test [2023-08-31T11:53:19.655Z] go test ./... -coverprofile=coverage.out [2023-08-31T11:53:25.081Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-31T11:53:35.040Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-31T11:53:35.040Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements [2023-08-31T11:53:41.600Z] go vet ./... [2023-08-31T11:53:45.791Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T11:53:45.791Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T11:53:45.791Z] ./bin/test-attribution-txt.sh [2023-08-31T11:53:45.791Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-31T11:53:45.791Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-31T11:53:45.791Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-31T11:53:45.791Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-31T11:53:45.791Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-31T11:53:45.791Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-31T11:53:45.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T11:53:45.860Z] $ docker stop --time=1 04025bf9997615c41fbd28ffe67bde198d0c33ef23a923779f228d2890b023ef [2023-08-31T11:53:50.905Z] $ docker rm -f --volumes 04025bf9997615c41fbd28ffe67bde198d0c33ef23a923779f228d2890b023ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T11:53:51.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T11:53:51.592Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-31T11:53:52.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T11:53:52.592Z] + ls -al . [2023-08-31T11:53:52.592Z] total 204 [2023-08-31T11:53:52.592Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 11:53 . [2023-08-31T11:53:52.592Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 11:51 .. [2023-08-31T11:53:52.592Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 11:52 .git [2023-08-31T11:53:52.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 11:51 .github [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 11:51 .gitignore [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 11:51 .golangci.yml [2023-08-31T11:53:52.592Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 11:52 .semver [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 31 11:51 Attribution.txt [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 31 11:51 CHANGELOG.md [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 31 11:51 Dockerfile [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 11:51 GOVERNANCE.md [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 11:51 Jenkinsfile [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 11:51 LICENSE [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 31 11:51 Makefile [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 11:51 OWNERS.md [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 31 11:51 README.md [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 11:52 VERSION [2023-08-31T11:53:52.592Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 11:51 bin [2023-08-31T11:53:52.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 11:51 cmd [2023-08-31T11:53:52.592Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 31 11:53 coverage.out [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 31 11:51 go.mod [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 31 11:51 go.sum [2023-08-31T11:53:52.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 11:51 internal [2023-08-31T11:53:52.592Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 11:51 snap [2023-08-31T11:53:52.592Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 11:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:53:52.991Z] + 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=66712e7cd52047b67924e783ab4a139eb47b1ef8 --label arch=amd64 --label version=0.0.0 . [2023-08-31T11:53:52.991Z] Sending build context to Docker daemon 23.62MB [2023-08-31T11:53:52.991Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T11:53:52.991Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-31T11:53:52.991Z] ---> 371052decffb [2023-08-31T11:53:52.991Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T11:53:53.598Z] ---> Running in 6789d3a346d7 [2023-08-31T11:53:53.598Z] Removing intermediate container 6789d3a346d7 [2023-08-31T11:53:53.598Z] ---> 54866659edd2 [2023-08-31T11:53:53.598Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T11:53:53.598Z] ---> Running in 54b37c1bea72 [2023-08-31T11:53:53.858Z] Removing intermediate container 54b37c1bea72 [2023-08-31T11:53:53.858Z] ---> 50f0b257f659 [2023-08-31T11:53:53.858Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-31T11:53:53.858Z] ---> Running in 2e6357461d36 [2023-08-31T11:53:53.858Z] Removing intermediate container 2e6357461d36 [2023-08-31T11:53:53.858Z] ---> 097a1d804b21 [2023-08-31T11:53:53.858Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-31T11:53:53.858Z] ---> Running in 84eab0fdba1f [2023-08-31T11:53:53.858Z] Removing intermediate container 84eab0fdba1f [2023-08-31T11:53:53.858Z] ---> 078aab80d2b7 [2023-08-31T11:53:53.858Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T11:53:53.858Z] ---> Running in 45bed308841e [2023-08-31T11:53:54.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T11:53:54.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T11:53:54.639Z] OK: 269 MiB in 57 packages [2023-08-31T11:53:54.929Z] Removing intermediate container 45bed308841e [2023-08-31T11:53:54.929Z] ---> 91709a360c71 [2023-08-31T11:53:54.929Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-31T11:53:55.188Z] ---> 678f96e06865 [2023-08-31T11:53:55.188Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T11:53:55.188Z] ---> Running in 10a5a15d94d4 [2023-08-31T11:53:55.756Z] Removing intermediate container 10a5a15d94d4 [2023-08-31T11:53:55.756Z] ---> 8307a14d27f9 [2023-08-31T11:53:55.756Z] Step 10/25 : COPY . . [2023-08-31T11:53:56.322Z] ---> 94a4389c6415 [2023-08-31T11:53:56.322Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T11:53:56.580Z] ---> Running in e75166f8abca [2023-08-31T11:53:56.839Z] Removing intermediate container e75166f8abca [2023-08-31T11:53:56.839Z] ---> b0c3c3f96e9c [2023-08-31T11:53:56.839Z] Step 12/25 : RUN $MAKE [2023-08-31T11:53:56.839Z] ---> Running in c5a574cf70bf [2023-08-31T11:53:57.098Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-31T11:54:07.387Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4999 in /w/workspace/foundry_device-virtual-go_PR-423 [Pipeline] { [Pipeline] ws [2023-08-31T11:54:07.445Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-08-31T11:54:07.530Z] The recommended git tool is: git [2023-08-31T11:54:12.463Z] using credential edgex-jenkins-ssh [2023-08-31T11:54:12.480Z] Cloning the remote Git repository [2023-08-31T11:54:12.521Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-08-31T11:54:12.613Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-08-31T11:54:12.754Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-31T11:54:12.755Z] > git --version # timeout=10 [2023-08-31T11:54:12.777Z] > git --version # 'git version 2.25.1' [2023-08-31T11:54:12.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T11:54:12.918Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T11:54:14.841Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-31T11:54:14.859Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T11:54:16.158Z] Merging remotes/origin/main commit 83fb2e95e5e72747d7a272c489488621ada49dbc into PR head commit 66712e7cd52047b67924e783ab4a139eb47b1ef8 [2023-08-31T11:54:15.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-31T11:54:15.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-31T11:54:15.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T11:54:15.710Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-31T11:54:16.173Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T11:54:16.240Z] > git checkout -f 66712e7cd52047b67924e783ab4a139eb47b1ef8 # timeout=10 [2023-08-31T11:54:16.420Z] Merge succeeded, producing 66712e7cd52047b67924e783ab4a139eb47b1ef8 [2023-08-31T11:54:16.421Z] Checking out Revision 66712e7cd52047b67924e783ab4a139eb47b1ef8 (PR-423) [2023-08-31T11:54:16.824Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-08-31T11:54:16.867Z] > git --version # timeout=10 [2023-08-31T11:54:16.876Z] > git --version # 'git version 2.25.1' [2023-08-31T11:54:16.902Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T11:54:16.323Z] > git remote # timeout=10 [2023-08-31T11:54:16.347Z] > git config --get remote.origin.url # timeout=10 [2023-08-31T11:54:16.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T11:54:16.377Z] > git merge 83fb2e95e5e72747d7a272c489488621ada49dbc # timeout=10 [2023-08-31T11:54:16.400Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-31T11:54:16.423Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T11:54:16.435Z] > git checkout -f 66712e7cd52047b67924e783ab4a139eb47b1ef8 # timeout=10 [2023-08-31T11:54:18.038Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-31T11:54:18.038Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T11:54:18.038Z] Dload Upload Total Spent Left Speed [2023-08-31T11:54:18.038Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh [2023-08-31T11:54:18.683Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-31T11:54:19.033Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-31T11:54:19.033Z] + sudo tee /etc/docker/daemon.new [2023-08-31T11:54:19.033Z] { [2023-08-31T11:54:19.033Z] "registry-mirrors": [ [2023-08-31T11:54:19.033Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-31T11:54:19.033Z] ], [2023-08-31T11:54:19.033Z] "bip": "10.250.0.254/24", [2023-08-31T11:54:19.033Z] "hosts": [ [2023-08-31T11:54:19.033Z] "tcp://0.0.0.0:5555", [2023-08-31T11:54:19.033Z] "unix:///var/run/docker.sock" [2023-08-31T11:54:19.033Z] ], [2023-08-31T11:54:19.033Z] "mtu": 1458, [2023-08-31T11:54:19.033Z] "selinux-enabled": true, [2023-08-31T11:54:19.033Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-31T11:54:19.033Z] } [Pipeline] sh [2023-08-31T11:54:19.378Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-31T11:54:19.728Z] + sudo service docker restart [2023-08-31T11:54:23.642Z] Removing intermediate container c5a574cf70bf [2023-08-31T11:54:23.642Z] ---> e44208be202e [2023-08-31T11:54:23.642Z] Step 13/25 : FROM alpine:3.17 [2023-08-31T11:54:23.642Z] 3.17: Pulling from library/alpine [2023-08-31T11:54:23.642Z] 9398808236ff: Pulling fs layer [2023-08-31T11:54:23.642Z] 9398808236ff: Verifying Checksum [2023-08-31T11:54:23.642Z] 9398808236ff: Download complete [2023-08-31T11:54:23.642Z] 9398808236ff: Pull complete [2023-08-31T11:54:23.642Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T11:54:23.642Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T11:54:23.642Z] ---> 1e0b8b5322fc [2023-08-31T11:54:23.642Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-31T11:54:23.642Z] ---> Running in ade3d9026076 [2023-08-31T11:54:23.642Z] Removing intermediate container ade3d9026076 [2023-08-31T11:54:23.642Z] ---> 2fd84ae81309 [2023-08-31T11:54:23.642Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-31T11:54:23.642Z] ---> Running in a3a174090b1f [2023-08-31T11:54:23.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T11:54:23.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T11:54:23.642Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T11:54:23.642Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T11:54:23.642Z] OK: 7 MiB in 16 packages [2023-08-31T11:54:23.642Z] Removing intermediate container a3a174090b1f [2023-08-31T11:54:23.642Z] ---> 66054ce949ad [2023-08-31T11:54:23.642Z] Step 16/25 : WORKDIR / [2023-08-31T11:54:23.642Z] ---> Running in a6b9ed9acb65 [2023-08-31T11:54:23.642Z] Removing intermediate container a6b9ed9acb65 [2023-08-31T11:54:23.642Z] ---> 20524cd1c237 [2023-08-31T11:54:23.642Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-31T11:54:23.642Z] ---> 501024682563 [2023-08-31T11:54:23.642Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-31T11:54:23.642Z] ---> c3f600d6f611 [2023-08-31T11:54:23.642Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-31T11:54:23.642Z] ---> 159cac0a17eb [2023-08-31T11:54:23.642Z] Step 20/25 : EXPOSE 59900 [2023-08-31T11:54:23.642Z] ---> Running in 9b7c84da6e9e [2023-08-31T11:54:23.642Z] Removing intermediate container 9b7c84da6e9e [2023-08-31T11:54:23.642Z] ---> 34995ec7fb16 [2023-08-31T11:54:23.642Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-31T11:54:23.642Z] ---> Running in 263a0cab2950 [2023-08-31T11:54:23.642Z] Removing intermediate container 263a0cab2950 [2023-08-31T11:54:23.642Z] ---> 7bbbbf0ffede [2023-08-31T11:54:23.642Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-31T11:54:23.642Z] ---> Running in 7873cb85954e [2023-08-31T11:54:23.642Z] Removing intermediate container 7873cb85954e [2023-08-31T11:54:23.642Z] ---> b1fb281fb88f [2023-08-31T11:54:23.642Z] Step 23/25 : LABEL arch=amd64 [2023-08-31T11:54:23.642Z] ---> Running in e39b8f9eeb53 [2023-08-31T11:54:23.642Z] Removing intermediate container e39b8f9eeb53 [2023-08-31T11:54:23.642Z] ---> 312f31565ff5 [2023-08-31T11:54:23.642Z] Step 24/25 : LABEL git_sha=66712e7cd52047b67924e783ab4a139eb47b1ef8 [2023-08-31T11:54:23.642Z] ---> Running in 0e5bccf263e6 [2023-08-31T11:54:23.642Z] Removing intermediate container 0e5bccf263e6 [2023-08-31T11:54:23.642Z] ---> 1c63b4478890 [2023-08-31T11:54:23.642Z] Step 25/25 : LABEL version=0.0.0 [2023-08-31T11:54:23.642Z] ---> Running in b3939a5b8088 [2023-08-31T11:54:23.642Z] Removing intermediate container b3939a5b8088 [2023-08-31T11:54:23.642Z] ---> 09daebfb6ae0 [2023-08-31T11:54:23.642Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T11:54:23.642Z] Successfully built 09daebfb6ae0 [2023-08-31T11:54:23.642Z] 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-08-31T11:54:24.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T11:54:24.572Z] [2023-08-31T11:54:24.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:54:24.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T11:54:24.950Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-31T11:54:24.950Z] 5eb5b503b376: Pulling fs layer [2023-08-31T11:54:24.950Z] 5c69ac0246d0: Pulling fs layer [2023-08-31T11:54:24.950Z] ec43610c2a17: Pulling fs layer [2023-08-31T11:54:24.950Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-31T11:54:24.950Z] 33b1e0a273af: Pulling fs layer [2023-08-31T11:54:24.950Z] 5d3b04190fa2: Pulling fs layer [2023-08-31T11:54:24.950Z] 2f39f015ded8: Pulling fs layer [2023-08-31T11:54:24.950Z] 3a2ae6a8a46f: Waiting [2023-08-31T11:54:24.950Z] 5d3b04190fa2: Waiting [2023-08-31T11:54:24.950Z] 33b1e0a273af: Waiting [2023-08-31T11:54:24.950Z] 5c69ac0246d0: Verifying Checksum [2023-08-31T11:54:24.950Z] 5c69ac0246d0: Download complete [2023-08-31T11:54:24.950Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-31T11:54:24.950Z] 3a2ae6a8a46f: Download complete [2023-08-31T11:54:25.209Z] ec43610c2a17: Verifying Checksum [2023-08-31T11:54:25.209Z] ec43610c2a17: Download complete [2023-08-31T11:54:25.209Z] 33b1e0a273af: Verifying Checksum [2023-08-31T11:54:25.209Z] 33b1e0a273af: Download complete [2023-08-31T11:54:25.209Z] 5d3b04190fa2: Verifying Checksum [2023-08-31T11:54:25.209Z] 5eb5b503b376: Verifying Checksum [2023-08-31T11:54:25.209Z] 5eb5b503b376: Download complete [2023-08-31T11:54:26.144Z] 2f39f015ded8: Download complete [2023-08-31T11:54:26.402Z] 5eb5b503b376: Pull complete [2023-08-31T11:54:26.402Z] 5c69ac0246d0: Pull complete [2023-08-31T11:54:26.971Z] ec43610c2a17: Pull complete [2023-08-31T11:54:26.971Z] 3a2ae6a8a46f: Pull complete [2023-08-31T11:54:27.233Z] 33b1e0a273af: Pull complete [2023-08-31T11:54:27.233Z] 5d3b04190fa2: Pull complete [2023-08-31T11:54:31.419Z] 2f39f015ded8: Pull complete [2023-08-31T11:54:31.419Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-31T11:54:31.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T11:54:31.419Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T11:54:31.648Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-08-31T11:54:31.685Z] $ 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-423 -v /w/workspace/foundry_device-virtual-go_PR-423:/w/workspace/foundry_device-virtual-go_PR-423:rw,z -v /w/workspace/foundry_device-virtual-go_PR-423@tmp:/w/workspace/foundry_device-virtual-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-31T11:54:39.035Z] $ docker top bacc1c0b9bc5f43b29c1743c7951c54a5abb350f0307a8f103ab08411353a320 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-08-31T11:54:39.301Z] provisioning config files... [2023-08-31T11:54:39.326Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config578716693349530201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T11:54:39.540Z] ---> job-cost.sh [2023-08-31T11:54:39.540Z] lf-activate-venv: SKIPPING [2023-08-31T11:54:39.540Z] INFO: No Stack... [2023-08-31T11:54:39.706Z] ---> docker-login.sh [2023-08-31T11:54:39.706Z] nexus3.edgexfoundry.org:10001 [2023-08-31T11:54:39.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:54:40.106Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T11:54:40.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:54:40.246Z] Configure a credential helper to remove this warning. See [2023-08-31T11:54:40.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:54:40.246Z] [2023-08-31T11:54:40.246Z] Login Succeeded [2023-08-31T11:54:40.246Z] nexus3.edgexfoundry.org:10002 [2023-08-31T11:54:40.365Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T11:54:40.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:54:40.683Z] + cat /w/workspace/foundry_device-virtual-go_PR-423/archives/cost.csv [2023-08-31T11:54:40.683Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T11:54:40.723Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-423-1-stack-cost] [2023-08-31T11:54:40.727Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-423-1-stack-cost] did not exist. Created. [2023-08-31T11:54:40.727Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-08-31T11:54:40.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:54:40.784Z] Configure a credential helper to remove this warning. See [2023-08-31T11:54:40.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:54:40.784Z] [2023-08-31T11:54:40.784Z] Login Succeeded [2023-08-31T11:54:40.784Z] nexus3.edgexfoundry.org:10003 [2023-08-31T11:54:40.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2023-08-31T11:54:41.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:54:41.055Z] Configure a credential helper to remove this warning. See [2023-08-31T11:54:41.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:54:41.056Z] [2023-08-31T11:54:41.056Z] Login Succeeded [2023-08-31T11:54:41.056Z] nexus3.edgexfoundry.org:10004 [2023-08-31T11:54:41.136Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-31T11:54:41.184Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T11:54:41.212Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T11:54:41.289Z] $ docker stop --time=1 bacc1c0b9bc5f43b29c1743c7951c54a5abb350f0307a8f103ab08411353a320 [2023-08-31T11:54:41.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:54:41.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:54:41.326Z] Configure a credential helper to remove this warning. See [2023-08-31T11:54:41.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:54:41.326Z] [2023-08-31T11:54:41.326Z] Login Succeeded [2023-08-31T11:54:41.326Z] docker.io [2023-08-31T11:54:41.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T11:54:41.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T11:54:41.862Z] Configure a credential helper to remove this warning. See [2023-08-31T11:54:41.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T11:54:41.862Z] [2023-08-31T11:54:41.862Z] Login Succeeded [2023-08-31T11:54:41.862Z] ---> docker-login.sh ends [2023-08-31T11:54:42.437Z] $ docker rm -f --volumes bacc1c0b9bc5f43b29c1743c7951c54a5abb350f0307a8f103ab08411353a320 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-08-31T11:54:42.583Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-08-31T11:54:42.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T11:54:43.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T11:54:43.071Z] ========================================================= [2023-08-31T11:54:43.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-31T11:54:43.071Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:54:43.576Z] + 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-08-31T11:54:43.848Z] Sending build context to Docker daemon 11.92MB [2023-08-31T11:54:43.848Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T11:54:43.848Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-31T11:54:44.118Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-31T11:54:44.118Z] edb6bdbacee9: Pulling fs layer [2023-08-31T11:54:44.118Z] 5f9638ab2659: Pulling fs layer [2023-08-31T11:54:44.118Z] 8d51d6327a98: Pulling fs layer [2023-08-31T11:54:44.118Z] 8b374f2dd631: Pulling fs layer [2023-08-31T11:54:44.118Z] ec14aa9079de: Pulling fs layer [2023-08-31T11:54:44.118Z] 2f466654f4bb: Pulling fs layer [2023-08-31T11:54:44.118Z] 554e91adad29: Pulling fs layer [2023-08-31T11:54:44.118Z] ec14aa9079de: Waiting [2023-08-31T11:54:44.118Z] 2f466654f4bb: Waiting [2023-08-31T11:54:44.118Z] 8b374f2dd631: Waiting [2023-08-31T11:54:44.118Z] 554e91adad29: Waiting [2023-08-31T11:54:44.118Z] 5f9638ab2659: Download complete [2023-08-31T11:54:44.118Z] 8b374f2dd631: Verifying Checksum [2023-08-31T11:54:44.118Z] 8b374f2dd631: Download complete [2023-08-31T11:54:44.118Z] ec14aa9079de: Verifying Checksum [2023-08-31T11:54:44.118Z] ec14aa9079de: Download complete [2023-08-31T11:54:44.118Z] edb6bdbacee9: Download complete [2023-08-31T11:54:46.736Z] edb6bdbacee9: Pull complete [2023-08-31T11:54:46.736Z] 554e91adad29: Verifying Checksum [2023-08-31T11:54:46.736Z] 554e91adad29: Download complete [2023-08-31T11:54:46.736Z] 2f466654f4bb: Verifying Checksum [2023-08-31T11:54:46.736Z] 2f466654f4bb: Download complete [2023-08-31T11:54:46.736Z] 8d51d6327a98: Verifying Checksum [2023-08-31T11:54:46.736Z] 8d51d6327a98: Download complete [2023-08-31T11:54:46.736Z] 5f9638ab2659: Pull complete [2023-08-31T11:54:59.063Z] 8d51d6327a98: Pull complete [2023-08-31T11:54:59.063Z] 8b374f2dd631: Pull complete [2023-08-31T11:54:59.063Z] ec14aa9079de: Pull complete [2023-08-31T11:55:05.855Z] 2f466654f4bb: Pull complete [2023-08-31T11:55:07.812Z] 554e91adad29: Pull complete [2023-08-31T11:55:07.812Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-31T11:55:07.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-31T11:55:07.812Z] ---> 1e15ea492957 [2023-08-31T11:55:07.812Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T11:55:08.796Z] ---> Running in 5a7596d73a7c [2023-08-31T11:55:08.796Z] Removing intermediate container 5a7596d73a7c [2023-08-31T11:55:08.796Z] ---> ab25f4477b6f [2023-08-31T11:55:08.796Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T11:55:09.065Z] ---> Running in e9f1c57d422c [2023-08-31T11:55:09.332Z] Removing intermediate container e9f1c57d422c [2023-08-31T11:55:09.332Z] ---> b725d5fce824 [2023-08-31T11:55:09.332Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-31T11:55:09.332Z] ---> Running in b93d525d2425 [2023-08-31T11:55:09.601Z] Removing intermediate container b93d525d2425 [2023-08-31T11:55:09.601Z] ---> 2843e06a083e [2023-08-31T11:55:09.601Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-31T11:55:09.601Z] ---> Running in e966430b53b9 [2023-08-31T11:55:09.879Z] Removing intermediate container e966430b53b9 [2023-08-31T11:55:09.879Z] ---> f5bac1ec6476 [2023-08-31T11:55:09.879Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T11:55:10.146Z] ---> Running in eece725e7945 [2023-08-31T11:55:11.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T11:55:11.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T11:55:12.663Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T11:55:12.663Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-31T11:55:12.663Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T11:55:12.663Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T11:55:12.663Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T11:55:12.933Z] OK: 268 MiB in 57 packages [2023-08-31T11:55:14.343Z] Removing intermediate container eece725e7945 [2023-08-31T11:55:14.343Z] ---> 13abcabc808e [2023-08-31T11:55:14.343Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-31T11:55:14.928Z] ---> 27321eddca71 [2023-08-31T11:55:14.928Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T11:55:14.928Z] ---> Running in a1fa12a59e8e [2023-08-31T11:56:22.816Z] Removing intermediate container a1fa12a59e8e [2023-08-31T11:56:22.817Z] ---> 179cca0c12b2 [2023-08-31T11:56:22.817Z] Step 10/12 : COPY . . [2023-08-31T11:56:22.817Z] ---> 88c69b513f7b [2023-08-31T11:56:22.817Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T11:56:22.817Z] ---> Running in 2af344d25b15 [2023-08-31T11:56:22.817Z] Removing intermediate container 2af344d25b15 [2023-08-31T11:56:22.817Z] ---> 3b0b59841770 [2023-08-31T11:56:22.817Z] Step 12/12 : RUN $MAKE [2023-08-31T11:56:22.817Z] ---> Running in 1586ef5af29a [2023-08-31T11:56:22.817Z] noop [2023-08-31T11:56:22.817Z] Removing intermediate container 1586ef5af29a [2023-08-31T11:56:22.817Z] ---> c1eae64e1149 [2023-08-31T11:56:22.817Z] Successfully built c1eae64e1149 [2023-08-31T11:56:22.817Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:56:23.300Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T11:56:23.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T11:56:23.560Z] prd-ubuntu20.04-docker-arm64-4c-16g-4999 does not seem to be running inside a container [2023-08-31T11:56:23.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-31T11:56:24.733Z] $ docker top a13fb62d0a50b0174db29a0a703fc9db3f533fc00e20da29bc8cdcf75433c1cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T11:56:25.598Z] + go version [2023-08-31T11:56:25.598Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-31T11:56:25.625Z] $ docker stop --time=1 a13fb62d0a50b0174db29a0a703fc9db3f533fc00e20da29bc8cdcf75433c1cc [2023-08-31T11:56:27.188Z] $ docker rm -f --volumes a13fb62d0a50b0174db29a0a703fc9db3f533fc00e20da29bc8cdcf75433c1cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:56:28.027Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T11:56:28.027Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T11:56:28.267Z] prd-ubuntu20.04-docker-arm64-4c-16g-4999 does not seem to be running inside a container [2023-08-31T11:56:28.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-31T11:56:29.424Z] $ docker top 658dabf218410887d27875033d92d36ed501532cbad51af185c18f94031ac0cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T11:56:29.959Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-31T11:56:30.346Z] + make test [2023-08-31T11:56:30.346Z] go test ./... -coverprofile=coverage.out [2023-08-31T11:57:02.595Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-31T11:58:54.267Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-31T11:58:54.267Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.087s coverage: 58.4% of statements [2023-08-31T11:58:54.267Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-31T11:58:54.267Z] go vet ./... [2023-08-31T11:59:20.945Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T11:59:20.945Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T11:59:20.945Z] ./bin/test-attribution-txt.sh [2023-08-31T11:59:20.945Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-31T11:59:20.945Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-31T11:59:20.945Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-31T11:59:20.945Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-31T11:59:20.945Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-31T11:59:20.945Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-31T11:59:20.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T11:59:21.010Z] $ docker stop --time=1 658dabf218410887d27875033d92d36ed501532cbad51af185c18f94031ac0cf [2023-08-31T11:59:22.784Z] $ docker rm -f --volumes 658dabf218410887d27875033d92d36ed501532cbad51af185c18f94031ac0cf [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T11:59:23.956Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T11:59:23.990Z] Warning: overwriting stash ‘coverage-report’ [2023-08-31T11:59:24.413Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T11:59:24.993Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T11:59:25.323Z] + ls -al . [2023-08-31T11:59:25.323Z] total 200 [2023-08-31T11:59:25.323Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 11:56 . [2023-08-31T11:59:25.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 11:54 .. [2023-08-31T11:59:25.323Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 11:54 .git [2023-08-31T11:59:25.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 11:54 .github [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 11:54 .gitignore [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 11:54 .golangci.yml [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 31 11:54 Attribution.txt [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 31 11:54 CHANGELOG.md [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 31 11:54 Dockerfile [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 11:54 GOVERNANCE.md [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 11:54 Jenkinsfile [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 11:54 LICENSE [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 31 11:54 Makefile [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 11:54 OWNERS.md [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 31 11:54 README.md [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 11:52 VERSION [2023-08-31T11:59:25.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 11:54 bin [2023-08-31T11:59:25.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 11:54 cmd [2023-08-31T11:59:25.323Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 31 11:58 coverage.out [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 31 11:54 go.mod [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 31 11:54 go.sum [2023-08-31T11:59:25.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 11:54 internal [2023-08-31T11:59:25.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 11:54 snap [2023-08-31T11:59:25.323Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 11:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T11:59:25.743Z] + 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=66712e7cd52047b67924e783ab4a139eb47b1ef8 --label arch=arm64 --label version=0.0.0 . [2023-08-31T11:59:26.013Z] Sending build context to Docker daemon 11.97MB [2023-08-31T11:59:26.013Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T11:59:26.013Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-31T11:59:26.013Z] ---> c1eae64e1149 [2023-08-31T11:59:26.013Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T11:59:26.282Z] ---> Running in 66ef5a4dba12 [2023-08-31T11:59:26.549Z] Removing intermediate container 66ef5a4dba12 [2023-08-31T11:59:26.550Z] ---> a556c6322cb5 [2023-08-31T11:59:26.550Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T11:59:26.550Z] ---> Running in bb426c1c6c4b [2023-08-31T11:59:26.821Z] Removing intermediate container bb426c1c6c4b [2023-08-31T11:59:26.821Z] ---> f37582abee79 [2023-08-31T11:59:26.821Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-31T11:59:27.088Z] ---> Running in 9db1f6823d1d [2023-08-31T11:59:27.355Z] Removing intermediate container 9db1f6823d1d [2023-08-31T11:59:27.355Z] ---> 81de0ab8e9d4 [2023-08-31T11:59:27.355Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-31T11:59:27.355Z] ---> Running in 49c7438b61b9 [2023-08-31T11:59:27.621Z] Removing intermediate container 49c7438b61b9 [2023-08-31T11:59:27.621Z] ---> 86573f313232 [2023-08-31T11:59:27.621Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T11:59:27.621Z] ---> Running in 37165b80cd56 [2023-08-31T11:59:28.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T11:59:29.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T11:59:30.120Z] OK: 268 MiB in 57 packages [2023-08-31T11:59:31.084Z] Removing intermediate container 37165b80cd56 [2023-08-31T11:59:31.084Z] ---> a26621c9e50c [2023-08-31T11:59:31.084Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-31T11:59:31.361Z] ---> 7b2edf3fd799 [2023-08-31T11:59:31.361Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T11:59:31.361Z] ---> Running in d6de06c5fb8d [2023-08-31T11:59:33.945Z] Removing intermediate container d6de06c5fb8d [2023-08-31T11:59:33.945Z] ---> e38370a26387 [2023-08-31T11:59:33.945Z] Step 10/25 : COPY . . [2023-08-31T11:59:35.007Z] ---> 0c3f8bbcac4b [2023-08-31T11:59:35.007Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T11:59:35.275Z] ---> Running in 069ca28fd516 [2023-08-31T11:59:35.544Z] Removing intermediate container 069ca28fd516 [2023-08-31T11:59:35.544Z] ---> 18f7fc74ff77 [2023-08-31T11:59:35.545Z] Step 12/25 : RUN $MAKE [2023-08-31T11:59:35.545Z] ---> Running in 86dfbd46e872 [2023-08-31T11:59:36.510Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-31T12:01:58.226Z] Removing intermediate container 86dfbd46e872 [2023-08-31T12:01:58.226Z] ---> 4bbfd2fece9c [2023-08-31T12:01:58.226Z] Step 13/25 : FROM alpine:3.17 [2023-08-31T12:01:58.226Z] 3.17: Pulling from library/alpine [2023-08-31T12:01:58.226Z] 4060ece20d7a: Pulling fs layer [2023-08-31T12:01:58.226Z] 4060ece20d7a: Verifying Checksum [2023-08-31T12:01:58.226Z] 4060ece20d7a: Download complete [2023-08-31T12:01:58.226Z] 4060ece20d7a: Pull complete [2023-08-31T12:01:58.226Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T12:01:58.226Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T12:01:58.226Z] ---> 8650cd65339b [2023-08-31T12:01:58.226Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-31T12:01:58.226Z] ---> Running in dee075739fd4 [2023-08-31T12:01:58.226Z] Removing intermediate container dee075739fd4 [2023-08-31T12:01:58.226Z] ---> 89a52b826636 [2023-08-31T12:01:58.226Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-31T12:01:58.226Z] ---> Running in 7c35bfc0dadd [2023-08-31T12:01:58.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T12:01:58.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T12:01:58.226Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T12:01:58.226Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T12:01:58.226Z] OK: 8 MiB in 16 packages [2023-08-31T12:01:58.226Z] Removing intermediate container 7c35bfc0dadd [2023-08-31T12:01:58.226Z] ---> 28cd3e1586e8 [2023-08-31T12:01:58.226Z] Step 16/25 : WORKDIR / [2023-08-31T12:01:58.226Z] ---> Running in eebb07b0374b [2023-08-31T12:01:58.226Z] Removing intermediate container eebb07b0374b [2023-08-31T12:01:58.226Z] ---> 00188082af09 [2023-08-31T12:01:58.226Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-31T12:01:58.226Z] ---> 35fb9e5701a3 [2023-08-31T12:01:58.226Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-31T12:01:58.226Z] ---> f1b135947c45 [2023-08-31T12:01:58.226Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-31T12:01:58.226Z] ---> 21cbd27bf60f [2023-08-31T12:01:58.226Z] Step 20/25 : EXPOSE 59900 [2023-08-31T12:01:58.226Z] ---> Running in d0a28e0bbaab [2023-08-31T12:01:58.226Z] Removing intermediate container d0a28e0bbaab [2023-08-31T12:01:58.226Z] ---> 5aebec4e9ab3 [2023-08-31T12:01:58.226Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-31T12:01:58.226Z] ---> Running in 949bd1bfe2ff [2023-08-31T12:01:58.226Z] Removing intermediate container 949bd1bfe2ff [2023-08-31T12:01:58.226Z] ---> b9eaa5229134 [2023-08-31T12:01:58.226Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-31T12:01:58.226Z] ---> Running in a1c8c8610777 [2023-08-31T12:01:58.226Z] Removing intermediate container a1c8c8610777 [2023-08-31T12:01:58.226Z] ---> ebcccfe3db34 [2023-08-31T12:01:58.226Z] Step 23/25 : LABEL arch=arm64 [2023-08-31T12:01:58.226Z] ---> Running in 805d2e78b594 [2023-08-31T12:01:58.226Z] Removing intermediate container 805d2e78b594 [2023-08-31T12:01:58.226Z] ---> 28b0168f4bf5 [2023-08-31T12:01:58.226Z] Step 24/25 : LABEL git_sha=66712e7cd52047b67924e783ab4a139eb47b1ef8 [2023-08-31T12:01:58.226Z] ---> Running in 2ca80568e98e [2023-08-31T12:01:58.226Z] Removing intermediate container 2ca80568e98e [2023-08-31T12:01:58.226Z] ---> a0760e871816 [2023-08-31T12:01:58.226Z] Step 25/25 : LABEL version=0.0.0 [2023-08-31T12:01:58.226Z] ---> Running in 665723e14ff9 [2023-08-31T12:01:58.226Z] Removing intermediate container 665723e14ff9 [2023-08-31T12:01:58.226Z] ---> ed1482fd5d72 [2023-08-31T12:01:58.226Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T12:01:58.226Z] Successfully built ed1482fd5d72 [2023-08-31T12:01:58.226Z] 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-08-31T12:01:59.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T12:01:59.054Z] [2023-08-31T12:01:59.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T12:01:59.462Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T12:01:59.462Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-31T12:01:59.462Z] 8998bd30e6a1: Pulling fs layer [2023-08-31T12:01:59.462Z] 04944245beec: Pulling fs layer [2023-08-31T12:01:59.462Z] 699f458cf7ca: Pulling fs layer [2023-08-31T12:01:59.462Z] 765212b225bb: Pulling fs layer [2023-08-31T12:01:59.462Z] f23df028b6ca: Pulling fs layer [2023-08-31T12:01:59.462Z] d65c8cfc05b1: Pulling fs layer [2023-08-31T12:01:59.462Z] 2437ff75d9bd: Pulling fs layer [2023-08-31T12:01:59.462Z] f23df028b6ca: Waiting [2023-08-31T12:01:59.462Z] d65c8cfc05b1: Waiting [2023-08-31T12:01:59.462Z] 765212b225bb: Waiting [2023-08-31T12:01:59.462Z] 2437ff75d9bd: Waiting [2023-08-31T12:01:59.733Z] 04944245beec: Verifying Checksum [2023-08-31T12:01:59.733Z] 04944245beec: Download complete [2023-08-31T12:01:59.733Z] 765212b225bb: Download complete [2023-08-31T12:01:59.733Z] f23df028b6ca: Verifying Checksum [2023-08-31T12:01:59.733Z] f23df028b6ca: Download complete [2023-08-31T12:01:59.733Z] d65c8cfc05b1: Verifying Checksum [2023-08-31T12:01:59.733Z] d65c8cfc05b1: Download complete [2023-08-31T12:01:59.733Z] 699f458cf7ca: Verifying Checksum [2023-08-31T12:01:59.733Z] 699f458cf7ca: Download complete [2023-08-31T12:02:00.314Z] 8998bd30e6a1: Download complete [2023-08-31T12:02:02.253Z] 2437ff75d9bd: Verifying Checksum [2023-08-31T12:02:02.253Z] 2437ff75d9bd: Download complete [2023-08-31T12:02:04.197Z] 8998bd30e6a1: Pull complete [2023-08-31T12:02:04.197Z] 04944245beec: Pull complete [2023-08-31T12:02:05.601Z] 699f458cf7ca: Pull complete [2023-08-31T12:02:05.601Z] 765212b225bb: Pull complete [2023-08-31T12:02:06.560Z] f23df028b6ca: Pull complete [2023-08-31T12:02:06.560Z] d65c8cfc05b1: Pull complete [2023-08-31T12:02:21.550Z] 2437ff75d9bd: Pull complete [2023-08-31T12:02:21.550Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-31T12:02:21.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T12:02:21.550Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T12:02:21.848Z] prd-ubuntu20.04-docker-arm64-4c-16g-4999 does not seem to be running inside a container [2023-08-31T12:02:21.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-31T12:02:24.248Z] $ docker top b189c99073552e60189230fcb3d2a71766ff9a77f0daf5127ef38d42d669e7db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T12:02:25.209Z] ---> job-cost.sh [2023-08-31T12:02:25.209Z] lf-activate-venv: SKIPPING [2023-08-31T12:02:25.209Z] INFO: No Stack... [2023-08-31T12:02:25.477Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-31T12:02:26.445Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T12:02:26.793Z] + cut -d, -f6 [2023-08-31T12:02:26.793Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2023-08-31T12:02:27.152Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-423-1-stack-cost] [2023-08-31T12:02:27.157Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-423-1-stack-cost] did not exist. Created. [2023-08-31T12:02:27.157Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T12:02:27.571Z] /w/workspace/device-virtual-go/1@tmp/durable-e3982ebb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-31T12:02:28.195Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-31T12:02:28.231Z] Warning: overwriting stash ‘stack-cost’ [2023-08-31T12:02:28.278Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T12:02:28.291Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T12:02:28.365Z] $ docker stop --time=1 b189c99073552e60189230fcb3d2a71766ff9a77f0daf5127ef38d42d669e7db [2023-08-31T12:02:29.829Z] $ docker rm -f --volumes b189c99073552e60189230fcb3d2a71766ff9a77f0daf5127ef38d42d669e7db [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-08-31T12:02:30.859Z] provisioning config files... [2023-08-31T12:02:30.866Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-423@tmp/config6790145039693156163tmp [Pipeline] { [Pipeline] sh [2023-08-31T12:02:31.204Z] + set +x [2023-08-31T12:02:31.204Z] + curl -s https://codecov.io/bash+ [2023-08-31T12:02:31.204Z] bash -s -- [2023-08-31T12:02:31.467Z] [2023-08-31T12:02:31.467Z] _____ _ [2023-08-31T12:02:31.467Z] / ____| | | [2023-08-31T12:02:31.467Z] | | ___ __| | ___ ___ _____ __ [2023-08-31T12:02:31.467Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-31T12:02:31.467Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-31T12:02:31.467Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-31T12:02:31.467Z] Bash-1.0.6 [2023-08-31T12:02:31.467Z] [2023-08-31T12:02:31.467Z] [2023-08-31T12:02:31.467Z] ==> git version 2.25.1 found [2023-08-31T12:02:31.467Z] ==> 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-08-31T12:02:31.467Z] Release-Date: 2020-01-08 [2023-08-31T12:02:31.467Z] 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-08-31T12:02:31.467Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-31T12:02:31.467Z] ==> Jenkins CI detected. [2023-08-31T12:02:31.467Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-423 [2023-08-31T12:02:31.467Z] project root: . [2023-08-31T12:02:31.467Z] --> token set from env [2023-08-31T12:02:31.467Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-31T12:02:31.467Z] ==> Running gcov in . (disable via -X gcov) [2023-08-31T12:02:31.467Z] ==> Python coveragepy not found [2023-08-31T12:02:31.467Z] ==> Searching for coverage reports in: [2023-08-31T12:02:31.467Z] + . [2023-08-31T12:02:31.467Z] -> Found 1 reports [2023-08-31T12:02:31.467Z] ==> Detecting git/mercurial file structure [2023-08-31T12:02:31.467Z] ==> Reading reports [2023-08-31T12:02:31.467Z] + ./coverage.out bytes=43063 [2023-08-31T12:02:31.467Z] ==> Appending adjustments [2023-08-31T12:02:31.467Z] https://docs.codecov.io/docs/fixing-reports [2023-08-31T12:02:31.726Z] + Found adjustments [2023-08-31T12:02:31.726Z] ==> Gzipping contents [2023-08-31T12:02:31.726Z] 8.0K /tmp/codecov.IOMaPj.gz [2023-08-31T12:02:31.726Z] ==> Uploading reports [2023-08-31T12:02:31.726Z] url: https://codecov.io [2023-08-31T12:02:31.726Z] query: branch=PR-423&commit=66712e7cd52047b67924e783ab4a139eb47b1ef8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2023-08-31T12:02:31.726Z] -> Pinging Codecov [2023-08-31T12:02:31.726Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-423&commit=66712e7cd52047b67924e783ab4a139eb47b1ef8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2023-08-31T12:02:31.726Z] -> Uploading to [2023-08-31T12:02:31.726Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-31/5E52B4B073DB2E39498172D8E973AA87/66712e7cd52047b67924e783ab4a139eb47b1ef8/6ccf9383-23f5-4f00-b909-ee7ae3fb3612.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230831T120231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fced1483f9d0fa617f37d2ca758e91ff05726bb3e72816cba0955df89c2671f8 [2023-08-31T12:02:31.726Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T12:02:31.726Z] Dload Upload Total Spent Left Speed [2023-08-31T12:02:31.985Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 27000 --:--:-- --:--:-- --:--:-- 27000 [2023-08-31T12:02:31.985Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/66712e7cd52047b67924e783ab4a139eb47b1ef8 [Pipeline] } [2023-08-31T12:02:32.011Z] 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-08-31T12:02:33.798Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-423/archives ] [2023-08-31T12:02:33.798Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-423/archives [2023-08-31T12:02:33.798Z] total 16 [2023-08-31T12:02:33.798Z] drwxr-xr-x 3 root root 4096 Aug 31 11:54 . [2023-08-31T12:02:33.798Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 11:54 .. [2023-08-31T12:02:33.798Z] drwxr-xr-x 2 root root 4096 Aug 31 11:54 cost [2023-08-31T12:02:33.798Z] -rw-r--r-- 1 root root 89 Aug 31 11:54 cost.csv [2023-08-31T12:02:33.798Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-423/archives [2023-08-31T12:02:33.798Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-423/archives [2023-08-31T12:02:33.798Z] total 16 [2023-08-31T12:02:33.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 11:54 . [2023-08-31T12:02:33.799Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 11:54 .. [2023-08-31T12:02:33.799Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 11:54 cost [2023-08-31T12:02:33.799Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 31 11:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-31T12:02:34.131Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T12:02:35.022Z] ---> package-listing.sh [2023-08-31T12:02:35.023Z] ++ facter osfamily [2023-08-31T12:02:35.023Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-31T12:02:35.281Z] + OS_FAMILY=debian [2023-08-31T12:02:35.281Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-423 [2023-08-31T12:02:35.281Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-31T12:02:35.281Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-31T12:02:35.281Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-31T12:02:35.281Z] + PACKAGES=/tmp/packages_start.txt [2023-08-31T12:02:35.281Z] + '[' /w/workspace/foundry_device-virtual-go_PR-423 ']' [2023-08-31T12:02:35.281Z] + PACKAGES=/tmp/packages_end.txt [2023-08-31T12:02:35.281Z] + case "${OS_FAMILY}" in [2023-08-31T12:02:35.281Z] + dpkg -l [2023-08-31T12:02:35.281Z] + grep '^ii' [2023-08-31T12:02:35.281Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-31T12:02:35.281Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-31T12:02:35.281Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-31T12:02:35.281Z] + '[' /w/workspace/foundry_device-virtual-go_PR-423 ']' [2023-08-31T12:02:35.281Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-423/archives/ [2023-08-31T12:02:35.281Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-423/archives/ [Pipeline] echo [2023-08-31T12:02:35.320Z] 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-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-31T12:02:35.612Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T12:02:36.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T12:02:36.244Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T12:02:36.383Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-08-31T12:02:36.418Z] $ 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-423/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-423 -v /w/workspace/foundry_device-virtual-go_PR-423:/w/workspace/foundry_device-virtual-go_PR-423:rw,z -v /w/workspace/foundry_device-virtual-go_PR-423@tmp:/w/workspace/foundry_device-virtual-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-31T12:02:36.599Z] $ docker top 4ff0129c3db050f0ebc0b041d5e506cd12f1ff781ad8630111203316ce458353 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T12:02:36.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-31T12:02:37.282Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-31T12:02:37.590Z] + ls /var/log/sa-host [2023-08-31T12:02:37.590Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T12:02:37.806Z] provisioning config files... [2023-08-31T12:02:37.816Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-423@tmp/config8258540874669000038tmp [Pipeline] { [Pipeline] echo [2023-08-31T12:02:37.859Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T12:02:38.170Z] ---> create-netrc.sh [Pipeline] } [2023-08-31T12:02:38.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-31T12:02:38.591Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-31T12:02:38.624Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T12:02:38.934Z] ---> sudo-logs.sh [2023-08-31T12:02:38.934Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-31T12:02:39.017Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T12:02:39.326Z] ---> job-cost.sh [2023-08-31T12:02:39.327Z] lf-activate-venv: SKIPPING [2023-08-31T12:02:39.327Z] DEBUG: total: 0.2199999988079071 [2023-08-31T12:02:39.327Z] INFO: Retrieving Stack Cost... [2023-08-31T12:02:39.585Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T12:02:39.843Z] INFO: Archiving Costs [Pipeline] echo [2023-08-31T12:02:39.877Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T12:02:40.186Z] ---> logs-deploy.sh [2023-08-31T12:02:40.186Z] lf-activate-venv: SKIPPING [2023-08-31T12:02:40.186Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-423/1 [2023-08-31T12:02:40.186Z] INFO: archiving workspace using pattern(s): [2023-08-31T12:02:41.122Z] Archives upload complete. [2023-08-31T12:02:41.122Z] INFO: archiving logs to Nexus