Skip to content

Enable core dump extraction for bigdata integration test - #739

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

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
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 2 times, most recently from bee10cc to aa6e222 Compare August 5, 2026 07:42
@Tejaswini-Janjale25
Tejaswini-Janjale25 force-pushed the teja_itf_test_allow_core_dump branch 2 times, most recently from 8122b81 to 02da918 Compare August 25, 2026 06:07
@Tejaswini-Janjale25
Tejaswini-Janjale25 marked this pull request as ready for review August 25, 2026 06:10
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************


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.

Please avoid this empty line change.

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.

Ok @LittleHuba. I will take care of this

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.

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 updated the code

@Tejaswini-Janjale25
Tejaswini-Janjale25 force-pushed the teja_itf_test_allow_core_dump branch 4 times, most recently from ba52284 to 686ca07 Compare August 26, 2026 04:51
@Tejaswini-Janjale25
Tejaswini-Janjale25 marked this pull request as draft August 26, 2026 04:52
@Tejaswini-Janjale25
Tejaswini-Janjale25 force-pushed the teja_itf_test_allow_core_dump branch from 686ca07 to d8430d1 Compare August 26, 2026 04:58
@Tejaswini-Janjale25
Tejaswini-Janjale25 force-pushed the teja_itf_test_allow_core_dump branch from d8430d1 to 1dba45e Compare August 26, 2026 04:59
@sahithi-nukala sahithi-nukala added the test-qnx Enables the checks with QNX toolchains. Checks require committer approval to start execution. label Aug 26, 2026
@Tejaswini-Janjale25
Tejaswini-Janjale25 marked this pull request as ready for review August 26, 2026 05:11
@Tejaswini-Janjale25
Tejaswini-Janjale25 force-pushed the teja_itf_test_allow_core_dump branch from 1dba45e to 373c59e Compare August 26, 2026 05:11
@Tejaswini-Janjale25
Tejaswini-Janjale25 deployed to workflow-approval August 26, 2026 05:11 — with GitHub Actions Active
@Tejaswini-Janjale25
Tejaswini-Janjale25 force-pushed the teja_itf_test_allow_core_dump branch from 373c59e to ccf9f45 Compare August 26, 2026 09:01
@Tejaswini-Janjale25
Tejaswini-Janjale25 deployed to workflow-approval August 26, 2026 09:01 — with GitHub Actions Active
@Tejaswini-Janjale25
Tejaswini-Janjale25 force-pushed the teja_itf_test_allow_core_dump branch from ccf9f45 to af3d4ad Compare August 26, 2026 12:49
@Tejaswini-Janjale25
Tejaswini-Janjale25 deployed to workflow-approval August 26, 2026 12:49 — with GitHub Actions Active
LittleHuba
LittleHuba previously approved these changes Aug 27, 2026
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

test-qnx Enables the checks with QNX toolchains. Checks require committer approval to start execution.

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

4 participants