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: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to