Pull request #497 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f8d7b325add75d12bfd3ec30d1681c4d482687fc+60f2b90224e592bb905f9b29e85d80ab0be60eaf (fb9fa66c69536ab18987645d6be33bf01f4474d6) 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-ssh11612980104300154958.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh15346525960007569388.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-497/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-497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14883823875676484446.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-497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15732818977635832915.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh3050168874926086378.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-497/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-497/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4758998643341594871.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22988 in /w/workspace/foundry_device-virtual-go_PR-497 [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-497 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 60f2b90224e592bb905f9b29e85d80ab0be60eaf into PR head commit f8d7b325add75d12bfd3ec30d1681c4d482687fc Merge succeeded, producing f8d7b325add75d12bfd3ec30d1681c4d482687fc Checking out Revision f8d7b325add75d12bfd3ec30d1681c4d482687fc (PR-497) 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 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f f8d7b325add75d12bfd3ec30d1681c4d482687fc # 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 60f2b90224e592bb905f9b29e85d80ab0be60eaf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f8d7b325add75d12bfd3ec30d1681c4d482687fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-17T11:34:47.317Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-17T11:34:47.723Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-17T11:34:47.845Z] ========================================================= [2024-10-17T11:34:47.845Z] EdgeX Global Pipelines Version Info [2024-10-17T11:34:47.845Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:34:48.982Z] ------------------- [2024-10-17T11:34:48.982Z] stable info: [2024-10-17T11:34:48.982Z] ------------------- [2024-10-17T11:34:48.982Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-17T11:34:48.982Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-17T11:34:48.982Z] Message: update stable to v1.0.265 [2024-10-17T11:34:49.242Z] ------------------- [2024-10-17T11:34:49.242Z] experimental info: [2024-10-17T11:34:49.242Z] ------------------- [2024-10-17T11:34:49.242Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-17T11:34:49.242Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-17T11:34:49.242Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-17T11:34:49.490Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-10-17T11:34:49.553Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-10-17T11:34:49.617Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-17T11:34:49.680Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-17T11:34:49.746Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-17T11:34:49.805Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-17T11:34:49.865Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-17T11:34:49.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-17T11:34:49.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-17T11:34:50.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-17T11:34:50.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-17T11:34:50.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-10-17T11:34:50.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-17T11:34:50.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-17T11:34:50.362Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-17T11:34:50.425Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-17T11:34:50.489Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-17T11:34:50.556Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-17T11:34:50.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-17T11:34:50.676Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-17T11:34:50.732Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-17T11:34:50.785Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-17T11:34:50.849Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-17T11:34:50.907Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-17T11:34:50.971Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-17T11:34:51.035Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-17T11:34:51.100Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-17T11:34:51.168Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-497 [Pipeline] echo [2024-10-17T11:34:51.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-497 [Pipeline] echo [2024-10-17T11:34:51.292Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-497 [Pipeline] echo [2024-10-17T11:34:51.356Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f8d7b325add75d12bfd3ec30d1681c4d482687fc [Pipeline] echo [2024-10-17T11:34:51.420Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f8d7b32 [Pipeline] echo [2024-10-17T11:34:51.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T11:34:51.654Z] provisioning config files... [2024-10-17T11:34:51.670Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-497@tmp/config15104572861681426080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:34:52.071Z] ---> ****-login.sh [2024-10-17T11:34:52.071Z] nexus3.edgexfoundry.org:10001 [2024-10-17T11:34:52.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:34:52.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:34:52.332Z] Configure a credential helper to remove this warning. See [2024-10-17T11:34:52.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:34:52.332Z] [2024-10-17T11:34:52.332Z] Login Succeeded [2024-10-17T11:34:52.332Z] nexus3.edgexfoundry.org:10002 [2024-10-17T11:34:52.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:34:52.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:34:52.591Z] Configure a credential helper to remove this warning. See [2024-10-17T11:34:52.592Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:34:52.592Z] [2024-10-17T11:34:52.592Z] Login Succeeded [2024-10-17T11:34:52.592Z] nexus3.edgexfoundry.org:10003 [2024-10-17T11:34:52.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:34:52.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:34:52.592Z] Configure a credential helper to remove this warning. See [2024-10-17T11:34:52.592Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:34:52.592Z] [2024-10-17T11:34:52.592Z] Login Succeeded [2024-10-17T11:34:52.592Z] nexus3.edgexfoundry.org:10004 [2024-10-17T11:34:52.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:34:52.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:34:52.592Z] Configure a credential helper to remove this warning. See [2024-10-17T11:34:52.592Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:34:52.592Z] [2024-10-17T11:34:52.592Z] Login Succeeded [2024-10-17T11:34:52.592Z] ****.io [2024-10-17T11:34:52.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:34:52.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:34:52.852Z] Configure a credential helper to remove this warning. See [2024-10-17T11:34:52.852Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:34:52.852Z] [2024-10-17T11:34:52.852Z] Login Succeeded [2024-10-17T11:34:52.852Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T11:34:52.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-17T11:34:53.584Z] + git rev-list -1 --merges f8d7b325add75d12bfd3ec30d1681c4d482687fc~1..f8d7b325add75d12bfd3ec30d1681c4d482687fc [Pipeline] echo [2024-10-17T11:34:53.632Z] -----------> git rev-list -1 --merges f8d7b325add75d12bfd3ec30d1681c4d482687fc~1..f8d7b325add75d12bfd3ec30d1681c4d482687fc f8d7b325add75d12bfd3ec30d1681c4d482687fc [false] [Pipeline] sh [2024-10-17T11:34:53.955Z] + git log --format=format:%s -1 f8d7b325add75d12bfd3ec30d1681c4d482687fc [Pipeline] echo [2024-10-17T11:34:53.997Z] ========================================================= [2024-10-17T11:34:53.998Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-17T11:34:53.998Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T11:34:54.476Z] + git log --format=format:%s -1 f8d7b325add75d12bfd3ec30d1681c4d482687fc [Pipeline] echo [2024-10-17T11:34:54.513Z] [semverPrep] GIT_COMMIT: f8d7b325add75d12bfd3ec30d1681c4d482687fc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-17T11:34:54.560Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-17T11:34:54.991Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-17T11:34:54.991Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-17T11:34:54.991Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-17T11:34:54.991Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-17T11:34:54.991Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-17T11:34:54.991Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-17T11:34:54.991Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:34:55.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T11:34:55.516Z] [2024-10-17T11:34:55.516Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:34:55.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T11:34:55.916Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-17T11:34:55.916Z] b85a868b505f: Pulling fs layer [2024-10-17T11:34:55.916Z] e2be974225ed: Pulling fs layer [2024-10-17T11:34:55.916Z] 339a4e72a1f5: Pulling fs layer [2024-10-17T11:34:55.916Z] 988bab9f4d93: Pulling fs layer [2024-10-17T11:34:55.916Z] 1469e6f7b9e6: Pulling fs layer [2024-10-17T11:34:55.916Z] eaf3925da568: Pulling fs layer [2024-10-17T11:34:55.916Z] bab4dde63d76: Pulling fs layer [2024-10-17T11:34:55.916Z] bde34c3a00c8: Pulling fs layer [2024-10-17T11:34:55.916Z] b352a97aabf1: Pulling fs layer [2024-10-17T11:34:55.916Z] 4872d77fe225: Pulling fs layer [2024-10-17T11:34:55.916Z] 5851b861e8e6: Pulling fs layer [2024-10-17T11:34:55.916Z] 988bab9f4d93: Waiting [2024-10-17T11:34:55.916Z] 1469e6f7b9e6: Waiting [2024-10-17T11:34:55.916Z] eaf3925da568: Waiting [2024-10-17T11:34:55.916Z] 4872d77fe225: Waiting [2024-10-17T11:34:55.916Z] 5851b861e8e6: Waiting [2024-10-17T11:34:55.916Z] bab4dde63d76: Waiting [2024-10-17T11:34:55.916Z] b352a97aabf1: Waiting [2024-10-17T11:34:55.916Z] e2be974225ed: Verifying Checksum [2024-10-17T11:34:55.916Z] e2be974225ed: Download complete [2024-10-17T11:34:55.916Z] 988bab9f4d93: Verifying Checksum [2024-10-17T11:34:55.916Z] 988bab9f4d93: Download complete [2024-10-17T11:34:56.176Z] 339a4e72a1f5: Verifying Checksum [2024-10-17T11:34:56.176Z] 339a4e72a1f5: Download complete [2024-10-17T11:34:56.176Z] 1469e6f7b9e6: Verifying Checksum [2024-10-17T11:34:56.176Z] 1469e6f7b9e6: Download complete [2024-10-17T11:34:56.176Z] eaf3925da568: Verifying Checksum [2024-10-17T11:34:56.176Z] eaf3925da568: Download complete [2024-10-17T11:34:56.176Z] bde34c3a00c8: Verifying Checksum [2024-10-17T11:34:56.176Z] bde34c3a00c8: Download complete [2024-10-17T11:34:56.176Z] b352a97aabf1: Download complete [2024-10-17T11:34:56.176Z] 4872d77fe225: Download complete [2024-10-17T11:34:56.176Z] 5851b861e8e6: Download complete [2024-10-17T11:34:56.176Z] b85a868b505f: Verifying Checksum [2024-10-17T11:34:56.176Z] b85a868b505f: Download complete [2024-10-17T11:34:56.434Z] bab4dde63d76: Verifying Checksum [2024-10-17T11:34:56.434Z] bab4dde63d76: Download complete [2024-10-17T11:34:57.370Z] b85a868b505f: Pull complete [2024-10-17T11:34:57.629Z] e2be974225ed: Pull complete [2024-10-17T11:34:57.890Z] 339a4e72a1f5: Pull complete [2024-10-17T11:34:58.150Z] 988bab9f4d93: Pull complete [2024-10-17T11:34:58.411Z] 1469e6f7b9e6: Pull complete [2024-10-17T11:34:58.411Z] eaf3925da568: Pull complete [2024-10-17T11:35:00.317Z] bab4dde63d76: Pull complete [2024-10-17T11:35:00.317Z] bde34c3a00c8: Pull complete [2024-10-17T11:35:00.317Z] b352a97aabf1: Pull complete [2024-10-17T11:35:00.317Z] 4872d77fe225: Pull complete [2024-10-17T11:35:00.317Z] 5851b861e8e6: Pull complete [2024-10-17T11:35:00.317Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-17T11:35:00.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T11:35:00.317Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T11:35:00.614Z] prd-ubuntu20.04-docker-8c-8g-22988 does not seem to be running inside a container [2024-10-17T11:35:00.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-497 -v /w/workspace/foundry_device-virtual-go_PR-497:/w/workspace/foundry_device-virtual-go_PR-497:rw,z -v /w/workspace/foundry_device-virtual-go_PR-497@tmp:/w/workspace/foundry_device-virtual-go_PR-497@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 [2024-10-17T11:35:03.947Z] $ docker top c1ea55bd5b40a68a36ff6a23daac1229bc219e7207d68cd6c49c2f70b0fc90c1 -eo pid,comm [2024-10-17T11:35:04.000Z] 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). [2024-10-17T11:35:04.000Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-17T11:35:04.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-17T11:35:04.157Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-17T11:35:04.260Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-17T11:35:04.264Z] $ docker exec c1ea55bd5b40a68a36ff6a23daac1229bc219e7207d68cd6c49c2f70b0fc90c1 ssh-agent [2024-10-17T11:35:04.360Z] SSH_AUTH_SOCK=/tmp/ssh-Tvq9ox9v58km/agent.32 [2024-10-17T11:35:04.360Z] SSH_AGENT_PID=38 [2024-10-17T11:35:04.366Z] Running ssh-add (command line suppressed) [2024-10-17T11:35:04.462Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-497@tmp/private_key_9364327906607284872.key (/w/workspace/foundry_device-virtual-go_PR-497@tmp/private_key_9364327906607284872.key) [2024-10-17T11:35:04.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-17T11:35:04.829Z] + git tag --points-at HEAD [Pipeline] } [2024-10-17T11:35:04.857Z] $ docker exec --env ******** --env ******** c1ea55bd5b40a68a36ff6a23daac1229bc219e7207d68cd6c49c2f70b0fc90c1 ssh-agent -k [2024-10-17T11:35:04.944Z] unset SSH_AUTH_SOCK; [2024-10-17T11:35:04.945Z] unset SSH_AGENT_PID; [2024-10-17T11:35:04.945Z] echo Agent pid 38 killed; [2024-10-17T11:35:04.953Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-17T11:35:05.071Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-17T11:35:05.071Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-17T11:35:05.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-17T11:35:05.190Z] $ docker exec c1ea55bd5b40a68a36ff6a23daac1229bc219e7207d68cd6c49c2f70b0fc90c1 ssh-agent [2024-10-17T11:35:05.295Z] SSH_AUTH_SOCK=/tmp/ssh-VaIn5GtP4jES/agent.71 [2024-10-17T11:35:05.295Z] SSH_AGENT_PID=77 [2024-10-17T11:35:05.301Z] Running ssh-add (command line suppressed) [2024-10-17T11:35:05.399Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-497@tmp/private_key_4943959001437986978.key (/w/workspace/foundry_device-virtual-go_PR-497@tmp/private_key_4943959001437986978.key) [2024-10-17T11:35:05.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-17T11:35:05.751Z] + git semver init [2024-10-17T11:35:06.010Z] 2024-10-17 11:35:05,927 [run_init] DEBUG init version:0.0.0 force:False [2024-10-17T11:35:06.010Z] 2024-10-17 11:35:05,928 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-497/.semver [2024-10-17T11:35:06.010Z] 2024-10-17 11:35:05,928 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-497/.semver [2024-10-17T11:35:06.010Z] 2024-10-17 11:35:05,928 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-497/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-497, universal_newlines=False, shell=None, istream=None) [2024-10-17T11:35:08.545Z] 2024-10-17 11:35:07,930 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-497/.git/info/exclude [2024-10-17T11:35:08.545Z] 2024-10-17 11:35:07,930 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-497/.semver/PR-497 with force:False [2024-10-17T11:35:08.545Z] 2024-10-17 11:35:07,930 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-497/.semver/PR-497 [2024-10-17T11:35:08.545Z] 2024-10-17 11:35:07,935 [execute] INFO git cat-file --batch-check [2024-10-17T11:35:08.546Z] 2024-10-17 11:35:07,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-497/.semver, universal_newlines=False, shell=None, istream=) [2024-10-17T11:35:08.546Z] 2024-10-17 11:35:07,939 [execute] INFO git cat-file --batch [2024-10-17T11:35:08.546Z] 2024-10-17 11:35:07,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-497/.semver, universal_newlines=False, shell=None, istream=) [2024-10-17T11:35:08.546Z] 2024-10-17 11:35:07,944 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-497/.semver/PR-497 [2024-10-17T11:35:08.546Z] 0.0.0 [Pipeline] } [2024-10-17T11:35:08.574Z] $ docker exec --env ******** --env ******** c1ea55bd5b40a68a36ff6a23daac1229bc219e7207d68cd6c49c2f70b0fc90c1 ssh-agent -k [2024-10-17T11:35:08.667Z] unset SSH_AUTH_SOCK; [2024-10-17T11:35:08.668Z] unset SSH_AGENT_PID; [2024-10-17T11:35:08.668Z] echo Agent pid 77 killed; [2024-10-17T11:35:08.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-17T11:35:09.143Z] + git semver [Pipeline] } [2024-10-17T11:35:09.431Z] $ docker stop --time=1 c1ea55bd5b40a68a36ff6a23daac1229bc219e7207d68cd6c49c2f70b0fc90c1 [2024-10-17T11:35:10.706Z] $ docker rm -f --volumes c1ea55bd5b40a68a36ff6a23daac1229bc219e7207d68cd6c49c2f70b0fc90c1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T11:35:11.137Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-17T11:35:11.436Z] Stashed 1 file(s) [Pipeline] echo [2024-10-17T11:35:11.458Z] [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 [2024-10-17T11:35:12.173Z] provisioning config files... [2024-10-17T11:35:12.182Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-497@tmp/config10338103549461609912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:35:12.550Z] ---> ****-login.sh [2024-10-17T11:35:12.550Z] nexus3.edgexfoundry.org:10001 [2024-10-17T11:35:12.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:35:12.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:35:12.550Z] Configure a credential helper to remove this warning. See [2024-10-17T11:35:12.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:35:12.551Z] [2024-10-17T11:35:12.551Z] Login Succeeded [2024-10-17T11:35:12.551Z] nexus3.edgexfoundry.org:10002 [2024-10-17T11:35:12.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:35:12.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:35:12.551Z] Configure a credential helper to remove this warning. See [2024-10-17T11:35:12.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:35:12.551Z] [2024-10-17T11:35:12.551Z] Login Succeeded [2024-10-17T11:35:12.551Z] nexus3.edgexfoundry.org:10003 [2024-10-17T11:35:12.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:35:12.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:35:12.812Z] Configure a credential helper to remove this warning. See [2024-10-17T11:35:12.812Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:35:12.812Z] [2024-10-17T11:35:12.812Z] Login Succeeded [2024-10-17T11:35:12.812Z] nexus3.edgexfoundry.org:10004 [2024-10-17T11:35:12.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:35:12.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:35:12.812Z] Configure a credential helper to remove this warning. See [2024-10-17T11:35:12.812Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:35:12.812Z] [2024-10-17T11:35:12.812Z] Login Succeeded [2024-10-17T11:35:12.812Z] ****.io [2024-10-17T11:35:12.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:35:13.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:35:13.072Z] Configure a credential helper to remove this warning. See [2024-10-17T11:35:13.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:35:13.072Z] [2024-10-17T11:35:13.072Z] Login Succeeded [2024-10-17T11:35:13.072Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T11:35:13.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-17T11:35:13.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T11:35:13.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T11:35:13.453Z] ========================================================= [2024-10-17T11:35:13.453Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-17T11:35:13.453Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:35:14.000Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-17T11:35:14.000Z] Sending build context to Docker daemon 37.67MB [2024-10-17T11:35:14.000Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T11:35:14.000Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-17T11:35:14.262Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-17T11:35:14.262Z] 43c4264eed91: Pulling fs layer [2024-10-17T11:35:14.262Z] 4cc291be95ef: Pulling fs layer [2024-10-17T11:35:14.262Z] 2ac1f1163629: Pulling fs layer [2024-10-17T11:35:14.262Z] 5c3c966382ef: Pulling fs layer [2024-10-17T11:35:14.262Z] 4f4fb700ef54: Pulling fs layer [2024-10-17T11:35:14.262Z] 5d5c8e513c77: Pulling fs layer [2024-10-17T11:35:14.262Z] 9f66e0745190: Pulling fs layer [2024-10-17T11:35:14.262Z] f49a43e4bbc0: Pulling fs layer [2024-10-17T11:35:14.262Z] 561ebcabdf7f: Pulling fs layer [2024-10-17T11:35:14.262Z] 4f4fb700ef54: Waiting [2024-10-17T11:35:14.262Z] 5d5c8e513c77: Waiting [2024-10-17T11:35:14.262Z] 9f66e0745190: Waiting [2024-10-17T11:35:14.262Z] f49a43e4bbc0: Waiting [2024-10-17T11:35:14.262Z] 561ebcabdf7f: Waiting [2024-10-17T11:35:14.262Z] 5c3c966382ef: Waiting [2024-10-17T11:35:14.262Z] 4cc291be95ef: Download complete [2024-10-17T11:35:14.262Z] 5c3c966382ef: Verifying Checksum [2024-10-17T11:35:14.262Z] 5c3c966382ef: Download complete [2024-10-17T11:35:14.262Z] 4f4fb700ef54: Verifying Checksum [2024-10-17T11:35:14.262Z] 4f4fb700ef54: Download complete [2024-10-17T11:35:14.262Z] 5d5c8e513c77: Verifying Checksum [2024-10-17T11:35:14.262Z] 5d5c8e513c77: Download complete [2024-10-17T11:35:14.262Z] 43c4264eed91: Verifying Checksum [2024-10-17T11:35:14.262Z] 43c4264eed91: Download complete [2024-10-17T11:35:14.262Z] 9f66e0745190: Verifying Checksum [2024-10-17T11:35:14.262Z] 9f66e0745190: Download complete [2024-10-17T11:35:14.520Z] 43c4264eed91: Pull complete [2024-10-17T11:35:14.520Z] 561ebcabdf7f: Download complete [2024-10-17T11:35:14.520Z] 4cc291be95ef: Pull complete [2024-10-17T11:35:14.783Z] 2ac1f1163629: Verifying Checksum [2024-10-17T11:35:14.783Z] 2ac1f1163629: Download complete [2024-10-17T11:35:15.042Z] f49a43e4bbc0: Verifying Checksum [2024-10-17T11:35:18.320Z] 2ac1f1163629: Pull complete [2024-10-17T11:35:18.320Z] 5c3c966382ef: Pull complete [2024-10-17T11:35:18.320Z] 4f4fb700ef54: Pull complete [2024-10-17T11:35:18.320Z] 5d5c8e513c77: Pull complete [2024-10-17T11:35:18.320Z] 9f66e0745190: Pull complete [2024-10-17T11:35:20.218Z] f49a43e4bbc0: Pull complete [2024-10-17T11:35:20.784Z] 561ebcabdf7f: Pull complete [2024-10-17T11:35:20.784Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-17T11:35:20.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-17T11:35:20.784Z] ---> 3a752c3f9dda [2024-10-17T11:35:20.784Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-17T11:35:24.984Z] ---> Running in f25dae85a547 [2024-10-17T11:35:24.984Z] Removing intermediate container f25dae85a547 [2024-10-17T11:35:24.984Z] ---> 344fbc457ab7 [2024-10-17T11:35:24.984Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-17T11:35:24.984Z] ---> Running in 31ed27a6af0a [2024-10-17T11:35:24.984Z] Removing intermediate container 31ed27a6af0a [2024-10-17T11:35:24.984Z] ---> f9b84552ec06 [2024-10-17T11:35:24.984Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-17T11:35:24.984Z] ---> Running in a70d7579dc9a [2024-10-17T11:35:24.984Z] Removing intermediate container a70d7579dc9a [2024-10-17T11:35:24.984Z] ---> 3dec231612a9 [2024-10-17T11:35:24.984Z] Step 6/12 : WORKDIR /device-virtual-go [2024-10-17T11:35:24.984Z] ---> Running in b0b5a2244085 [2024-10-17T11:35:24.984Z] Removing intermediate container b0b5a2244085 [2024-10-17T11:35:24.984Z] ---> f958563b4f00 [2024-10-17T11:35:24.984Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-17T11:35:24.984Z] ---> Running in 46b578db8f49 [2024-10-17T11:35:24.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T11:35:25.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T11:35:25.503Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-17T11:35:25.503Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-17T11:35:25.503Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-17T11:35:25.764Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-17T11:35:25.764Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T11:35:25.764Z] OK: 250 MiB in 58 packages [2024-10-17T11:35:26.025Z] Removing intermediate container 46b578db8f49 [2024-10-17T11:35:26.025Z] ---> 981915f701de [2024-10-17T11:35:26.025Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-17T11:35:26.284Z] ---> cc50e5d1c707 [2024-10-17T11:35:26.284Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T11:35:26.284Z] ---> Running in d79b5a4d3017 [2024-10-17T11:35:26.959Z] Still waiting to schedule task [2024-10-17T11:35:26.959Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-17T11:36:22.638Z] Removing intermediate container d79b5a4d3017 [2024-10-17T11:36:22.638Z] ---> 3e6239e400c8 [2024-10-17T11:36:22.638Z] Step 10/12 : COPY . . [2024-10-17T11:36:22.638Z] ---> d930c3b719c2 [2024-10-17T11:36:22.638Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T11:36:22.638Z] ---> Running in 7605b7d9e229 [2024-10-17T11:36:22.638Z] Removing intermediate container 7605b7d9e229 [2024-10-17T11:36:22.638Z] ---> 4dad9d594afa [2024-10-17T11:36:22.638Z] Step 12/12 : RUN $MAKE [2024-10-17T11:36:22.638Z] ---> Running in ef2e6089995d [2024-10-17T11:36:22.638Z] noop [2024-10-17T11:36:22.638Z] Removing intermediate container ef2e6089995d [2024-10-17T11:36:22.638Z] ---> 40b31261f523 [2024-10-17T11:36:22.638Z] Successfully built 40b31261f523 [2024-10-17T11:36:22.638Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:36:23.136Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-17T11:36:23.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T11:36:23.325Z] prd-ubuntu20.04-docker-8c-8g-22988 does not seem to be running inside a container [2024-10-17T11:36:23.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-497 -v /w/workspace/foundry_device-virtual-go_PR-497:/w/workspace/foundry_device-virtual-go_PR-497:rw,z -v /w/workspace/foundry_device-virtual-go_PR-497@tmp:/w/workspace/foundry_device-virtual-go_PR-497@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 [2024-10-17T11:36:23.729Z] $ docker top 7dcdfd7cef1f464faa7d9814296ef47efe0479ed1dbe2760024f08ee1b5b851a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T11:36:24.156Z] + go version [2024-10-17T11:36:24.156Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-17T11:36:24.189Z] $ docker stop --time=1 7dcdfd7cef1f464faa7d9814296ef47efe0479ed1dbe2760024f08ee1b5b851a [2024-10-17T11:36:25.480Z] $ docker rm -f --volumes 7dcdfd7cef1f464faa7d9814296ef47efe0479ed1dbe2760024f08ee1b5b851a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:36:26.299Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-17T11:36:26.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T11:36:26.473Z] prd-ubuntu20.04-docker-8c-8g-22988 does not seem to be running inside a container [2024-10-17T11:36:26.503Z] $ 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-497 -v /w/workspace/foundry_device-virtual-go_PR-497:/w/workspace/foundry_device-virtual-go_PR-497:rw,z -v /w/workspace/foundry_device-virtual-go_PR-497@tmp:/w/workspace/foundry_device-virtual-go_PR-497@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 [2024-10-17T11:36:26.820Z] $ docker top a9c7a9745d0994ba92d67597ea9fe06b4a669db77d047c4ccc0de7a89b8979d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T11:36:27.409Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-497 [Pipeline] fileExists [Pipeline] sh [2024-10-17T11:36:27.793Z] + make test [2024-10-17T11:36:27.793Z] go test ./... -coverprofile=coverage.out [2024-10-17T11:36:29.699Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-10-17T11:36:47.774Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-10-17T11:36:47.774Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements [2024-10-17T11:36:55.881Z] go vet ./... [2024-10-17T11:36:57.233Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22989 in /w/workspace/foundry_device-virtual-go_PR-497 [Pipeline] { [Pipeline] ws [2024-10-17T11:36:57.316Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-10-17T11:37:00.418Z] The recommended git tool is: git [2024-10-17T11:37:01.153Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-17T11:37:01.153Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-17T11:37:01.153Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-17T11:37:01.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-17T11:37:01.243Z] $ docker stop --time=1 a9c7a9745d0994ba92d67597ea9fe06b4a669db77d047c4ccc0de7a89b8979d8 [2024-10-17T11:37:05.200Z] using credential edgex-jenkins-ssh [2024-10-17T11:37:05.224Z] Cloning the remote Git repository [2024-10-17T11:37:05.275Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-10-17T11:37:05.377Z] $ docker rm -f --volumes a9c7a9745d0994ba92d67597ea9fe06b4a669db77d047c4ccc0de7a89b8979d8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T11:37:05.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-17T11:37:06.088Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-10-17T11:37:05.372Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-10-17T11:37:05.528Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-10-17T11:37:05.529Z] > git --version # timeout=10 [2024-10-17T11:37:05.550Z] > git --version # 'git version 2.25.1' [2024-10-17T11:37:05.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T11:37:05.684Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2024-10-17T11:37:06.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-17T11:37:07.168Z] + ls -al . [2024-10-17T11:37:07.168Z] total 276 [2024-10-17T11:37:07.168Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 11:36 . [2024-10-17T11:37:07.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 11:34 .. [2024-10-17T11:37:07.168Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 11:36 .git [2024-10-17T11:37:07.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:34 .github [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 17 11:34 .gitignore [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 17 11:34 .golangci.yml [2024-10-17T11:37:07.168Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 11:35 .semver [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 18321 Oct 17 11:34 Attribution.txt [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 15941 Oct 17 11:34 CHANGELOG.md [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 1755 Oct 17 11:34 Dockerfile [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 11:34 GOVERNANCE.md [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 17 11:34 Jenkinsfile [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 11:34 LICENSE [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 2490 Oct 17 11:34 Makefile [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 17 11:34 OWNERS.md [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 17 11:34 README.md [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 11:35 VERSION [2024-10-17T11:37:07.168Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 11:34 bin [2024-10-17T11:37:07.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:34 cmd [2024-10-17T11:37:07.168Z] -rw-r--r-- 1 jenkins jenkins 43316 Oct 17 11:36 coverage.out [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 6895 Oct 17 11:34 go.mod [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 17 11:34 go.sum [2024-10-17T11:37:07.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:34 internal [2024-10-17T11:37:07.168Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 17 11:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:37:07.599Z] + 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=f8d7b325add75d12bfd3ec30d1681c4d482687fc --label arch=amd64 --label version=0.0.0 . [2024-10-17T11:37:07.599Z] Sending build context to Docker daemon 37.71MB [2024-10-17T11:37:07.599Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T11:37:07.599Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-17T11:37:07.599Z] ---> 40b31261f523 [2024-10-17T11:37:07.599Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-17T11:37:08.167Z] ---> Running in fa7fe826c787 [2024-10-17T11:37:08.167Z] Removing intermediate container fa7fe826c787 [2024-10-17T11:37:08.167Z] ---> 92abeb600285 [2024-10-17T11:37:08.167Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-17T11:37:08.167Z] ---> Running in 113f119c4e71 [2024-10-17T11:37:08.167Z] Removing intermediate container 113f119c4e71 [2024-10-17T11:37:08.167Z] ---> 18d92088a6b6 [2024-10-17T11:37:08.167Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-17T11:37:08.167Z] ---> Running in 4906c8cf95f0 [2024-10-17T11:37:08.167Z] Removing intermediate container 4906c8cf95f0 [2024-10-17T11:37:08.167Z] ---> 092134d645db [2024-10-17T11:37:08.167Z] Step 6/26 : WORKDIR /device-virtual-go [2024-10-17T11:37:08.426Z] ---> Running in b2c88361a003 [2024-10-17T11:37:08.426Z] Removing intermediate container b2c88361a003 [2024-10-17T11:37:08.426Z] ---> 0106485661a9 [2024-10-17T11:37:08.426Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-17T11:37:08.426Z] ---> Running in 4b749a1c383e [2024-10-17T11:37:08.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T11:37:08.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T11:37:09.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-10-17T11:37:09.101Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-17T11:37:09.203Z] OK: 250 MiB in 58 packages [2024-10-17T11:37:09.462Z] Removing intermediate container 4b749a1c383e [2024-10-17T11:37:09.462Z] ---> bb86b9d17202 [2024-10-17T11:37:09.462Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-17T11:37:09.462Z] ---> ed576879d7f7 [2024-10-17T11:37:09.462Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T11:37:09.722Z] ---> Running in 83558afb98d5 [2024-10-17T11:37:10.289Z] Removing intermediate container 83558afb98d5 [2024-10-17T11:37:10.289Z] ---> 92f983d34ccd [2024-10-17T11:37:10.289Z] Step 10/26 : COPY . . [2024-10-17T11:37:10.496Z] Merging remotes/origin/main commit 60f2b90224e592bb905f9b29e85d80ab0be60eaf into PR head commit f8d7b325add75d12bfd3ec30d1681c4d482687fc [2024-10-17T11:37:09.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-10-17T11:37:09.963Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-10-17T11:37:09.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T11:37:09.989Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-17T11:37:10.516Z] > git config core.sparsecheckout # timeout=10 [2024-10-17T11:37:10.795Z] Merge succeeded, producing f8d7b325add75d12bfd3ec30d1681c4d482687fc [2024-10-17T11:37:10.796Z] Checking out Revision f8d7b325add75d12bfd3ec30d1681c4d482687fc (PR-497) [2024-10-17T11:37:11.229Z] ---> 1c792512ad35 [2024-10-17T11:37:11.229Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T11:37:11.229Z] ---> Running in 89b78b07b6cd [2024-10-17T11:37:11.229Z] Removing intermediate container 89b78b07b6cd [2024-10-17T11:37:11.229Z] ---> d3bda06f4468 [2024-10-17T11:37:11.229Z] Step 12/26 : RUN $MAKE [2024-10-17T11:37:11.229Z] ---> Running in 31c7a7ade4fc [2024-10-17T11:37:11.488Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-17T11:37:11.488Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd [2024-10-17T11:37:11.548Z] > git --version # timeout=10 [2024-10-17T11:37:11.559Z] > git --version # 'git version 2.25.1' [2024-10-17T11:37:11.575Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-17T11:37:10.593Z] > git checkout -f f8d7b325add75d12bfd3ec30d1681c4d482687fc # timeout=10 [2024-10-17T11:37:10.679Z] > git remote # timeout=10 [2024-10-17T11:37:10.698Z] > git config --get remote.origin.url # timeout=10 [2024-10-17T11:37:10.729Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T11:37:10.757Z] > git merge 60f2b90224e592bb905f9b29e85d80ab0be60eaf # timeout=10 [2024-10-17T11:37:10.783Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-17T11:37:10.805Z] > git config core.sparsecheckout # timeout=10 [2024-10-17T11:37:10.817Z] > git checkout -f f8d7b325add75d12bfd3ec30d1681c4d482687fc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T11:37:16.519Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-17T11:37:16.519Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-17T11:37:16.519Z] Dload Upload Total Spent Left Speed [2024-10-17T11:37:16.519Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 70872 0 --:--:-- --:--:-- --:--:-- 71266 [Pipeline] sh [2024-10-17T11:37:16.874Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-17T11:37:17.223Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-17T11:37:17.223Z] + sudo tee /etc/docker/daemon.new [2024-10-17T11:37:17.223Z] { [2024-10-17T11:37:17.223Z] "registry-mirrors": [ [2024-10-17T11:37:17.223Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-17T11:37:17.223Z] ], [2024-10-17T11:37:17.223Z] "bip": "10.250.0.254/24", [2024-10-17T11:37:17.223Z] "hosts": [ [2024-10-17T11:37:17.223Z] "tcp://0.0.0.0:5555", [2024-10-17T11:37:17.223Z] "unix:///var/run/docker.sock" [2024-10-17T11:37:17.223Z] ], [2024-10-17T11:37:17.223Z] "mtu": 1458, [2024-10-17T11:37:17.223Z] "selinux-enabled": true, [2024-10-17T11:37:17.223Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-17T11:37:17.223Z] } [Pipeline] sh [2024-10-17T11:37:17.573Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-17T11:37:17.939Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T11:37:36.285Z] provisioning config files... [2024-10-17T11:37:36.310Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4779374143378434399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:37:36.792Z] ---> ****-login.sh [2024-10-17T11:37:36.792Z] nexus3.edgexfoundry.org:10001 [2024-10-17T11:37:37.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:37:37.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:37:37.332Z] Configure a credential helper to remove this warning. See [2024-10-17T11:37:37.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:37:37.332Z] [2024-10-17T11:37:37.332Z] Login Succeeded [2024-10-17T11:37:37.332Z] nexus3.edgexfoundry.org:10002 [2024-10-17T11:37:37.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:37:37.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:37:37.602Z] Configure a credential helper to remove this warning. See [2024-10-17T11:37:37.602Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:37:37.602Z] [2024-10-17T11:37:37.602Z] Login Succeeded [2024-10-17T11:37:37.602Z] nexus3.edgexfoundry.org:10003 [2024-10-17T11:37:37.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:37:38.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:37:38.139Z] Configure a credential helper to remove this warning. See [2024-10-17T11:37:38.139Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:37:38.139Z] [2024-10-17T11:37:38.139Z] Login Succeeded [2024-10-17T11:37:38.139Z] nexus3.edgexfoundry.org:10004 [2024-10-17T11:37:38.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:37:38.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:37:38.407Z] Configure a credential helper to remove this warning. See [2024-10-17T11:37:38.407Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:37:38.407Z] [2024-10-17T11:37:38.407Z] Login Succeeded [2024-10-17T11:37:38.407Z] ****.io [2024-10-17T11:37:38.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T11:37:38.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T11:37:38.675Z] Configure a credential helper to remove this warning. See [2024-10-17T11:37:38.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T11:37:38.675Z] [2024-10-17T11:37:38.675Z] Login Succeeded [2024-10-17T11:37:38.675Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T11:37:38.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-17T11:37:39.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T11:37:39.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T11:37:39.234Z] ========================================================= [2024-10-17T11:37:39.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-17T11:37:39.234Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:37:39.775Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-17T11:37:40.361Z] Sending build context to Docker daemon 19.02MB [2024-10-17T11:37:40.361Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T11:37:40.361Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-17T11:37:40.361Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-17T11:37:40.361Z] cf04c63912e1: Pulling fs layer [2024-10-17T11:37:40.361Z] 55b35a11ae5e: Pulling fs layer [2024-10-17T11:37:40.361Z] a37a00ec5f00: Pulling fs layer [2024-10-17T11:37:40.361Z] 50b3750afda1: Pulling fs layer [2024-10-17T11:37:40.361Z] 4f4fb700ef54: Pulling fs layer [2024-10-17T11:37:40.361Z] 80978eb59214: Pulling fs layer [2024-10-17T11:37:40.361Z] c9f46d7d2bd2: Pulling fs layer [2024-10-17T11:37:40.361Z] c5a475d317c9: Pulling fs layer [2024-10-17T11:37:40.361Z] 4f4fb700ef54: Waiting [2024-10-17T11:37:40.361Z] 80978eb59214: Waiting [2024-10-17T11:37:40.361Z] c9f46d7d2bd2: Waiting [2024-10-17T11:37:40.361Z] c5a475d317c9: Waiting [2024-10-17T11:37:40.361Z] 50b3750afda1: Waiting [2024-10-17T11:37:40.629Z] 55b35a11ae5e: Download complete [2024-10-17T11:37:40.629Z] 50b3750afda1: Download complete [2024-10-17T11:37:40.629Z] 4f4fb700ef54: Verifying Checksum [2024-10-17T11:37:40.629Z] 4f4fb700ef54: Download complete [2024-10-17T11:37:40.629Z] 80978eb59214: Verifying Checksum [2024-10-17T11:37:40.629Z] 80978eb59214: Download complete [2024-10-17T11:37:40.629Z] cf04c63912e1: Verifying Checksum [2024-10-17T11:37:40.629Z] cf04c63912e1: Download complete [2024-10-17T11:37:41.217Z] c5a475d317c9: Verifying Checksum [2024-10-17T11:37:41.217Z] c5a475d317c9: Download complete [2024-10-17T11:37:41.484Z] cf04c63912e1: Pull complete [2024-10-17T11:37:42.066Z] 55b35a11ae5e: Pull complete [2024-10-17T11:37:42.333Z] a37a00ec5f00: Download complete [2024-10-17T11:37:43.291Z] c9f46d7d2bd2: Verifying Checksum [2024-10-17T11:37:43.291Z] c9f46d7d2bd2: Download complete [2024-10-17T11:37:43.560Z] Removing intermediate container 31c7a7ade4fc [2024-10-17T11:37:43.560Z] ---> 8c5d270094dc [2024-10-17T11:37:43.560Z] Step 13/26 : FROM alpine:3.20 [2024-10-17T11:37:43.560Z] 3.20: Pulling from library/alpine [2024-10-17T11:37:43.560Z] 43c4264eed91: Already exists [2024-10-17T11:37:43.560Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-17T11:37:43.560Z] Status: Downloaded newer image for alpine:3.20 [2024-10-17T11:37:43.560Z] ---> 91ef0af61f39 [2024-10-17T11:37:43.560Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-10-17T11:37:43.560Z] ---> Running in 2a0c4748c76c [2024-10-17T11:37:43.560Z] Removing intermediate container 2a0c4748c76c [2024-10-17T11:37:43.560Z] ---> faaa0c4729aa [2024-10-17T11:37:43.560Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-17T11:37:43.560Z] ---> Running in 3b3f2bbec5be [2024-10-17T11:37:43.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T11:37:44.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T11:37:44.338Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-17T11:37:44.338Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T11:37:44.338Z] OK: 8 MiB in 15 packages [2024-10-17T11:37:44.601Z] Removing intermediate container 3b3f2bbec5be [2024-10-17T11:37:44.601Z] ---> 80eac30b5894 [2024-10-17T11:37:44.601Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-17T11:37:44.601Z] ---> Running in 1343e22d1549 [2024-10-17T11:37:44.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T11:37:45.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T11:37:45.376Z] Upgrading critical system libraries and apk-tools: [2024-10-17T11:37:45.376Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-17T11:37:45.376Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T11:37:45.376Z] Continuing the upgrade transaction with new apk-tools: [2024-10-17T11:37:45.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T11:37:45.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T11:37:45.635Z] OK: 8 MiB in 15 packages [2024-10-17T11:37:45.893Z] Removing intermediate container 1343e22d1549 [2024-10-17T11:37:45.893Z] ---> a2194c546719 [2024-10-17T11:37:45.893Z] Step 17/26 : WORKDIR / [2024-10-17T11:37:46.151Z] ---> Running in f76f5aa043a5 [2024-10-17T11:37:46.152Z] Removing intermediate container f76f5aa043a5 [2024-10-17T11:37:46.152Z] ---> 28f74a0b9775 [2024-10-17T11:37:46.152Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-10-17T11:37:46.152Z] ---> 3353e30a3784 [2024-10-17T11:37:46.152Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-10-17T11:37:46.410Z] ---> f85a8bf121ab [2024-10-17T11:37:46.410Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-10-17T11:37:47.845Z] ---> 9f9fc5a7f6e1 [2024-10-17T11:37:47.845Z] Step 21/26 : EXPOSE 59900 [2024-10-17T11:37:47.845Z] ---> Running in 2e6e5404be03 [2024-10-17T11:37:47.845Z] Removing intermediate container 2e6e5404be03 [2024-10-17T11:37:47.845Z] ---> e230a2dd76f7 [2024-10-17T11:37:47.845Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-10-17T11:37:47.845Z] ---> Running in 40adc4b3e606 [2024-10-17T11:37:47.845Z] Removing intermediate container 40adc4b3e606 [2024-10-17T11:37:47.845Z] ---> 2992d21adec9 [2024-10-17T11:37:47.845Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-17T11:37:47.845Z] ---> Running in 458890e7a0fe [2024-10-17T11:37:48.105Z] Removing intermediate container 458890e7a0fe [2024-10-17T11:37:48.105Z] ---> a80e4701c9c6 [2024-10-17T11:37:48.105Z] Step 24/26 : LABEL arch=amd64 [2024-10-17T11:37:48.105Z] ---> Running in 1a7567c72a0f [2024-10-17T11:37:48.105Z] Removing intermediate container 1a7567c72a0f [2024-10-17T11:37:48.105Z] ---> d398bba6b240 [2024-10-17T11:37:48.105Z] Step 25/26 : LABEL git_sha=f8d7b325add75d12bfd3ec30d1681c4d482687fc [2024-10-17T11:37:48.105Z] ---> Running in 07a721264ace [2024-10-17T11:37:48.105Z] Removing intermediate container 07a721264ace [2024-10-17T11:37:48.105Z] ---> c9891e16c33e [2024-10-17T11:37:48.105Z] Step 26/26 : LABEL version=0.0.0 [2024-10-17T11:37:48.105Z] ---> Running in 83e1c2ec5949 [2024-10-17T11:37:48.364Z] Removing intermediate container 83e1c2ec5949 [2024-10-17T11:37:48.364Z] ---> 5a75208e8c17 [2024-10-17T11:37:48.364Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-17T11:37:48.364Z] Successfully built 5a75208e8c17 [2024-10-17T11:37:48.364Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:37:49.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T11:37:49.549Z] [2024-10-17T11:37:49.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:37:49.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T11:37:49.957Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-17T11:37:49.957Z] 5eb5b503b376: Pulling fs layer [2024-10-17T11:37:49.957Z] 5c69ac0246d0: Pulling fs layer [2024-10-17T11:37:49.957Z] ec43610c2a17: Pulling fs layer [2024-10-17T11:37:49.957Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-17T11:37:49.957Z] 33b1e0a273af: Pulling fs layer [2024-10-17T11:37:49.957Z] 5d3b04190fa2: Pulling fs layer [2024-10-17T11:37:49.957Z] 2f39f015ded8: Pulling fs layer [2024-10-17T11:37:49.957Z] 3a2ae6a8a46f: Waiting [2024-10-17T11:37:49.957Z] 33b1e0a273af: Waiting [2024-10-17T11:37:49.957Z] 5d3b04190fa2: Waiting [2024-10-17T11:37:49.957Z] 5c69ac0246d0: Download complete [2024-10-17T11:37:49.957Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-17T11:37:49.957Z] 3a2ae6a8a46f: Download complete [2024-10-17T11:37:49.957Z] 33b1e0a273af: Verifying Checksum [2024-10-17T11:37:49.957Z] 33b1e0a273af: Download complete [2024-10-17T11:37:49.957Z] 5d3b04190fa2: Download complete [2024-10-17T11:37:49.957Z] ec43610c2a17: Verifying Checksum [2024-10-17T11:37:49.957Z] ec43610c2a17: Download complete [2024-10-17T11:37:50.217Z] 5eb5b503b376: Verifying Checksum [2024-10-17T11:37:50.217Z] 5eb5b503b376: Download complete [2024-10-17T11:37:50.783Z] 2f39f015ded8: Download complete [2024-10-17T11:37:51.349Z] 5eb5b503b376: Pull complete [2024-10-17T11:37:51.349Z] 5c69ac0246d0: Pull complete [2024-10-17T11:37:51.914Z] ec43610c2a17: Pull complete [2024-10-17T11:37:51.914Z] 3a2ae6a8a46f: Pull complete [2024-10-17T11:37:52.174Z] 33b1e0a273af: Pull complete [2024-10-17T11:37:52.174Z] 5d3b04190fa2: Pull complete [2024-10-17T11:37:55.607Z] a37a00ec5f00: Pull complete [2024-10-17T11:37:55.608Z] 50b3750afda1: Pull complete [2024-10-17T11:37:55.876Z] 4f4fb700ef54: Pull complete [2024-10-17T11:37:56.146Z] 80978eb59214: Pull complete [2024-10-17T11:37:56.360Z] 2f39f015ded8: Pull complete [2024-10-17T11:37:56.360Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-17T11:37:56.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T11:37:56.360Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T11:37:56.651Z] prd-ubuntu20.04-docker-8c-8g-22988 does not seem to be running inside a container [2024-10-17T11:37:56.682Z] $ 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-497 -v /w/workspace/foundry_device-virtual-go_PR-497:/w/workspace/foundry_device-virtual-go_PR-497:rw,z -v /w/workspace/foundry_device-virtual-go_PR-497@tmp:/w/workspace/foundry_device-virtual-go_PR-497@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 [2024-10-17T11:38:00.591Z] $ docker top efc94acbf4d9e4df5178d3b4a3deee2ab83a8ce05fcea920d919928a0c06821a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:38:01.095Z] ---> job-cost.sh [2024-10-17T11:38:01.095Z] lf-activate-venv: SKIPPING [2024-10-17T11:38:01.095Z] INFO: No Stack... [2024-10-17T11:38:01.355Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-17T11:38:01.616Z] INFO: Archiving Costs [Pipeline] sh [2024-10-17T11:38:01.951Z] + cat /w/workspace/foundry_device-virtual-go_PR-497/archives/cost.csv [2024-10-17T11:38:01.951Z] + cut -d, -f6 [Pipeline] lock [2024-10-17T11:38:01.999Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-497-1-stack-cost] [2024-10-17T11:38:02.005Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-497-1-stack-cost] did not exist. Created. [2024-10-17T11:38:02.012Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-497-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-17T11:38:02.425Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-17T11:38:02.480Z] Stashed 1 file(s) [Pipeline] } [2024-10-17T11:38:02.519Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-497-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-17T11:38:02.608Z] $ docker stop --time=1 efc94acbf4d9e4df5178d3b4a3deee2ab83a8ce05fcea920d919928a0c06821a [2024-10-17T11:38:03.758Z] $ docker rm -f --volumes efc94acbf4d9e4df5178d3b4a3deee2ab83a8ce05fcea920d919928a0c06821a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-17T11:38:04.363Z] c9f46d7d2bd2: Pull complete [2024-10-17T11:38:05.773Z] c5a475d317c9: Pull complete [2024-10-17T11:38:05.773Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-17T11:38:05.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-17T11:38:05.773Z] ---> be29e6b0f0d4 [2024-10-17T11:38:05.773Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-17T11:38:06.733Z] ---> Running in 00435f4f94b2 [2024-10-17T11:38:07.000Z] Removing intermediate container 00435f4f94b2 [2024-10-17T11:38:07.000Z] ---> 5d1a4ef4f2a8 [2024-10-17T11:38:07.000Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-17T11:38:07.001Z] ---> Running in 55c1e32c246c [2024-10-17T11:38:07.268Z] Removing intermediate container 55c1e32c246c [2024-10-17T11:38:07.268Z] ---> aa9ef091f295 [2024-10-17T11:38:07.268Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-17T11:38:07.534Z] ---> Running in c9bf5400fa4c [2024-10-17T11:38:07.803Z] Removing intermediate container c9bf5400fa4c [2024-10-17T11:38:07.803Z] ---> 5acbdffed37a [2024-10-17T11:38:07.803Z] Step 6/12 : WORKDIR /device-virtual-go [2024-10-17T11:38:07.803Z] ---> Running in 11e6450ad1ff [2024-10-17T11:38:08.071Z] Removing intermediate container 11e6450ad1ff [2024-10-17T11:38:08.071Z] ---> 685200e8c78c [2024-10-17T11:38:08.071Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-17T11:38:08.340Z] ---> Running in c9305e0772e8 [2024-10-17T11:38:09.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T11:38:09.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T11:38:11.296Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-17T11:38:11.296Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-17T11:38:11.296Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-17T11:38:11.296Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-17T11:38:11.296Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T11:38:11.296Z] OK: 242 MiB in 58 packages [2024-10-17T11:38:12.257Z] Removing intermediate container c9305e0772e8 [2024-10-17T11:38:12.257Z] ---> 083c90b38d49 [2024-10-17T11:38:12.257Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-17T11:38:12.841Z] ---> b4cb0a9d22ec [2024-10-17T11:38:12.841Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T11:38:12.841Z] ---> Running in dad8e49d172f [2024-10-17T11:40:04.493Z] Removing intermediate container dad8e49d172f [2024-10-17T11:40:04.493Z] ---> 7f855cfcd091 [2024-10-17T11:40:04.493Z] Step 10/12 : COPY . . [2024-10-17T11:40:04.493Z] ---> ea536dd47a48 [2024-10-17T11:40:04.493Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T11:40:04.493Z] ---> Running in 7aa9959360b4 [2024-10-17T11:40:04.493Z] Removing intermediate container 7aa9959360b4 [2024-10-17T11:40:04.493Z] ---> b77ee9eb47dd [2024-10-17T11:40:04.493Z] Step 12/12 : RUN $MAKE [2024-10-17T11:40:04.493Z] ---> Running in f5253881bf9b [2024-10-17T11:40:04.493Z] noop [2024-10-17T11:40:04.493Z] Removing intermediate container f5253881bf9b [2024-10-17T11:40:04.493Z] ---> fe1c6cf7dd46 [2024-10-17T11:40:04.493Z] Successfully built fe1c6cf7dd46 [2024-10-17T11:40:04.493Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:40:05.013Z] + docker inspect -f . ci-base-image-arm64 [2024-10-17T11:40:05.013Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T11:40:05.312Z] prd-ubuntu20.04-docker-arm64-4c-16g-22989 does not seem to be running inside a container [2024-10-17T11:40:05.382Z] $ 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 [2024-10-17T11:40:06.564Z] $ docker top 65c446fd5b1d7b456c0c5860196c82b66dbb6352f6fc0cd33cd10fdc4d7bba4d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T11:40:07.457Z] + go version [2024-10-17T11:40:07.457Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-17T11:40:07.508Z] $ docker stop --time=1 65c446fd5b1d7b456c0c5860196c82b66dbb6352f6fc0cd33cd10fdc4d7bba4d [2024-10-17T11:40:09.156Z] $ docker rm -f --volumes 65c446fd5b1d7b456c0c5860196c82b66dbb6352f6fc0cd33cd10fdc4d7bba4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:40:10.110Z] + docker inspect -f . ci-base-image-arm64 [2024-10-17T11:40:10.111Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T11:40:10.417Z] prd-ubuntu20.04-docker-arm64-4c-16g-22989 does not seem to be running inside a container [2024-10-17T11:40:10.545Z] $ 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 [2024-10-17T11:40:11.788Z] $ docker top 158184c3673608f8796b058297747404cc327cb2af1de762b31a428fdf857d58 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T11:40:12.743Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-17T11:40:13.478Z] + make test [2024-10-17T11:40:13.478Z] go test ./... -coverprofile=coverage.out [2024-10-17T11:40:20.140Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-10-17T11:43:41.950Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-10-17T11:43:41.950Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.061s coverage: 58.3% of statements [2024-10-17T11:43:41.950Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-17T11:43:41.950Z] go vet ./... [2024-10-17T11:44:29.337Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-17T11:44:29.337Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-17T11:44:29.337Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-17T11:44:29.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-17T11:44:29.443Z] $ docker stop --time=1 158184c3673608f8796b058297747404cc327cb2af1de762b31a428fdf857d58 [2024-10-17T11:44:31.445Z] $ docker rm -f --volumes 158184c3673608f8796b058297747404cc327cb2af1de762b31a428fdf857d58 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T11:44:33.149Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-17T11:44:33.194Z] Warning: overwriting stash ‘coverage-report’ [2024-10-17T11:44:33.678Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T11:44:34.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-17T11:44:34.695Z] + ls -al . [2024-10-17T11:44:34.695Z] total 272 [2024-10-17T11:44:34.695Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 17 11:40 . [2024-10-17T11:44:34.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 11:37 .. [2024-10-17T11:44:34.695Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 11:37 .git [2024-10-17T11:44:34.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:37 .github [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 17 11:37 .gitignore [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 17 11:37 .golangci.yml [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 18321 Oct 17 11:37 Attribution.txt [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 15941 Oct 17 11:37 CHANGELOG.md [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 1755 Oct 17 11:37 Dockerfile [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 11:37 GOVERNANCE.md [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 17 11:37 Jenkinsfile [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 11:37 LICENSE [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 2490 Oct 17 11:37 Makefile [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 17 11:37 OWNERS.md [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 17 11:37 README.md [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 11:35 VERSION [2024-10-17T11:44:34.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 11:37 bin [2024-10-17T11:44:34.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:37 cmd [2024-10-17T11:44:34.695Z] -rw-r--r-- 1 jenkins jenkins 43316 Oct 17 11:43 coverage.out [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 6895 Oct 17 11:37 go.mod [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 17 11:37 go.sum [2024-10-17T11:44:34.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:37 internal [2024-10-17T11:44:34.695Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 17 11:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:44:35.175Z] + 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=f8d7b325add75d12bfd3ec30d1681c4d482687fc --label arch=arm64 --label version=0.0.0 . [2024-10-17T11:44:35.759Z] Sending build context to Docker daemon 19.07MB [2024-10-17T11:44:35.759Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T11:44:35.759Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-17T11:44:35.759Z] ---> fe1c6cf7dd46 [2024-10-17T11:44:35.759Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-17T11:44:36.027Z] ---> Running in 87932c4569bf [2024-10-17T11:44:36.303Z] Removing intermediate container 87932c4569bf [2024-10-17T11:44:36.303Z] ---> 58701d3d1867 [2024-10-17T11:44:36.303Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-17T11:44:36.570Z] ---> Running in faa462ce3f40 [2024-10-17T11:44:36.839Z] Removing intermediate container faa462ce3f40 [2024-10-17T11:44:36.839Z] ---> 9e046f20d6ab [2024-10-17T11:44:36.839Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-17T11:44:36.839Z] ---> Running in d8d6bd343dc1 [2024-10-17T11:44:37.120Z] Removing intermediate container d8d6bd343dc1 [2024-10-17T11:44:37.120Z] ---> e3a1f73d54eb [2024-10-17T11:44:37.120Z] Step 6/26 : WORKDIR /device-virtual-go [2024-10-17T11:44:37.120Z] ---> Running in bf062fca4811 [2024-10-17T11:44:37.707Z] Removing intermediate container bf062fca4811 [2024-10-17T11:44:37.707Z] ---> 90f8a9e1dcf1 [2024-10-17T11:44:37.707Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-17T11:44:37.707Z] ---> Running in 3d252c286632 [2024-10-17T11:44:38.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T11:44:38.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T11:44:40.884Z] OK: 242 MiB in 58 packages [2024-10-17T11:44:41.851Z] Removing intermediate container 3d252c286632 [2024-10-17T11:44:41.851Z] ---> a0047d90f7bb [2024-10-17T11:44:41.851Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-17T11:44:42.119Z] ---> 62e8e38e0b21 [2024-10-17T11:44:42.119Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T11:44:42.388Z] ---> Running in e5f0ad2524ba [2024-10-17T11:44:44.975Z] Removing intermediate container e5f0ad2524ba [2024-10-17T11:44:44.975Z] ---> 2916a302cb2c [2024-10-17T11:44:44.975Z] Step 10/26 : COPY . . [2024-10-17T11:44:46.386Z] ---> 27db3351581f [2024-10-17T11:44:46.386Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T11:44:46.386Z] ---> Running in 35ce09ef5c6b [2024-10-17T11:44:46.656Z] Removing intermediate container 35ce09ef5c6b [2024-10-17T11:44:46.656Z] ---> 1be4d5862f95 [2024-10-17T11:44:46.656Z] Step 12/26 : RUN $MAKE [2024-10-17T11:44:46.656Z] ---> Running in d0bf7dea996b [2024-10-17T11:44:47.621Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd [2024-10-17T11:48:09.374Z] Removing intermediate container d0bf7dea996b [2024-10-17T11:48:09.374Z] ---> 0fefed96eb4e [2024-10-17T11:48:09.374Z] Step 13/26 : FROM alpine:3.20 [2024-10-17T11:48:09.374Z] 3.20: Pulling from library/alpine [2024-10-17T11:48:09.374Z] cf04c63912e1: Already exists [2024-10-17T11:48:09.374Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-17T11:48:09.374Z] Status: Downloaded newer image for alpine:3.20 [2024-10-17T11:48:09.374Z] ---> c157a85ed455 [2024-10-17T11:48:09.374Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-10-17T11:48:09.374Z] ---> Running in 2dd16127375b [2024-10-17T11:48:09.374Z] Removing intermediate container 2dd16127375b [2024-10-17T11:48:09.374Z] ---> 5a02b62a763d [2024-10-17T11:48:09.374Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-17T11:48:09.374Z] ---> Running in cc282db62e29 [2024-10-17T11:48:09.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T11:48:09.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T11:48:09.374Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-17T11:48:09.374Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T11:48:09.374Z] OK: 9 MiB in 15 packages [2024-10-17T11:48:09.642Z] Removing intermediate container cc282db62e29 [2024-10-17T11:48:09.642Z] ---> ae30bd8531bd [2024-10-17T11:48:09.642Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-17T11:48:09.642Z] ---> Running in 37d220e3f8c9 [2024-10-17T11:48:10.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T11:48:10.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T11:48:12.274Z] Upgrading critical system libraries and apk-tools: [2024-10-17T11:48:12.274Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-17T11:48:12.274Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T11:48:12.539Z] Continuing the upgrade transaction with new apk-tools: [2024-10-17T11:48:12.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T11:48:12.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T11:48:14.214Z] OK: 9 MiB in 15 packages [2024-10-17T11:48:16.161Z] Removing intermediate container 37d220e3f8c9 [2024-10-17T11:48:16.161Z] ---> 8ef33c036a2c [2024-10-17T11:48:16.161Z] Step 17/26 : WORKDIR / [2024-10-17T11:48:16.161Z] ---> Running in 2806d5563d9b [2024-10-17T11:48:16.425Z] Removing intermediate container 2806d5563d9b [2024-10-17T11:48:16.426Z] ---> cd86c271ede9 [2024-10-17T11:48:16.426Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-10-17T11:48:16.691Z] ---> 73064ecd8c48 [2024-10-17T11:48:16.691Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-10-17T11:48:17.271Z] ---> 44b71e80d147 [2024-10-17T11:48:17.271Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-10-17T11:48:19.851Z] ---> ec634a9badd9 [2024-10-17T11:48:19.851Z] Step 21/26 : EXPOSE 59900 [2024-10-17T11:48:19.851Z] ---> Running in 44bc801dd3f5 [2024-10-17T11:48:19.851Z] Removing intermediate container 44bc801dd3f5 [2024-10-17T11:48:19.851Z] ---> 29acb03da3b9 [2024-10-17T11:48:19.851Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-10-17T11:48:19.851Z] ---> Running in 0bae0093e046 [2024-10-17T11:48:20.118Z] Removing intermediate container 0bae0093e046 [2024-10-17T11:48:20.118Z] ---> da3fbde6b763 [2024-10-17T11:48:20.118Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-17T11:48:20.383Z] ---> Running in 1229e795ba70 [2024-10-17T11:48:20.650Z] Removing intermediate container 1229e795ba70 [2024-10-17T11:48:20.650Z] ---> 2ebfd7c26891 [2024-10-17T11:48:20.650Z] Step 24/26 : LABEL arch=arm64 [2024-10-17T11:48:20.650Z] ---> Running in 6172d409b147 [2024-10-17T11:48:20.918Z] Removing intermediate container 6172d409b147 [2024-10-17T11:48:20.918Z] ---> 1b424b6e30d6 [2024-10-17T11:48:20.918Z] Step 25/26 : LABEL git_sha=f8d7b325add75d12bfd3ec30d1681c4d482687fc [2024-10-17T11:48:20.918Z] ---> Running in 3ba351d7ab6a [2024-10-17T11:48:21.186Z] Removing intermediate container 3ba351d7ab6a [2024-10-17T11:48:21.186Z] ---> ecc8155d3f01 [2024-10-17T11:48:21.186Z] Step 26/26 : LABEL version=0.0.0 [2024-10-17T11:48:21.186Z] ---> Running in 1ae071f4e47c [2024-10-17T11:48:21.453Z] Removing intermediate container 1ae071f4e47c [2024-10-17T11:48:21.453Z] ---> a49a17fb7de0 [2024-10-17T11:48:21.453Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-17T11:48:21.719Z] Successfully built a49a17fb7de0 [2024-10-17T11:48:21.719Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:48:22.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T11:48:22.695Z] [2024-10-17T11:48:22.695Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:48:23.122Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T11:48:23.123Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-17T11:48:23.123Z] 8998bd30e6a1: Pulling fs layer [2024-10-17T11:48:23.123Z] 04944245beec: Pulling fs layer [2024-10-17T11:48:23.123Z] 699f458cf7ca: Pulling fs layer [2024-10-17T11:48:23.123Z] 765212b225bb: Pulling fs layer [2024-10-17T11:48:23.123Z] f23df028b6ca: Pulling fs layer [2024-10-17T11:48:23.123Z] d65c8cfc05b1: Pulling fs layer [2024-10-17T11:48:23.123Z] 2437ff75d9bd: Pulling fs layer [2024-10-17T11:48:23.123Z] d65c8cfc05b1: Waiting [2024-10-17T11:48:23.123Z] f23df028b6ca: Waiting [2024-10-17T11:48:23.123Z] 765212b225bb: Waiting [2024-10-17T11:48:23.123Z] 2437ff75d9bd: Waiting [2024-10-17T11:48:23.390Z] 04944245beec: Verifying Checksum [2024-10-17T11:48:23.390Z] 04944245beec: Download complete [2024-10-17T11:48:23.390Z] 765212b225bb: Verifying Checksum [2024-10-17T11:48:23.390Z] 765212b225bb: Download complete [2024-10-17T11:48:23.390Z] f23df028b6ca: Verifying Checksum [2024-10-17T11:48:23.390Z] f23df028b6ca: Download complete [2024-10-17T11:48:23.390Z] d65c8cfc05b1: Verifying Checksum [2024-10-17T11:48:23.390Z] d65c8cfc05b1: Download complete [2024-10-17T11:48:23.657Z] 699f458cf7ca: Verifying Checksum [2024-10-17T11:48:23.657Z] 699f458cf7ca: Download complete [2024-10-17T11:48:23.925Z] 8998bd30e6a1: Verifying Checksum [2024-10-17T11:48:23.925Z] 8998bd30e6a1: Download complete [2024-10-17T11:48:26.529Z] 2437ff75d9bd: Verifying Checksum [2024-10-17T11:48:26.529Z] 2437ff75d9bd: Download complete [2024-10-17T11:48:28.471Z] 8998bd30e6a1: Pull complete [2024-10-17T11:48:29.056Z] 04944245beec: Pull complete [2024-10-17T11:48:30.465Z] 699f458cf7ca: Pull complete [2024-10-17T11:48:30.735Z] 765212b225bb: Pull complete [2024-10-17T11:48:31.693Z] f23df028b6ca: Pull complete [2024-10-17T11:48:31.963Z] d65c8cfc05b1: Pull complete [2024-10-17T11:48:50.176Z] 2437ff75d9bd: Pull complete [2024-10-17T11:48:50.176Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-17T11:48:50.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T11:48:50.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T11:48:50.551Z] prd-ubuntu20.04-docker-arm64-4c-16g-22989 does not seem to be running inside a container [2024-10-17T11:48:50.623Z] $ 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 [2024-10-17T11:48:53.331Z] $ docker top 6f6cf353aa1afd718f390940b77f68b978e0adb0770478cb6cab2946991c09ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:48:54.251Z] ---> job-cost.sh [2024-10-17T11:48:54.251Z] lf-activate-venv: SKIPPING [2024-10-17T11:48:54.251Z] INFO: No Stack... [2024-10-17T11:48:54.831Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-17T11:48:55.412Z] INFO: Archiving Costs [Pipeline] sh [2024-10-17T11:48:55.764Z] + cut+ -d, -f6 [2024-10-17T11:48:55.765Z] cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2024-10-17T11:48:55.849Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-497-1-stack-cost] [2024-10-17T11:48:55.857Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-497-1-stack-cost] did not exist. Created. [2024-10-17T11:48:55.864Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-497-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-17T11:48:56.628Z] /w/workspace/device-virtual-go/1@tmp/durable-347e21d9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-17T11:48:57.019Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-17T11:48:57.050Z] Warning: overwriting stash ‘stack-cost’ [2024-10-17T11:48:57.109Z] Stashed 1 file(s) [Pipeline] } [2024-10-17T11:48:57.132Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-497-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-17T11:48:57.249Z] $ docker stop --time=1 6f6cf353aa1afd718f390940b77f68b978e0adb0770478cb6cab2946991c09ee [2024-10-17T11:48:58.736Z] $ docker rm -f --volumes 6f6cf353aa1afd718f390940b77f68b978e0adb0770478cb6cab2946991c09ee [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 [2024-10-17T11:48:59.914Z] provisioning config files... [2024-10-17T11:48:59.922Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-497@tmp/config5498748042517707352tmp [Pipeline] { [Pipeline] sh [2024-10-17T11:49:00.271Z] + set +x [2024-10-17T11:49:00.271Z] + bash -s -- [2024-10-17T11:49:00.271Z] + curl -s https://codecov.io/bash [2024-10-17T11:49:00.271Z] [2024-10-17T11:49:00.271Z] _____ _ [2024-10-17T11:49:00.271Z] / ____| | | [2024-10-17T11:49:00.271Z] | | ___ __| | ___ ___ _____ __ [2024-10-17T11:49:00.271Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-17T11:49:00.271Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-17T11:49:00.271Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-17T11:49:00.271Z] Bash-1.0.6 [2024-10-17T11:49:00.271Z] [2024-10-17T11:49:00.271Z] [2024-10-17T11:49:00.271Z] ==> git version 2.25.1 found [2024-10-17T11:49:00.271Z] ==> 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 [2024-10-17T11:49:00.271Z] Release-Date: 2020-01-08 [2024-10-17T11:49:00.271Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-17T11:49:00.271Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-17T11:49:00.271Z] ==> Jenkins CI detected. [2024-10-17T11:49:00.271Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-497 [2024-10-17T11:49:00.271Z] project root: . [2024-10-17T11:49:00.271Z] --> token set from env [2024-10-17T11:49:00.271Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-17T11:49:00.271Z] ==> Running gcov in . (disable via -X gcov) [2024-10-17T11:49:00.271Z] ==> Python coveragepy not found [2024-10-17T11:49:00.271Z] ==> Searching for coverage reports in: [2024-10-17T11:49:00.271Z] + . [2024-10-17T11:49:00.271Z] -> Found 1 reports [2024-10-17T11:49:00.271Z] ==> Detecting git/mercurial file structure [2024-10-17T11:49:00.531Z] ==> Reading reports [2024-10-17T11:49:00.531Z] + ./coverage.out bytes=43316 [2024-10-17T11:49:00.531Z] ==> Appending adjustments [2024-10-17T11:49:00.531Z] https://docs.codecov.io/docs/fixing-reports [2024-10-17T11:49:00.531Z] + Found adjustments [2024-10-17T11:49:00.531Z] ==> Gzipping contents [2024-10-17T11:49:00.531Z] 8.0K /tmp/codecov.FdwN7t.gz [2024-10-17T11:49:00.531Z] ==> Uploading reports [2024-10-17T11:49:00.531Z] url: https://codecov.io [2024-10-17T11:49:00.531Z] query: branch=PR-497&commit=f8d7b325add75d12bfd3ec30d1681c4d482687fc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-497%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=497&job=&cmd_args= [2024-10-17T11:49:00.531Z] -> Pinging Codecov [2024-10-17T11:49:00.531Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-497&commit=f8d7b325add75d12bfd3ec30d1681c4d482687fc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-497%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=497&job=&cmd_args= [2024-10-17T11:49:00.792Z] -> Uploading to [2024-10-17T11:49:00.792Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/f8d7b325add75d12bfd3ec30d1681c4d482687fc/87f3ef67-f813-4090-a716-62642881a4ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241017%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241017T114900Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=25d252e13ed6ca2f5d8860c7e7301a53bfb4a82617690a7eb6e8dd7967d6a1d8 [2024-10-17T11:49:00.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-17T11:49:00.792Z] Dload Upload Total Spent Left Speed [2024-10-17T11:49:00.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 23441 --:--:-- --:--:-- --:--:-- 23441 [2024-10-17T11:49:01.052Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f8d7b325add75d12bfd3ec30d1681c4d482687fc [Pipeline] } [2024-10-17T11:49:01.084Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-17T11:49:03.333Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-497/archives ] [2024-10-17T11:49:03.333Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-497/archives [2024-10-17T11:49:03.333Z] total 16 [2024-10-17T11:49:03.333Z] drwxr-xr-x 3 root root 4096 Oct 17 11:38 . [2024-10-17T11:49:03.333Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 11:38 .. [2024-10-17T11:49:03.333Z] drwxr-xr-x 2 root root 4096 Oct 17 11:38 cost [2024-10-17T11:49:03.333Z] -rw-r--r-- 1 root root 89 Oct 17 11:38 cost.csv [2024-10-17T11:49:03.333Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-497/archives [2024-10-17T11:49:03.333Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-497/archives [2024-10-17T11:49:03.333Z] total 16 [2024-10-17T11:49:03.333Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 11:38 . [2024-10-17T11:49:03.333Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 11:38 .. [2024-10-17T11:49:03.333Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 11:38 cost [2024-10-17T11:49:03.333Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 17 11:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:49:03.677Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:49:04.583Z] ---> package-listing.sh [2024-10-17T11:49:04.583Z] ++ facter osfamily [2024-10-17T11:49:04.583Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-17T11:49:04.844Z] + OS_FAMILY=debian [2024-10-17T11:49:04.844Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-497 [2024-10-17T11:49:04.844Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-17T11:49:04.844Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-17T11:49:04.844Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-17T11:49:04.844Z] + PACKAGES=/tmp/packages_start.txt [2024-10-17T11:49:04.844Z] + '[' /w/workspace/foundry_device-virtual-go_PR-497 ']' [2024-10-17T11:49:04.844Z] + PACKAGES=/tmp/packages_end.txt [2024-10-17T11:49:04.844Z] + case "${OS_FAMILY}" in [2024-10-17T11:49:04.844Z] + dpkg -l [2024-10-17T11:49:04.844Z] + grep '^ii' [2024-10-17T11:49:04.844Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-17T11:49:04.844Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-17T11:49:04.844Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-17T11:49:04.844Z] + '[' /w/workspace/foundry_device-virtual-go_PR-497 ']' [2024-10-17T11:49:04.844Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-497/archives/ [2024-10-17T11:49:04.844Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-497/archives/ [Pipeline] echo [2024-10-17T11:49:04.889Z] 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-497/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-17T11:49:05.187Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T11:49:05.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T11:49:05.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T11:49:06.008Z] prd-ubuntu20.04-docker-8c-8g-22988 does not seem to be running inside a container [2024-10-17T11:49:06.026Z] $ 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-497/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-497 -v /w/workspace/foundry_device-virtual-go_PR-497:/w/workspace/foundry_device-virtual-go_PR-497:rw,z -v /w/workspace/foundry_device-virtual-go_PR-497@tmp:/w/workspace/foundry_device-virtual-go_PR-497@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 [2024-10-17T11:49:06.217Z] $ docker top dcfd40cf02023a837969b322c96df97f03a31bff48518685a43e282865342bd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T11:49:06.640Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-17T11:49:06.956Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-17T11:49:07.275Z] + ls /var/log/sa-host [2024-10-17T11:49:07.275Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T11:49:07.530Z] provisioning config files... [2024-10-17T11:49:07.539Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-497@tmp/config2421628159975634644tmp [Pipeline] { [Pipeline] echo [2024-10-17T11:49:07.613Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:49:07.937Z] ---> create-netrc.sh [Pipeline] } [2024-10-17T11:49:07.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:49:08.400Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-17T11:49:08.439Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:49:08.765Z] ---> sudo-logs.sh [2024-10-17T11:49:08.765Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-17T11:49:08.899Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:49:09.280Z] ---> job-cost.sh [2024-10-17T11:49:09.280Z] lf-activate-venv: SKIPPING [2024-10-17T11:49:09.280Z] DEBUG: total: 0.2199999988079071 [2024-10-17T11:49:09.280Z] INFO: Retrieving Stack Cost... [2024-10-17T11:49:09.869Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-17T11:49:10.140Z] INFO: Archiving Costs [Pipeline] echo [2024-10-17T11:49:10.180Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T11:49:10.649Z] ---> logs-deploy.sh [2024-10-17T11:49:10.650Z] lf-activate-venv: SKIPPING [2024-10-17T11:49:10.650Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-497/1 [2024-10-17T11:49:10.650Z] INFO: archiving workspace using pattern(s): [2024-10-17T11:49:11.588Z] Archives upload complete. [2024-10-17T11:49:11.588Z] INFO: archiving logs to Nexus