Skip to content

Fix CnosDB CI: replace insufficient sleep with readiness poll#1310

Open
mrigger wants to merge 1 commit intomainfrom
fix/cnosdb-ci-resource-error
Open

Fix CnosDB CI: replace insufficient sleep with readiness poll#1310
mrigger wants to merge 1 commit intomainfrom
fix/cnosdb-ci-resource-error

Conversation

@mrigger
Copy link
Copy Markdown
Contributor

@mrigger mrigger commented Apr 4, 2026

CnosDB setup had only a 5s sleep after starting the container, causing "Resource temporarily unavailable" errors. Poll the /api/v1/ping endpoint instead. Also fix copy-paste error in step name.

@mrigger mrigger force-pushed the fix/cnosdb-ci-resource-error branch 2 times, most recently from 73f0626 to 6347adf Compare April 4, 2026 16:36
Two issues caused CnosDB test failures:
1. HTTP ping responded before storage layer was ready, causing
   "Resource temporarily unavailable" on first SQL command. Use
   SQL-level readiness check instead.
2. Mismatched Log4j versions (log4j-api 2.10.0 vs log4j-core 2.18.0)
   from Hive transitive dependencies caused NoSuchMethodError. Exclude
   log4j-slf4j-impl from Hive deps, align Log4j2 at 2.24.3, and add
   log4j-slf4j2-impl for SLF4J 2.x compatibility.

Also fix copy-paste error in CI step name and upgrade HSQLDB to 2.7.4.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@mrigger mrigger force-pushed the fix/cnosdb-ci-resource-error branch from 6347adf to d63f9c6 Compare April 5, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant