aliyun / plugsched

Live upgrade Linux kernel scheduler subsystem
BSD 3-Clause "New" or "Revised" License
82 stars 23 forks source link

test: fix cpu_util algorithm in CPU throttle test #179

Closed ampresent closed 1 year ago

ampresent commented 1 year ago

It should be the instant cpu_util rather than the average cpu_util. Because we re-configure the system several times, and each time we should reset the counter.

Signed-off-by: Yihao Wu wuyihao@linux.alibaba.com

anolis-bot commented 1 year ago

@ampresent , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39320

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:x: FAIL
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS

Sorry, your test job failed. Please get the details in the link.

anolis-bot commented 1 year ago

@ampresent , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39332

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:x: FAIL
mem_pressure_test:white_check_mark: SUCCESS

Sorry, your test job failed. Please get the details in the link.

anolis-bot commented 1 year ago

@ampresent , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39357

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:x: FAIL
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS

Sorry, your test job failed. Please get the details in the link.

anolis-bot commented 1 year ago

@ampresent , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39365

ampresent commented 1 year ago

/retest

anolis-bot commented 1 year ago

@ampresent , the test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39367

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:x: FAIL
mem_pressure_test:white_check_mark: SUCCESS
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS

Sorry, your test job failed. Please get the details in the link.

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS

Sorry, your test job failed. Please get the details in the link.

anolis-bot commented 1 year ago

@ampresent , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39496

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:x: FAIL
mem_pressure_test:white_check_mark: SUCCESS
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS

Sorry, your test job failed. Please get the details in the link.

anolis-bot commented 1 year ago

@ampresent , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39505

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:x: FAIL
schedule_testaarch64:x: FAIL

Sorry, your test job failed. Please get the details in the link.

ampresent commented 1 year ago

/retest

anolis-bot commented 1 year ago

@ampresent , the test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39509

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:x: FAIL
schedule_testaarch64:x: FAIL

Sorry, your test job failed. Please get the details in the link.

ampresent commented 1 year ago

/retest

anolis-bot commented 1 year ago

@ampresent , the test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39516

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:x: FAIL
schedule_testaarch64:x: FAIL

Sorry, your test job failed. Please get the details in the link.

ampresent commented 1 year ago

/retest

anolis-bot commented 1 year ago

@ampresent , the test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39547

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS

Sorry, your test job failed. Please get the details in the link.

anolis-bot commented 1 year ago

@ampresent , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39682

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS

Sorry, your test job failed. Please get the details in the link.

anolis-bot commented 1 year ago

@ampresent , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39689

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:x: FAIL
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:white_check_mark: SUCCESS
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS

Sorry, your test job failed. Please get the details in the link.

ampresent commented 1 year ago

/retest

anolis-bot commented 1 year ago

@ampresent , the test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39695

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:white_check_mark: SUCCESS
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:x: FAIL
domain_rebuild_test:x: FAIL
sched_syscall_test:x: FAIL
mem_pressure_test:x: FAIL

Sorry, your test job failed. Please get the details in the link.

anolis-bot commented 1 year ago

@ampresent , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/39729

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:white_check_mark: SUCCESS
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:white_check_mark: SUCCESS
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS

Congratulations, your test job passed!

anolis-bot commented 1 year ago

@ampresent , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/42943

anolis-bot commented 1 year ago

@ampresent , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:white_check_mark: SUCCESS
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS
schedule_testaarch64:white_check_mark: SUCCESS
public_var_test:white_check_mark: SUCCESS
var_uniformity_test:white_check_mark: SUCCESS
cpu_throttle_test:white_check_mark: SUCCESS
domain_rebuild_test:white_check_mark: SUCCESS
sched_syscall_test:white_check_mark: SUCCESS
mem_pressure_test:white_check_mark: SUCCESS

Congratulations, your test job passed!

Dengerwei commented 1 year ago

LGTM