Skip to content

[CI][E2E] Try to fix e2e timeout error#14690

Closed
SbloodyS wants to merge 22 commits intoapache:devfrom
SbloodyS:try_to_fix_e2e_timeout
Closed

[CI][E2E] Try to fix e2e timeout error#14690
SbloodyS wants to merge 22 commits intoapache:devfrom
SbloodyS:try_to_fix_e2e_timeout

Conversation

@SbloodyS
Copy link
Member

@SbloodyS SbloodyS commented Aug 2, 2023

Purpose of the pull request

Try to fix e2e timeout error

@SbloodyS SbloodyS self-assigned this Aug 2, 2023
@github-actions github-actions bot added the e2e e2e test label Aug 2, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 2, 2023

Codecov Report

Merging #14690 (f5a85ea) into dev (5ec9085) will decrease coverage by 0.03%.
The diff coverage is n/a.

❗ Current head f5a85ea differs from pull request most recent head 55c7ebf. Consider uploading reports for the commit 55c7ebf to get more accurate results

@@             Coverage Diff              @@
##                dev   #14690      +/-   ##
============================================
- Coverage     38.74%   38.71%   -0.03%     
+ Complexity     4629     4627       -2     
============================================
  Files          1285     1285              
  Lines         43950    43950              
  Branches       4850     4850              
============================================
- Hits          17027    17015      -12     
- Misses        25042    25055      +13     
+ Partials       1881     1880       -1     

see 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@SbloodyS SbloodyS added CI&CD minor Chore Chores about the project, like code clean, typo, etc. labels Aug 3, 2023
@SbloodyS SbloodyS added this to the 3.2.0 milestone Aug 3, 2023
@SbloodyS SbloodyS added the 3.2.0 for 3.2.0 version label Aug 3, 2023
.withLogConsumer("dolphinscheduler_1", outputFrame -> LOGGER.info(outputFrame.getUtf8String()))
.waitingFor("dolphinscheduler_1", Wait.forHealthcheck().withStartupTimeout(Duration.ofSeconds(300)));
.withLocalCompose(true)
.withExposedService(serviceName, DOCKER_PORT, Wait.forListeningPort().withStartupTimeout(Duration.ofSeconds(300)))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main reason of e2e timeout is this. The rest are just minor optimizations.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you catch a huge thing 👍

@SbloodyS SbloodyS marked this pull request as ready for review August 3, 2023 08:49
@SbloodyS SbloodyS requested a review from zhongjiajie August 3, 2023 08:49
zhongjiajie
zhongjiajie previously approved these changes Aug 3, 2023
Copy link
Member

@zhongjiajie zhongjiajie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Hao, this is a huge improvement for our CI stable

test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 5s
timeout: 300s
timeout: 5s
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we change this? to let others server wait less time?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just the timeout for each retry, reducing it can improve the efficiency of the check.

https://docs.docker.com/engine/reference/builder/#healthcheck

SbloodyS added a commit to SbloodyS/dolphinscheduler that referenced this pull request Aug 3, 2023
* try to fix e2e timeout error

* remove use file
@SbloodyS
Copy link
Member Author

SbloodyS commented Aug 3, 2023

This pr has already been merged. But Github is abnormal, Closing now.

@SbloodyS SbloodyS closed this Aug 3, 2023
@SbloodyS SbloodyS deleted the try_to_fix_e2e_timeout branch August 3, 2023 09:25
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

zhongjiajie pushed a commit that referenced this pull request Aug 30, 2023
* try to fix e2e timeout error

* remove use file

(cherry picked from commit dec5228)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.2.0 for 3.2.0 version e2e e2e test minor Chore Chores about the project, like code clean, typo, etc. ready-to-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants