[
https://issues.apache.org/jira/browse/CASSSIDECAR-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082666#comment-18082666
]
Jon Haddad commented on CASSSIDECAR-468:
----------------------------------------
*Fixing the HTML Reports*
Previously, all submodule test tasks explicitly redirected both XML and HTML
reports to the same flat directory (e.g. build/test-results/server-common/),
causing HTML to be mixed with XML and making reports unreadable.
I removed the custom reports {} block from every submodule's test task,
restoring Gradle's standard layout. A doLast copy hook in the root build.gradle
centralizes results from all submodules into the root build/ directory after
each test task completes.
* XML was at build/test-results/server-common/, now at
build/test-results/server-common/test/.
* HTML was at build/test-results/server-common/ (mixed with XML), now at
build/reports/tests/server-common/test/.
The pattern applies to all submodules and all task names (test,
integrationTestLightWeight, integrationTestHeavyWeight, containerTest).
CI collection
- GitHub Actions — artifact upload paths updated from task-specific globs to
build/test-results/** and build/reports/tests/**, which cover all submodules
and task types.
- CircleCI — no changes required. store_test_results: build/test-results/ scans
recursively and finds XML regardless of the added task-name subdirectory.
store_artifacts: build/reports picks up HTML at the new location.
> GitHub Actions Fixes
> --------------------
>
> Key: CASSSIDECAR-468
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-468
> Project: Sidecar for Apache Cassandra
> Issue Type: Improvement
> Components: CI
> Reporter: Jon Haddad
> Assignee: Jon Haddad
> Priority: Major
>
> There's a handful of small issues with GitHub actions.
> - Labels are not applied to containers, making it impossible to determine
> which git sha they correspond to
> - Container publish action is failing due to blocked gradle setup task by ASF
> - Some tests are flakey due to 10 second timeout
> - HTML test results not being properly collected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]