Pull request #492 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 2815aa64e05e66b8427a3fdf48e067a01d3ad781+04ce07425684dc49eb1d346851a0a7d2d821c622 (958cb22c38f37e424ae482b4c2294760dbf8f41c) 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-ssh7544094669154935542.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-ssh3661320304699270153.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-492/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-492/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5357660792827885742.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-492/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16358546379043365726.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-ssh13994354678055521883.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-492/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-492/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14660160442380543965.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15501 in /w/workspace/foundry_device-virtual-go_PR-492 [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-492 # 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/492/head:refs/remotes/origin/PR-492 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 04ce07425684dc49eb1d346851a0a7d2d821c622 into PR head commit 2815aa64e05e66b8427a3fdf48e067a01d3ad781 Merge succeeded, producing 2815aa64e05e66b8427a3fdf48e067a01d3ad781 Checking out Revision 2815aa64e05e66b8427a3fdf48e067a01d3ad781 (PR-492) > git config core.sparsecheckout # timeout=10 > git checkout -f 2815aa64e05e66b8427a3fdf48e067a01d3ad781 # 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 04ce07425684dc49eb1d346851a0a7d2d821c622 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2815aa64e05e66b8427a3fdf48e067a01d3ad781 # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T01:48:06.774Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T01:48:07.023Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T01:48:07.162Z] ========================================================= [2024-10-04T01:48:07.162Z] EdgeX Global Pipelines Version Info [2024-10-04T01:48:07.162Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:48:07.924Z] ------------------- [2024-10-04T01:48:07.925Z] stable info: [2024-10-04T01:48:07.925Z] ------------------- [2024-10-04T01:48:07.925Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T01:48:07.925Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T01:48:07.925Z] Message: update stable to v1.0.265 [2024-10-04T01:48:08.496Z] ------------------- [2024-10-04T01:48:08.496Z] experimental info: [2024-10-04T01:48:08.496Z] ------------------- [2024-10-04T01:48:08.496Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T01:48:08.496Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T01:48:08.496Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T01:48:08.774Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-10-04T01:48:08.844Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-10-04T01:48:08.914Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T01:48:08.992Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T01:48:09.057Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T01:48:09.117Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T01:48:09.181Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T01:48:09.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T01:48:09.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T01:48:09.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T01:48:09.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T01:48:09.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-10-04T01:48:09.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T01:48:09.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T01:48:09.792Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T01:48:09.857Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T01:48:09.922Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T01:48:09.991Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T01:48:10.060Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T01:48:10.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T01:48:10.192Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-04T01:48:10.247Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-04T01:48:10.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T01:48:10.363Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T01:48:10.425Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T01:48:10.501Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T01:48:10.568Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T01:48:10.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-492 [Pipeline] echo [2024-10-04T01:48:10.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-492 [Pipeline] echo [2024-10-04T01:48:10.767Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-492 [Pipeline] echo [2024-10-04T01:48:10.838Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2815aa64e05e66b8427a3fdf48e067a01d3ad781 [Pipeline] echo [2024-10-04T01:48:10.898Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2815aa6 [Pipeline] echo [2024-10-04T01:48:10.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T01:48:11.142Z] provisioning config files... [2024-10-04T01:48:11.160Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-492@tmp/config11647063987016286253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:48:11.559Z] ---> ****-login.sh [2024-10-04T01:48:11.559Z] nexus3.edgexfoundry.org:10001 [2024-10-04T01:48:11.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:48:11.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:48:11.820Z] Configure a credential helper to remove this warning. See [2024-10-04T01:48:11.820Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:48:11.820Z] [2024-10-04T01:48:11.820Z] Login Succeeded [2024-10-04T01:48:11.820Z] nexus3.edgexfoundry.org:10002 [2024-10-04T01:48:12.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:48:12.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:48:12.081Z] Configure a credential helper to remove this warning. See [2024-10-04T01:48:12.081Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:48:12.081Z] [2024-10-04T01:48:12.081Z] Login Succeeded [2024-10-04T01:48:12.081Z] nexus3.edgexfoundry.org:10003 [2024-10-04T01:48:12.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:48:12.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:48:12.081Z] Configure a credential helper to remove this warning. See [2024-10-04T01:48:12.081Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:48:12.081Z] [2024-10-04T01:48:12.081Z] Login Succeeded [2024-10-04T01:48:12.081Z] nexus3.edgexfoundry.org:10004 [2024-10-04T01:48:12.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:48:12.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:48:12.342Z] Configure a credential helper to remove this warning. See [2024-10-04T01:48:12.342Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:48:12.342Z] [2024-10-04T01:48:12.342Z] Login Succeeded [2024-10-04T01:48:12.342Z] ****.io [2024-10-04T01:48:12.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:48:12.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:48:12.602Z] Configure a credential helper to remove this warning. See [2024-10-04T01:48:12.602Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:48:12.602Z] [2024-10-04T01:48:12.602Z] Login Succeeded [2024-10-04T01:48:12.602Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T01:48:12.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T01:48:13.377Z] + git rev-list -1 --merges 2815aa64e05e66b8427a3fdf48e067a01d3ad781~1..2815aa64e05e66b8427a3fdf48e067a01d3ad781 [Pipeline] echo [2024-10-04T01:48:13.426Z] -----------> git rev-list -1 --merges 2815aa64e05e66b8427a3fdf48e067a01d3ad781~1..2815aa64e05e66b8427a3fdf48e067a01d3ad781 2815aa64e05e66b8427a3fdf48e067a01d3ad781 [false] [Pipeline] sh [2024-10-04T01:48:13.745Z] + git log --format=format:%s -1 2815aa64e05e66b8427a3fdf48e067a01d3ad781 [Pipeline] echo [2024-10-04T01:48:13.789Z] ========================================================= [2024-10-04T01:48:13.789Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T01:48:13.789Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T01:48:14.265Z] + git log --format=format:%s -1 2815aa64e05e66b8427a3fdf48e067a01d3ad781 [Pipeline] echo [2024-10-04T01:48:14.304Z] [semverPrep] GIT_COMMIT: 2815aa64e05e66b8427a3fdf48e067a01d3ad781, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo [2024-10-04T01:48:14.352Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T01:48:14.776Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T01:48:14.776Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T01:48:14.776Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T01:48:14.776Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T01:48:14.776Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T01:48:14.776Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T01:48:14.776Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:48:15.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T01:48:15.311Z] [2024-10-04T01:48:15.311Z] 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-04T01:48:15.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T01:48:15.733Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T01:48:15.733Z] b85a868b505f: Pulling fs layer [2024-10-04T01:48:15.733Z] e2be974225ed: Pulling fs layer [2024-10-04T01:48:15.733Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T01:48:15.733Z] 988bab9f4d93: Pulling fs layer [2024-10-04T01:48:15.733Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T01:48:15.733Z] eaf3925da568: Pulling fs layer [2024-10-04T01:48:15.733Z] bab4dde63d76: Pulling fs layer [2024-10-04T01:48:15.733Z] bde34c3a00c8: Pulling fs layer [2024-10-04T01:48:15.733Z] b352a97aabf1: Pulling fs layer [2024-10-04T01:48:15.733Z] 4872d77fe225: Pulling fs layer [2024-10-04T01:48:15.733Z] 5851b861e8e6: Pulling fs layer [2024-10-04T01:48:15.733Z] bde34c3a00c8: Waiting [2024-10-04T01:48:15.733Z] b352a97aabf1: Waiting [2024-10-04T01:48:15.733Z] 988bab9f4d93: Waiting [2024-10-04T01:48:15.733Z] eaf3925da568: Waiting [2024-10-04T01:48:15.733Z] 4872d77fe225: Waiting [2024-10-04T01:48:15.733Z] bab4dde63d76: Waiting [2024-10-04T01:48:15.733Z] 5851b861e8e6: Waiting [2024-10-04T01:48:15.733Z] 1469e6f7b9e6: Waiting [2024-10-04T01:48:15.733Z] e2be974225ed: Download complete [2024-10-04T01:48:15.733Z] 988bab9f4d93: Verifying Checksum [2024-10-04T01:48:15.733Z] 988bab9f4d93: Download complete [2024-10-04T01:48:15.733Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T01:48:15.733Z] 1469e6f7b9e6: Download complete [2024-10-04T01:48:15.733Z] eaf3925da568: Download complete [2024-10-04T01:48:15.998Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T01:48:15.998Z] 339a4e72a1f5: Download complete [2024-10-04T01:48:15.998Z] bde34c3a00c8: Verifying Checksum [2024-10-04T01:48:15.998Z] bde34c3a00c8: Download complete [2024-10-04T01:48:15.998Z] b352a97aabf1: Verifying Checksum [2024-10-04T01:48:15.998Z] b352a97aabf1: Download complete [2024-10-04T01:48:15.998Z] 4872d77fe225: Download complete [2024-10-04T01:48:15.998Z] 5851b861e8e6: Verifying Checksum [2024-10-04T01:48:15.998Z] b85a868b505f: Download complete [2024-10-04T01:48:16.285Z] bab4dde63d76: Verifying Checksum [2024-10-04T01:48:16.285Z] bab4dde63d76: Download complete [2024-10-04T01:48:17.222Z] b85a868b505f: Pull complete [2024-10-04T01:48:17.482Z] e2be974225ed: Pull complete [2024-10-04T01:48:18.051Z] 339a4e72a1f5: Pull complete [2024-10-04T01:48:18.051Z] 988bab9f4d93: Pull complete [2024-10-04T01:48:18.309Z] 1469e6f7b9e6: Pull complete [2024-10-04T01:48:18.309Z] eaf3925da568: Pull complete [2024-10-04T01:48:20.216Z] bab4dde63d76: Pull complete [2024-10-04T01:48:20.216Z] bde34c3a00c8: Pull complete [2024-10-04T01:48:20.216Z] b352a97aabf1: Pull complete [2024-10-04T01:48:20.477Z] 4872d77fe225: Pull complete [2024-10-04T01:48:20.477Z] 5851b861e8e6: Pull complete [2024-10-04T01:48:20.477Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T01:48:20.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T01:48:20.477Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:48:20.773Z] prd-ubuntu20.04-docker-8c-8g-15501 does not seem to be running inside a container [2024-10-04T01:48:20.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-492 -v /w/workspace/foundry_device-virtual-go_PR-492:/w/workspace/foundry_device-virtual-go_PR-492:rw,z -v /w/workspace/foundry_device-virtual-go_PR-492@tmp:/w/workspace/foundry_device-virtual-go_PR-492@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-04T01:48:23.152Z] $ docker top edc62d32dc9450803110bb74da65c0d1fe09a3a4aa588e3333e8e6ba6e4f0272 -eo pid,comm [2024-10-04T01:48:23.214Z] 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-04T01:48:23.214Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T01:48:23.388Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T01:48:23.388Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T01:48:23.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T01:48:23.508Z] $ docker exec edc62d32dc9450803110bb74da65c0d1fe09a3a4aa588e3333e8e6ba6e4f0272 ssh-agent [2024-10-04T01:48:23.617Z] SSH_AUTH_SOCK=/tmp/ssh-k3mTPEJCFjwl/agent.33 [2024-10-04T01:48:23.617Z] SSH_AGENT_PID=40 [2024-10-04T01:48:23.624Z] Running ssh-add (command line suppressed) [2024-10-04T01:48:23.720Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-492@tmp/private_key_11205697007267394596.key (/w/workspace/foundry_device-virtual-go_PR-492@tmp/private_key_11205697007267394596.key) [2024-10-04T01:48:23.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T01:48:24.092Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T01:48:24.124Z] $ docker exec --env ******** --env ******** edc62d32dc9450803110bb74da65c0d1fe09a3a4aa588e3333e8e6ba6e4f0272 ssh-agent -k [2024-10-04T01:48:24.216Z] unset SSH_AUTH_SOCK; [2024-10-04T01:48:24.216Z] unset SSH_AGENT_PID; [2024-10-04T01:48:24.217Z] echo Agent pid 40 killed; [2024-10-04T01:48:24.225Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T01:48:24.359Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T01:48:24.359Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T01:48:24.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T01:48:24.462Z] $ docker exec edc62d32dc9450803110bb74da65c0d1fe09a3a4aa588e3333e8e6ba6e4f0272 ssh-agent [2024-10-04T01:48:24.578Z] SSH_AUTH_SOCK=/tmp/ssh-0AhAHXuLdWLI/agent.73 [2024-10-04T01:48:24.578Z] SSH_AGENT_PID=79 [2024-10-04T01:48:24.582Z] Running ssh-add (command line suppressed) [2024-10-04T01:48:24.675Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-492@tmp/private_key_15045515840326107939.key (/w/workspace/foundry_device-virtual-go_PR-492@tmp/private_key_15045515840326107939.key) [2024-10-04T01:48:24.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T01:48:25.042Z] + git semver init [2024-10-04T01:48:25.301Z] 2024-10-04 01:48:25,206 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T01:48:25.301Z] 2024-10-04 01:48:25,207 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-492/.semver [2024-10-04T01:48:25.301Z] 2024-10-04 01:48:25,208 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-492/.semver [2024-10-04T01:48:25.301Z] 2024-10-04 01:48:25,208 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-492/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-492, universal_newlines=False, shell=None, istream=None) [2024-10-04T01:48:27.841Z] 2024-10-04 01:48:27,238 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-492/.git/info/exclude [2024-10-04T01:48:27.841Z] 2024-10-04 01:48:27,239 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-492/.semver/PR-492 with force:False [2024-10-04T01:48:27.841Z] 2024-10-04 01:48:27,239 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-492/.semver/PR-492 [2024-10-04T01:48:27.841Z] 2024-10-04 01:48:27,243 [execute] INFO git cat-file --batch-check [2024-10-04T01:48:27.841Z] 2024-10-04 01:48:27,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-492/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T01:48:27.841Z] 2024-10-04 01:48:27,249 [execute] INFO git cat-file --batch [2024-10-04T01:48:27.841Z] 2024-10-04 01:48:27,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-492/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T01:48:27.841Z] 2024-10-04 01:48:27,255 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-492/.semver/PR-492 [2024-10-04T01:48:27.841Z] 0.0.0 [Pipeline] } [2024-10-04T01:48:27.868Z] $ docker exec --env ******** --env ******** edc62d32dc9450803110bb74da65c0d1fe09a3a4aa588e3333e8e6ba6e4f0272 ssh-agent -k [2024-10-04T01:48:27.968Z] unset SSH_AUTH_SOCK; [2024-10-04T01:48:27.969Z] unset SSH_AGENT_PID; [2024-10-04T01:48:27.970Z] echo Agent pid 79 killed; [2024-10-04T01:48:27.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T01:48:28.449Z] + git semver [Pipeline] } [2024-10-04T01:48:28.733Z] $ docker stop --time=1 edc62d32dc9450803110bb74da65c0d1fe09a3a4aa588e3333e8e6ba6e4f0272 [2024-10-04T01:48:30.014Z] $ docker rm -f --volumes edc62d32dc9450803110bb74da65c0d1fe09a3a4aa588e3333e8e6ba6e4f0272 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T01:48:30.431Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T01:48:30.751Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T01:48:30.775Z] [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-04T01:48:31.559Z] provisioning config files... [2024-10-04T01:48:31.570Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-492@tmp/config5252459445371064410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:48:31.948Z] ---> ****-login.sh [2024-10-04T01:48:31.949Z] nexus3.edgexfoundry.org:10001 [2024-10-04T01:48:31.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:48:31.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:48:31.949Z] Configure a credential helper to remove this warning. See [2024-10-04T01:48:31.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:48:31.949Z] [2024-10-04T01:48:31.949Z] Login Succeeded [2024-10-04T01:48:31.949Z] nexus3.edgexfoundry.org:10002 [2024-10-04T01:48:31.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:48:31.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:48:31.949Z] Configure a credential helper to remove this warning. See [2024-10-04T01:48:31.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:48:31.949Z] [2024-10-04T01:48:31.949Z] Login Succeeded [2024-10-04T01:48:31.949Z] nexus3.edgexfoundry.org:10003 [2024-10-04T01:48:32.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:48:32.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:48:32.210Z] Configure a credential helper to remove this warning. See [2024-10-04T01:48:32.210Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:48:32.210Z] [2024-10-04T01:48:32.210Z] Login Succeeded [2024-10-04T01:48:32.210Z] nexus3.edgexfoundry.org:10004 [2024-10-04T01:48:32.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:48:32.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:48:32.210Z] Configure a credential helper to remove this warning. See [2024-10-04T01:48:32.210Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:48:32.210Z] [2024-10-04T01:48:32.210Z] Login Succeeded [2024-10-04T01:48:32.210Z] ****.io [2024-10-04T01:48:32.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:48:32.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:48:32.471Z] Configure a credential helper to remove this warning. See [2024-10-04T01:48:32.471Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:48:32.471Z] [2024-10-04T01:48:32.471Z] Login Succeeded [2024-10-04T01:48:32.471Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T01:48:32.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T01:48:32.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T01:48:32.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T01:48:32.861Z] ========================================================= [2024-10-04T01:48:32.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T01:48:32.861Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:48:33.390Z] + 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-04T01:48:33.390Z] Sending build context to Docker daemon 37.64MB [2024-10-04T01:48:33.390Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T01:48:33.390Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T01:48:33.648Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T01:48:33.648Z] 43c4264eed91: Pulling fs layer [2024-10-04T01:48:33.648Z] 4cc291be95ef: Pulling fs layer [2024-10-04T01:48:33.648Z] 2ac1f1163629: Pulling fs layer [2024-10-04T01:48:33.648Z] 5c3c966382ef: Pulling fs layer [2024-10-04T01:48:33.648Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T01:48:33.648Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T01:48:33.648Z] 9f66e0745190: Pulling fs layer [2024-10-04T01:48:33.648Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T01:48:33.648Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T01:48:33.648Z] 5c3c966382ef: Waiting [2024-10-04T01:48:33.648Z] 4f4fb700ef54: Waiting [2024-10-04T01:48:33.648Z] 5d5c8e513c77: Waiting [2024-10-04T01:48:33.648Z] 9f66e0745190: Waiting [2024-10-04T01:48:33.648Z] f49a43e4bbc0: Waiting [2024-10-04T01:48:33.648Z] 561ebcabdf7f: Waiting [2024-10-04T01:48:33.648Z] 4cc291be95ef: Verifying Checksum [2024-10-04T01:48:33.648Z] 4cc291be95ef: Download complete [2024-10-04T01:48:33.648Z] 5c3c966382ef: Verifying Checksum [2024-10-04T01:48:33.648Z] 5c3c966382ef: Download complete [2024-10-04T01:48:33.648Z] 4f4fb700ef54: Download complete [2024-10-04T01:48:33.648Z] 5d5c8e513c77: Download complete [2024-10-04T01:48:33.648Z] 43c4264eed91: Download complete [2024-10-04T01:48:33.648Z] 9f66e0745190: Verifying Checksum [2024-10-04T01:48:33.648Z] 9f66e0745190: Download complete [2024-10-04T01:48:33.906Z] 43c4264eed91: Pull complete [2024-10-04T01:48:33.906Z] 561ebcabdf7f: Verifying Checksum [2024-10-04T01:48:33.906Z] 561ebcabdf7f: Download complete [2024-10-04T01:48:33.906Z] 4cc291be95ef: Pull complete [2024-10-04T01:48:34.165Z] 2ac1f1163629: Verifying Checksum [2024-10-04T01:48:34.165Z] 2ac1f1163629: Download complete [2024-10-04T01:48:34.424Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T01:48:34.424Z] f49a43e4bbc0: Download complete [2024-10-04T01:48:38.622Z] 2ac1f1163629: Pull complete [2024-10-04T01:48:38.622Z] 5c3c966382ef: Pull complete [2024-10-04T01:48:38.622Z] 4f4fb700ef54: Pull complete [2024-10-04T01:48:38.622Z] 5d5c8e513c77: Pull complete [2024-10-04T01:48:38.622Z] 9f66e0745190: Pull complete [2024-10-04T01:48:41.157Z] f49a43e4bbc0: Pull complete [2024-10-04T01:48:41.157Z] 561ebcabdf7f: Pull complete [2024-10-04T01:48:41.157Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T01:48:41.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T01:48:41.417Z] ---> 3a752c3f9dda [2024-10-04T01:48:41.417Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T01:48:45.777Z] ---> Running in 08de7a835f6d [2024-10-04T01:48:45.777Z] Removing intermediate container 08de7a835f6d [2024-10-04T01:48:45.777Z] ---> a9648ea84e15 [2024-10-04T01:48:45.777Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T01:48:45.777Z] ---> Running in febed9241aaf [2024-10-04T01:48:45.777Z] Removing intermediate container febed9241aaf [2024-10-04T01:48:45.777Z] ---> 32940501cd5b [2024-10-04T01:48:45.777Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T01:48:45.777Z] ---> Running in 4919ab9045ef [2024-10-04T01:48:45.777Z] Removing intermediate container 4919ab9045ef [2024-10-04T01:48:45.777Z] ---> f7788b0dc6f9 [2024-10-04T01:48:45.777Z] Step 6/12 : WORKDIR /device-virtual-go [2024-10-04T01:48:45.777Z] ---> Running in c3d7003b07d7 [2024-10-04T01:48:45.777Z] Removing intermediate container c3d7003b07d7 [2024-10-04T01:48:45.777Z] ---> dcad240dc01b [2024-10-04T01:48:45.777Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T01:48:45.777Z] ---> Running in 09fc10264479 [2024-10-04T01:48:45.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T01:48:45.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T01:48:46.039Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T01:48:46.039Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T01:48:46.039Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T01:48:46.039Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T01:48:46.300Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T01:48:46.300Z] OK: 250 MiB in 58 packages [2024-10-04T01:48:46.316Z] Still waiting to schedule task [2024-10-04T01:48:46.317Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-04T01:48:46.559Z] Removing intermediate container 09fc10264479 [2024-10-04T01:48:46.559Z] ---> c9444563bc9a [2024-10-04T01:48:46.559Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-04T01:48:46.819Z] ---> 9474981460a7 [2024-10-04T01:48:46.819Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T01:48:46.819Z] ---> Running in 85c49b0d86f1 [2024-10-04T01:49:43.101Z] Removing intermediate container 85c49b0d86f1 [2024-10-04T01:49:43.101Z] ---> 0ef493f5e7d6 [2024-10-04T01:49:43.101Z] Step 10/12 : COPY . . [2024-10-04T01:49:43.101Z] ---> 1e347827f766 [2024-10-04T01:49:43.101Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T01:49:43.101Z] ---> Running in 92671dbb3167 [2024-10-04T01:49:43.101Z] Removing intermediate container 92671dbb3167 [2024-10-04T01:49:43.101Z] ---> 57cf79f614d8 [2024-10-04T01:49:43.101Z] Step 12/12 : RUN $MAKE [2024-10-04T01:49:43.101Z] ---> Running in ac6a082f6637 [2024-10-04T01:49:43.101Z] noop [2024-10-04T01:49:43.101Z] Removing intermediate container ac6a082f6637 [2024-10-04T01:49:43.101Z] ---> 3962caed62d1 [2024-10-04T01:49:43.101Z] Successfully built 3962caed62d1 [2024-10-04T01:49:43.101Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:49:43.596Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T01:49:43.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:49:43.778Z] prd-ubuntu20.04-docker-8c-8g-15501 does not seem to be running inside a container [2024-10-04T01:49:43.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-492 -v /w/workspace/foundry_device-virtual-go_PR-492:/w/workspace/foundry_device-virtual-go_PR-492:rw,z -v /w/workspace/foundry_device-virtual-go_PR-492@tmp:/w/workspace/foundry_device-virtual-go_PR-492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T01:49:44.144Z] $ docker top 2617308b59919a32b9b9f4b20de6e95c9e7ce649ec94d6a3e3ef48fa0e731c2b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T01:49:44.545Z] + go version [2024-10-04T01:49:44.545Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T01:49:44.577Z] $ docker stop --time=1 2617308b59919a32b9b9f4b20de6e95c9e7ce649ec94d6a3e3ef48fa0e731c2b [2024-10-04T01:49:45.849Z] $ docker rm -f --volumes 2617308b59919a32b9b9f4b20de6e95c9e7ce649ec94d6a3e3ef48fa0e731c2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:49:46.651Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T01:49:46.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:49:46.829Z] prd-ubuntu20.04-docker-8c-8g-15501 does not seem to be running inside a container [2024-10-04T01:49:46.854Z] $ 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-492 -v /w/workspace/foundry_device-virtual-go_PR-492:/w/workspace/foundry_device-virtual-go_PR-492:rw,z -v /w/workspace/foundry_device-virtual-go_PR-492@tmp:/w/workspace/foundry_device-virtual-go_PR-492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T01:49:47.172Z] $ docker top 9cf5a50880565872dd6504441a8011d0c29881cc918177b75cf101e7a2e810b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T01:49:47.590Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-492 [Pipeline] fileExists [Pipeline] sh [2024-10-04T01:49:47.970Z] + make test [2024-10-04T01:49:47.970Z] go test ./... -coverprofile=coverage.out [2024-10-04T01:49:49.343Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-10-04T01:50:11.264Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-10-04T01:50:11.264Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.011s coverage: 58.4% of statements [2024-10-04T01:50:19.385Z] go vet ./... [2024-10-04T01:50:26.308Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T01:50:26.308Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T01:50:26.308Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T01:50:26.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T01:50:26.405Z] $ docker stop --time=1 9cf5a50880565872dd6504441a8011d0c29881cc918177b75cf101e7a2e810b7 [2024-10-04T01:50:30.148Z] $ docker rm -f --volumes 9cf5a50880565872dd6504441a8011d0c29881cc918177b75cf101e7a2e810b7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T01:50:30.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T01:50:30.905Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T01:50:31.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T01:50:31.972Z] + ls -al . [2024-10-04T01:50:31.972Z] total 276 [2024-10-04T01:50:31.972Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 01:49 . [2024-10-04T01:50:31.972Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 01:47 .. [2024-10-04T01:50:31.972Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 01:50 .git [2024-10-04T01:50:31.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 01:48 .github [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 4 01:48 .gitignore [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 01:48 .golangci.yml [2024-10-04T01:50:31.972Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 01:48 .semver [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 18321 Oct 4 01:48 Attribution.txt [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 15941 Oct 4 01:48 CHANGELOG.md [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 1755 Oct 4 01:48 Dockerfile [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 01:48 GOVERNANCE.md [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 4 01:48 Jenkinsfile [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 01:48 LICENSE [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 1953 Oct 4 01:48 Makefile [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 4 01:48 OWNERS.md [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 4 01:48 README.md [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 01:48 VERSION [2024-10-04T01:50:31.972Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 01:48 bin [2024-10-04T01:50:31.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 01:48 cmd [2024-10-04T01:50:31.972Z] -rw-r--r-- 1 jenkins jenkins 43316 Oct 4 01:50 coverage.out [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 6895 Oct 4 01:48 go.mod [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 01:48 go.sum [2024-10-04T01:50:31.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 01:48 internal [2024-10-04T01:50:31.972Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 4 01:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:50:32.395Z] + 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=2815aa64e05e66b8427a3fdf48e067a01d3ad781 --label arch=amd64 --label version=0.0.0 . [2024-10-04T01:50:32.395Z] Sending build context to Docker daemon 37.69MB [2024-10-04T01:50:32.395Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T01:50:32.395Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-04T01:50:32.395Z] ---> 3962caed62d1 [2024-10-04T01:50:32.395Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T01:50:32.964Z] ---> Running in 3055433f6d3f [2024-10-04T01:50:32.964Z] Removing intermediate container 3055433f6d3f [2024-10-04T01:50:32.964Z] ---> d5e8f9a002ec [2024-10-04T01:50:32.964Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T01:50:32.964Z] ---> Running in 66c74f4944d8 [2024-10-04T01:50:33.223Z] Removing intermediate container 66c74f4944d8 [2024-10-04T01:50:33.223Z] ---> a9551732f284 [2024-10-04T01:50:33.223Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-04T01:50:33.223Z] ---> Running in d4c572e65fcd [2024-10-04T01:50:33.223Z] Removing intermediate container d4c572e65fcd [2024-10-04T01:50:33.223Z] ---> 92a101e633ff [2024-10-04T01:50:33.223Z] Step 6/26 : WORKDIR /device-virtual-go [2024-10-04T01:50:33.223Z] ---> Running in f3d03607c64e [2024-10-04T01:50:33.223Z] Removing intermediate container f3d03607c64e [2024-10-04T01:50:33.223Z] ---> d26b926ddcdb [2024-10-04T01:50:33.223Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T01:50:33.483Z] ---> Running in e257599600d9 [2024-10-04T01:50:33.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T01:50:33.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T01:50:34.319Z] OK: 250 MiB in 58 packages [2024-10-04T01:50:34.578Z] Removing intermediate container e257599600d9 [2024-10-04T01:50:34.578Z] ---> e353f1971a72 [2024-10-04T01:50:34.578Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-04T01:50:34.578Z] ---> 960d05b316f0 [2024-10-04T01:50:34.578Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T01:50:34.578Z] ---> Running in 7c0cad77403c [2024-10-04T01:50:35.515Z] Removing intermediate container 7c0cad77403c [2024-10-04T01:50:35.515Z] ---> 11ea260608a0 [2024-10-04T01:50:35.515Z] Step 10/26 : COPY . . [2024-10-04T01:50:36.451Z] ---> bb4fb34a6909 [2024-10-04T01:50:36.451Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T01:50:36.451Z] ---> Running in 3232cff64f9d [2024-10-04T01:50:36.451Z] Removing intermediate container 3232cff64f9d [2024-10-04T01:50:36.451Z] ---> f1ca41e29c2e [2024-10-04T01:50:36.451Z] Step 12/26 : RUN $MAKE [2024-10-04T01:50:36.451Z] ---> Running in 3554c8751867 [2024-10-04T01:50:36.714Z] 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.41" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-10-04T01:51:15.446Z] Removing intermediate container 3554c8751867 [2024-10-04T01:51:15.446Z] ---> a492fea18dd6 [2024-10-04T01:51:15.446Z] Step 13/26 : FROM alpine:3.20 [2024-10-04T01:51:15.446Z] 3.20: Pulling from library/alpine [2024-10-04T01:51:15.446Z] 43c4264eed91: Already exists [2024-10-04T01:51:15.446Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T01:51:15.446Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T01:51:15.446Z] ---> 91ef0af61f39 [2024-10-04T01:51:15.446Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-10-04T01:51:15.446Z] ---> Running in 14f42ffb1805 [2024-10-04T01:51:15.446Z] Removing intermediate container 14f42ffb1805 [2024-10-04T01:51:15.446Z] ---> fbc0d96adf60 [2024-10-04T01:51:15.446Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-04T01:51:15.446Z] ---> Running in b67b56c66279 [2024-10-04T01:51:15.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T01:51:15.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T01:51:15.446Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T01:51:15.446Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T01:51:15.446Z] OK: 8 MiB in 15 packages [2024-10-04T01:51:15.446Z] Removing intermediate container b67b56c66279 [2024-10-04T01:51:15.446Z] ---> 2a76369e9008 [2024-10-04T01:51:15.446Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-04T01:51:15.446Z] ---> Running in 7cf8887e65d3 [2024-10-04T01:51:15.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T01:51:15.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T01:51:15.446Z] Upgrading critical system libraries and apk-tools: [2024-10-04T01:51:15.446Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T01:51:15.446Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T01:51:15.446Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T01:51:15.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T01:51:15.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T01:51:15.446Z] OK: 8 MiB in 15 packages [2024-10-04T01:51:15.446Z] Removing intermediate container 7cf8887e65d3 [2024-10-04T01:51:15.446Z] ---> 1f5e8e8a9c0a [2024-10-04T01:51:15.446Z] Step 17/26 : WORKDIR / [2024-10-04T01:51:15.446Z] ---> Running in 0499696ca9e3 [2024-10-04T01:51:15.446Z] Removing intermediate container 0499696ca9e3 [2024-10-04T01:51:15.446Z] ---> 7b4e9d946b00 [2024-10-04T01:51:15.446Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-10-04T01:51:15.446Z] ---> 80d3ce99a7b7 [2024-10-04T01:51:15.446Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-10-04T01:51:15.446Z] ---> 3f59618e032c [2024-10-04T01:51:15.446Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-10-04T01:51:15.446Z] ---> c4f8a1efe633 [2024-10-04T01:51:15.446Z] Step 21/26 : EXPOSE 59900 [2024-10-04T01:51:15.446Z] ---> Running in 40633d2c04e4 [2024-10-04T01:51:15.446Z] Removing intermediate container 40633d2c04e4 [2024-10-04T01:51:15.446Z] ---> 34bd080ec99b [2024-10-04T01:51:15.446Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-10-04T01:51:15.446Z] ---> Running in 4594b2e50da7 [2024-10-04T01:51:15.446Z] Removing intermediate container 4594b2e50da7 [2024-10-04T01:51:15.446Z] ---> c61e340704dc [2024-10-04T01:51:15.446Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T01:51:15.446Z] ---> Running in c17d381fc94f [2024-10-04T01:51:15.446Z] Removing intermediate container c17d381fc94f [2024-10-04T01:51:15.446Z] ---> 4b2b4f74b891 [2024-10-04T01:51:15.446Z] Step 24/26 : LABEL arch=amd64 [2024-10-04T01:51:15.446Z] ---> Running in f461af024f24 [2024-10-04T01:51:15.446Z] Removing intermediate container f461af024f24 [2024-10-04T01:51:15.446Z] ---> 82d8ae203506 [2024-10-04T01:51:15.446Z] Step 25/26 : LABEL git_sha=2815aa64e05e66b8427a3fdf48e067a01d3ad781 [2024-10-04T01:51:15.446Z] ---> Running in bea571db6811 [2024-10-04T01:51:15.446Z] Removing intermediate container bea571db6811 [2024-10-04T01:51:15.446Z] ---> 9d71e79607a9 [2024-10-04T01:51:15.446Z] Step 26/26 : LABEL version=0.0.0 [2024-10-04T01:51:15.446Z] ---> Running in 8f3f9be087b6 [2024-10-04T01:51:15.446Z] Removing intermediate container 8f3f9be087b6 [2024-10-04T01:51:15.446Z] ---> 28a06742dbbc [2024-10-04T01:51:15.446Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T01:51:15.446Z] Successfully built 28a06742dbbc [2024-10-04T01:51:15.446Z] 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-04T01:51:16.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T01:51:16.523Z] [2024-10-04T01:51:16.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:51:16.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T01:51:16.934Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T01:51:16.934Z] 5eb5b503b376: Pulling fs layer [2024-10-04T01:51:16.934Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T01:51:16.934Z] ec43610c2a17: Pulling fs layer [2024-10-04T01:51:16.934Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T01:51:16.934Z] 33b1e0a273af: Pulling fs layer [2024-10-04T01:51:16.934Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T01:51:16.934Z] 2f39f015ded8: Pulling fs layer [2024-10-04T01:51:16.934Z] 3a2ae6a8a46f: Waiting [2024-10-04T01:51:16.934Z] 33b1e0a273af: Waiting [2024-10-04T01:51:16.934Z] 5d3b04190fa2: Waiting [2024-10-04T01:51:16.934Z] 2f39f015ded8: Waiting [2024-10-04T01:51:16.934Z] 5c69ac0246d0: Verifying Checksum [2024-10-04T01:51:16.934Z] 5c69ac0246d0: Download complete [2024-10-04T01:51:16.934Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-04T01:51:16.934Z] 3a2ae6a8a46f: Download complete [2024-10-04T01:51:16.934Z] 33b1e0a273af: Verifying Checksum [2024-10-04T01:51:16.934Z] 33b1e0a273af: Download complete [2024-10-04T01:51:16.934Z] ec43610c2a17: Verifying Checksum [2024-10-04T01:51:16.934Z] ec43610c2a17: Download complete [2024-10-04T01:51:16.934Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T01:51:16.934Z] 5d3b04190fa2: Download complete [2024-10-04T01:51:17.193Z] 5eb5b503b376: Verifying Checksum [2024-10-04T01:51:17.193Z] 5eb5b503b376: Download complete [2024-10-04T01:51:18.569Z] 5eb5b503b376: Pull complete [2024-10-04T01:51:18.569Z] 5c69ac0246d0: Pull complete [2024-10-04T01:51:18.827Z] ec43610c2a17: Pull complete [2024-10-04T01:51:19.087Z] 3a2ae6a8a46f: Pull complete [2024-10-04T01:51:19.087Z] 33b1e0a273af: Pull complete [2024-10-04T01:51:19.087Z] 5d3b04190fa2: Pull complete [2024-10-04T01:51:23.272Z] 2f39f015ded8: Pull complete [2024-10-04T01:51:23.272Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T01:51:23.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T01:51:23.272Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:51:23.519Z] prd-ubuntu20.04-docker-8c-8g-15501 does not seem to be running inside a container [2024-10-04T01:51:23.545Z] $ 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-492 -v /w/workspace/foundry_device-virtual-go_PR-492:/w/workspace/foundry_device-virtual-go_PR-492:rw,z -v /w/workspace/foundry_device-virtual-go_PR-492@tmp:/w/workspace/foundry_device-virtual-go_PR-492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T01:51:26.515Z] $ docker top 10f4b162d4d5e8dda34013101a76177ea4db7567a2ea57dde33be7a383ff5e85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:51:27.029Z] ---> job-cost.sh [2024-10-04T01:51:27.029Z] lf-activate-venv: SKIPPING [2024-10-04T01:51:27.029Z] INFO: No Stack... [2024-10-04T01:51:27.290Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T01:51:27.549Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T01:51:27.873Z] + cat /w/workspace/foundry_device-virtual-go_PR-492/archives/cost.csv [2024-10-04T01:51:27.873Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T01:51:27.925Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-492-1-stack-cost] [2024-10-04T01:51:27.931Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-492-1-stack-cost] did not exist. Created. [2024-10-04T01:51:27.939Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-492-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T01:51:28.384Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T01:51:28.449Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T01:51:28.492Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-492-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T01:51:28.588Z] $ docker stop --time=1 10f4b162d4d5e8dda34013101a76177ea4db7567a2ea57dde33be7a383ff5e85 [2024-10-04T01:51:29.750Z] $ docker rm -f --volumes 10f4b162d4d5e8dda34013101a76177ea4db7567a2ea57dde33be7a383ff5e85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T01:53:08.564Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15503 in /w/workspace/foundry_device-virtual-go_PR-492 [Pipeline] { [Pipeline] ws [2024-10-04T01:53:08.638Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-10-04T01:53:08.752Z] The recommended git tool is: git [2024-10-04T01:53:17.891Z] using credential edgex-jenkins-ssh [2024-10-04T01:53:17.921Z] Cloning the remote Git repository [2024-10-04T01:53:17.969Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-10-04T01:53:18.109Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-10-04T01:53:18.300Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-10-04T01:53:18.301Z] > git --version # timeout=10 [2024-10-04T01:53:18.381Z] > git --version # 'git version 2.25.1' [2024-10-04T01:53:18.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T01:53:18.561Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T01:53:22.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-10-04T01:53:22.764Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T01:53:25.035Z] Merging remotes/origin/main commit 04ce07425684dc49eb1d346851a0a7d2d821c622 into PR head commit 2815aa64e05e66b8427a3fdf48e067a01d3ad781 [2024-10-04T01:53:25.401Z] Merge succeeded, producing 2815aa64e05e66b8427a3fdf48e067a01d3ad781 [2024-10-04T01:53:25.402Z] Checking out Revision 2815aa64e05e66b8427a3fdf48e067a01d3ad781 (PR-492) [2024-10-04T01:53:24.255Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-10-04T01:53:24.346Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-10-04T01:53:24.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T01:53:24.384Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T01:53:25.055Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T01:53:25.159Z] > git checkout -f 2815aa64e05e66b8427a3fdf48e067a01d3ad781 # timeout=10 [2024-10-04T01:53:25.260Z] > git remote # timeout=10 [2024-10-04T01:53:25.284Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T01:53:25.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T01:53:25.337Z] > git merge 04ce07425684dc49eb1d346851a0a7d2d821c622 # timeout=10 [2024-10-04T01:53:25.374Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T01:53:25.407Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T01:53:25.434Z] > git checkout -f 2815aa64e05e66b8427a3fdf48e067a01d3ad781 # timeout=10 [2024-10-04T01:53:29.039Z] Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" [2024-10-04T01:53:29.092Z] > git --version # timeout=10 [2024-10-04T01:53:29.102Z] > git --version # 'git version 2.25.1' [2024-10-04T01:53:29.118Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T01:53:30.929Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T01:53:30.929Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T01:53:30.929Z] Dload Upload Total Spent Left Speed [2024-10-04T01:53:30.929Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2024-10-04T01:53:31.274Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T01:53:31.614Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2024-10-04T01:53:31.615Z] sudo tee /etc/docker/daemon.new [2024-10-04T01:53:31.615Z] { [2024-10-04T01:53:31.615Z] "registry-mirrors": [ [2024-10-04T01:53:31.615Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T01:53:31.615Z] ], [2024-10-04T01:53:31.615Z] "bip": "10.250.0.254/24", [2024-10-04T01:53:31.615Z] "hosts": [ [2024-10-04T01:53:31.615Z] "tcp://0.0.0.0:5555", [2024-10-04T01:53:31.615Z] "unix:///var/run/docker.sock" [2024-10-04T01:53:31.615Z] ], [2024-10-04T01:53:31.615Z] "mtu": 1458, [2024-10-04T01:53:31.615Z] "selinux-enabled": true, [2024-10-04T01:53:31.615Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T01:53:31.615Z] } [Pipeline] sh [2024-10-04T01:53:31.960Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T01:53:32.425Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T01:53:50.795Z] provisioning config files... [2024-10-04T01:53:50.821Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2894468462758534757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T01:53:51.302Z] ---> ****-login.sh [2024-10-04T01:53:51.302Z] nexus3.edgexfoundry.org:10001 [2024-10-04T01:53:51.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:53:52.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:53:52.157Z] Configure a credential helper to remove this warning. See [2024-10-04T01:53:52.157Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:53:52.157Z] [2024-10-04T01:53:52.157Z] Login Succeeded [2024-10-04T01:53:52.157Z] nexus3.edgexfoundry.org:10002 [2024-10-04T01:53:52.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:53:52.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:53:52.427Z] Configure a credential helper to remove this warning. See [2024-10-04T01:53:52.427Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:53:52.427Z] [2024-10-04T01:53:52.427Z] Login Succeeded [2024-10-04T01:53:52.427Z] nexus3.edgexfoundry.org:10003 [2024-10-04T01:53:52.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:53:52.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:53:52.697Z] Configure a credential helper to remove this warning. See [2024-10-04T01:53:52.697Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:53:52.697Z] [2024-10-04T01:53:52.697Z] Login Succeeded [2024-10-04T01:53:52.697Z] nexus3.edgexfoundry.org:10004 [2024-10-04T01:53:52.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:53:52.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:53:52.975Z] Configure a credential helper to remove this warning. See [2024-10-04T01:53:52.975Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:53:52.975Z] [2024-10-04T01:53:52.975Z] Login Succeeded [2024-10-04T01:53:52.975Z] ****.io [2024-10-04T01:53:53.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T01:53:53.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T01:53:53.517Z] Configure a credential helper to remove this warning. See [2024-10-04T01:53:53.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T01:53:53.517Z] [2024-10-04T01:53:53.517Z] Login Succeeded [2024-10-04T01:53:53.517Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T01:53:53.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T01:53:54.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T01:53:54.064Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T01:53:54.117Z] ========================================================= [2024-10-04T01:53:54.117Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T01:53:54.117Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:53:54.763Z] + 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-04T01:53:55.353Z] Sending build context to Docker daemon 19.02MB [2024-10-04T01:53:55.353Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T01:53:55.353Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T01:53:55.353Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T01:53:55.353Z] cf04c63912e1: Pulling fs layer [2024-10-04T01:53:55.353Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T01:53:55.353Z] a37a00ec5f00: Pulling fs layer [2024-10-04T01:53:55.354Z] 50b3750afda1: Pulling fs layer [2024-10-04T01:53:55.354Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T01:53:55.354Z] 80978eb59214: Pulling fs layer [2024-10-04T01:53:55.354Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T01:53:55.354Z] c5a475d317c9: Pulling fs layer [2024-10-04T01:53:55.354Z] 50b3750afda1: Waiting [2024-10-04T01:53:55.354Z] 4f4fb700ef54: Waiting [2024-10-04T01:53:55.354Z] 80978eb59214: Waiting [2024-10-04T01:53:55.354Z] c9f46d7d2bd2: Waiting [2024-10-04T01:53:55.354Z] c5a475d317c9: Waiting [2024-10-04T01:53:55.354Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T01:53:55.354Z] 55b35a11ae5e: Download complete [2024-10-04T01:53:55.354Z] 50b3750afda1: Verifying Checksum [2024-10-04T01:53:55.354Z] 50b3750afda1: Download complete [2024-10-04T01:53:55.629Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T01:53:55.629Z] 4f4fb700ef54: Download complete [2024-10-04T01:53:55.629Z] 80978eb59214: Download complete [2024-10-04T01:53:55.629Z] cf04c63912e1: Verifying Checksum [2024-10-04T01:53:55.629Z] cf04c63912e1: Download complete [2024-10-04T01:53:56.221Z] c5a475d317c9: Verifying Checksum [2024-10-04T01:53:56.221Z] c5a475d317c9: Download complete [2024-10-04T01:53:56.489Z] cf04c63912e1: Pull complete [2024-10-04T01:53:57.454Z] 55b35a11ae5e: Pull complete [2024-10-04T01:53:57.454Z] a37a00ec5f00: Verifying Checksum [2024-10-04T01:53:57.454Z] a37a00ec5f00: Download complete [2024-10-04T01:53:58.415Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T01:53:58.415Z] c9f46d7d2bd2: Download complete [2024-10-04T01:54:10.728Z] a37a00ec5f00: Pull complete [2024-10-04T01:54:10.728Z] 50b3750afda1: Pull complete [2024-10-04T01:54:10.728Z] 4f4fb700ef54: Pull complete [2024-10-04T01:54:10.728Z] 80978eb59214: Pull complete [2024-10-04T01:54:18.953Z] c9f46d7d2bd2: Pull complete [2024-10-04T01:54:20.367Z] c5a475d317c9: Pull complete [2024-10-04T01:54:20.367Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T01:54:20.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T01:54:20.367Z] ---> be29e6b0f0d4 [2024-10-04T01:54:20.367Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T01:54:21.766Z] ---> Running in 9bcf464b7dd1 [2024-10-04T01:54:22.349Z] Removing intermediate container 9bcf464b7dd1 [2024-10-04T01:54:22.349Z] ---> 7702245b54f3 [2024-10-04T01:54:22.349Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T01:54:22.349Z] ---> Running in d3f4eb70e9d6 [2024-10-04T01:54:22.616Z] Removing intermediate container d3f4eb70e9d6 [2024-10-04T01:54:22.616Z] ---> 9425a4332381 [2024-10-04T01:54:22.616Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T01:54:22.616Z] ---> Running in 8becef8c3513 [2024-10-04T01:54:22.882Z] Removing intermediate container 8becef8c3513 [2024-10-04T01:54:22.882Z] ---> 17c316545050 [2024-10-04T01:54:22.882Z] Step 6/12 : WORKDIR /device-virtual-go [2024-10-04T01:54:22.882Z] ---> Running in 1e5bd7127cf5 [2024-10-04T01:54:23.151Z] Removing intermediate container 1e5bd7127cf5 [2024-10-04T01:54:23.151Z] ---> 599f06b4d3ba [2024-10-04T01:54:23.151Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T01:54:23.418Z] ---> Running in d129efeefcfc [2024-10-04T01:54:24.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T01:54:24.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T01:54:26.400Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T01:54:26.400Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T01:54:26.400Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T01:54:26.400Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T01:54:26.400Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T01:54:26.400Z] OK: 242 MiB in 58 packages [2024-10-04T01:54:27.360Z] Removing intermediate container d129efeefcfc [2024-10-04T01:54:27.360Z] ---> 228d37317b83 [2024-10-04T01:54:27.360Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-04T01:54:27.944Z] ---> db6739b3895f [2024-10-04T01:54:27.944Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T01:54:27.944Z] ---> Running in 3e2b7b0ed9aa [2024-10-04T01:56:19.650Z] Removing intermediate container 3e2b7b0ed9aa [2024-10-04T01:56:19.650Z] ---> 6e239295c72a [2024-10-04T01:56:19.650Z] Step 10/12 : COPY . . [2024-10-04T01:56:21.079Z] ---> eeb026d8d92e [2024-10-04T01:56:21.079Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T01:56:21.079Z] ---> Running in 7abdda914b2f [2024-10-04T01:56:21.665Z] Removing intermediate container 7abdda914b2f [2024-10-04T01:56:21.665Z] ---> b33653a4c702 [2024-10-04T01:56:21.665Z] Step 12/12 : RUN $MAKE [2024-10-04T01:56:21.665Z] ---> Running in 789ff055505e [2024-10-04T01:56:22.635Z] noop [2024-10-04T01:56:23.225Z] Removing intermediate container 789ff055505e [2024-10-04T01:56:23.225Z] ---> 131c3bd01f29 [2024-10-04T01:56:23.494Z] Successfully built 131c3bd01f29 [2024-10-04T01:56:23.494Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:56:24.018Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T01:56:24.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:56:24.321Z] prd-ubuntu20.04-docker-arm64-4c-16g-15503 does not seem to be running inside a container [2024-10-04T01:56:24.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T01:56:25.569Z] $ docker top 9a160ba1d06a895e0fca9150eb398492823c7df20fb33f51419fafabd2bc829a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T01:56:26.487Z] + go version [2024-10-04T01:56:26.487Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T01:56:26.527Z] $ docker stop --time=1 9a160ba1d06a895e0fca9150eb398492823c7df20fb33f51419fafabd2bc829a [2024-10-04T01:56:28.110Z] $ docker rm -f --volumes 9a160ba1d06a895e0fca9150eb398492823c7df20fb33f51419fafabd2bc829a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T01:56:29.068Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T01:56:29.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T01:56:29.334Z] prd-ubuntu20.04-docker-arm64-4c-16g-15503 does not seem to be running inside a container [2024-10-04T01:56:29.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T01:56:30.549Z] $ docker top 1aa38ca89f9aa6f32e476ceb28623bb1e84e6f3129f1f3c43c2088c0d12fc1d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T01:56:31.439Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T01:56:32.159Z] + make test [2024-10-04T01:56:32.159Z] go test ./... -coverprofile=coverage.out [2024-10-04T01:56:38.908Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-10-04T02:00:31.426Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-10-04T02:00:31.426Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.068s coverage: 58.3% of statements [2024-10-04T02:00:31.426Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T02:00:31.426Z] go vet ./... [2024-10-04T02:01:28.098Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T02:01:28.098Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T02:01:28.098Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T02:01:28.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T02:01:28.185Z] $ docker stop --time=1 1aa38ca89f9aa6f32e476ceb28623bb1e84e6f3129f1f3c43c2088c0d12fc1d7 [2024-10-04T02:01:30.312Z] $ docker rm -f --volumes 1aa38ca89f9aa6f32e476ceb28623bb1e84e6f3129f1f3c43c2088c0d12fc1d7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T02:01:38.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T02:01:38.918Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T02:01:39.660Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T02:01:47.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T02:01:47.773Z] + ls -al . [2024-10-04T02:01:47.773Z] total 272 [2024-10-04T02:01:47.773Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 01:56 . [2024-10-04T02:01:47.773Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 01:53 .. [2024-10-04T02:01:47.773Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 01:53 .git [2024-10-04T02:01:47.773Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 01:53 .github [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 4 01:53 .gitignore [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 01:53 .golangci.yml [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 18321 Oct 4 01:53 Attribution.txt [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 15941 Oct 4 01:53 CHANGELOG.md [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 1755 Oct 4 01:53 Dockerfile [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 01:53 GOVERNANCE.md [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 4 01:53 Jenkinsfile [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 01:53 LICENSE [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 1953 Oct 4 01:53 Makefile [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 4 01:53 OWNERS.md [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 4 01:53 README.md [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 01:48 VERSION [2024-10-04T02:01:47.773Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 01:53 bin [2024-10-04T02:01:47.773Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 01:53 cmd [2024-10-04T02:01:47.773Z] -rw-r--r-- 1 jenkins jenkins 43316 Oct 4 02:00 coverage.out [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 6895 Oct 4 01:53 go.mod [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 01:53 go.sum [2024-10-04T02:01:47.773Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 01:53 internal [2024-10-04T02:01:47.773Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 4 01:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:01:48.258Z] + 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=2815aa64e05e66b8427a3fdf48e067a01d3ad781 --label arch=arm64 --label version=0.0.0 . [2024-10-04T02:01:48.850Z] Sending build context to Docker daemon 19.06MB [2024-10-04T02:01:48.850Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T02:01:48.850Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-04T02:01:48.850Z] ---> 131c3bd01f29 [2024-10-04T02:01:48.850Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T02:01:49.122Z] ---> Running in c91dbfeceeff [2024-10-04T02:01:49.403Z] Removing intermediate container c91dbfeceeff [2024-10-04T02:01:49.403Z] ---> 6bf15c1010fc [2024-10-04T02:01:49.403Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T02:01:49.677Z] ---> Running in 4537525603e1 [2024-10-04T02:01:49.963Z] Removing intermediate container 4537525603e1 [2024-10-04T02:01:49.963Z] ---> bd87c13ed561 [2024-10-04T02:01:49.963Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-04T02:01:50.235Z] ---> Running in d4ad73b8b3f7 [2024-10-04T02:01:50.508Z] Removing intermediate container d4ad73b8b3f7 [2024-10-04T02:01:50.508Z] ---> dc21b4d56f67 [2024-10-04T02:01:50.508Z] Step 6/26 : WORKDIR /device-virtual-go [2024-10-04T02:01:50.508Z] ---> Running in 9b614939f296 [2024-10-04T02:01:51.101Z] Removing intermediate container 9b614939f296 [2024-10-04T02:01:51.101Z] ---> 653e6b1eb9c6 [2024-10-04T02:01:51.101Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T02:01:51.101Z] ---> Running in 463d53d14e02 [2024-10-04T02:01:52.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T02:01:52.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T02:01:55.434Z] OK: 242 MiB in 58 packages [2024-10-04T02:01:56.042Z] Removing intermediate container 463d53d14e02 [2024-10-04T02:01:56.042Z] ---> 3528a8134f68 [2024-10-04T02:01:56.042Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-04T02:01:57.473Z] ---> 35f4dce90935 [2024-10-04T02:01:57.473Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T02:01:57.473Z] ---> Running in 5fa737887354 [2024-10-04T02:02:00.859Z] Removing intermediate container 5fa737887354 [2024-10-04T02:02:00.859Z] ---> b635da121b6f [2024-10-04T02:02:00.859Z] Step 10/26 : COPY . . [2024-10-04T02:02:02.284Z] ---> 9829a04b258a [2024-10-04T02:02:02.284Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T02:02:02.553Z] ---> Running in 930fcf396c13 [2024-10-04T02:02:02.827Z] Removing intermediate container 930fcf396c13 [2024-10-04T02:02:02.827Z] ---> 3e853fd11c38 [2024-10-04T02:02:02.827Z] Step 12/26 : RUN $MAKE [2024-10-04T02:02:03.106Z] ---> Running in 816852c623ac [2024-10-04T02:02:04.074Z] 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.41" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-10-04T02:06:26.979Z] Removing intermediate container 816852c623ac [2024-10-04T02:06:26.979Z] ---> c9caadbd7eac [2024-10-04T02:06:26.979Z] Step 13/26 : FROM alpine:3.20 [2024-10-04T02:06:27.255Z] 3.20: Pulling from library/alpine [2024-10-04T02:06:27.526Z] cf04c63912e1: Already exists [2024-10-04T02:06:27.798Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T02:06:27.798Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T02:06:27.798Z] ---> c157a85ed455 [2024-10-04T02:06:27.798Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-10-04T02:06:27.798Z] ---> Running in abf4733cdf4c [2024-10-04T02:06:28.078Z] Removing intermediate container abf4733cdf4c [2024-10-04T02:06:28.078Z] ---> 85354cb3edeb [2024-10-04T02:06:28.078Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-04T02:06:28.348Z] ---> Running in e9a66ee333ac [2024-10-04T02:06:29.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T02:06:29.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T02:06:31.854Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T02:06:31.854Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T02:06:31.854Z] OK: 9 MiB in 15 packages [2024-10-04T02:06:32.823Z] Removing intermediate container e9a66ee333ac [2024-10-04T02:06:32.823Z] ---> b2c0491ddf4a [2024-10-04T02:06:32.823Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-04T02:06:32.823Z] ---> Running in 64ea3b3456b7 [2024-10-04T02:06:34.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T02:06:34.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T02:06:36.209Z] Upgrading critical system libraries and apk-tools: [2024-10-04T02:06:36.209Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T02:06:36.209Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T02:06:36.482Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T02:06:36.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T02:06:37.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T02:06:39.034Z] OK: 9 MiB in 15 packages [2024-10-04T02:06:40.009Z] Removing intermediate container 64ea3b3456b7 [2024-10-04T02:06:40.009Z] ---> 50aa2c05ee3e [2024-10-04T02:06:40.009Z] Step 17/26 : WORKDIR / [2024-10-04T02:06:40.009Z] ---> Running in 81fed1aeae18 [2024-10-04T02:06:40.604Z] Removing intermediate container 81fed1aeae18 [2024-10-04T02:06:40.604Z] ---> e3bdb4c41cc3 [2024-10-04T02:06:40.604Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-10-04T02:06:41.261Z] ---> 7f117b653fb5 [2024-10-04T02:06:41.261Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-10-04T02:06:41.876Z] ---> 7551037a998b [2024-10-04T02:06:41.876Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-10-04T02:06:43.883Z] ---> ff65f40be21b [2024-10-04T02:06:43.883Z] Step 21/26 : EXPOSE 59900 [2024-10-04T02:06:44.153Z] ---> Running in c6e2d0fce171 [2024-10-04T02:06:44.431Z] Removing intermediate container c6e2d0fce171 [2024-10-04T02:06:44.431Z] ---> 14109d2ee8e8 [2024-10-04T02:06:44.431Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-10-04T02:06:44.431Z] ---> Running in ecff9400fd8b [2024-10-04T02:06:45.025Z] Removing intermediate container ecff9400fd8b [2024-10-04T02:06:45.025Z] ---> e5ef7f9dc12c [2024-10-04T02:06:45.025Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T02:06:45.025Z] ---> Running in 1eb369d9e4f5 [2024-10-04T02:06:45.295Z] Removing intermediate container 1eb369d9e4f5 [2024-10-04T02:06:45.295Z] ---> d5e05285e58d [2024-10-04T02:06:45.295Z] Step 24/26 : LABEL arch=arm64 [2024-10-04T02:06:45.565Z] ---> Running in d3214a5b6d41 [2024-10-04T02:06:45.838Z] Removing intermediate container d3214a5b6d41 [2024-10-04T02:06:45.838Z] ---> 1295c7390045 [2024-10-04T02:06:45.838Z] Step 25/26 : LABEL git_sha=2815aa64e05e66b8427a3fdf48e067a01d3ad781 [2024-10-04T02:06:45.838Z] ---> Running in b75e514b5d94 [2024-10-04T02:06:46.424Z] Removing intermediate container b75e514b5d94 [2024-10-04T02:06:46.424Z] ---> 2ff085a4283e [2024-10-04T02:06:46.424Z] Step 26/26 : LABEL version=0.0.0 [2024-10-04T02:06:46.424Z] ---> Running in 5a36a7dfc13f [2024-10-04T02:06:46.694Z] Removing intermediate container 5a36a7dfc13f [2024-10-04T02:06:46.694Z] ---> 5668697ce836 [2024-10-04T02:06:46.694Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T02:06:46.694Z] Successfully built 5668697ce836 [2024-10-04T02:06:46.694Z] 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-04T02:06:48.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T02:06:48.052Z] [2024-10-04T02:06:48.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:06:48.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T02:06:48.764Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T02:06:48.764Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T02:06:48.764Z] 04944245beec: Pulling fs layer [2024-10-04T02:06:48.764Z] 699f458cf7ca: Pulling fs layer [2024-10-04T02:06:48.764Z] 765212b225bb: Pulling fs layer [2024-10-04T02:06:48.764Z] f23df028b6ca: Pulling fs layer [2024-10-04T02:06:48.764Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T02:06:48.764Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T02:06:48.764Z] f23df028b6ca: Waiting [2024-10-04T02:06:48.764Z] d65c8cfc05b1: Waiting [2024-10-04T02:06:48.764Z] 2437ff75d9bd: Waiting [2024-10-04T02:06:48.764Z] 765212b225bb: Waiting [2024-10-04T02:06:48.764Z] 04944245beec: Verifying Checksum [2024-10-04T02:06:48.764Z] 04944245beec: Download complete [2024-10-04T02:06:48.764Z] 765212b225bb: Verifying Checksum [2024-10-04T02:06:48.764Z] 765212b225bb: Download complete [2024-10-04T02:06:48.764Z] f23df028b6ca: Verifying Checksum [2024-10-04T02:06:48.764Z] f23df028b6ca: Download complete [2024-10-04T02:06:48.764Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T02:06:48.764Z] d65c8cfc05b1: Download complete [2024-10-04T02:06:49.034Z] 699f458cf7ca: Verifying Checksum [2024-10-04T02:06:49.034Z] 699f458cf7ca: Download complete [2024-10-04T02:06:49.620Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T02:06:49.620Z] 8998bd30e6a1: Download complete [2024-10-04T02:06:52.419Z] 2437ff75d9bd: Download complete [2024-10-04T02:06:54.373Z] 8998bd30e6a1: Pull complete [2024-10-04T02:06:55.343Z] 04944245beec: Pull complete [2024-10-04T02:06:57.304Z] 699f458cf7ca: Pull complete [2024-10-04T02:06:57.304Z] 765212b225bb: Pull complete [2024-10-04T02:06:58.269Z] f23df028b6ca: Pull complete [2024-10-04T02:06:58.542Z] d65c8cfc05b1: Pull complete [2024-10-04T02:07:16.775Z] 2437ff75d9bd: Pull complete [2024-10-04T02:07:16.775Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T02:07:16.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T02:07:16.775Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T02:07:17.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-15503 does not seem to be running inside a container [2024-10-04T02:07:17.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T02:07:20.522Z] $ docker top c538e48c3170009f95f5623794d201187f574fcc58a2d14d761b70e6fc066efa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:07:21.535Z] ---> job-cost.sh [2024-10-04T02:07:21.535Z] lf-activate-venv: SKIPPING [2024-10-04T02:07:21.535Z] INFO: No Stack... [2024-10-04T02:07:22.128Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T02:07:23.095Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T02:07:23.795Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-10-04T02:07:23.795Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T02:07:23.868Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-492-1-stack-cost] [2024-10-04T02:07:23.874Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-492-1-stack-cost] did not exist. Created. [2024-10-04T02:07:23.880Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-492-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T02:07:24.678Z] /w/workspace/device-virtual-go/1@tmp/durable-981a4a67/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T02:07:25.377Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T02:07:25.419Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T02:07:25.479Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T02:07:25.500Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-492-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T02:07:25.611Z] $ docker stop --time=1 c538e48c3170009f95f5623794d201187f574fcc58a2d14d761b70e6fc066efa [2024-10-04T02:07:27.222Z] $ docker rm -f --volumes c538e48c3170009f95f5623794d201187f574fcc58a2d14d761b70e6fc066efa [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-04T02:07:28.410Z] provisioning config files... [2024-10-04T02:07:28.416Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-492@tmp/config1575837613599339901tmp [Pipeline] { [Pipeline] sh [2024-10-04T02:07:28.790Z] + set +x [2024-10-04T02:07:28.791Z] + curl -s https://codecov.io/bash [2024-10-04T02:07:28.791Z] + bash -s -- [2024-10-04T02:07:28.791Z] [2024-10-04T02:07:28.791Z] _____ _ [2024-10-04T02:07:28.791Z] / ____| | | [2024-10-04T02:07:28.791Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T02:07:28.791Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T02:07:28.791Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T02:07:28.791Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T02:07:28.791Z] Bash-1.0.6 [2024-10-04T02:07:28.791Z] [2024-10-04T02:07:28.791Z] [2024-10-04T02:07:28.791Z] ==> git version 2.25.1 found [2024-10-04T02:07:28.791Z] ==> 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-04T02:07:28.791Z] Release-Date: 2020-01-08 [2024-10-04T02:07:28.791Z] 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-04T02:07:28.791Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T02:07:28.791Z] ==> Jenkins CI detected. [2024-10-04T02:07:28.791Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-492 [2024-10-04T02:07:28.791Z] project root: . [2024-10-04T02:07:28.791Z] --> token set from env [2024-10-04T02:07:28.791Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T02:07:28.791Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T02:07:28.791Z] ==> Python coveragepy not found [2024-10-04T02:07:28.791Z] ==> Searching for coverage reports in: [2024-10-04T02:07:28.791Z] + . [2024-10-04T02:07:28.791Z] -> Found 1 reports [2024-10-04T02:07:28.791Z] ==> Detecting git/mercurial file structure [2024-10-04T02:07:28.791Z] ==> Reading reports [2024-10-04T02:07:28.791Z] + ./coverage.out bytes=43316 [2024-10-04T02:07:28.791Z] ==> Appending adjustments [2024-10-04T02:07:28.791Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T02:07:29.050Z] + Found adjustments [2024-10-04T02:07:29.051Z] ==> Gzipping contents [2024-10-04T02:07:29.051Z] 8.0K /tmp/codecov.pS0A12.gz [2024-10-04T02:07:29.051Z] ==> Uploading reports [2024-10-04T02:07:29.051Z] url: https://codecov.io [2024-10-04T02:07:29.051Z] query: branch=PR-492&commit=2815aa64e05e66b8427a3fdf48e067a01d3ad781&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=492&job=&cmd_args= [2024-10-04T02:07:29.051Z] -> Pinging Codecov [2024-10-04T02:07:29.051Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-492&commit=2815aa64e05e66b8427a3fdf48e067a01d3ad781&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=492&job=&cmd_args= [2024-10-04T02:07:29.314Z] -> Uploading to [2024-10-04T02:07:29.314Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/2815aa64e05e66b8427a3fdf48e067a01d3ad781/6fa7245f-5de7-4167-9ec0-9c532c97ab8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T020729Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=9785b381ddbc14539b8634ff4d827f059df66e7ad974de0353cbc47a88077c39 [2024-10-04T02:07:29.314Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T02:07:29.314Z] Dload Upload Total Spent Left Speed [2024-10-04T02:07:29.314Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 21087 --:--:-- --:--:-- --:--:-- 21087 [2024-10-04T02:07:29.314Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2815aa64e05e66b8427a3fdf48e067a01d3ad781 [Pipeline] } [2024-10-04T02:07:29.348Z] 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-04T02:07:31.879Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-492/archives ] [2024-10-04T02:07:31.879Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-492/archives [2024-10-04T02:07:31.879Z] total 16 [2024-10-04T02:07:31.879Z] drwxr-xr-x 3 root root 4096 Oct 4 01:51 . [2024-10-04T02:07:31.880Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 01:51 .. [2024-10-04T02:07:31.880Z] drwxr-xr-x 2 root root 4096 Oct 4 01:51 cost [2024-10-04T02:07:31.880Z] -rw-r--r-- 1 root root 89 Oct 4 01:51 cost.csv [2024-10-04T02:07:31.880Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-492/archives [2024-10-04T02:07:31.880Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-492/archives [2024-10-04T02:07:31.880Z] total 16 [2024-10-04T02:07:31.880Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 01:51 . [2024-10-04T02:07:31.880Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 01:51 .. [2024-10-04T02:07:31.880Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 01:51 cost [2024-10-04T02:07:31.880Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 4 01:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:07:32.223Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:07:33.216Z] ---> package-listing.sh [2024-10-04T02:07:33.216Z] ++ facter osfamily [2024-10-04T02:07:33.216Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T02:07:33.475Z] + OS_FAMILY=debian [2024-10-04T02:07:33.475Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-492 [2024-10-04T02:07:33.475Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T02:07:33.475Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T02:07:33.475Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T02:07:33.475Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T02:07:33.475Z] + '[' /w/workspace/foundry_device-virtual-go_PR-492 ']' [2024-10-04T02:07:33.475Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T02:07:33.475Z] + case "${OS_FAMILY}" in [2024-10-04T02:07:33.475Z] + dpkg -l [2024-10-04T02:07:33.475Z] + grep '^ii' [2024-10-04T02:07:33.475Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T02:07:33.475Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T02:07:33.475Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T02:07:33.475Z] + '[' /w/workspace/foundry_device-virtual-go_PR-492 ']' [2024-10-04T02:07:33.475Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-492/archives/ [2024-10-04T02:07:33.475Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-492/archives/ [Pipeline] echo [2024-10-04T02:07:33.523Z] 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-492/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T02:07:33.820Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:07:34.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T02:07:34.475Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T02:07:34.659Z] prd-ubuntu20.04-docker-8c-8g-15501 does not seem to be running inside a container [2024-10-04T02:07:34.687Z] $ 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-492/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-492 -v /w/workspace/foundry_device-virtual-go_PR-492:/w/workspace/foundry_device-virtual-go_PR-492:rw,z -v /w/workspace/foundry_device-virtual-go_PR-492@tmp:/w/workspace/foundry_device-virtual-go_PR-492@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-04T02:07:34.863Z] $ docker top eb3c15210048f7486d17be5d99cd989d4c812941f8c50d23e04ec053fb78d94f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T02:07:35.279Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T02:07:35.598Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T02:07:35.915Z] + ls /var/log/sa-host [2024-10-04T02:07:35.915Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T02:07:36.178Z] provisioning config files... [2024-10-04T02:07:36.189Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-492@tmp/config7536433382133369414tmp [Pipeline] { [Pipeline] echo [2024-10-04T02:07:36.261Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:07:36.587Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T02:07:36.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:07:37.060Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T02:07:37.100Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:07:37.428Z] ---> sudo-logs.sh [2024-10-04T02:07:37.428Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T02:07:37.534Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:07:37.858Z] ---> job-cost.sh [2024-10-04T02:07:37.858Z] lf-activate-venv: SKIPPING [2024-10-04T02:07:37.858Z] DEBUG: total: 0.2199999988079071 [2024-10-04T02:07:37.858Z] INFO: Retrieving Stack Cost... [2024-10-04T02:07:38.119Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T02:07:38.379Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T02:07:38.418Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:07:38.745Z] ---> logs-deploy.sh [2024-10-04T02:07:38.745Z] lf-activate-venv: SKIPPING [2024-10-04T02:07:38.745Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-492/1 [2024-10-04T02:07:38.745Z] INFO: archiving workspace using pattern(s): [2024-10-04T02:07:39.683Z] Archives upload complete. [2024-10-04T02:07:39.683Z] INFO: archiving logs to Nexus