Pull request #490 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f5be9262c814659dc0c22f77dcbd48ae380daab+04ce07425684dc49eb1d346851a0a7d2d821c622 (3f51c86d8ab25d3130845f51213b3ad207b98614) 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-ssh4490997587364628710.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh8201127775546141432.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-490/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-490/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4720059039584340326.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-490/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11996628611707084184.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh705983240227856988.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-490/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-490/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh221145416698977120.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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.21 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-12866 in /w/workspace/foundry_device-virtual-go_PR-490 [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-490 # 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/490/head:refs/remotes/origin/PR-490 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 04ce07425684dc49eb1d346851a0a7d2d821c622 into PR head commit 5f5be9262c814659dc0c22f77dcbd48ae380daab Merge succeeded, producing 5f5be9262c814659dc0c22f77dcbd48ae380daab Checking out Revision 5f5be9262c814659dc0c22f77dcbd48ae380daab (PR-490) 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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f5be9262c814659dc0c22f77dcbd48ae380daab # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 04ce07425684dc49eb1d346851a0a7d2d821c622 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f5be9262c814659dc0c22f77dcbd48ae380daab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-02T11:27:07.903Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-02T11:27:08.119Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-02T11:27:08.255Z] ========================================================= [2024-10-02T11:27:08.255Z] EdgeX Global Pipelines Version Info [2024-10-02T11:27:08.255Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-02T11:27:09.027Z] ------------------- [2024-10-02T11:27:09.027Z] stable info: [2024-10-02T11:27:09.027Z] ------------------- [2024-10-02T11:27:09.027Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-02T11:27:09.027Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-02T11:27:09.027Z] Message: update stable to v1.0.264 [2024-10-02T11:27:09.599Z] ------------------- [2024-10-02T11:27:09.599Z] experimental info: [2024-10-02T11:27:09.599Z] ------------------- [2024-10-02T11:27:09.599Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-02T11:27:09.599Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-02T11:27:09.599Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-02T11:27:09.867Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-10-02T11:27:09.927Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-10-02T11:27:09.990Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-02T11:27:10.044Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-02T11:27:10.109Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-02T11:27:10.166Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-02T11:27:10.224Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-02T11:27:10.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-02T11:27:10.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-02T11:27:10.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-02T11:27:10.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-02T11:27:10.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-10-02T11:27:10.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-02T11:27:10.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-02T11:27:10.692Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-02T11:27:10.750Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-02T11:27:10.881Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-02T11:27:10.936Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-02T11:27:10.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-02T11:27:11.054Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-02T11:27:11.115Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-02T11:27:11.176Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-02T11:27:11.237Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-02T11:27:11.297Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-02T11:27:11.354Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-02T11:27:11.415Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-02T11:27:11.473Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-02T11:27:11.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-490 [Pipeline] echo [2024-10-02T11:27:11.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-490 [Pipeline] echo [2024-10-02T11:27:11.661Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-490 [Pipeline] echo [2024-10-02T11:27:11.716Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f5be9262c814659dc0c22f77dcbd48ae380daab [Pipeline] echo [2024-10-02T11:27:11.772Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f5be92 [Pipeline] echo [2024-10-02T11:27:11.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T11:27:11.996Z] provisioning config files... [2024-10-02T11:27:12.011Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-490@tmp/config16051813771674562223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T11:27:12.414Z] ---> ****-login.sh [2024-10-02T11:27:12.414Z] nexus3.edgexfoundry.org:10001 [2024-10-02T11:27:12.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:27:12.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:27:12.675Z] Configure a credential helper to remove this warning. See [2024-10-02T11:27:12.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:27:12.675Z] [2024-10-02T11:27:12.675Z] Login Succeeded [2024-10-02T11:27:12.675Z] nexus3.edgexfoundry.org:10002 [2024-10-02T11:27:12.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:27:12.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:27:12.675Z] Configure a credential helper to remove this warning. See [2024-10-02T11:27:12.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:27:12.675Z] [2024-10-02T11:27:12.675Z] Login Succeeded [2024-10-02T11:27:12.675Z] nexus3.edgexfoundry.org:10003 [2024-10-02T11:27:12.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:27:12.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:27:12.936Z] Configure a credential helper to remove this warning. See [2024-10-02T11:27:12.936Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:27:12.936Z] [2024-10-02T11:27:12.936Z] Login Succeeded [2024-10-02T11:27:12.936Z] nexus3.edgexfoundry.org:10004 [2024-10-02T11:27:12.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:27:12.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:27:12.936Z] Configure a credential helper to remove this warning. See [2024-10-02T11:27:12.936Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:27:12.936Z] [2024-10-02T11:27:12.936Z] Login Succeeded [2024-10-02T11:27:12.936Z] ****.io [2024-10-02T11:27:13.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:27:13.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:27:13.196Z] Configure a credential helper to remove this warning. See [2024-10-02T11:27:13.197Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:27:13.197Z] [2024-10-02T11:27:13.197Z] Login Succeeded [2024-10-02T11:27:13.197Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T11:27:13.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-02T11:27:13.931Z] + git rev-list -1 --merges 5f5be9262c814659dc0c22f77dcbd48ae380daab~1..5f5be9262c814659dc0c22f77dcbd48ae380daab [Pipeline] echo [2024-10-02T11:27:13.986Z] -----------> git rev-list -1 --merges 5f5be9262c814659dc0c22f77dcbd48ae380daab~1..5f5be9262c814659dc0c22f77dcbd48ae380daab 5f5be9262c814659dc0c22f77dcbd48ae380daab [false] [Pipeline] sh [2024-10-02T11:27:14.316Z] + git log --format=format:%s -1 5f5be9262c814659dc0c22f77dcbd48ae380daab [Pipeline] echo [2024-10-02T11:27:14.361Z] ========================================================= [2024-10-02T11:27:14.361Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-02T11:27:14.361Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T11:27:14.830Z] + git log --format=format:%s -1 5f5be9262c814659dc0c22f77dcbd48ae380daab [Pipeline] echo [2024-10-02T11:27:14.872Z] [semverPrep] GIT_COMMIT: 5f5be9262c814659dc0c22f77dcbd48ae380daab, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-02T11:27:14.919Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-02T11:27:15.361Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-02T11:27:15.361Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-02T11:27:15.361Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-02T11:27:15.361Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-02T11:27:15.361Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-02T11:27:15.361Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-02T11:27:15.361Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T11:27:15.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T11:27:15.878Z] [2024-10-02T11:27:15.878Z] 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-02T11:27:16.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T11:27:16.282Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-02T11:27:16.282Z] b85a868b505f: Pulling fs layer [2024-10-02T11:27:16.282Z] e2be974225ed: Pulling fs layer [2024-10-02T11:27:16.282Z] 339a4e72a1f5: Pulling fs layer [2024-10-02T11:27:16.282Z] 988bab9f4d93: Pulling fs layer [2024-10-02T11:27:16.282Z] 1469e6f7b9e6: Pulling fs layer [2024-10-02T11:27:16.282Z] 988bab9f4d93: Waiting [2024-10-02T11:27:16.282Z] eaf3925da568: Pulling fs layer [2024-10-02T11:27:16.282Z] 1469e6f7b9e6: Waiting [2024-10-02T11:27:16.282Z] bab4dde63d76: Pulling fs layer [2024-10-02T11:27:16.282Z] bde34c3a00c8: Pulling fs layer [2024-10-02T11:27:16.282Z] eaf3925da568: Waiting [2024-10-02T11:27:16.282Z] bab4dde63d76: Waiting [2024-10-02T11:27:16.282Z] b352a97aabf1: Pulling fs layer [2024-10-02T11:27:16.282Z] bde34c3a00c8: Waiting [2024-10-02T11:27:16.282Z] 4872d77fe225: Pulling fs layer [2024-10-02T11:27:16.282Z] 5851b861e8e6: Pulling fs layer [2024-10-02T11:27:16.282Z] b352a97aabf1: Waiting [2024-10-02T11:27:16.282Z] 4872d77fe225: Waiting [2024-10-02T11:27:16.282Z] 5851b861e8e6: Waiting [2024-10-02T11:27:16.282Z] e2be974225ed: Download complete [2024-10-02T11:27:16.282Z] 988bab9f4d93: Verifying Checksum [2024-10-02T11:27:16.282Z] 988bab9f4d93: Download complete [2024-10-02T11:27:16.543Z] 1469e6f7b9e6: Verifying Checksum [2024-10-02T11:27:16.543Z] 1469e6f7b9e6: Download complete [2024-10-02T11:27:16.543Z] eaf3925da568: Verifying Checksum [2024-10-02T11:27:16.543Z] eaf3925da568: Download complete [2024-10-02T11:27:16.543Z] 339a4e72a1f5: Verifying Checksum [2024-10-02T11:27:16.543Z] 339a4e72a1f5: Download complete [2024-10-02T11:27:16.543Z] bde34c3a00c8: Download complete [2024-10-02T11:27:16.543Z] b352a97aabf1: Verifying Checksum [2024-10-02T11:27:16.543Z] b352a97aabf1: Download complete [2024-10-02T11:27:16.543Z] 4872d77fe225: Verifying Checksum [2024-10-02T11:27:16.543Z] 4872d77fe225: Download complete [2024-10-02T11:27:16.543Z] 5851b861e8e6: Download complete [2024-10-02T11:27:16.543Z] b85a868b505f: Verifying Checksum [2024-10-02T11:27:16.543Z] b85a868b505f: Download complete [2024-10-02T11:27:16.802Z] bab4dde63d76: Verifying Checksum [2024-10-02T11:27:16.802Z] bab4dde63d76: Download complete [2024-10-02T11:27:17.739Z] b85a868b505f: Pull complete [2024-10-02T11:27:17.999Z] e2be974225ed: Pull complete [2024-10-02T11:27:18.570Z] 339a4e72a1f5: Pull complete [2024-10-02T11:27:18.570Z] 988bab9f4d93: Pull complete [2024-10-02T11:27:18.830Z] 1469e6f7b9e6: Pull complete [2024-10-02T11:27:18.830Z] eaf3925da568: Pull complete [2024-10-02T11:27:20.738Z] bab4dde63d76: Pull complete [2024-10-02T11:27:20.738Z] bde34c3a00c8: Pull complete [2024-10-02T11:27:20.738Z] b352a97aabf1: Pull complete [2024-10-02T11:27:20.738Z] 4872d77fe225: Pull complete [2024-10-02T11:27:20.738Z] 5851b861e8e6: Pull complete [2024-10-02T11:27:20.738Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-02T11:27:20.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T11:27:20.738Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T11:27:21.035Z] prd-ubuntu20.04-docker-8c-8g-12866 does not seem to be running inside a container [2024-10-02T11:27:21.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-490 -v /w/workspace/foundry_device-virtual-go_PR-490:/w/workspace/foundry_device-virtual-go_PR-490:rw,z -v /w/workspace/foundry_device-virtual-go_PR-490@tmp:/w/workspace/foundry_device-virtual-go_PR-490@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-02T11:27:23.534Z] $ docker top af4ae9686b637bc0e3a0bc34f850763d56a83895d9146771d6d8084dd34b8f4a -eo pid,comm [2024-10-02T11:27:23.597Z] 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-02T11:27:23.597Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-02T11:27:23.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-02T11:27:23.769Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-02T11:27:23.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-02T11:27:23.893Z] $ docker exec af4ae9686b637bc0e3a0bc34f850763d56a83895d9146771d6d8084dd34b8f4a ssh-agent [2024-10-02T11:27:24.002Z] SSH_AUTH_SOCK=/tmp/ssh-5O2kOlAvoTrz/agent.32 [2024-10-02T11:27:24.002Z] SSH_AGENT_PID=39 [2024-10-02T11:27:24.009Z] Running ssh-add (command line suppressed) [2024-10-02T11:27:24.120Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-490@tmp/private_key_6370812582866988132.key (/w/workspace/foundry_device-virtual-go_PR-490@tmp/private_key_6370812582866988132.key) [2024-10-02T11:27:24.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-02T11:27:24.476Z] + git tag --points-at HEAD [Pipeline] } [2024-10-02T11:27:24.504Z] $ docker exec --env ******** --env ******** af4ae9686b637bc0e3a0bc34f850763d56a83895d9146771d6d8084dd34b8f4a ssh-agent -k [2024-10-02T11:27:24.604Z] unset SSH_AUTH_SOCK; [2024-10-02T11:27:24.604Z] unset SSH_AGENT_PID; [2024-10-02T11:27:24.604Z] echo Agent pid 39 killed; [2024-10-02T11:27:24.613Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-02T11:27:24.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-02T11:27:24.731Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-02T11:27:24.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-02T11:27:24.849Z] $ docker exec af4ae9686b637bc0e3a0bc34f850763d56a83895d9146771d6d8084dd34b8f4a ssh-agent [2024-10-02T11:27:24.957Z] SSH_AUTH_SOCK=/tmp/ssh-F8rAm3cNvV0p/agent.72 [2024-10-02T11:27:24.957Z] SSH_AGENT_PID=78 [2024-10-02T11:27:24.961Z] Running ssh-add (command line suppressed) [2024-10-02T11:27:25.062Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-490@tmp/private_key_8506439427864819184.key (/w/workspace/foundry_device-virtual-go_PR-490@tmp/private_key_8506439427864819184.key) [2024-10-02T11:27:25.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-02T11:27:25.418Z] + git semver init [2024-10-02T11:27:25.677Z] 2024-10-02 11:27:25,595 [run_init] DEBUG init version:0.0.0 force:False [2024-10-02T11:27:25.677Z] 2024-10-02 11:27:25,596 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-490/.semver [2024-10-02T11:27:25.677Z] 2024-10-02 11:27:25,596 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-490/.semver [2024-10-02T11:27:25.677Z] 2024-10-02 11:27:25,597 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-490/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-490, universal_newlines=False, shell=None, istream=None) [2024-10-02T11:27:27.585Z] 2024-10-02 11:27:27,494 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-490/.git/info/exclude [2024-10-02T11:27:27.585Z] 2024-10-02 11:27:27,494 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-490/.semver/PR-490 with force:False [2024-10-02T11:27:27.585Z] 2024-10-02 11:27:27,495 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-490/.semver/PR-490 [2024-10-02T11:27:27.585Z] 2024-10-02 11:27:27,498 [execute] INFO git cat-file --batch-check [2024-10-02T11:27:27.585Z] 2024-10-02 11:27:27,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-490/.semver, universal_newlines=False, shell=None, istream=) [2024-10-02T11:27:27.585Z] 2024-10-02 11:27:27,504 [execute] INFO git cat-file --batch [2024-10-02T11:27:27.585Z] 2024-10-02 11:27:27,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-490/.semver, universal_newlines=False, shell=None, istream=) [2024-10-02T11:27:27.585Z] 2024-10-02 11:27:27,509 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-490/.semver/PR-490 [2024-10-02T11:27:27.585Z] 0.0.0 [Pipeline] } [2024-10-02T11:27:27.616Z] $ docker exec --env ******** --env ******** af4ae9686b637bc0e3a0bc34f850763d56a83895d9146771d6d8084dd34b8f4a ssh-agent -k [2024-10-02T11:27:27.705Z] unset SSH_AUTH_SOCK; [2024-10-02T11:27:27.706Z] unset SSH_AGENT_PID; [2024-10-02T11:27:27.706Z] echo Agent pid 78 killed; [2024-10-02T11:27:27.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-02T11:27:28.189Z] + git semver [Pipeline] } [2024-10-02T11:27:28.479Z] $ docker stop --time=1 af4ae9686b637bc0e3a0bc34f850763d56a83895d9146771d6d8084dd34b8f4a [2024-10-02T11:27:29.759Z] $ docker rm -f --volumes af4ae9686b637bc0e3a0bc34f850763d56a83895d9146771d6d8084dd34b8f4a [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T11:27:30.179Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-02T11:27:30.468Z] Stashed 1 file(s) [Pipeline] echo [2024-10-02T11:27:30.492Z] [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-02T11:27:31.233Z] provisioning config files... [2024-10-02T11:27:31.242Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-490@tmp/config12851396961012607760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T11:27:31.623Z] ---> ****-login.sh [2024-10-02T11:27:31.623Z] nexus3.edgexfoundry.org:10001 [2024-10-02T11:27:31.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:27:31.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:27:31.623Z] Configure a credential helper to remove this warning. See [2024-10-02T11:27:31.623Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:27:31.623Z] [2024-10-02T11:27:31.623Z] Login Succeeded [2024-10-02T11:27:31.623Z] nexus3.edgexfoundry.org:10002 [2024-10-02T11:27:31.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:27:31.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:27:31.624Z] Configure a credential helper to remove this warning. See [2024-10-02T11:27:31.624Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:27:31.624Z] [2024-10-02T11:27:31.624Z] Login Succeeded [2024-10-02T11:27:31.624Z] nexus3.edgexfoundry.org:10003 [2024-10-02T11:27:31.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:27:31.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:27:31.889Z] Configure a credential helper to remove this warning. See [2024-10-02T11:27:31.889Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:27:31.889Z] [2024-10-02T11:27:31.889Z] Login Succeeded [2024-10-02T11:27:31.889Z] nexus3.edgexfoundry.org:10004 [2024-10-02T11:27:31.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:27:31.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:27:31.890Z] Configure a credential helper to remove this warning. See [2024-10-02T11:27:31.890Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:27:31.890Z] [2024-10-02T11:27:31.890Z] Login Succeeded [2024-10-02T11:27:31.890Z] ****.io [2024-10-02T11:27:31.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:27:32.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:27:32.151Z] Configure a credential helper to remove this warning. See [2024-10-02T11:27:32.151Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:27:32.151Z] [2024-10-02T11:27:32.151Z] Login Succeeded [2024-10-02T11:27:32.151Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T11:27:32.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-02T11:27:32.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T11:27:32.469Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T11:27:32.515Z] ========================================================= [2024-10-02T11:27:32.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-02T11:27:32.515Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T11:27:33.044Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-02T11:27:33.044Z] Sending build context to Docker daemon 37.62MB [2024-10-02T11:27:33.044Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T11:27:33.044Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-02T11:27:33.322Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-02T11:27:33.322Z] 619be1103602: Pulling fs layer [2024-10-02T11:27:33.322Z] 7862e08f4a3e: Pulling fs layer [2024-10-02T11:27:33.322Z] 5df492c9dc93: Pulling fs layer [2024-10-02T11:27:33.323Z] 7629e6793208: Pulling fs layer [2024-10-02T11:27:33.323Z] 4f4fb700ef54: Pulling fs layer [2024-10-02T11:27:33.323Z] fb5054dd5b73: Pulling fs layer [2024-10-02T11:27:33.323Z] eeca6798cff9: Pulling fs layer [2024-10-02T11:27:33.323Z] aa269ceb94a6: Pulling fs layer [2024-10-02T11:27:33.323Z] ada007ff1a6a: Pulling fs layer [2024-10-02T11:27:33.323Z] 7629e6793208: Waiting [2024-10-02T11:27:33.323Z] 4f4fb700ef54: Waiting [2024-10-02T11:27:33.323Z] fb5054dd5b73: Waiting [2024-10-02T11:27:33.323Z] eeca6798cff9: Waiting [2024-10-02T11:27:33.323Z] aa269ceb94a6: Waiting [2024-10-02T11:27:33.323Z] ada007ff1a6a: Waiting [2024-10-02T11:27:33.323Z] 7862e08f4a3e: Verifying Checksum [2024-10-02T11:27:33.323Z] 7862e08f4a3e: Download complete [2024-10-02T11:27:33.323Z] 7629e6793208: Verifying Checksum [2024-10-02T11:27:33.323Z] 7629e6793208: Download complete [2024-10-02T11:27:33.323Z] 4f4fb700ef54: Verifying Checksum [2024-10-02T11:27:33.323Z] 4f4fb700ef54: Download complete [2024-10-02T11:27:33.323Z] fb5054dd5b73: Verifying Checksum [2024-10-02T11:27:33.323Z] fb5054dd5b73: Download complete [2024-10-02T11:27:33.323Z] 619be1103602: Verifying Checksum [2024-10-02T11:27:33.323Z] 619be1103602: Download complete [2024-10-02T11:27:33.323Z] eeca6798cff9: Verifying Checksum [2024-10-02T11:27:33.323Z] eeca6798cff9: Download complete [2024-10-02T11:27:33.584Z] 619be1103602: Pull complete [2024-10-02T11:27:33.584Z] ada007ff1a6a: Verifying Checksum [2024-10-02T11:27:33.584Z] ada007ff1a6a: Download complete [2024-10-02T11:27:33.584Z] 7862e08f4a3e: Pull complete [2024-10-02T11:27:33.844Z] 5df492c9dc93: Verifying Checksum [2024-10-02T11:27:33.844Z] 5df492c9dc93: Download complete [2024-10-02T11:27:34.102Z] aa269ceb94a6: Verifying Checksum [2024-10-02T11:27:34.102Z] aa269ceb94a6: Download complete [2024-10-02T11:27:36.636Z] 5df492c9dc93: Pull complete [2024-10-02T11:27:36.636Z] 7629e6793208: Pull complete [2024-10-02T11:27:36.636Z] 4f4fb700ef54: Pull complete [2024-10-02T11:27:36.636Z] fb5054dd5b73: Pull complete [2024-10-02T11:27:36.893Z] eeca6798cff9: Pull complete [2024-10-02T11:27:39.434Z] aa269ceb94a6: Pull complete [2024-10-02T11:27:39.434Z] ada007ff1a6a: Pull complete [2024-10-02T11:27:39.434Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-02T11:27:39.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-02T11:27:39.696Z] ---> f489d0715acc [2024-10-02T11:27:39.696Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-02T11:27:43.910Z] ---> Running in 76cb671c1e7c [2024-10-02T11:27:43.910Z] Removing intermediate container 76cb671c1e7c [2024-10-02T11:27:43.910Z] ---> f223f5daf4f8 [2024-10-02T11:27:43.910Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-02T11:27:43.910Z] ---> Running in db81238f9672 [2024-10-02T11:27:43.910Z] Removing intermediate container db81238f9672 [2024-10-02T11:27:43.910Z] ---> 9f719a04da1e [2024-10-02T11:27:43.910Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-02T11:27:43.910Z] ---> Running in 2cf7db0d8b79 [2024-10-02T11:27:43.910Z] Removing intermediate container 2cf7db0d8b79 [2024-10-02T11:27:43.910Z] ---> 9184e0b7b44c [2024-10-02T11:27:43.910Z] Step 6/12 : WORKDIR /device-virtual-go [2024-10-02T11:27:43.910Z] ---> Running in 022763bafb2f [2024-10-02T11:27:43.910Z] Removing intermediate container 022763bafb2f [2024-10-02T11:27:43.910Z] ---> f140b4d5de0a [2024-10-02T11:27:43.910Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-02T11:27:43.910Z] ---> Running in e4eac26f474d [2024-10-02T11:27:44.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T11:27:44.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T11:27:44.431Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-10-02T11:27:44.431Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-10-02T11:27:44.431Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-10-02T11:27:44.691Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-10-02T11:27:44.691Z] Executing busybox-1.36.1-r5.trigger [2024-10-02T11:27:44.691Z] OK: 268 MiB in 56 packages [2024-10-02T11:27:45.260Z] Removing intermediate container e4eac26f474d [2024-10-02T11:27:45.260Z] ---> f98b87103796 [2024-10-02T11:27:45.260Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-02T11:27:45.260Z] ---> 0fd136846d57 [2024-10-02T11:27:45.260Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T11:27:45.260Z] ---> Running in 22fa798ef66e [2024-10-02T11:27:46.021Z] Still waiting to schedule task [2024-10-02T11:27:46.021Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-02T11:28:31.972Z] Removing intermediate container 22fa798ef66e [2024-10-02T11:28:31.972Z] ---> cbae8db19abf [2024-10-02T11:28:31.972Z] Step 10/12 : COPY . . [2024-10-02T11:28:32.912Z] ---> 56f791d981a1 [2024-10-02T11:28:32.912Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-02T11:28:32.912Z] ---> Running in 471be4737dc7 [2024-10-02T11:28:32.912Z] Removing intermediate container 471be4737dc7 [2024-10-02T11:28:32.912Z] ---> 0859713004ce [2024-10-02T11:28:32.912Z] Step 12/12 : RUN $MAKE [2024-10-02T11:28:32.912Z] ---> Running in df501e88fd63 [2024-10-02T11:28:33.172Z] noop [2024-10-02T11:28:33.431Z] Removing intermediate container df501e88fd63 [2024-10-02T11:28:33.431Z] ---> 8944f796861c [2024-10-02T11:28:33.431Z] Successfully built 8944f796861c [2024-10-02T11:28:33.431Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T11:28:33.928Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-02T11:28:33.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T11:28:34.118Z] prd-ubuntu20.04-docker-8c-8g-12866 does not seem to be running inside a container [2024-10-02T11:28:34.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-490 -v /w/workspace/foundry_device-virtual-go_PR-490:/w/workspace/foundry_device-virtual-go_PR-490:rw,z -v /w/workspace/foundry_device-virtual-go_PR-490@tmp:/w/workspace/foundry_device-virtual-go_PR-490@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-02T11:28:34.482Z] $ docker top 92f6dbeff69afb57c76a6d67c94326d15700a550dad2d1de6c482eef8eab16d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T11:28:34.933Z] + go version [2024-10-02T11:28:34.933Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-02T11:28:34.971Z] $ docker stop --time=1 92f6dbeff69afb57c76a6d67c94326d15700a550dad2d1de6c482eef8eab16d8 [2024-10-02T11:28:36.215Z] $ docker rm -f --volumes 92f6dbeff69afb57c76a6d67c94326d15700a550dad2d1de6c482eef8eab16d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T11:28:37.041Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-02T11:28:37.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T11:28:37.240Z] prd-ubuntu20.04-docker-8c-8g-12866 does not seem to be running inside a container [2024-10-02T11:28:37.269Z] $ 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-490 -v /w/workspace/foundry_device-virtual-go_PR-490:/w/workspace/foundry_device-virtual-go_PR-490:rw,z -v /w/workspace/foundry_device-virtual-go_PR-490@tmp:/w/workspace/foundry_device-virtual-go_PR-490@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-02T11:28:37.585Z] $ docker top b760826e9c91ffc8e0eabd77d7a8c0c4670789e89d25400b962838cddb4ab429 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T11:28:37.995Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-490 [Pipeline] fileExists [Pipeline] sh [2024-10-02T11:28:38.382Z] + make test [2024-10-02T11:28:38.382Z] go test ./... -coverprofile=coverage.out [2024-10-02T11:28:40.282Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-10-02T11:28:58.347Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-10-02T11:28:58.347Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.014s coverage: 58.4% of statements [2024-10-02T11:29:08.321Z] go vet ./... [2024-10-02T11:29:13.593Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-02T11:29:13.593Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-02T11:29:13.593Z] ./bin/test-attribution-txt.sh [2024-10-02T11:29:13.593Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-02T11:29:13.593Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-10-02T11:29:13.593Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-02T11:29:13.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-02T11:29:13.773Z] $ docker stop --time=1 b760826e9c91ffc8e0eabd77d7a8c0c4670789e89d25400b962838cddb4ab429 [2024-10-02T11:29:17.817Z] $ docker rm -f --volumes b760826e9c91ffc8e0eabd77d7a8c0c4670789e89d25400b962838cddb4ab429 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T11:29:18.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-02T11:29:18.502Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-02T11:29:19.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-02T11:29:19.747Z] + ls -al . [2024-10-02T11:29:19.747Z] total 276 [2024-10-02T11:29:19.747Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 11:28 . [2024-10-02T11:29:19.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 11:27 .. [2024-10-02T11:29:19.747Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 11:28 .git [2024-10-02T11:29:19.747Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 11:27 .github [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 2 11:27 .gitignore [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 11:27 .golangci.yml [2024-10-02T11:29:19.747Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 11:27 .semver [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 17933 Oct 2 11:27 Attribution.txt [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 15941 Oct 2 11:27 CHANGELOG.md [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 1755 Oct 2 11:27 Dockerfile [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 11:27 GOVERNANCE.md [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 2 11:27 Jenkinsfile [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 2 11:27 LICENSE [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 1953 Oct 2 11:27 Makefile [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 2 11:27 OWNERS.md [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 2 11:27 README.md [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 11:27 VERSION [2024-10-02T11:29:19.747Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 11:27 bin [2024-10-02T11:29:19.747Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 11:27 cmd [2024-10-02T11:29:19.747Z] -rw-r--r-- 1 jenkins jenkins 43247 Oct 2 11:28 coverage.out [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 6895 Oct 2 11:27 go.mod [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 2 11:27 go.sum [2024-10-02T11:29:19.747Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 11:27 internal [2024-10-02T11:29:19.747Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 2 11:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T11:29:20.192Z] + 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=5f5be9262c814659dc0c22f77dcbd48ae380daab --label arch=amd64 --label version=0.0.0 . [2024-10-02T11:29:20.192Z] Sending build context to Docker daemon 37.67MB [2024-10-02T11:29:20.192Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T11:29:20.192Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-02T11:29:20.192Z] ---> 8944f796861c [2024-10-02T11:29:20.192Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-02T11:29:21.130Z] ---> Running in 0506c6c27a2d [2024-10-02T11:29:21.130Z] Removing intermediate container 0506c6c27a2d [2024-10-02T11:29:21.130Z] ---> 1bf0654fa9f5 [2024-10-02T11:29:21.130Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-02T11:29:21.130Z] ---> Running in 80fa69fe8416 [2024-10-02T11:29:21.130Z] Removing intermediate container 80fa69fe8416 [2024-10-02T11:29:21.130Z] ---> 6d882457a74c [2024-10-02T11:29:21.130Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-02T11:29:21.130Z] ---> Running in ee38274546e2 [2024-10-02T11:29:21.130Z] Removing intermediate container ee38274546e2 [2024-10-02T11:29:21.130Z] ---> 505fd75bf100 [2024-10-02T11:29:21.130Z] Step 6/26 : WORKDIR /device-virtual-go [2024-10-02T11:29:21.130Z] ---> Running in 76df43200abd [2024-10-02T11:29:21.388Z] Removing intermediate container 76df43200abd [2024-10-02T11:29:21.388Z] ---> 47bfe65a68ed [2024-10-02T11:29:21.388Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-02T11:29:21.388Z] ---> Running in 32c4c7fcaf76 [2024-10-02T11:29:21.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T11:29:21.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T11:29:21.906Z] OK: 268 MiB in 56 packages [2024-10-02T11:29:22.472Z] Removing intermediate container 32c4c7fcaf76 [2024-10-02T11:29:22.472Z] ---> bc8ce696d515 [2024-10-02T11:29:22.472Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-02T11:29:22.472Z] ---> a38db30f54db [2024-10-02T11:29:22.472Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T11:29:22.472Z] ---> Running in efa3b8fd95fb [2024-10-02T11:29:23.040Z] Removing intermediate container efa3b8fd95fb [2024-10-02T11:29:23.040Z] ---> 8a4ab281be66 [2024-10-02T11:29:23.040Z] Step 10/26 : COPY . . [2024-10-02T11:29:23.974Z] ---> b33ea6ad403f [2024-10-02T11:29:23.974Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-02T11:29:23.974Z] ---> Running in 1a7cf3799b8e [2024-10-02T11:29:24.233Z] Removing intermediate container 1a7cf3799b8e [2024-10-02T11:29:24.233Z] ---> e72110360def [2024-10-02T11:29:24.233Z] Step 12/26 : RUN $MAKE [2024-10-02T11:29:24.233Z] ---> Running in fa25efea94f4 [2024-10-02T11:29:24.491Z] 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.40" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-10-02T11:29:56.556Z] Removing intermediate container fa25efea94f4 [2024-10-02T11:29:56.556Z] ---> 23512e8cf463 [2024-10-02T11:29:56.556Z] Step 13/26 : FROM alpine:3.18 [2024-10-02T11:29:56.556Z] 3.18: Pulling from library/alpine [2024-10-02T11:29:56.556Z] 1cc3d825d8b2: Pulling fs layer [2024-10-02T11:29:56.556Z] 1cc3d825d8b2: Pull complete [2024-10-02T11:29:56.556Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-02T11:29:56.556Z] Status: Downloaded newer image for alpine:3.18 [2024-10-02T11:29:56.556Z] ---> 2c64cf60f6f0 [2024-10-02T11:29:56.557Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-10-02T11:29:56.557Z] ---> Running in 813e77a66bbd [2024-10-02T11:29:56.557Z] Removing intermediate container 813e77a66bbd [2024-10-02T11:29:56.557Z] ---> bed8316b6de2 [2024-10-02T11:29:56.557Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-02T11:29:56.557Z] ---> Running in 3fe37925d321 [2024-10-02T11:29:56.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T11:29:57.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T11:29:57.337Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-02T11:29:57.337Z] Executing busybox-1.36.1-r7.trigger [2024-10-02T11:29:57.337Z] OK: 7 MiB in 16 packages [2024-10-02T11:29:57.597Z] Removing intermediate container 3fe37925d321 [2024-10-02T11:29:57.597Z] ---> 9454261c07e6 [2024-10-02T11:29:57.597Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-02T11:29:57.597Z] ---> Running in c2a8ea568335 [2024-10-02T11:29:57.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T11:29:58.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T11:29:58.117Z] OK: 7 MiB in 16 packages [2024-10-02T11:29:58.376Z] Removing intermediate container c2a8ea568335 [2024-10-02T11:29:58.376Z] ---> 0fee6fc51906 [2024-10-02T11:29:58.376Z] Step 17/26 : WORKDIR / [2024-10-02T11:29:58.376Z] ---> Running in 16a982c5e448 [2024-10-02T11:29:58.641Z] Removing intermediate container 16a982c5e448 [2024-10-02T11:29:58.641Z] ---> 7ffae5344bfa [2024-10-02T11:29:58.641Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-10-02T11:29:58.641Z] ---> e930ca5a11f8 [2024-10-02T11:29:58.641Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-10-02T11:29:58.901Z] ---> 8fae91b4bc85 [2024-10-02T11:29:58.901Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-10-02T11:30:00.277Z] ---> 6eddbbc35b38 [2024-10-02T11:30:00.277Z] Step 21/26 : EXPOSE 59900 [2024-10-02T11:30:00.277Z] ---> Running in d4408e97e823 [2024-10-02T11:30:00.277Z] Removing intermediate container d4408e97e823 [2024-10-02T11:30:00.277Z] ---> f85b6f8836a5 [2024-10-02T11:30:00.277Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-10-02T11:30:00.277Z] ---> Running in 7a627a7a8bcb [2024-10-02T11:30:00.277Z] Removing intermediate container 7a627a7a8bcb [2024-10-02T11:30:00.277Z] ---> db24ae01b2cb [2024-10-02T11:30:00.277Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-02T11:30:00.277Z] ---> Running in a11df0929ba1 [2024-10-02T11:30:00.277Z] Removing intermediate container a11df0929ba1 [2024-10-02T11:30:00.277Z] ---> 52f105e71437 [2024-10-02T11:30:00.277Z] Step 24/26 : LABEL arch=amd64 [2024-10-02T11:30:00.277Z] ---> Running in 5e0724394746 [2024-10-02T11:30:00.277Z] Removing intermediate container 5e0724394746 [2024-10-02T11:30:00.277Z] ---> 8b36b0e44724 [2024-10-02T11:30:00.277Z] Step 25/26 : LABEL git_sha=5f5be9262c814659dc0c22f77dcbd48ae380daab [2024-10-02T11:30:00.277Z] ---> Running in cfba378c1205 [2024-10-02T11:30:00.536Z] Removing intermediate container cfba378c1205 [2024-10-02T11:30:00.536Z] ---> c7d4f948be9d [2024-10-02T11:30:00.536Z] Step 26/26 : LABEL version=0.0.0 [2024-10-02T11:30:00.536Z] ---> Running in 1f076258a4a2 [2024-10-02T11:30:00.536Z] Removing intermediate container 1f076258a4a2 [2024-10-02T11:30:00.536Z] ---> 18387cd92a30 [2024-10-02T11:30:00.536Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-02T11:30:00.536Z] Successfully built 18387cd92a30 [2024-10-02T11:30:00.536Z] 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-02T11:30:01.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T11:30:01.662Z] [2024-10-02T11:30:01.662Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T11:30:02.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T11:30:02.074Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-02T11:30:02.074Z] 5eb5b503b376: Pulling fs layer [2024-10-02T11:30:02.074Z] 5c69ac0246d0: Pulling fs layer [2024-10-02T11:30:02.074Z] ec43610c2a17: Pulling fs layer [2024-10-02T11:30:02.074Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-02T11:30:02.074Z] 33b1e0a273af: Pulling fs layer [2024-10-02T11:30:02.074Z] 5d3b04190fa2: Pulling fs layer [2024-10-02T11:30:02.074Z] 2f39f015ded8: Pulling fs layer [2024-10-02T11:30:02.074Z] 33b1e0a273af: Waiting [2024-10-02T11:30:02.074Z] 5d3b04190fa2: Waiting [2024-10-02T11:30:02.074Z] 2f39f015ded8: Waiting [2024-10-02T11:30:02.074Z] 3a2ae6a8a46f: Waiting [2024-10-02T11:30:02.074Z] 5c69ac0246d0: Verifying Checksum [2024-10-02T11:30:02.074Z] 5c69ac0246d0: Download complete [2024-10-02T11:30:02.074Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-02T11:30:02.074Z] 33b1e0a273af: Verifying Checksum [2024-10-02T11:30:02.074Z] 33b1e0a273af: Download complete [2024-10-02T11:30:02.074Z] 5d3b04190fa2: Download complete [2024-10-02T11:30:02.074Z] ec43610c2a17: Verifying Checksum [2024-10-02T11:30:02.074Z] ec43610c2a17: Download complete [2024-10-02T11:30:02.342Z] 5eb5b503b376: Verifying Checksum [2024-10-02T11:30:02.342Z] 5eb5b503b376: Download complete [2024-10-02T11:30:02.911Z] 2f39f015ded8: Verifying Checksum [2024-10-02T11:30:02.912Z] 2f39f015ded8: Download complete [2024-10-02T11:30:03.479Z] 5eb5b503b376: Pull complete [2024-10-02T11:30:03.737Z] 5c69ac0246d0: Pull complete [2024-10-02T11:30:03.995Z] ec43610c2a17: Pull complete [2024-10-02T11:30:03.995Z] 3a2ae6a8a46f: Pull complete [2024-10-02T11:30:04.254Z] 33b1e0a273af: Pull complete [2024-10-02T11:30:04.513Z] 5d3b04190fa2: Pull complete [2024-10-02T11:30:08.699Z] 2f39f015ded8: Pull complete [2024-10-02T11:30:08.699Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-02T11:30:08.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T11:30:08.699Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T11:30:08.971Z] prd-ubuntu20.04-docker-8c-8g-12866 does not seem to be running inside a container [2024-10-02T11:30:08.996Z] $ 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-490 -v /w/workspace/foundry_device-virtual-go_PR-490:/w/workspace/foundry_device-virtual-go_PR-490:rw,z -v /w/workspace/foundry_device-virtual-go_PR-490@tmp:/w/workspace/foundry_device-virtual-go_PR-490@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-02T11:30:12.897Z] $ docker top f2fea96f6c86bf306c2fdafeae0855e3528e5b1fd81bc2b9544d109a9e78ba44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T11:30:13.378Z] ---> job-cost.sh [2024-10-02T11:30:13.378Z] lf-activate-venv: SKIPPING [2024-10-02T11:30:13.378Z] INFO: No Stack... [2024-10-02T11:30:13.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-02T11:30:13.895Z] INFO: Archiving Costs [Pipeline] sh [2024-10-02T11:30:14.213Z] + cat /w/workspace/foundry_device-virtual-go_PR-490/archives/cost.csv [2024-10-02T11:30:14.213Z] + cut -d, -f6 [Pipeline] lock [2024-10-02T11:30:14.260Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-490-1-stack-cost] [2024-10-02T11:30:14.273Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-490-1-stack-cost] did not exist. Created. [2024-10-02T11:30:14.280Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-490-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-02T11:30:14.687Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-02T11:30:14.740Z] Stashed 1 file(s) [Pipeline] } [2024-10-02T11:30:14.776Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-490-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-02T11:30:14.878Z] $ docker stop --time=1 f2fea96f6c86bf306c2fdafeae0855e3528e5b1fd81bc2b9544d109a9e78ba44 [2024-10-02T11:30:16.027Z] $ docker rm -f --volumes f2fea96f6c86bf306c2fdafeae0855e3528e5b1fd81bc2b9544d109a9e78ba44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-02T11:57:49.350Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12903 in /w/workspace/foundry_device-virtual-go_PR-490 [Pipeline] { [Pipeline] ws [2024-10-02T11:57:49.432Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-10-02T11:57:52.541Z] The recommended git tool is: git [2024-10-02T11:58:00.251Z] using credential edgex-jenkins-ssh [2024-10-02T11:58:00.278Z] Cloning the remote Git repository [2024-10-02T11:58:00.337Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-10-02T11:58:00.540Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-10-02T11:58:00.829Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-10-02T11:58:00.830Z] > git --version # timeout=10 [2024-10-02T11:58:00.889Z] > git --version # 'git version 2.25.1' [2024-10-02T11:58:00.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T11:58:01.080Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-02T11:58:04.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-10-02T11:58:04.929Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-02T11:58:05.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-10-02T11:58:05.997Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-10-02T11:58:05.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T11:58:06.025Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-02T11:58:06.546Z] Merging remotes/origin/main commit 04ce07425684dc49eb1d346851a0a7d2d821c622 into PR head commit 5f5be9262c814659dc0c22f77dcbd48ae380daab [2024-10-02T11:58:06.847Z] Merge succeeded, producing 5f5be9262c814659dc0c22f77dcbd48ae380daab [2024-10-02T11:58:06.847Z] Checking out Revision 5f5be9262c814659dc0c22f77dcbd48ae380daab (PR-490) [2024-10-02T11:58:07.545Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-02T11:58:07.607Z] > git --version # timeout=10 [2024-10-02T11:58:07.620Z] > git --version # 'git version 2.25.1' [2024-10-02T11:58:07.641Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-02T11:58:06.572Z] > git config core.sparsecheckout # timeout=10 [2024-10-02T11:58:06.637Z] > git checkout -f 5f5be9262c814659dc0c22f77dcbd48ae380daab # timeout=10 [2024-10-02T11:58:06.735Z] > git remote # timeout=10 [2024-10-02T11:58:06.758Z] > git config --get remote.origin.url # timeout=10 [2024-10-02T11:58:06.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T11:58:06.802Z] > git merge 04ce07425684dc49eb1d346851a0a7d2d821c622 # timeout=10 [2024-10-02T11:58:06.833Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-02T11:58:06.859Z] > git config core.sparsecheckout # timeout=10 [2024-10-02T11:58:06.883Z] > git checkout -f 5f5be9262c814659dc0c22f77dcbd48ae380daab # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T11:58:12.829Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-02T11:58:12.829Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-02T11:58:12.829Z] Dload Upload Total Spent Left Speed [2024-10-02T11:58:12.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-10-02T11:58:13.182Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-02T11:58:13.535Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-02T11:58:13.535Z] /etc/docker/daemon.json [2024-10-02T11:58:13.535Z] { [2024-10-02T11:58:13.535Z] "registry-mirrors": [ [2024-10-02T11:58:13.535Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-02T11:58:13.535Z] ], [2024-10-02T11:58:13.535Z] "bip": "10.250.0.254/24", [2024-10-02T11:58:13.535Z] "hosts": [ [2024-10-02T11:58:13.535Z] "tcp://0.0.0.0:5555", [2024-10-02T11:58:13.535Z] "unix:///var/run/docker.sock" [2024-10-02T11:58:13.535Z] ], [2024-10-02T11:58:13.535Z] "mtu": 1458, [2024-10-02T11:58:13.535Z] "selinux-enabled": true, [2024-10-02T11:58:13.535Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-02T11:58:13.535Z] } [Pipeline] sh [2024-10-02T11:58:13.891Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-02T11:58:14.237Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T11:58:32.629Z] provisioning config files... [2024-10-02T11:58:32.658Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12587981491710344953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T11:58:33.168Z] ---> ****-login.sh [2024-10-02T11:58:33.169Z] nexus3.edgexfoundry.org:10001 [2024-10-02T11:58:33.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:58:34.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:58:34.030Z] Configure a credential helper to remove this warning. See [2024-10-02T11:58:34.031Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:58:34.031Z] [2024-10-02T11:58:34.031Z] Login Succeeded [2024-10-02T11:58:34.031Z] nexus3.edgexfoundry.org:10002 [2024-10-02T11:58:34.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:58:34.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:58:34.304Z] Configure a credential helper to remove this warning. See [2024-10-02T11:58:34.304Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:58:34.304Z] [2024-10-02T11:58:34.304Z] Login Succeeded [2024-10-02T11:58:34.304Z] nexus3.edgexfoundry.org:10003 [2024-10-02T11:58:34.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:58:34.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:58:34.574Z] Configure a credential helper to remove this warning. See [2024-10-02T11:58:34.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:58:34.575Z] [2024-10-02T11:58:34.575Z] Login Succeeded [2024-10-02T11:58:34.575Z] nexus3.edgexfoundry.org:10004 [2024-10-02T11:58:34.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:58:34.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:58:34.846Z] Configure a credential helper to remove this warning. See [2024-10-02T11:58:34.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:58:34.846Z] [2024-10-02T11:58:34.846Z] Login Succeeded [2024-10-02T11:58:34.846Z] ****.io [2024-10-02T11:58:35.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T11:58:35.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T11:58:35.383Z] Configure a credential helper to remove this warning. See [2024-10-02T11:58:35.383Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T11:58:35.383Z] [2024-10-02T11:58:35.383Z] Login Succeeded [2024-10-02T11:58:35.383Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T11:58:35.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-02T11:58:35.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T11:58:35.938Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T11:58:35.990Z] ========================================================= [2024-10-02T11:58:35.990Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-02T11:58:35.990Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T11:58:36.553Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-02T11:58:37.144Z] Sending build context to Docker daemon 19MB [2024-10-02T11:58:37.144Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T11:58:37.144Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-02T11:58:37.421Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-02T11:58:37.421Z] c6b39de5b339: Pulling fs layer [2024-10-02T11:58:37.421Z] a69c41024577: Pulling fs layer [2024-10-02T11:58:37.421Z] d6de4b400683: Pulling fs layer [2024-10-02T11:58:37.421Z] 35cb2a7552d0: Pulling fs layer [2024-10-02T11:58:37.421Z] 4f4fb700ef54: Pulling fs layer [2024-10-02T11:58:37.421Z] 464afbd9ba4c: Pulling fs layer [2024-10-02T11:58:37.421Z] 00f215d4a9da: Pulling fs layer [2024-10-02T11:58:37.421Z] d496ad576159: Pulling fs layer [2024-10-02T11:58:37.421Z] 35cb2a7552d0: Waiting [2024-10-02T11:58:37.421Z] 4f4fb700ef54: Waiting [2024-10-02T11:58:37.421Z] 464afbd9ba4c: Waiting [2024-10-02T11:58:37.421Z] 00f215d4a9da: Waiting [2024-10-02T11:58:37.421Z] d496ad576159: Waiting [2024-10-02T11:58:37.421Z] a69c41024577: Verifying Checksum [2024-10-02T11:58:37.421Z] a69c41024577: Download complete [2024-10-02T11:58:37.421Z] 35cb2a7552d0: Verifying Checksum [2024-10-02T11:58:37.421Z] 35cb2a7552d0: Download complete [2024-10-02T11:58:37.421Z] 4f4fb700ef54: Verifying Checksum [2024-10-02T11:58:37.421Z] 4f4fb700ef54: Download complete [2024-10-02T11:58:37.421Z] 464afbd9ba4c: Verifying Checksum [2024-10-02T11:58:37.421Z] 464afbd9ba4c: Download complete [2024-10-02T11:58:37.421Z] c6b39de5b339: Download complete [2024-10-02T11:58:38.018Z] d496ad576159: Verifying Checksum [2024-10-02T11:58:38.018Z] d496ad576159: Download complete [2024-10-02T11:58:38.613Z] c6b39de5b339: Pull complete [2024-10-02T11:58:39.201Z] a69c41024577: Pull complete [2024-10-02T11:58:39.201Z] d6de4b400683: Verifying Checksum [2024-10-02T11:58:39.201Z] d6de4b400683: Download complete [2024-10-02T11:58:40.619Z] 00f215d4a9da: Verifying Checksum [2024-10-02T11:58:40.619Z] 00f215d4a9da: Download complete [2024-10-02T11:58:52.966Z] d6de4b400683: Pull complete [2024-10-02T11:58:52.966Z] 35cb2a7552d0: Pull complete [2024-10-02T11:58:52.966Z] 4f4fb700ef54: Pull complete [2024-10-02T11:58:52.966Z] 464afbd9ba4c: Pull complete [2024-10-02T11:59:01.216Z] 00f215d4a9da: Pull complete [2024-10-02T11:59:03.168Z] d496ad576159: Pull complete [2024-10-02T11:59:03.168Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-02T11:59:03.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-02T11:59:03.168Z] ---> f246e2811388 [2024-10-02T11:59:03.168Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-02T11:59:04.137Z] ---> Running in b01de4b5de90 [2024-10-02T11:59:04.137Z] Removing intermediate container b01de4b5de90 [2024-10-02T11:59:04.137Z] ---> 8d234c1b36dd [2024-10-02T11:59:04.137Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-02T11:59:04.403Z] ---> Running in 28a61b873c65 [2024-10-02T11:59:04.670Z] Removing intermediate container 28a61b873c65 [2024-10-02T11:59:04.670Z] ---> ca7ab9fdc5d0 [2024-10-02T11:59:04.670Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-02T11:59:04.670Z] ---> Running in d559663c24d0 [2024-10-02T11:59:04.939Z] Removing intermediate container d559663c24d0 [2024-10-02T11:59:04.939Z] ---> 30b5e533369e [2024-10-02T11:59:04.939Z] Step 6/12 : WORKDIR /device-virtual-go [2024-10-02T11:59:04.939Z] ---> Running in 2f800b3ed25e [2024-10-02T11:59:05.538Z] Removing intermediate container 2f800b3ed25e [2024-10-02T11:59:05.538Z] ---> 5009cd344622 [2024-10-02T11:59:05.538Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-02T11:59:05.538Z] ---> Running in f2620ed709d6 [2024-10-02T11:59:07.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T11:59:08.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T11:59:09.008Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-10-02T11:59:09.008Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-10-02T11:59:09.008Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-10-02T11:59:09.008Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-10-02T11:59:09.008Z] Executing busybox-1.36.1-r5.trigger [2024-10-02T11:59:09.008Z] OK: 271 MiB in 56 packages [2024-10-02T11:59:09.968Z] Removing intermediate container f2620ed709d6 [2024-10-02T11:59:09.968Z] ---> 483433a432ae [2024-10-02T11:59:10.235Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-02T11:59:10.502Z] ---> a7a6325dae46 [2024-10-02T11:59:10.502Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T11:59:10.775Z] ---> Running in b911f8490164 [2024-10-02T12:01:02.450Z] Removing intermediate container b911f8490164 [2024-10-02T12:01:02.450Z] ---> 8386ed8e28c4 [2024-10-02T12:01:02.450Z] Step 10/12 : COPY . . [2024-10-02T12:01:02.450Z] ---> 02ab2bdce702 [2024-10-02T12:01:02.450Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-02T12:01:02.450Z] ---> Running in cf158bc9c4c0 [2024-10-02T12:01:02.450Z] Removing intermediate container cf158bc9c4c0 [2024-10-02T12:01:02.450Z] ---> 2fa16c40943d [2024-10-02T12:01:02.450Z] Step 12/12 : RUN $MAKE [2024-10-02T12:01:02.450Z] ---> Running in 36b9d5963efd [2024-10-02T12:01:02.450Z] noop [2024-10-02T12:01:02.450Z] Removing intermediate container 36b9d5963efd [2024-10-02T12:01:02.450Z] ---> bd77b2c62d0e [2024-10-02T12:01:02.450Z] Successfully built bd77b2c62d0e [2024-10-02T12:01:02.450Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T12:01:02.976Z] + docker inspect -f . ci-base-image-arm64 [2024-10-02T12:01:02.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T12:01:03.367Z] prd-ubuntu20.04-docker-arm64-4c-16g-12903 does not seem to be running inside a container [2024-10-02T12:01:03.521Z] $ 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-02T12:01:04.779Z] $ docker top 3f3188784dbcfae36a61858c9166e39cf06f629b9b146ce76034ea45205f0eb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T12:01:05.702Z] + go version [2024-10-02T12:01:05.702Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-02T12:01:05.746Z] $ docker stop --time=1 3f3188784dbcfae36a61858c9166e39cf06f629b9b146ce76034ea45205f0eb9 [2024-10-02T12:01:07.394Z] $ docker rm -f --volumes 3f3188784dbcfae36a61858c9166e39cf06f629b9b146ce76034ea45205f0eb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T12:01:08.312Z] + docker inspect -f . ci-base-image-arm64 [2024-10-02T12:01:08.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T12:01:08.586Z] prd-ubuntu20.04-docker-arm64-4c-16g-12903 does not seem to be running inside a container [2024-10-02T12:01:08.656Z] $ 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-02T12:01:09.902Z] $ docker top 18015cf8dda73b309ba2e8c1d1ed5a830c0785e3cefdbf2dd57e860c823a0688 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T12:01:10.490Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-02T12:01:11.208Z] + make test [2024-10-02T12:01:11.209Z] go test ./... -coverprofile=coverage.out [2024-10-02T12:01:16.570Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-10-02T12:04:38.402Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-10-02T12:04:38.402Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.061s coverage: 58.3% of statements [2024-10-02T12:04:38.402Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-02T12:04:38.402Z] go vet ./... [2024-10-02T12:05:10.662Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-02T12:05:10.662Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-02T12:05:10.662Z] ./bin/test-attribution-txt.sh [2024-10-02T12:05:10.662Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-02T12:05:10.662Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-10-02T12:05:10.662Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-02T12:05:10.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-02T12:05:10.770Z] $ docker stop --time=1 18015cf8dda73b309ba2e8c1d1ed5a830c0785e3cefdbf2dd57e860c823a0688 [2024-10-02T12:05:12.723Z] $ docker rm -f --volumes 18015cf8dda73b309ba2e8c1d1ed5a830c0785e3cefdbf2dd57e860c823a0688 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T12:05:14.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-02T12:05:14.282Z] Warning: overwriting stash ‘coverage-report’ [2024-10-02T12:05:14.722Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T12:05:15.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-02T12:05:15.737Z] + ls -al . [2024-10-02T12:05:15.737Z] total 272 [2024-10-02T12:05:15.737Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 2 12:01 . [2024-10-02T12:05:15.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 11:58 .. [2024-10-02T12:05:15.737Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 11:58 .git [2024-10-02T12:05:15.737Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 11:58 .github [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 2 11:58 .gitignore [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 11:58 .golangci.yml [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 17933 Oct 2 11:58 Attribution.txt [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 15941 Oct 2 11:58 CHANGELOG.md [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 1755 Oct 2 11:58 Dockerfile [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 11:58 GOVERNANCE.md [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 2 11:58 Jenkinsfile [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 2 11:58 LICENSE [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 1953 Oct 2 11:58 Makefile [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 2 11:58 OWNERS.md [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 2 11:58 README.md [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 11:27 VERSION [2024-10-02T12:05:15.737Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 11:58 bin [2024-10-02T12:05:15.737Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 11:58 cmd [2024-10-02T12:05:15.737Z] -rw-r--r-- 1 jenkins jenkins 43247 Oct 2 12:04 coverage.out [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 6895 Oct 2 11:58 go.mod [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 2 11:58 go.sum [2024-10-02T12:05:15.737Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 11:58 internal [2024-10-02T12:05:15.737Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 2 11:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T12:05:16.184Z] + 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=5f5be9262c814659dc0c22f77dcbd48ae380daab --label arch=arm64 --label version=0.0.0 . [2024-10-02T12:05:16.768Z] Sending build context to Docker daemon 19.05MB [2024-10-02T12:05:16.768Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T12:05:16.768Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-02T12:05:16.768Z] ---> bd77b2c62d0e [2024-10-02T12:05:16.768Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-02T12:05:17.033Z] ---> Running in 226321ecf654 [2024-10-02T12:05:17.299Z] Removing intermediate container 226321ecf654 [2024-10-02T12:05:17.299Z] ---> eccd5e300a12 [2024-10-02T12:05:17.299Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-02T12:05:17.299Z] ---> Running in a7a4bdcca623 [2024-10-02T12:05:17.566Z] Removing intermediate container a7a4bdcca623 [2024-10-02T12:05:17.566Z] ---> 31e93654f494 [2024-10-02T12:05:17.566Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-02T12:05:17.566Z] ---> Running in 5eb06033dcaf [2024-10-02T12:05:17.840Z] Removing intermediate container 5eb06033dcaf [2024-10-02T12:05:17.840Z] ---> c2d100963fbb [2024-10-02T12:05:17.841Z] Step 6/26 : WORKDIR /device-virtual-go [2024-10-02T12:05:18.107Z] ---> Running in 87183e914ebe [2024-10-02T12:05:18.373Z] Removing intermediate container 87183e914ebe [2024-10-02T12:05:18.373Z] ---> 7c66da8bdd23 [2024-10-02T12:05:18.373Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-02T12:05:18.373Z] ---> Running in 8fa930fd7e3b [2024-10-02T12:05:19.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T12:05:19.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T12:05:21.185Z] OK: 271 MiB in 56 packages [2024-10-02T12:05:21.450Z] Removing intermediate container 8fa930fd7e3b [2024-10-02T12:05:21.450Z] ---> 40b07e6e14ec [2024-10-02T12:05:21.450Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-02T12:05:22.033Z] ---> 93893bf7880f [2024-10-02T12:05:22.033Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T12:05:22.033Z] ---> Running in 034ae9576b95 [2024-10-02T12:05:25.230Z] Removing intermediate container 034ae9576b95 [2024-10-02T12:05:25.230Z] ---> a203c43d511f [2024-10-02T12:05:25.230Z] Step 10/26 : COPY . . [2024-10-02T12:05:26.193Z] ---> 57bab8d84c2f [2024-10-02T12:05:26.193Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-02T12:05:26.193Z] ---> Running in 9c0a2080a2d9 [2024-10-02T12:05:26.460Z] Removing intermediate container 9c0a2080a2d9 [2024-10-02T12:05:26.460Z] ---> ca0037132549 [2024-10-02T12:05:26.460Z] Step 12/26 : RUN $MAKE [2024-10-02T12:05:26.744Z] ---> Running in 879274d3e888 [2024-10-02T12:05:27.713Z] 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.40" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-10-02T12:08:49.482Z] Removing intermediate container 879274d3e888 [2024-10-02T12:08:49.482Z] ---> 2a60789bd6fa [2024-10-02T12:08:49.482Z] Step 13/26 : FROM alpine:3.18 [2024-10-02T12:08:49.482Z] 3.18: Pulling from library/alpine [2024-10-02T12:08:49.482Z] 720f3032cd11: Pulling fs layer [2024-10-02T12:08:49.482Z] 720f3032cd11: Verifying Checksum [2024-10-02T12:08:49.482Z] 720f3032cd11: Download complete [2024-10-02T12:08:49.482Z] 720f3032cd11: Pull complete [2024-10-02T12:08:49.482Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-02T12:08:49.482Z] Status: Downloaded newer image for alpine:3.18 [2024-10-02T12:08:49.482Z] ---> 3e834921e367 [2024-10-02T12:08:49.482Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-10-02T12:08:49.482Z] ---> Running in 08a6d1332c4e [2024-10-02T12:08:49.482Z] Removing intermediate container 08a6d1332c4e [2024-10-02T12:08:49.482Z] ---> d20fab659bd5 [2024-10-02T12:08:49.482Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-02T12:08:49.482Z] ---> Running in b902e5e46989 [2024-10-02T12:08:49.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T12:08:49.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T12:08:49.482Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-02T12:08:49.482Z] Executing busybox-1.36.1-r7.trigger [2024-10-02T12:08:49.482Z] OK: 8 MiB in 16 packages [2024-10-02T12:08:49.482Z] Removing intermediate container b902e5e46989 [2024-10-02T12:08:49.482Z] ---> 976d4cef05bf [2024-10-02T12:08:49.482Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-02T12:08:49.482Z] ---> Running in 0886e8c8a652 [2024-10-02T12:08:49.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T12:08:50.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T12:08:50.971Z] OK: 8 MiB in 16 packages [2024-10-02T12:08:51.930Z] Removing intermediate container 0886e8c8a652 [2024-10-02T12:08:51.930Z] ---> a2191c3fdfde [2024-10-02T12:08:51.930Z] Step 17/26 : WORKDIR / [2024-10-02T12:08:51.930Z] ---> Running in e6af48118646 [2024-10-02T12:08:52.199Z] Removing intermediate container e6af48118646 [2024-10-02T12:08:52.199Z] ---> 5fc8bc58a477 [2024-10-02T12:08:52.199Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-10-02T12:08:52.781Z] ---> d053b9507c3a [2024-10-02T12:08:52.781Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-10-02T12:08:53.366Z] ---> 45175dee4737 [2024-10-02T12:08:53.366Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-10-02T12:08:54.774Z] ---> cc9774b448a5 [2024-10-02T12:08:54.774Z] Step 21/26 : EXPOSE 59900 [2024-10-02T12:08:55.042Z] ---> Running in 6eaf4a748c0e [2024-10-02T12:08:55.308Z] Removing intermediate container 6eaf4a748c0e [2024-10-02T12:08:55.308Z] ---> e4650e532763 [2024-10-02T12:08:55.308Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-10-02T12:08:55.308Z] ---> Running in 25011f67ad38 [2024-10-02T12:08:55.576Z] Removing intermediate container 25011f67ad38 [2024-10-02T12:08:55.576Z] ---> f2ac5cc64860 [2024-10-02T12:08:55.576Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-02T12:08:55.843Z] ---> Running in f6b41a8c8798 [2024-10-02T12:08:56.107Z] Removing intermediate container f6b41a8c8798 [2024-10-02T12:08:56.107Z] ---> d6d8482042e3 [2024-10-02T12:08:56.107Z] Step 24/26 : LABEL arch=arm64 [2024-10-02T12:08:56.107Z] ---> Running in ebc25015ab86 [2024-10-02T12:08:56.373Z] Removing intermediate container ebc25015ab86 [2024-10-02T12:08:56.373Z] ---> d9903537fabe [2024-10-02T12:08:56.373Z] Step 25/26 : LABEL git_sha=5f5be9262c814659dc0c22f77dcbd48ae380daab [2024-10-02T12:08:56.373Z] ---> Running in 2ae14e2f0ff9 [2024-10-02T12:08:56.640Z] Removing intermediate container 2ae14e2f0ff9 [2024-10-02T12:08:56.640Z] ---> a8b1b11d3431 [2024-10-02T12:08:56.640Z] Step 26/26 : LABEL version=0.0.0 [2024-10-02T12:08:56.640Z] ---> Running in b4d24ea10bdc [2024-10-02T12:08:56.906Z] Removing intermediate container b4d24ea10bdc [2024-10-02T12:08:56.906Z] ---> 9c855ddf8f7a [2024-10-02T12:08:56.906Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-02T12:08:57.171Z] Successfully built 9c855ddf8f7a [2024-10-02T12:08:57.171Z] 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-02T12:08:58.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T12:08:58.167Z] [2024-10-02T12:08:58.167Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T12:08:58.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T12:08:58.595Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-02T12:08:58.595Z] 8998bd30e6a1: Pulling fs layer [2024-10-02T12:08:58.595Z] 04944245beec: Pulling fs layer [2024-10-02T12:08:58.595Z] 699f458cf7ca: Pulling fs layer [2024-10-02T12:08:58.595Z] 765212b225bb: Pulling fs layer [2024-10-02T12:08:58.595Z] f23df028b6ca: Pulling fs layer [2024-10-02T12:08:58.595Z] d65c8cfc05b1: Pulling fs layer [2024-10-02T12:08:58.595Z] 2437ff75d9bd: Pulling fs layer [2024-10-02T12:08:58.595Z] f23df028b6ca: Waiting [2024-10-02T12:08:58.595Z] d65c8cfc05b1: Waiting [2024-10-02T12:08:58.595Z] 2437ff75d9bd: Waiting [2024-10-02T12:08:58.865Z] 04944245beec: Verifying Checksum [2024-10-02T12:08:58.865Z] 04944245beec: Download complete [2024-10-02T12:08:58.865Z] 765212b225bb: Verifying Checksum [2024-10-02T12:08:58.865Z] 765212b225bb: Download complete [2024-10-02T12:08:58.865Z] f23df028b6ca: Verifying Checksum [2024-10-02T12:08:58.865Z] f23df028b6ca: Download complete [2024-10-02T12:08:58.865Z] d65c8cfc05b1: Download complete [2024-10-02T12:08:59.133Z] 699f458cf7ca: Verifying Checksum [2024-10-02T12:08:59.133Z] 699f458cf7ca: Download complete [2024-10-02T12:08:59.399Z] 8998bd30e6a1: Verifying Checksum [2024-10-02T12:08:59.399Z] 8998bd30e6a1: Download complete [2024-10-02T12:09:01.978Z] 2437ff75d9bd: Verifying Checksum [2024-10-02T12:09:01.978Z] 2437ff75d9bd: Download complete [2024-10-02T12:09:03.916Z] 8998bd30e6a1: Pull complete [2024-10-02T12:09:04.184Z] 04944245beec: Pull complete [2024-10-02T12:09:06.123Z] 699f458cf7ca: Pull complete [2024-10-02T12:09:06.123Z] 765212b225bb: Pull complete [2024-10-02T12:09:06.712Z] f23df028b6ca: Pull complete [2024-10-02T12:09:06.978Z] d65c8cfc05b1: Pull complete [2024-10-02T12:09:25.168Z] 2437ff75d9bd: Pull complete [2024-10-02T12:09:25.168Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-02T12:09:25.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T12:09:25.168Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T12:09:25.520Z] prd-ubuntu20.04-docker-arm64-4c-16g-12903 does not seem to be running inside a container [2024-10-02T12:09:25.594Z] $ 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-02T12:09:28.211Z] $ docker top a2026f646be51402c93541bedcd97862410167dc9b87953809e0d2b39f033173 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T12:09:29.125Z] ---> job-cost.sh [2024-10-02T12:09:29.125Z] lf-activate-venv: SKIPPING [2024-10-02T12:09:29.125Z] INFO: No Stack... [2024-10-02T12:09:29.390Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-02T12:09:30.342Z] INFO: Archiving Costs [Pipeline] sh [2024-10-02T12:09:30.684Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-10-02T12:09:30.684Z] + cut -d, -f6 [Pipeline] lock [2024-10-02T12:09:30.764Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-490-1-stack-cost] [2024-10-02T12:09:30.770Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-490-1-stack-cost] did not exist. Created. [2024-10-02T12:09:30.777Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-490-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-02T12:09:31.225Z] /w/workspace/device-virtual-go/1@tmp/durable-a2bf2027/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-02T12:09:31.593Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-02T12:09:31.635Z] Warning: overwriting stash ‘stack-cost’ [2024-10-02T12:09:31.679Z] Stashed 1 file(s) [Pipeline] } [2024-10-02T12:09:31.699Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-490-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-02T12:09:31.798Z] $ docker stop --time=1 a2026f646be51402c93541bedcd97862410167dc9b87953809e0d2b39f033173 [2024-10-02T12:09:33.248Z] $ docker rm -f --volumes a2026f646be51402c93541bedcd97862410167dc9b87953809e0d2b39f033173 [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-02T12:09:34.431Z] provisioning config files... [2024-10-02T12:09:34.444Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-490@tmp/config5256266612993806051tmp [Pipeline] { [Pipeline] sh [2024-10-02T12:09:34.795Z] + set +x [2024-10-02T12:09:34.795Z] + bash -s -- [2024-10-02T12:09:34.795Z] + curl -s https://codecov.io/bash [2024-10-02T12:09:34.795Z] [2024-10-02T12:09:34.795Z] _____ _ [2024-10-02T12:09:34.795Z] / ____| | | [2024-10-02T12:09:34.795Z] | | ___ __| | ___ ___ _____ __ [2024-10-02T12:09:34.795Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-02T12:09:34.795Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-02T12:09:34.795Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-02T12:09:34.795Z] Bash-1.0.6 [2024-10-02T12:09:34.795Z] [2024-10-02T12:09:34.795Z] [2024-10-02T12:09:34.795Z] ==> git version 2.25.1 found [2024-10-02T12:09:34.795Z] ==> 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-02T12:09:34.795Z] Release-Date: 2020-01-08 [2024-10-02T12:09:34.795Z] 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-02T12:09:34.795Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-02T12:09:34.795Z] ==> Jenkins CI detected. [2024-10-02T12:09:34.795Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-490 [2024-10-02T12:09:34.795Z] project root: . [2024-10-02T12:09:34.795Z] --> token set from env [2024-10-02T12:09:34.795Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-02T12:09:34.795Z] ==> Running gcov in . (disable via -X gcov) [2024-10-02T12:09:34.795Z] ==> Python coveragepy not found [2024-10-02T12:09:34.795Z] ==> Searching for coverage reports in: [2024-10-02T12:09:34.795Z] + . [2024-10-02T12:09:34.795Z] -> Found 1 reports [2024-10-02T12:09:34.795Z] ==> Detecting git/mercurial file structure [2024-10-02T12:09:35.056Z] ==> Reading reports [2024-10-02T12:09:35.056Z] + ./coverage.out bytes=43247 [2024-10-02T12:09:35.056Z] ==> Appending adjustments [2024-10-02T12:09:35.056Z] https://docs.codecov.io/docs/fixing-reports [2024-10-02T12:09:35.056Z] + Found adjustments [2024-10-02T12:09:35.056Z] ==> Gzipping contents [2024-10-02T12:09:35.056Z] 8.0K /tmp/codecov.tuAGuc.gz [2024-10-02T12:09:35.056Z] ==> Uploading reports [2024-10-02T12:09:35.056Z] url: https://codecov.io [2024-10-02T12:09:35.056Z] query: branch=PR-490&commit=5f5be9262c814659dc0c22f77dcbd48ae380daab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-490%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=490&job=&cmd_args= [2024-10-02T12:09:35.056Z] -> Pinging Codecov [2024-10-02T12:09:35.056Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-490&commit=5f5be9262c814659dc0c22f77dcbd48ae380daab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-490%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=490&job=&cmd_args= [2024-10-02T12:09:35.316Z] -> Uploading to [2024-10-02T12:09:35.316Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/5f5be9262c814659dc0c22f77dcbd48ae380daab/0e1efaaa-bfa2-42f1-8060-b821f2d4f8af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T120935Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a13a93d0dc005bf28c6e94b0fd0113baf0bed744c609ccd84ab31186dfdc47dc [2024-10-02T12:09:35.316Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-02T12:09:35.316Z] Dload Upload Total Spent Left Speed [2024-10-02T12:09:35.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 21012 --:--:-- --:--:-- --:--:-- 21012 [2024-10-02T12:09:35.577Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/5f5be9262c814659dc0c22f77dcbd48ae380daab [Pipeline] } [2024-10-02T12:09:35.618Z] 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-02T12:09:37.810Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-490/archives ] [2024-10-02T12:09:37.810Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-490/archives [2024-10-02T12:09:37.810Z] total 16 [2024-10-02T12:09:37.810Z] drwxr-xr-x 3 root root 4096 Oct 2 11:30 . [2024-10-02T12:09:37.810Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 2 11:30 .. [2024-10-02T12:09:37.810Z] drwxr-xr-x 2 root root 4096 Oct 2 11:30 cost [2024-10-02T12:09:37.810Z] -rw-r--r-- 1 root root 89 Oct 2 11:30 cost.csv [2024-10-02T12:09:37.810Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-490/archives [2024-10-02T12:09:37.810Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-490/archives [2024-10-02T12:09:37.810Z] total 16 [2024-10-02T12:09:37.810Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 11:30 . [2024-10-02T12:09:37.810Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 2 11:30 .. [2024-10-02T12:09:37.810Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 11:30 cost [2024-10-02T12:09:37.810Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 2 11:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-02T12:09:38.166Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T12:09:39.071Z] ---> package-listing.sh [2024-10-02T12:09:39.071Z] ++ facter osfamily [2024-10-02T12:09:39.071Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-02T12:09:39.330Z] + OS_FAMILY=debian [2024-10-02T12:09:39.330Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-490 [2024-10-02T12:09:39.330Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-02T12:09:39.330Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-02T12:09:39.330Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-02T12:09:39.330Z] + PACKAGES=/tmp/packages_start.txt [2024-10-02T12:09:39.330Z] + '[' /w/workspace/foundry_device-virtual-go_PR-490 ']' [2024-10-02T12:09:39.330Z] + PACKAGES=/tmp/packages_end.txt [2024-10-02T12:09:39.330Z] + case "${OS_FAMILY}" in [2024-10-02T12:09:39.330Z] + dpkg -l [2024-10-02T12:09:39.330Z] + grep '^ii' [2024-10-02T12:09:39.330Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-02T12:09:39.330Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-02T12:09:39.330Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-02T12:09:39.330Z] + '[' /w/workspace/foundry_device-virtual-go_PR-490 ']' [2024-10-02T12:09:39.330Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-490/archives/ [2024-10-02T12:09:39.330Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-490/archives/ [Pipeline] echo [2024-10-02T12:09:39.376Z] 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-490/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-02T12:09:39.675Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T12:09:40.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T12:09:40.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T12:09:40.505Z] prd-ubuntu20.04-docker-8c-8g-12866 does not seem to be running inside a container [2024-10-02T12:09:40.530Z] $ 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-490/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-490 -v /w/workspace/foundry_device-virtual-go_PR-490:/w/workspace/foundry_device-virtual-go_PR-490:rw,z -v /w/workspace/foundry_device-virtual-go_PR-490@tmp:/w/workspace/foundry_device-virtual-go_PR-490@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-02T12:09:40.733Z] $ docker top 30ec2bb275e9915b21eb692b94cc9ba0485bd953d43a16ff28846a3dddecd2e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T12:09:41.142Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-02T12:09:41.455Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-02T12:09:41.775Z] + ls /var/log/sa-host [2024-10-02T12:09:41.775Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T12:09:42.105Z] provisioning config files... [2024-10-02T12:09:42.115Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-490@tmp/config3077873241159332532tmp [Pipeline] { [Pipeline] echo [2024-10-02T12:09:42.187Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T12:09:42.508Z] ---> create-netrc.sh [Pipeline] } [2024-10-02T12:09:42.553Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-02T12:09:42.985Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-02T12:09:43.025Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T12:09:43.350Z] ---> sudo-logs.sh [2024-10-02T12:09:43.350Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-02T12:09:43.458Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T12:09:43.782Z] ---> job-cost.sh [2024-10-02T12:09:43.782Z] lf-activate-venv: SKIPPING [2024-10-02T12:09:43.782Z] DEBUG: total: 0.2199999988079071 [2024-10-02T12:09:43.782Z] INFO: Retrieving Stack Cost... [2024-10-02T12:09:44.353Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-02T12:09:44.614Z] INFO: Archiving Costs [Pipeline] echo [2024-10-02T12:09:44.660Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T12:09:44.993Z] ---> logs-deploy.sh [2024-10-02T12:09:44.993Z] lf-activate-venv: SKIPPING [2024-10-02T12:09:44.993Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-490/1 [2024-10-02T12:09:44.993Z] INFO: archiving workspace using pattern(s): [2024-10-02T12:09:45.930Z] Archives upload complete. [2024-10-02T12:09:45.930Z] INFO: archiving logs to Nexus