* [PATCH] UefiCpuPkg/Test: Disable random test cases
@ 2023-03-31 18:22 Ni, Ray
2023-03-31 18:51 ` [edk2-devel] " Michael Kubacki
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Ni, Ray @ 2023-03-31 18:22 UTC (permalink / raw)
To: devel
The random test cases just run for too long that may cause timeout
in CI test.
Disable them for now.
Signed-off-by: Ray Ni <ray.ni@intel.com>
---
.../UnitTest/CpuPageTableLibUnitTestHost.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
index 547f6c2e50..745b774c66 100644
--- a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
+++ b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
@@ -881,11 +881,11 @@ UefiTestMain (
goto EXIT;
}
- AddTestCase (RandomTestCase, "Random Test for Paging4Level", "Random Test Case1", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level);
- AddTestCase (RandomTestCase, "Random Test for Paging4Level1G", "Random Test Case2", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level1GB);
- AddTestCase (RandomTestCase, "Random Test for Paging5Level", "Random Test Case3", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level);
- AddTestCase (RandomTestCase, "Random Test for Paging5Level1G", "Random Test Case4", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level1GB);
- AddTestCase (RandomTestCase, "Random Test for PagingPae", "Random Test Case5", TestCaseforRandomTest, NULL, NULL, &mTestContextPagingPae);
+ // AddTestCase (RandomTestCase, "Random Test for Paging4Level", "Random Test Case1", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level);
+ // AddTestCase (RandomTestCase, "Random Test for Paging4Level1G", "Random Test Case2", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level1GB);
+ // AddTestCase (RandomTestCase, "Random Test for Paging5Level", "Random Test Case3", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level);
+ // AddTestCase (RandomTestCase, "Random Test for Paging5Level1G", "Random Test Case4", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level1GB);
+ // AddTestCase (RandomTestCase, "Random Test for PagingPae", "Random Test Case5", TestCaseforRandomTest, NULL, NULL, &mTestContextPagingPae);
//
// Execute the tests.
--
2.39.1.windows.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [edk2-devel] [PATCH] UefiCpuPkg/Test: Disable random test cases
[not found] <175194155C263890.3578@groups.io>
@ 2023-03-31 18:23 ` Ni, Ray
0 siblings, 0 replies; 8+ messages in thread
From: Ni, Ray @ 2023-03-31 18:23 UTC (permalink / raw)
To: devel@edk2.groups.io, Ni, Ray
Cc: Kinney, Michael D, Sean Brogan, Kubacki, Michael
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Ni, Ray
> Sent: Saturday, April 1, 2023 2:22 AM
> To: devel@edk2.groups.io
> Subject: [edk2-devel] [PATCH] UefiCpuPkg/Test: Disable random test cases
>
> The random test cases just run for too long that may cause timeout
> in CI test.
> Disable them for now.
>
> Signed-off-by: Ray Ni <ray.ni@intel.com>
> ---
> .../UnitTest/CpuPageTableLibUnitTestHost.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git
> a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest
> Host.c
> b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest
> Host.c
> index 547f6c2e50..745b774c66 100644
> ---
> a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest
> Host.c
> +++
> b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest
> Host.c
> @@ -881,11 +881,11 @@ UefiTestMain (
> goto EXIT;
>
> }
>
>
>
> - AddTestCase (RandomTestCase, "Random Test for Paging4Level",
> "Random Test Case1", TestCaseforRandomTest, NULL, NULL,
> &mTestContextPaging4Level);
>
> - AddTestCase (RandomTestCase, "Random Test for Paging4Level1G",
> "Random Test Case2", TestCaseforRandomTest, NULL, NULL,
> &mTestContextPaging4Level1GB);
>
> - AddTestCase (RandomTestCase, "Random Test for Paging5Level",
> "Random Test Case3", TestCaseforRandomTest, NULL, NULL,
> &mTestContextPaging5Level);
>
> - AddTestCase (RandomTestCase, "Random Test for Paging5Level1G",
> "Random Test Case4", TestCaseforRandomTest, NULL, NULL,
> &mTestContextPaging5Level1GB);
>
> - AddTestCase (RandomTestCase, "Random Test for PagingPae", "Random
> Test Case5", TestCaseforRandomTest, NULL, NULL,
> &mTestContextPagingPae);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging4Level",
> "Random Test Case1", TestCaseforRandomTest, NULL, NULL,
> &mTestContextPaging4Level);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging4Level1G",
> "Random Test Case2", TestCaseforRandomTest, NULL, NULL,
> &mTestContextPaging4Level1GB);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging5Level",
> "Random Test Case3", TestCaseforRandomTest, NULL, NULL,
> &mTestContextPaging5Level);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging5Level1G",
> "Random Test Case4", TestCaseforRandomTest, NULL, NULL,
> &mTestContextPaging5Level1GB);
>
> + // AddTestCase (RandomTestCase, "Random Test for PagingPae",
> "Random Test Case5", TestCaseforRandomTest, NULL, NULL,
> &mTestContextPagingPae);
>
>
>
> //
>
> // Execute the tests.
>
> --
> 2.39.1.windows.1
>
>
>
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#102326):
> https://edk2.groups.io/g/devel/message/102326
> Mute This Topic: https://groups.io/mt/97979483/1712937
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe:
> https://edk2.groups.io/g/devel/leave/3759105/1712937/893644498/xyzzy
> [ray.ni@intel.com]
> -=-=-=-=-=-=
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [edk2-devel] [PATCH] UefiCpuPkg/Test: Disable random test cases
2023-03-31 18:22 [PATCH] UefiCpuPkg/Test: Disable random test cases Ni, Ray
@ 2023-03-31 18:51 ` Michael Kubacki
2023-03-31 19:36 ` Sean
2023-03-31 22:08 ` Rebecca Cran
2 siblings, 0 replies; 8+ messages in thread
From: Michael Kubacki @ 2023-03-31 18:51 UTC (permalink / raw)
To: devel, ray.ni
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
On 3/31/2023 2:22 PM, Ni, Ray wrote:
> The random test cases just run for too long that may cause timeout
> in CI test.
> Disable them for now.
>
> Signed-off-by: Ray Ni <ray.ni@intel.com>
> ---
> .../UnitTest/CpuPageTableLibUnitTestHost.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
> index 547f6c2e50..745b774c66 100644
> --- a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
> +++ b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
> @@ -881,11 +881,11 @@ UefiTestMain (
> goto EXIT;
>
> }
>
>
>
> - AddTestCase (RandomTestCase, "Random Test for Paging4Level", "Random Test Case1", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level);
>
> - AddTestCase (RandomTestCase, "Random Test for Paging4Level1G", "Random Test Case2", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level1GB);
>
> - AddTestCase (RandomTestCase, "Random Test for Paging5Level", "Random Test Case3", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level);
>
> - AddTestCase (RandomTestCase, "Random Test for Paging5Level1G", "Random Test Case4", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level1GB);
>
> - AddTestCase (RandomTestCase, "Random Test for PagingPae", "Random Test Case5", TestCaseforRandomTest, NULL, NULL, &mTestContextPagingPae);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging4Level", "Random Test Case1", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging4Level1G", "Random Test Case2", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level1GB);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging5Level", "Random Test Case3", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging5Level1G", "Random Test Case4", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level1GB);
>
> + // AddTestCase (RandomTestCase, "Random Test for PagingPae", "Random Test Case5", TestCaseforRandomTest, NULL, NULL, &mTestContextPagingPae);
>
>
>
> //
>
> // Execute the tests.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [edk2-devel] [PATCH] UefiCpuPkg/Test: Disable random test cases
2023-03-31 18:22 [PATCH] UefiCpuPkg/Test: Disable random test cases Ni, Ray
2023-03-31 18:51 ` [edk2-devel] " Michael Kubacki
@ 2023-03-31 19:36 ` Sean
2023-03-31 22:08 ` Rebecca Cran
2 siblings, 0 replies; 8+ messages in thread
From: Sean @ 2023-03-31 19:36 UTC (permalink / raw)
To: devel, ray.ni
Thanks Ray. Lets discuss this style of testing next week at the tools
and CI meeting.
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
On 3/31/2023 11:22 AM, Ni, Ray wrote:
> The random test cases just run for too long that may cause timeout
> in CI test.
> Disable them for now.
>
> Signed-off-by: Ray Ni <ray.ni@intel.com>
> ---
> .../UnitTest/CpuPageTableLibUnitTestHost.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
> index 547f6c2e50..745b774c66 100644
> --- a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
> +++ b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
> @@ -881,11 +881,11 @@ UefiTestMain (
> goto EXIT;
>
> }
>
>
>
> - AddTestCase (RandomTestCase, "Random Test for Paging4Level", "Random Test Case1", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level);
>
> - AddTestCase (RandomTestCase, "Random Test for Paging4Level1G", "Random Test Case2", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level1GB);
>
> - AddTestCase (RandomTestCase, "Random Test for Paging5Level", "Random Test Case3", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level);
>
> - AddTestCase (RandomTestCase, "Random Test for Paging5Level1G", "Random Test Case4", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level1GB);
>
> - AddTestCase (RandomTestCase, "Random Test for PagingPae", "Random Test Case5", TestCaseforRandomTest, NULL, NULL, &mTestContextPagingPae);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging4Level", "Random Test Case1", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging4Level1G", "Random Test Case2", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level1GB);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging5Level", "Random Test Case3", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level);
>
> + // AddTestCase (RandomTestCase, "Random Test for Paging5Level1G", "Random Test Case4", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level1GB);
>
> + // AddTestCase (RandomTestCase, "Random Test for PagingPae", "Random Test Case5", TestCaseforRandomTest, NULL, NULL, &mTestContextPagingPae);
>
>
>
> //
>
> // Execute the tests.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [edk2-devel] [PATCH] UefiCpuPkg/Test: Disable random test cases
2023-03-31 18:22 [PATCH] UefiCpuPkg/Test: Disable random test cases Ni, Ray
2023-03-31 18:51 ` [edk2-devel] " Michael Kubacki
2023-03-31 19:36 ` Sean
@ 2023-03-31 22:08 ` Rebecca Cran
2023-03-31 22:59 ` Michael Kubacki
2 siblings, 1 reply; 8+ messages in thread
From: Rebecca Cran @ 2023-03-31 22:08 UTC (permalink / raw)
To: devel, ray.ni
I've been wondering, is it possible to increase the parallelism or add
more resources to the CI runner pool?
--
Rebecca Cran
On 3/31/23 12:22 PM, Ni, Ray wrote:
> The random test cases just run for too long that may cause timeout
> in CI test.
> Disable them for now.
>
> Signed-off-by: Ray Ni <ray.ni@intel.com>
> ---
> .../UnitTest/CpuPageTableLibUnitTestHost.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
> index 547f6c2e50..745b774c66 100644
> --- a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
> +++ b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c
> @@ -881,11 +881,11 @@ UefiTestMain (
> goto EXIT;
> }
>
> - AddTestCase (RandomTestCase, "Random Test for Paging4Level", "Random Test Case1", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level);
> - AddTestCase (RandomTestCase, "Random Test for Paging4Level1G", "Random Test Case2", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level1GB);
> - AddTestCase (RandomTestCase, "Random Test for Paging5Level", "Random Test Case3", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level);
> - AddTestCase (RandomTestCase, "Random Test for Paging5Level1G", "Random Test Case4", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level1GB);
> - AddTestCase (RandomTestCase, "Random Test for PagingPae", "Random Test Case5", TestCaseforRandomTest, NULL, NULL, &mTestContextPagingPae);
> + // AddTestCase (RandomTestCase, "Random Test for Paging4Level", "Random Test Case1", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level);
> + // AddTestCase (RandomTestCase, "Random Test for Paging4Level1G", "Random Test Case2", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging4Level1GB);
> + // AddTestCase (RandomTestCase, "Random Test for Paging5Level", "Random Test Case3", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level);
> + // AddTestCase (RandomTestCase, "Random Test for Paging5Level1G", "Random Test Case4", TestCaseforRandomTest, NULL, NULL, &mTestContextPaging5Level1GB);
> + // AddTestCase (RandomTestCase, "Random Test for PagingPae", "Random Test Case5", TestCaseforRandomTest, NULL, NULL, &mTestContextPagingPae);
>
> //
> // Execute the tests.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [edk2-devel] [PATCH] UefiCpuPkg/Test: Disable random test cases
2023-03-31 22:08 ` Rebecca Cran
@ 2023-03-31 22:59 ` Michael Kubacki
2023-03-31 23:14 ` Michael D Kinney
0 siblings, 1 reply; 8+ messages in thread
From: Michael Kubacki @ 2023-03-31 22:59 UTC (permalink / raw)
To: devel, rebecca, ray.ni
I'm not sure about the availability of more resources but something like
merge queue might be able to help.
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue
This presentation has an overview -
https://www.youtube.com/watch?v=04TTRJArpVw.
On 3/31/2023 6:08 PM, Rebecca Cran wrote:
> I've been wondering, is it possible to increase the parallelism or add
> more resources to the CI runner pool?
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [edk2-devel] [PATCH] UefiCpuPkg/Test: Disable random test cases
2023-03-31 22:59 ` Michael Kubacki
@ 2023-03-31 23:14 ` Michael D Kinney
2023-03-31 23:51 ` Michael Kubacki
0 siblings, 1 reply; 8+ messages in thread
From: Michael D Kinney @ 2023-03-31 23:14 UTC (permalink / raw)
To: devel@edk2.groups.io, mikuback@linux.microsoft.com,
rebecca@bsdio.com, Ni, Ray
Cc: Kinney, Michael D
Michael,
I see older PRs from dependabot still running jobs.
Is there a way to configure how often those checks are made?
Mike
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Michael Kubacki
> Sent: Friday, March 31, 2023 4:00 PM
> To: devel@edk2.groups.io; rebecca@bsdio.com; Ni, Ray <ray.ni@intel.com>
> Subject: Re: [edk2-devel] [PATCH] UefiCpuPkg/Test: Disable random test cases
>
> I'm not sure about the availability of more resources but something like
> merge queue might be able to help.
>
> https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-
> merges/managing-a-merge-queue
>
> This presentation has an overview -
> https://www.youtube.com/watch?v=04TTRJArpVw.
>
> On 3/31/2023 6:08 PM, Rebecca Cran wrote:
> > I've been wondering, is it possible to increase the parallelism or add
> > more resources to the CI runner pool?
> >
> >
>
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [edk2-devel] [PATCH] UefiCpuPkg/Test: Disable random test cases
2023-03-31 23:14 ` Michael D Kinney
@ 2023-03-31 23:51 ` Michael Kubacki
0 siblings, 0 replies; 8+ messages in thread
From: Michael Kubacki @ 2023-03-31 23:51 UTC (permalink / raw)
To: Kinney, Michael D, devel@edk2.groups.io, rebecca@bsdio.com,
Ni, Ray
Since we use those PRs for reference only. I think we can let the
initial CI run, keep that for reference, and prevent future automated
rebases in the dependabot PR.
Future CI will occur in the PR created by the patch that contains the
update.
With that in mind, I sent a patch to disable automatic rebasing in
dependabot PRs.
https://edk2.groups.io/g/devel/message/102338
Thanks,
Michael
On 3/31/2023 7:14 PM, Kinney, Michael D wrote:
> Michael,
>
> I see older PRs from dependabot still running jobs.
>
> Is there a way to configure how often those checks are made?
>
> Mike
>
>> -----Original Message-----
>> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Michael Kubacki
>> Sent: Friday, March 31, 2023 4:00 PM
>> To: devel@edk2.groups.io; rebecca@bsdio.com; Ni, Ray <ray.ni@intel.com>
>> Subject: Re: [edk2-devel] [PATCH] UefiCpuPkg/Test: Disable random test cases
>>
>> I'm not sure about the availability of more resources but something like
>> merge queue might be able to help.
>>
>> https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-
>> merges/managing-a-merge-queue
>>
>> This presentation has an overview -
>> https://www.youtube.com/watch?v=04TTRJArpVw.
>>
>> On 3/31/2023 6:08 PM, Rebecca Cran wrote:
>>> I've been wondering, is it possible to increase the parallelism or add
>>> more resources to the CI runner pool?
>>>
>>>
>>
>>
>>
>>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-03-31 23:51 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-31 18:22 [PATCH] UefiCpuPkg/Test: Disable random test cases Ni, Ray
2023-03-31 18:51 ` [edk2-devel] " Michael Kubacki
2023-03-31 19:36 ` Sean
2023-03-31 22:08 ` Rebecca Cran
2023-03-31 22:59 ` Michael Kubacki
2023-03-31 23:14 ` Michael D Kinney
2023-03-31 23:51 ` Michael Kubacki
[not found] <175194155C263890.3578@groups.io>
2023-03-31 18:23 ` Ni, Ray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox