Repository navigation
d4n: Update suite and test programs - #66070
Conversation
f5b2459 to
911c11b
Compare
911c11b to
71912c1
Compare
|
jenkins test docs |
8f6f032 to
9c9754a
Compare
9c9754a to
5165e3a
Compare
5165e3a to
ccdbe09
Compare
|
jenkins test dashboard |
|
RGW suite run: https://pulpito.ceph.com/suriarte-2025-11-25_14:12:04-rgw-rgw-d4n-unit-test-fix-distro-default-smithi/ |
| bufferlist attrVal; | ||
| attrVal.append(std::to_string(bl.length())); | ||
| attrs.insert({"accounted_size", attrVal}); | ||
| buffer::list attrVal; |
There was a problem hiding this comment.
what does the test exactly do, can you briefly explain
There was a problem hiding this comment.
It creates a victim block that is the block to be evicted and uploads it into the directory, cache, and policy instances. It then creates a block to be "uploaded" and calls eviction using the block's size. Since the cache driver being used is the TestRedisDriver, which overwrites get_free_space, the eviction call should successfully evict the victim block. There are checks for this at the end of the test.
| ASSERT_GE(lfuda(env->dpp, block, cacheDriver, yield), 0); | ||
|
|
||
| cacheDriver->shutdown(); | ||
| EXPECT_EQ(policyDriver.get_cache_policy()->eviction(env->dpp, block->size, optional_yield{yield}), 0); |
There was a problem hiding this comment.
after eviction, how are you verifying that the victim block was actually evicted
There was a problem hiding this comment.
Line 272 in the test file checks to make sure the entry does not exist in the cache, but I'll add checks for the policy driver and directory as well.
|
can you update the commit message of the first commit from "Debug policy failure" to what is actually being done or maybe add that explanation below the message? And isn't that "Debug policy unit test failure" |
Signed-off-by: Samarah Uriarte <[email protected]>
Signed-off-by: Samarah <[email protected]>
Signed-off-by: Samarah <[email protected]>
ccdbe09 to
c07d37d
Compare
|
jenkins test dashboard |
https://tracker.ceph.com/issues/73618#change-323827
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.