[
https://issues.apache.org/jira/browse/CASSANDRA-16221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Semb Wever updated CASSANDRA-16221:
-------------------------------------------
Status: Changes Suggested (was: Review In Progress)
This has exposed an underlying bug.
Because there are fewer dtests that fall into this category a number of the
splits have no tests and with no test results fail.
The splits should be from a list of tests that are specific to the category,
but that doesn't appear to be happening…
For example this command is not deselecting non resource intensive dtests…
{code}
./run_dtests.py --cassandra-dir=/home/cassandra/cassandra --use-vnodes
--num-tokens=32 --only-resource-intensive-tests --keep-failed-test-dir
--dtest-print-tests-only
--dtest-print-tests-output=/home/cassandra/cassandra/test_list.txt
{code}
It looks like {{cassandra-dtest/conftest.py}} needs the patch…
{code}
@@ -490,7 +490,7 @@ def pytest_collection_modifyitems(items, config):
if deselect_test:
logger.info("SKIP: Deselecting non-upgrade test %s because of
--execute-upgrade-tests-only" % item.name)
- if item.get_closest_marker("resource_intensive") and not collect_only:
+ if item.get_closest_marker("resource_intensive"):
force_resource_intensive =
config.getoption("--force-resource-intensive-tests")
skip_resource_intensive =
config.getoption("--skip-resource-intensive-tests")
if not force_resource_intensive:
@@ -502,7 +502,7 @@ def pytest_collection_modifyitems(items, config):
deselect_test = True
logger.info("SKIP: Deselecting resource_intensive test %s
due to insufficient system resources" % item.name)
- if not item.get_closest_marker("resource_intensive") and not
collect_only:
+ if not item.get_closest_marker("resource_intensive"):
only_resource_intensive =
config.getoption("--only-resource-intensive-tests")
if only_resource_intensive:
deselect_test = True
{code}
> Jenkins doesn't run high resource python dtests with novonode so missing some
> tests
> -----------------------------------------------------------------------------------
>
> Key: CASSANDRA-16221
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16221
> Project: Cassandra
> Issue Type: Improvement
> Components: Build, CI
> Reporter: David Capwell
> Assignee: David Capwell
> Priority: Low
> Fix For: NA
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In CASSANDRA-16220 it was found that a test is failing on trunk, and its
> because of the address to address with port changes; looking closer into it
> it was found that Jenkins ignores the novnode case which causes this test to
> get skipped.
> We should enable novnode as well to match the rest of the pipeline, but also
> to handle some of the missing tests not currently run.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]