SEPURI-SAI-KRISHNA opened a new issue, #13779:
URL: https://github.com/apache/seatunnel/issues/13779

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   In `.github/workflows/backend.yml` the connector IT shards 
`all-connectors-it-4` and `all-connectors-it-7` have `timeout-minutes: 150`, 
and they now take about that long, so GitHub cancels them with "The job has 
exceeded the maximum execution time of 2h30m0s". `all-connectors-it-3` already 
has 180, and #12946 raised the limit of the mysql-cdc job before.
   
   Job durations (start to end) of the last four completed dev Build runs:
   
   | job | 11-29 (46258093651) | 11-28 (46159382886) | 11-28 (46114535713) | 
11-27 (45958367452) |
   |---|---|---|---|---|
   | all-connectors-it-4 (11) | 145 | 143 | 141 | 112 |
   | all-connectors-it-4 (17) | **150 cancelled** | 129 | 141 | 133 |
   | all-connectors-it-7 (11) | 138 | 148 | **150 cancelled** | 68 (failed) |
   | all-connectors-it-7 (17) | 149 | 135 | **150 cancelled** | 136 |
   | all-connectors-it-3 (11), limit 180 | 150 | 152 | 155 | 118 |
   
   So 3 of these 16 runs of shards 4 and 7 were cancelled, and two more 
finished within 2 minutes of the limit. PR runs hit it too, for example 
`all-connectors-it-7 (17)` of #12976 was cancelled twice in a row (fork run 
46133677635, attempts 2 and 3), once in `StripeIT` after `HttpIT` had taken 
2063 s, and once with `HttpIT` the last test class in its log. A cancelled 
shard has no test failure to look at, and a rerun costs another 2.5 hours.
   
   With the shard script on dev (`update_modules_check.py sub_it_module ... 7 
N`, CRC32 of the module name), shard 7 holds 15 modules, among them http, 
cdc-db2, cdc-postgres, cdc-sqlserver, milvus and qdrant; shard 4 holds 14, 
among them starrocks, maxcompute, rabbitmq and activemq.
   
   ### Proposal
   
   Raise `timeout-minutes` of `all-connectors-it-4` and `all-connectors-it-7` 
from 150 to 180, as for `all-connectors-it-3`. It changes no test and no shard. 
If you would rather split the modules into more shards instead, I can do that.
   
   ### SeaTunnel Version
   
   dev (954136a0c6)
   
   ### SeaTunnel Config
   
   ```conf
   N/A (CI workflow)
   ```
   
   ### Running Command
   
   ```shell
   N/A, GitHub Actions workflow "Build" (.github/workflows/backend.yml)
   ```
   
   ### Error Exception
   
   ```log
   The job has exceeded the maximum execution time of 2h30m0s
   ```
   
   ### Zeta or Flink or Spark Version
   
   All (the shards run the connector E2E tests on every engine)
   
   ### Java or Scala Version
   
   JDK 11 and JDK 17
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

  • [I] [Improve][CI] all-connecto... SEPURI-SAI-KRISHNA (via GitHub) via commits

Reply via email to