github-actions[bot] opened a new pull request, #69054:
URL: https://github.com/apache/airflow/pull/69054

   The mongo provider tests boot a real mongo:8.0 container via testcontainers
   in the setup phase of the first test that uses the session fixture. That
   bring-up -- image pull, container start, readiness ping -- has to fit inside
   the per-test pytest setup-timeout (60s). On the GitHub-hosted ARM canary,
   where the image cache is cold and registry/disk throughput is lower, the
   pull alone can eat most of that budget, so setup times out and cascades into
   "ERROR at setup" across every TestMongoHook test. AMD does not hit this
   because it runs on every PR with warm caches; ARM only runs on the cron
   canary.
   
   Two complementary changes:
   
   - Pre-pull the testcontainers images (mongo:8.0 + ryuk) on the shared host
     daemon before the timed run, but only in CI and only when the owning
     provider's tests are actually in the selection -- so the slow cold-cache
     pull happens outside the per-test setup timeout. Locally it stays a no-op.
   
   - Give pytest setup/teardown timeouts a higher floor (180s) for container-
     backed fixtures, while keeping execution-timeout at the per-test value so
     genuinely hung tests are still caught quickly.
   (cherry picked from commit 9b0fe283845e749428f134bd5a53655ea6702783)
   
   Co-authored-by: Jarek Potiuk <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to