tp-qemu icon indicating copy to clipboard operation
tp-qemu copied to clipboard

thp_fragment_tool: creates external provider

Open mcasquer opened this issue 11 months ago • 5 comments

Depends on https://github.com/autotest/tp-qemu/pull/3987

thp_fragment_tool: creates external provider

Creates an external provider for the thp_fragment tool, this way, the tool, can be now easily invoked from different scripts avoiding duplicated code.

Signed-off-by: mcasquer [email protected] ID: 2087

mcasquer avatar Mar 18 '24 08:03 mcasquer

@yanan-fu @YongxueHong @PaulYuuu please could you review this PR? Thanks !

mcasquer avatar Mar 18 '24 11:03 mcasquer

 (1/2) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.trans_hugepage.defrag.q35: STARTED
 (1/2) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.trans_hugepage.defrag.q35: PASS (578.66 s)
 (2/2) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.trans_hugepage.relocated.q35: STARTED
 (2/2) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.trans_hugepage.relocated.q35: PASS (567.37 s)
RESULTS    : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0

mcasquer avatar Apr 08 '24 11:04 mcasquer

Could this patch be merged? Thanks !

mcasquer avatar Apr 09 '24 10:04 mcasquer

Hi @MiriamDeng @zhenyzha Would you like to help to review it since there is a bit of updates. Thanks.

YongxueHong avatar Apr 17 '24 02:04 YongxueHong

Why I hit this issue on ppc64le this time, maybe we need to check it again ? I've applied the dependent patch already. (1/2) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.10.0.ppc64le.io-github-autotest-qemu.trans_hugepage.defrag: STARTED Virsh executable not set or found on path, virsh module will not function normally (1/2) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.10.0.ppc64le.io-github-autotest-qemu.trans_hugepage.defrag: FAIL: Failed on copying the tool package! (47.06 s) (2/2) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.ppc64le.io-github-autotest-qemu.trans_hugepage.defrag: STARTED Virsh executable not set or found on path, virsh module will not function normally (2/2) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.ppc64le.io-github-autotest-qemu.trans_hugepage.defrag: FAIL: Failed on copying the tool package! (46.42 s)

MiriamDeng avatar Apr 19 '24 06:04 MiriamDeng

copying the tool pack

@MiriamDeng the fail message is from the previous patch version, now there's no such message when copying the tool. Could you ensure that you have the latest code? Thanks !

mcasquer avatar Apr 24 '24 06:04 mcasquer

copying the tool pack

@MiriamDeng the fail message is from the previous patch version, now there's no such message when copying the tool. Could you ensure that you have the latest code? Thanks !

I re-tested with the patches you mentioned, still hit the same issue, do you mind to check the test env of mine ? Thanks

MiriamDeng avatar Apr 24 '24 06:04 MiriamDeng

LGTM, after discussing it with Mario, thanks. (1/4) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.10.0.ppc64le.io-github-autotest-qemu.trans_hugepage.defrag: STARTED Virsh executable not set or found on path, virsh module will not function normally (1/4) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.10.0.ppc64le.io-github-autotest-qemu.trans_hugepage.defrag: PASS (102.39 s) (2/4) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.10.0.ppc64le.io-github-autotest-qemu.trans_hugepage.relocated: STARTED Virsh executable not set or found on path, virsh module will not function normally (2/4) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.10.0.ppc64le.io-github-autotest-qemu.trans_hugepage.relocated: PASS (749.43 s) (3/4) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.ppc64le.io-github-autotest-qemu.trans_hugepage.defrag: STARTED Virsh executable not set or found on path, virsh module will not function normally (3/4) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.ppc64le.io-github-autotest-qemu.trans_hugepage.defrag: PASS (575.04 s) (4/4) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.ppc64le.io-github-autotest-qemu.trans_hugepage.relocated: STARTED Virsh executable not set or found on path, virsh module will not function normally (4/4) Host_RHEL.m8.u10.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.4.0.ppc64le.io-github-autotest-qemu.trans_hugepage.relocated: PASS (940.97 s)

MiriamDeng avatar Apr 24 '24 08:04 MiriamDeng