aliyun / plugsched

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

Standardized spec of scheduler package. #196

Closed Dengerwei closed 1 year ago

Dengerwei commented 1 year ago

The previous packaging process was very non-standard. First of all, copying external files during the rpmbuild prep stage was non-standard. The main work of the prep stage should be to extract the tar package and apply patches. Therefore, I moved all the externally copied files to the working directory.

Secondly, there were many external directories defined in the cli build command, which is also non-standard. All files used in the packaging process should be in the BUILD directory. Therefore, I deleted all the defined macros and directly modified the _builddir build directory, so that the rpmbuild build phase can directly enter the scheduler working directory for execution.

Lastly, I modified the location of the RPM package. It was not a good idea to place the RPM package in the plugsched installation directory, so I put it in the scheduler working directory instead.

anolis-bot commented 1 year ago

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

anolis-bot commented 1 year ago

@Dengerwei , 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.

anolis-bot commented 1 year ago

@Dengerwei , 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/63079

anolis-bot commented 1 year ago

@Dengerwei , 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/63081

anolis-bot commented 1 year ago

@Dengerwei , 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.

Dengerwei commented 1 year ago

/retest

anolis-bot commented 1 year ago

@Dengerwei , 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

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

anolis-bot commented 1 year ago

@Dengerwei , 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

@Dengerwei , 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/63090

anolis-bot commented 1 year ago

@Dengerwei , 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!