You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "alexzhiliuk (via GitHub)" <gi...@apache.org> on 2026/01/30 17:55:28 UTC

[I] Docker container reports ready state before being fully operational, causing intermittent test failures in CI [doris]

alexzhiliuk opened a new issue, #60399:
URL: https://github.com/apache/doris/issues/60399

   Environment:
   - pydoris==1.0.6
   - doris-fe-test:
       image: apache/doris:fe-3.0.7
   - doris-be-test:
       image: apache/doris:be-3.0.7
   - CI platform: GitHub Actions
   
   Problem Description:
   When running Doris in Docker for automated testing, the container intermittently fails to be fully operational despite health checks indicating it's ready. Tests pass consistently in local environment but fail sporadically in GitHub Actions CI pipeline.
   
   Example of error, when i am trying to execute any sql:
   ```
   ERROR clinical_solutions_tests/integration/features/sqllab/test_sqllab_api.py::TestSQLLabAPI::test__saved_query - sqlalchemy.exc.OperationalError: (MySQLdb.OperationalError) (1105, 'errCode = 2, detailMessage = replication num should be less than the number of available backends. replication num is 1, available backend num is 0')
   [SQL: CREATE TABLE IF NOT EXISTS PG_VIEWS.crfs (
     id                BIGINT,
     create_date       DATETIME(6),
     create_by         BIGINT,
     create_ip         STRING,
     update_date       DATETIME(6),
     update_by         BIGINT,
     update_ip         STRING,
     tenant_id         BIGINT,
     study_id          BIGINT,
     crf_name          STRING,
     crf_sas_name      STRING,
     dynamic_form      BOOLEAN,
     randomization_crf BOOLEAN,
     survey_crf        BOOLEAN
   )
   DUPLICATE KEY(id)
   DISTRIBUTED BY HASH(id) BUCKETS 1
   PROPERTIES (
     "replication_num" = "1"
   )]
   (Background on this error at: https://sqlalche.me/e/14/e3q8)
   ```
   
   [docker-compose.test.yaml](https://github.com/user-attachments/files/24971375/docker-compose.test.yaml)
   
   [Makefile.test.txt](https://github.com/user-attachments/files/24971398/Makefile.test.txt)
   
   [backend-tests.yml](https://github.com/user-attachments/files/24971409/backend-tests.yml)
   
   


-- 
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: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] Docker container reports ready state before being fully operational, causing intermittent test failures in CI [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #60399:
URL: https://github.com/apache/doris/issues/60399#issuecomment-5124804400

   We're closing this issue because it hasn't been updated in a while.
   If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] Docker container reports ready state before being fully operational, causing intermittent test failures in CI [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #60399: Docker container reports ready state before being fully operational, causing intermittent test failures in CI
URL: https://github.com/apache/doris/issues/60399


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org