Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fiotest failure due to package dependency. #2922

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

Pavithra1602
Copy link
Contributor

nvdimm related packages are not getting installed for sles as they are under else condition, moved them out of else condition and added cmake and gcc-c++ dependent packages as compilation was failing due to missing packages.

nvdimm related packages are not getting installed for sles as they are under else condition, moved them out of else condition and added cmake and gcc-c++ dependent packages as compilation was failing due to missing packages.

Signed-off-by: Pavithra <[email protected]>
@Pavithra1602
Copy link
Contributor Author

Pavithra1602 commented Jan 20, 2025

RHEL:

without fix:

[root@ltcden14-lp2 disk]# avocado run --max-parallel-tasks=1 /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py -m /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py.data/fio-pmem.yaml
JOB ID : 4633902514b9f8f85dde6681cca8d239eef13a82
JOB LOG : /root/avocado-fvt-wrapper/results/job-2025-01-20T13.20-4633902/job.log
(1/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: STARTED
[ 309.199693] radix-mmu: Mapped 0x00000402c0000000-0x00000404c0000000 with 1.00 GiB pages
(1/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: ERROR: Command 'make' failed.\nstdout: b'test -f .skip-doc || make -C doc all\nmake -C src all\nmake[1]: Entering directory '/var/tmp/avocado_84rbj9kt/pmdk-1.12.1/src'\nmake -C libpmem\nmake -C common\nmake -C core\nmake -C libpmem2\nmake -C librpmem\nmake[2]: ... (23.95 s)
(2/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: STARTED
[ 321.079868] radix-mmu: Mapped 0x00000402c0000000-0x00000404c0000000 with 1.00 GiB pages
(2/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: ERROR: Command 'make' failed.\nstdout: b"test -f .skip-doc || make -C doc all\nmake -C src all\nmake[1]: Entering directory '/var/tmp/avocado_84rbj9kt/pmdk-1.12.1/src'\nmake -C libpmem\nmake -C common\nmake -C core\nmake -C libpmem2\nmake -C librpmem\nmake[2]: En... (4.13 s)
(3/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-devdax-ab53: STARTED
[ 327.549937] radix-mmu: Mapped 0x00000402c0000000-0x00000404c0000000 with 1.00 GiB pages
(3/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-devdax-ab53: ERROR: Command 'make' failed.\nstdout: b"test -f .skip-doc || make -C doc all\nmake -C src all\nmake[1]: Entering directory '/var/tmp/avocado_84rbj9kt/pmdk-1.12.1/src'\nmake -C libpmem\nmake -C common\nmake -C core\nmake -C libpmem2\nmake -C librpmem\nmake[2]: En... (4.19 s)
RESULTS : PASS 0 | ERROR 3 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /root/avocado-fvt-wrapper/results/job-2025-01-20T13.20-4633902/results.html
JOB TIME : 64.74 s
Test summary:
1-/root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: ERROR
2-/root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: ERROR
3-/root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-devdax-ab53: ERROR

with fix:

[root@ltcden14-lp2 ~]# avocado run --max-parallel-tasks=1 /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py -m /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py.data/fio-pmem.yaml
JOB ID : af47c17d08ce6058a2c5ccfeac92bed3023d4c1c
JOB LOG : /root/avocado-fvt-wrapper/results/job-2025-01-20T13.26-af47c17/job.log
(1/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: STARTED
[ 611.537246] radix-mmu: Mapped 0x00000402c0000000-0x00000404c0000000 with 1.00 GiB pages
[ 629.177223] XFS (pmem3): Mounting V5 Filesystem fec50fd1-8f73-468b-9b69-a4444b458479
[ 629.178533] XFS (pmem3): Ending clean mount
[ 640.974133] XFS (pmem3): Unmounting Filesystem fec50fd1-8f73-468b-9b69-a4444b458479
(1/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: PASS (41.37 s)
(2/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: STARTED
[ 658.618409] radix-mmu: Mapped 0x00000402c0000000-0x00000404c0000000 with 1.00 GiB pages
[ 667.192699] EXT4-fs (pmem3): mounted filesystem 1900d457-02b9-42f8-b7ee-eee3a7c0b5c2 r/w with ordered data mode. Quota mode: none.
[ 679.498971] EXT4-fs (pmem3): unmounting filesystem 1900d457-02b9-42f8-b7ee-eee3a7c0b5c2.
(2/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: PASS (24.92 s)
(3/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-devdax-ab53: STARTED
[ 685.078631] radix-mmu: Mapped 0x00000402c0000000-0x00000404c0000000 with 1.00 GiB pages
(3/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-devdax-ab53: PASS (73.73 s)
RESULTS : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /root/avocado-fvt-wrapper/results/job-2025-01-20T13.26-af47c17/results.html
JOB TIME : 171.91 s

@Pavithra1602
Copy link
Contributor Author

Pavithra1602 commented Jan 20, 2025

SLES:

without fix:

wrapper/tests/avocado-misc-tests/io/disk/fiotest.py.data/fio-pmem.yamlocado-fvt-w
JOB ID : 489c1e8a15ab46759763ca91a4e239a76ebb5976
JOB LOG : /root/avocado-fvt-wrapper/results/job-2025-01-20T21.33-489c1e8/job.log
(1/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: STARTED
(1/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: ERROR: Command 'make' failed.\nstdout: b''\nstderr: b'src/common.inc:379: *** Please install libndctl-dev/libndctl-devel/ndctl-devel >= 63. Stop.\n'\nadditional_info: None (2.53 s)
(2/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: STARTED
(2/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: ERROR: Command 'make' failed.\nstdout: b''\nstderr: b'src/common.inc:379: *** Please install libndctl-dev/libndctl-devel/ndctl-devel >= 63. Stop.\n'\nadditional_info: None (2.77 s)
(3/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-devdax-ab53: STARTED
(3/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-devdax-ab53: ERROR: Command 'make' failed.\nstdout: b''\nstderr: b'src/common.inc:379: *** Please install libndctl-dev/libndctl-devel/ndctl-devel >= 63. Stop.\n'\nadditional_info: None (3.05 s)
RESULTS : PASS 0 | ERROR 3 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /root/avocado-fvt-wrapper/results/job-2025-01-20T21.33-489c1e8/results.html
JOB TIME : 33.24 s

Test summary:
1-/root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: ERROR
2-/root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: ERROR
3-/root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-devdax-ab53: ERROR

withfix:

localhost:~/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk #
t.py.data/fio-pmem.yamlocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest
JOB ID : 0f3f529286b3e004f2c160d23894c1e9da0d93b5
JOB LOG : /root/avocado-fvt-wrapper/results/job-2025-01-21T02.09-0f3f529/job.log
(1/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: STARTED
(1/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: ERROR: [Errno 2] No such file or directory: 'lvdisplay' (lvdisplay avocado_vg): 'lvdisplay' (33.01 s)
(2/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: STARTED
(2/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: ERROR: [Errno 2] No such file or directory: 'lvdisplay' (lvdisplay avocado_vg): 'lvdisplay' (9.96 s)
(3/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-devdax-ab53: STARTED
(3/3) /root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-devdax-ab53: PASS (73.90 s)
RESULTS : PASS 1 | ERROR 2 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /root/avocado-fvt-wrapper/results/job-2025-01-21T02.09-0f3f529/results.html
JOB TIME : 174.91 s

Test summary:
1-/root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-xfs-fefe: ERROR
2-/root/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk/fiotest.py:FioTest.test;run-setup-disk-run_type-libpmem-filesystem-ext4-54b7: ERROR
localhost:~/avocado-fvt-wrapper/tests/avocado-misc-tests/io/disk #

On SLES there is a new error "No such file or directory: 'lvdisplay' (lvdisplay avocado_vg): 'lvdisplay" but package dependency error will be fixed by this patch

@PraveenPenguin PraveenPenguin merged commit 33acc14 into avocado-framework-tests:master Jan 21, 2025
2 checks passed
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