Skip to content

Enable core dump extraction for bigdata integration test - #739

Draft
Tejaswini-Janjale25 wants to merge 2 commits into
eclipse-score:mainfrom
Tejaswini-Janjale25:teja_itf_test_allow_core_dump
Draft

Enable core dump extraction for bigdata integration test#739
Tejaswini-Janjale25 wants to merge 2 commits into
eclipse-score:mainfrom
Tejaswini-Janjale25:teja_itf_test_allow_core_dump

Conversation

@Tejaswini-Janjale25

Copy link
Copy Markdown

Added changes to store core files when they are generated.

env = {"DOCKER_HOST": ""},
env = {
"DOCKER_HOST": "",
"TEST_UNDECLARED_OUTPUTS_DIR": "$(TEST_UNDECLARED_OUTPUTS_DIR)",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use some better name for this env var?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This variable is already present at docker plugin, I am just reusing it

_extend_list_in_kwargs(kwargs, "args", ["--extract-core"])
# Only pass --core-output-dir if explicitly specified by user
# Otherwise, the plugin will use TEST_UNDECLARED_OUTPUTS_DIR/cores at runtime
if core_output_dir != None:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we validate that --extract-core or --core-output-dir points to valid directory?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added validation for core_output_dir

@soldier-sky soldier-sky Jul 24, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Static validation is good step to identify wrong path configuration i.e. obvious invalid paths. However canonical path validation can be good but with our use-case current checks seems good enough.

@Tejaswini-Janjale25
Tejaswini-Janjale25 force-pushed the teja_itf_test_allow_core_dump branch from 360752a to 65c78c3 Compare July 23, 2026 06:34
Comment thread MODULE.bazel Outdated
git_override(
module_name = "score_itf",
remote = "https://github.com/Tejaswini-Janjale25/itf.git",
commit = "07e510ebd9429b1c726b0a7a7a404a98c3669beb",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the moment blocked until the PR referenced by this commit is merged in score_itf.

return kwargs

def integration_test(name, srcs, filesystem, **kwargs):
def integration_test(name, srcs, filesystem, extract_core = False, core_output_dir = None, **kwargs):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Making this an attribute is probably not the best idea.
I would prefer a bazel flag. But IMHO. This bool_flag should go into ITF directly.
Same for the extraction path (with a string_flag).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added code changes for this comment. However waiting for merging ITF related changes as after that I can remove git_override part from here.
eclipse-score/itf#124

@Tejaswini-Janjale25
Tejaswini-Janjale25 force-pushed the teja_itf_test_allow_core_dump branch from 65c78c3 to bee10cc Compare August 4, 2026 14:31
@Tejaswini-Janjale25
Tejaswini-Janjale25 force-pushed the teja_itf_test_allow_core_dump branch from bee10cc to aa6e222 Compare August 5, 2026 07:42
feat(qnx): enable core dump extraction workflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

3 participants