Skip to content

[Build] Avoid pipeline break due to timeout error by increasing the job time limit when APIScan is enabled#5418

Merged
alexlamtest merged 2 commits intomainfrom
user/alexlam/FixTimeOut-main-20250512
May 13, 2025
Merged

[Build] Avoid pipeline break due to timeout error by increasing the job time limit when APIScan is enabled#5418
alexlamtest merged 2 commits intomainfrom
user/alexlam/FixTimeOut-main-20250512

Conversation

@alexlamtest
Copy link
Copy Markdown
Contributor

@alexlamtest alexlamtest commented May 12, 2025

When APIScan (or PREfast) is enabled, building Foundation for each architecture currently takes ~1.5 hrs, resulting in timeout error due to hitting the 120 min limit for jobs.
Avoiding the timeout error by setting a higher time limit when APIScan (or PREfast) enabled.

How built:

  • These changes will go through PR validation as usual.

How tested:

  • In a private run of the Foundation nightly pipeline, the build jobs doing APIScan all passed, e.g., with elapsed time 2hr 28 sec, i.e., this would have hit the original timeout limit of 120 min causing the pipeline run to fail.

/////////////////////////

A microsoft employee must use /azp run to validate using the pipelines below.

WARNING:
Comments made by azure-pipelines bot maybe inaccurate.
Please see pipeline link to verify that the build is being ran.

For status checks on the main branch, please use TransportPackage-Foundation-PR
(https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary)
and run the build against your PR branch with the default parameters.

@alexlamtest
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@alexlamtest alexlamtest changed the title [Build] Avoid pipeline break due to timeout error by increasing time limit when APIScan is enabled [Build] Avoid pipeline break due to timeout error by increasing the job time limit when APIScan is enabled May 12, 2025
@alexlamtest alexlamtest marked this pull request as ready for review May 12, 2025 23:22
@alexlamtest alexlamtest enabled auto-merge (squash) May 12, 2025 23:56
@alexlamtest
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@alexlamtest alexlamtest merged commit ce1c6a9 into main May 13, 2025
34 checks passed
@alexlamtest alexlamtest deleted the user/alexlam/FixTimeOut-main-20250512 branch May 13, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants