Pull request #496 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91+60f2b90224e592bb905f9b29e85d80ab0be60eaf (33cfcbf7df3ee770029a8d6a1faa93d7222328cb) 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-ssh11188757094429392165.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-ssh6667911422353129719.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-496/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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12897272483946122116.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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11598256013027714171.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-ssh8240449946068608632.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-496/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-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh357261581884619483.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-22766 in /w/workspace/foundry_device-virtual-go_PR-496 [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-496 # 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/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 60f2b90224e592bb905f9b29e85d80ab0be60eaf into PR head commit df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 Merge succeeded, producing df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 Checking out Revision df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 (PR-496) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 60f2b90224e592bb905f9b29e85d80ab0be60eaf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-14T11:37:37.284Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-14T11:37:37.504Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-14T11:37:37.622Z] ========================================================= [2024-10-14T11:37:37.623Z] EdgeX Global Pipelines Version Info [2024-10-14T11:37:37.623Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:37:38.404Z] ------------------- [2024-10-14T11:37:38.405Z] stable info: [2024-10-14T11:37:38.405Z] ------------------- [2024-10-14T11:37:38.405Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-14T11:37:38.405Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T11:37:38.405Z] Message: update stable to v1.0.265 [2024-10-14T11:37:38.977Z] ------------------- [2024-10-14T11:37:38.977Z] experimental info: [2024-10-14T11:37:38.977Z] ------------------- [2024-10-14T11:37:38.977Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-14T11:37:38.977Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-14T11:37:38.977Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-14T11:37:39.187Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-10-14T11:37:39.247Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-10-14T11:37:39.307Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-14T11:37:39.367Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-14T11:37:39.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-14T11:37:39.478Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-14T11:37:39.533Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-14T11:37:39.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-14T11:37:39.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-14T11:37:39.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-14T11:37:39.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-14T11:37:39.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-10-14T11:37:39.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-14T11:37:39.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-14T11:37:40.017Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T11:37:40.075Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T11:37:40.134Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T11:37:40.189Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T11:37:40.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-14T11:37:40.310Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-14T11:37:40.371Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-14T11:37:40.434Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-14T11:37:40.496Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-14T11:37:40.559Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-14T11:37:40.621Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-14T11:37:40.680Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-14T11:37:40.737Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-14T11:37:40.797Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo [2024-10-14T11:37:40.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo [2024-10-14T11:37:40.917Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo [2024-10-14T11:37:40.970Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 [Pipeline] echo [2024-10-14T11:37:41.023Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df7b7a8 [Pipeline] echo [2024-10-14T11:37:41.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T11:37:41.224Z] provisioning config files... [2024-10-14T11:37:41.236Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-496@tmp/config8986840346888595559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:37:41.619Z] ---> ****-login.sh [2024-10-14T11:37:41.619Z] nexus3.edgexfoundry.org:10001 [2024-10-14T11:37:41.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:37:41.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:37:41.879Z] Configure a credential helper to remove this warning. See [2024-10-14T11:37:41.879Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:37:41.879Z] [2024-10-14T11:37:41.879Z] Login Succeeded [2024-10-14T11:37:41.879Z] nexus3.edgexfoundry.org:10002 [2024-10-14T11:37:41.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:37:41.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:37:41.880Z] Configure a credential helper to remove this warning. See [2024-10-14T11:37:41.880Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:37:41.880Z] [2024-10-14T11:37:41.880Z] Login Succeeded [2024-10-14T11:37:41.880Z] nexus3.edgexfoundry.org:10003 [2024-10-14T11:37:42.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:37:42.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:37:42.140Z] Configure a credential helper to remove this warning. See [2024-10-14T11:37:42.140Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:37:42.140Z] [2024-10-14T11:37:42.140Z] Login Succeeded [2024-10-14T11:37:42.140Z] nexus3.edgexfoundry.org:10004 [2024-10-14T11:37:42.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:37:42.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:37:42.140Z] Configure a credential helper to remove this warning. See [2024-10-14T11:37:42.140Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:37:42.140Z] [2024-10-14T11:37:42.140Z] Login Succeeded [2024-10-14T11:37:42.140Z] ****.io [2024-10-14T11:37:42.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:37:42.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:37:42.400Z] Configure a credential helper to remove this warning. See [2024-10-14T11:37:42.400Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:37:42.400Z] [2024-10-14T11:37:42.400Z] Login Succeeded [2024-10-14T11:37:42.400Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T11:37:42.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-14T11:37:43.136Z] + git rev-list -1 --merges df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91~1..df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 [Pipeline] echo [2024-10-14T11:37:43.182Z] -----------> git rev-list -1 --merges df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91~1..df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 [false] [Pipeline] sh [2024-10-14T11:37:43.506Z] + git log --format=format:%s -1 df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 [Pipeline] echo [2024-10-14T11:37:43.550Z] ========================================================= [2024-10-14T11:37:43.550Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-14T11:37:43.550Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T11:37:43.996Z] + git log --format=format:%s -1 df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 [Pipeline] echo [2024-10-14T11:37:44.091Z] [semverPrep] GIT_COMMIT: df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-14T11:37:44.134Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-14T11:37:44.550Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-14T11:37:44.550Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-14T11:37:44.550Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-14T11:37:44.550Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-14T11:37:44.550Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-14T11:37:44.550Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-14T11:37:44.550Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:37:45.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T11:37:45.068Z] [2024-10-14T11:37:45.068Z] 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-14T11:37:45.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T11:37:45.726Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-14T11:37:45.726Z] b85a868b505f: Pulling fs layer [2024-10-14T11:37:45.726Z] e2be974225ed: Pulling fs layer [2024-10-14T11:37:45.726Z] 339a4e72a1f5: Pulling fs layer [2024-10-14T11:37:45.726Z] 988bab9f4d93: Pulling fs layer [2024-10-14T11:37:45.726Z] 1469e6f7b9e6: Pulling fs layer [2024-10-14T11:37:45.726Z] eaf3925da568: Pulling fs layer [2024-10-14T11:37:45.726Z] bab4dde63d76: Pulling fs layer [2024-10-14T11:37:45.726Z] bde34c3a00c8: Pulling fs layer [2024-10-14T11:37:45.726Z] b352a97aabf1: Pulling fs layer [2024-10-14T11:37:45.726Z] 4872d77fe225: Pulling fs layer [2024-10-14T11:37:45.726Z] 5851b861e8e6: Pulling fs layer [2024-10-14T11:37:45.726Z] bab4dde63d76: Waiting [2024-10-14T11:37:45.726Z] bde34c3a00c8: Waiting [2024-10-14T11:37:45.726Z] 988bab9f4d93: Waiting [2024-10-14T11:37:45.726Z] b352a97aabf1: Waiting [2024-10-14T11:37:45.726Z] 4872d77fe225: Waiting [2024-10-14T11:37:45.726Z] 5851b861e8e6: Waiting [2024-10-14T11:37:45.726Z] 1469e6f7b9e6: Waiting [2024-10-14T11:37:45.726Z] eaf3925da568: Waiting [2024-10-14T11:37:45.726Z] e2be974225ed: Verifying Checksum [2024-10-14T11:37:45.726Z] e2be974225ed: Download complete [2024-10-14T11:37:45.726Z] 988bab9f4d93: Verifying Checksum [2024-10-14T11:37:45.726Z] 988bab9f4d93: Download complete [2024-10-14T11:37:45.726Z] 1469e6f7b9e6: Verifying Checksum [2024-10-14T11:37:45.726Z] 1469e6f7b9e6: Download complete [2024-10-14T11:37:45.726Z] eaf3925da568: Verifying Checksum [2024-10-14T11:37:45.726Z] eaf3925da568: Download complete [2024-10-14T11:37:45.726Z] 339a4e72a1f5: Verifying Checksum [2024-10-14T11:37:45.726Z] 339a4e72a1f5: Download complete [2024-10-14T11:37:45.985Z] bde34c3a00c8: Download complete [2024-10-14T11:37:45.985Z] b352a97aabf1: Verifying Checksum [2024-10-14T11:37:45.985Z] b352a97aabf1: Download complete [2024-10-14T11:37:45.985Z] 4872d77fe225: Download complete [2024-10-14T11:37:45.985Z] 5851b861e8e6: Verifying Checksum [2024-10-14T11:37:45.985Z] 5851b861e8e6: Download complete [2024-10-14T11:37:45.985Z] b85a868b505f: Verifying Checksum [2024-10-14T11:37:45.985Z] b85a868b505f: Download complete [2024-10-14T11:37:46.243Z] bab4dde63d76: Verifying Checksum [2024-10-14T11:37:46.243Z] bab4dde63d76: Download complete [2024-10-14T11:37:47.180Z] b85a868b505f: Pull complete [2024-10-14T11:37:47.440Z] e2be974225ed: Pull complete [2024-10-14T11:37:47.699Z] 339a4e72a1f5: Pull complete [2024-10-14T11:37:47.957Z] 988bab9f4d93: Pull complete [2024-10-14T11:37:47.957Z] 1469e6f7b9e6: Pull complete [2024-10-14T11:37:48.216Z] eaf3925da568: Pull complete [2024-10-14T11:37:50.115Z] bab4dde63d76: Pull complete [2024-10-14T11:37:50.115Z] bde34c3a00c8: Pull complete [2024-10-14T11:37:50.115Z] b352a97aabf1: Pull complete [2024-10-14T11:37:50.115Z] 4872d77fe225: Pull complete [2024-10-14T11:37:50.115Z] 5851b861e8e6: Pull complete [2024-10-14T11:37:50.115Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-14T11:37:50.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T11:37:50.115Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T11:37:50.399Z] prd-ubuntu20.04-docker-8c-8g-22766 does not seem to be running inside a container [2024-10-14T11:37:50.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-496 -v /w/workspace/foundry_device-virtual-go_PR-496:/w/workspace/foundry_device-virtual-go_PR-496:rw,z -v /w/workspace/foundry_device-virtual-go_PR-496@tmp:/w/workspace/foundry_device-virtual-go_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-14T11:37:53.184Z] $ docker top 0fff32ca54209d304356f853cf239a1c2226b4662afc7b134d6072bb8672ca97 -eo pid,comm [2024-10-14T11:37:53.235Z] 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-14T11:37:53.235Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-14T11:37:53.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T11:37:53.384Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T11:37:53.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T11:37:53.495Z] $ docker exec 0fff32ca54209d304356f853cf239a1c2226b4662afc7b134d6072bb8672ca97 ssh-agent [2024-10-14T11:37:53.605Z] SSH_AUTH_SOCK=/tmp/ssh-FHfMcaIkvZ7U/agent.32 [2024-10-14T11:37:53.605Z] SSH_AGENT_PID=38 [2024-10-14T11:37:53.611Z] Running ssh-add (command line suppressed) [2024-10-14T11:37:53.708Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-496@tmp/private_key_628154378866059315.key (/w/workspace/foundry_device-virtual-go_PR-496@tmp/private_key_628154378866059315.key) [2024-10-14T11:37:53.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T11:37:54.070Z] + git tag --points-at HEAD [Pipeline] } [2024-10-14T11:37:54.094Z] $ docker exec --env ******** --env ******** 0fff32ca54209d304356f853cf239a1c2226b4662afc7b134d6072bb8672ca97 ssh-agent -k [2024-10-14T11:37:54.201Z] unset SSH_AUTH_SOCK; [2024-10-14T11:37:54.201Z] unset SSH_AGENT_PID; [2024-10-14T11:37:54.202Z] echo Agent pid 38 killed; [2024-10-14T11:37:54.211Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-14T11:37:54.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T11:37:54.322Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T11:37:54.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T11:37:54.444Z] $ docker exec 0fff32ca54209d304356f853cf239a1c2226b4662afc7b134d6072bb8672ca97 ssh-agent [2024-10-14T11:37:54.559Z] SSH_AUTH_SOCK=/tmp/ssh-JkspB02jZzMR/agent.71 [2024-10-14T11:37:54.559Z] SSH_AGENT_PID=77 [2024-10-14T11:37:54.564Z] Running ssh-add (command line suppressed) [2024-10-14T11:37:54.672Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-496@tmp/private_key_8314367329061316189.key (/w/workspace/foundry_device-virtual-go_PR-496@tmp/private_key_8314367329061316189.key) [2024-10-14T11:37:54.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T11:37:55.035Z] + git semver init [2024-10-14T11:37:55.296Z] 2024-10-14 11:37:55,203 [run_init] DEBUG init version:0.0.0 force:False [2024-10-14T11:37:55.296Z] 2024-10-14 11:37:55,204 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-496/.semver [2024-10-14T11:37:55.296Z] 2024-10-14 11:37:55,204 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-496/.semver [2024-10-14T11:37:55.296Z] 2024-10-14 11:37:55,205 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-496/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-496, universal_newlines=False, shell=None, istream=None) [2024-10-14T11:37:57.206Z] 2024-10-14 11:37:57,201 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-496/.git/info/exclude [2024-10-14T11:37:57.206Z] 2024-10-14 11:37:57,202 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-496/.semver/PR-496 with force:False [2024-10-14T11:37:57.206Z] 2024-10-14 11:37:57,202 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-496/.semver/PR-496 [2024-10-14T11:37:57.465Z] 2024-10-14 11:37:57,208 [execute] INFO git cat-file --batch-check [2024-10-14T11:37:57.465Z] 2024-10-14 11:37:57,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T11:37:57.465Z] 2024-10-14 11:37:57,213 [execute] INFO git cat-file --batch [2024-10-14T11:37:57.465Z] 2024-10-14 11:37:57,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T11:37:57.465Z] 2024-10-14 11:37:57,218 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-496/.semver/PR-496 [2024-10-14T11:37:57.465Z] 0.0.0 [Pipeline] } [2024-10-14T11:37:57.494Z] $ docker exec --env ******** --env ******** 0fff32ca54209d304356f853cf239a1c2226b4662afc7b134d6072bb8672ca97 ssh-agent -k [2024-10-14T11:37:57.594Z] unset SSH_AUTH_SOCK; [2024-10-14T11:37:57.594Z] unset SSH_AGENT_PID; [2024-10-14T11:37:57.594Z] echo Agent pid 77 killed; [2024-10-14T11:37:57.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-14T11:37:58.062Z] + git semver [Pipeline] } [2024-10-14T11:37:58.348Z] $ docker stop --time=1 0fff32ca54209d304356f853cf239a1c2226b4662afc7b134d6072bb8672ca97 [2024-10-14T11:37:59.622Z] $ docker rm -f --volumes 0fff32ca54209d304356f853cf239a1c2226b4662afc7b134d6072bb8672ca97 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T11:38:00.041Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-14T11:38:00.335Z] Stashed 1 file(s) [Pipeline] echo [2024-10-14T11:38:00.362Z] [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-14T11:38:01.062Z] provisioning config files... [2024-10-14T11:38:01.072Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-496@tmp/config17900168354826043754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:38:01.443Z] ---> ****-login.sh [2024-10-14T11:38:01.443Z] nexus3.edgexfoundry.org:10001 [2024-10-14T11:38:01.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:38:01.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:38:01.443Z] Configure a credential helper to remove this warning. See [2024-10-14T11:38:01.443Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:38:01.443Z] [2024-10-14T11:38:01.443Z] Login Succeeded [2024-10-14T11:38:01.443Z] nexus3.edgexfoundry.org:10002 [2024-10-14T11:38:01.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:38:01.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:38:01.443Z] Configure a credential helper to remove this warning. See [2024-10-14T11:38:01.443Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:38:01.443Z] [2024-10-14T11:38:01.443Z] Login Succeeded [2024-10-14T11:38:01.443Z] nexus3.edgexfoundry.org:10003 [2024-10-14T11:38:01.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:38:01.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:38:01.704Z] Configure a credential helper to remove this warning. See [2024-10-14T11:38:01.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:38:01.704Z] [2024-10-14T11:38:01.704Z] Login Succeeded [2024-10-14T11:38:01.704Z] nexus3.edgexfoundry.org:10004 [2024-10-14T11:38:01.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:38:01.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:38:01.704Z] Configure a credential helper to remove this warning. See [2024-10-14T11:38:01.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:38:01.704Z] [2024-10-14T11:38:01.704Z] Login Succeeded [2024-10-14T11:38:01.704Z] ****.io [2024-10-14T11:38:01.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:38:01.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:38:01.965Z] Configure a credential helper to remove this warning. See [2024-10-14T11:38:01.965Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:38:01.965Z] [2024-10-14T11:38:01.965Z] Login Succeeded [2024-10-14T11:38:01.965Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T11:38:01.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T11:38:02.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T11:38:02.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T11:38:02.315Z] ========================================================= [2024-10-14T11:38:02.315Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-14T11:38:02.315Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:38:02.836Z] + 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-14T11:38:02.836Z] Sending build context to Docker daemon 37.67MB [2024-10-14T11:38:02.836Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T11:38:02.836Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-14T11:38:03.094Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-14T11:38:03.094Z] 43c4264eed91: Pulling fs layer [2024-10-14T11:38:03.094Z] 4cc291be95ef: Pulling fs layer [2024-10-14T11:38:03.094Z] 2ac1f1163629: Pulling fs layer [2024-10-14T11:38:03.094Z] 5c3c966382ef: Pulling fs layer [2024-10-14T11:38:03.094Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T11:38:03.094Z] 5d5c8e513c77: Pulling fs layer [2024-10-14T11:38:03.094Z] 9f66e0745190: Pulling fs layer [2024-10-14T11:38:03.094Z] f49a43e4bbc0: Pulling fs layer [2024-10-14T11:38:03.094Z] 561ebcabdf7f: Pulling fs layer [2024-10-14T11:38:03.094Z] 5c3c966382ef: Waiting [2024-10-14T11:38:03.094Z] 9f66e0745190: Waiting [2024-10-14T11:38:03.094Z] 4f4fb700ef54: Waiting [2024-10-14T11:38:03.094Z] 5d5c8e513c77: Waiting [2024-10-14T11:38:03.094Z] 4cc291be95ef: Verifying Checksum [2024-10-14T11:38:03.094Z] 4cc291be95ef: Download complete [2024-10-14T11:38:03.094Z] 5c3c966382ef: Verifying Checksum [2024-10-14T11:38:03.094Z] 5c3c966382ef: Download complete [2024-10-14T11:38:03.094Z] 4f4fb700ef54: Download complete [2024-10-14T11:38:03.094Z] 5d5c8e513c77: Verifying Checksum [2024-10-14T11:38:03.094Z] 5d5c8e513c77: Download complete [2024-10-14T11:38:03.094Z] 43c4264eed91: Download complete [2024-10-14T11:38:03.094Z] 9f66e0745190: Verifying Checksum [2024-10-14T11:38:03.094Z] 9f66e0745190: Download complete [2024-10-14T11:38:03.353Z] 43c4264eed91: Pull complete [2024-10-14T11:38:03.353Z] 561ebcabdf7f: Download complete [2024-10-14T11:38:03.353Z] 4cc291be95ef: Pull complete [2024-10-14T11:38:03.611Z] 2ac1f1163629: Verifying Checksum [2024-10-14T11:38:03.611Z] 2ac1f1163629: Download complete [2024-10-14T11:38:03.870Z] f49a43e4bbc0: Verifying Checksum [2024-10-14T11:38:03.870Z] f49a43e4bbc0: Download complete [2024-10-14T11:38:07.156Z] 2ac1f1163629: Pull complete [2024-10-14T11:38:07.156Z] 5c3c966382ef: Pull complete [2024-10-14T11:38:07.156Z] 4f4fb700ef54: Pull complete [2024-10-14T11:38:07.156Z] 5d5c8e513c77: Pull complete [2024-10-14T11:38:07.156Z] 9f66e0745190: Pull complete [2024-10-14T11:38:09.060Z] f49a43e4bbc0: Pull complete [2024-10-14T11:38:09.318Z] 561ebcabdf7f: Pull complete [2024-10-14T11:38:09.318Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-14T11:38:09.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-14T11:38:09.318Z] ---> 3a752c3f9dda [2024-10-14T11:38:09.318Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T11:38:14.648Z] ---> Running in 77e9dc43d132 [2024-10-14T11:38:14.648Z] Removing intermediate container 77e9dc43d132 [2024-10-14T11:38:14.648Z] ---> 8b096aa4eaa4 [2024-10-14T11:38:14.648Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T11:38:14.648Z] ---> Running in 8e6e5dc50997 [2024-10-14T11:38:14.648Z] Removing intermediate container 8e6e5dc50997 [2024-10-14T11:38:14.648Z] ---> bee93f09f92d [2024-10-14T11:38:14.648Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-14T11:38:14.648Z] ---> Running in f3c581a48354 [2024-10-14T11:38:14.648Z] Removing intermediate container f3c581a48354 [2024-10-14T11:38:14.648Z] ---> a269ba6f1ab9 [2024-10-14T11:38:14.648Z] Step 6/12 : WORKDIR /device-virtual-go [2024-10-14T11:38:14.648Z] ---> Running in ce08a4e1dd1f [2024-10-14T11:38:14.648Z] Removing intermediate container ce08a4e1dd1f [2024-10-14T11:38:14.648Z] ---> 181f5ae6a42d [2024-10-14T11:38:14.648Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T11:38:14.648Z] ---> Running in 43572cc1c157 [2024-10-14T11:38:14.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T11:38:14.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T11:38:14.908Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T11:38:14.908Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-14T11:38:14.908Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T11:38:14.908Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T11:38:14.908Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T11:38:14.908Z] OK: 250 MiB in 58 packages [2024-10-14T11:38:15.478Z] Removing intermediate container 43572cc1c157 [2024-10-14T11:38:15.478Z] ---> 05ca65df391e [2024-10-14T11:38:15.478Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-14T11:38:15.478Z] ---> 61cf8e48c36e [2024-10-14T11:38:15.478Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T11:38:15.478Z] ---> Running in 0f3c48bb815c [2024-10-14T11:38:15.846Z] Still waiting to schedule task [2024-10-14T11:38:15.847Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22765’ [2024-10-14T11:39:11.727Z] Removing intermediate container 0f3c48bb815c [2024-10-14T11:39:11.727Z] ---> 16f760e21018 [2024-10-14T11:39:11.727Z] Step 10/12 : COPY . . [2024-10-14T11:39:11.727Z] ---> 34f8b4f1c423 [2024-10-14T11:39:11.727Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T11:39:11.727Z] ---> Running in d18ce06ee79a [2024-10-14T11:39:11.727Z] Removing intermediate container d18ce06ee79a [2024-10-14T11:39:11.727Z] ---> 24e64d7fb548 [2024-10-14T11:39:11.727Z] Step 12/12 : RUN $MAKE [2024-10-14T11:39:11.727Z] ---> Running in 05969bafc7f9 [2024-10-14T11:39:11.727Z] noop [2024-10-14T11:39:11.727Z] Removing intermediate container 05969bafc7f9 [2024-10-14T11:39:11.727Z] ---> c9917326dc5a [2024-10-14T11:39:11.727Z] Successfully built c9917326dc5a [2024-10-14T11:39:11.727Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:39:12.211Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T11:39:12.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T11:39:12.380Z] prd-ubuntu20.04-docker-8c-8g-22766 does not seem to be running inside a container [2024-10-14T11:39:12.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-496 -v /w/workspace/foundry_device-virtual-go_PR-496:/w/workspace/foundry_device-virtual-go_PR-496:rw,z -v /w/workspace/foundry_device-virtual-go_PR-496@tmp:/w/workspace/foundry_device-virtual-go_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T11:39:12.738Z] $ docker top 859a928d4936a29b7826e995c5583c6d36e94eaeadef1b661b9df88d20f3ffe3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T11:39:13.142Z] + go version [2024-10-14T11:39:13.142Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-14T11:39:13.174Z] $ docker stop --time=1 859a928d4936a29b7826e995c5583c6d36e94eaeadef1b661b9df88d20f3ffe3 [2024-10-14T11:39:14.430Z] $ docker rm -f --volumes 859a928d4936a29b7826e995c5583c6d36e94eaeadef1b661b9df88d20f3ffe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:39:15.202Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T11:39:15.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T11:39:15.365Z] prd-ubuntu20.04-docker-8c-8g-22766 does not seem to be running inside a container [2024-10-14T11:39:15.396Z] $ 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-496 -v /w/workspace/foundry_device-virtual-go_PR-496:/w/workspace/foundry_device-virtual-go_PR-496:rw,z -v /w/workspace/foundry_device-virtual-go_PR-496@tmp:/w/workspace/foundry_device-virtual-go_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T11:39:15.701Z] $ docker top 6164149d50dfc4e8b4cbb4a38a0b0ef356bd14bb0c6e7e7ec56f6d515dbf337a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T11:39:16.097Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-496 [Pipeline] fileExists [Pipeline] sh [2024-10-14T11:39:16.471Z] + make test [2024-10-14T11:39:16.471Z] go test ./... -coverprofile=coverage.out [2024-10-14T11:39:17.851Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-10-14T11:39:35.938Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-10-14T11:39:35.938Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.011s coverage: 58.4% of statements [2024-10-14T11:39:45.907Z] go vet ./... [2024-10-14T11:39:51.184Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T11:39:51.184Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T11:39:51.184Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T11:39:51.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T11:39:51.445Z] $ docker stop --time=1 6164149d50dfc4e8b4cbb4a38a0b0ef356bd14bb0c6e7e7ec56f6d515dbf337a [2024-10-14T11:39:55.555Z] $ docker rm -f --volumes 6164149d50dfc4e8b4cbb4a38a0b0ef356bd14bb0c6e7e7ec56f6d515dbf337a [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T11:39:56.196Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T11:39:56.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-14T11:39:56.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T11:39:57.312Z] + ls -al . [2024-10-14T11:39:57.312Z] total 276 [2024-10-14T11:39:57.312Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 11:39 . [2024-10-14T11:39:57.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 11:37 .. [2024-10-14T11:39:57.312Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 11:39 .git [2024-10-14T11:39:57.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 11:37 .github [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 14 11:37 .gitignore [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 11:37 .golangci.yml [2024-10-14T11:39:57.312Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 11:37 .semver [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 18321 Oct 14 11:37 Attribution.txt [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 15941 Oct 14 11:37 CHANGELOG.md [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 1755 Oct 14 11:37 Dockerfile [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 11:37 GOVERNANCE.md [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 14 11:37 Jenkinsfile [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 11:37 LICENSE [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 2490 Oct 14 11:37 Makefile [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 14 11:37 OWNERS.md [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 14 11:37 README.md [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 11:38 VERSION [2024-10-14T11:39:57.312Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 11:37 bin [2024-10-14T11:39:57.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 11:37 cmd [2024-10-14T11:39:57.312Z] -rw-r--r-- 1 jenkins jenkins 43316 Oct 14 11:39 coverage.out [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 6895 Oct 14 11:37 go.mod [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 14 11:37 go.sum [2024-10-14T11:39:57.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 11:37 internal [2024-10-14T11:39:57.312Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 14 11:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:39:57.745Z] + 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=df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 --label arch=amd64 --label version=0.0.0 . [2024-10-14T11:39:57.745Z] Sending build context to Docker daemon 37.71MB [2024-10-14T11:39:57.745Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T11:39:57.745Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-14T11:39:57.745Z] ---> c9917326dc5a [2024-10-14T11:39:57.745Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T11:39:58.317Z] ---> Running in 1dbe4878dd58 [2024-10-14T11:39:58.580Z] Removing intermediate container 1dbe4878dd58 [2024-10-14T11:39:58.580Z] ---> 8f30aa89abb9 [2024-10-14T11:39:58.580Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T11:39:58.580Z] ---> Running in ea8e1c281b82 [2024-10-14T11:39:58.580Z] Removing intermediate container ea8e1c281b82 [2024-10-14T11:39:58.580Z] ---> 8ce10f36d555 [2024-10-14T11:39:58.580Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-14T11:39:58.580Z] ---> Running in cb7ad821b8c6 [2024-10-14T11:39:58.580Z] Removing intermediate container cb7ad821b8c6 [2024-10-14T11:39:58.580Z] ---> 3793769c3e2d [2024-10-14T11:39:58.580Z] Step 6/26 : WORKDIR /device-virtual-go [2024-10-14T11:39:58.580Z] ---> Running in 7b4d8334c641 [2024-10-14T11:39:58.838Z] Removing intermediate container 7b4d8334c641 [2024-10-14T11:39:58.838Z] ---> 9324e6faa8f7 [2024-10-14T11:39:58.838Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T11:39:58.838Z] ---> Running in 2d285c5bb538 [2024-10-14T11:39:59.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T11:39:59.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T11:39:59.356Z] OK: 250 MiB in 58 packages [2024-10-14T11:39:59.617Z] Removing intermediate container 2d285c5bb538 [2024-10-14T11:39:59.617Z] ---> 15e6000da6c2 [2024-10-14T11:39:59.617Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-14T11:39:59.877Z] ---> 2699d1e8902a [2024-10-14T11:39:59.877Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T11:39:59.877Z] ---> Running in 0a49f5dcea16 [2024-10-14T11:40:00.447Z] Removing intermediate container 0a49f5dcea16 [2024-10-14T11:40:00.447Z] ---> a04aac11c0d9 [2024-10-14T11:40:00.447Z] Step 10/26 : COPY . . [2024-10-14T11:40:01.014Z] ---> 9baff744b6b2 [2024-10-14T11:40:01.014Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T11:40:01.014Z] ---> Running in ce93011ab4d1 [2024-10-14T11:40:01.271Z] Removing intermediate container ce93011ab4d1 [2024-10-14T11:40:01.271Z] ---> 1c0bdc8c0e16 [2024-10-14T11:40:01.271Z] Step 12/26 : RUN $MAKE [2024-10-14T11:40:01.271Z] ---> Running in 0282976a4523 [2024-10-14T11:40:01.532Z] 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.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd [2024-10-14T11:40:33.618Z] Removing intermediate container 0282976a4523 [2024-10-14T11:40:33.618Z] ---> f5f54af36d77 [2024-10-14T11:40:33.618Z] Step 13/26 : FROM alpine:3.20 [2024-10-14T11:40:33.618Z] 3.20: Pulling from library/alpine [2024-10-14T11:40:33.618Z] 43c4264eed91: Already exists [2024-10-14T11:40:33.618Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T11:40:33.618Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T11:40:33.618Z] ---> 91ef0af61f39 [2024-10-14T11:40:33.618Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-10-14T11:40:33.618Z] ---> Running in e893de6a3bb7 [2024-10-14T11:40:33.618Z] Removing intermediate container e893de6a3bb7 [2024-10-14T11:40:33.618Z] ---> 76fb875b59ef [2024-10-14T11:40:33.618Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-14T11:40:33.618Z] ---> Running in a64269cf572c [2024-10-14T11:40:33.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T11:40:33.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T11:40:33.618Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T11:40:33.618Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T11:40:33.618Z] OK: 8 MiB in 15 packages [2024-10-14T11:40:33.618Z] Removing intermediate container a64269cf572c [2024-10-14T11:40:33.618Z] ---> ac59baea4823 [2024-10-14T11:40:33.618Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-14T11:40:33.618Z] ---> Running in 8f76c56e23c3 [2024-10-14T11:40:33.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T11:40:33.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T11:40:33.878Z] Upgrading critical system libraries and apk-tools: [2024-10-14T11:40:33.878Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T11:40:33.878Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T11:40:33.878Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T11:40:33.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T11:40:34.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T11:40:34.397Z] OK: 8 MiB in 15 packages [2024-10-14T11:40:34.655Z] Removing intermediate container 8f76c56e23c3 [2024-10-14T11:40:34.655Z] ---> 0609c0a0382b [2024-10-14T11:40:34.655Z] Step 17/26 : WORKDIR / [2024-10-14T11:40:34.655Z] ---> Running in 734ad0ca0e38 [2024-10-14T11:40:34.655Z] Removing intermediate container 734ad0ca0e38 [2024-10-14T11:40:34.655Z] ---> f8c92996533e [2024-10-14T11:40:34.655Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-10-14T11:40:34.915Z] ---> 2098dbe0b8a7 [2024-10-14T11:40:34.915Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-10-14T11:40:34.915Z] ---> 5f4c3cc1ad7c [2024-10-14T11:40:34.915Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-10-14T11:40:36.287Z] ---> 67bd269fe181 [2024-10-14T11:40:36.287Z] Step 21/26 : EXPOSE 59900 [2024-10-14T11:40:36.287Z] ---> Running in 755d8252429f [2024-10-14T11:40:36.545Z] Removing intermediate container 755d8252429f [2024-10-14T11:40:36.545Z] ---> af90f68d630c [2024-10-14T11:40:36.545Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-10-14T11:40:36.545Z] ---> Running in ed398d8ecf6c [2024-10-14T11:40:36.545Z] Removing intermediate container ed398d8ecf6c [2024-10-14T11:40:36.545Z] ---> 0d53aa865d8f [2024-10-14T11:40:36.545Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-14T11:40:36.545Z] ---> Running in 407b0327c8a9 [2024-10-14T11:40:36.545Z] Removing intermediate container 407b0327c8a9 [2024-10-14T11:40:36.545Z] ---> bef58166c28e [2024-10-14T11:40:36.545Z] Step 24/26 : LABEL arch=amd64 [2024-10-14T11:40:36.545Z] ---> Running in 27ba6553f97c [2024-10-14T11:40:36.804Z] Removing intermediate container 27ba6553f97c [2024-10-14T11:40:36.804Z] ---> 1e4a441254e4 [2024-10-14T11:40:36.804Z] Step 25/26 : LABEL git_sha=df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 [2024-10-14T11:40:36.804Z] ---> Running in e5471b844bc9 [2024-10-14T11:40:36.804Z] Removing intermediate container e5471b844bc9 [2024-10-14T11:40:36.804Z] ---> 1341c6e7575f [2024-10-14T11:40:36.804Z] Step 26/26 : LABEL version=0.0.0 [2024-10-14T11:40:36.804Z] ---> Running in f996f25e270f [2024-10-14T11:40:36.804Z] Removing intermediate container f996f25e270f [2024-10-14T11:40:36.804Z] ---> 749056ec0aef [2024-10-14T11:40:36.804Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T11:40:36.804Z] Successfully built 749056ec0aef [2024-10-14T11:40:36.804Z] 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-14T11:40:37.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T11:40:37.803Z] [2024-10-14T11:40:37.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:40:38.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T11:40:38.194Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-14T11:40:38.194Z] 5eb5b503b376: Pulling fs layer [2024-10-14T11:40:38.194Z] 5c69ac0246d0: Pulling fs layer [2024-10-14T11:40:38.194Z] ec43610c2a17: Pulling fs layer [2024-10-14T11:40:38.194Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-14T11:40:38.194Z] 33b1e0a273af: Pulling fs layer [2024-10-14T11:40:38.194Z] 5d3b04190fa2: Pulling fs layer [2024-10-14T11:40:38.194Z] 2f39f015ded8: Pulling fs layer [2024-10-14T11:40:38.194Z] 3a2ae6a8a46f: Waiting [2024-10-14T11:40:38.194Z] 5d3b04190fa2: Waiting [2024-10-14T11:40:38.194Z] 2f39f015ded8: Waiting [2024-10-14T11:40:38.194Z] 33b1e0a273af: Waiting [2024-10-14T11:40:38.194Z] 5c69ac0246d0: Verifying Checksum [2024-10-14T11:40:38.194Z] 5c69ac0246d0: Download complete [2024-10-14T11:40:38.194Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-14T11:40:38.194Z] 3a2ae6a8a46f: Download complete [2024-10-14T11:40:38.194Z] 33b1e0a273af: Verifying Checksum [2024-10-14T11:40:38.194Z] 33b1e0a273af: Download complete [2024-10-14T11:40:38.194Z] 5d3b04190fa2: Verifying Checksum [2024-10-14T11:40:38.194Z] 5d3b04190fa2: Download complete [2024-10-14T11:40:38.194Z] ec43610c2a17: Verifying Checksum [2024-10-14T11:40:38.194Z] ec43610c2a17: Download complete [2024-10-14T11:40:38.453Z] 5eb5b503b376: Verifying Checksum [2024-10-14T11:40:38.453Z] 5eb5b503b376: Download complete [2024-10-14T11:40:39.019Z] 2f39f015ded8: Download complete [2024-10-14T11:40:39.585Z] 5eb5b503b376: Pull complete [2024-10-14T11:40:39.585Z] 5c69ac0246d0: Pull complete [2024-10-14T11:40:39.843Z] ec43610c2a17: Pull complete [2024-10-14T11:40:40.101Z] 3a2ae6a8a46f: Pull complete [2024-10-14T11:40:40.101Z] 33b1e0a273af: Pull complete [2024-10-14T11:40:40.359Z] 5d3b04190fa2: Pull complete [2024-10-14T11:40:44.543Z] 2f39f015ded8: Pull complete [2024-10-14T11:40:44.543Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-14T11:40:44.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T11:40:44.543Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T11:40:44.786Z] prd-ubuntu20.04-docker-8c-8g-22766 does not seem to be running inside a container [2024-10-14T11:40:44.817Z] $ 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-496 -v /w/workspace/foundry_device-virtual-go_PR-496:/w/workspace/foundry_device-virtual-go_PR-496:rw,z -v /w/workspace/foundry_device-virtual-go_PR-496@tmp:/w/workspace/foundry_device-virtual-go_PR-496@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-14T11:40:48.766Z] $ docker top fdb499fbe8facf850bf2ceb7b12474649ed80d2a78e8a28c054ff9830baf2914 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:40:49.248Z] ---> job-cost.sh [2024-10-14T11:40:49.248Z] lf-activate-venv: SKIPPING [2024-10-14T11:40:49.248Z] INFO: No Stack... [2024-10-14T11:40:49.507Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T11:40:49.769Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T11:40:50.086Z] + cat /w/workspace/foundry_device-virtual-go_PR-496/archives/cost.csv [2024-10-14T11:40:50.086Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T11:40:50.132Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-496-1-stack-cost] [2024-10-14T11:40:50.139Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-496-1-stack-cost] did not exist. Created. [2024-10-14T11:40:50.147Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-496-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T11:40:50.553Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-14T11:40:50.608Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T11:40:50.643Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-496-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T11:40:50.730Z] $ docker stop --time=1 fdb499fbe8facf850bf2ceb7b12474649ed80d2a78e8a28c054ff9830baf2914 [2024-10-14T11:40:51.909Z] $ docker rm -f --volumes fdb499fbe8facf850bf2ceb7b12474649ed80d2a78e8a28c054ff9830baf2914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-14T11:41:50.222Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22767 in /w/workspace/foundry_device-virtual-go_PR-496 [Pipeline] { [Pipeline] ws [2024-10-14T11:41:50.296Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-10-14T11:41:53.412Z] The recommended git tool is: git [2024-10-14T11:41:58.295Z] using credential edgex-jenkins-ssh [2024-10-14T11:41:58.318Z] Cloning the remote Git repository [2024-10-14T11:41:58.359Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-10-14T11:41:58.447Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-10-14T11:41:58.577Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-10-14T11:41:58.578Z] > git --version # timeout=10 [2024-10-14T11:41:58.598Z] > git --version # 'git version 2.25.1' [2024-10-14T11:41:58.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T11:41:58.736Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T11:42:03.574Z] Merging remotes/origin/main commit 60f2b90224e592bb905f9b29e85d80ab0be60eaf into PR head commit df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 [2024-10-14T11:42:02.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-10-14T11:42:02.239Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T11:42:03.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-10-14T11:42:03.086Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-10-14T11:42:03.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T11:42:03.107Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-14T11:42:03.853Z] Merge succeeded, producing df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 [2024-10-14T11:42:03.854Z] Checking out Revision df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 (PR-496) [2024-10-14T11:42:04.379Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-14T11:42:04.547Z] > git --version # timeout=10 [2024-10-14T11:42:04.575Z] > git --version # 'git version 2.25.1' [2024-10-14T11:42:04.595Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T11:42:03.616Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T11:42:03.681Z] > git checkout -f df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 # timeout=10 [2024-10-14T11:42:03.761Z] > git remote # timeout=10 [2024-10-14T11:42:03.778Z] > git config --get remote.origin.url # timeout=10 [2024-10-14T11:42:03.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T11:42:03.817Z] > git merge 60f2b90224e592bb905f9b29e85d80ab0be60eaf # timeout=10 [2024-10-14T11:42:03.841Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-14T11:42:03.860Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T11:42:03.872Z] > git checkout -f df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T11:42:09.672Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-14T11:42:09.672Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T11:42:09.672Z] Dload Upload Total Spent Left Speed [2024-10-14T11:42:09.672Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-10-14T11:42:10.031Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-14T11:42:10.390Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-14T11:42:10.390Z] + sudo tee /etc/docker/daemon.new [2024-10-14T11:42:10.390Z] { [2024-10-14T11:42:10.390Z] "registry-mirrors": [ [2024-10-14T11:42:10.390Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-14T11:42:10.390Z] ], [2024-10-14T11:42:10.390Z] "bip": "10.250.0.254/24", [2024-10-14T11:42:10.390Z] "hosts": [ [2024-10-14T11:42:10.390Z] "tcp://0.0.0.0:5555", [2024-10-14T11:42:10.390Z] "unix:///var/run/docker.sock" [2024-10-14T11:42:10.390Z] ], [2024-10-14T11:42:10.390Z] "mtu": 1458, [2024-10-14T11:42:10.390Z] "selinux-enabled": true, [2024-10-14T11:42:10.390Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-14T11:42:10.390Z] } [Pipeline] sh [2024-10-14T11:42:10.753Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-14T11:42:11.138Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T11:42:29.507Z] provisioning config files... [2024-10-14T11:42:29.534Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2345676157056463691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:42:30.046Z] ---> ****-login.sh [2024-10-14T11:42:30.046Z] nexus3.edgexfoundry.org:10001 [2024-10-14T11:42:32.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:42:36.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:42:36.408Z] Configure a credential helper to remove this warning. See [2024-10-14T11:42:36.408Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:42:36.408Z] [2024-10-14T11:42:36.408Z] Login Succeeded [2024-10-14T11:42:36.408Z] nexus3.edgexfoundry.org:10002 [2024-10-14T11:42:36.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:42:36.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:42:36.677Z] Configure a credential helper to remove this warning. See [2024-10-14T11:42:36.677Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:42:36.677Z] [2024-10-14T11:42:36.677Z] Login Succeeded [2024-10-14T11:42:36.677Z] nexus3.edgexfoundry.org:10003 [2024-10-14T11:42:36.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:42:36.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:42:36.954Z] Configure a credential helper to remove this warning. See [2024-10-14T11:42:36.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:42:36.954Z] [2024-10-14T11:42:36.954Z] Login Succeeded [2024-10-14T11:42:36.954Z] nexus3.edgexfoundry.org:10004 [2024-10-14T11:42:37.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:42:37.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:42:37.494Z] Configure a credential helper to remove this warning. See [2024-10-14T11:42:37.494Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:42:37.494Z] [2024-10-14T11:42:37.494Z] Login Succeeded [2024-10-14T11:42:37.494Z] ****.io [2024-10-14T11:42:37.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T11:42:38.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T11:42:38.039Z] Configure a credential helper to remove this warning. See [2024-10-14T11:42:38.039Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T11:42:38.039Z] [2024-10-14T11:42:38.039Z] Login Succeeded [2024-10-14T11:42:38.039Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T11:42:38.080Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T11:42:38.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T11:42:38.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T11:42:38.662Z] ========================================================= [2024-10-14T11:42:38.662Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-14T11:42:38.662Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:42:39.217Z] + 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-14T11:42:39.808Z] Sending build context to Docker daemon 19.03MB [2024-10-14T11:42:39.808Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T11:42:39.808Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-14T11:42:40.081Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-14T11:42:40.081Z] cf04c63912e1: Pulling fs layer [2024-10-14T11:42:40.081Z] 55b35a11ae5e: Pulling fs layer [2024-10-14T11:42:40.081Z] a37a00ec5f00: Pulling fs layer [2024-10-14T11:42:40.081Z] 50b3750afda1: Pulling fs layer [2024-10-14T11:42:40.081Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T11:42:40.081Z] 50b3750afda1: Waiting [2024-10-14T11:42:40.081Z] 80978eb59214: Pulling fs layer [2024-10-14T11:42:40.081Z] c9f46d7d2bd2: Pulling fs layer [2024-10-14T11:42:40.081Z] c5a475d317c9: Pulling fs layer [2024-10-14T11:42:40.081Z] 80978eb59214: Waiting [2024-10-14T11:42:40.081Z] c9f46d7d2bd2: Waiting [2024-10-14T11:42:40.081Z] 4f4fb700ef54: Waiting [2024-10-14T11:42:40.081Z] c5a475d317c9: Waiting [2024-10-14T11:42:40.081Z] 55b35a11ae5e: Verifying Checksum [2024-10-14T11:42:40.081Z] 55b35a11ae5e: Download complete [2024-10-14T11:42:40.081Z] 50b3750afda1: Verifying Checksum [2024-10-14T11:42:40.081Z] 50b3750afda1: Download complete [2024-10-14T11:42:40.081Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T11:42:40.081Z] 4f4fb700ef54: Download complete [2024-10-14T11:42:40.081Z] 80978eb59214: Verifying Checksum [2024-10-14T11:42:40.081Z] 80978eb59214: Download complete [2024-10-14T11:42:40.081Z] cf04c63912e1: Download complete [2024-10-14T11:42:40.669Z] c5a475d317c9: Verifying Checksum [2024-10-14T11:42:40.669Z] c5a475d317c9: Download complete [2024-10-14T11:42:41.254Z] cf04c63912e1: Pull complete [2024-10-14T11:42:41.841Z] 55b35a11ae5e: Pull complete [2024-10-14T11:42:42.430Z] a37a00ec5f00: Verifying Checksum [2024-10-14T11:42:42.430Z] a37a00ec5f00: Download complete [2024-10-14T11:42:43.014Z] c9f46d7d2bd2: Verifying Checksum [2024-10-14T11:42:43.014Z] c9f46d7d2bd2: Download complete [2024-10-14T11:42:58.021Z] a37a00ec5f00: Pull complete [2024-10-14T11:42:58.021Z] 50b3750afda1: Pull complete [2024-10-14T11:42:58.021Z] 4f4fb700ef54: Pull complete [2024-10-14T11:42:58.021Z] 80978eb59214: Pull complete [2024-10-14T11:43:04.288Z] c9f46d7d2bd2: Pull complete [2024-10-14T11:43:06.240Z] c5a475d317c9: Pull complete [2024-10-14T11:43:06.240Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-14T11:43:06.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-14T11:43:06.240Z] ---> be29e6b0f0d4 [2024-10-14T11:43:06.240Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T11:43:07.654Z] ---> Running in a699deb7775d [2024-10-14T11:43:07.922Z] Removing intermediate container a699deb7775d [2024-10-14T11:43:07.922Z] ---> a79d02660e90 [2024-10-14T11:43:07.922Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T11:43:08.192Z] ---> Running in 260ee51be438 [2024-10-14T11:43:08.469Z] Removing intermediate container 260ee51be438 [2024-10-14T11:43:08.469Z] ---> 2ff4d83494aa [2024-10-14T11:43:08.469Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-14T11:43:08.469Z] ---> Running in 0c896f6f18e9 [2024-10-14T11:43:08.755Z] Removing intermediate container 0c896f6f18e9 [2024-10-14T11:43:08.755Z] ---> 3ec4f31de8e6 [2024-10-14T11:43:08.755Z] Step 6/12 : WORKDIR /device-virtual-go [2024-10-14T11:43:09.026Z] ---> Running in fe1e2298ed75 [2024-10-14T11:43:09.313Z] Removing intermediate container fe1e2298ed75 [2024-10-14T11:43:09.313Z] ---> f0b80ce3a059 [2024-10-14T11:43:09.313Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T11:43:09.313Z] ---> Running in f256de53e6a3 [2024-10-14T11:43:10.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T11:43:11.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T11:43:12.414Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T11:43:12.414Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-14T11:43:12.414Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T11:43:12.414Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T11:43:12.684Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T11:43:12.684Z] OK: 242 MiB in 58 packages [2024-10-14T11:43:13.647Z] Removing intermediate container f256de53e6a3 [2024-10-14T11:43:13.647Z] ---> 71a4e307c2ac [2024-10-14T11:43:13.647Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-14T11:43:14.237Z] ---> 12bae2c9a447 [2024-10-14T11:43:14.237Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T11:43:14.237Z] ---> Running in 518cd4f48b54 [2024-10-14T11:45:05.905Z] Removing intermediate container 518cd4f48b54 [2024-10-14T11:45:05.905Z] ---> f5a1d38ba92d [2024-10-14T11:45:05.905Z] Step 10/12 : COPY . . [2024-10-14T11:45:05.905Z] ---> 940140d1dc8b [2024-10-14T11:45:05.905Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T11:45:05.905Z] ---> Running in 883b68bbcaa6 [2024-10-14T11:45:05.905Z] Removing intermediate container 883b68bbcaa6 [2024-10-14T11:45:05.905Z] ---> 0b81dc103d89 [2024-10-14T11:45:05.905Z] Step 12/12 : RUN $MAKE [2024-10-14T11:45:05.905Z] ---> Running in 7aa25df7619e [2024-10-14T11:45:05.905Z] noop [2024-10-14T11:45:05.905Z] Removing intermediate container 7aa25df7619e [2024-10-14T11:45:05.905Z] ---> 392dd763e97e [2024-10-14T11:45:05.905Z] Successfully built 392dd763e97e [2024-10-14T11:45:05.905Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:45:06.430Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T11:45:06.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T11:45:06.718Z] prd-ubuntu20.04-docker-arm64-4c-16g-22767 does not seem to be running inside a container [2024-10-14T11:45:06.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T11:45:07.985Z] $ docker top 7618f5cdf4708c7fa5e76feb39eb47eb2da70e09117e87056a52820cbf1c4280 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T11:45:08.872Z] + go version [2024-10-14T11:45:08.872Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-14T11:45:08.910Z] $ docker stop --time=1 7618f5cdf4708c7fa5e76feb39eb47eb2da70e09117e87056a52820cbf1c4280 [2024-10-14T11:45:10.502Z] $ docker rm -f --volumes 7618f5cdf4708c7fa5e76feb39eb47eb2da70e09117e87056a52820cbf1c4280 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:45:11.447Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T11:45:11.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T11:45:11.733Z] prd-ubuntu20.04-docker-arm64-4c-16g-22767 does not seem to be running inside a container [2024-10-14T11:45:11.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T11:45:13.005Z] $ docker top e683b72dddd1a656e26bb4614200622a1b69397546f86cbe13c73f273938b0a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T11:45:13.911Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-14T11:45:14.634Z] + make test [2024-10-14T11:45:14.634Z] go test ./... -coverprofile=coverage.out [2024-10-14T11:45:21.312Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-10-14T11:48:43.096Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-10-14T11:48:43.096Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.059s coverage: 58.3% of statements [2024-10-14T11:48:43.096Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-14T11:48:43.096Z] go vet ./... [2024-10-14T11:49:22.313Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T11:49:22.313Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T11:49:22.313Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T11:49:22.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T11:49:22.418Z] $ docker stop --time=1 e683b72dddd1a656e26bb4614200622a1b69397546f86cbe13c73f273938b0a2 [2024-10-14T11:49:24.228Z] $ docker rm -f --volumes e683b72dddd1a656e26bb4614200622a1b69397546f86cbe13c73f273938b0a2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T11:49:25.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T11:49:25.831Z] Warning: overwriting stash ‘coverage-report’ [2024-10-14T11:49:26.299Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T11:49:27.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T11:49:27.480Z] + ls -al . [2024-10-14T11:49:27.480Z] total 272 [2024-10-14T11:49:27.480Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 14 11:45 . [2024-10-14T11:49:27.480Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 11:41 .. [2024-10-14T11:49:27.480Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 11:42 .git [2024-10-14T11:49:27.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 11:42 .github [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 14 11:42 .gitignore [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 11:42 .golangci.yml [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 18321 Oct 14 11:42 Attribution.txt [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 15941 Oct 14 11:42 CHANGELOG.md [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 1755 Oct 14 11:42 Dockerfile [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 11:42 GOVERNANCE.md [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 14 11:42 Jenkinsfile [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 11:42 LICENSE [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 2490 Oct 14 11:42 Makefile [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 14 11:42 OWNERS.md [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 14 11:42 README.md [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 11:38 VERSION [2024-10-14T11:49:27.480Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 11:42 bin [2024-10-14T11:49:27.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 11:42 cmd [2024-10-14T11:49:27.480Z] -rw-r--r-- 1 jenkins jenkins 43316 Oct 14 11:48 coverage.out [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 6895 Oct 14 11:42 go.mod [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 14 11:42 go.sum [2024-10-14T11:49:27.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 11:42 internal [2024-10-14T11:49:27.480Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 14 11:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:49:27.933Z] + 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=df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 --label arch=arm64 --label version=0.0.0 . [2024-10-14T11:49:28.520Z] Sending build context to Docker daemon 19.07MB [2024-10-14T11:49:28.520Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T11:49:28.520Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-14T11:49:28.520Z] ---> 392dd763e97e [2024-10-14T11:49:28.520Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T11:49:28.789Z] ---> Running in 0c41f1e9f2b8 [2024-10-14T11:49:29.054Z] Removing intermediate container 0c41f1e9f2b8 [2024-10-14T11:49:29.054Z] ---> df577c0c1daa [2024-10-14T11:49:29.054Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T11:49:29.054Z] ---> Running in 95510506af17 [2024-10-14T11:49:29.319Z] Removing intermediate container 95510506af17 [2024-10-14T11:49:29.319Z] ---> 371b42963b9a [2024-10-14T11:49:29.319Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-14T11:49:29.319Z] ---> Running in b4870f212583 [2024-10-14T11:49:29.584Z] Removing intermediate container b4870f212583 [2024-10-14T11:49:29.584Z] ---> bc3ed464b976 [2024-10-14T11:49:29.584Z] Step 6/26 : WORKDIR /device-virtual-go [2024-10-14T11:49:29.850Z] ---> Running in 5e4ef7531c5b [2024-10-14T11:49:30.115Z] Removing intermediate container 5e4ef7531c5b [2024-10-14T11:49:30.115Z] ---> af7e5b54861e [2024-10-14T11:49:30.115Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T11:49:30.115Z] ---> Running in ab2bdfc2c589 [2024-10-14T11:49:31.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T11:49:31.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T11:49:32.757Z] OK: 242 MiB in 58 packages [2024-10-14T11:49:33.715Z] Removing intermediate container ab2bdfc2c589 [2024-10-14T11:49:33.715Z] ---> 4fcb422a0cce [2024-10-14T11:49:33.715Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-14T11:49:34.673Z] ---> ace49acdeaf7 [2024-10-14T11:49:34.673Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T11:49:34.673Z] ---> Running in b7e350aa633c [2024-10-14T11:49:37.261Z] Removing intermediate container b7e350aa633c [2024-10-14T11:49:37.261Z] ---> bc988294876b [2024-10-14T11:49:37.261Z] Step 10/26 : COPY . . [2024-10-14T11:49:38.669Z] ---> 3b10cda27f98 [2024-10-14T11:49:38.669Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T11:49:38.669Z] ---> Running in 8c31ea3bbd9a [2024-10-14T11:49:38.669Z] Removing intermediate container 8c31ea3bbd9a [2024-10-14T11:49:38.669Z] ---> 574608121b36 [2024-10-14T11:49:38.669Z] Step 12/26 : RUN $MAKE [2024-10-14T11:49:38.941Z] ---> Running in f00cca0b1884 [2024-10-14T11:49:39.917Z] 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.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd [2024-10-14T11:53:01.642Z] Removing intermediate container f00cca0b1884 [2024-10-14T11:53:01.642Z] ---> b9ed5d61f8cf [2024-10-14T11:53:01.642Z] Step 13/26 : FROM alpine:3.20 [2024-10-14T11:53:01.642Z] 3.20: Pulling from library/alpine [2024-10-14T11:53:01.642Z] cf04c63912e1: Already exists [2024-10-14T11:53:01.642Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T11:53:01.642Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T11:53:01.642Z] ---> c157a85ed455 [2024-10-14T11:53:01.642Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-10-14T11:53:01.642Z] ---> Running in c633673430dd [2024-10-14T11:53:01.642Z] Removing intermediate container c633673430dd [2024-10-14T11:53:01.642Z] ---> bc5169dfd8a5 [2024-10-14T11:53:01.642Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-14T11:53:01.642Z] ---> Running in f1c5b7717a07 [2024-10-14T11:53:01.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T11:53:01.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T11:53:01.642Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T11:53:01.642Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T11:53:01.642Z] OK: 9 MiB in 15 packages [2024-10-14T11:53:01.642Z] Removing intermediate container f1c5b7717a07 [2024-10-14T11:53:01.642Z] ---> 64b8751fc1ba [2024-10-14T11:53:01.642Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-14T11:53:01.642Z] ---> Running in ef27682c0a5d [2024-10-14T11:53:01.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T11:53:01.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T11:53:01.642Z] Upgrading critical system libraries and apk-tools: [2024-10-14T11:53:01.642Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T11:53:01.642Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T11:53:01.642Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T11:53:01.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T11:53:01.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T11:53:01.642Z] OK: 9 MiB in 15 packages [2024-10-14T11:53:01.642Z] Removing intermediate container ef27682c0a5d [2024-10-14T11:53:01.642Z] ---> c99282b6b31f [2024-10-14T11:53:01.642Z] Step 17/26 : WORKDIR / [2024-10-14T11:53:01.642Z] ---> Running in a4e95d8cc3c1 [2024-10-14T11:53:01.642Z] Removing intermediate container a4e95d8cc3c1 [2024-10-14T11:53:01.642Z] ---> 3b1efbf8c966 [2024-10-14T11:53:01.642Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-10-14T11:53:01.642Z] ---> 89e1451c4ea4 [2024-10-14T11:53:01.642Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-10-14T11:53:01.642Z] ---> dbc57dcbdfe5 [2024-10-14T11:53:01.642Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-10-14T11:53:03.578Z] ---> 7568164c4a84 [2024-10-14T11:53:03.578Z] Step 21/26 : EXPOSE 59900 [2024-10-14T11:53:03.848Z] ---> Running in 392ddb28684f [2024-10-14T11:53:04.121Z] Removing intermediate container 392ddb28684f [2024-10-14T11:53:04.121Z] ---> 90b4b8043d23 [2024-10-14T11:53:04.121Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-10-14T11:53:04.121Z] ---> Running in 4eb3175866c8 [2024-10-14T11:53:04.391Z] Removing intermediate container 4eb3175866c8 [2024-10-14T11:53:04.391Z] ---> 23fe4b64a4f3 [2024-10-14T11:53:04.391Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-14T11:53:04.391Z] ---> Running in f16088e72379 [2024-10-14T11:53:04.658Z] Removing intermediate container f16088e72379 [2024-10-14T11:53:04.658Z] ---> eb53bfc89b0f [2024-10-14T11:53:04.658Z] Step 24/26 : LABEL arch=arm64 [2024-10-14T11:53:04.658Z] ---> Running in be3157edd9de [2024-10-14T11:53:04.924Z] Removing intermediate container be3157edd9de [2024-10-14T11:53:04.924Z] ---> 3b9677a1a343 [2024-10-14T11:53:04.924Z] Step 25/26 : LABEL git_sha=df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 [2024-10-14T11:53:04.924Z] ---> Running in 7f1364b76fee [2024-10-14T11:53:05.190Z] Removing intermediate container 7f1364b76fee [2024-10-14T11:53:05.190Z] ---> 436ac6d7e5f9 [2024-10-14T11:53:05.190Z] Step 26/26 : LABEL version=0.0.0 [2024-10-14T11:53:05.457Z] ---> Running in b3586d339f26 [2024-10-14T11:53:05.457Z] Removing intermediate container b3586d339f26 [2024-10-14T11:53:05.457Z] ---> 27dceb0b23be [2024-10-14T11:53:05.457Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T11:53:05.723Z] Successfully built 27dceb0b23be [2024-10-14T11:53:05.723Z] 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-14T11:53:06.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T11:53:06.673Z] [2024-10-14T11:53:06.673Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:53:07.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T11:53:07.095Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-14T11:53:07.095Z] 8998bd30e6a1: Pulling fs layer [2024-10-14T11:53:07.095Z] 04944245beec: Pulling fs layer [2024-10-14T11:53:07.095Z] 699f458cf7ca: Pulling fs layer [2024-10-14T11:53:07.095Z] 765212b225bb: Pulling fs layer [2024-10-14T11:53:07.095Z] f23df028b6ca: Pulling fs layer [2024-10-14T11:53:07.095Z] d65c8cfc05b1: Pulling fs layer [2024-10-14T11:53:07.095Z] 2437ff75d9bd: Pulling fs layer [2024-10-14T11:53:07.095Z] d65c8cfc05b1: Waiting [2024-10-14T11:53:07.095Z] 765212b225bb: Waiting [2024-10-14T11:53:07.095Z] f23df028b6ca: Waiting [2024-10-14T11:53:07.095Z] 2437ff75d9bd: Waiting [2024-10-14T11:53:07.361Z] 04944245beec: Verifying Checksum [2024-10-14T11:53:07.361Z] 04944245beec: Download complete [2024-10-14T11:53:07.361Z] 765212b225bb: Verifying Checksum [2024-10-14T11:53:07.361Z] 765212b225bb: Download complete [2024-10-14T11:53:07.361Z] f23df028b6ca: Verifying Checksum [2024-10-14T11:53:07.361Z] f23df028b6ca: Download complete [2024-10-14T11:53:07.361Z] d65c8cfc05b1: Verifying Checksum [2024-10-14T11:53:07.361Z] d65c8cfc05b1: Download complete [2024-10-14T11:53:07.361Z] 699f458cf7ca: Verifying Checksum [2024-10-14T11:53:07.361Z] 699f458cf7ca: Download complete [2024-10-14T11:53:07.940Z] 8998bd30e6a1: Verifying Checksum [2024-10-14T11:53:07.940Z] 8998bd30e6a1: Download complete [2024-10-14T11:53:09.876Z] 2437ff75d9bd: Verifying Checksum [2024-10-14T11:53:09.876Z] 2437ff75d9bd: Download complete [2024-10-14T11:53:11.814Z] 8998bd30e6a1: Pull complete [2024-10-14T11:53:12.393Z] 04944245beec: Pull complete [2024-10-14T11:53:13.791Z] 699f458cf7ca: Pull complete [2024-10-14T11:53:14.055Z] 765212b225bb: Pull complete [2024-10-14T11:53:15.008Z] f23df028b6ca: Pull complete [2024-10-14T11:53:15.008Z] d65c8cfc05b1: Pull complete [2024-10-14T11:53:29.971Z] 2437ff75d9bd: Pull complete [2024-10-14T11:53:29.971Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-14T11:53:29.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T11:53:29.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T11:53:30.315Z] prd-ubuntu20.04-docker-arm64-4c-16g-22767 does not seem to be running inside a container [2024-10-14T11:53:30.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-14T11:53:32.955Z] $ docker top c900c99edc5b6b1e29446d4a1d080c59c393ca2543892be84d53ab7e1e02e26d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:53:33.858Z] ---> job-cost.sh [2024-10-14T11:53:33.858Z] lf-activate-venv: SKIPPING [2024-10-14T11:53:33.858Z] INFO: No Stack... [2024-10-14T11:53:34.602Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-14T11:53:35.183Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T11:53:35.540Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-10-14T11:53:35.540Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T11:53:35.617Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-496-1-stack-cost] [2024-10-14T11:53:35.624Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-496-1-stack-cost] did not exist. Created. [2024-10-14T11:53:35.630Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-496-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T11:53:36.044Z] /w/workspace/device-virtual-go/1@tmp/durable-1c831710/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-14T11:53:36.978Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-14T11:53:37.021Z] Warning: overwriting stash ‘stack-cost’ [2024-10-14T11:53:37.060Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T11:53:37.081Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-496-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T11:53:37.177Z] $ docker stop --time=1 c900c99edc5b6b1e29446d4a1d080c59c393ca2543892be84d53ab7e1e02e26d [2024-10-14T11:53:38.604Z] $ docker rm -f --volumes c900c99edc5b6b1e29446d4a1d080c59c393ca2543892be84d53ab7e1e02e26d [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-14T11:53:39.752Z] provisioning config files... [2024-10-14T11:53:39.763Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-496@tmp/config7192503870994887806tmp [Pipeline] { [Pipeline] sh [2024-10-14T11:53:40.112Z] + set +x [2024-10-14T11:53:40.112Z] + curl -s https://codecov.io/bash [2024-10-14T11:53:40.112Z] + bash -s -- [2024-10-14T11:53:40.112Z] [2024-10-14T11:53:40.112Z] _____ _ [2024-10-14T11:53:40.112Z] / ____| | | [2024-10-14T11:53:40.112Z] | | ___ __| | ___ ___ _____ __ [2024-10-14T11:53:40.112Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-14T11:53:40.112Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-14T11:53:40.112Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-14T11:53:40.112Z] Bash-1.0.6 [2024-10-14T11:53:40.112Z] [2024-10-14T11:53:40.112Z] [2024-10-14T11:53:40.112Z] ==> git version 2.25.1 found [2024-10-14T11:53:40.112Z] ==> 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-14T11:53:40.112Z] Release-Date: 2020-01-08 [2024-10-14T11:53:40.112Z] 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-14T11:53:40.112Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-14T11:53:40.112Z] ==> Jenkins CI detected. [2024-10-14T11:53:40.112Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-496 [2024-10-14T11:53:40.112Z] project root: . [2024-10-14T11:53:40.112Z] --> token set from env [2024-10-14T11:53:40.112Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-14T11:53:40.372Z] ==> Running gcov in . (disable via -X gcov) [2024-10-14T11:53:40.372Z] ==> Python coveragepy not found [2024-10-14T11:53:40.372Z] ==> Searching for coverage reports in: [2024-10-14T11:53:40.372Z] + . [2024-10-14T11:53:40.372Z] -> Found 1 reports [2024-10-14T11:53:40.372Z] ==> Detecting git/mercurial file structure [2024-10-14T11:53:40.372Z] ==> Reading reports [2024-10-14T11:53:40.372Z] + ./coverage.out bytes=43316 [2024-10-14T11:53:40.372Z] ==> Appending adjustments [2024-10-14T11:53:40.372Z] https://docs.codecov.io/docs/fixing-reports [2024-10-14T11:53:40.372Z] + Found adjustments [2024-10-14T11:53:40.372Z] ==> Gzipping contents [2024-10-14T11:53:40.372Z] 8.0K /tmp/codecov.oynn02.gz [2024-10-14T11:53:40.372Z] ==> Uploading reports [2024-10-14T11:53:40.372Z] url: https://codecov.io [2024-10-14T11:53:40.372Z] query: branch=PR-496&commit=df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-496%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=496&job=&cmd_args= [2024-10-14T11:53:40.372Z] -> Pinging Codecov [2024-10-14T11:53:40.372Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-496&commit=df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-496%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=496&job=&cmd_args= [2024-10-14T11:53:40.632Z] -> Uploading to [2024-10-14T11:53:40.632Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91/330c9537-96b0-4cc7-8ee9-4b80d4c7e730.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T115340Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6a9a88fe55c395b9d27369e724417be652dbf5c7c3c9aeff92e9f2cb6893eb3b [2024-10-14T11:53:40.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T11:53:40.632Z] Dload Upload Total Spent Left Speed [2024-10-14T11:53:40.891Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 22805 --:--:-- --:--:-- --:--:-- 22805 [2024-10-14T11:53:40.891Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/df7b7a8536e7be2ce2b4deecc8ecbaf4bc3aaa91 [Pipeline] } [2024-10-14T11:53:40.922Z] 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-14T11:53:43.092Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-496/archives ] [2024-10-14T11:53:43.092Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-496/archives [2024-10-14T11:53:43.092Z] total 16 [2024-10-14T11:53:43.092Z] drwxr-xr-x 3 root root 4096 Oct 14 11:40 . [2024-10-14T11:53:43.092Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 11:40 .. [2024-10-14T11:53:43.092Z] drwxr-xr-x 2 root root 4096 Oct 14 11:40 cost [2024-10-14T11:53:43.092Z] -rw-r--r-- 1 root root 89 Oct 14 11:40 cost.csv [2024-10-14T11:53:43.092Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-496/archives [2024-10-14T11:53:43.092Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-496/archives [2024-10-14T11:53:43.092Z] total 16 [2024-10-14T11:53:43.092Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 11:40 . [2024-10-14T11:53:43.092Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 11:40 .. [2024-10-14T11:53:43.092Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 11:40 cost [2024-10-14T11:53:43.092Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 14 11:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:53:43.436Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:53:44.339Z] ---> package-listing.sh [2024-10-14T11:53:44.339Z] ++ facter osfamily [2024-10-14T11:53:44.339Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-14T11:53:44.598Z] + OS_FAMILY=debian [2024-10-14T11:53:44.598Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-496 [2024-10-14T11:53:44.598Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-14T11:53:44.598Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-14T11:53:44.598Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-14T11:53:44.598Z] + PACKAGES=/tmp/packages_start.txt [2024-10-14T11:53:44.598Z] + '[' /w/workspace/foundry_device-virtual-go_PR-496 ']' [2024-10-14T11:53:44.598Z] + PACKAGES=/tmp/packages_end.txt [2024-10-14T11:53:44.598Z] + case "${OS_FAMILY}" in [2024-10-14T11:53:44.598Z] + dpkg -l [2024-10-14T11:53:44.599Z] + grep '^ii' [2024-10-14T11:53:44.599Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-14T11:53:44.599Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-14T11:53:44.599Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-14T11:53:44.599Z] + '[' /w/workspace/foundry_device-virtual-go_PR-496 ']' [2024-10-14T11:53:44.599Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-496/archives/ [2024-10-14T11:53:44.599Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-496/archives/ [Pipeline] echo [2024-10-14T11:53:44.649Z] 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-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-14T11:53:44.950Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T11:53:45.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T11:53:45.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T11:53:45.776Z] prd-ubuntu20.04-docker-8c-8g-22766 does not seem to be running inside a container [2024-10-14T11:53:45.800Z] $ 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-496/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-496 -v /w/workspace/foundry_device-virtual-go_PR-496:/w/workspace/foundry_device-virtual-go_PR-496:rw,z -v /w/workspace/foundry_device-virtual-go_PR-496@tmp:/w/workspace/foundry_device-virtual-go_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T11:53:45.989Z] $ docker top be6bbe65228c541fd168753cc5dc3471c2a3511eea680480ee4f19743c3f8e56 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T11:53:46.400Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-14T11:53:46.725Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-14T11:53:47.050Z] + ls /var/log/sa-host [2024-10-14T11:53:47.050Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T11:53:47.308Z] provisioning config files... [2024-10-14T11:53:47.315Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-496@tmp/config601340631490568240tmp [Pipeline] { [Pipeline] echo [2024-10-14T11:53:47.396Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:53:47.719Z] ---> create-netrc.sh [Pipeline] } [2024-10-14T11:53:47.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:53:48.179Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-14T11:53:48.227Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:53:48.546Z] ---> sudo-logs.sh [2024-10-14T11:53:48.546Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-14T11:53:48.651Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:53:49.000Z] ---> job-cost.sh [2024-10-14T11:53:49.000Z] lf-activate-venv: SKIPPING [2024-10-14T11:53:49.000Z] DEBUG: total: 0.2199999988079071 [2024-10-14T11:53:49.000Z] INFO: Retrieving Stack Cost... [2024-10-14T11:53:49.284Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T11:53:49.891Z] INFO: Archiving Costs [Pipeline] echo [2024-10-14T11:53:49.942Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T11:53:50.288Z] ---> logs-deploy.sh [2024-10-14T11:53:50.288Z] lf-activate-venv: SKIPPING [2024-10-14T11:53:50.288Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-496/1 [2024-10-14T11:53:50.288Z] INFO: archiving workspace using pattern(s): [2024-10-14T11:53:51.226Z] Archives upload complete. [2024-10-14T11:53:51.226Z] INFO: archiving logs to Nexus