[Virtio-fs] [QUESTION] lots of testcases failed in pjdfstest

piaojun piaojun at huawei.com
Fri Aug 16 06:15:06 UTC 2019


Hi,

I got a lot of failed testcases when using pjdfstest, and I wonder if
my mount command is wrong? Most failed testcases are related with
authority.

HostOS:
# ./virtiofsd -o vhost_user_socket=/tmp/vhostqemu -o source=/mnt/virtiofs/ -o cache=always -o writeback

GuestOS:
# mount -t virtio_fs myfs /mnt/virtiofs -o rootmode=040000,user_id=0,group_id=0

Test Summary Report
-------------------
/home/pjdfstest/tests/chmod/00.t          (Wstat: 0 Tests: 119 Failed: 11)
  Failed tests:  64, 87, 91, 95, 99, 103, 107, 112-114, 116
/home/pjdfstest/tests/chmod/05.t          (Wstat: 0 Tests: 14 Failed: 6)
  Failed tests:  4-6, 10-12
/home/pjdfstest/tests/chmod/07.t          (Wstat: 0 Tests: 25 Failed: 20)
  Failed tests:  4-23
/home/pjdfstest/tests/chmod/11.t          (Wstat: 0 Tests: 109 Failed: 22)
  Failed tests:  52-53, 63-66, 73-76, 83-86, 93-96, 103-106
/home/pjdfstest/tests/chmod/12.t          (Wstat: 0 Tests: 14 Failed: 6)
  Failed tests:  3-4, 7-8, 11-12
/home/pjdfstest/tests/chown/00.t          (Wstat: 0 Tests: 1323 Failed: 341)
  Failed tests:  105-108, 114-116, 118-120, 127-130, 135-138
                144-146, 148-150, 157-160, 165-168, 174-176
                178-180, 187-190, 195-198, 204-206, 208-210
                217-220, 225-228, 234-236, 238-240, 247-250
                255-258, 264-266, 268-270, 277-280, 285-288
                292, 299, 307, 312, 319, 327, 332, 339
                347, 352, 359, 367, 372, 379, 387, 392
                399, 407, 412, 641-642, 644-646, 649, 656-658
                660-664, 668, 677-678, 680-682, 685, 692
                695-696, 700, 707, 711-713, 719, 728, 731-732
                736, 743-744, 746-748, 751, 758-760, 762-766
                770, 779-780, 782-784, 787, 794-795, 797-799
                802, 809-811, 813-817, 821, 830-831, 833-835
                838, 845-846, 848-850, 853, 860-862, 864-868
                872, 881-882, 884-886, 889, 896-897, 899-901
                904, 911-913, 915-919, 923, 932-933, 935-937
                940, 946-949, 954-956, 962-965, 971-973
                978-980, 987-989, 995-997, 1002-1004, 1011-1013
                1019-1021, 1026-1028, 1035-1037, 1043-1045
                1050-1052, 1059-1061, 1067-1069, 1074-1076
                1083-1085, 1091-1093, 1191-1193, 1197-1199
                1205-1207, 1212-1214, 1218-1220, 1226-1228
                1233-1235, 1239-1241, 1247-1249, 1254-1256
                1260-1262, 1268-1270, 1275-1277, 1281-1283
                1289-1291, 1296-1298, 1302-1304, 1310-1312
                1317-1319
  TODO passed:   1097, 1107, 1112, 1116, 1122, 1127, 1131
                1137, 1142, 1146, 1152, 1157, 1161, 1167
                1172, 1176, 1182, 1187
/home/pjdfstest/tests/chown/05.t          (Wstat: 0 Tests: 18 Failed: 9)
  Failed tests:  4-6, 11-16
/home/pjdfstest/tests/chown/07.t          (Wstat: 0 Tests: 132 Failed: 88)
  Failed tests:  6-15, 19-22, 26-35, 39-42, 46-55, 59-62
                66-75, 79-82, 86-95, 99-102, 106-115, 119-122
                126-129
/home/pjdfstest/tests/ftruncate/00.t      (Wstat: 0 Tests: 26 Failed: 4)
  Failed tests:  15, 18, 24-25
/home/pjdfstest/tests/ftruncate/05.t      (Wstat: 0 Tests: 15 Failed: 7)
  Failed tests:  4-6, 10-13
/home/pjdfstest/tests/link/00.t           (Wstat: 0 Tests: 202 Failed: 1)
  Failed test:  134
/home/pjdfstest/tests/link/06.t           (Wstat: 0 Tests: 18 Failed: 4)
  Failed tests:  6-8, 15
/home/pjdfstest/tests/link/07.t           (Wstat: 0 Tests: 17 Failed: 4)
  Failed tests:  6-8, 14
/home/pjdfstest/tests/link/11.t           (Wstat: 0 Tests: 9 Failed: 3)
  Failed tests:  6-8
/home/pjdfstest/tests/mkdir/00.t          (Wstat: 0 Tests: 36 Failed: 9)
  Failed tests:  18-23, 25-27
/home/pjdfstest/tests/mkdir/05.t          (Wstat: 0 Tests: 12 Failed: 4)
  Failed tests:  4-5, 9-10
/home/pjdfstest/tests/mkdir/06.t          (Wstat: 0 Tests: 12 Failed: 4)
  Failed tests:  4-5, 9-10
/home/pjdfstest/tests/mkfifo/00.t         (Wstat: 0 Tests: 36 Failed: 9)
  Failed tests:  18-23, 25-27
/home/pjdfstest/tests/mkfifo/05.t         (Wstat: 0 Tests: 12 Failed: 4)
  Failed tests:  4-5, 9-10
/home/pjdfstest/tests/mkfifo/06.t         (Wstat: 0 Tests: 12 Failed: 4)
  Failed tests:  4-5, 9-10
/home/pjdfstest/tests/mknod/00.t          (Wstat: 0 Tests: 36 Failed: 9)
  Failed tests:  18-23, 25-27
/home/pjdfstest/tests/mknod/05.t          (Wstat: 0 Tests: 12 Failed: 4)
  Failed tests:  4-5, 9-10
/home/pjdfstest/tests/mknod/06.t          (Wstat: 0 Tests: 12 Failed: 4)
  Failed tests:  4-5, 9-10
/home/pjdfstest/tests/open/00.t           (Wstat: 0 Tests: 47 Failed: 9)
  Failed tests:  18-23, 25-27
/home/pjdfstest/tests/open/05.t           (Wstat: 0 Tests: 12 Failed: 4)
  Failed tests:  4-5, 9-10
/home/pjdfstest/tests/open/06.t           (Wstat: 0 Tests: 144 Failed: 78)
  Failed tests:  3-17, 20-21, 24-25, 28, 30, 32, 34, 36
                38, 40, 44, 48, 52, 56, 60, 64-76, 79-80
                83-84, 87, 91, 95, 99, 103, 107, 111-125
                127, 129, 131, 133, 135, 137, 139, 141
                143
/home/pjdfstest/tests/open/07.t           (Wstat: 0 Tests: 23 Failed: 11)
  Failed tests:  3-4, 6, 8, 10, 12, 14, 16, 18, 20, 22
/home/pjdfstest/tests/rename/00.t         (Wstat: 0 Tests: 150 Failed: 1)
  Failed test:  96
/home/pjdfstest/tests/rename/04.t         (Wstat: 0 Tests: 18 Failed: 4)
  Failed tests:  6-8, 15
/home/pjdfstest/tests/rename/05.t         (Wstat: 0 Tests: 17 Failed: 4)
  Failed tests:  6-8, 14
/home/pjdfstest/tests/rename/09.t         (Wstat: 0 Tests: 2353 Failed: 1284)
  Failed tests:  10-13, 18-21, 23-24, 26-29, 31-32, 34-37
                39-40, 42-45, 47-48, 50-53, 55-56, 58-61
                63, 68-71, 73-74, 76-79, 81-82, 84-87, 89-90
                92-95, 97-98, 100-103, 105-106, 108-111
                113-114, 116-119, 121, 126-129, 131-132
                134-137, 139-140, 142-145, 147-148, 150-153
                155-156, 158-161, 163-164, 166-169, 171-172
                174-177, 179, 184-187, 189-190, 192-195
                197-198, 200-203, 205-206, 208-211, 213-214
                216-219, 221-222, 224-227, 229-230, 232-235
                237, 242-245, 247-248, 250-253, 255-256
                258-261, 263-264, 266-269, 271-272, 274-277
                279-280, 282-285, 287-288, 290-293, 295
                302, 384-387, 392-395, 397-398, 400-403
                405-406, 408-411, 413-414, 416-419, 421-422
                424-427, 429-430, 432-435, 437, 442-445
                447-448, 450-453, 455-456, 458-461, 463-464
                466-469, 471-472, 474-477, 479-480, 482-485
                487-488, 490-493, 495, 500-503, 505-506
                508-511, 513-514, 516-519, 521-522, 524-527
                529-530, 532-535, 537-538, 540-543, 545-546
                548-551, 553, 558-561, 563-564, 566-569
                571-572, 574-577, 579-580, 582-585, 587-588
                590-593, 595-596, 598-601, 603-604, 606-609
                611, 616-619, 621-622, 624-627, 629-630
                632-635, 637-638, 640-643, 645-646, 648-651
                653-654, 656-659, 661-662, 664-667, 669
                676, 758-761, 766-769, 771-772, 774-777
                779-780, 782-785, 787-788, 790-793, 795-796
                798-801, 803-804, 806-809, 811, 816-819
                821-822, 824-827, 829-830, 832-835, 837-838
                840-843, 845-846, 848-851, 853-854, 856-859
                861-862, 864-867, 869, 874-877, 879-880
                882-885, 887-888, 890-893, 895-896, 898-901
                903-904, 906-909, 911-912, 914-917, 919-920
                922-925, 927, 932-935, 937-938, 940-943
                945-946, 948-951, 953-954, 956-959, 961-962
                964-967, 969-970, 972-975, 977-978, 980-983
                985, 990-993, 995-996, 998-1001, 1003-1004
                1006-1009, 1011-1012, 1014-1017, 1019-1020
                1022-1025, 1027-1028, 1030-1033, 1035-1036
                1038-1041, 1043, 1050, 1132-1135, 1140-1143
                1145-1146, 1148-1151, 1153-1154, 1156-1159
                1161-1162, 1164-1167, 1169-1170, 1172-1175
                1177-1178, 1180-1183, 1185, 1190-1193, 1195-1196
                1198-1201, 1203-1204, 1206-1209, 1211-1212
                1214-1217, 1219-1220, 1222-1225, 1227-1228
                1230-1233, 1235-1236, 1238-1241, 1243, 1248-1251
                1253-1254, 1256-1259, 1261-1262, 1264-1267
                1269-1270, 1272-1275, 1277-1278, 1280-1283
                1285-1286, 1288-1291, 1293-1294, 1296-1299
                1301, 1306-1309, 1311-1312, 1314-1317, 1319-1320
                1322-1325, 1327-1328, 1330-1333, 1335-1336
                1338-1341, 1343-1344, 1346-1349, 1351-1352
                1354-1357, 1359, 1364-1367, 1369-1370, 1372-1375
                1377-1378, 1380-1383, 1385-1386, 1388-1391
                1393-1394, 1396-1399, 1401-1402, 1404-1407
                1409-1410, 1412-1415, 1417, 1424, 1506-1509
                1514-1517, 1519-1520, 1522-1525, 1527-1528
                1530-1533, 1535-1536, 1538-1541, 1543-1544
                1546-1549, 1551-1552, 1554-1557, 1559, 1564-1567
                1569-1570, 1572-1575, 1577-1578, 1580-1583
                1585-1586, 1588-1591, 1593-1594, 1596-1599
                1601-1602, 1604-1607, 1609-1610, 1612-1615
                1617, 1622-1625, 1627-1628, 1630-1633, 1635-1636
                1638-1641, 1643-1644, 1646-1649, 1651-1652
                1654-1657, 1659-1660, 1662-1665, 1667-1668
                1670-1673, 1675, 1680-1683, 1685-1686, 1688-1691
                1693-1694, 1696-1699, 1701-1702, 1704-1707
                1709-1710, 1712-1715, 1717-1718, 1720-1723
                1725-1726, 1728-1731, 1733, 1738-1741, 1743-1744
                1746-1749, 1751-1752, 1754-1757, 1759-1760
                1762-1765, 1767-1768, 1770-1773, 1775-1776
                1778-1781, 1783-1784, 1786-1789, 1791, 1798
                1880-1883, 1888-1891, 1893-1894, 1896-1899
                1901-1902, 1904-1907, 1909-1910, 1912-1915
                1917-1918, 1920-1923, 1925-1926, 1928-1931
                1933, 1938-1941, 1943-1944, 1946-1949, 1951-1952
                1954-1957, 1959-1960, 1962-1965, 1967-1968
                1970-1973, 1975-1976, 1978-1981, 1983-1984
                1986-1989, 1991, 1996-1999, 2001-2002, 2004-2007
                2009-2010, 2012-2015, 2017-2018, 2020-2023
                2025-2026, 2028-2031, 2033-2034, 2036-2039
                2041-2042, 2044-2047, 2049, 2054-2057, 2059-2060
                2062-2065, 2067-2068, 2070-2073, 2075-2076
                2078-2081, 2083-2084, 2086-2089, 2091-2092
                2094-2097, 2099-2100, 2102-2105, 2107, 2112-2115
                2117-2118, 2120-2123, 2125-2126, 2128-2131
                2133-2134, 2136-2139, 2141-2142, 2144-2147
                2149-2150, 2152-2155, 2157-2158, 2160-2163
                2165, 2172, 2254-2262, 2264, 2269-2273
                2277-2282, 2284, 2289-2293, 2297-2302, 2304
                2306-2314, 2316, 2318-2326, 2328, 2333
                2336, 2338, 2345, 2348, 2350
/home/pjdfstest/tests/rename/10.t         (Wstat: 0 Tests: 2099 Failed: 1106)
  Failed tests:  11-14, 16-17, 19-22, 24-25, 27-30, 32-33
                35-38, 40-41, 43-46, 48-49, 51-54, 56, 61
                63-66, 68-69, 71-74, 76-77, 79-82, 84-85
                87-90, 92-93, 95-98, 100-101, 103-106, 108
                113, 115-118, 120-121, 123-126, 128-129
                131-134, 136-137, 139-142, 144-145, 147-150
                152-153, 155-158, 160, 165, 167-170, 172-173
                175-178, 180-181, 183-186, 188-189, 191-194
                196-197, 199-202, 204-205, 207-210, 212
                217, 219-222, 224-225, 227-230, 232-233
                235-238, 240-241, 243-246, 248-249, 251-254
                256-257, 259-262, 264, 269, 351-354, 356-357
                359-362, 364-365, 367-370, 372-373, 375-378
                380-381, 383-386, 388-389, 391-394, 396
                401, 403-406, 408-409, 411-414, 416-417
                419-422, 424-425, 427-430, 432-433, 435-438
                440-441, 443-446, 448, 453, 455-458, 460-461
                463-466, 468-469, 471-474, 476-477, 479-482
                484-485, 487-490, 492-493, 495-498, 500
                505, 507-510, 512-513, 515-518, 520-521
                523-526, 528-529, 531-534, 536-537, 539-542
                544-545, 547-550, 552, 557, 559-562, 564-565
                567-570, 572-573, 575-578, 580-581, 583-586
                588-589, 591-594, 596-597, 599-602, 604
                609, 691-694, 696-697, 699-702, 704-705
                707-710, 712-713, 715-718, 720-721, 723-726
                728-729, 731-734, 736, 741, 743-746, 748-749
                751-754, 756-757, 759-762, 764-765, 767-770
                772-773, 775-778, 780-781, 783-786, 788
                793, 795-798, 800-801, 803-806, 808-809
                811-814, 816-817, 819-822, 824-825, 827-830
                832-833, 835-838, 840, 845, 847-850, 852-853
                855-858, 860-861, 863-866, 868-869, 871-874
                876-877, 879-882, 884-885, 887-890, 892
                897, 899-902, 904-905, 907-910, 912-913
                915-918, 920-921, 923-926, 928-929, 931-934
                936-937, 939-942, 944, 949, 1031-1034, 1036-1037
                1039-1042, 1044-1045, 1047-1050, 1052-1053
                1055-1058, 1060-1061, 1063-1066, 1068-1069
                1071-1074, 1076, 1081, 1083-1086, 1088-1089
                1091-1094, 1096-1097, 1099-1102, 1104-1105
                1107-1110, 1112-1113, 1115-1118, 1120-1121
                1123-1126, 1128, 1133, 1135-1138, 1140-1141
                1143-1146, 1148-1149, 1151-1154, 1156-1157
                1159-1162, 1164-1165, 1167-1170, 1172-1173
                1175-1178, 1180, 1185, 1187-1190, 1192-1193
                1195-1198, 1200-1201, 1203-1206, 1208-1209
                1211-1214, 1216-1217, 1219-1222, 1224-1225
                1227-1230, 1232, 1237, 1239-1242, 1244-1245
                1247-1250, 1252-1253, 1255-1258, 1260-1261
                1263-1266, 1268-1269, 1271-1274, 1276-1277
                1279-1282, 1284, 1289, 1371-1374, 1376-1377
                1379-1382, 1384-1385, 1387-1390, 1392-1393
                1395-1398, 1400-1401, 1403-1406, 1408-1409
                1411-1414, 1416, 1421, 1423-1426, 1428-1429
                1431-1434, 1436-1437, 1439-1442, 1444-1445
                1447-1450, 1452-1453, 1455-1458, 1460-1461
                1463-1466, 1468, 1473, 1475-1478, 1480-1481
                1483-1486, 1488-1489, 1491-1494, 1496-1497
                1499-1502, 1504-1505, 1507-1510, 1512-1513
                1515-1518, 1520, 1525, 1527-1530, 1532-1533
                1535-1538, 1540-1541, 1543-1546, 1548-1549
                1551-1554, 1556-1557, 1559-1562, 1564-1565
                1567-1570, 1572, 1577, 1579-1582, 1584-1585
                1587-1590, 1592-1593, 1595-1598, 1600-1601
                1603-1606, 1608-1609, 1611-1614, 1616-1617
                1619-1622, 1624, 1629, 1711-1714, 1716-1717
                1719-1722, 1724-1725, 1727-1730, 1732-1733
                1735-1738, 1740-1741, 1743-1746, 1748-1749
                1751-1754, 1756, 1761, 1763-1766, 1768-1769
                1771-1774, 1776-1777, 1779-1782, 1784-1785
                1787-1790, 1792-1793, 1795-1798, 1800-1801
                1803-1806, 1808, 1813, 1815-1818, 1820-1821
                1823-1826, 1828-1829, 1831-1834, 1836-1837
                1839-1842, 1844-1845, 1847-1850, 1852-1853
                1855-1858, 1860, 1865, 1867-1870, 1872-1873
                1875-1878, 1880-1881, 1883-1886, 1888-1889
                1891-1894, 1896-1897, 1899-1902, 1904-1905
                1907-1910, 1912, 1917, 1919-1922, 1924-1925
                1927-1930, 1932-1933, 1935-1938, 1940-1941
                1943-1946, 1948-1949, 1951-1954, 1956-1957
                1959-1962, 1964, 1969, 2047-2049, 2052
                2054, 2056, 2058, 2061-2063, 2066, 2068-2070
                2073, 2075-2077, 2080, 2082, 2087, 2090-2091
                2094-2096
/home/pjdfstest/tests/rename/21.t         (Wstat: 0 Tests: 16 Failed: 3)
  Failed tests:  12-14
/home/pjdfstest/tests/rmdir/07.t          (Wstat: 0 Tests: 10 Failed: 2)
  Failed tests:  4, 8
/home/pjdfstest/tests/rmdir/08.t          (Wstat: 0 Tests: 10 Failed: 2)
  Failed tests:  4, 8
/home/pjdfstest/tests/rmdir/11.t          (Wstat: 0 Tests: 47 Failed: 15)
  Failed tests:  5-7, 13-14, 16, 19-20, 22, 25-27, 30-31
                33
/home/pjdfstest/tests/symlink/05.t        (Wstat: 0 Tests: 12 Failed: 4)
  Failed tests:  4-5, 9-10
/home/pjdfstest/tests/symlink/06.t        (Wstat: 0 Tests: 12 Failed: 4)
  Failed tests:  4-5, 9-10
/home/pjdfstest/tests/truncate/00.t       (Wstat: 0 Tests: 21 Failed: 1)
  Failed test:  15
/home/pjdfstest/tests/truncate/05.t       (Wstat: 0 Tests: 15 Failed: 7)
  Failed tests:  4-6, 10-13
/home/pjdfstest/tests/unlink/05.t         (Wstat: 0 Tests: 10 Failed: 2)
  Failed tests:  4, 8
/home/pjdfstest/tests/unlink/06.t         (Wstat: 0 Tests: 10 Failed: 2)
  Failed tests:  4, 8
/home/pjdfstest/tests/unlink/11.t         (Wstat: 0 Tests: 270 Failed: 90)
  Failed tests:  9-10, 12, 15-16, 18, 21-22, 24, 27-28, 30
                33-34, 36, 53-54, 56, 59-60, 62, 65-66
                68, 71-72, 74, 77-78, 80, 97-98, 100, 103-104
                106, 109-110, 112, 115-116, 118, 121-122
                124, 141-142, 144, 147-148, 150, 153-154
                156, 159-160, 162, 165-166, 168, 185-186
                188, 191-192, 194, 197-198, 200, 203-204
                206, 209-210, 212, 229-230, 232, 235-236
                238, 241-242, 244, 247-248, 250, 253-254
                256
/home/pjdfstest/tests/utimensat/01.t      (Wstat: 0 Tests: 7 Failed: 1)
  Failed test:  4
/home/pjdfstest/tests/utimensat/06.t      (Wstat: 0 Tests: 13 Failed: 2)
  Failed tests:  7, 11
/home/pjdfstest/tests/utimensat/07.t      (Wstat: 0 Tests: 17 Failed: 7)
  Failed tests:  5-7, 9-11, 14

Thanks,
Jun




More information about the Virtio-fs mailing list